CN110515618B - Page information input optimization method, equipment, storage medium and device - Google Patents

Page information input optimization method, equipment, storage medium and device Download PDF

Info

Publication number
CN110515618B
CN110515618B CN201910623710.2A CN201910623710A CN110515618B CN 110515618 B CN110515618 B CN 110515618B CN 201910623710 A CN201910623710 A CN 201910623710A CN 110515618 B CN110515618 B CN 110515618B
Authority
CN
China
Prior art keywords
page
information
fragment
input
preset
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
Application number
CN201910623710.2A
Other languages
Chinese (zh)
Other versions
CN110515618A (en
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.)
Shenzhen Lian Intellectual Property Service Center
Xi'an Lirenxing File And Document Management Consulting Co ltd
Original Assignee
Xi'an Lirenxing File And Document Management Consulting 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 Xi'an Lirenxing File And Document Management Consulting Co ltd filed Critical Xi'an Lirenxing File And Document Management Consulting Co ltd
Priority to CN201910623710.2A priority Critical patent/CN110515618B/en
Priority to PCT/CN2019/117205 priority patent/WO2021003922A1/en
Publication of CN110515618A publication Critical patent/CN110515618A/en
Application granted granted Critical
Publication of CN110515618B publication Critical patent/CN110515618B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The invention discloses a page information input optimization method, equipment, a storage medium and a device, wherein the method comprises the following steps: receiving an information adding instruction input by a user on a current page; searching the address of the fragment page according to the adding information instruction, and calling a preset callback function through a function pointer according to the address of the fragment page to display the fragment page; receiving target information input by a user through the fragment page; and when receiving a fragment hiding instruction triggered by a user, hiding the fragment page which is input with the target information by calling a hiding function of the fragment page. Based on research and development management, in the application development process, aiming at the node flow similar to information input, a plurality of information inputs are realized through the fragment pages, and a plurality of pages are prevented from being newly opened to collect data, so that the information input efficiency is improved, and the user experience is improved.

Description

