CN111159611A - Method for dynamically generating mobile form and system for dynamically generating mobile form - Google Patents

Method for dynamically generating mobile form and system for dynamically generating mobile form Download PDF

Info

Publication number
CN111159611A
CN111159611A CN201911368705.8A CN201911368705A CN111159611A CN 111159611 A CN111159611 A CN 111159611A CN 201911368705 A CN201911368705 A CN 201911368705A CN 111159611 A CN111159611 A CN 111159611A
Authority
CN
China
Prior art keywords
control
mobile form
mobile
basic control
display
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
CN201911368705.8A
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.)
Guangdong Flying Enterprise Internet Technology Co Ltd
Original Assignee
Guangdong Flying Enterprise Internet Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Flying Enterprise Internet Technology Co Ltd filed Critical Guangdong Flying Enterprise Internet Technology Co Ltd
Priority to CN201911368705.8A priority Critical patent/CN111159611A/en
Publication of CN111159611A publication Critical patent/CN111159611A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/986Document structures and storage, e.g. HTML extensions

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a method for dynamically generating a mobile form, which comprises the following steps: adding a basic control and configuring the attribute of the basic control; loading the basic control with configured attributes to display a corresponding basic control icon when entering a newly-built mobile form visual interface; drawing a mobile form by dragging the basic control icon; and saving the mobile form and generating a corresponding mobile form html file so that the mobile terminal can call the mobile form html file to display the corresponding mobile form. According to the method and the device, the visual control is formed only according to the business element definition provided by the user, the mobile form interface can be drawn by dragging the visual control, the user can draw the mobile form quickly according to the use scene without developing the technology, and the operation is convenient. The application also provides a corresponding system for dynamically generating the mobile form.

Description

