WO2021003922A1 - Page information input optimization method, device and apparatus, and storage medium - Google Patents
Page information input optimization method, device and apparatus, and storage medium Download PDFInfo
- Publication number
- WO2021003922A1 WO2021003922A1 PCT/CN2019/117205 CN2019117205W WO2021003922A1 WO 2021003922 A1 WO2021003922 A1 WO 2021003922A1 CN 2019117205 W CN2019117205 W CN 2019117205W WO 2021003922 A1 WO2021003922 A1 WO 2021003922A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- page
- information
- fragment
- entered
- preset
- Prior art date
Links
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/957—Browsing optimisation, e.g. caching or content distillation
-
- 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
Definitions
- This application relates to the technical field of research and development management, and in particular to a method, equipment, storage medium and device for optimizing page information input.
- the main purpose of this application is to provide a method, equipment, storage medium and device for optimizing page information entry, aiming to solve the technical problem of low efficiency of page information entry in the prior art.
- this application provides a page information input optimization method, and the page information input optimization method includes the following steps:
- Target information entered by the user through the fragment page where the target information includes contact information
- the fragment page where the target information has been entered is hidden by calling the hiding function of the fragment page.
- the fragment hiding instruction includes clicking on a blank space of the fragment page, or again Click the button to add information;
- the page information entry optimization method further includes:
- the sliding operation includes an animation sliding up and down, left and right, so that When the content of the target information is too much, the target information is displayed in scroll.
- this application also proposes a page information entry optimization device, the page information entry optimization device includes a memory, a processor, and page information stored on the memory and running on the processor An optimized computer readable instruction is entered, and the page information entry optimization computer readable instruction is configured to implement the steps of the page information entry optimization method described above.
- this application also proposes a storage medium that stores a page information entry optimization computer readable instruction, and when the page information entry optimization computer readable instruction is executed by a processor, the implementation is as described above The steps of the page information input optimization method.
- this application also proposes a page information input optimization device, and the page information input optimization device includes:
- the receiving module is used to receive the instruction to add information entered by the user on the current page
- a display module configured to find the address of a fragment page according to the information addition instruction, and display the fragment page by calling a preset callback function through a function pointer according to the address of the fragment page;
- the receiving module is further configured to receive target information entered by the user through the fragment page, where the target information includes contact information;
- the hiding module is used to hide the segment page in which the target information has been entered by calling the hiding function of the segment page when receiving the segment hiding instruction triggered by the user.
- the segment hiding instruction includes clicking on the segment page Blank space, or click the button to add information again;
- the receiving module is further configured to receive a sliding instruction input in the fragment page, and perform a sliding operation corresponding to the sliding instruction on the target information through the deformation attribute of the cascading style sheet, and the sliding operation includes Animated sliding up and down, left and right, so that when the content of the target information is too much, the target information is displayed in scroll.
- the address of the fragment page is searched according to the information addition instruction, and a preset callback function is called through a function pointer according to the address of the fragment page to display the fragment page ,
- a preset callback function is called through a function pointer according to the address of the fragment page to display the fragment page .
- FIG. 1 is a schematic structural diagram of a page information input optimization device of a hardware operating environment involved in a solution of an embodiment of the present application;
- FIG. 2 is a schematic flowchart of a first embodiment of a method for optimizing entry of information on an application page
- FIG. 3 is a schematic flowchart of a second embodiment of a method for optimizing application page information entry
- FIG. 4 is a schematic flowchart of a third embodiment of a method for optimizing entry of information on an application page
- FIG. 5 is a schematic flowchart of a fourth embodiment of a method for optimizing entry of information on an application page
- Fig. 6 is a structural block diagram of a first embodiment of a device for inputting and optimizing page information of an application.
- FIG. 1 is a schematic diagram of the structure of a device for optimizing page information input in a hardware operating environment involved in a solution of an embodiment of the application.
- the page information input optimization device may include: a processor 1001, such as a central processing unit (Central Processing Unit, CPU), communication bus 1002, user interface 1003, network interface 1004, memory 1005.
- the communication bus 1002 is used to implement connection and communication between these components.
- the user interface 1003 may include a display screen (Display), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
- the wired interface of the user interface 1003 may be a USB interface in this application.
- the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface).
- WIreless-FIdelity WI-FI
- the memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, can also be a stable memory (Non-volatile Memory, NVM), such as disk storage.
- RAM Random Access Memory
- NVM Non-volatile Memory
- the memory 1005 may also be a storage device independent of the foregoing processor 1001.
- FIG. 1 does not constitute a limitation on the page information input optimization device, and may include more or less components than shown, or a combination of certain components, or different component arrangements. .
- the memory 1005 which is a computer storage medium, may include an operating system, a network communication module, a user interface module, and computer-readable instructions for optimizing page information input.
- the network interface 1004 is mainly used to connect to a back-end server and perform data communication with the back-end server; the user interface 1003 is mainly used to connect user equipment; the page information input optimization device passes
- the processor 1001 calls the page information input optimization computer-readable instructions stored in the memory 1005, and executes the page information input optimization method provided in the embodiment of the present application.
- FIG. 2 is a schematic flowchart of a first embodiment of a method for optimizing page information entry of this application, and a first embodiment of the method for optimizing page information entry of this application is proposed.
- the method for optimizing page information entry includes the following steps:
- Step S10 Receive an information addition instruction input by the user on the current page.
- the execution subject of this embodiment is the page information entry optimization device, where the page information entry optimization 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 the user in the current page, and may be clicking an add button for information entry.
- the Hypertext Markup Language Hyper Text Markup Language, abbreviated HTML
- Fragment Fragment
- Fragment components can be added to any HTML page in the process, and Fragments can also be called "fragments”.
- the current page is the user information collection page, and there is a function to add contact information on the user information collection page, and you can add an add contact information button on the user information collection page. When the user clicks The adding contact information button triggers the adding information instruction.
- Step S20 Find the address of the fragment page according to the information adding instruction, and call a preset callback function through a function pointer according to the address of the fragment page to display the fragment page.
- the Fragment component can be directly called to pop up a Fragment page, that is, the fragment page, and the function of adding contact information has been written into the fragment component.
- the front-end js can customize the Fragment component, and the parameters received by the Fragment component include the fragment_id that needs to be displayed, the show/hide switch, and the callback function.
- the show/hide switch is used to control the display and hiding of the fragment page.
- the add information instruction is triggered, and the address of the fragment page is found through the fragment_id parameter, and the preset callback function is The callback function is used to call the callback function through the function pointer according to the address of the fragment page to display the fragment page.
- Step S30 Receive target information entered by the user through the fragment page, where the target information includes contact information.
- the user inputs the target information through the fragment page displayed in the current page, for example, clicks on the add contact information button, and the target information is contact information.
- the fragment component that assembles the target information will be hidden through the hide attribute of js, and the fragment component will pass the contact information to the current page, such as the user information collection page, So as to realize the function of injecting fragment components into an html page.
- the method further includes:
- Step S301 Receive a sliding instruction input in the fragment page, and perform a sliding operation corresponding to the sliding instruction on the target information through the deformation attribute of the cascading style sheet.
- the sliding operation includes an animation sliding up and down, left and right, so that When the content of the target information is too much, the target information is displayed in a scroll.
- the Cascading Style Sheet (Cascading Style Sheets, abbreviated as CSS) provides transform attributes, for example, through Cascading Style Sheets Level 3 (Cascading Style Sheets Level) 3.
- the abbreviation CSS3 provides the transform attribute to control the up, down, left, and right animation of the content in the div area of the fragment page, and scroll the target information, so that when the target information content is too much, the The target information is scrolled to check whether there is an error in the target information.
- Step S40 When receiving a user-triggered segment hiding instruction, hide the segment page where the target information has been entered by calling the hiding function of the segment page, and the segment hiding instruction includes clicking a blank space of the segment page , Or click the button to add information again.
- the fragment hiding instruction may be clicking on a blank space of the fragment page, or clicking the button for adding information 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 display and hiding of the dom node controls the page rendering to achieve rapid response.
- Each fragment component is actually a dom fragment of html.
- the dom node has the show/hide (show/hide) attribute, which can be directly controlled by js to control show/hide.
- the display and hiding of the fragment information is realized.
- the address of the fragment page is searched according to the adding information instruction, and the preset callback function is called through the function pointer according to the address of the fragment page.
- Display realize multiple information entry through the fragment page, avoid opening multiple pages to collect data, thereby improving the efficiency of information entry; receive the target information entered by the user through the fragment page, and receive the user-triggered fragment hiding instruction ,
- the hiding function of the fragment page By calling the hiding function of the fragment page to hide the fragment page that has entered the target information, based on R&D management, during the application development process, for multiple node processes of information entry, the fragment page can be hidden through the hiding function , To achieve the effect of a single page application and improve user experience.
- FIG. 3 is a schematic flowchart of a second embodiment of a method for optimizing page information entry of an application. Based on the first embodiment shown in FIG. 2 above, a second embodiment of the method for optimizing page information entry of this application is proposed.
- the method further includes:
- Step S50 Receive all display instructions input by the user on the current page.
- all display instructions can be set, and the all display instructions can be double-clicking on a blank space of the current page, or other operations. This is not restricted. For example, if the user double-clicks a blank area of the current page, the all display instructions are triggered, and the input information of all the fragment pages in the current page can be obtained.
- Step S60 Obtain all fragment pages in the current page.
- all Fragment components in the current page can be obtained, and the entered information can be extracted from all the fragment pages. Firstly, it is detected whether information has been entered in each fragment page. If information has been entered, the entered information is extracted. If no information is entered, the extracted content of the page fragment can be considered empty.
- Step S70 Display the fragment page according to a preset display rule.
- the preset display rule may be to display one fragment page at predetermined intervals according to the position before and after the fragment page appears on the current page. Fragment pages, so that all fragment pages in the current page are displayed one after another. For example, the preset interval time may be every one minute.
- the fragment pages are displayed according to preset display rules, so that the user can check whether there are any Missing information, thereby improving the accuracy and efficiency of information entry.
- FIG. 4 is a schematic flowchart of a third embodiment of a method for optimizing page information entry of this application. Based on the second embodiment shown in FIG. 3, a third embodiment of the method for optimizing page information entry of this application is proposed.
- step S70 includes:
- Step S701 Detect whether all fragment pages in the current page have entered corresponding information.
- the information entered in each fragment page is obtained, It is detected whether the entered information is empty. If the information is empty, it means that relevant information is not entered in the segment page, and then the segment page without information entry can be preferentially displayed.
- the preferred display method can be to display the fragment pages without information entered first, and display other fragment pages after the preset time; or to display the fragment pages without information entered in a larger font , Other fragment pages are displayed in a smaller font; it is also possible to display the fragment pages with no information entered in the background color of the first preset color, and other fragment pages are displayed in the background color of the second preset color, The second preset color is different from the first preset color.
- Step S702 If there is a segment page with no information entered, display the segment page with no information entered at the first preset time.
- the first preset time can be set according to the trigger time of all the display instructions.
- the trigger time of all the display instructions is recorded.
- the set time may be the trigger time of all the display instructions plus the preset interval time. For example, when receiving all the display instructions input by the user on the current page, the recorded trigger time is 9:00, and the preset The interval is one minute, then at 9:01, the fragment page without input information will be displayed.
- a fragment page with no information is displayed at preset intervals according to the position before and after the fragment page without information entry appears in the current page, so that Multiple fragment pages with no information entered are displayed one after another.
- Step S703 Display other fragment pages that have entered information at a second preset time, where the second preset time is later than the first preset time.
- a fragment page with entered information is displayed at preset intervals according to the position before and after other fragment pages with entered information appear in the current page. , So that multiple fragment pages with entered information will be displayed one after another.
- the second preset time is later than the first preset time, so that the segment page that is the input information can be displayed preferentially to remind the user to perform supplementary input of information.
- the second preset time may be calculated according to the number of fragment pages with no information entered, the preset interval time, and the first preset time.
- step S703 includes:
- the extracted keywords are displayed through the segment page at a second preset time, where the second preset time is later than the first preset time.
- the fragment page may not be able to display all the content, so that the user can intuitively see the information in the displayed fragment page
- the input information can be compared with the preset number of characters by obtaining the word count of each input information. If the number of input words exceeds the preset number of words, the input information cannot be displayed in the displayed window For all input information, keyword extraction can be performed on the input information exceeding the preset number of characters.
- the input information exceeding the preset number of characters can be segmented to obtain all the words corresponding to the input information and calculate the word frequency of each word -Reverse file frequency (Term Frequency-Inverse Document Frequency, abbreviation TF-IDF) value, TF word frequency (Term Frequency), IDF Inverse Document Frequency (Inverse Document Frequency), sort the words according to the TF-IDF value from large to small, obtain a sorted list, and obtain a preset number of words that are ranked first in the sorted list as the keywords.
- TF-IDF Term Frequency-Inverse Document Frequency
- IDF Inverse Document Frequency Inverse Document Frequency
- the extracted keywords are displayed, so that the user can understand the information input status of the segment page through the displayed keywords.
- the user can also click on the keyword to fully display the input information corresponding to the keyword, and at this time, the input information can be viewed by scrolling.
- the page information input optimization method further includes:
- the input information corresponding to the keyword is obtained, and the input information corresponding to the keyword is displayed on the segment page.
- CSS Cascading Style Sheets
- the abbreviation CSS3 provides the transform property to control the up, down, left, and right animation of the content in the div area of the fragment page, so that when the content of the input information is too much, the input information can be scrolled to view Whether there are errors in the input information.
- the fragment pages that have not entered information are displayed preferentially, which improves the accuracy and efficiency of information entry.
- FIG. 5 is a schematic flowchart of a fourth embodiment of a method for optimizing page information entry of an application. Based on the third embodiment shown in FIG. 4, a fourth embodiment of the method for optimizing page information entry of this application is proposed.
- step S702 includes:
- Step S7021 If there is a fragment page with no information entered, display the fragment page with no information entered in a first preset color at a first preset time.
- the background color of the fragment page with no information entered may be displayed in the first preset color, and the first preset color may be Other colors that are different from the regular white background.
- the first preset color may be Other colors that are different from the regular white background.
- step S703 includes:
- Step S7031 Display other fragment pages with entered information in a second preset color at a second preset time, where the second preset time is later than the first preset time, and the second preset color Different from the first preset color.
- the second preset color is usually a regular background color white, and the second preset color is different from the first preset color, so that the user can clearly perceive the fragments that have not entered information. page. After the fragment page with no information entered is displayed, a fragment page with entered information is displayed at preset intervals according to the front and back positions of other fragment pages with entered information in the current page, thereby combining multiple The segment pages of the entered information are successively displayed in the second preset color.
- the fragment pages with no information entered and the fragment pages with entered information are respectively displayed with different preset color background colors, so that the user can be clearly Detect the fragment pages where information is not entered, and timely supplement relevant information, thereby improving the efficiency of information entry.
- the embodiment of the present application also proposes a storage medium, and the computer-readable storage medium may be a non-volatile readable storage medium.
- the storage medium stores computer readable instructions for optimizing page information entry, and when the computer readable instructions for page information entry optimization are executed by a processor, the steps of the page information entry optimization method described above are realized.
- the method implemented when the computer-readable instruction is executed please refer to the various embodiments of the page information entry optimization method of this application, which will not be repeated here.
- an embodiment of the present application also proposes a page information entry optimization device, and the page information entry optimization device includes:
- the receiving module 10 is used to receive an information addition instruction entered by the user on the current page
- the display module 20 is configured to find the address of the fragment page according to the information addition instruction, 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 the user through the fragment page, and the target information includes contact information;
- the hiding module 30 is configured to hide the segment page in which the target information has been entered by calling the hiding function of the segment page when receiving the segment hiding instruction triggered by the user, and the segment hiding instruction includes clicking the segment page Or click the button to add information again;
- 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 the deformation attribute of the cascading style sheet, the sliding operation It includes moving up and down, left and right, so that when the content of the target information is too much, the target information is displayed in scroll.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Human Computer Interaction (AREA)
- Data Mining & Analysis (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A page information input optimization method, device and apparatus, and a storage medium. The method comprises: receiving an information adding instruction inputted by a user in a current page (S10); searching for an address of a fragment page according to the information adding instruction, and calling a preset callback function by means of a function pointer according to the address of the fragment page to display the fragment page (S20); receiving target information inputted by the user by means of the fragment page, the target information comprising contact information (S30); and when a fragment hiding instruction triggered by the user is received, hiding the fragment page into which the target information is inputted by calling a hiding function of the fragment page, the fragment hiding instruction comprising clicking in a white space in the fragment page or clicking a button again for information addition (S40). In the process of multi-page application development, for node processes of similar information input, the input of multiple pieces of information is achieved by means of the fragment pages. The situation that multiple pages are newly opened to collect data is avoided, so that the information input efficiency is improved, and the user experience is improved.
Description
本申请要求于2019年07月10日提交中国专利局、申请号为201910623710.2、发明名称为“页面信息录入优化方法、设备、存储介质及装置”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on July 10, 2019, the application number is 201910623710. 2, and the invention title is "Method, Equipment, Storage Medium and Device for Optimizing Page Information Entry", the entire content of which is incorporated by reference Incorporate in the application.
技术领域Technical field
本申请涉及研发管理技术领域,尤其涉及一种页面信息录入优化方法、设备、存储介质及装置。This application relates to the technical field of research and development management, and in particular to a method, equipment, storage medium and device for optimizing page information input.
背景技术Background technique
在进行多页面应用开发过程中,针对类似信息录入的节点流程,有的节点可能需要分为好几个页面对数据进行搜集,这种情况往往都是通过新开页面来进行数据渲染和收集,新开多个页面影响信息录入效率,同时对用户体验造成很大的影响,因此,对于信息录入节点多的页面,如何提升信息录入效率是亟待解决的技术问题。In the process of multi-page application development, for the node process of similar information entry, some nodes may need to be divided into several pages to collect data. In this case, data are often rendered and collected through newly opened pages. Opening multiple pages affects the efficiency of information entry and at the same time has a great impact on user experience. Therefore, for pages with many information entry nodes, how to improve the efficiency of information entry is a technical problem to be solved urgently.
发明内容Summary of the invention
本申请的主要目的在于提供一种页面信息录入优化方法、设备、存储介质及装置,旨在解决现有技术中页面信息录入的效率低的技术问题。The main purpose of this application is to provide a method, equipment, storage medium and device for optimizing page information entry, aiming to solve the technical problem of low efficiency of page information entry in the prior art.
为实现上述目的,本申请提供一种页面信息录入优化方法,所述页面信息录入优化方法包括以下步骤:In order to achieve the above objective, this application provides a page information input optimization method, and the page information input optimization method includes the following steps:
接收用户在当前页面输入的添加信息指令;Receive the instruction to add information entered by the user on the current page;
根据所述添加信息指令查找片段页面的地址,根据所述片段页面的地址通过函数指针调用预设回调函数将所述片段页面进行展示;Finding 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 entered by the user through the fragment page, where the target information includes contact information;
在接收到用户触发的片段隐藏指令时,通过调用所述片段页面的隐藏函数对已录入所述目标信息的片段页面进行隐藏,所述片段隐藏指令包括点击所述片段页面的空白处,或再次点击信息添加的按钮;When a user-triggered fragment hiding instruction is received, the fragment page where the target information has been entered is hidden by calling the hiding function of the fragment page. The fragment hiding instruction includes clicking on a blank space of the fragment page, or again Click the button to add information;
其中,所述接收用户通过所述片段页面录入的目标信息之后,所述页面信息录入优化方法还包括:Wherein, after receiving the target information entered by the user through the segment page, the page information entry optimization method further includes:
接收在所述片段页面中输入的滑动指令,通过层叠样式表的变形属性对所述目标信息进行与所述滑动指令对应的滑动操作,所述滑动操作包括上下左右动画滑动,以使得在所述目标信息内容过多时,将所述目标信息进行滚动展示。Receive a sliding instruction input in the fragment page, and perform a sliding operation corresponding to the sliding instruction on the target information through the deformation attribute of the cascading style sheet. The sliding operation includes an animation sliding up and down, left and right, so that When the content of the target information is too much, the target information is displayed in scroll.
此外,为实现上述目的,本申请还提出一种页面信息录入优化设备,所述页面信息录入优化设备包括存储器、处理器及存储在所述存储器上并可在所述处理器上运行的页面信息录入优化计算机可读指令,所述页面信息录入优化计算机可读指令配置为实现如上文所述的页面信息录入优化方法的步骤。In addition, in order to achieve the above objective, this application also proposes a page information entry optimization device, the page information entry optimization device includes a memory, a processor, and page information stored on the memory and running on the processor An optimized computer readable instruction is entered, and the page information entry optimization computer readable instruction is configured to implement the steps of the page information entry optimization method described above.
此外,为实现上述目的,本申请还提出一种存储介质,所述存储介质上存储有页面信息录入优化计算机可读指令,所述页面信息录入优化计算机可读指令被处理器执行时实现如上文所述的页面信息录入优化方法的步骤。In addition, in order to achieve the above-mentioned object, this application also proposes a storage medium that stores a page information entry optimization computer readable instruction, and when the page information entry optimization computer readable instruction is executed by a processor, the implementation is as described above The steps of the page information input optimization method.
此外,为实现上述目的,本申请还提出一种页面信息录入优化装置,所述页面信息录入优化装置包括:In addition, in order to achieve the above-mentioned object, this application also proposes a page information input optimization device, and the page information input optimization device includes:
接收模块,用于接收用户在当前页面输入的添加信息指令;The receiving module is used to receive the instruction to add information entered by the user on the current page;
展示模块,用于根据所述添加信息指令查找片段页面的地址,根据所述片段页面的地址通过函数指针调用预设回调函数将所述片段页面进行展示;A display module, configured to find the address of a fragment page according to the information addition instruction, and display the fragment page by calling a preset callback function through a function pointer according to the address of the fragment page;
所述接收模块,还用于接收用户通过所述片段页面录入的目标信息,所述目标信息包括联系人信息;The receiving module is further configured to receive target information entered by the user through the fragment page, where the target information includes contact information;
隐藏模块,用于在接收到用户触发的片段隐藏指令时,通过调用所述片段页面的隐藏函数对已录入所述目标信息的片段页面进行隐藏,所述片段隐藏指令包括点击所述片段页面的空白处,或再次点击信息添加的按钮;The hiding module is used to hide the segment page in which the target information has been entered by calling the hiding function of the segment page when receiving the segment hiding instruction triggered by the user. The segment hiding instruction includes clicking on the segment page Blank space, or click the button to add information again;
其中,所述接收模块,还用于接收在所述片段页面中输入的滑动指令,通过层叠样式表的变形属性对所述目标信息进行与所述滑动指令对应的滑动操作,所述滑动操作包括上下左右动画滑动,以使得在所述目标信息内容过多时,将所述目标信息进行滚动展示。Wherein, the receiving module is further configured to receive a sliding instruction input in the fragment page, and perform a sliding operation corresponding to the sliding instruction on the target information through the deformation attribute of the cascading style sheet, and the sliding operation includes Animated sliding up and down, left and right, so that when the content of the target information is too much, the target information is displayed in scroll.
本申请中,通过接收用户在当前页面输入的添加信息指令,根据所述添加信息指令查找片段页面的地址,根据所述片段页面的地址通过函数指针调用预设回调函数将所述片段页面进行展示,通过片段页面实现多个信息录入,避免新开多个页面对数据进行搜集,从而提高信息录入效率;接收用户通过所述片段页面录入的目标信息,在接收到用户触发的片段隐藏指令时,通过调用所述片段页面的隐藏函数对已录入所述目标信息的片段页面进行隐藏,基于研发管理,应用开发过程中,针对信息录入的多个节点流程,可通过隐藏函数实现片段页面的隐藏,达到单页面应用的效果,提升用户体验。In this application, by receiving an information addition instruction input by the user on the current page, the address of the fragment page is searched according to the information addition instruction, and a preset callback function is called through a function pointer according to the address of the fragment page to display the fragment page , To achieve multiple information entry through the fragment page, avoid opening multiple pages to collect data, thereby improving the efficiency of information entry; receiving the target information entered by the user through the fragment page, and when receiving a fragment hiding instruction triggered by the user, By calling the hiding function of the fragment page to hide the fragment page that has entered the target information, based on R&D management, during the application development process, for multiple node processes of information entry, the fragment page can be hidden through the hiding function. Achieve the effect of a single page application and enhance the user experience.
附图说明Description of the drawings
图1是本申请实施例方案涉及的硬件运行环境的页面信息录入优化设备的结构示意图;FIG. 1 is a schematic structural diagram of a page information input optimization device of a hardware operating environment involved in a solution of an embodiment of the present application;
图2为本申请页面信息录入优化方法第一实施例的流程示意图;2 is a schematic flowchart of a first embodiment of a method for optimizing entry of information on an application page;
图3为本申请页面信息录入优化方法第二实施例的流程示意图;FIG. 3 is a schematic flowchart of a second embodiment of a method for optimizing application page information entry;
图4为本申请页面信息录入优化方法第三实施例的流程示意图;4 is a schematic flowchart of a third embodiment of a method for optimizing entry of information on an application page;
图5为本申请页面信息录入优化方法第四实施例的流程示意图;5 is a schematic flowchart of a fourth embodiment of a method for optimizing entry of information on an application page;
图6为本申请页面信息录入优化装置第一实施例的结构框图。Fig. 6 is a structural block diagram of a first embodiment of a device for inputting and optimizing page information of an application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The realization, functional characteristics, and advantages of the purpose of this application will be further described in conjunction with the embodiments and with reference to the drawings.
具体实施方式Detailed ways
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described here are only used to explain the application, and are not used to limit the application.
参照图1,图1为本申请实施例方案涉及的硬件运行环境的页面信息录入优化设备结构示意图。Referring to FIG. 1, FIG. 1 is a schematic diagram of the structure of a device for optimizing page information input in a hardware operating environment involved in a solution of an embodiment of the application.
如图1所示,该页面信息录入优化设备可以包括:处理器1001,例如中央处理器(Central
Processing
Unit,CPU),通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display),可选用户接口1003还可以包括标准的有线接口、无线接口,对于用户接口1003的有线接口在本申请中可为USB接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如无线保真(WIreless-FIdelity,WI-FI)接口)。存储器1005可以是高速的随机存取存储器(Random
Access Memory,RAM)存储器,也可以是稳定的存储器(Non-volatile
Memory,NVM),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in Figure 1, the page information input optimization device may include: a processor 1001, such as a central processing unit (Central
Processing
Unit, CPU), communication bus 1002, user interface 1003, network interface 1004, memory 1005. Among them, the communication bus 1002 is used to implement connection and communication between these components. The user interface 1003 may include a display screen (Display), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The wired interface of the user interface 1003 may be a USB interface in this application. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random
Access Memory, RAM) memory, can also be a stable memory (Non-volatile
Memory, NVM), such as disk storage. Optionally, the memory 1005 may also be a storage device independent of the foregoing processor 1001.
本领域技术人员可以理解,图1中示出的结构并不构成对页面信息录入优化设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 1 does not constitute a limitation on the page information input optimization device, and may include more or less components than shown, or a combination of certain components, or different component arrangements. .
如图1所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及页面信息录入优化计算机可读指令。As shown in FIG. 1, the memory 1005, which is a computer storage medium, may include an operating system, a network communication module, a user interface module, and computer-readable instructions for optimizing page information input.
在图1所示的页面信息录入优化设备中,网络接口1004主要用于连接后台服务器,与所述后台服务器进行数据通信;用户接口1003主要用于连接用户设备;所述页面信息录入优化设备通过处理器1001调用存储器1005中存储的页面信息录入优化计算机可读指令,并执行本申请实施例提供的页面信息录入优化方法。In the page information input optimization device shown in FIG. 1, the network interface 1004 is mainly used to connect to a back-end server and perform data communication with the back-end server; the user interface 1003 is mainly used to connect user equipment; the page information input optimization device passes The processor 1001 calls the page information input optimization computer-readable instructions stored in the memory 1005, and executes the page information input optimization method provided in the embodiment of the present application.
基于上述硬件结构,提出本申请页面信息录入优化方法的实施例。Based on the above hardware structure, an embodiment of the method for optimizing page information entry of this application is proposed.
参照图2,图2为本申请页面信息录入优化方法第一实施例的流程示意图,提出本申请页面信息录入优化方法第一实施例。Referring to FIG. 2, FIG. 2 is a schematic flowchart of a first embodiment of a method for optimizing page information entry of this application, and a first embodiment of the method for optimizing page information entry of this application is proposed.
在第一实施例中,所述页面信息录入优化方法包括以下步骤:In the first embodiment, the method for optimizing page information entry includes the following steps:
步骤S10:接收用户在当前页面输入的添加信息指令。Step S10: Receive an information addition instruction input by the user on the current page.
应理解的是,本实施例的执行主体是所述页面信息录入优化设备,其中,所述页面信息录入优化设备可为智能手机、个人电脑或服务器等电子设备。所述添加信息指令是指用户通过在所述当前页面中输入的指令,可以是点击信息录入的添加按钮。为了提升前端用户体验,可通过新增超文本标记语言(Hyper
Text Markup Language,缩写HTML)
片段(Fragment)组件,避免新开页面进行信息录入。在流程中的任何一个HTML页面都可以添加Fragment组件,Fragment也可以叫为“片段”。如:所述当前页面为用户信息采集页面,在所述用户信息采集页面中有一个添加联系人信息的功能,则可以在所述用户信息采集页新增一个添加联系人信息按钮,当用户点击所述添加联系人信息按钮,即触发所述添加信息指令。It should be understood that the execution subject of this embodiment is the page information entry optimization device, where the page information entry optimization 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 the user in the current page, and may be clicking an add button for information entry. In order to improve the front-end user experience, the Hypertext Markup Language (Hyper
Text Markup Language, abbreviated HTML)
Fragment (Fragment) component, to avoid the newly opened page for information entry. Fragment components can be added to any HTML page in the process, and Fragments can also be called "fragments". For example, the current page is the user information collection page, and there is a function to add contact information on the user information collection page, and you can add an add contact information button on the user information collection page. When the user clicks The adding contact information button triggers the adding information instruction.
步骤S20:根据所述添加信息指令查找片段页面的地址,根据所述片段页面的地址通过函数指针调用预设回调函数将所述片段页面进行展示。Step S20: Find the address of the fragment page according to the information adding instruction, and call a preset callback function through a function pointer according to the address of the fragment page to display the fragment page.
可理解的是,触发所述添加信息指令时,可直接调用Fragment组件弹出一个Fragment页面,即所述片段页面,添加联系人信息的功能已写入所述fragment组件里。前端js可自定义Fragment组件,所述Fragment组件接收的参数包括需要展示的fragment_id、show/hide开关和callback回调函数等。通过show/hide开关控制所述片段页面的展示与隐藏,当用户点击添加信息按钮时,即触发所述添加信息指令,通过fragment_id参数查找到所述片段页面的地址,所述预设回调函数即callback回调函数,根据所述片段页面的地址通过函数指针调用callback回调函数将所述片段页面进行展示。It is understandable 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 contact information has been written into the fragment component. The front-end js can customize the Fragment component, and the parameters received by the Fragment component include the fragment_id that needs to be displayed, the show/hide switch, and the callback function. The show/hide switch is used to control the display and hiding of the fragment page. When the user clicks the add information button, the add information instruction is triggered, and the address of the fragment page is found through the fragment_id parameter, and the preset callback function is The callback function is used to call the callback function through the function pointer according to the address of the fragment page to display the fragment page.
步骤S30:接收用户通过所述片段页面录入的目标信息,所述目标信息包括联系人信息。Step S30: Receive target information entered by the user through the fragment page, where the target information includes contact information.
需要说明的是,用户通过在所述当前页面中展示的所述片段页面进行所述目标信息的输入,比如,点击添加联系人信息按钮,则所述目标信息为联系人信息。当完成所述目标信息的录入后,组装所述目标信息的fragment组件会通过js的hide属性进行隐藏,同时fragment组件会把联系人信息传递给所述当前页面,比如所述用户信息采集页面,从而实现一个html页面注入fragment组件的功能。It should be noted that the user inputs the target information through the fragment page displayed in the current page, for example, clicks on the add contact information button, and the target information is contact information. When the target information is entered, the fragment component that assembles the target information will be hidden through the hide attribute of js, and the fragment component will pass the contact information to the current page, such as the user information collection page, So as to realize the function of injecting fragment components into an html page.
本实施例中,所述步骤S30之后,还包括:In this embodiment, after the step S30, the method further includes:
步骤S301:接收在所述片段页面中输入的滑动指令,通过层叠样式表的变形属性对所述目标信息进行与所述滑动指令对应的滑动操作,所述滑动操作包括上下左右动画滑动,以使得在所述目标信息内容过多时,将所述目标信息进行滚动展示。Step S301: Receive a sliding instruction input in the fragment page, and perform a sliding operation corresponding to the sliding instruction on the target information through the deformation attribute of the cascading style sheet. The sliding operation includes an animation sliding up and down, left and right, so that When the content of the target information is too much, the target information is displayed in a scroll.
在具体实现中,在录入所述目标信息的过程中,可通过层叠样式表(Cascading Style
Sheets,缩写CSS)提供的变形(transform)属性,比如,通过层叠样式表3级(Cascading Style Sheets Level
3,缩写CSS3)提供的transform属性控制所述片段页面内分区(div)区域内容的上下左右动画滑动,将所述目标信息进行滚动展示,以使得在所述目标信息内容过多时,可以将所述目标信息进行滚动查看,以查看所述目标信息是否存在错误。In specific implementation, in the process of entering the target information, the Cascading Style Sheet (Cascading Style
Sheets, abbreviated as CSS) provides transform attributes, for example, through Cascading Style Sheets Level 3 (Cascading Style Sheets Level)
3. The abbreviation CSS3) provides the transform attribute to control the up, down, left, and right animation of the content in the div area of the fragment page, and scroll the target information, so that when the target information content is too much, the The target information is scrolled to check whether there is an error in the target information.
步骤S40:在接收到用户触发的片段隐藏指令时,通过调用所述片段页面的隐藏函数对已录入所述目标信息的片段页面进行隐藏,所述片段隐藏指令包括点击所述片段页面的空白处,或再次点击信息添加的按钮。Step S40: When receiving a user-triggered segment hiding instruction, hide the segment page where the target information has been entered by calling the hiding function of the segment page, and the segment hiding instruction includes clicking a blank space of the segment page , Or click the button to add information again.
应理解的是,所述片段隐藏指令可以是点击所述片段页面的空白处,也可以是再次点击信息添加的按钮。所述隐藏函数为所述Fragment组件接收的参数hide属性,所述fragment组件通过js的hide属性进行隐藏。通过控制html
dom节点的显示与隐藏来控制页面渲染达到快速响应,每一个fragment组件其实就是一个html的dom片段,dom节点都具备show/hide(显示/隐藏)属性,可以直接通过js控制show/hide,从而实现所述片段信息的展示与隐藏。It should be understood that the fragment hiding instruction may be clicking on a blank space of the fragment page, or clicking the button for adding information 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. By controlling html
The display and hiding of the dom node controls the page rendering to achieve rapid response. Each fragment component is actually a dom fragment of html. The dom node has the show/hide (show/hide) attribute, which can be directly controlled by js to control show/hide. The display and hiding of the fragment information is realized.
对已录入所述目标信息的片段页面进行隐藏,所述当前页面中其他节点流程需录入信息,则可再次通过新的添加信息指令查找新的片段页面的地址,根据新的片段页面的地址通过函数指针调用预设回调函数将新的片段页面进行展示。Hide the segment page where the target information has been entered. If other node processes in the current page need to enter information, you can find the address of the new segment page through the new add information instruction again, and pass according to the address of the new segment page The function pointer calls the preset callback function to display the new fragment page.
本实施例中,通过接收用户在当前页面输入的添加信息指令,根据所述添加信息指令查找片段页面的地址,根据所述片段页面的地址通过函数指针调用预设回调函数将所述片段页面进行展示,通过片段页面实现多个信息录入,避免新开多个页面对数据进行搜集,从而提高信息录入效率;接收用户通过所述片段页面录入的目标信息,在接收到用户触发的片段隐藏指令时,通过调用所述片段页面的隐藏函数对已录入所述目标信息的片段页面进行隐藏,基于研发管理,应用开发过程中,针对信息录入的多个节点流程,可通过隐藏函数实现片段页面的隐藏,达到单页面应用的效果,提升用户体验。In this embodiment, by receiving the add information instruction input by the user on the current page, the address of the fragment page is searched according to the adding information instruction, and the preset callback function is called through the function pointer according to the address of the fragment page. Display, realize multiple information entry through the fragment page, avoid opening multiple pages to collect data, thereby improving the efficiency of information entry; receive the target information entered by the user through the fragment page, and receive the user-triggered fragment hiding instruction , By calling the hiding function of the fragment page to hide the fragment page that has entered the target information, based on R&D management, during the application development process, for multiple node processes of information entry, the fragment page can be hidden through the hiding function , To achieve the effect of a single page application and improve user experience.
参照图3,图3为本申请页面信息录入优化方法第二实施例的流程示意图,基于上述图2所示的第一实施例,提出本申请页面信息录入优化方法的第二实施例。Referring to FIG. 3, FIG. 3 is a schematic flowchart of a second embodiment of a method for optimizing page information entry of an application. Based on the first embodiment shown in FIG. 2 above, a second embodiment of the method for optimizing page information entry of this application is proposed.
在第二实施例中,所述步骤S40之后,还包括:In the second embodiment, after the step S40, the method further includes:
步骤S50:接收用户在所述当前页面输入的全部展示指令。Step S50: Receive all display instructions input by the user on the current page.
应理解的是,为了方便用户查看所述当前页面中所有的片段页面,可设置全部展示指令,所述全部展示指令可以是在所述当前页面的空白处双击,或者其他操作,本实施例对此不加以限制。比如,用户双击所述当前页面的空白处,则触发所述全部展示指令,则可获取所述当前页面中所有的片段页面的录入信息。It should be understood that, in order to facilitate the user to view all the fragment pages in the current page, all display instructions can be set, and the all display instructions can be double-clicking on a blank space of the current page, or other operations. This is not restricted. For example, if the user double-clicks a blank area of the current page, the all display instructions are triggered, and the input information of all the fragment pages in the current page can be obtained.
步骤S60:获取所述当前页面内所有的片段页面。Step S60: Obtain all fragment pages in the current page.
可理解的是,可获取所述当前页面中所有的Fragment组件,并从所有的片段页面中提取出已录入的信息。首先,检测各片段页面是否已录入信息,若已录入信息,则对录入的信息进行内容提取,若未录入信息,则可认为该页面片段提取出的内容为空。It is understandable that all Fragment components in the current page can be obtained, and the entered information can be extracted from all the fragment pages. Firstly, it is detected whether information has been entered in each fragment page. If information has been entered, the entered information is extracted. If no information is entered, the extracted content of the page fragment can be considered empty.
步骤S70:按照预设展示规则对所述片段页面进行展示。Step S70: Display the fragment page according to a preset display rule.
需要说明的是,所述片段页面若存在多个,不可同时进行展示,所述预设展示规则可以是按照所述片段页面在所述当前页面中出现的前后位置每隔预设间隔时间展示一个片段页面,从而将所述当前页面中的所有的片段页面进行陆续展示,比如,所述每隔预设间隔时间可以是每隔一分钟。It should be noted that if there are multiple fragment pages, they cannot be displayed at the same time. The preset display rule may be to display one fragment page at predetermined intervals according to the position before and after the fragment page appears on the current page. Fragment pages, so that all fragment pages in the current page are displayed one after another. For example, the preset interval time may be every one minute.
在本实施例中,为了方便用户查看当前页面中所有的片段页面,接收用户在所述当前页面输入的全部展示指令时,按照预设展示规则对所述片段页面进行展示,以便用户查看是否有漏填的信息,从而提高信息录入的准确率和效率。In this embodiment, in order to facilitate the user to view all the fragment pages in the current page, when receiving all the display instructions input by the user on the current page, the fragment pages are displayed according to preset display rules, so that the user can check whether there are any Missing information, thereby improving the accuracy and efficiency of information entry.
参照图4,图4为本申请页面信息录入优化方法第三实施例的流程示意图,基于上述图3所示的第二实施例,提出本申请页面信息录入优化方法的第三实施例。Referring to FIG. 4, FIG. 4 is a schematic flowchart of a third embodiment of a method for optimizing page information entry of this application. Based on the second embodiment shown in FIG. 3, a third embodiment of the method for optimizing page information entry of this application is proposed.
在第三实施例中,所述步骤S70,包括:In the third embodiment, the step S70 includes:
步骤S701:检测所述当前页面内所有的片段页面是否均录入对应的信息。Step S701: Detect whether all fragment pages in the current page have entered corresponding information.
应理解的是,为了避免在所述当前页面内所有的片段页面数量较多时,造成用户遗漏录入相关信息,则获取所述当前页面内所有的片段页面之后,获取各片段页面内录入的信息,检测录入的信息是否为空,若所述信息为空,则说明该片段页面未录入相关信息,则可将所述未录入信息的片段页面进行优先展示。优先展示的方式可以是将所述未录入信息的片段页面先进行展示,展示预设时间后,将其他片段页面进行展示;还可以是将所述未录入信息的片段页面以较大字体进行展示,其他片段页面以较小字体进行展示;还可以是将所述未录入信息的片段页面以第一预设颜色的底色进行展示,其他片段页面以第二预设颜色的底色进行展示,所述第二预设颜色不同于所述第一预设颜色。It should be understood that, in order to avoid the user's omission to enter relevant information when the number of all fragment pages in the current page is large, after obtaining all the fragment pages in the current page, the information entered in each fragment page is obtained, It is detected whether the entered information is empty. If the information is empty, it means that relevant information is not entered in the segment page, and then the segment page without information entry can be preferentially displayed. The preferred display method can be to display the fragment pages without information entered first, and display other fragment pages after the preset time; or to display the fragment pages without information entered in a larger font , Other fragment pages are displayed in a smaller font; it is also possible to display the fragment pages with no information entered in the background color of the first preset color, and other fragment pages are displayed in the background color of the second preset color, The second preset color is different from the first preset color.
步骤S702:若存在未录入信息的片段页面,则将所述未录入信息的片段页面在第一预设时间进行展示。Step S702: If there is a segment page with no information entered, display the segment page with no information entered at the first preset time.
可理解的是,若存在未录入信息的片段页面,则将所述未录入信息的片段页面进行优先展示,也就是将所述未录入信息的片段页面早于其他片段页面进行展示。所述第一预设时间可根据所述全部展示指令的触发时间进行设置,在接收用户在所述当前页面输入的全部展示指令时,记录所述全部展示指令的触发时间,所述第一预设时间可以是所述全部展示指令的触发时间加上所述预设间隔时间,比如,接收用户在所述当前页面输入的全部展示指令时,记录的触发时间为9:00,所述预设间隔时间是一分钟,则在9:01时,展示所述未录入信息的片段页面。在所述未录入信息的片段页面为多个时,按照所述未录入信息的片段页面在所述当前页面中出现的前后位置每隔预设间隔时间展示一个未录入信息的片段页面,从而将多个未录入信息的片段页面陆续进行展示。It is understandable that if there is a fragment page with no information entered, the fragment page with no information entered will be displayed preferentially, that is, the fragment page with no information entered will be displayed earlier than other fragment pages. The first preset time can be set according to the trigger time of all the display instructions. When receiving all the display instructions input by the user on the current page, the trigger time of all the display instructions is recorded. The set time may be the trigger time of all the display instructions plus the preset interval time. For example, when receiving all the display instructions input by the user on the current page, the recorded trigger time is 9:00, and the preset The interval is one minute, then at 9:01, the fragment page without input information will be displayed. When there are multiple fragment pages with no information entered, a fragment page with no information is displayed at preset intervals according to the position before and after the fragment page without information entry appears in the current page, so that Multiple fragment pages with no information entered are displayed one after another.
步骤S703:将其他已录入信息的片段页面在第二预设时间进行展示,所述第二预设时间晚于所述第一预设时间。Step S703: Display other fragment pages that have entered information at a second preset time, where the second preset time is later than the first preset time.
需要说明的是,在所述未录入信息的片段页面展示完之后,按照其他已录入信息的片段页面在所述当前页面中出现的前后位置每隔预设间隔时间展示一个已录入信息的片段页面,从而将多个已录入信息的片段页面陆续进行展示。所述第二预设时间晚于所述第一预设时间,以使得为录入信息的片段页面可优先进行展示,以提醒用户进行信息的补充录入。所述第二预设时间可根据所述未录入信息的片段页面的数量、所述预设间隔时间和所述第一预设时间计算获得。It should be noted that after the fragment page with no information entered is displayed, a fragment page with entered information is displayed at preset intervals according to the position before and after other fragment pages with entered information appear in the current page. , So that multiple fragment pages with entered information will be displayed one after another. The second preset time is later than the first preset time, so that the segment page that is the input information can be displayed preferentially to remind the user to perform supplementary input of information. The second preset time may be calculated according to the number of fragment pages with no information entered, the preset interval time, and the first preset time.
在本实施例中,所述步骤S703,包括:In this embodiment, the step S703 includes:
从已录入信息的片段页面中提取出录入信息;Extract the input information from the segment page of the input information;
获取各录入信息的录入字数,判断各录入字数是否超过预设字数;Get the number of input words of each input information, and judge whether the number of input words exceeds the preset number of words;
若所述录入字数超过所述预设字数,则对超过所述预设字数的录入信息进行关键词提取;If the number of input words exceeds the preset number of words, then perform keyword extraction on the input information exceeding the preset number of words;
将提取出的关键词通过所述片段页面在第二预设时间进行展示,所述第二预设时间晚于所述第一预设时间。The extracted keywords are displayed through the segment page at a second preset time, where the second preset time is later than the first preset time.
需要说明的是,在已经录入信息的内容较多时,若将录入的信息全部进行展示,则可能导致所述片段页面无法显示所有的内容,为了使得用户能够直观的看到展示的片段页面中信息的录入情况,可通过获取各录入信息的字数,将各录入信息的录入字数与预设字数进行比较,若所述录入字数超过所述预设字数,则该录入信息无法在展示的窗口中显示所有的录入信息,则可对超过预设字数的录入信息进行关键词提取,具体为,对超过所述预设字数的录入信息进行分词,获得该录入信息对应的所有词语,计算各词语的词频-逆向文件频率(Term
Frequency-Inverse Document Frequency,缩写TF-IDF)值,TF词频(Term
Frequency),IDF逆向文件频率(Inverse Document
Frequency),将各词语按照TF-IDF值从大到小进行排序,获得排序列表,获取所述排序列表中排在前面的预设数量的词语作为所述关键词。It should be noted that when the content of the entered information is large, if all the entered information is displayed, the fragment page may not be able to display all the content, so that the user can intuitively see the information in the displayed fragment page The input information can be compared with the preset number of characters by obtaining the word count of each input information. If the number of input words exceeds the preset number of words, the input information cannot be displayed in the displayed window For all input information, keyword extraction can be performed on the input information exceeding the preset number of characters. Specifically, the input information exceeding the preset number of characters can be segmented to obtain all the words corresponding to the input information and calculate the word frequency of each word -Reverse file frequency (Term
Frequency-Inverse Document Frequency, abbreviation TF-IDF) value, TF word frequency (Term
Frequency), IDF Inverse Document Frequency (Inverse Document
Frequency), sort the words according to the TF-IDF value from large to small, obtain a sorted list, and obtain a preset number of words that are ranked first in the sorted list as the keywords.
在具体实现中,对超过所述预设字数的录入信息,将提取的关键词进行展示,从而使得用户可通过展示的关键词了解该片段页面的信息录入情况。用户还可通过点击所述关键词,以使该关键词对应的录入信息进行完整展示,此时可通过滚动查看所述录入信息。In a specific implementation, for the input information exceeding the preset number of words, the extracted keywords are displayed, so that the user can understand the information input status of the segment page through the displayed keywords. The user can also click on the keyword to fully display the input information corresponding to the keyword, and at this time, the input information can be viewed by scrolling.
在本实施例中,所述将提取出的关键词通过所述片段页面在第二预设时间进行展示之后,所述页面信息录入优化方法还包括:In this embodiment, after the extracted keywords are displayed on the segment page at a second preset time, the page information input optimization method further includes:
在接收到用户点击所述关键词的操作时,获取所述关键词对应的录入信息,并将所述关键词对应的录入信息通过所述片段页面进行展示。When receiving the user's operation of clicking the keyword, the input information corresponding to the keyword is obtained, and the input information corresponding to the keyword is displayed on the segment page.
可理解的是,用户查看所述关键词时,若需要查看对应的录入信息,还可通过点击所述关键词,则查找与所述关键词对应的录入信息,将所述录入信息进行全部展示,由于所述录入信息超过预设字数,在当前窗口不能显示完全,则可通过输入滑动指令,可通过层叠样式表(Cascading
Style Sheets,缩写CSS)提供的transform属性,比如,通过层叠样式表3级(Cascading Style Sheets Level
3,缩写CSS3)提供的transform属性控制所述片段页面内分区(div)区域内容的上下左右动画滑动,以使得在所述录入信息内容过多时,可以将所述录入信息进行滚动查看,以查看所述录入信息是否存在错误。It is understandable that when the user views the keyword, if he needs to view the corresponding entry information, he can also click on the keyword to find the entry information corresponding to the keyword, and display all the entry information , Because the input information exceeds the preset number of words and cannot be displayed completely in the current window, you can enter a sliding command, and you can use the Cascading Style Sheet (Cascading
Style Sheets, abbreviated as CSS) provides transform attributes, for example, through Cascading Style Sheets Level 3 (Cascading Style Sheets Level
3. The abbreviation CSS3) provides the transform property to control the up, down, left, and right animation of the content in the div area of the fragment page, so that when the content of the input information is too much, the input information can be scrolled to view Whether there are errors in the input information.
本实施例中,为了避免在所述当前页面内所有的片段页面数量较多时,造成用户遗漏录入相关信息,将未录入信息的片段页面进行优先展示,提高了信息录入的准确率和效率。In this embodiment, in order to avoid the user's omission to enter relevant information when there are a large number of fragment pages in the current page, the fragment pages that have not entered information are displayed preferentially, which improves the accuracy and efficiency of information entry.
参照图5,图5为本申请页面信息录入优化方法第四实施例的流程示意图,基于上述图4所示的第三实施例,提出本申请页面信息录入优化方法的第四实施例。Referring to FIG. 5, FIG. 5 is a schematic flowchart of a fourth embodiment of a method for optimizing page information entry of an application. Based on the third embodiment shown in FIG. 4, a fourth embodiment of the method for optimizing page information entry of this application is proposed.
在本实施例中,所述步骤S702,包括:In this embodiment, the step S702 includes:
步骤S7021:若存在未录入信息的片段页面,则将所述未录入信息的片段页面在第一预设时间以第一预设颜色进行展示。Step S7021: If there is a fragment page with no information entered, display the fragment page with no information entered in a first preset color at a first preset time.
可理解的是,为了突出显示所述未录入信息的片段页面,可将所述未录入信息的片段页面的底色以所述第一预设颜色进行展示,所述第一预设颜色可以是不同于常规底色白色的其他颜色。在所述未录入信息的片段页面为多个时,按照所述未录入信息的片段页面在所述当前页面中出现的前后位置每隔预设间隔时间展示一个未录入信息的片段页面,从而将多个未录入信息的片段页面以所述第一预设颜色陆续进行展示。It is understandable that, in order to highlight the fragment page with no information entered, the background color of the fragment page with no information entered may be displayed in the first preset color, and the first preset color may be Other colors that are different from the regular white background. When there are multiple fragment pages with no information entered, a fragment page with no information is displayed at preset intervals according to the position before and after the fragment page without information entry appears in the current page, so that A plurality of fragment pages with no information entered are successively displayed in the first preset color.
在本实施例中,所述步骤S703,包括:In this embodiment, the step S703 includes:
步骤S7031:将其他已录入信息的片段页面在第二预设时间以第二预设颜色进行展示,所述第二预设时间晚于所述第一预设时间,所述第二预设颜色不同于所述第一预设颜色。Step S7031: Display other fragment pages with entered information in a second preset color at a second preset time, where the second preset time is later than the first preset time, and the second preset color Different from the first preset color.
应理解的是,所述第二预设颜色通常为常规底色白色,所述第二预设颜色不同于所述第一预设颜色,从而使得用户能够很明显的察觉出未录入信息的片段页面。在所述未录入信息的片段页面展示完之后,按照其他已录入信息的片段页面在所述当前页面中出现的前后位置每隔预设间隔时间展示一个已录入信息的片段页面,从而将多个已录入信息的片段页面以第二预设颜色陆续进行展示。It should be understood that the second preset color is usually a regular background color white, and the second preset color is different from the first preset color, so that the user can clearly perceive the fragments that have not entered information. page. After the fragment page with no information entered is displayed, a fragment page with entered information is displayed at preset intervals according to the front and back positions of other fragment pages with entered information in the current page, thereby combining multiple The segment pages of the entered information are successively displayed in the second preset color.
本实施例中,为了突出显示所述未录入信息的片段页面,将未录入信息的片段页面与已录入信息的片段页面分别以不同的预设颜色的底色进行展示,从而使得用户能够很明显的察觉出未录入信息的片段页面,及时补充相关信息,从而提高信息录入效率。In this embodiment, in order to highlight the fragment pages with no information entered, the fragment pages with no information entered and the fragment pages with entered information are respectively displayed with different preset color background colors, so that the user can be clearly Detect the fragment pages where information is not entered, and timely supplement relevant information, thereby improving the efficiency of information entry.
此外,本申请实施例还提出一种存储介质,所述计算机可读存储介质可以为非易失性可读存储介质。所述存储介质上存储有页面信息录入优化计算机可读指令,所述页面信息录入优化计算机可读指令被处理器执行时实现如上文所述的页面信息录入优化方法的步骤。其中,该计算机可读指令被执行时所实现的方法可参照本申请页面信息录入优化方法的各个实施例,此处不再赘述。In addition, the embodiment of the present application also proposes a storage medium, and the computer-readable storage medium may be a non-volatile readable storage medium. The storage medium stores computer readable instructions for optimizing page information entry, and when the computer readable instructions for page information entry optimization are executed by a processor, the steps of the page information entry optimization method described above are realized. For the method implemented when the computer-readable instruction is executed, please refer to the various embodiments of the page information entry optimization method of this application, which will not be repeated here.
此外,参照图6,本申请实施例还提出一种页面信息录入优化装置,所述页面信息录入优化装置包括:In addition, referring to FIG. 6, an embodiment of the present application also proposes a page information entry optimization device, and the page information entry optimization device includes:
接收模块10,用于接收用户在当前页面输入的添加信息指令;The receiving module 10 is used to receive an information addition instruction entered by the user on the current page;
展示模块20,用于根据所述添加信息指令查找片段页面的地址,根据所述片段页面的地址通过函数指针调用预设回调函数将所述片段页面进行展示;The display module 20 is configured to find the address of the fragment page according to the information addition instruction, and call a preset callback function through a function pointer according to the address of the fragment page to display the fragment page;
所述接收模块10,还用于接收用户通过所述片段页面录入的目标信息,所述目标信息包括联系人信息;The receiving module 10 is further configured to receive target information entered by the user through the fragment page, and the target information includes contact information;
隐藏模块30,用于在接收到用户触发的片段隐藏指令时,通过调用所述片段页面的隐藏函数对已录入所述目标信息的片段页面进行隐藏,所述片段隐藏指令包括点击所述片段页面的空白处,或再次点击信息添加的按钮;The hiding module 30 is configured to hide the segment page in which the target information has been entered by calling the hiding function of the segment page when receiving the segment hiding instruction triggered by the user, and the segment hiding instruction includes clicking the segment page Or click the button to add information again;
其中,所述接收模块10,还用于接收在所述片段页面中输入的滑动指令,通过层叠样式表的变形属性对所述目标信息进行与所述滑动指令对应的滑动操作,所述滑动操作包括上下左右动画滑动,以使得在所述目标信息内容过多时,将所述目标信息进行滚动展示。Wherein, 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 the deformation attribute of the cascading style sheet, the sliding operation It includes moving up and down, left and right, so that when the content of the target information is too much, the target information is displayed in scroll.
本发明本申请所述页面信息录入优化装置的其他实施例或具体实现方式可参照上述各方法实施例,此处不再赘述。For other embodiments or specific implementations of the device for inputting and optimizing page information in the present application of the present invention, reference may be made to the foregoing method embodiments, which will not be repeated here.
以上仅为本发明的优选实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above are only the preferred embodiments of the present invention, and do not limit the scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the description and drawings of the present invention, or directly or indirectly applied to other related technical fields , The same reason is included in the scope of patent protection of the present invention.
Claims (20)
- 一种页面信息录入优化方法,其特征在于,所述页面信息录入优化方法包括以下步骤: A page information entry optimization method, characterized in that the page information entry optimization method includes the following steps:接收用户在当前页面输入的添加信息指令;Receive the instruction to add information entered by the user on the current page;根据所述添加信息指令查找片段页面的地址,根据所述片段页面的地址通过函数指针调用预设回调函数将所述片段页面进行展示;Finding 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 entered by the user through the fragment page, where the target information includes contact information;在接收到用户触发的片段隐藏指令时,通过调用所述片段页面的隐藏函数对已录入所述目标信息的片段页面进行隐藏,所述片段隐藏指令包括点击所述片段页面的空白处,或再次点击信息添加的按钮;When a user-triggered fragment hiding instruction is received, the fragment page where the target information has been entered is hidden by calling the hiding function of the fragment page. The fragment hiding instruction includes clicking on a blank space of the fragment page, or again Click the button to add information;其中,所述接收用户通过所述片段页面录入的目标信息之后,所述页面信息录入优化方法还包括:Wherein, after receiving the target information entered by the user through the segment page, the page information entry optimization method further includes:接收在所述片段页面中输入的滑动指令,通过层叠样式表的变形属性对所述目标信息进行与所述滑动指令对应的滑动操作,所述滑动操作包括上下左右动画滑动,以使得在所述目标信息内容过多时,将所述目标信息进行滚动展示。Receive a sliding instruction input in the fragment page, and perform a sliding operation corresponding to the sliding instruction on the target information through the deformation attribute of the cascading style sheet. The sliding operation includes an animation sliding up and down, left and right, so that When the content of the target information is too much, the target information is displayed in scroll.
- 如权利要求1所述的页面信息录入优化方法,其特征在于,所述在接收到用户触发的片段隐藏指令时,通过调用所述片段页面的隐藏函数对已录入所述目标信息的片段页面进行隐藏之后,所述页面信息录入优化方法还包括:The page information entry optimization method according to claim 1, wherein when a user-triggered fragment hiding instruction is received, the fragment page in which the target information has been entered is performed by calling the hiding function of the fragment page. After hiding, the page information input optimization method further includes:接收用户在所述当前页面输入的全部展示指令;Receiving all display instructions entered by the user on the current page;获取所述当前页面内所有的片段页面;Obtaining all fragment pages in the current page;按照预设展示规则对所述片段页面进行展示。The fragment page is displayed according to a preset display rule.
- 如权利要求2所述的页面信息录入优化方法,其特征在于,所述按照预设展示规则对所述片段页面进行展示,包括:The method for optimizing page information input according to claim 2, wherein said displaying said fragmented page according to a preset display rule comprises:检测所述当前页面内所有的片段页面是否均录入对应的信息;Detecting whether corresponding information is entered in all fragment pages in the current page;若存在未录入信息的片段页面,则将所述未录入信息的片段页面在第一预设时间进行展示;If there is a fragment page with no information entered, display the fragment page with no information entered at the first preset time;将其他已录入信息的片段页面在第二预设时间进行展示,所述第二预设时间晚于所述第一预设时间。Display other fragment pages with information entered at a second preset time, where the second preset time is later than the first preset time.
- 如权利要求3所述的页面信息录入优化方法,其特征在于,所述将其他已录入信息的片段页面在第二预设时间进行展示,包括:The method for optimizing page information entry according to claim 3, wherein said displaying other segment pages with entered information at a second preset time comprises:从已录入信息的片段页面中提取出录入信息;Extract the input information from the segment page of the input information;获取各录入信息的录入字数,判断各录入字数是否超过预设字数;Get the number of input words of each input information, and judge whether the number of input words exceeds the preset number of words;若所述录入字数超过所述预设字数,则对超过所述预设字数的录入信息进行关键词提取;If the number of input words exceeds the preset number of words, keyword extraction is performed on the input information exceeding the preset number of words;将提取出的关键词通过所述片段页面在第二预设时间进行展示。The extracted keywords are displayed at the second preset time through the segment page.
- 如权利要求4所述的页面信息录入优化方法,其特征在于,所述将提取出的关键词通过所述片段页面在第二预设时间进行展示之后,所述页面信息录入优化方法还包括:5. The page information entry optimization method of claim 4, wherein after the extracted keywords are displayed on the segment page at a second preset time, the page information entry optimization method further comprises:在接收到用户点击所述关键词的操作时,获取所述关键词对应的录入信息,并将所述关键词对应的录入信息通过所述片段页面进行展示。When receiving the user's operation of clicking the keyword, the input information corresponding to the keyword is obtained, and the input information corresponding to the keyword is displayed on the segment page.
- 如权利要求3所述的页面信息录入优化方法,其特征在于,所述若存在未录入信息的片段页面,则将所述未录入信息的片段页面在第一预设时间进行展示,包括:The method for optimizing page information entry according to claim 3, wherein if there is a segment page with no information entered, displaying the segment page without information entry at a first preset time, comprising:若存在未录入信息的片段页面,则将所述未录入信息的片段页面在第一预设时间以第一预设颜色进行展示;If there is a fragment page with no information entered, display the fragment page with no information entered in the first preset color at the first preset time;所述将其他已录入信息的片段页面在第二预设时间进行展示,所述第二预设时间晚于所述第一预设时间,包括:The displaying of other fragment pages with entered information at a second preset time, the second preset time being later than the first preset time, includes:将其他已录入信息的片段页面在第二预设时间以第二预设颜色进行展示,所述第二预设时间晚于所述第一预设时间,所述第二预设颜色不同于所述第一预设颜色。Display other fragment pages with entered information in a second preset color at a second preset time, where the second preset time is later than the first preset time, and the second preset color is different from all The first preset color.
- 一种页面信息录入优化设备,其特征在于,所述页面信息录入优化设备包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的页面信息录入优化计算机可读指令,所述页面信息录入优化计算机可读指令被所述处理器执行时实现如下步骤:A page information entry optimization device, characterized in that the page information entry optimization device includes: a memory, a processor, and page information entry optimization computer-readable instructions stored on the memory and running on the processor When the page information input optimization computer readable instruction is executed by the processor, the following steps are implemented:接收用户在当前页面输入的添加信息指令;Receive the instruction to add information entered by the user on the current page;根据所述添加信息指令查找片段页面的地址,根据所述片段页面的地址通过函数指针调用预设回调函数将所述片段页面进行展示;Finding 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 entered by the user through the fragment page, where the target information includes contact information;在接收到用户触发的片段隐藏指令时,通过调用所述片段页面的隐藏函数对已录入所述目标信息的片段页面进行隐藏,所述片段隐藏指令包括点击所述片段页面的空白处,或再次点击信息添加的按钮;When a user-triggered fragment hiding instruction is received, the fragment page where the target information has been entered is hidden by calling the hiding function of the fragment page. The fragment hiding instruction includes clicking on a blank space of the fragment page, or again Click the button to add information;其中,所述接收用户通过所述片段页面录入的目标信息之后,所述页面信息录入优化方法还包括:Wherein, after receiving the target information entered by the user through the segment page, the page information entry optimization method further includes:接收在所述片段页面中输入的滑动指令,通过层叠样式表的变形属性对所述目标信息进行与所述滑动指令对应的滑动操作,所述滑动操作包括上下左右动画滑动,以使得在所述目标信息内容过多时,将所述目标信息进行滚动展示。Receive a sliding instruction input in the fragment page, and perform a sliding operation corresponding to the sliding instruction on the target information through the deformation attribute of the cascading style sheet. The sliding operation includes an animation sliding up and down, left and right, so that When the content of the target information is too much, the target information is displayed in scroll.
- 如权利要求7所述的页面信息录入优化设备,其特征在于,所述在接收到用户触发的片段隐藏指令时,通过调用所述片段页面的隐藏函数对已录入所述目标信息的片段页面进行隐藏之后,还包括:The page information entry optimization device according to claim 7, wherein when a user-triggered fragment hiding instruction is received, the fragment page that has entered the target information is performed by calling the hiding function of the fragment page. After hiding, it also includes:接收用户在所述当前页面输入的全部展示指令;Receiving all display instructions entered by the user on the current page;获取所述当前页面内所有的片段页面;Obtaining all fragment pages in the current page;按照预设展示规则对所述片段页面进行展示。The fragment page is displayed according to a preset display rule.
- 如权利要求8所述的页面信息录入优化设备,其特征在于,所述按照预设展示规则对所述片段页面进行展示,包括:The page information input optimization device according to claim 8, wherein the displaying the fragment page according to a preset display rule comprises:检测所述当前页面内所有的片段页面是否均录入对应的信息;Detecting whether corresponding information is entered in all fragment pages in the current page;若存在未录入信息的片段页面,则将所述未录入信息的片段页面在第一预设时间进行展示;If there is a fragment page with no information entered, display the fragment page with no information entered at the first preset time;将其他已录入信息的片段页面在第二预设时间进行展示,所述第二预设时间晚于所述第一预设时间。Display other fragment pages with information entered at a second preset time, where the second preset time is later than the first preset time.
- 如权利要求9所述的页面信息录入优化设备,其特征在于,所述将其他已录入信息的片段页面在第二预设时间进行展示,包括:9. The page information entry optimization device according to claim 9, wherein the displaying other segment pages with entered information at a second preset time comprises:从已录入信息的片段页面中提取出录入信息;Extract the input information from the segment page of the input information;获取各录入信息的录入字数,判断各录入字数是否超过预设字数;Get the number of input words of each input information, and judge whether the number of input words exceeds the preset number of words;若所述录入字数超过所述预设字数,则对超过所述预设字数的录入信息进行关键词提取;If the number of input words exceeds the preset number of words, keyword extraction is performed on the input information exceeding the preset number of words;将提取出的关键词通过所述片段页面在第二预设时间进行展示。The extracted keywords are displayed at the second preset time through the segment page.
- 如权利要求10所述的页面信息录入优化设备,其特征在于,所述将提取出的关键词通过所述片段页面在第二预设时间进行展示之后,所述页面信息录入优化方法还包括:The page information input optimization device according to claim 10, wherein after the extracted keywords are displayed on the segment page at a second preset time, the page information input optimization method further comprises:在接收到用户点击所述关键词的操作时,获取所述关键词对应的录入信息,并将所述关键词对应的录入信息通过所述片段页面进行展示。When receiving the user's operation of clicking the keyword, the input information corresponding to the keyword is obtained, and the input information corresponding to the keyword is displayed on the segment page.
- 如权利要求9所述的页面信息录入优化设备,其特征在于,所述若存在未录入信息的片段页面,则将所述未录入信息的片段页面在第一预设时间进行展示,包括:The page information entry optimization device according to claim 9, wherein if there is a segment page with no information entered, displaying the segment page without information entry at a first preset time, comprising:若存在未录入信息的片段页面,则将所述未录入信息的片段页面在第一预设时间以第一预设颜色进行展示;If there is a fragment page with no information entered, display the fragment page with no information entered in the first preset color at the first preset time;所述将其他已录入信息的片段页面在第二预设时间进行展示,所述第二预设时间晚于所述第一预设时间,包括:The displaying of other fragment pages with entered information at a second preset time, the second preset time being later than the first preset time, includes:将其他已录入信息的片段页面在第二预设时间以第二预设颜色进行展示,所述第二预设时间晚于所述第一预设时间,所述第二预设颜色不同于所述第一预设颜色。Display other fragment pages with entered information in a second preset color at a second preset time, where the second preset time is later than the first preset time, and the second preset color is different from all The first preset color.
- 一种页面信息录入优化装置,其特征在于,所述页面信息录入优化装置包括:A page information input optimization device, characterized in that the page information input optimization device includes:接收模块,用于接收用户在当前页面输入的添加信息指令;The receiving module is used to receive the instruction to add information entered by the user on the current page;展示模块,用于根据所述添加信息指令查找片段页面的地址,根据所述片段页面的地址通过函数指针调用预设回调函数将所述片段页面进行展示;A display module, configured to find the address of a fragment page according to the information addition instruction, and display the fragment page by calling a preset callback function through a function pointer according to the address of the fragment page;所述接收模块,还用于接收用户通过所述片段页面录入的目标信息,所述目标信息包括联系人信息;The receiving module is further configured to receive target information entered by the user through the fragment page, where the target information includes contact information;隐藏模块,用于在接收到用户触发的片段隐藏指令时,通过调用所述片段页面的隐藏函数对已录入所述目标信息的片段页面进行隐藏,所述片段隐藏指令包括点击所述片段页面的空白处,或再次点击信息添加的按钮;The hiding module is used to hide the segment page in which the target information has been entered by calling the hiding function of the segment page when receiving the segment hiding instruction triggered by the user. The segment hiding instruction includes clicking on the segment page Blank space, or click the button to add information again;其中,所述接收模块,还用于接收在所述片段页面中输入的滑动指令,通过层叠样式表的变形属性对所述目标信息进行与所述滑动指令对应的滑动操作,所述滑动操作包括上下左右动画滑动,以使得在所述目标信息内容过多时,将所述目标信息进行滚动展示。Wherein, the receiving module is further configured to receive a sliding instruction input in the fragment page, and perform a sliding operation corresponding to the sliding instruction on the target information through the deformation attribute of the cascading style sheet, and the sliding operation includes Animated sliding up and down, left and right, so that when the content of the target information is too much, the target information is displayed in scroll.
- 如权利要求13所述的页面信息录入优化装置,其特征在于,所述接收模块,还用于接收用户在所述当前页面输入的全部展示指令;The page information input optimization device according to claim 13, wherein the receiving module is further configured to receive all display instructions input by the user on the current page;所述页面信息录入优化装置还包括:The device for inputting and optimizing page information further includes:获取模块,用于获取所述当前页面内所有的片段页面;An obtaining module, used for obtaining all fragment pages in the current page;所述展示模块,还用于按照预设展示规则对所述片段页面进行展示。The display module is also used to display the fragment page according to preset display rules.
- 如权利要求14所述的页面信息录入优化装置,其特征在于,所述展示模块,还用于检测所述当前页面内所有的片段页面是否均录入对应的信息;The page information input optimization device according to claim 14, wherein the display module is further configured to detect whether all the fragment pages in the current page have entered corresponding information;若存在未录入信息的片段页面,则将所述未录入信息的片段页面在第一预设时间进行展示;If there is a fragment page with no information entered, display the fragment page with no information entered at the first preset time;将其他已录入信息的片段页面在第二预设时间进行展示,所述第二预设时间晚于所述第一预设时间。Display other fragment pages with information entered at a second preset time, where the second preset time is later than the first preset time.
- 如权利要求15所述的页面信息录入优化装置,其特征在于,所述展示模块,还用于从已录入信息的片段页面中提取出录入信息;The page information entry optimization device according to claim 15, wherein the display module is further used to extract entry information from a segment page of the entered information;获取各录入信息的录入字数,判断各录入字数是否超过预设字数;Get the number of input words of each input information, and judge whether the number of input words exceeds the preset number of words;若所述录入字数超过所述预设字数,则对超过所述预设字数的录入信息进行关键词提取;If the number of input words exceeds the preset number of words, keyword extraction is performed on the input information exceeding the preset number of words;将提取出的关键词通过所述片段页面在第二预设时间进行展示。The extracted keywords are displayed at the second preset time through the segment page.
- 如权利要求15所述的页面信息录入优化装置,其特征在于,所述展示模块,还用于若存在未录入信息的片段页面,则将所述未录入信息的片段页面在第一预设时间以第一预设颜色进行展示;The page information entry optimization device according to claim 15, wherein the display module is further configured to, if there is a segment page with no information entered, set the segment page without information entry at a first preset time Display in the first preset color;将其他已录入信息的片段页面在第二预设时间以第二预设颜色进行展示,所述第二预设时间晚于所述第一预设时间,所述第二预设颜色不同于所述第一预设颜色。Display other fragment pages with entered information in a second preset color at a second preset time, where the second preset time is later than the first preset time, and the second preset color is different from all The first preset color.
- 一种存储介质,其特征在于,所述存储介质上存储有页面信息录入优化计算机可读指令,所述页面信息录入优化计算机可读指令被处理器执行时实现如下步骤:A storage medium, characterized in that a page information entry optimization computer readable instruction is stored on the storage medium, and the following steps are implemented when the page information entry optimization computer readable instruction is executed by a processor:接收用户在当前页面输入的添加信息指令;Receive the instruction to add information entered by the user on the current page;根据所述添加信息指令查找片段页面的地址,根据所述片段页面的地址通过函数指针调用预设回调函数将所述片段页面进行展示;Finding 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 entered by the user through the fragment page, where the target information includes contact information;在接收到用户触发的片段隐藏指令时,通过调用所述片段页面的隐藏函数对已录入所述目标信息的片段页面进行隐藏,所述片段隐藏指令包括点击所述片段页面的空白处,或再次点击信息添加的按钮;When a user-triggered fragment hiding instruction is received, the fragment page where the target information has been entered is hidden by calling the hiding function of the fragment page. The fragment hiding instruction includes clicking on a blank space of the fragment page, or again Click the button to add information;其中,所述接收用户通过所述片段页面录入的目标信息之后,所述页面信息录入优化方法还包括:Wherein, after receiving the target information entered by the user through the segment page, the page information entry optimization method further includes:接收在所述片段页面中输入的滑动指令,通过层叠样式表的变形属性对所述目标信息进行与所述滑动指令对应的滑动操作,所述滑动操作包括上下左右动画滑动,以使得在所述目标信息内容过多时,将所述目标信息进行滚动展示。Receive a sliding instruction input in the fragment page, and perform a sliding operation corresponding to the sliding instruction on the target information through the deformation attribute of the cascading style sheet. The sliding operation includes an animation sliding up and down, left and right, so that When the content of the target information is too much, the target information is displayed in scroll.
- 如权利要求18所述的存储介质,其特征在于,所述在接收到用户触发的片段隐藏指令时,通过调用所述片段页面的隐藏函数对已录入所述目标信息的片段页面进行隐藏之后,还包括:18. The storage medium of claim 18, wherein after receiving a user-triggered segment hiding instruction, the segment page in which the target information has been entered is hidden by calling the hiding function of the segment page, Also includes:接收用户在所述当前页面输入的全部展示指令;Receiving all display instructions entered by the user on the current page;获取所述当前页面内所有的片段页面;Obtaining all fragment pages in the current page;按照预设展示规则对所述片段页面进行展示。The fragment page is displayed according to a preset display rule.
- 如权利要求19所述的存储介质,其特征在于,所述按照预设展示规则对所述片段页面进行展示,包括:The storage medium of claim 19, wherein the displaying the segment page according to a preset display rule comprises:检测所述当前页面内所有的片段页面是否均录入对应的信息;Detecting whether corresponding information is entered in all fragment pages in the current page;若存在未录入信息的片段页面,则将所述未录入信息的片段页面在第一预设时间进行展示;If there is a fragment page with no information entered, display the fragment page with no information entered at the first preset time;将其他已录入信息的片段页面在第二预设时间进行展示,所述第二预设时间晚于所述第一预设时间。 Display other fragment pages with information entered at a second preset time, where the second preset time is later than the first preset time.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910623710.2 | 2019-07-10 | ||
CN201910623710.2A CN110515618B (en) | 2019-07-10 | 2019-07-10 | Page information input optimization method, equipment, storage medium and device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021003922A1 true WO2021003922A1 (en) | 2021-01-14 |
Family
ID=68623362
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2019/117205 WO2021003922A1 (en) | 2019-07-10 | 2019-11-11 | Page information input optimization method, device and apparatus, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110515618B (en) |
WO (1) | WO2021003922A1 (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114840211A (en) * | 2022-04-25 | 2022-08-02 | 平安普惠企业管理有限公司 | Front-end component optimization method and device, electronic equipment and readable storage medium |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113377367B (en) * | 2020-03-10 | 2024-04-30 | 腾讯科技(深圳)有限公司 | Data collection method, device, computer equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102880664A (en) * | 2012-08-31 | 2013-01-16 | 华为软件技术有限公司 | Page editing method, device and system |
CN104267968A (en) * | 2014-10-16 | 2015-01-07 | 福建星网视易信息系统有限公司 | Interface switching method and device |
CN104750793A (en) * | 2015-03-12 | 2015-07-01 | 小米科技有限责任公司 | Method and device for generating page tables |
US20160196009A1 (en) * | 2011-10-19 | 2016-07-07 | Oracle International Corporation | Task flow interface in a popup region |
CN108710490A (en) * | 2017-04-12 | 2018-10-26 | 北京京东尚科信息技术有限公司 | A kind of edit methods and device of 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 |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20080040661A1 (en) * | 2006-07-07 | 2008-02-14 | Bryce Allen Curtis | 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 |
CN104077313B (en) * | 2013-03-28 | 2018-02-27 | 腾讯科技(深圳)有限公司 | The display methods of multi input frame, device and terminal device in a kind of Webpage |
US9754126B2 (en) * | 2015-10-13 | 2017-09-05 | Verizon Patent And Licensing Inc. | Virtual input mechanism for secure data acquisition |
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 |
-
2019
- 2019-07-10 CN CN201910623710.2A patent/CN110515618B/en active Active
- 2019-11-11 WO PCT/CN2019/117205 patent/WO2021003922A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20160196009A1 (en) * | 2011-10-19 | 2016-07-07 | Oracle International Corporation | Task flow interface in a popup region |
CN102880664A (en) * | 2012-08-31 | 2013-01-16 | 华为软件技术有限公司 | Page editing method, device and system |
CN104267968A (en) * | 2014-10-16 | 2015-01-07 | 福建星网视易信息系统有限公司 | Interface switching method and device |
CN104750793A (en) * | 2015-03-12 | 2015-07-01 | 小米科技有限责任公司 | Method and device for generating page tables |
CN108710490A (en) * | 2017-04-12 | 2018-10-26 | 北京京东尚科信息技术有限公司 | A kind of edit methods and device of 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 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114840211A (en) * | 2022-04-25 | 2022-08-02 | 平安普惠企业管理有限公司 | Front-end component optimization method and device, electronic equipment and readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110515618B (en) | 2024-02-09 |
CN110515618A (en) | 2019-11-29 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2014119967A1 (en) | Page search method and electronic device supporting the same | |
WO2020215681A1 (en) | Indication information generation method and apparatus, terminal, and storage medium | |
EP3259689A1 (en) | Method and system for context based tab management | |
WO2014000672A1 (en) | Method and system for copying and pasting webpage content, and computer storage medium | |
WO2014058146A1 (en) | User terminal apparatus supporting fast web scroll of web documents and method therefor | |
WO2012128548A2 (en) | Method and apparatus of managing items on clipboard of portable terminal | |
WO2017030306A1 (en) | Method and system for bookmarking a webpage | |
WO2017043934A1 (en) | Method and electronic device for tab navigation and control | |
WO2020082766A1 (en) | Association method and apparatus for input method, device and readable storage medium | |
WO2021003922A1 (en) | Page information input optimization method, device and apparatus, and storage medium | |
WO2020037909A1 (en) | Log-based resource adjustment method, equipment, storage medium and device | |
WO2015152647A1 (en) | Method and system for content searching | |
WO2020087981A1 (en) | Method and apparatus for generating risk control audit model, device and readable storage medium | |
WO2020233060A1 (en) | Event notification method and apparatus, event notification server, and storage medium | |
WO2013077503A1 (en) | Electronic device and method for displaying web history thereof | |
WO2017160028A1 (en) | Object management and visualization using a computing device | |
WO2016111514A1 (en) | Method of displaying content and electronic device implementing same | |
WO2016021878A1 (en) | Information providing system and method | |
WO2011053060A2 (en) | Information-processing device, information-processing method and program | |
JP2013025441A (en) | Information processing device, system, method, and program | |
WO2019033511A1 (en) | Data pivot method and apparatus based on database, and computer storage medium | |
WO2013032282A1 (en) | Display apparatus and ui providing method thereof | |
WO2012141412A2 (en) | Method and server for providing a webpage | |
WO2020062655A1 (en) | Crawler recognition method, apparatus and device, and non-volatile readable storage medium | |
WO2020034528A1 (en) | Information entry guiding method, apparatus and device, and computer-readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19936657 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 160522) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 19936657 Country of ref document: EP Kind code of ref document: A1 |