Page information input optimization method, equipment, storage medium and device
Technical Field
The present invention relates to the field of research and development management technologies, and in particular, to a method, an apparatus, a storage medium, and a device for optimizing page information input.
Background
In the development process of multi-page application, aiming at the node flow of similar information input, some nodes may need to be divided into a plurality of pages to collect data, the data is often rendered and collected through newly opened pages, the newly opened pages influence the information input efficiency, and meanwhile, great influence is caused on user experience, so that how to improve the information input efficiency for the pages with more information input nodes is a technical problem to be solved.
The foregoing is provided merely for the purpose of facilitating understanding of the technical solutions of the present invention and is not intended to represent an admission that the foregoing is prior art.
Disclosure of Invention
The invention mainly aims to provide a page information input optimization method, equipment, a storage medium and a device, and aims to solve the technical problem of low efficiency of page information input in the prior art.
In order to achieve the above purpose, the invention provides a page information input optimization method, which comprises the following steps:
receiving an information adding instruction input by a user on a current page;
searching the address of the fragment page according to the adding information instruction, and calling a preset callback function through a function pointer according to the address of the fragment page to display the fragment page;
receiving target information input by a user through the fragment page;
and when receiving a fragment hiding instruction triggered by a user, hiding the fragment page which is input with the target information by calling a hiding function of the fragment page.
Preferably, when receiving a fragment hiding instruction triggered by a user, after hiding a fragment page in which the target information is entered by calling a hiding function of the fragment page, the page information entry optimizing method further includes:
receiving all display instructions input by a user on the current page;
acquiring all fragment pages in the current page;
and displaying the fragment page according to a preset display rule.
Preferably, the displaying the segment page according to a preset display rule includes:
detecting whether all fragment pages in the current page enter corresponding information or not;
if a fragment page without the input information exists, displaying the fragment page without the input information at a first preset time;
and displaying the other segment pages with the information input at a second preset time, wherein the second preset time is later than the first preset time.
Preferably, the displaying the segment pages of the other entered information at the second preset time includes:
extracting the input information from the segment pages of the input information;
acquiring the number of the input words of each input message, and judging whether the number of the input words exceeds a preset number of words;
if the number of the input words exceeds the preset number of words, extracting keywords from the input information exceeding the preset number of words;
and displaying the extracted keywords in a second preset time through the fragment page.
Preferably, after the extracted keywords are displayed in the second preset time through the segment page, the page information input optimization method further includes:
when the operation of clicking the key words by the user is received, the input information corresponding to the key words is obtained, and the input information corresponding to the key words is displayed through the fragment page.
Preferably, if there is a segment page with no input information, displaying the segment page with no input information at a first preset time, including:
if a fragment page without the input information exists, displaying the fragment page without the input information in a first preset color at a first preset time;
the displaying the segment pages of other recorded information at a second preset time, wherein the second preset time is later than the first preset time, and the method comprises the following steps:
and displaying the other segment pages with the input information in a second preset color at a second preset time, wherein the second preset time is later than the first preset time, and the second preset color is different from the first preset color.
Preferably, after receiving the target information input by the user through the fragment page, the page information input optimization method further includes:
and receiving a sliding instruction input in the fragment page, and performing sliding operation corresponding to the sliding instruction on the target information through the deformation attribute of the cascading style sheet.
In addition, in order to achieve the above object, the present invention also proposes a page information entry optimizing apparatus comprising a memory, a processor and a page information entry optimizing program stored on the memory and operable on the processor, the page information entry optimizing program being configured to implement the steps of the page information entry optimizing method as described above.
In addition, in order to achieve the above object, the present invention also proposes a storage medium on which a page information entry optimization program is stored, which when executed by a processor implements the steps of the page information entry optimization method as described above.
In addition, in order to achieve the above purpose, the present invention also provides a page information input optimizing device, which includes:
the receiving module is used for receiving an information adding instruction input by a user on a current page;
the display module is used for searching the address of the fragment page according to the adding information instruction, and calling a preset callback function through a function pointer according to the address of the fragment page to display the fragment page;
the receiving module is also used for receiving target information input by a user through the fragment page;
and the hiding module is used for hiding the segment page which is input with the target information by calling the hiding function of the segment page when receiving the segment hiding instruction triggered by the user.
According to the method, the device and the system, the added information instruction input by the user on the current page is received, the address of the fragment page is searched according to the added information instruction, the fragment page is displayed by calling a preset callback function through a function pointer according to the address of the fragment page, a plurality of pieces of information are input through the fragment page, and a plurality of newly opened pages are prevented from gathering data, so that the information input efficiency is improved; receiving target information input by a user through the fragment page, and when receiving a fragment hiding instruction triggered by the user, hiding the fragment page input with the target information by calling a hiding function of the fragment page, wherein the hiding of the fragment page can be realized through the hiding function according to a plurality of node processes input with information in the application development process based on research and development management, so that the effect of single-page application is achieved, and the user experience is improved.
Drawings
FIG. 1 is a schematic structural diagram of a page information entry optimizing device of a hardware running environment according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart of a first embodiment of the page information entry optimization method of the present invention;
FIG. 3 is a flow chart of a second embodiment of the page information entry optimization method of the present invention;
FIG. 4 is a schematic flow chart of a third embodiment of the page information entry optimization method of the present invention;
FIG. 5 is a flowchart of a fourth embodiment of the page information entry optimization method of the present invention;
fig. 6 is a block diagram of a first embodiment of the page information entry optimizing apparatus of the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a page information input optimization device of a hardware running environment according to an embodiment of the present invention.
As shown in fig. 1, the page information entry optimizing apparatus may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, a memory 1005. Wherein the communication bus 1002 is used to enable connected communication between these components. The user interface 1003 may include a Display (Display), and the optional user interface 1003 may also include a standard wired interface, a wireless interface, and the wired interface for the user interface 1003 may be a USB interface in the present invention. The network interface 1004 may optionally include a standard wired interface, a WIreless interface (e.g., a WIreless-FIdelity (WI-FI) interface). The Memory 1005 may be a high-speed random access Memory (Random Access Memory, RAM) Memory or a stable Memory (NVM), such as a disk Memory. The memory 1005 may also optionally be a storage device separate from the processor 1001 described above.
Those skilled in the art will appreciate that the structure shown in fig. 1 does not constitute a limitation of the page information entry optimizing apparatus, and may include more or fewer components than shown, or may combine certain components, or may be a different arrangement of components.
As shown in fig. 1, an operating system, a network communication module, a user interface module, and a page information entry optimization program may be included in a memory 1005, which is a type of computer storage medium.
In the page information input optimizing device shown in fig. 1, the network interface 1004 is mainly used for connecting a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting user equipment; the page information input optimizing device invokes a page information input optimizing program stored in the memory 1005 through the processor 1001, and executes the page information input optimizing method provided by the embodiment of the invention.
Based on the hardware structure, the embodiment of the page information input optimization method is provided.
Referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the page information input optimization method according to the present invention, and the first embodiment of the page information input optimization method according to the present invention is provided.
In a first embodiment, the page information entry optimization method includes the steps of:
step S10: and receiving an information adding instruction input by a user on the current page.
It should be understood that the execution subject of the embodiment is the page information input optimizing device, where the page information input optimizing device may be an electronic device such as a smart phone, a personal computer, or a server. The information adding instruction refers to an instruction input by a user in the current page, and can be an information clicking input adding button. In order to improve the front-end user experience, the information input of the newly opened page can be avoided by adding a hypertext markup language (Hyper Text Markup Language, abbreviated HTML) Fragment (Fragment) component. A Fragment component may be added to any HTML page in the flow, and fragments may also be called "fragments". Such as: the current page is a user information acquisition page, and the user information acquisition page has a function of adding contact information, so that a contact information adding button can be newly added on the user information acquisition page, and when a user clicks the contact information adding button, the information adding instruction is triggered.
Step S20: and searching the address of the fragment page according to the adding information instruction, and calling a preset callback function through a function pointer according to the address of the fragment page to display the fragment page.
It can be understood that when the information adding instruction is triggered, the Fragment component can be directly called to pop up a Fragment page, that is, the Fragment page, and the function of adding the contact information is written into the Fragment component. The front end js can customize the Fragment component, and the parameters received by the Fragment component include fragment_id, show/hide switch, callback function and the like which need to be displayed. And controlling the display and the hiding of the fragment page through a show/hide switch, triggering the information adding instruction when a user clicks an information adding button, searching the address of the fragment page through a fragment_id parameter, and calling a callback function through a function pointer according to the address of the fragment page to display the fragment page by a preset callback function, namely the callback function.
Step S30: and receiving target information input by the user through the fragment page.
It should be noted that, the user inputs the target information through the clip page displayed in the current page, for example, clicks a contact information adding button, and the target information is contact information. When the input of the target information is completed, the fragment component for assembling the target information is hidden through the hide attribute of js, and meanwhile, the fragment component can transmit the contact information to the current page, such as the user information acquisition page, so that the function of injecting an html page into the fragment component is realized.
In this embodiment, after the step S30, the method further includes:
and receiving a sliding instruction input in the fragment page, and performing sliding operation corresponding to the sliding instruction on the target information through the deformation attribute of the cascading style sheet.
In a specific implementation, in the process of entering the target information, a deformation (transform) attribute provided by a cascading style sheet (Cascading Style Sheets, abbreviated CSS) can be used, for example, a transform attribute provided by a cascading style sheet 3 stage (Cascading Style Sheets Level, abbreviated CSS 3) is used for controlling the up-down, left-right animation sliding of the content of a partition (div) area in the fragment page, so that when the target information content is excessive, the target information can be scrolled and checked to see whether the target information has errors.
Step S40: and when receiving a fragment hiding instruction triggered by a user, hiding the fragment page which is input with the target information by calling a hiding function of the fragment page.
It should be understood that the segment hiding instruction may be clicking on the blank of the segment page, or clicking on a button for information addition again. The hiding function is a parameter hide attribute received by the Fragment component, and the Fragment component is hidden through the hide attribute of js. The page rendering is controlled to achieve quick response by controlling the display and the hiding of the html dom node, each fragment component is actually a dom fragment of html, and the dom node has a show/hide attribute, so that the show/hide can be directly controlled through js, and the display and the hiding of the fragment information are realized.
And hiding the segment page in which the target information is input, wherein information is required to be input to other node processes in the current page, searching the address of a new segment page through a new information adding instruction, and calling a preset callback function through a function pointer according to the address of the new segment page to display the new segment page.
In the embodiment, by receiving an information adding instruction input by a user on a current page, searching an address of a fragment page according to the information adding instruction, calling a preset callback function through a function pointer according to the address of the fragment page to display the fragment page, and realizing a plurality of information entries through the fragment page, so that a plurality of newly opened pages are prevented from gathering data, and the information entry efficiency is improved; receiving target information input by a user through the fragment page, and when receiving a fragment hiding instruction triggered by the user, hiding the fragment page input with the target information by calling a hiding function of the fragment page, wherein the hiding of the fragment page can be realized through the hiding function according to a plurality of node processes input with information in the application development process based on research and development management, so that the effect of single-page application is achieved, and the user experience is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of a second embodiment of the page information input optimization method according to the present invention, and based on the first embodiment shown in fig. 2, the second embodiment of the page information input optimization method according to the present invention is proposed.
In a second embodiment, after the step S40, the method further includes:
step S50: and receiving all display instructions input by a user on the current page.
It should be understood that, in order to facilitate the user to view all the segment pages in the current page, all the display instructions may be set, and the all the display instructions may be double-click in the blank of the current page, or other operations, which is not limited in this embodiment. For example, if the user double clicks the blank of the current page, the whole display instruction is triggered, and then the input information of all the fragment pages in the current page can be obtained.
Step S60: and acquiring all fragment pages in the current page.
It will be appreciated that all Fragment components in the current page may be obtained and the entered information extracted from all Fragment pages. Firstly, whether information is recorded in each fragment page is detected, if the information is recorded, the recorded information is subjected to content extraction, and if the information is not recorded, the content extracted by the page fragment can be considered to be empty.
Step S70: and displaying the fragment page according to a preset display rule.
It should be noted that if there are multiple segment pages, the display may not be performed simultaneously, and the preset display rule may be to display one segment page at intervals of a preset interval according to the front-to-back position of the segment page in the current page, so that all segment pages in the current page are displayed sequentially, for example, the interval may be one minute.
In this embodiment, in order to facilitate a user to view all the segment pages in the current page, when receiving all the display instructions input by the user in the current page, the segment pages are displayed according to a preset display rule, so that the user can view whether there is missing information, and the accuracy and efficiency of information input are improved.
Referring to fig. 4, fig. 4 is a schematic flow chart of a third embodiment of the page information input optimization method according to the present invention, and based on the second embodiment shown in fig. 3, the third embodiment of the page information input optimization method according to the present invention is proposed.
In a third embodiment, the step S70 includes:
step S701: and detecting whether all fragment pages in the current page enter corresponding information.
It should be understood that, in order to avoid that when the number of all the fragment pages in the current page is large, the user omits to input related information, after all the fragment pages in the current page are acquired, the information input in each fragment page is acquired, whether the input information is empty is detected, if the information is empty, it is indicated that the fragment page does not input related information, and then the fragment page not input information can be displayed in a preferential manner. The preferential display mode can be that the segment pages without the input information are firstly displayed, and after the preset time is displayed, other segment pages are displayed; the segment pages without the input information can be displayed in larger fonts, and other segment pages are displayed in smaller fonts; and displaying the segment pages without the input information by using the ground color of a first preset color, and displaying other segment pages by using the ground color of a second preset color, wherein the second preset color is different from the first preset color.
Step S702: if the segment page without the input information exists, the segment page without the input information is displayed at a first preset time.
It can be understood that if there is a segment page with no input information, the segment page with no input information is displayed preferentially, that is, the segment page with no input information is displayed earlier than other segment pages. The first preset time may be set according to a trigger time of the all display instructions, when receiving all display instructions input by the user on the current page, the trigger time of the all display instructions is recorded, and the first preset time may be a trigger time of the all display instructions plus the preset interval time, for example, when receiving all display instructions input by the user on the current page, the recorded trigger time is 9:00, the preset interval time is one minute, then at 9:01, showing the fragment page without the input information. When a plurality of fragment pages without input information are provided, one fragment page without input information is displayed at preset interval time intervals according to the front and back positions of the fragment page without input information in the current page, so that the plurality of fragment pages without input information are displayed successively.
Step S703: and displaying the other segment pages with the information input at a second preset time, wherein the second preset time is later than the first preset time.
After the segment pages without the input information are displayed, one segment page with the input information is displayed at preset intervals according to the front and back positions of the segment pages with other input information in the current page, so that a plurality of segment pages with the input information are displayed successively. The second preset time is later than the first preset time, so that the fragment pages for inputting the information can be displayed preferentially, and the user is reminded of carrying out supplementary inputting of the information. The second preset time can be obtained through calculation according to the number of the fragment pages without the input information, the preset interval time and the first preset time.
In this embodiment, the step S703 includes:
extracting the input information from the segment pages of the input information;
acquiring the number of the input words of each input message, and judging whether the number of the input words exceeds a preset number of words;
if the number of the input words exceeds the preset number of words, extracting keywords from the input information exceeding the preset number of words;
and displaying the extracted keywords in a second preset time through the fragment page, wherein the second preset time is later than the first preset time.
It should be noted that, when the content of the recorded information is relatively large, if the recorded information is displayed completely, the segment page may not display all the content, so that a user can intuitively see the information recording condition in the displayed segment page, the number of recorded words of each recorded information can be compared with a preset word number by acquiring the word number of each recorded information, if the number of recorded words exceeds the preset word number, the recorded information cannot display all the recorded information in the displayed window, keyword extraction can be performed on the recorded information exceeding the preset word number, specifically, the recorded information exceeding the preset word number is segmented to obtain all the words corresponding to the recorded information, the word Frequency-reverse document Frequency (Term Frequency-Inverse Document Frequency) of each word is abbreviated as TF-IDF value, TF word Frequency (Term Frequency) and IDF reverse document Frequency (Inverse Document Frequency) are sequenced according to TF-IDF value, and the list is obtained, and the number of the words which are sequenced before being preset in the list is obtained.
In a specific implementation, the input information exceeding the preset word number is displayed, so that a user can know the information input condition of the fragment page through the displayed keywords. The user can click the keyword to completely display the input information corresponding to the keyword, and the input information can be checked through scrolling at the moment.
In this embodiment, after the presenting the extracted keyword through the segment page at the second preset time, the page information input optimization method further includes:
when the operation of clicking the key words by the user is received, the input information corresponding to the key words is obtained, and the input information corresponding to the key words is displayed through the fragment page.
It can be understood that when the user checks the keyword, if the user needs to check the corresponding input information, the user may also search the input information corresponding to the keyword by clicking the keyword, and fully display the input information, and since the input information exceeds the preset number of words and cannot be displayed completely in the current window, a sliding instruction may be input, and a transform attribute provided by a cascading style sheet (Cascading Style Sheets, abbreviated CSS 3) may be provided, for example, a transform attribute provided by a cascading style sheet 3 (Cascading StyleSheets Level, abbreviated CSS 3) controls the up-down, left-right animation sliding of the content of the partition (div) area in the segment page, so that when the content of the input information is too much, the input information may be checked in a rolling manner to see whether the input information has an error.
In this embodiment, in order to avoid missing relevant information input by a user when the number of all segment pages in the current page is large, the segment pages without input information are displayed preferentially, so that the accuracy and efficiency of information input are improved.
Referring to fig. 5, fig. 5 is a schematic flow chart of a fourth embodiment of the page information input optimization method according to the present invention, and based on the third embodiment shown in fig. 4, the fourth embodiment of the page information input optimization method according to the present invention is proposed.
In this embodiment, the step S702 includes:
step S7021: if the segment page without the input information exists, displaying the segment page without the input information in a first preset color at a first preset time.
It will be appreciated that to highlight the segment pages of the non-entered information, the ground color of the segment pages of the non-entered information may be presented in the first preset color, which may be a color other than the conventional ground color white. When a plurality of segment pages without input information are provided, one segment page without input information is displayed at preset interval time intervals according to the front and back positions of the segment pages without input information in the current page, so that the segment pages without input information are displayed successively in the first preset color.
In this embodiment, the step S703 includes:
step S7031: and displaying the other segment pages with the input information in a second preset color at a second preset time, wherein the second preset time is later than the first preset time, and the second preset color is different from the first preset color.
It will be appreciated that the second predetermined color is typically a conventional ground color, which is different from the first predetermined color, so that the user can clearly perceive a fragmented page of non-entered information. After the segment pages without the input information are displayed, displaying one segment page with the input information at preset interval time intervals according to the front and back positions of the segment pages with other input information in the current page, so that the segment pages with the input information are displayed successively in a second preset color.
In this embodiment, in order to highlight the segment page not having the information recorded, the segment page not having the information recorded and the segment page having the information recorded are respectively displayed with different base colors of preset colors, so that the user can obviously perceive the segment page not having the information recorded, and timely supplement related information, thereby improving the information recording efficiency.
In addition, the embodiment of the invention also provides a storage medium, wherein the storage medium is stored with a page information input optimizing program, and the page information input optimizing program realizes the steps of the page information input optimizing method when being executed by a processor.
In addition, referring to fig. 6, an embodiment of the present invention further provides a page information input optimization device, where the page information input optimization device includes:
the receiving module 10 is used for receiving an information adding instruction input by a user on a current page;
the display module 20 is configured to search an address of a fragment page according to the instruction of adding information, and call a preset callback function through a function pointer according to the address of the fragment page to display the fragment page;
the receiving module 10 is further configured to receive target information entered by a user through the fragment page;
and the hiding module 30 is used for hiding the segment page which has been input with the target information by calling the hiding function of the segment page when receiving the segment hiding instruction triggered by the user.
It should be understood that the instruction to add information refers to an instruction input by the user in the current page, and may be an add button for clicking information entry. In order to improve the front-end user experience, the information input of the newly opened page can be avoided by adding a hypertext markup language (Hyper Text Markup Language, abbreviated HTML) Fragment (Fragment) component. A Fragment component may be added to any HTML page in the flow, and fragments may also be called "fragments". Such as: the current page is a user information acquisition page, and the user information acquisition page has a function of adding contact information, so that a contact information adding button can be newly added on the user information acquisition page, and when a user clicks the contact information adding button, the information adding instruction is triggered.
It can be understood that when the information adding instruction is triggered, the Fragment component can be directly called to pop up a Fragment page, that is, the Fragment page, and the function of adding the contact information is written into the Fragment component. The front end js can customize the Fragment component, and the parameters received by the Fragment component include fragment_id, show/hide switch, callback function and the like which need to be displayed. And controlling the display and the hiding of the fragment page through a show/hide switch, triggering the information adding instruction when a user clicks an information adding button, searching the address of the fragment page through a fragment_id parameter, and calling a callback function through a function pointer according to the address of the fragment page to display the fragment page by a preset callback function, namely the callback function.
It should be noted that, the user inputs the target information through the clip page displayed in the current page, for example, clicks a contact information adding button, and the target information is contact information. When the input of the target information is completed, the fragment component for assembling the target information is hidden through the hide attribute of js, and meanwhile, the fragment component can transmit the contact information to the current page, such as the user information acquisition page, so that the function of injecting an html page into the fragment component is realized.
In this embodiment, after receiving the target information input by the user through the fragment page, the method further includes:
and receiving a sliding instruction input in the fragment page, and performing sliding operation corresponding to the sliding instruction on the target information through the deformation attribute of the cascading style sheet.
In a specific implementation, in the process of entering the target information, a deformation (transform) attribute provided by a cascading style sheet (Cascading Style Sheets, abbreviated CSS) can be used, for example, a transform attribute provided by a cascading style sheet 3 stage (Cascading Style Sheets Level, abbreviated CSS 3) is used for controlling the up-down, left-right animation sliding of the content of a partition (div) area in the fragment page, so that when the target information content is excessive, the target information can be scrolled and checked to see whether the target information has errors.
It should be understood that the segment hiding instruction may be clicking on the blank of the segment page, or clicking on a button for information addition again. The hiding function is a parameter hide attribute received by the Fragment component, and the Fragment component is hidden through the hide attribute of js. The page rendering is controlled to achieve quick response by controlling the display and the hiding of the html dom node, each fragment component is actually a dom fragment of html, and the dom node has a show/hide attribute, so that the show/hide can be directly controlled through js, and the display and the hiding of the fragment information are realized.
And hiding the segment page in which the target information is input, wherein information is required to be input to other node processes in the current page, searching the address of a new segment page through a new information adding instruction, and calling a preset callback function through a function pointer according to the address of the new segment page to display the new segment page.
In the embodiment, by receiving an information adding instruction input by a user on a current page, searching an address of a fragment page according to the information adding instruction, calling a preset callback function through a function pointer according to the address of the fragment page to display the fragment page, and realizing a plurality of information entries through the fragment page, so that a plurality of newly opened pages are prevented from gathering data, and the information entry efficiency is improved; receiving target information input by a user through the fragment page, and when receiving a fragment hiding instruction triggered by the user, hiding the fragment page input with the target information by calling a hiding function of the fragment page, wherein the hiding of the fragment page can be realized through the hiding function according to a plurality of node processes input with information in the application development process based on research and development management, so that the effect of single-page application is achieved, and the user experience is improved.
In an embodiment, the receiving module 10 is further configured to receive all display instructions input by a user on the current page;
the page information input optimizing device further comprises:
the acquisition module is used for acquiring all fragment pages in the current page;
the display module 20 is further configured to display the segment page according to a preset display rule.
In an embodiment, the display module 20 is further configured to detect whether all the segment pages in the current page enter corresponding information; if a fragment page without the input information exists, displaying the fragment page without the input information at a first preset time; and displaying the other segment pages with the information input at a second preset time, wherein the second preset time is later than the first preset time.
In an embodiment, the display module 20 is further configured to extract the input information from the segment pages of the input information; acquiring the number of the input words of each input message, and judging whether the number of the input words exceeds a preset number of words; if the number of the input words exceeds the preset number of words, extracting keywords from the input information exceeding the preset number of words; and displaying the extracted keywords in a second preset time through the fragment page.
In an embodiment, the display module 20 is further configured to obtain the input information corresponding to the keyword when receiving the operation of clicking the keyword by the user, and display the input information corresponding to the keyword through the segment page.
In an embodiment, the display module 20 is further configured to display the segment page without the input information with a first preset color at a first preset time if the segment page without the input information exists; and displaying the other segment pages with the input information in a second preset color at a second preset time, wherein the second preset time is later than the first preset time, and the second preset color is different from the first preset color.
In an embodiment, the receiving module 10 is further configured to receive a sliding instruction input in the segment page, and perform a sliding operation corresponding to the sliding instruction on the target information through a deformation attribute of the cascading style sheet.
Other embodiments or specific implementation manners of the page information input optimizing device of the present invention may refer to the above method embodiments, and are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The use of the terms first, second, third, etc. do not denote any order, but rather the terms first, second, third, etc. are used to interpret the terms as labels.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. read only memory mirror (Read Only Memory image, ROM)/random access memory (Random Access Memory, RAM), magnetic disk, optical disk), comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (6)