Method for dynamically generating mobile form and system for dynamically generating mobile form
[ technical field ] A method for producing a semiconductor device
The present application relates to the field of computer technologies, and in particular, to a method and a system for dynamically generating a mobile form.
[ background of the invention ]
With the current mobile terminal being used more and more frequently, the mobile terminal version iteration is more and more frequent, and due to the diversification of the app operating system and the system version, a development engineer needs to develop the mobile terminal versions of different operating systems and also needs to be compatible with the particularity of each version, slight changes of the mobile form will cause the multiple versions to simultaneously change the codes of the corresponding versions, and the development workload and the maintenance time of the development are greatly increased. How to build a mobile form quickly and simply and to be compatible with multiple operating system versions is very important to reduce development workload and time cost.
[ summary of the invention ]
In order to solve the above problems, the present application provides a method for dynamically generating a mobile form and a system for dynamically generating a mobile form.
The application is realized by the following technical scheme:
a method of dynamically generating a mobile form, comprising the steps of:
adding a basic control and configuring the attribute of the basic control;
loading the basic control with configured attributes to display a corresponding basic control icon when entering a newly-built mobile form visual interface;
drawing a mobile form by dragging the basic control icon;
and saving the mobile form and generating a corresponding mobile form html file so that the mobile terminal can call the mobile form html file to display the corresponding mobile form.
In the method for dynamically generating a mobile form, in the step of adding a basic control and configuring the attribute of the basic control, the basic control includes a label control, a single text box, a multi-text box, a drop-down box, a date control, an opinion box, an organization box, a picture control, and an attachment control box.
The method for dynamically generating the mobile form, when entering a newly-built mobile form visual interface, loads the basic control with configured properties to display the corresponding basic control icon, includes the following steps:
calling a basic control interface for loading configured attributes when a newly-built mobile form visual interface is entered;
inquiring a database according to the basic control interface with configured attributes, and returning a basic control array corresponding to the basic control interface with configured attributes;
the returned base control array is parsed to display the corresponding base control icon.
The method for dynamically generating the mobile form saves the mobile form and generates the corresponding html file of the mobile form so that the mobile terminal calls the html file of the mobile form to display the corresponding mobile form, and comprises the following steps:
storing each control and attribute of the mobile form in a database;
and generating the html file of the mobile form in a background file folder of the Web end.
A system for dynamically generating a mobile form, comprising:
the control adding module is used for adding the basic control and configuring the attribute of the basic control;
the control loading module is used for loading the basic controls with configured attributes to display corresponding basic control icons when a newly-built mobile form visual interface is entered;
the form forming module is used for drawing a mobile form by dragging the basic control icon;
and the saving and generating module is used for saving the mobile form and generating a corresponding mobile form html file so that the mobile terminal can call the mobile form html file to display the corresponding mobile form.
The system for dynamically generating the mobile form comprises a label control, a single text box, a multi-text box, a drop-down box, a date control, an opinion box, an organization box, a picture control and an attachment control box.
The system for dynamically generating a mobile form as described above, the control loading module comprising:
the loading unit is used for calling and loading a basic control interface with configured attributes when a newly-built mobile form visual interface is entered;
the query returning unit is used for querying the database according to the configured basic control interface and returning the basic control array corresponding to the configured basic control interface;
and the analysis display unit is used for analyzing the returned basic control array so as to display the corresponding basic control icon.
The system for dynamically generating a mobile form as described above, wherein the saving generation module comprises:
the form saving unit is used for saving each control and attribute of the mobile form in a database;
and the file generating unit is used for generating the html file of the mobile form in a background folder of the Web end.
Compared with the prior art, the method has the following advantages:
1. according to the method and the device, the visual control is formed only according to the business element definition provided by the user, the mobile form interface can be drawn by dragging the visual control, the user can also draw the mobile form quickly according to the scene without developing the technology, and the operation is convenient.
2. The mobile form drawn by the user is stored and forms a corresponding html file and then can be published in a background folder of a Web end of a service platform, and mobile ends with different operating system versions can access the published mobile form and complete related service operation, so that a plurality of sets of mobile forms do not need to be developed aiming at different operating systems or equipment, the development workload is greatly reduced, and the use is convenient.
[ description of the drawings ]
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly introduced below.
FIG. 1 is a flow diagram of a method of dynamically generating a mobile form;
FIG. 2 is an interface diagram of an add base control;
FIG. 3 is an interface diagram of a base control property configuration;
FIG. 4 is a diagram of a basic control icon interface display effect;
FIG. 5 is a diagram illustrating the display effect of an interface for a mobile form;
FIG. 6 is a block diagram of a system architecture for dynamically generating a mobile form.
[ detailed description ] embodiments
The method for dynamically generating a mobile form as shown in fig. 1 comprises the following steps:
s101, adding a basic control and configuring the attribute of the basic control.
In this step, specifically, as shown in fig. 2 and fig. 3, a visual basic control may be formed according to a service element addition definition provided by a user, where the basic control includes a label control, a single text box, a multiple text box, a drop-down box, a date control, an opinion box, an organization box, a picture control, an attachment control box, or a button control. And configuring the attributes of the basic control so that the basic control is displayed in a subsequent visual interface in a specific display form, for example, configuring the attributes of the style, size, shape, halo, filling, icon and neon light effect of the button control, or configuring the attributes of the graph, name, background color and the like of the label control.
S102, loading the basic control with configured attributes to display a corresponding basic control icon when entering a newly-built mobile form visual interface, as shown in FIG. 4.
In this step, the method further comprises the following steps:
calling a basic control interface for loading configured attributes when a newly-built mobile form visual interface is entered;
inquiring a database according to the basic control interface with configured attributes, and returning a basic control array corresponding to the basic control interface with configured attributes;
the returned base control array is parsed to display the corresponding base control icon.
And S103, drawing the mobile form by dragging the basic control icon. As shown in fig. 5, the user may add contents such as a draft-simulating title, a draft-simulating person, a draft-simulating date, draft-simulating contents, a copying mechanism, and the like according to the scene dragging basic control to draw a corresponding mobile form.
And S104, storing the mobile form and generating a corresponding mobile form html file so that the mobile terminal can call the mobile form html file to display the corresponding mobile form.
The method specifically comprises the following steps:
storing each control and attribute of the mobile form in a database;
the method comprises the steps of generating a mobile form html file in a Web end background folder, calling the mobile form html file by a mobile end to display a corresponding mobile form, calling the corresponding html file by a mobile end APP through an interface to display the mobile form, specifically calling a page jump interface by the mobile end APP, splicing a URL capable of jumping according to a current identification query database, and returning a specific jump path of the Web end html, such as the following paths:
http://10.62.17.239:9090/mdp/html/form/newform.html#/form/_mdp_988_201903071450510.html。
according to the method and the device, the visual control is formed only according to the service element definition provided by the user, the mobile form interface can be drawn by dragging the visual control, the user can draw the mobile form quickly according to the scene without developing technology, the operation is convenient, the mobile form drawn by the user can be stored and formed into the corresponding html file and then can be published into the background folder of the Web end of the service platform, the mobile ends of different operating system versions can access the published mobile form and complete related service operation, therefore, multiple sets of mobile forms do not need to be developed aiming at different operating systems or equipment, the development workload is greatly reduced, and the use is convenient.
As shown in fig. 6, the system for dynamically generating a mobile form includes a control adding module 11, a control loading module 12, a form forming module 13, and a saving and generating module 14.
The control adding module 11 is used for adding a basic control and configuring the attribute of the basic control. The basic controls include label controls, single text boxes, multiple text boxes, drop-down boxes, date controls, opinion boxes, organizational boxes, picture controls, attachment controls, or button controls, etc. And configuring the attributes of the basic control so that the basic control is displayed in a subsequent visual interface in a specific display form, for example, configuring the attributes of the style, size, shape, halo, filling, icon and neon light effect of the button control, or configuring the attributes of the graph, name, background color and the like of the label control.
The control loading module 12 is configured to load the basic controls with configured attributes to display corresponding basic control icons when entering a newly-built mobile form visualization interface. The control loading module 12 includes a loading unit 121, a query returning unit 122, and a parsing display unit 123. The loading unit 121 is configured to invoke a basic control interface for loading configured attributes when entering a newly-built mobile form visualization interface. The query returning unit 122 is configured to query the database according to the configured attribute basic control interface, and return the basic control array corresponding to the configured attribute basic control interface. The parsing display unit 123 is configured to parse the returned basic control array to display a corresponding basic control icon.
The form forming module 13 is used to draw a moving form by dragging the base control icon. The user can draw corresponding mobile forms by adding contents such as a draft simulating title, a draft simulating person, a draft simulating date, draft simulating contents, a copying mechanism and the like according to the scene dragging basic control.
The saving and generating module 14 is configured to save the mobile form and generate a corresponding mobile form html file, so that the mobile terminal calls the mobile form html file to display the corresponding mobile form. The saving and generating module 14 includes a form saving unit 141 and a file generating unit 142, where the form saving unit 141 is configured to save each control and attribute of the mobile form in a database; the file generating unit 142 is configured to generate the html file of the mobile form in the Web-side background folder. The mobile terminal calls the html file of the mobile form to display the corresponding mobile form, the APP of the mobile terminal calls the corresponding html file through the interface to display the mobile form, specifically, the APP of the mobile terminal calls the page jump interface, the URL which can be jumped is spliced according to the current identification query database, and the concrete jump path of the html of the Web terminal is returned, such as the following paths:
http://10.62.17.239:9090/mdp/html/form/newform.html#/form/_mdp_988_201903071450510.html。
the foregoing is illustrative of one embodiment provided in connection with the detailed description and is not intended to limit the disclosure to the particular embodiments described. Similar or identical methods, structures, etc. as used herein, or several technical deductions or substitutions made on the premise of the idea of the present application, should be considered as the protection scope of the present application.

