CN108287643A - A kind of method and device of page layout adjustment - Google Patents

A kind of method and device of page layout adjustment Download PDF

Info

Publication number
CN108287643A
CN108287643A CN201711329413.4A CN201711329413A CN108287643A CN 108287643 A CN108287643 A CN 108287643A CN 201711329413 A CN201711329413 A CN 201711329413A CN 108287643 A CN108287643 A CN 108287643A
Authority
CN
China
Prior art keywords
data
page
icon
dimension
adjustment
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
CN201711329413.4A
Other languages
Chinese (zh)
Other versions
CN108287643B (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.)
Beijing Dike Technology Co Ltd
Original Assignee
Beijing Dike Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dike Technology Co Ltd filed Critical Beijing Dike Technology Co Ltd
Priority to CN201711329413.4A priority Critical patent/CN108287643B/en
Publication of CN108287643A publication Critical patent/CN108287643A/en
Application granted granted Critical
Publication of CN108287643B publication Critical patent/CN108287643B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Embodiment of the invention discloses that a kind of method and device of page layout adjustment, this method is after the adjustment page enters editing mode, if detecting long press operation, judge whether the time of long press operation is more than the first preset time, if so, directly the target data dimension icon at the position where long press operation is moved on the first display location under the classification of the data belonging to it.Target data dimension icon is directly moved to the first position by this method after the length of long press operation temporally meets condition, is eliminated and is carried out mobile drag operation to target data dimension icon, easy to operate, is realized and is easy, efficient.In this way, user can be promoted user experience, improve the utilization rate of the page by the layout of the self-defined adjustment page of shirtsleeve operation so that the adjustment page provides more effective informations.

Description