1. The page information input optimization method is characterized by comprising the following steps of:
receiving an information adding instruction input by a user on a current page;
searching the address of the fragment page according to the adding information instruction, and calling a preset callback function through a function pointer according to the address of the fragment page to display the fragment page;
receiving target information input by a user through the fragment page;
when receiving a fragment hiding instruction triggered by a user, hiding a fragment page which is input with the target information by calling a hiding function of the fragment page;
when receiving a fragment hiding instruction triggered by a user, the page information input optimization method further comprises the following steps of:
receiving all display instructions input by a user on the current page;
acquiring all fragment pages in the current page;
displaying the fragment page according to a preset display rule, wherein the preset display rule comprises: when a plurality of fragment pages exist, not displaying at the same time, and displaying one fragment page at intervals of preset intervals according to the front and back positions of the fragment page in the current page;
the step of displaying the fragment page according to a preset display rule comprises the following steps:
detecting whether all fragment pages in the current page enter corresponding information or not;
if a fragment page without the input information exists, displaying the fragment page without the input information at a first preset time;
displaying the other segment pages with the input information at a second preset time, wherein the second preset time is later than the first preset time;
the displaying the segment pages of other recorded information at the second preset time comprises the following steps:
extracting the input information from the segment pages of the input information;
acquiring the number of the input words of each input message, and judging whether the number of the input words exceeds a preset number of words;
if the number of the input words exceeds the preset number of words, extracting keywords from the input information exceeding the preset number of words;
displaying the extracted keywords in a second preset time through the fragment page, wherein the second preset time is later than the first preset time;
when the operation of clicking the key words by the user is received, the input information corresponding to the key words is obtained, and the input information corresponding to the key words is displayed through the fragment page.
2. The method for optimizing page information input according to claim 1, wherein if there is a segment page with no input information, displaying the segment page with no input information at a first preset time, including:
if a fragment page without the input information exists, displaying the fragment page without the input information in a first preset color at a first preset time;
the displaying the segment pages of other recorded information at a second preset time, wherein the second preset time is later than the first preset time, and the method comprises the following steps:
and displaying the other segment pages with the input information in a second preset color at a second preset time, wherein the second preset time is later than the first preset time, and the second preset color is different from the first preset color.
3. The page information entry optimization method according to any one of claims 1-2, wherein after the receiving of the target information entered by the user through the segment page, the page information entry optimization method further comprises:
and receiving a sliding instruction input in the fragment page, and performing sliding operation corresponding to the sliding instruction on the target information through the deformation attribute of the cascading style sheet.
4. A page information entry optimization device, characterized in that the page information entry optimization device comprises: a memory, a processor and a page information entry optimisation stored on the memory and executable on the processor, which when executed by the processor implements the steps of the page information entry optimisation method according to any one of claims 1 to 3.
5. A storage medium having stored thereon a page information entry optimisation program which when executed by a processor implements the steps of the page information entry optimisation method of any one of claims 1 to 3.
6. The page information input optimizing device is characterized by comprising:
the receiving module is used for receiving an information adding instruction input by a user on a current page;
the display module is used for searching the address of the fragment page according to the adding information instruction, and calling a preset callback function through a function pointer according to the address of the fragment page to display the fragment page;
the receiving module is also used for receiving target information input by a user through the fragment page;
the hiding module is used for hiding the segment page which is input with the target information by calling a hiding function of the segment page when receiving a segment hiding instruction triggered by a user;
the hiding module is also used for receiving all display instructions input by a user on the current page; acquiring all fragment pages in the current page; displaying the fragment page according to a preset display rule, wherein the preset display rule comprises: when a plurality of fragment pages exist, not displaying at the same time, and displaying one fragment page at intervals of preset intervals according to the front and back positions of the fragment page in the current page;
the hiding module is also used for detecting whether all fragment pages in the current page enter corresponding information; if a fragment page without the input information exists, displaying the fragment page without the input information at a first preset time; displaying the other segment pages with the input information at a second preset time, wherein the second preset time is later than the first preset time;
the hiding module is also used for extracting the input information from the segment pages of the input information; acquiring the number of the input words of each input message, and judging whether the number of the input words exceeds a preset number of words; if the number of the input words exceeds the preset number of words, extracting keywords from the input information exceeding the preset number of words; displaying the extracted keywords in a second preset time through the fragment page, wherein the second preset time is later than the first preset time; when the operation of clicking the key words by the user is received, the input information corresponding to the key words is obtained, and the input information corresponding to the key words is displayed through the fragment page.
CN201910623710.2A 2019-07-10 2019-07-10 Page information input optimization method, equipment, storage medium and device Active CN110515618B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910623710.2A CN110515618B (en) 2019-07-10 2019-07-10 Page information input optimization method, equipment, storage medium and device
PCT/CN2019/117205 WO2021003922A1 (en) 2019-07-10 2019-11-11 Page information input optimization method, device and apparatus, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910623710.2A CN110515618B (en) 2019-07-10 2019-07-10 Page information input optimization method, equipment, storage medium and device