Claims (8)

1. A method for dynamically generating a mobile form, comprising the steps of:
adding a basic control and configuring the attribute of the basic control;
loading the basic control with configured attributes to display a corresponding basic control icon when entering a newly-built mobile form visual interface;
drawing a mobile form by dragging the basic control icon;
and saving the mobile form and generating a corresponding mobile form html file so that the mobile terminal can call the mobile form html file to display the corresponding mobile form.
2. The method of claim 1, wherein in the step of adding a base control and configuring properties of the base control, the base control comprises a label control, a single text box, a multi-text box, a drop-down box, a date control, an opinion box, an organizational box, a picture control, an attachment control box.
3. The method of claim 1, wherein the step of loading the configured property of the basic control to display the corresponding basic control icon when entering the new mobile form visual interface comprises the following steps:
calling a basic control interface for loading configured attributes when a newly-built mobile form visual interface is entered;
inquiring a database according to the basic control interface with configured attributes, and returning a basic control array corresponding to the basic control interface with configured attributes;
the returned base control array is parsed to display the corresponding base control icon.
4. The method of claim 1, wherein the step of saving the mobile form and generating the corresponding html file of the mobile form for the mobile terminal to call the html file of the mobile form to display the corresponding mobile form comprises the following steps:
storing each control and attribute of the mobile form in a database;
and generating the html file of the mobile form in a background file folder of the Web end.
5. A system for dynamically generating a mobile form, comprising:
the control adding module is used for adding the basic control and configuring the attribute of the basic control;
the control loading module is used for loading the basic controls with configured attributes to display corresponding basic control icons when a newly-built mobile form visual interface is entered;
the form forming module is used for drawing a mobile form by dragging the basic control icon;
and the saving and generating module is used for saving the mobile form and generating a corresponding mobile form html file so that the mobile terminal can call the mobile form html file to display the corresponding mobile form.
6. The system for dynamically generating mobile forms of claim 5, wherein the base controls include a label control, a single text box, a multi-text box, a drop-down box, a date control, an opinion box, an organizational box, a picture control, an attachment control box.
7. The system for dynamically generating mobile forms of claim 5, wherein the control loading module comprises:
the loading unit is used for calling and loading a basic control interface with configured attributes when a newly-built mobile form visual interface is entered;
the query returning unit is used for querying the database according to the configured basic control interface and returning the basic control array corresponding to the configured basic control interface;
and the analysis display unit is used for analyzing the returned basic control array so as to display the corresponding basic control icon.
8. The system for dynamically generating mobile forms of claim 5, wherein said save generation module comprises:
the form saving unit is used for saving each control and attribute of the mobile form in a database;
and the file generating unit is used for generating the html file of the mobile form in a background folder of the Web end.
CN201911368705.8A 2019-12-26 2019-12-26 Method for dynamically generating mobile form and system for dynamically generating mobile form Pending CN111159611A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911368705.8A CN111159611A (en) 2019-12-26 2019-12-26 Method for dynamically generating mobile form and system for dynamically generating mobile form

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911368705.8A CN111159611A (en) 2019-12-26 2019-12-26 Method for dynamically generating mobile form and system for dynamically generating mobile form

