CN115577188B - Form theme function self-adaptive change method - Google Patents
Form theme function self-adaptive change method Download PDFInfo
- Publication number
- CN115577188B CN115577188B CN202211249606.XA CN202211249606A CN115577188B CN 115577188 B CN115577188 B CN 115577188B CN 202211249606 A CN202211249606 A CN 202211249606A CN 115577188 B CN115577188 B CN 115577188B
- Authority
- CN
- China
- Prior art keywords
- control
- theme
- information
- user
- controls
- 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
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/953—Querying, e.g. by the use of web search engines
- G06F16/9536—Search customisation based on social or collaborative filtering
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9574—Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/189—Automatic justification
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application provides a form theme function self-adaptive change method, which comprises the following steps: form topic recommendation based on collaborative filtering; judging the control distribution and the mobility in the form, wherein the judging the control distribution and the mobility in the form specifically comprises the following steps: judging the form control distribution and judging the form mobility; if the migration is possible, forming a constraint condition, wherein if the migration is possible, the constraint condition is formed, and specifically comprises: identifying key information according to the attention of a user, and setting constraint conditions aiming at the key information; judging typesetting information aiming at the formed constraint conditions; establishing a cache mechanism; decomposing the form control; and quickly combining and generating new form contents according to the cache contents.
Description
Technical Field
The invention relates to the technical field of information, in particular to a form theme function self-adaptive change method.
Background
In the environment and the system for low-code development, a form contains a plurality of controls, and forms formed by the plurality of controls can be classified as a theme form. Current systems typically do not change after the form is designed by the user or developer. Or the change is also manually adjusted by dragging the button, so as to adapt to the self requirement. One developer builds expressions that cannot be shared to a second developer, and the low code system is not interoperable with the system. When one form is used, the same type of developer has similar needs, but there is a custom domain, it is the fact that a form with defined topics can be recommended to a second developer. Thus, a large amount of custom drag content can be saved. For example, a travel registry and concert registry. Where the other than travel time and place may be the same as the concert program guide. So that there may be partial migration between the two forms. Only the specific elements are changed. However, when the form theme of the user and the determination are needed to carry out theme change migration, important information cannot be removed and essential form control elements are removed and changed when the migration is restrained. How to ensure the integrity of the important parts according to the attention of the user. This is another difficulty. In addition, during migration and change, how to quickly display the form using existing design elements. And establishing a caching mechanism, guaranteeing the content after the theme is changed, and obtaining the optimal typesetting. This is a further unresolved problem under the problem of title theme changes. The present invention proposes an effective solution to these problems.
Disclosure of Invention
The invention provides a form theme function self-adaptive change method, which mainly comprises the following steps:
form topic recommendation based on collaborative filtering; judging the control distribution and the mobility in the form, wherein the judging the control distribution and the mobility in the form specifically comprises the following steps: judging the form control distribution and judging the form mobility; if the migration is possible, forming a constraint condition, wherein if the migration is possible, the constraint condition is formed, and specifically comprises: identifying key information according to the attention of a user, and setting constraint conditions aiming at the key information; judging typesetting information aiming at the formed constraint conditions; establishing a cache mechanism; decomposing the form control; and quickly combining and generating new form contents according to the cache contents.
Further optionally, the collaborative filtering-based form topic recommendation includes:
acquiring a business-topic matrix; the service-topic matrix comprises different services and corresponding topics, and each service corresponds to at least one topic; acquiring user service; establishing vectors of different services in a service-topic matrix; establishing a vector of user service; construction similarity calculation model
Where A, B denotes a vector, similarity (a, B) denotes Similarity; according to the similarity calculation model, calculating the similarity between different services and user services in the service-topic matrix respectively; screening the business with the similarity larger than a preset threshold value, and taking the corresponding theme as a recommended theme for the user to select; the theme selected by the user is set as the target theme.
Further optionally, the determining the distribution and the mobility of the controls in the form includes:
obtaining a theme form library; retrieving a theme form in the theme form library according to the target theme; identifying the controls in the theme form one by one, and matching the controls with the controls in a preset control library to determine the control type; obtaining control distribution of a theme form; acquiring authorization information of a theme form; the authorization information includes unauthorized and authorized information; if the authorization information is unauthorized, the topic form is not transferable, and the user is reminded that the current topic form is not transferable; if the authorization information is authorized, the theme form can be migrated; comprising the following steps: judging the form control distribution; judging the mobility of the form;
the judging of the form control distribution specifically comprises the following steps:
and obtaining a theme form library. And retrieving the topic form in the topic form library according to the target topic. And presetting a control library. The control library comprises single-line filling, multi-line filling, single-item selection, multi-item selection, drop-down selection, date, telephone, mailbox, address, matrix table, picture uploading and accessory uploading. And identifying the controls in the theme form one by one, and matching the controls with the controls in the control library to determine the control type. And finally obtaining the control distribution of the theme form.
The judging of the form mobility specifically includes:
and obtaining the authorization information of the theme form. The authorization information includes unauthorized and authorized information. If the authorization information is unauthorized, the theme form is not transferable, and the user is reminded that the current theme form is not transferable. If the authorization information is authorized, the topic form can be migrated.
Further optionally, if the migration is possible, forming the constraint includes:
if the theme form is transferable, acquiring eye movement data of a user designing the theme form; identifying key information according to the eye movement data; setting constraint conditions aiming at key information; the constraints include "undeletable", "non-modifiable", and "non-movable"; adding two constraint conditions of 'undeletable' and 'undeletable' to key information; displaying the set constraint conditions on a theme form editing page, and guiding a user designing the theme form to adjust the constraint conditions; the adjustment constraint conditions comprise a deletion constraint condition and an addition constraint condition; storing the result of the design theme form after the constraint condition is adjusted by the user; comprising the following steps: identifying key information according to the attention of the user; setting constraint conditions aiming at key information;
the method for identifying the key information according to the attention of the user specifically comprises the following steps:
and if the theme form is migratable, acquiring eye movement data of a user designing the theme form. The eye movement data comprises a control watched, a duration watched by each control, a control watched by each control, and a duration watched by each control. Construction of a user attention model, i.e.
A=xxw1+yw2a represents the user's attention on the control, W1, W2 represent different weights, X represents the duration of looking at the current control, and Y represents the duration of panning the current control. The user's attention at each control is calculated, while the overall average attention is calculated. If the attention of the user on a control is greater than the average attention, the control is represented as important information.
The setting of constraint conditions for key information specifically includes:
the constraints include "undeletable", "non-modifiable", and "non-movable". Two constraints, namely "undeletable" and "unmodified" are added to the key information. And displaying the set constraint conditions on a theme form editing page, and guiding a user designing the theme form to adjust the constraint conditions. The adjustment constraints include a delete constraint and an add constraint. And storing the result of the design theme form after the constraint condition is adjusted by the user.
Further optionally, the determining layout information for the constraint conditions includes:
identifying constraint conditions of the controls in the theme form; obtaining typesetting information of a control in a theme form; the typesetting information comprises { control, modification button, deletion button, movement button }; deleting a deleting button in the typesetting information of the corresponding control aiming at the constraint condition of 'undeletable'; aiming at the constraint condition of 'non-modifiable', deleting a modification button in the typesetting information of the corresponding control; aiming at the constraint condition of 'immovable', deleting a movable button in the typesetting information of the corresponding control; finally, typesetting information is obtained.
Further optionally, the establishing a caching mechanism includes:
the caching mechanism realizes the following caching function through server code setting; each time the browser initiates a request, searching a request result and a cache identifier in the cache; if searching in the cache fails, a request is initiated to the server; the browser stores the request result returned by the server and the cache identifier in the cache each time.
Further optionally, the decomposing the form control includes:
acquiring control distribution of a theme form and controls identified as key information from cache contents; analyzing the control distribution of the theme form and the control identified as important information to obtain the control content of the important information; decomposing the control content of the key information to obtain control elements of the key information, and storing the control elements in a cache; the control elements comprise control types, descriptive words, option numbers, option words and pictures.
A form theme function adaptive change method, wherein the system comprises:
acquiring typesetting information and control elements of the control identified as important information according to the cache content; creating a new form which can be edited; creating a control according to the control element of the key information and adding the control to the new form; and setting typesetting information of the corresponding control in the new form according to the typesetting information of the control identified as the key information.
The technical scheme provided by the embodiment of the invention can have the following beneficial effects:
the method and the system can carry out collaborative filtering recommendation on the form theme. A form theme is obtained, shared and migrated among different development users. The sharing information is more accurate according to constraint conditions, and the theme change migration efficiency is improved through a caching mechanism
Drawings
FIG. 1 is a flow chart of a form subject function adaptive change method of the present invention.
FIG. 2 is a block diagram of a form subject function adaptive change method of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
FIG. 1 is a flow chart of a form theme function adaptive change method according to the present invention. As shown in fig. 1, a form theme function adaptive change method in this embodiment may specifically include:
and step 101, recommending form subjects based on collaborative filtering.
And acquiring a business-theme matrix. The business-topic matrix comprises different businesses and corresponding topics, and each business corresponds to at least one topic. And acquiring user service. And establishing vectors of different services in the service-topic matrix. And establishing a vector of user services. Construction similarity calculation model
Where A, B denotes vectors and Similarity (a, B) denotes Similarity. And respectively calculating the similarity of different services and user services in the service-topic matrix according to the similarity calculation model. And screening the service with the similarity larger than a preset threshold value, and taking the corresponding theme as a recommended theme for the user to select. The theme selected by the user is set as the target theme. For example, the business-topic matrix includes two businesses, a post application entry and a college employment intent survey, where the post application entry corresponds to a topic { job search, entry }, and the college employment intent survey corresponds to a topic { college student, employment, survey }. The user service registers for the volunteers. And (3) establishing a vector of the post application registration service as A1= (1, 2). The vector for establishing the college student career investigation business is a2= (3, 4). The vector for establishing volunteer registration business is b= (1, 1). According to the Similarity calculation model, similarity (A1, B) =3/≡5 is calculated, and Similarity (A2, B) =7/5. The preset threshold is 2. And screening to obtain a service with the similarity greater than 2 as a post application registration service, and taking the corresponding theme as a recommended theme, namely { job seeking and registration }, as the recommended theme. If the user selects { entry }, then { entry } is set as the target topic.
Step 102, judging the control distribution and the mobility in the form.
And obtaining a theme form library. And retrieving the topic form in the topic form library according to the target topic. Identifying the controls in the theme form one by one, and matching the controls with the controls in the preset control library to determine the control type. And obtaining the control distribution of the theme form. And obtaining the authorization information of the theme form. The authorization information includes unauthorized and authorized information. If the authorization information is unauthorized, the theme form is not transferable, and the user is reminded that the current theme form is not transferable. If the authorization information is authorized, the topic form can be migrated. For example, the target topic is { entry }. And searching the topic form library according to { registration }, and obtaining a registration form. And identifying the controls of the registration form one by one, matching the controls with the controls in the control library, and determining the control type. Finally, the control distribution of the registration form is { single line gap filling, single item selection, telephone, single line gap filling, drop-down selection, date, multi-line gap filling, picture uploading }. And if the acquired authorization information of the registration form is unauthorized, reminding the user that the current theme form cannot be migrated. And if the acquired authorization information of the registration form is authorized, indicating that the registration form can be migrated.
And judging the form control distribution.
And obtaining a theme form library. And retrieving the topic form in the topic form library according to the target topic. And presetting a control library. The control library comprises single-line filling, multi-line filling, single-item selection, multi-item selection, drop-down selection, date, telephone, mailbox, address, matrix table, picture uploading and accessory uploading. And identifying the controls in the theme form one by one, and matching the controls with the controls in the control library to determine the control type. And finally obtaining the control distribution of the theme form. For example, the target topic is { entry }. And searching the topic form library according to { registration }, and obtaining a registration form. The entry form contains 10 controls. And identifying the controls of the registration form one by one, matching the controls with the controls in the control library, and determining the control type. Finally, the control distribution of the obtained registration form is { single line gap filling a, single item selection, telephone, single line gap filling b, drop-down selection, date, multi-line gap filling, picture uploading }.
And judging the form mobility.
And obtaining the authorization information of the theme form. The authorization information includes unauthorized and authorized information. If the authorization information is unauthorized, the theme form is not transferable, and the user is reminded that the current theme form is not transferable. If the authorization information is authorized, the topic form can be migrated. For example, the subject form is an entry form. And if the acquired authorization information of the registration form is unauthorized, reminding the user that the current theme form cannot be migrated. And if the acquired authorization information of the registration form is authorized, indicating that the registration form can be migrated.
Step 103, if the migration is possible, forming a constraint.
And if the theme form is migratable, acquiring eye movement data of a user designing the theme form. And identifying key information according to the eye movement data. Constraint conditions are set for key information. The constraints include "undeletable", "non-modifiable", and "non-movable". Two constraints, namely "undeletable" and "unmodified" are added to the key information. And displaying the set constraint conditions on a theme form editing page, and guiding a user designing the theme form to adjust the constraint conditions. The adjustment constraints include a delete constraint and an add constraint. And storing the result of the design theme form after the constraint condition is adjusted by the user. For example, according to eye movement data of a user designing a theme form, identifying important information as a first control and a second control. Two constraints, namely "undeletable" and "unmodified" are added to the first control and the second control. And displaying the set constraint conditions on a theme form editing page, and guiding a user A designing the theme form to adjust the constraint conditions. If a deletes the "non-modifiable" constraint for the first control, a "non-movable" constraint is added to the second control. The result after adjusting the constraint conditions is: the constraint of the first control is "undeletable", and the constraint of the second control is "undeletable", "non-modifiable", "non-movable". And storing the result after adjusting the constraint condition.
The key information is identified according to the attention of the user.
And if the theme form is migratable, acquiring eye movement data of a user designing the theme form. The eye movement data comprises a control watched, a duration watched by each control, a control watched by each control, and a duration watched by each control. Construction of a user attention model, i.e.
A=xxw1+yw2a represents the user's attention on the control, W1, W2 represent different weights, X represents the duration of looking at the current control, and Y represents the duration of panning the current control. The user's attention at each control is calculated, while the overall average attention is calculated. If the attention of the user on a control is greater than the average attention, the control is represented as important information. For example, in the case where the theme form is portable, the eye movement data of the user who obtains the design theme form is obtained as follows: the duration of looking at the first control is 120s, the duration of looking at the first control is 500s, the duration of looking at the second control is 200s, the duration of looking at the second control is 600s, the duration of looking at the third control is 70s, and the duration of looking at the third control is 120s. W1 was set to 0.7 and W2 was set to 0.3. The calculation results in 234 the user's attention at the first control, 320 the user's attention at the second control, 85 the user's attention at the third control, and 213 the average attention of all the controls. Therefore, the first control and the second control are important information.
Constraint conditions are set for key information.
The constraints include "undeletable", "non-modifiable", and "non-movable". Two constraints, namely "undeletable" and "unmodified" are added to the key information. And displaying the set constraint conditions on a theme form editing page, and guiding a user designing the theme form to adjust the constraint conditions. The adjustment constraints include a delete constraint and an add constraint. And storing the result of the design theme form after the constraint condition is adjusted by the user. For example, the first control and the second control are accent information. Two constraints, namely "undeletable" and "unmodified" are added to the first control and the second control. And displaying the set constraint conditions on a theme form editing page, and guiding a user A designing the theme form to adjust the constraint conditions. If a deletes the "non-modifiable" constraint for the first control, a "non-movable" constraint is added to the second control. The result after adjusting the constraint conditions is: the constraint of the first control is "undeletable", and the constraint of the second control is "undeletable", "non-modifiable", "non-movable". And storing the result after adjusting the constraint condition.
And 104, judging typesetting information aiming at the formed constraint conditions.
Constraints of the controls within the theme form are identified. And obtaining typesetting information of the controls in the theme form. The typesetting information comprises { control, modify button, delete button, move button }. And deleting the deleting button in the typesetting information of the corresponding control aiming at the constraint condition of 'undeletable'. And deleting the modification button in the typesetting information of the corresponding control aiming at the constraint condition of 'non-modifiable'. And deleting the mobile button in the typesetting information of the corresponding control aiming at the constraint condition of 'immovable'. Finally, typesetting information is obtained. For example, the constraint that identifies one control of the theme table Shan Nadi is "undeletable", and the constraint of the second control is "undeletable", "non-modifiable", "non-movable". Deleting the delete button in the first control typesetting information. And deleting the modification button, the deletion button and the movement button in the second control typesetting information. Finally, the typesetting information of the first control is { control, modification button, movement button }, and the typesetting information of the second control is { control }.
Step 105, a caching mechanism is established.
The caching mechanism realizes the following caching function through server code setting. And each time the browser initiates a request, searching the request result and the cache identification in the cache. If the lookup in the cache fails, a request is initiated to the server. The browser stores the request result returned by the server and the cache identifier in the cache each time. For example, when the browser requests to obtain the typesetting information of the key information, the typesetting information of the key information and the corresponding cache identifier are searched in the cache. If the lookup in the cache fails, a request is initiated to the server. The server returns the request result: typesetting information of the first control and typesetting information of the second control, and caching identification: typesetting information of key information. And the browser stores the request result returned by the server and the cache identification into the cache. The data in the cache can be directly obtained, so that the performance is improved.
And 106, decomposing the form control.
And acquiring the control distribution of the theme form and the control identified as important information from the cache content. And analyzing the control distribution of the theme form and the control identified as the key information to obtain the control content of the key information. And decomposing the control content of the key information to obtain control elements of the key information, and storing the control elements in a cache. The control elements comprise control types, descriptive words, option numbers, option words and pictures. For example, the control distribution of the theme form obtained from the cache content is { single line gap filling a, single item selection, phone, single line gap filling b, drop down selection, date, multiple line gap filling, picture upload }. The controls identified as important information are a first control and a second control. And analyzing the control distribution of the theme form and the control identified as the key information to obtain the control content of the key information as { single row gap filling a, single selection }. Decomposing the { single-row gap a, and selecting a single item } to obtain control elements in the { single-row gap a }: the control type is that a single row fills in the blank, the descriptive text is the name, the number of options is 0, the options text is null, and the picture is null. The control elements of { single choice } are: the control type is single item selection, the descriptive text is gender, the number of options is 2, the options text is { male, female }, and the picture is null.
And 107, quickly combining and generating new form contents according to the cache contents.
And obtaining typesetting information and control elements of the important information of the control identified as the important information according to the cache content. An editable new form is created. And creating a control according to the control element of the key information and adding the control to the new form. And setting typesetting information of the corresponding control in the new form according to the typesetting information of the control identified as the key information. For example, the controls identified as accent information are a first control and a second control. The typesetting information of the first control is { control, modification button, movement button }, and the typesetting information of the second control is { control }. The control content of the key information is { single line filling a, single item selection }.
The control elements in the { single row fill a } are: the control type is that a single row fills in the blank, the descriptive text is the name, the number of options is 0, the options text is null, and the picture is null. The control elements of { single choice } are: the control type is single item selection, the descriptive text is gender, the number of options is 2, the options text is { male, female }, and the picture is null. An editable new form is created. Controls are created and added to the new form based on the control elements of { single row fill a }, and { single item select }. Setting the typesetting information of { single row gap a } as { control, modification button, movement button }, and setting the typesetting information of { single item selection } as { control }.
The above embodiments are merely for illustrating the technical solution of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the corresponding technical solutions.
Claims (7)
1. A method for adaptively changing a form theme function, the method comprising:
form theme recommendation is conducted based on collaborative filtering, and a target theme is determined;
retrieving a theme form in a theme form library according to a target theme, judging the distribution and the mobility of the controls in the theme form, wherein the judging the distribution and the mobility of the controls in the theme form specifically comprises the following steps: judging the control distribution of the theme form, and judging the mobility of the theme form based on the authorization information of the theme form;
if the migration is possible, forming a constraint condition, wherein if the migration is possible, the constraint condition is formed, and specifically comprises: acquiring eye movement data of a user designing a theme form, determining a control which is important information in the theme form, and setting constraint conditions for the important information, wherein the constraint conditions comprise 'undeletable', 'non-modifiable' and 'non-movable'; adding two constraint conditions of 'undeletable' and 'undeletable' to key information; displaying the set constraint conditions on a theme form editing page, and guiding a user designing the theme form to adjust the constraint conditions; the adjustment constraint conditions comprise a deletion constraint condition and an addition constraint condition; storing the result of the design theme form after the constraint condition is adjusted by the user;
judging typesetting information of the controls in the theme form according to the formed constraint conditions;
establishing a cache mechanism;
acquiring control distribution of the theme form and the identified controls as important information from the cache content, decomposing the form controls of the theme form, and analyzing the control distribution of the theme form and the identified controls as important information to obtain control content of the important information; decomposing the control content of the key information to obtain control elements of the key information;
acquiring typesetting information and control elements of the control identified as important information according to the cache content; creating a new form which can be edited; creating a control according to the control element of the key information and adding the control to the new form; setting typesetting information of the corresponding control in the new form according to typesetting information of the control identified as important information, and combining to generate new form content.
2. The method of claim 1, wherein the collaborative filtering-based form topic recommendation comprises:
acquiring a business-topic matrix; the service-topic matrix comprises different services and corresponding topics, and each service corresponds to at least one topic; acquiring user service; establishing vectors of different services in a service-topic matrix; establishing a vector of user service; construction similarity calculation model
Where A, B denotes a vector, similarity (a, B) denotes Similarity; according to the similarity calculation model, calculating the similarity between different services and user services in the service-topic matrix respectively; screening the business with the similarity larger than a preset threshold value, and taking the corresponding theme as a recommended theme for the user to select; the theme selected by the user is set as the target theme.
3. The method of claim 1, wherein the determining the control distribution of the theme form and determining the portability of the theme form based on the authorization information of the theme form comprises:
obtaining a theme form library; retrieving a theme form in the theme form library according to the target theme; identifying the controls in the theme form one by one, and matching the controls with the controls in a preset control library to determine the control type; obtaining control distribution of a theme form; acquiring authorization information of a theme form; the authorization information includes unauthorized and authorized information; if the authorization information is unauthorized, the topic form is not transferable, and the user is reminded that the current topic form is not transferable; if the authorization information is authorized, the theme form can be migrated; comprising the following steps: judging the form control distribution; judging the mobility of the form;
the judging of the form control distribution specifically comprises the following steps:
obtaining a theme form library; retrieving a theme form in the theme form library according to the target theme; presetting a control library; the control library comprises single-row gap filling, multi-row gap filling, single-item selection, multi-item selection, drop-down selection, date, telephone, mailbox, address, matrix table, picture uploading and accessory uploading; identifying the controls in the theme form one by one, and matching the controls with the controls in the control library to determine the control type; finally, obtaining the control distribution of the theme form;
the judging of the form mobility specifically includes:
acquiring authorization information of a theme form; the authorization information includes unauthorized and authorized information; if the authorization information is unauthorized, the topic form is not transferable, and the user is reminded that the current topic form is not transferable; if the authorization information is authorized, the topic form can be migrated.
4. The method according to claim 1, wherein the acquiring eye movement data of the user designing the theme form, and determining the control in the theme form as the key information, specifically includes:
if the theme form is transferable, acquiring eye movement data of a user designing the theme form; the eye movement data comprises a control watched, a duration watched by each control, a control watched by each control and a duration watched by each control; constructing a user attention model, namely A=XxW1+YxW 2,
a represents the attention of a user on the control, W1 and W2 represent different weights, X represents the duration of looking at the current control, and Y represents the duration of sweeping the current control; calculating the attention of the user on each control, and simultaneously calculating the average attention of the whole; if the attention of the user on a control is greater than the average attention, the control is represented as important information.
5. The method according to claim 1, wherein the determining typesetting information of the control in the theme form according to the formed constraint condition includes:
identifying constraint conditions of the controls in the theme form; obtaining typesetting information of a control in a theme form; the typesetting information comprises { control, modification button, deletion button, movement button }; deleting a deleting button in the typesetting information of the corresponding control aiming at the constraint condition of 'undeletable'; aiming at the constraint condition of 'non-modifiable', deleting a modification button in the typesetting information of the corresponding control; aiming at the constraint condition of 'immovable', deleting a movable button in the typesetting information of the corresponding control; finally, typesetting information is obtained.
6. The method of claim 1, wherein the establishing a caching mechanism comprises:
the caching mechanism realizes the following caching function through server code setting; each time the browser initiates a request, searching a request result and a cache identifier in the cache; if searching in the cache fails, a request is initiated to the server; the browser stores the request result returned by the server and the cache identifier in the cache each time.
7. The method of claim 1, further comprising:
storing the control elements of the key information into a cache; the control elements comprise control types, descriptive words, option numbers, option words and pictures.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211249606.XA CN115577188B (en) | 2022-10-12 | 2022-10-12 | Form theme function self-adaptive change method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211249606.XA CN115577188B (en) | 2022-10-12 | 2022-10-12 | Form theme function self-adaptive change method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN115577188A CN115577188A (en) | 2023-01-06 |
CN115577188B true CN115577188B (en) | 2023-06-09 |
Family
ID=84585875
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211249606.XA Active CN115577188B (en) | 2022-10-12 | 2022-10-12 | Form theme function self-adaptive change method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115577188B (en) |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106708480B (en) * | 2015-07-29 | 2021-02-26 | 腾讯科技(深圳)有限公司 | Management platform implementation method and device |
CN113283354B (en) * | 2021-05-31 | 2023-08-18 | 中国航天科工集团第二研究院 | Method, system and storage medium for analyzing eye movement signal behavior |
CN113313072A (en) * | 2021-06-28 | 2021-08-27 | 中国平安人寿保险股份有限公司 | Method, device and equipment for constructing intelligent dynamic page and storage medium |
CN113723899A (en) * | 2021-07-27 | 2021-11-30 | 上海晏鼠计算机技术股份有限公司 | Method for constructing business process based on user-defined form |
-
2022
- 2022-10-12 CN CN202211249606.XA patent/CN115577188B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN115577188A (en) | 2023-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11681654B2 (en) | Context-based file selection | |
US10430481B2 (en) | Method and apparatus for generating a content recommendation in a recommendation system | |
US10706325B2 (en) | Method and apparatus for selecting a network resource as a source of content for a recommendation system | |
US8385660B2 (en) | Mixed media reality indexing and retrieval for repeated content | |
US9390144B2 (en) | Objective and subjective ranking of comments | |
US9195679B1 (en) | Method and system for the contextual display of image tags in a social network | |
CN101189608B (en) | Systems and methods for analyzing a user's Web history | |
US9449078B2 (en) | Evaluating the ranking quality of a ranked list | |
US10387840B2 (en) | Model generator for historical hiring patterns | |
US20110082848A1 (en) | Systems, methods and computer program products for search results management | |
US20120284629A1 (en) | Chronology display and feature for online presentations and webpages | |
US20100329642A1 (en) | Dynamic Icons Associated with Remote Content | |
US20130282698A1 (en) | System and Method for Directing Questions to Consultants Through Profile Matching | |
US20100121852A1 (en) | Apparatus and method of albuming content | |
CN107851092A (en) | Personal entity models | |
US20070204025A1 (en) | Community Oriented Electronic Directory And Business Development System And Method | |
CN109688479B (en) | Bullet screen display method, bullet screen display device and bullet screen display server | |
JP2019096352A (en) | Flexible image layout | |
KR20100129783A (en) | Method and apparatus to incorporate automatic face recognition in digital image collections | |
WO2018145577A1 (en) | Facial-expression recommendation method and device | |
EP1535195A1 (en) | Community directory | |
US11354378B2 (en) | Web experience augmentation based on local and global content preferences | |
CN110019800B (en) | Distributed content processing method, distributed content processing device, computer equipment and storage medium | |
KR20160004405A (en) | Tag suggestions for images on online social networks | |
CN111177499A (en) | Label adding method and device and computer readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |