CN110515618A - Page info typing optimization method, equipment, storage medium and device - Google Patents

Page info typing optimization method, equipment, storage medium and device Download PDF

Info

Publication number
CN110515618A
CN110515618A CN201910623710.2A CN201910623710A CN110515618A CN 110515618 A CN110515618 A CN 110515618A CN 201910623710 A CN201910623710 A CN 201910623710A CN 110515618 A CN110515618 A CN 110515618A
Authority
CN
China
Prior art keywords
page
typing
segment
information
segment page
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910623710.2A
Other languages
Chinese (zh)
Other versions
CN110515618B (en
Inventor
林泽全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Lian Intellectual Property Service Center
Xi'an Lirenxing File And Document Management Consulting Co ltd
Original Assignee
Ping An Puhui Enterprise Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201910623710.2A priority Critical patent/CN110515618B/en
Priority to PCT/CN2019/117205 priority patent/WO2021003922A1/en
Publication of CN110515618A publication Critical patent/CN110515618A/en
Application granted granted Critical
Publication of CN110515618B publication Critical patent/CN110515618B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Abstract

The invention discloses a kind of page info typing optimization method, equipment, storage medium and devices, this method comprises: receiving the addition information command that user inputs in current page;The address that the segment page is searched according to the addition information command calls default call back function to be shown the segment page according to the address of the segment page by function pointer;Receive target information of the user by the segment page typing;When the segment for receiving user's triggering hides instruction, by calling the segment page of hiding function target information described in typing of the segment page to be hidden.It is managed based on research and development, in application development process, for the node process of similar information typing, multiple data inputs is realized by the segment page, avoided newly opening multiple pages and data are collected, to improve data input efficiency, promote user experience.

Description

Page info typing optimization method, equipment, storage medium and device
Technical field
The present invention relates to research and development administrative skill field more particularly to a kind of page info typing optimization methods, equipment, storage Medium and device.
Background technique
In carrying out multi-page application development process, for the node process of similar information typing, some nodes may be needed It is divided into several pages to collect data, such case is all often to carry out data render and receipts by newly opening the page Collection, newly opening multiple pages influences data input efficiency, while very big influence is caused to user experience, and therefore, information is recorded How the page more than ingress promotes data input efficiency and is a technical problem to be solved urgently.
Above content is only used to facilitate the understanding of the technical scheme, and is not represented and is recognized that above content is existing skill Art.
Summary of the invention
The main purpose of the present invention is to provide a kind of page info typing optimization method, equipment, storage medium and device, The technical issues of aiming to solve the problem that the low efficiency of page info typing in the prior art.
To achieve the above object, the present invention provides a kind of page info typing optimization method, and the page info typing is excellent Change method the following steps are included:
Receive the addition information command that user inputs in current page;
The address that the segment page is searched according to the addition information command, passes through function according to the address of the segment page Pointer calls default call back function to be shown the segment page;
Receive target information of the user by the segment page typing;
When the segment for receiving user's triggering hides instruction, by calling the hiding function of the segment page to having recorded The segment page for entering the target information is hidden.
Preferably, described when the segment for receiving user's triggering hides instruction, by calling the hidden of the segment page After the segment page of hiding function target information described in typing is hidden, the page info typing optimization method is also wrapped It includes:
User is received to instruct in whole show that the current page inputs;
Obtain the segment page all in the current page;
The segment page is shown according to default displaying rule.
It is preferably, described that the segment page is shown according to default displaying rule, comprising:
Detect the corresponding information of the whether equal typing of the segment page all in the current page;
The segment page of non-typing information if it exists, then by the segment page of the non-typing information in the first preset time It is shown;
The segment page of other typing information is shown in the second preset time, second preset time is later than First preset time.
Preferably, the segment page by other typing information is shown in the second preset time, comprising:
Typing information is extracted from the segment page of typing information;
The typing number of words for obtaining each typing information judges whether each typing number of words is more than default number of words;
If the typing number of words is more than the default number of words, the typing information for being more than the default number of words is carried out crucial Word extracts;
The keyword extracted is shown by the segment page in the second preset time.
Preferably, the keyword that will be extracted is shown it in the second preset time by the segment page Afterwards, the page info typing optimization method further include:
When receiving user and clicking the operation of the keyword, the corresponding typing information of the keyword is obtained, and will The corresponding typing information of the keyword is shown by the segment page.
Preferably, the segment page of the typing information non-if it exists, then exist the segment page of the non-typing information First preset time is shown, comprising:
The segment page of non-typing information if it exists, then by the segment page of the non-typing information in the first preset time It is shown with the first pre-set color;
The segment page by other typing information is shown in the second preset time, second preset time It is later than first preset time, comprising:
The segment page of other typing information is shown in the second preset time with the second pre-set color, described Two preset times are later than first preset time, and second pre-set color is different from first pre-set color.
Preferably, after the target information for receiving user by the segment page typing, the page info record Enter optimization method further include:
The slip instruction inputted in the segment page is received, by the transform properties of cascading style sheets to the target Information carries out slide corresponding with the slip instruction.
In addition, to achieve the above object, the present invention also proposes a kind of page info typing optimization equipment, the page info Typing optimization equipment includes memory, processor and is stored in the page that can be run on the memory and on the processor Data input optimizes program, and it is excellent that the page info typing optimization program is arranged for carrying out page info typing as described above The step of change method.
In addition, to achieve the above object, the present invention also proposes a kind of storage medium, the page is stored on the storage medium Data input optimizes program, and the page info typing optimization program realizes page letter as described above when being executed by processor The step of ceasing typing optimization method.
In addition, to achieve the above object, the present invention also proposes a kind of page info typing optimization device, the page info Typing optimizes device
Receiving module, the addition information command inputted for receiving user in current page;
Display module, for searching the address of the segment page according to the addition information command, according to the segment page Address call default call back function to be shown the segment page by function pointer;
The receiving module is also used to receive user and passes through the target information of the segment page typing;
Hidden module, when for hiding instruction in the segment for receiving user's triggering, by calling the segment page The segment page for hiding function target information described in typing is hidden.
In the present invention, the addition information command inputted by receiving user in current page refers to according to the addition information The address for searching the segment page is enabled, calls default call back function described by function pointer according to the address of the segment page The segment page is shown, and realizes multiple data inputs by the segment page, is avoided newly opening multiple pages and be collected to data, To improve data input efficiency;Target information of the user by the segment page typing is received, user's triggering is being received Segment when hiding instruction, pass through the segment page for calling hiding function target information described in typing of the segment page It is hidden, is managed based on research and development, in application development process, for multiple node processes of data input, can pass through and hide letter Number realizes hiding for the segment page, achievees the effect that single-page is applied, promotes user experience.
Detailed description of the invention
Fig. 1 is that the structure of the page info typing optimization equipment for the hardware running environment that the embodiment of the present invention is related to is shown It is intended to;
Fig. 2 is the flow diagram of page info typing optimization method first embodiment of the present invention;
Fig. 3 is the flow diagram of page info typing optimization method second embodiment of the present invention;
Fig. 4 is the flow diagram of page info typing optimization method 3rd embodiment of the present invention;
Fig. 5 is the flow diagram of page info typing optimization method fourth embodiment of the present invention;
Fig. 6 is the structural block diagram that page info typing of the present invention optimizes device first embodiment.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
Referring to Fig.1, Fig. 1 is that the page info typing for the hardware running environment that the embodiment of the present invention is related to optimizes equipment Structural schematic diagram.
As shown in Figure 1, page info typing optimization equipment may include: processor 1001, such as central processing unit (Central Processing Unit, CPU), communication bus 1002, user interface 1003, network interface 1004, memory 1005.Wherein, communication bus 1002 is for realizing the connection communication between these components.User interface 1003 may include display Shield (Display), optional user interface 1003 can also include standard wireline interface and wireless interface, for user interface 1003 wireline interface can be USB interface in the present invention.Network interface 1004 optionally may include standard wireline interface, Wireless interface (such as Wireless Fidelity (WIreless-FIdelity, WI-FI) interface).Memory 1005 can be the random of high speed Memory (Random Access Memory, RAM) memory is accessed, stable memory (Non-volatile is also possible to Memory, NVM), such as magnetic disk storage.Memory 1005 optionally can also be the storage independently of aforementioned processor 1001 Device.
It will be understood by those skilled in the art that structure shown in Fig. 1, which is not constituted, optimizes equipment to page info typing Restriction, may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
As shown in Figure 1, as may include that operating system, network are logical in a kind of memory 1005 of computer storage medium Believe that module, Subscriber Interface Module SIM and page info typing optimize program.
In page info typing optimization equipment shown in Fig. 1, network interface 1004 is mainly used for connecting background server, Data communication is carried out with the background server;User interface 1003 is mainly used for connecting user equipment;The page info record Enter to optimize equipment and call the page info typing stored in memory 1005 to optimize program by processor 1001, and executes this hair The page info typing optimization method that bright embodiment provides.
Based on above-mentioned hardware configuration, the embodiment of page info typing optimization method of the present invention is proposed.
It is the flow diagram of page info typing optimization method first embodiment of the present invention referring to Fig. 2, Fig. 2, proposes this Invention page info typing optimization method first embodiment.
In the first embodiment, the page info typing optimization method the following steps are included:
Step S10: the addition information command that user inputs in current page is received.
It should be understood that the executing subject of the present embodiment is the page info typing optimization equipment, wherein the page Data input, which optimizes equipment, to be the electronic equipments such as smart phone, PC or server.The addition information command refers to User can be the addition button of click information typing by the instruction inputted in the current page.In order to promote front end User experience can pass through newly-increased hypertext markup language (Hyper Text Markup Language, abridge HTML) segment (Fragment) component avoids newly opening page progress data input.Any one html page on stream can add Fragment component, it is " segment " that Fragment, which can also be cried,.Such as: the current page is that user information acquires the page, in institute The function of having an addition contact information in the user information acquisition page is stated, then it is newly-increased to acquire page in the user information One addition contact information button, the addition contact information button, that is, trigger the addition information and refer to when the user clicks It enables.
Step S20: the address of the segment page is searched according to the addition information command, according to the address of the segment page Default call back function is called to be shown the segment page by function pointer.
It will be appreciated that can call directly Fragment component when triggering the addition information command and pop up one The Fragment page, i.e., the described segment page, the function of adding contact information have been written into the fragment component.Front end Js can customize Fragment component, the received parameter of Fragment component include the fragment_id for needing to show, Show/hide switch and callback call back function etc..By the displaying of the segment page described in show/hide switch control with it is hidden The addition information command is triggered, is found by fragment_id parameter when adding information button when the user clicks in hiding The address of the segment page, the default call back function, that is, callback call back function, according to the address of the segment page Callback call back function is called to be shown the segment page by function pointer.
Step S30: target information of the user by the segment page typing is received.
It should be noted that user carries out the target letter by the segment page shown in the current page The input of breath, for example, clicking addition contact information button, then the target information is contact information.When the completion mesh After the typing for marking information, the fragment component for assembling the target information can be hidden by the hide attribute of js, simultaneously Fragment component can pass to contact information the current page, for example the user information acquires the page, thus real The function of existing html page injection fragment component.
In the present embodiment, after the step S30, further includes:
The slip instruction inputted in the segment page is received, by the transform properties of cascading style sheets to the target Information carries out slide corresponding with the slip instruction.
In the concrete realization, during the target information described in typing, cascading style sheets (Cascading can be passed through Style Sheets, abridge CSS) provide deformation (transform) attribute, for example, pass through 3 grades of cascading style sheets The segment page described in the transform property control that (Cascading Style Sheets Level 3, abridge CSS3) provides The animation up and down of interior subregion (div) region content slides, so that when the target information content is excessive, it can be by institute It states target information and roll and check, to check the target information with the presence or absence of mistake.
Step S40: when the segment for receiving user's triggering hides instruction, by the hiding letter for calling the segment page The segment page of several target informations described in typing is hidden.
It should be understood that the segment, which hides instruction, can be the blank space for clicking the segment page, it is also possible to again The button of secondary click information addition.The hiding function is the received parameter hide attribute of the Fragment component, described Fragment component is hidden by the hide attribute of js.Page is controlled with hiding by the display of control html dom node Face rendering reaches quick response, each fragment component is exactly the dom segment of a html in fact, and dom node all has Show/hide (display/hide) attribute, directly can control show/hide by js, to realize the exhibition of described segment information Show and hides.
The segment page of the target information described in typing is hidden, other node processes need to record in the current page Enter information, then the address of the new segment page can be searched again by new addition information command, according to the new segment page Default call back function is called to be shown the new segment page by function pointer in address.
In the present embodiment, the addition information command inputted by receiving user in current page, according to the addition information The address of the segment page is searched in instruction, calls default call back function by institute by function pointer according to the address of the segment page It states the segment page to be shown, multiple data inputs is realized by the segment page, avoid newly opening multiple pages and data are searched Collection, to improve data input efficiency;Target information of the user by the segment page typing is received, user's touching is being received When the segment of hair hides instruction, the segment page of hiding function target information described in typing by calling the segment page Face is hidden, and is managed based on research and development,, can be by hiding for multiple node processes of data input in application development process Function realizes hiding for the segment page, achievees the effect that single-page is applied, promotes user experience.
It is the flow diagram of page info typing optimization method second embodiment of the present invention referring to Fig. 3, Fig. 3, based on upper First embodiment shown in Fig. 2 is stated, proposes the second embodiment of page info typing optimization method of the present invention.
In a second embodiment, after the step S40, further includes:
Step S50: it receives user and is instructed in whole show that the current page inputs.
It should be understood that the segment page all in the current page is checked in order to facilitate user, settable whole exhibition Show instruction, it is described all to show that instruction can be the blank space double-click or other operations in the current page, the present embodiment It is without restriction to this.For example, user double-clicks the blank space of the current page, then triggers described all show and instruct, then may be used Obtain the typing information of the segment page all in the current page.
Step S60: the segment page all in the current page is obtained.
It will be appreciated that Fragment component all in the current page can be obtained, and from all segment pages In extract the information of typing.Firstly, each segment page whether typing information is detected, if typing information, to typing Information carry out contents extraction, if non-typing information, it is believed that the content that extracts of the page fragments is sky.
Step S70: the segment page is shown according to default displaying rule.
It should be noted that the segment page is multiple if it exists, it can not be shown simultaneously, the default displaying rule It can be the front-rear position occurred in the current page according to the segment page and show one every preset interval time The segment page, to all segment pages in the current page be shown successively, for example, described between default It can be every the time every one minute.
In the present embodiment, the segment page all in current page is checked in order to facilitate user, receives user described When whole displaying instructions of current page input, the segment page is shown according to default displaying rule, so as to user The information failed to fill in is checked whether, to improve the accuracy rate and efficiency of data input.
It is the flow diagram of page info typing optimization method 3rd embodiment of the present invention referring to Fig. 4, Fig. 4, based on upper Second embodiment shown in Fig. 3 is stated, proposes the 3rd embodiment of page info typing optimization method of the present invention.
In the third embodiment, the step S70, comprising:
Step S701: the corresponding information of the whether equal typing of the segment page all in the current page is detected.
It should be understood that causing user when more in order to avoid all segment page quantities in the current page Typing relevant information is omitted, then after obtaining the segment page all in the current page, obtains typing in each segment page Information, detect typing information whether be it is empty, if the information is sky, illustrate the non-typing relevant information of the segment page, Then the segment page of the non-typing information can preferentially be shown.The mode preferentially shown, which can be, believes the non-typing The segment page of breath is first shown, and after showing preset time, other segment pages are shown;It can also be by described in not The segment page of typing information is shown with larger font, other segment pages compared with small font to be shown;It can also be The segment page of the non-typing information is shown with the background color of the first pre-set color, other segment pages are default with second The background color of color is shown, and second pre-set color is different from first pre-set color.
Step S702: the segment page of non-typing information if it exists, then by the segment page of the non-typing information One preset time is shown.
It will be appreciated that the segment page of non-typing information if it exists, then by the segment page of the non-typing information into Row major is shown, that is, the segment page of the non-typing information is shown earlier than other segment pages.Described first Preset time can all show that the triggered time of instruction is configured according to described, input receiving user in the current page It is whole when showing instruction, record the triggered time for all showing instruction, first preset time can be described complete Portion show instruction triggered time add the preset interval time, for example, receive user inputted in the current page it is complete When portion shows instruction, the triggered time of record is 9:00, and the preset interval time is one minute, then in 9:01, shows institute State the segment page of non-typing information.When the segment page of the non-typing information is multiple, according to the non-typing information The front-rear position that occurs in the current page of the segment page show a non-typing information every preset interval time The segment page, so that the segment page of multiple non-typing information is shown successively.
Step S703: the segment page of other typing information is shown in the second preset time, and described second is pre- If the time is later than first preset time.
It should be noted that after the segment page presentation of the non-typing information is complete, according to other typing information The front-rear position that occurs in the current page of the segment page show a typing information every preset interval time The segment page, so that the segment page of multiple information of typing is shown successively.Second preset time is later than described First preset time, so that the segment page for typing information can be preferentially shown, to remind user to carry out the benefit of information Fill typing.Second preset time can be according to quantity, the preset interval time of the segment page of the non-typing information It calculates and obtains with first preset time.
In the present embodiment, the step S703, comprising:
Typing information is extracted from the segment page of typing information;
The typing number of words for obtaining each typing information judges whether each typing number of words is more than default number of words;
If the typing number of words is more than the default number of words, the typing information for being more than the default number of words is carried out crucial Word extracts;
The keyword extracted is shown by the segment page in the second preset time, it is described second it is default when Between be later than first preset time.
It should be noted that when the content of typing information is more, if the information of typing is all shown, May cause the segment page can not show all contents, in order to enable user can intuitively see the segment page of displaying The typing situation of information in face, can be by the number of words of each typing information of acquisition, by the typing number of words and predetermined word of each typing information Number is compared, if the typing number of words is more than the default number of words, which can not show in the window of displaying All typing information then can carry out keyword extraction to the typing information for being more than default number of words, specifically, to being more than described pre- If the typing information of number of words is segmented, the corresponding all words of the typing information are obtained, calculate the reverse text of word frequency-of each word Part frequency (Term Frequency-Inverse Document Frequency, abridge TF-IDF) value, TF word frequency (Term Frequency), the reverse document-frequency of IDF (Inverse Document Frequency), by each word according to TF-IDF value from Arrive greatly it is small be ranked up, obtain sorted lists, obtain the word for the preset quantity that front is come in the sorted lists as institute State keyword.
In the concrete realization, to the typing information for being more than the default number of words, the keyword of extraction is shown, thus So that user can understand the data input situation of the segment page by the keyword of displaying.User can also be by clicking the pass Keyword can check the typing information by rolling at this time so that the corresponding typing information of the keyword is completely shown.
In the present embodiment, the keyword that will be extracted is opened up by the segment page in the second preset time After showing, the page info typing optimization method further include:
When receiving user and clicking the operation of the keyword, the corresponding typing information of the keyword is obtained, and will The corresponding typing information of the keyword is shown by the segment page.
It will be appreciated that if desired checking corresponding typing information when user checks the keyword, can also passing through click The keyword then searches typing information corresponding with the keyword, the typing information is carried out whole displayings, by institute Stating typing information is more than default number of words, cannot be shown completely in current window, then can pass through stacking by inputting slip instruction The transform attribute that style sheet (Cascading Style Sheets, abridge CSS) provides, for example, passing through cascading style sheets Segment page described in 3 grades (Cascading StyleSheets Level 3, abridge CSS3) the transform property controls provided The sliding of animation up and down of the region subregion (div) content in face, so that can be incited somebody to action when the typing information content is excessive The typing information roll and is checked, to check the typing information with the presence or absence of mistake.
In the present embodiment, when more in order to avoid all in current page segment page quantities, user is caused Omit typing relevant information, the segment page of non-typing information preferentially shown, improve the accuracy rate of data input with Efficiency.
It is the flow diagram of page info typing optimization method fourth embodiment of the present invention referring to Fig. 5, Fig. 5, based on upper 3rd embodiment shown in Fig. 4 is stated, proposes the fourth embodiment of page info typing optimization method of the present invention.
In the present embodiment, the step S702, comprising:
Step S7021: the segment page of non-typing information if it exists, then by the segment page of the non-typing information One preset time is shown with the first pre-set color.
It will be appreciated that in order to highlight the segment page of the non-typing information, it can be by the non-typing information The background color of the segment page is shown with first pre-set color, and first pre-set color, which can be, is different from conventional background color Other colors of white.When the segment page of the non-typing information is multiple, according to the segment page of the non-typing information The front-rear position that face occurs in the current page shows the segment page of a non-typing information every preset interval time, To which the segment page of multiple non-typing information is shown successively with first pre-set color.
In the present embodiment, the step S703, comprising:
Step S7031: by other typing information the segment page the second preset time with the second pre-set color progress It shows, second preset time is later than first preset time, and it is default that second pre-set color is different from described first Color.
It should be understood that second pre-set color is usually conventional background color white, second pre-set color is different from First pre-set color enables a user to the apparent segment page for discovering non-typing information out.It is described not After the segment page presentation of typing information is complete, occur in the current page according to the segment page of other typing information Front-rear position the segment page of a typing information is shown every preset interval time, thus by multiple information of typing The segment page is shown successively with the second pre-set color.
In the present embodiment, in order to highlight the segment page of the non-typing information, by the segment page of non-typing information Face is shown respectively with the background color of different pre-set colors from the segment page of typing information, is enabled a user to very The segment page for significantly discovering non-typing information out, is replenished in time relevant information, to improve data input efficiency.
In addition, the embodiment of the present invention also proposes a kind of storage medium, page info typing is stored on the storage medium Optimize program, the page info typing optimization program realizes that page info typing as described above is excellent when being executed by processor The step of change method.
In addition, the embodiment of the present invention also proposes a kind of page info typing optimization device, the page info referring to Fig. 6 Typing optimizes device
Receiving module 10, the addition information command inputted for receiving user in current page;
Display module 20, for searching the address of the segment page according to the addition information command, according to the segment page Default call back function is called to be shown the segment page by function pointer in the address in face;
The receiving module 10 is also used to receive user and passes through the target information of the segment page typing;
Hidden module 30, when for hiding instruction in the segment for receiving user's triggering, by calling the segment page The segment page of hiding function target information described in typing be hidden.
It should be understood that the addition information command refers to that user, can by the instruction inputted in the current page To be the addition button of click information typing.It, can be by increasing hypertext markup language newly in order to promote front end user experience (Hyper Text Markup Language, abridge HTML) segment (Fragment) component avoids newly opening page progress information Typing.Any one html page on stream can add Fragment component, and it is " piece that Fragment, which can also be cried, Section ".Such as: the current page is that user information acquires the page, there is an addition connection in the user information acquisition page The function of people's information then can acquire page in the user information and increase an addition contact information button newly, when the user clicks The addition contact information button, that is, trigger the addition information command.
It will be appreciated that can call directly Fragment component when triggering the addition information command and pop up one The Fragment page, i.e., the described segment page, the function of adding contact information have been written into the fragment component.Front end Js can customize Fragment component, the received parameter of Fragment component include the fragment_id for needing to show, Show/hide switch and callback call back function etc..By the displaying of the segment page described in show/hide switch control with it is hidden The addition information command is triggered, is found by fragment_id parameter when adding information button when the user clicks in hiding The address of the segment page, the default call back function, that is, callback call back function, according to the address of the segment page Callback call back function is called to be shown the segment page by function pointer.
It should be noted that user carries out the target letter by the segment page shown in the current page The input of breath, for example, clicking addition contact information button, then the target information is contact information.When the completion mesh After the typing for marking information, the fragment component for assembling the target information can be hidden by the hide attribute of js, simultaneously Fragment component can pass to contact information the current page, for example the user information acquires the page, thus real The function of existing html page injection fragment component.
In the present embodiment, after the target information for receiving user by the segment page typing, further includes:
The slip instruction inputted in the segment page is received, by the transform properties of cascading style sheets to the target Information carries out slide corresponding with the slip instruction.
In the concrete realization, during the target information described in typing, cascading style sheets (Cascading can be passed through Style Sheets, abridge CSS) provide deformation (transform) attribute, for example, pass through 3 grades of cascading style sheets The segment page described in the transform property control that (Cascading Style Sheets Level 3, abridge CSS3) provides The animation up and down of interior subregion (div) region content slides, so that when the target information content is excessive, it can be by institute It states target information and roll and check, to check the target information with the presence or absence of mistake.
It should be understood that the segment, which hides instruction, can be the blank space for clicking the segment page, it is also possible to again The button of secondary click information addition.The hiding function is the received parameter hide attribute of the Fragment component, described Fragment component is hidden by the hide attribute of js.Page is controlled with hiding by the display of control html dom node Face rendering reaches quick response, each fragment component is exactly the dom segment of a html in fact, and dom node all has Show/hide (display/hide) attribute, directly can control show/hide by js, to realize the exhibition of described segment information Show and hides.
The segment page of the target information described in typing is hidden, other node processes need to record in the current page Enter information, then the address of the new segment page can be searched again by new addition information command, according to the new segment page Default call back function is called to be shown the new segment page by function pointer in address.
In the present embodiment, the addition information command inputted by receiving user in current page, according to the addition information The address of the segment page is searched in instruction, calls default call back function by institute by function pointer according to the address of the segment page It states the segment page to be shown, multiple data inputs is realized by the segment page, avoid newly opening multiple pages and data are searched Collection, to improve data input efficiency;Target information of the user by the segment page typing is received, user's touching is being received When the segment of hair hides instruction, the segment page of hiding function target information described in typing by calling the segment page Face is hidden, and is managed based on research and development,, can be by hiding for multiple node processes of data input in application development process Function realizes hiding for the segment page, achievees the effect that single-page is applied, promotes user experience.
In one embodiment, the receiving module 10 is also used to receive whole exhibitions that user inputs in the current page Show instruction;
The page info typing optimizes device further include:
Module is obtained, for obtaining the segment page all in the current page;
The display module 20 is also used to be shown the segment page according to default displaying rule.
In one embodiment, the display module 20, being also used to detect the segment page all in the current page is The corresponding information of no equal typing;The segment page of non-typing information if it exists then exists the segment page of the non-typing information First preset time is shown;The segment page of other typing information is shown in the second preset time, described Two preset times are later than first preset time.
In one embodiment, the display module 20 is also used to extract typing from the segment page of typing information Information;The typing number of words for obtaining each typing information judges whether each typing number of words is more than default number of words;If the typing number of words is super The default number of words is crossed, then keyword extraction is carried out to the typing information for being more than the default number of words;The keyword that will be extracted It is shown by the segment page in the second preset time.
In one embodiment, the display module 20 is also used to when receiving user and clicking the operation of the keyword, The corresponding typing information of the keyword is obtained, and the corresponding typing information of the keyword is carried out by the segment page It shows.
In one embodiment, the display module 20 is also used to the segment page of non-typing information if it exists, then will be described The segment page of non-typing information is shown in the first preset time with the first pre-set color;By the piece of other typing information Section the page be shown in the second preset time with the second pre-set color, second preset time be later than described first it is default when Between, second pre-set color is different from first pre-set color.
In one embodiment, the receiving module 10 is also used to receive the slip instruction inputted in the segment page, Slide corresponding with the slip instruction is carried out to the target information by the transform properties of cascading style sheets.
The other embodiments or specific implementation of page info typing optimization device of the present invention can refer to above-mentioned each Embodiment of the method, details are not described herein again.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.If listing equipment for drying Unit claim in, several in these devices, which can be, to be embodied by the same item of hardware.Word first, Second and the use of third etc. do not indicate any sequence, can be mark by these word explanations.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium (such as read-only memory mirror image (Read Only Memory image, ROM)/random access memory (Random Access Memory, RAM), magnetic disk, CD) in, including some instructions are used so that terminal device (can be mobile phone, computer, Server, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of page info typing optimization method, which is characterized in that the page info typing optimization method includes following step It is rapid:
Receive the addition information command that user inputs in current page;
The address that the segment page is searched according to the addition information command, passes through function pointer according to the address of the segment page Default call back function is called to be shown the segment page;
Receive target information of the user by the segment page typing;
When the segment for receiving user's triggering hides instruction, by calling the hiding function of the segment page to the institute of typing The segment page for stating target information is hidden.
2. page info typing optimization method as described in claim 1, which is characterized in that described to receive user's triggering When segment hides instruction, by call the segment page hiding function target information described in typing the segment page into After row is hidden, the page info typing optimization method further include:
User is received to instruct in whole show that the current page inputs;
Obtain the segment page all in the current page;
The segment page is shown according to default displaying rule.
3. page info typing optimization method as claimed in claim 2, which is characterized in that described right according to default displaying rule The segment page is shown, comprising:
Detect the corresponding information of the whether equal typing of the segment page all in the current page;
The segment page of non-typing information if it exists then carries out the segment page of the non-typing information in the first preset time It shows;
The segment page of other typing information is shown in the second preset time, second preset time is later than described First preset time.
4. page info typing optimization method as claimed in claim 3, which is characterized in that described by other typing information The segment page is shown in the second preset time, comprising:
Typing information is extracted from the segment page of typing information;
The typing number of words for obtaining each typing information judges whether each typing number of words is more than default number of words;
If the typing number of words is more than the default number of words, keyword is carried out to the typing information for being more than the default number of words and is mentioned It takes;
The keyword extracted is shown by the segment page in the second preset time.
5. page info typing optimization method as claimed in claim 4, which is characterized in that the keyword that will be extracted leads to The segment page is crossed after the second preset time is shown, the page info typing optimization method further include:
When receiving user and clicking the operation of the keyword, the corresponding typing information of the keyword is obtained, and will be described The corresponding typing information of keyword is shown by the segment page.
6. page info typing optimization method as claimed in claim 3, which is characterized in that the typing information non-if it exists The segment page of the non-typing information is then shown by the segment page in the first preset time, comprising:
The segment page of non-typing information if it exists, then by the segment page of the non-typing information in the first preset time with One pre-set color is shown;
The segment page by other typing information is shown in the second preset time, and second preset time is later than First preset time, comprising:
The segment page of other typing information is shown in the second preset time with the second pre-set color, described second is pre- If the time is later than first preset time, second pre-set color is different from first pre-set color.
7. such as page info typing optimization method of any of claims 1-6, which is characterized in that the reception user After target information by the segment page typing, the page info typing optimization method further include:
The slip instruction inputted in the segment page is received, by the transform properties of cascading style sheets to the target information Carry out slide corresponding with the slip instruction.
8. a kind of page info typing optimizes equipment, which is characterized in that the page info typing optimization equipment includes: storage The page info typing optimization program that device, processor and being stored in can be run on the memory and on the processor, institute State the page realized as described in any one of claims 1 to 7 when page info typing optimization program is executed by the processor The step of data input optimization method.
9. a kind of storage medium, which is characterized in that be stored with page info typing optimization program, the page on the storage medium Face data input optimization program realizes the page info typing as described in any one of claims 1 to 7 when being executed by processor The step of optimization method.
10. a kind of page info typing optimizes device, which is characterized in that the page info typing optimizes device and includes:
Receiving module, the addition information command inputted for receiving user in current page;
Display module, for searching the address of the segment page according to the addition information command, according to the ground of the segment page Default call back function is called to be shown the segment page by function pointer in location;
The receiving module is also used to receive user and passes through the target information of the segment page typing;
Hidden module, when for hiding instruction in the segment for receiving user's triggering, by calling hiding for the segment page The segment page of function target information described in typing is hidden.
CN201910623710.2A 2019-07-10 2019-07-10 Page information input optimization method, equipment, storage medium and device Active CN110515618B (en)

Priority Applications (2)

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

Applications Claiming Priority (1)

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

Publications (2)

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

Family

ID=68623362

Family Applications (1)

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

Country Status (2)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377367A (en) * 2020-03-10 2021-09-10 腾讯科技(深圳)有限公司 Data collection method and device, computer equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101484894A (en) * 2006-07-07 2009-07-15 国际商业机器公司 Method for inheriting a wiki page layout for a wiki page
WO2012123773A1 (en) * 2011-03-14 2012-09-20 Canon Kabushiki Kaisha A method and device for generating media fragment requests for requesting fragments of an encoded media stream
CN104077313A (en) * 2013-03-28 2014-10-01 腾讯科技(深圳)有限公司 Display method and display method of multiple input boxes in webpage page and terminal equipment
US20170103229A1 (en) * 2015-10-13 2017-04-13 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

Family Cites Families (6)

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

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101484894A (en) * 2006-07-07 2009-07-15 国际商业机器公司 Method for inheriting a wiki page layout for a wiki page
WO2012123773A1 (en) * 2011-03-14 2012-09-20 Canon Kabushiki Kaisha A method and device for generating media fragment requests for requesting fragments of an encoded media stream
CN104077313A (en) * 2013-03-28 2014-10-01 腾讯科技(深圳)有限公司 Display method and display method of multiple input boxes in webpage page and terminal equipment
US20170103229A1 (en) * 2015-10-13 2017-04-13 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

Non-Patent Citations (1)

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

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113377367A (en) * 2020-03-10 2021-09-10 腾讯科技(深圳)有限公司 Data collection method and device, computer equipment and storage medium

Also Published As

Publication number Publication date
WO2021003922A1 (en) 2021-01-14
CN110515618B (en) 2024-02-09

Similar Documents

Publication Publication Date Title
KR102455232B1 (en) Method and electronic device for tab management based on context
US10353721B2 (en) Systems and methods for guided live help
CN106844635B (en) Method and device for editing elements in webpage
US20130031456A1 (en) Generating a structured document guiding view
US20110016386A1 (en) Information processing device which controls display of summaries and previews of content of columns in web content depending on display area sizes, and recording medium which records control program thereof
US10402470B2 (en) Effecting multi-step operations in an application in response to direct manipulation of a selected object
CN105243058A (en) Webpage content translation method and electronic apparatus
KR101340588B1 (en) Method and apparatus for comprising webpage
CN106648571B (en) Method and device for calibrating application interface
CN102737030A (en) Patent document data outputting method, terminal and system
KR20120029013A (en) Host apparatus and web content display method thereof
CN111400575B (en) User identification generation method, user identification method and device
CN110515618A (en) Page info typing optimization method, equipment, storage medium and device
CN114519153B (en) Webpage history record display method, device, equipment and storage medium
JP6142620B2 (en) Display change program, display change method, and display change device
JP4219159B2 (en) Information display method and apparatus
CN110378566A (en) Information checking method, equipment, storage medium and device
US20240126978A1 (en) Determining attributes for elements of displayable content and adding them to an accessibility tree
Speicher W3touch: Crowdsourced evaluation and adaptation of web interfaces for touch
CN104182398A (en) Server and information browsing method
KR102630438B1 (en) Method and apparatus for providing reading information of content
JP2002259173A (en) File management program, computer readable recording medium in which file management program is recorded, file managing device and file managing method
US20230385314A1 (en) Method and apparatus for searching contents
CN110990551B (en) Text content processing method, device, equipment and storage medium
KR101843113B1 (en) Method, terminal, and application for providing contents information using intractive multi-browsing bookmark

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20240115

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

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

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

Applicant before: Shenzhen LIAN intellectual property service center

Effective date of registration: 20240115

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

Applicant after: Shenzhen LIAN intellectual property service center

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

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

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

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

Granted publication date: 20240209

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

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

Registration number: Y2024980011197