Publications (1)

Publication Number Publication Date
CN111159611A true CN111159611A (en) 2020-05-15

Family

ID=70556869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911368705.8A Pending CN111159611A (en) 2019-12-26 2019-12-26 Method for dynamically generating mobile form and system for dynamically generating mobile form

Country Status (1)

Country Link
CN (1) CN111159611A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112068827A (en) * 2020-07-31 2020-12-11 广东飞企互联科技股份有限公司 Method, device, system, equipment and medium for generating accessory control

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809975A (en) * 2014-02-19 2014-05-21 浪潮软件股份有限公司 Method for achieving intelligent cloud forms
CN106201501A (en) * 2016-07-06 2016-12-07 全程网络科技(上海)有限公司 A kind of configurableization construction method to mobile terminal form interface and system
CN107818073A (en) * 2017-11-14 2018-03-20 北京思特奇信息技术股份有限公司 A kind of dynamic list page is automatically converted to the method and system of the HTML5 pages
CN110286908A (en) * 2019-07-01 2019-09-27 广州凡科互联网科技股份有限公司 A method of based on control formula customizing form

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103809975A (en) * 2014-02-19 2014-05-21 浪潮软件股份有限公司 Method for achieving intelligent cloud forms
CN106201501A (en) * 2016-07-06 2016-12-07 全程网络科技(上海)有限公司 A kind of configurableization construction method to mobile terminal form interface and system
CN107818073A (en) * 2017-11-14 2018-03-20 北京思特奇信息技术股份有限公司 A kind of dynamic list page is automatically converted to the method and system of the HTML5 pages
CN110286908A (en) * 2019-07-01 2019-09-27 广州凡科互联网科技股份有限公司 A method of based on control formula customizing form

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112068827A (en) * 2020-07-31 2020-12-11 广东飞企互联科技股份有限公司 Method, device, system, equipment and medium for generating accessory control

Similar Documents

Publication Publication Date Title
US7870482B2 (en) Web browser extension for simplified utilization of web services
CN110109979B (en) Form option configuration method and device
CN100492290C (en) Method for acquiring and converting the state of component in the time of operation during software dynamic evolvement
US11706331B2 (en) Information processing method and apparatus, storage medium, and electronic device
CN103955364A (en) Front end assembly method suitable for mobile phone
CN102946415B (en) A kind of implementation method of mobile terminal this locality application and device
CN103440151A (en) Method and apparatus for dynamically loading Web page
CN102236709A (en) Flex-based monitoring page display method and system
CN101887370A (en) Method and device for creating system user interface
CN112926008A (en) Method and device for generating form page, electronic equipment and storage medium
CN114117190A (en) Data processing method, data processing device, storage medium and electronic equipment
CN112947900A (en) Web application development method and device, server and development terminal
CN104834715A (en) Website generating method and system based on components and container
CN111159611A (en) Method for dynamically generating mobile form and system for dynamically generating mobile form
CN101776997A (en) Interface processing method and device
Nebeling et al. XCML: providing context-aware language extensions for the specification of multi-device web applications
CN111158777B (en) Component calling method, device and computer readable storage medium
US9971849B2 (en) Method and system for retrieving legal data for user interface form generation by merging syntactic and semantic contraints
CN117193728A (en) Development method and device of software as-a-service platform
US20110320503A1 (en) Message validation in a service-oriented architecture
CN110717134A (en) Product description issuing method and device, storage medium and electronic equipment
CN115994517A (en) Information processing method, apparatus, storage medium, device, and program product
CN112597423B (en) Webpage content display method, terminal and server
CN105808628A (en) Webpage transcoding method, apparatus and system
CN103702221A (en) Content distribution presentation system and distribution presentation method for online videos

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200515