A kind of method and device of page layout adjustment
Technical field
The present embodiments relate to Computer display technical field, method more particularly, to a kind of adjustment of page layout and Device.
Background technology
Different users has different demands and needs for product, and the user of different industries is for company Attention rate is also not quite similar, and this demand has apparent embodiment in enterprise's details page.Enterprise is divided into different types, it is different The enterprise of type has the characteristics that oneself is different, and the display mode optimized can allow user faster and better to find the concern of oneself Data dimension, so as to provide preferably user experience.And it is rarely needed to eliminate user oneself to a certain extent Part so that the more clean and tidy utilization rate for also improving the page simultaneously of the page enhances the sense of participation of user.
However, needing one module/icon of user oneself long-press in the self-defined edit page operation of mobile phone to swash at present Pulled again after work, the defect of this method be when need current icon being moved to currently shield remotely or other It is inconvenient when position in the page.This method is often detached from sliding dragging process finger and screen, leads to icon weight Original position is newly returned to, or enters undesirable position, also needs again secondary dragging to be adjusted.For example, detailed in enterprise In feelings page, information content is very big, generally require to slide up and down it is very long get at desired position, such design is so that user It carries out fault rate when personal page adjustment to improve, less efficient, user experience is poor.
During realizing the embodiment of the present invention, inventor has found that the existing adjustment in showing the page shows the page The method needs of page layout realize that this method fault rate is higher, inconvenient, less efficient by way of dragging.
Invention content
The technical problem to be solved by the present invention is to how solve the existing adjustment in showing the page to show the page of the page The method needs of face layout realize that this method fault rate is higher, inconvenient, and less efficient asks by way of dragging Topic.
For the above technical problem, the embodiment provides a kind of methods of page layout adjustment, including:
After the adjustment page enters editing mode, judge whether to detect long press operation, if so, obtaining the long press operation The data dimension icon of position, as target data dimension icon;
Judge whether the length of the long press operation is temporally more than the first preset time, if so, obtaining the target data Data classification belonging to dimension icon and the display location for showing the data dimension icon for belonging to the data classification;
Under default put in order, obtained positioned at the first position, as the first position, by institute from the display location It states target data dimension icon and is moved to the first bit positions;
Wherein, the data are classified as the classification classified to the data in preset data source, in each data classification Data are divided according to dimension, and the dimension data under every dimension corresponds to a data dimension figure in data classification Mark.
Optionally, further include:
Judge whether the length is temporally more than the second preset time, if so, obtaining from the target data dimension icon Title dimension data being chosen in corresponding dimension data, for being shown in the homepage of the adjustment page;
Target display location is generated in the homepage of the adjustment page, the number of targets is shown in the target display location According to dimension icon and the title dimension data.
Optionally, first preset time belongs to [1.5s, 3s], and second preset time belongs to [4s, 6s].
Optionally, first preset time is 2s, and second preset time is 4s or 5s;
Alternatively,
First preset time is 2.5s, and second preset time is 4s or 5s.
Optionally, further include:Obtain the data in addition to the target data dimension icon in the data dimension icon Dimension icon when as the target data dimension icon being moved to the first position, needs to carry out display location adjustment Wait for adjusting data dimension icon;
For it is each it is described wait for adjusting data dimension icon, obtain and the target data dimension icon be moved to the first place Before position, the display location waited for where adjusting data dimension icon as tune front position, and obtains and the tune front position It is described it is default put in order display location upper adjacent and after the tune front position will be described as position after tune The position after adjusting data dimension icon is moved to the tune from the tune front position.
Optionally, described after the adjustment page enters editing mode, further include:
Delete operation is triggered to the target data dimension icon if detecting, the target data dimension is deleted It removes;
Trigger action is performed to preset saving button if detecting, each data dimension in the page will be adjusted current time Display location where degree icon is preserved;
Trigger action is performed to preset reduction button if detecting, obtain preserve current time the adjustment page it Before, the adjustment page that the last time preserves shows the reduction page as the reduction page.
Optionally, described to judge whether to detect long press operation after the adjustment page enters editing mode, including:
It detects after the adjustment page to display carries out long press operation or trigger action is executed to preset edit key Afterwards, it shows the corresponding edit page of the adjustment page, obtains the adjustment page into editing mode;
After the adjustment page enters editing mode, judge whether to detect that compressing time is more than third preset time Operation, if so, judging that the operation that the compressing time is more than the third preset time is the long press operation;
Wherein, the third preset time is less than first preset time, and the third preset time is less than described Second preset time.
Second aspect present embodiments provides a kind of device of page layout adjustment, including:
Judgment module, for after the adjustment page enters editing mode, judging whether to detect long press operation, if so, obtaining The data dimension icon for taking the long press operation position, as target data dimension icon;
Acquisition module, for judging whether the length of the long press operation is temporally more than the first preset time, if so, obtaining Data classification belonging to the target data dimension icon and belong to data dimension icon that the data are classified for show Display location;
Module is adjusted, under default put in order, the position positioned at first place to be obtained from the display location, as The target data dimension icon is moved to the first bit positions by the first position;
Wherein, the data are classified as the classification classified to the data in preset data source, in each data classification Data are divided according to dimension, and the dimension data under every dimension corresponds to a data dimension figure in data classification Mark.
The third aspect present embodiments provides a kind of electronic equipment, including:
At least one processor;And
At least one processor of the processor communication connection, wherein:
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to refer to Enable the method for being able to carry out any description above.
Fourth aspect, the embodiment provides a kind of computer program product, the computer program product packet The computer program being stored in non-transient computer readable storage medium is included, the computer program includes program instruction, when When described program instruction is computer-executed, make the method for the computer execution any description above.
The embodiment provides a kind of method and device of page layout adjustment, this method enters in the adjustment page After editing mode, if detecting long press operation, judge whether the time of long press operation is more than the first preset time, if so, directly Target data dimension icon at position where long press operation is moved to the first display position under the classification of the data belonging to it It sets.Target data dimension icon is directly moved to belonging to it by this method after the length of long press operation temporally meets condition The lower the first position of data classification, eliminate and mobile drag operation carried out to target data dimension icon, easy to operate, reality Now it is easy, it is efficient.In this way, user can by shirtsleeve operation it is self-defined adjustment the page layout so that It adjusts the page and more effective informations is provided, promote user experience, improve the utilization rate of the page.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Some bright embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram of the method for page layout adjustment provided by one embodiment of the present invention;
Fig. 2 is the displayed page schematic diagram of the enterprise's details for the company that another embodiment of the present invention provides;
Fig. 3 be another embodiment of the present invention provide into the adjustment page schematic diagram before editing mode;
Fig. 4 is the adjustment page schematic diagram into editing mode that another embodiment of the present invention provides;
Fig. 5 be another embodiment of the present invention provide target data dimension icon is moved to the first position and by target Dimension data is shown in the adjustment page schematic diagram of target display location;
Fig. 6 is the head that data dimension icon is adjusted to its corresponding data classification that another embodiment of the present invention provides Adjustment page schematic diagram behind the position of position;
Fig. 7 is the display page schematic diagram for the adjustment backed off after random editing mode that another embodiment of the present invention provides;
Fig. 8 is the structure diagram of the device for the page layout adjustment that another embodiment of the present invention provides;
Fig. 9 is the structure diagram for the electronic equipment that another embodiment of the present invention provides.
Specific implementation mode
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art The every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the flow diagram of the method for page layout adjustment provided in this embodiment, and referring to Fig. 1, this method includes:
101:After the adjustment page enters editing mode, judge whether to detect long press operation, if so, obtaining the long-press The data dimension icon for operating position, as target data dimension icon;
102:Judge whether the length of the long press operation is temporally more than the first preset time, if so, obtaining the target Data classification belonging to data dimension icon and the display location for showing the data dimension icon for belonging to the data classification;
103:Under default put in order, obtain from the display location positioned at the first position, as the first position, The target data dimension icon is moved to the first bit positions;
Wherein, the data are classified as the classification classified to the data in preset data source, in each data classification Data are divided according to dimension, and the dimension data under every dimension corresponds to a data dimension figure in data classification Mark.
It should be noted that method provided in this embodiment is by being able to carry out the terminal of the above method (for example, mobile phone, flat Plate computer) it executes.The data information of a certain data source (for example, related data of enterprise), data point are shown in the adjustment page Class is the classification carried out to the data of the data source.Data during each data are classified are divided according to different dimensions (for example, this division is the classification or obtain the data according to certain dimension that the data during the data are classified refine The relationship of data in classification), you can it obtains corresponding to the dimension data under the dimension, the dimension data is by adjusting in the page A data dimension icon be indicated.It is default to put in order under e.g. each " data classification ", data dimension icon from Left-to-right sequence.
For example, Fig. 2 is the displayed page of enterprise's details of company, referring to Fig. 2, " data classification " refers to business background, enterprise The major class such as development.And " data dimension icon " refers to the information under certain " data classification ", such as " the data dimension under " business background " Icon " has " industrial and commercial information ", " business connection ", " shareholder's information ", " key personnel " etc., by each " data dimension icon " Trigger action (for example, click) can check " data dimension icon " the corresponding dimension data.
Long judgement temporally can be by installing pressure sensor realization on the screen, and the present embodiment, which does not do this, to be had Body limits.During long judgement temporally continues entire long-press, as long as example, a certain moment detect and long be temporally more than the Target data dimension icon is then moved to first bit positions by one preset time.When detecting that the hand of user leaves mobile phone screen When, then it represents that long-press terminates.
The method for present embodiments providing a kind of adjustment of page layout, this method after the adjustment page enters editing mode, If detecting long press operation, judge whether the time of long press operation is more than the first preset time, if so, directly by long press operation institute Position at target data dimension icon be moved on the first display location under the classification of the data belonging to it.This method exists After the length of long press operation temporally meets condition, directly target data dimension icon is moved under the classification of the data belonging to it The first position eliminates and carries out mobile drag operation to target data dimension icon, easy to operate, realizes and is easy, efficient. In this way, user can be by the layout of the self-defined adjustment page of shirtsleeve operation, so that the adjustment page provides more More effective informations promotes user experience, improves the utilization rate of the page
Further, on the basis of the above embodiments, further include:
Judge whether the length is temporally more than the second preset time, if so, obtaining from the target data dimension icon Title dimension data being chosen in corresponding dimension data, for being shown in the homepage of the adjustment page;
Target display location is generated in the homepage of the adjustment page, the number of targets is shown in the target display location According to dimension icon and the title dimension data.
It should be noted that title dimension data is usually chosen by user as needed.For example, choosing target data dimension Key data in the corresponding dimension data of icon is as title dimension data.In target display location display target data dimension After icon, the display of the target data dimension icon that the first position of data classification is shown is unaffected.Target data dimension After target display location is shown, user can check the number by clicking the target display location for icon and title dimension data According to all dimension datas of dimension icon.
For example, after the data dimension icon " proxy client " in long-press Fig. 4 is more than the first preset time, as shown in figure 5, The data dimension icon is moved to the first position under data classification " enterprise development ", other data dimensions under data classification Icon moves afterwards successively.After long-press data dimension icon " proxy client " is more than the second preset time, the data dimension icon and The title dimension data of the data dimension icon is shown in target display location.As shown in figure 5, " proxy client " corresponding dimension Title dimension data in degrees of data includes:The agency of data classification " enterprise development ", the said firm agency belonging to proxy client The note of the customer name of Primary proxy client, the client legal representative of Primary proxy client, Primary proxy client in client The state etc. whether volume capital, the registion time of Primary proxy client, Primary proxy client currently open for business.
Target display location is located at homepage, with after facilitating user to open the details page of the enterprise can without sliding or The display content of the target display location is seen in the case of page turning.Which position of homepage is particularly located at for target display location It sets, can as needed be set by user, usual target display location is located under the essential information of the enterprise, for example, such as Fig. 5 Shown target display location is located under contact details.
In general, the second preset time is more than the first preset time.When length is temporally more than the first preset time, number occurs The movement of the first position in classifying to the data according to the data dimension icon in classification.Further, when length is temporally more than Second preset time, this data dimension icon and title dimension data are moved to the target display location of homepage.It will be appreciated that When the data dimension icon of long-press just starts to be located in the first position of data classification, when long temporally default more than first Between, which does not move, and is temporally more than the second preset time, this data dimension icon and title number of dimensions when long According to the target display location for being moved to homepage.
Target display location generally can see this when opening enterprise's details page in the homepage of the adjustment page in homepage The display content of target display location.Preferably, which is located under Business Name, or is located at essential information Under, such as above business background).
A kind of method of page layout adjustment is present embodiments provided, this method is detecting that it is pre- that length is temporally more than second If after the time, the target data dimension icon of long press operation and title dimension data are moved to target display location so that when The target data dimension icon and title dimension data are presented when opening enterprise's details page, it is convenient to understand target data in time Dimension icon title dimension data corresponding with its.
Further, on the basis of the various embodiments described above, first preset time belongs to [1.5s, 3s], described Second preset time belongs to [4s, 6s].
Further, on the basis of the various embodiments described above, first preset time is 2s, and described second is default Time is 4s or 5s;
Alternatively,
First preset time is 2.5s, and second preset time is 4s or 5s.
First preset time and the second preset time are the preset time, and usual second preset time is more than first Preset time.For example, the first preset time is 1.5s, the second preset time is 4s, 5s or 6s;First preset time is 2s, Second preset time is 4s, 5s or 6s;First preset time is 2s, and the second preset time is 4s, 5s or 6s;First is default Time is 2.5s, and the second preset time is 4s, 5s or 6s.The present embodiment is not specifically limited this.
For example, Fig. 3-Fig. 7 shows that enterprise name is enterprise's details of " company A ".Fig. 3 is into before editing mode The page to be adjusted, Fig. 4 are the adjustment page into editing mode, and Fig. 5 is that target data dimension icon is moved to the first position With include the adjustment page in target display location by target dimension data icon, Fig. 6 is that data dimension icon is adjusted to it The adjustment page behind the first position of corresponding data classification, Fig. 7 are the display page for adjusting backed off after random editing mode.Adjust page After face enters editing mode, as shown in figure 4, data in Fig. 4 are classified as finding target data dimension figure in " enterprise development " It marks " proxy client ", implements long press operation on " proxy client " icon, it, will after length is temporally more than the first preset time " proxy client " is moved to the first position under " enterprise development " (display location where i.e. former " attorney docket "), such as Fig. 5 institutes Show.Then, continue to monitor the duration of the long press operation, if the length of the long press operation is temporally more than the second preset time Afterwards, target dimension data " proxy client " and " proxy client " corresponding principal dimensions data are shown in the basic of " company A " In target display location under information." proxy client " corresponding dimension data can be checked by clicking target display location.
The adjustment page in Fig. 5 is still in editing mode, thus the tune that can carry out page layout by adjusting the page in Fig. 5 It is whole.For example, data in Figure 5 are classified as finding target data dimension icon " key personnel " in " business background ", " main Implement long press operation on personnel " icon, after length is temporally more than the first preset time, key personnel is moved to " enterprise's back of the body The first position (display location where i.e. former " industrial and commercial information ") under scape ", obtains the adjustment page as shown in FIG. 6.Due to reality The time for applying the long press operation on " key personnel " is less than the second preset time, therefore is only moved to " key personnel " icon The first position under " business background ".After the completion of editor, editing mode is exited, obtains the display page as shown in Figure 7.
A kind of method of page layout adjustment is present embodiments provided, the first preset time is default less than second in this method Time, by long monitoring temporally, realizing target data dimension icon not in the first position of its corresponding data classification, then Target data dimension icon is moved to the first position of its corresponding data classification first;Then by target data dimension icon Title dimension data corresponding with the target data dimension icon is shown in the function of target display location.
Further, on the basis of the various embodiments described above, further include:
The data dimension icon in addition to the target data dimension icon in the data dimension icon is obtained, as general When the target data dimension icon is moved to the first position, need progress display location adjustment waits for adjusting data dimension figure Mark;
For it is each it is described wait for adjusting data dimension icon, obtain and the target data dimension icon be moved to the first place Before position, the display location waited for where adjusting data dimension icon as tune front position, and obtains and the tune front position In sequentially adjacent and after the tune front position display location adjusting data dimension is waited for by described as position after tune Position after icon is moved to the tune from the tune front position.
It should be noted that when the position where target data dimension icon is not the first position, when to target data After the display location of dimension icon is adjusted, it is also necessary under classifying to the data, except target data is tieed up in data dimension icon Wait for that the display location of adjusting data dimension icon is adjusted except degree icon.For example, implementing when to " key personnel " in Fig. 5 When long press operation, then also need to " industrial and commercial information ", " business connection ", " shareholder's information ", " investments abroad ", " change record " and The display location of " enterprise annual reports " carries out adaptation adjustment.In the method that the present embodiment limits, these are waited for into adjusting data dimension icon Be moved to successively before carrying out position adjustment to target data dimension icon, this wait for the tune front position where adjusting data dimension icon it At display location afterwards.
For example, as shown in figure 5, before target data dimension icon is moved to the first position, before the tune of " industrial and commercial information " Position is the first position, and position is deputy position after tune, then, will " industry and commerce after " key personnel " being moved to the first position Information " is moved to deputy position.After " industrial and commercial information " is mobile as shown in Figure 6.
The method for present embodiments providing a kind of adjustment of page layout, this method to the position of target data dimension icon into After row adjustment, the remaining method for waiting for that the position of adjusting data dimension icon adjusts accordingly is defined.Pass through the party Method waits for adjusting data dimension icon after the adjustment.It is each to wait for that the relative position between adjusting data dimension icon remains unchanged, it is adjusting While whole target data dimension icon, the relativeness of other icons is maintained.
Further, described after the adjustment page enters editing mode on the basis of the various embodiments described above, also wrap It includes:
Delete operation is triggered to the target data dimension icon if detecting, the target data dimension is deleted It removes;
Trigger action is performed to preset saving button if detecting, each data dimension in the page will be adjusted current time Display location where degree icon is preserved;
Trigger action is performed to preset reduction button if detecting, obtain preserve current time the adjustment page it Before, the adjustment page that the last time preserves shows the reduction page as the reduction page.
It should be noted that as shown in figure 4, the triggering of delete operation passes through to the target data dimension icon upper right corner " cross " carries out clicking operation and can be realized.Saving button and reduction button enter editor as shown in Figure 4 in the adjustment page It is shown after state and (the two buttons is not shown in Fig. 4).Saving button click and can be realized to currently adjusting page The page layout in face is preserved.Reduction button is carried out clicking the reduction that can be realized to the preceding page once preserved.
The method for present embodiments providing a kind of adjustment of page layout, this method provides the adjustment page is preserved, Reduction and to the operation that data dimension icon is deleted, the perfect operation that adjustment page layout is adjusted.
Further, described after the adjustment page enters editing mode on the basis of the various embodiments described above, including:
It detects after the adjustment page to display carries out long press operation or trigger action is executed to preset edit key Afterwards, it shows the corresponding edit page of the adjustment page, obtains the adjustment page into editing mode.
As shown in figure 3, the adjustment page does not enter the dispaly state before editing mode, when detecting length on this page By operation or the clicking operation to edit key on this page is arranged, then enter edit page as shown in Figure 4, for User is to the adjustment page into edlin.
The method for present embodiments providing a kind of adjustment of page layout, this method provides the pages to be adjusted into edlin shape The method of state can be quickly so that the page currently shown enters by long press operation or to the trigger action of edit key Editing mode, to realize the editor to page layout.
Further, on the basis of the various embodiments described above, described after the adjustment page enters editing mode, judgement is It is no to detect long press operation, including:
After the adjustment page enters editing mode, judge whether to detect the behaviour that compressing time is more than third preset time Make, if so, judging that the operation that the compressing time is more than the third preset time is the long press operation;
Wherein, the third preset time is less than first preset time, and the third preset time is less than described Second preset time.
It should be noted that third preset time is the time for judging long press operation, usually less than first it is default when Between and the second preset time.For example, third preset time is 1s, the first preset time is 2s, and the second preset time is 4s.
A kind of method of page layout adjustment is present embodiments provided, this method provides the judgement sides to long press operation Method, by the method achieve the judgement to long press operation, for subsequently to long temporally whether more than the second preset time and the The judgement of one preset time provides the foundation.
As a kind of specific embodiment, personalized enterprise's details page page method of adjustment, such as Fig. 3 are present embodiments provided Shown in Fig. 7.User can be according to the difference of oneself fields, attentinal contents and daily demand, to different data dimensions It deleted, added, moved, wherein the method for the adjustment enterprise details page page includes the following steps:
Step S201:It detects whether each dimension enters editable state, such as enters editable state, then follow the steps S202。
The data can be made by the Edit button or miscellaneous stipulations operation (such as one data dimension icon of long-press) Dimension icon enters editable state.Wherein illustrate two concepts in enterprise's details page:" data classification " refers to business background, enterprise The major class such as industry development.And " data dimension " refers to the information under certain major class, as the data dimension under business background has " industry and commerce letter Breath ", " business connection ", " shareholder's information ", " key personnel " etc..As shown in Figure 2.
Step S202:The operation for detecting user carries out timing to long press operation, judges whether the operation of user is long-press behaviour Make, if so, carrying out timing to long press operation.
When data dimension icon is in editable state, each data dimension icon can be deleted, move, add Add, preserve and (current page is preserved), reduction (makes the page be restored to the arrangement of previous each data dimension icon The operations such as sequentially).
Step S203:If the data dimension icon of long opsition dependent is not in primary position (i.e. number of data classification According to the first position in classification), and long temporally t1 is more than T1 (i.e. the first preset time), then automatically by the data dimension icon It is moved to primary position in data classification, and goes to step S204;If data dimension icon of long opsition dependent itself is In the primary position of data classification, then step S205 is passed directly to;
Wherein, long temporally t1 refers to the long-press of the carry out long press operation at non-primary position in data classification Time;T1 is preferably 2 seconds, can also be 1.5 seconds or 2.5 seconds.The length of T1 can be used as according to ergonomics according into Row determines.If long temporally t1 is more than T1, which is moved to the primary of its corresponding data classification At position.As shown in Figures 4 and 5, after t1 is more than T1, " proxy client " is moved to the primary position of enterprise development Place.User is possible to interrupt the operation of pressing screen at this time, and carries out other operations.
Step S204:Detect whether otherwise the operation for continuing to execute pressing screen, executes if so, thening follow the steps S205 Step S202;
Step S205:Detect that long temporally t2 is more than T2, then automatically by the data dimension icon and title dimension data It is moved to the display location below the essential information of the homepage page.
Long temporally t2 refers to the time of executed long press operation at the primary position in the classification of certain data.T2 is preferred It is 5 seconds, can also be 4 seconds or 6 seconds etc..
Data dimension icon and title dimension data are moved to the display location below the essential information of the homepage page, are When in order to open homepage, data dimension icon partial dimensional data corresponding with the data dimension icon can be seen in homepage (title dimension data).As shown in fig. 7, opening the homepage of " enterprise's details ", you can see " proxy client " this data dimension Icon and " proxy client " corresponding partial dimensional data.
It should be noted that after detecting that user no longer executes long press operation, long press operation is detected again, with Just length is calculated again to be temporally laid out the page again.
Since some data dimension icon of user's long-press is often that user payes attention to and needs for it to be moved to obvious position The data dimension icon set, therefore the length of the length of long press operation temporally is executed in the data dimension icon according to user, it will The first position for being automatically moved to data classification, user can be saved and pull the data dimension icon, and by the data dimension Degree icon is accurately moved to the trouble of the target location of setting, improves user experience.Then it is operated, can be recorded by preserving The user such enterprise's details page is adjusted after page layout, so as to next time access such enterprise's details page when, It can be shown with the page layout of enterprise's details page of preservation.
On the other hand, in the present embodiment, when the corresponding data dimension icon of long press operation is located at the first position, pass through long-press After being operated into editable state, if long be temporally more than 5 seconds (or 4 seconds or 4.5 seconds), directly by the data dimension icon It is directly promoted under the essential information of page homepage (i.e. target display location) with partial dimensional data.
On the one hand method provided in this embodiment allows users to free customized web page layout and obtains the number oneself needed According to the layout effect of dimension icon, user experience and service efficiency are improved;On the other hand, page layout that can be by adjusting after Provide the user with more related information so that the page is simpler to be illustrated, and utilization rate is improved.
Fig. 8 shows a kind of structure diagram of the device for page layout adjustment that the embodiment of the present invention provides, referring to figure 8, the device of page layout adjustment provided in this embodiment, including judgment module 801, acquisition module 802 and adjustment module 803, Wherein,
Judgment module 801, for after the adjustment page enters editing mode, judging whether to detect long press operation, if so, The data dimension icon for obtaining the long press operation position, as target data dimension icon;
Acquisition module 802, for judging whether the length of the long press operation is temporally more than the first preset time, if so, Obtain the classification of the data belonging to the target data dimension icon and for showing the data dimension figure for belonging to the data classification Target display location;
Module 803 is adjusted, under default put in order, being obtained from the display location positioned at the first position, As the first position, the target data dimension icon is moved to the first bit positions;
Wherein, the data are classified as the classification classified to the data in preset data source, in each data classification Data are divided according to dimension, and the dimension data under every dimension corresponds to a data dimension figure in data classification Mark.
The page layout adjustment that the device of page layout adjustment provided in this embodiment is provided suitable for above-described embodiment Method, details are not described herein.
Present embodiments provide a kind of device of page layout adjustment, the device after the adjustment page enters editing mode, If detecting long press operation, judge whether the time of long press operation is more than the first preset time, if so, directly by long press operation institute Position at target data dimension icon be moved on the first display location under the classification of the data described in it.This method exists After the length of long press operation temporally meets condition, directly target data dimension icon is moved under the classification of the data belonging to it The first position eliminates and carries out mobile drag operation to target data dimension icon, easy to operate, realizes and is easy, efficient. By the device, user can be by the layout of the self-defined adjustment page of shirtsleeve operation, so that the adjustment page provides more More effective informations promotes user experience, improves the utilization rate of the page.
The third aspect, Fig. 9 are the structure diagrams for showing electronic equipment provided in this embodiment.
With reference to Fig. 9, including:At least one processor (processor) 901;
And at least one processor (memory) 902, the bus 903 being connect with the processor 901;Wherein,
The processor 901, memory 902 complete mutual communication by the bus 903;
The processor 901 is used to call the program instruction in the memory 902, to execute above-mentioned each method embodiment The method provided, such as including:After the adjustment page enters editing mode, judge whether to detect long press operation, if so, obtaining The data dimension icon for taking the long press operation position, as target data dimension icon;Judge the long press operation Length temporally whether be more than the first preset time, if so, obtain belonging to the target data dimension icon data classification and Display location for showing the data dimension icon for belonging to the data classification;Under default put in order, from the display It is obtained in position positioned at the first position, as the first position, the target data dimension icon is moved to the first position Set place;Wherein, the data are classified as the classification classified to the data in preset data source, the data in each data classification It is divided according to dimension, the dimension data under every dimension corresponds to a data dimension icon in data classification.
Fourth aspect, the present embodiment provides a kind of non-transient computer readable storage medium, the non-transient computer can It reads storage medium and stores computer instruction, the computer instruction makes the above-mentioned each method embodiment of the computer execution be provided Method, such as including:After the adjustment page enters editing mode, judge whether to detect long press operation, if so, described in obtaining The data dimension icon of long press operation position, as target data dimension icon;Judge the long-press of the long press operation Whether the time is more than the first preset time, if so, the data obtained belonging to the target data dimension icon are classified and for showing Show the display location for the data dimension icon for belonging to the data classification;Under default put in order, from the display location It obtains positioned at the first position, as the first position, the target data dimension icon is moved to the first bit positions;Its In, the data are classified as the classification classified to the data in preset data source, and the data in each data classification are according to dimension Degree is divided, and the dimension data under every dimension corresponds to a data dimension icon in data classification.
The present embodiment discloses a kind of computer program product, and the computer program product includes being stored in non-transient calculating Computer program on machine readable storage medium storing program for executing, the computer program include program instruction, when described program instruction is calculated When machine executes, computer is able to carry out the method that above-mentioned each method embodiment is provided, it may for example comprise:Enter in the adjustment page After editing mode, judge whether to detect long press operation, if so, obtaining the data dimension figure of the long press operation position Mark, as target data dimension icon;Judge whether the length of the long press operation is temporally more than the first preset time, if so, Obtain the classification of the data belonging to the target data dimension icon and for showing the data dimension figure for belonging to the data classification Target display location;Under default put in order, obtained positioned at the first position, as the first position from the display location It sets, the target data dimension icon is moved to the first bit positions;Wherein, the data are classified as to preset data source The classification classified of data, the data in each data classification are divided according to dimension, per dimension under number of dimensions According to the data dimension icon corresponded in data classification.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer read/write memory medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or light The various media that can store program code such as disk.
The embodiments such as electronic equipment described above are only schematical, illustrate as separating component wherein described Unit may or may not be physically separated, and the component shown as unit may or may not be object Manage unit, you can be located at a place, or may be distributed over multiple network units.It can select according to the actual needs Some or all of module therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying wound In the case of the labour for the property made, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It is realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be expressed in the form of software products in other words, should Computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally it should be noted that:The above various embodiments is only to illustrate the technical solution of the embodiment of the present invention rather than right It is limited;Although the embodiment of the present invention is described in detail with reference to foregoing embodiments, the ordinary skill of this field Personnel should understand that:It still can be with technical scheme described in the above embodiments is modified, or to which part Or all technical features carries out equivalent replacement;And these modifications or replacements, it does not separate the essence of the corresponding technical solution The range of each embodiment technical solution of the embodiment of the present invention.