Publications (2)

Publication Number Publication Date
CN110515618A CN110515618A (en) 2019-11-29
CN110515618B true CN110515618B (en) 2024-02-09

Family

ID=68623362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910623710.2A Active CN110515618B (en) 2019-07-10 2019-07-10 Page information input optimization method, equipment, storage medium and device

Country Status (2)

Country Link
CN (1) CN110515618B (en)
WO (1) WO2021003922A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101484894A (en) * 2006-07-07 2009-07-15 国际商业机器公司 Method for inheriting a wiki page layout for a wiki page
WO2012123773A1 (en) * 2011-03-14 2012-09-20 Canon Kabushiki Kaisha A method and device for generating media fragment requests for requesting fragments of an encoded media stream
CN104077313A (en) * 2013-03-28 2014-10-01 腾讯科技(深圳)有限公司 Display method and display method of multiple input boxes in webpage page and terminal equipment
CN108170706A (en) * 2017-11-22 2018-06-15 链家网(北京)科技有限公司 A kind of information collection page generation method and device
CN108804081A (en) * 2018-05-04 2018-11-13 武汉极意网络科技有限公司 Control recognition methods and system in a kind of Fragment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9250872B2 (en) * 2011-10-19 2016-02-02 Oracle International Corporation Task flow interface in a popup region
CN102880664B (en) * 2012-08-31 2015-05-13 华为软件技术有限公司 Page editing method, device and system
CN104267968B (en) * 2014-10-16 2017-12-26 福建星网视易信息系统有限公司 The method and apparatus of changing interface
CN104750793A (en) * 2015-03-12 2015-07-01 小米科技有限责任公司 Method and device for generating page tables
US9754126B2 (en) * 2015-10-13 2017-09-05 Verizon Patent And Licensing Inc. Virtual input mechanism for secure data acquisition
CN108710490B (en) * 2017-04-12 2022-06-07 北京京东尚科信息技术有限公司 Method and device for editing Web page
CN108984203A (en) * 2018-06-08 2018-12-11 广东伊莱特电器有限公司 A kind of method and its system for the acquisition of Android application runtime data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101484894A (en) * 2006-07-07 2009-07-15 国际商业机器公司 Method for inheriting a wiki page layout for a wiki page
WO2012123773A1 (en) * 2011-03-14 2012-09-20 Canon Kabushiki Kaisha A method and device for generating media fragment requests for requesting fragments of an encoded media stream
CN104077313A (en) * 2013-03-28 2014-10-01 腾讯科技(深圳)有限公司 Display method and display method of multiple input boxes in webpage page and terminal equipment
CN108170706A (en) * 2017-11-22 2018-06-15 链家网(北京)科技有限公司 A kind of information collection page generation method and device
CN108804081A (en) * 2018-05-04 2018-11-13 武汉极意网络科技有限公司 Control recognition methods and system in a kind of Fragment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于代码片段复用的安卓应用组装技术研究;朱亚迪 等;计算机应用与软件(11);第170-174页 *