Claims (10)

1. a kind of method of page layout adjustment, which is characterized in that including:
After the adjustment page enters editing mode, judge whether to detect long press operation, if so, where obtaining the long press operation Data dimension icon at position, as target data dimension icon;
Judge whether the length of the long press operation is temporally more than the first preset time, if so, obtaining the target data dimension Data classification belonging to icon and the display location for showing the data dimension icon for belonging to the data classification;
Under default put in order, obtained positioned at the first position, as the first position, by the mesh from the display location Mark data dimension icon is moved to the first bit positions;
Wherein, the data are classified as the classification classified to the data in preset data source, the data in each data classification It is divided according to dimension, the dimension data under every dimension corresponds to a data dimension icon in data classification.
2. according to the method described in claim 1, it is characterized in that, further including:
Judge whether the length is temporally more than the second preset time, is corresponded to from the target data dimension icon if so, obtaining Dimension data in choose, for the title dimension data that is shown of homepage in the adjustment page;
Target display location is generated in the homepage of the adjustment page, the target data dimension is shown in the target display location Spend icon and the title dimension data.
3. according to the method described in claim 2, it is characterized in that, first preset time belongs to [1.5s, 3s], described Two preset times belong to [4s, 6s].
4. according to the method described in claim 3, it is characterized in that,
First preset time is 2s, and second preset time is 4s or 5s;
Alternatively,
First preset time is 2.5s, and second preset time is 4s or 5s.
5. according to the method described in claim 1, it is characterized in that, further including:
The data dimension icon in addition to the target data dimension icon in the data dimension icon is obtained, as will be described When target data dimension icon is moved to the first position, need progress display location adjustment waits for adjusting data dimension icon;
For it is each it is described wait for adjusting data dimension icon, obtain and the target data dimension icon be moved to the first position Before, the display location waited for where adjusting data dimension icon as tune front position, and is obtained with the tune front position in institute Default upper adjacent and after the tune front position the display location that puts in order is stated to wait adjusting by described as position after tune Position after data dimension icon is moved to the tune from the tune front position.
6. according to the method described in claim 1, it is characterized in that, it is described adjustment the page enter editing mode after, further include:
Delete operation is triggered to the target data dimension icon if detecting, the target data dimension is deleted;
Trigger action is performed to preset saving button if detecting, each data dimension figure in the page will be adjusted current time Display location where mark is preserved;
Trigger action is performed to preset reduction button if detecting, before obtaining the adjustment page for preserving current time, The adjustment page that the last time preserves shows the reduction page as the reduction page.
7. according to the method described in claim 1, it is characterized in that, described after the adjustment page enters editing mode, judgement is It is no to detect long press operation, including:
It detects after the adjustment page to display carries out long press operation or after executing trigger action to preset edit key, shows Show the corresponding edit page of the adjustment page, obtains the adjustment page into editing mode;
After the adjustment page enters editing mode, judge whether to detect the behaviour that compressing time is more than third preset time Make, if so, judging that the operation that the compressing time is more than the third preset time is the long press operation;
Wherein, the third preset time is less than first preset time, and the third preset time is less than described second Preset time.
8. a kind of device of page layout adjustment, which is characterized in that including:
Judgment module, for after the adjustment page enters editing mode, judging whether to detect long press operation, if so, obtaining institute The data dimension icon for stating long press operation position, as target data dimension icon;
Acquisition module, for judging whether the length of the long press operation is temporally more than the first preset time, if so, described in obtaining Data classification belonging to target data dimension icon and the display for showing the data dimension icon for belonging to the data classification Position;
Module is adjusted, under default put in order, being obtained positioned at the first position, as first place from the display location The target data dimension icon is moved to the first bit positions by position;
Wherein, the data are classified as the classification classified to the data in preset data source, the data in each data classification It is divided according to dimension, the dimension data under every dimension corresponds to a data dimension icon in data classification.
9. a kind of electronic equipment, which is characterized in that including:
At least one processor;And
At least one processor of the processor communication connection, wherein:
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to instruct energy Enough methods executed as described in claim 1 to 7 is any.
10. a kind of computer program product, which is characterized in that the computer program product includes being stored in non-transient computer Computer program on readable storage medium storing program for executing, the computer program include program instruction, when described program is instructed by computer When execution, the computer is made to execute the method as described in claim 1 to 7 is any.
CN201711329413.4A 2017-12-13 2017-12-13 Page layout adjustment method and device Active CN108287643B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711329413.4A CN108287643B (en) 2017-12-13 2017-12-13 Page layout adjustment method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711329413.4A CN108287643B (en) 2017-12-13 2017-12-13 Page layout adjustment method and device

Publications (2)

Publication Number Publication Date
CN108287643A true CN108287643A (en) 2018-07-17
CN108287643B CN108287643B (en) 2020-11-06

Family

ID=62831881

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711329413.4A Active CN108287643B (en) 2017-12-13 2017-12-13 Page layout adjustment method and device

Country Status (1)

Country Link
CN (1) CN108287643B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109445889A (en) * 2018-09-25 2019-03-08 北京奇艺世纪科技有限公司 Page display method, device, terminal, server, computer readable storage medium
WO2020238496A1 (en) * 2019-05-31 2020-12-03 维沃移动通信有限公司 Icon management method and terminal device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090172562A1 (en) * 2007-12-28 2009-07-02 Htc Corporation User interface dynamic layout system, method for arranging user interface layout and touch control display system using the same
CN103377051A (en) * 2013-07-16 2013-10-30 广东欧珀移动通信有限公司 Application interface customizing method based on Android system
CN105892792A (en) * 2015-12-01 2016-08-24 乐视网信息技术(北京)股份有限公司 Operation method of terminal equipment, and terminal equipment
CN106201246A (en) * 2016-06-28 2016-12-07 乐视控股(北京)有限公司 Page layout processing method and processing device
CN106406679A (en) * 2016-11-28 2017-02-15 深圳市金立通信设备有限公司 Icon moving method, and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090172562A1 (en) * 2007-12-28 2009-07-02 Htc Corporation User interface dynamic layout system, method for arranging user interface layout and touch control display system using the same
CN103377051A (en) * 2013-07-16 2013-10-30 广东欧珀移动通信有限公司 Application interface customizing method based on Android system
CN105892792A (en) * 2015-12-01 2016-08-24 乐视网信息技术(北京)股份有限公司 Operation method of terminal equipment, and terminal equipment
CN106201246A (en) * 2016-06-28 2016-12-07 乐视控股(北京)有限公司 Page layout processing method and processing device
CN106406679A (en) * 2016-11-28 2017-02-15 深圳市金立通信设备有限公司 Icon moving method, and terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109445889A (en) * 2018-09-25 2019-03-08 北京奇艺世纪科技有限公司 Page display method, device, terminal, server, computer readable storage medium
WO2020238496A1 (en) * 2019-05-31 2020-12-03 维沃移动通信有限公司 Icon management method and terminal device
US11681410B2 (en) 2019-05-31 2023-06-20 Vivo Mobile Communication Co., Ltd. Icon management method and terminal device