Also Published As

Publication number Publication date
WO2021003922A1 (en) 2021-01-14
CN110515618A (en) 2019-11-29

Similar Documents

Publication Publication Date Title
JP4093012B2 (en) Hypertext inspection apparatus, method, and program
US8707159B1 (en) Translating tabular data formatted for one display device to a format for display on other display device
US9330179B2 (en) Configuring web crawler to extract web page information
WO2018133452A1 (en) Webpage rendering method and related device
US8204950B2 (en) Webpage search
US8065667B2 (en) Injecting content into third party documents for document processing
US20240019989A1 (en) Information presentation method and apparatus, and computer storage medium
CN108399150B (en) Text processing method and device, computer equipment and storage medium
US20130298049A1 (en) Switching search providers within an application search box
US20040030991A1 (en) Systems and methods for facilitating automatic completion of an electronic form
US20120233152A1 (en) Generation of context-informative co-citation graphs
US20090292673A1 (en) Electronic Document Processing with Automatic Generation of Links to Cited References
WO2015047920A1 (en) Title and body extraction from web page
US20080163122A1 (en) File content preview tool
CN103714115A (en) Method and device for loading web page content
CN111310693A (en) Intelligent labeling method and device for text in image and storage medium
WO2016094101A1 (en) Webpage content storage and review
TWI417751B (en) Information providing device, information providing method, information application program, and information recording medium
RU2562397C2 (en) Method and apparatus for inserting address of hyperlink into bookmark
EP1677215A1 (en) Methods and apparatus for the evalution of aspects of a web page
CN110309463B (en) Floor page optimization method and device, computer storage medium and network equipment
CN106919593B (en) Searching method and device
CN114417226A (en) Page generation method, display method, device, electronic equipment and storage medium
TWI399657B (en) A provider, a method of providing information, a program, and an information recording medium
US9875316B2 (en) Identifying user selection using coordinates and snapshots of webpages

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20240115

Address after: 710000 Zone C, floor 11, building 5, digital China Park, No. 20, zhangbasi Road, high tech Zone, Xi'an, Shaanxi Province

Applicant after: XI'AN LIRENXING FILE AND DOCUMENT MANAGEMENT CONSULTING Co.,Ltd.

Address before: 518000 Room 202, block B, aerospace micromotor building, No.7, Langshan No.2 Road, Xili street, Nanshan District, Shenzhen City, Guangdong Province

Applicant before: Shenzhen LIAN intellectual property service center

Effective date of registration: 20240115

Address after: 518000 Room 202, block B, aerospace micromotor building, No.7, Langshan No.2 Road, Xili street, Nanshan District, Shenzhen City, Guangdong Province

Applicant after: Shenzhen LIAN intellectual property service center

Address before: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Applicant before: PING AN PUHUI ENTERPRISE MANAGEMENT Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Optimization methods, devices, storage media, and devices for page information input

Granted publication date: 20240209

Pledgee: Xi'an Caijin Financing Guarantee Co.,Ltd.

Pledgor: XI'AN LIRENXING FILE AND DOCUMENT MANAGEMENT CONSULTING Co.,Ltd.

Registration number: Y2024980011197