Also Published As

Publication number Publication date
CN108287643B (en) 2020-11-06

Similar Documents

Publication Publication Date Title
CN106055202B (en) A kind of duplication method of attaching and mobile terminal
CN107506343B (en) A kind of processing method and processing device of information editing
CN102799385B (en) desktop control method and device
CN107426403B (en) Mobile terminal
CN106776514A (en) A kind of annotation method and device
CN108345456A (en) Page code generation method, device, computer equipment and storage medium
CN105335224B (en) A kind of application switching method and device
CN106445322A (en) Text processing method and terminal
CN110531920A (en) Display methods, device, terminal and the storage medium of side toolbar
CN104462516B (en) A kind of information cuing method and mobile terminal
KR20130097622A (en) Method and device for generating capture image for display windows
CN106201208A (en) The management method of application card and device
CN110297681A (en) Image processing method, device, terminal and storage medium
CN107608585A (en) The operating method and equipment and mobile terminal of a kind of application program
CN104461298A (en) Screen capturing method and screen capturing tool
CN108287643A (en) A kind of method and device of page layout adjustment
CN106095660A (en) The quality control method of application and device
US10877651B2 (en) Displaying a series of reports within a single user interface
CN113485599A (en) Display control method, display control device, electronic device, and medium
CN108681431A (en) Control method, device and the mobile terminal of concealed space
CN106354378A (en) Method and device for quickly selecting multiple targets
CN109460175B (en) Method and device for moving application icon, electronic terminal and medium
US20170168686A1 (en) Method and electronic device for processing list item operation
CN110286991A (en) A kind of information processing method and device
CN105320412B (en) The processing method and mobile terminal of video file

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant