CN112596641A - Icon adjusting method and device, electronic equipment and storage medium - Google Patents

Icon adjusting method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN112596641A
CN112596641A CN202011455452.0A CN202011455452A CN112596641A CN 112596641 A CN112596641 A CN 112596641A CN 202011455452 A CN202011455452 A CN 202011455452A CN 112596641 A CN112596641 A CN 112596641A
Authority
CN
China
Prior art keywords
icon
area
adjusting
interface
trigger signal
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.)
Pending
Application number
CN202011455452.0A
Other languages
Chinese (zh)
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.)
China Mobile Communications Group Co Ltd
MIGU Digital Media Co Ltd
MIGU Culture Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
MIGU Digital Media Co Ltd
MIGU Culture 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 China Mobile Communications Group Co Ltd, MIGU Digital Media Co Ltd, MIGU Culture Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011455452.0A priority Critical patent/CN112596641A/en
Publication of CN112596641A publication Critical patent/CN112596641A/en
Pending legal-status Critical Current

Links

Images

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/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
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

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

The invention provides an icon adjusting method, an icon adjusting device, electronic equipment and a storage medium, wherein the method comprises the following steps: acquiring a first trigger signal on an icon interface, acquiring first position information according to the first trigger signal, and determining an adjustment area according to the first position information; and acquiring a second trigger signal on the adjusting area, and updating the position of the icon in the adjusting area according to the second trigger signal. According to the icon adjusting method, the icon adjusting device, the electronic equipment and the storage medium, different adjusting modes are configured according to the row/column area occupied by the icons arranged in the row/column in the icon interface, so that the flexible adjustment of the icon position on the icon interface can be quickly realized.

Description

Icon adjusting method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to an icon adjusting method and apparatus, an electronic device, and a storage medium.
Background
In an application program of the mobile terminal, data information in the application program is displayed according to a certain icon interface mode. At present, there are two main ways of adjusting the position of an icon in an icon interface: firstly, pressing an icon for a long time, selecting deletion and then adding the icon again, wherein the icon is positioned at a first position in an icon interface; and secondly, the icon is pressed for a long time, the icon is set to be in a top setting state, and the icon is always positioned at the top position in the icon list.
However, the icon adjustment mode is to perform sequencing according to the time when the icon is added in the icon interface or the data information corresponding to the icon is recently viewed by default. The set-top function is implemented by modifying the set-top label of the icon in the list. In a typical 3-column structured list, only a maximum of 3 icons can be placed in the top first row. The icon position is changed by adding the deleted icon again based on the record of the modified icon in the database, the implementation mode is complicated, the icon layout adjustment function is very limited, and the global adjustment cannot be carried out.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides an icon adjusting method, an icon adjusting device, electronic equipment and a storage medium.
The invention provides an icon adjusting method, which comprises the following steps:
acquiring a first trigger signal on an icon interface, and acquiring first position information according to the first trigger signal;
determining an adjusting area according to the first position information, wherein the adjusting area comprises at least two icons;
and acquiring a second trigger signal on the adjusting area, and updating the position of the icon in the adjusting area according to the second trigger signal.
According to an icon adjusting method provided by the present invention, the determining an adjusting area according to the first position information includes:
determining that the coordinate positions of the double trigger points are located in one row and two columns in the icon interface according to the first position information, and if the coordinate positions of the double trigger points are located in the one row and two columns in the icon interface, adjusting the area to be a column area, wherein the column area is an area occupied by icons arranged in a column in the icon interface;
determining that the coordinate positions of the double trigger points are positioned in two rows and one column in the icon interface according to the first position information, and then adjusting the area into a row area, wherein the row area is an area occupied by icons which are arranged in rows in the icon interface;
wherein the dual trigger point representation has two trigger positions simultaneously on the icon interface.
According to an icon adjusting method provided by the present invention, the updating of the position of the icon in the adjusting area according to the second trigger signal includes:
if the adjusting area is a column area, determining that the triggering type of the second triggering signal is upward sliding or downward sliding, and updating the position of the icon in the adjusting area according to the upward circulation or the downward circulation;
and if the adjusting area is a line area, determining that the triggering type of the second triggering signal is left-sliding or right-sliding, and updating the positions of the icons in the adjusting area according to left-direction circulation or right-direction circulation.
According to an icon adjusting method provided by the present invention, after updating the position of the icon in the adjustment area according to the second trigger signal, the method further includes:
acquiring a third trigger signal on an icon interface, and acquiring third position information according to the third trigger signal;
and locking the updated position of the icon in the icon interface according to the third position information.
According to the icon adjusting method provided by the present invention, after locking the updated position of the icon in the icon interface according to the third position information, the method further comprises:
and updating data of an element summary table in a database according to the positions of the icons in the icon interface, wherein the element summary table is a position set of elements corresponding to the icons in the icon interface in the table.
According to the icon adjusting method provided by the invention, the icon interface is a display page generated according to the positions of all elements in the element summary table when the terminal application is started.
The present invention also provides an icon adjusting apparatus, including:
the acquisition module is used for acquiring a first trigger signal on an icon interface and acquiring first position information according to the first trigger signal;
the determining module is used for determining an adjusting area according to the first position information, and the adjusting area comprises at least two icons;
and the updating module is used for acquiring a second trigger signal on the adjusting area and updating the position of the icon in the adjusting area according to the second trigger signal.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the program to realize the steps of any one of the icon adjusting methods.
The present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the icon adjusting method as described in any one of the above.
According to the icon adjusting method, the icon adjusting device, the electronic equipment and the storage medium, different adjusting modes are configured according to the row/column area occupied by the icons arranged in the row/column in the icon interface, so that the flexible adjustment of the icon position on the icon interface can be quickly realized.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed for the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram illustrating an icon adjusting method according to the present invention;
FIG. 2 is a first schematic diagram illustrating an adjustment process in a column adjustment mode according to the present invention;
FIG. 3 is a schematic diagram of an adjustment flow in a column adjustment mode according to the present invention;
FIG. 4 is a first schematic diagram illustrating an adjustment process in a column adjustment mode according to the present invention;
FIG. 5 is a schematic diagram illustrating a second adjustment flow in the column adjustment mode according to the present invention;
FIG. 6 is a first diagram of an element summary table in a column adjustment mode according to the present invention;
FIG. 7 is a second diagram of an element summary table in the column adjustment mode provided by the present invention;
FIG. 8 is a first diagram of an element summary table under the row adjustment mode provided by the present invention;
FIG. 9 is a second diagram of an element summary table under the row adjustment mode provided by the present invention;
FIG. 10 is a schematic structural diagram of an icon adjusting device provided in the present invention;
fig. 11 is a schematic structural diagram of an electronic device provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following describes an icon adjusting method, an apparatus, an electronic device, and a storage medium provided by the present invention with reference to fig. 1 to 11.
Fig. 1 shows a schematic flow chart of an icon adjusting method provided by the present invention, and referring to fig. 1, the method includes the following steps:
s11, acquiring a first trigger signal on the icon interface, and acquiring first position information according to the first trigger signal;
s12, determining an adjusting area according to the first position information, wherein the adjusting area comprises at least two icons;
and S13, acquiring a second trigger signal on the adjustment area, and updating the position of the icon in the adjustment area according to the second trigger signal.
With respect to step S11-step S13, it should be noted that, in the embodiment of the present invention, the icon adjusting method may be applied to adjusting the position of an icon in an icon interface on an application software interface installed on a mobile terminal. Such as folder icon shifting, electronic book cover icon shifting, etc.
In the invention, the icon interface displays an icon list, and usually adopts a multi-row and multi-column distribution structure to display the distribution positions of different data information on the display layer.
And configuring different adjusting modes for adjusting the icon position in the icon interface. The adjustment mode is equivalent to an adjustment scene or an adjustment strategy for adjusting the icon in the current adjustment area. Therefore, a trigger operation needs to be performed on the icon interface, a corresponding trigger signal (i.e., the aforementioned first trigger signal) is acquired according to the trigger operation, position information is obtained according to the trigger signal, and an adjustment area in the current adjustment process is determined according to the position information.
Different adjusting modes are provided, and different adjusting areas are arranged in the icon interface. In the icon interface of the row and column distribution structure, the adjustment area comprises a row area and a column area. Within a row area, the adjusted icons are all of the icons in a row. In the column area, the adjusted icons are all the icons in a column. Since the positions of the icons in the adjustment area need to be adjusted, there are at least two icons in the adjustment area, which is required for adjustment.
For this reason, after determining the adjustment region, the system needs to acquire a trigger signal of the user on the determined adjustment region (i.e., the second trigger signal in the above step). The trigger signal is parameter information of the user during sliding in the adjustment area, and includes sliding displacement, sliding rate and the like.
In the invention, the adjusting area is one row or one column in the icon list, so that the position of the icon in the adjusting area can be updated according to the sliding operation of the user in the adjusting area.
According to the icon adjusting method provided by the invention, different adjusting modes are configured according to the row/column area occupied by the icons arranged in the row/column in the icon interface, so that the flexible adjustment of the icon position on the icon interface can be quickly realized.
In the further explanation of the above method, the explanation is mainly made on the process of determining the adjustment region according to the first position information, and the details are as follows:
determining that the coordinate positions of the double trigger points are located in one row and two columns in the icon interface according to the first position information, and if the coordinate positions of the double trigger points are located in the one row and two columns in the icon interface, adjusting the area to be a column area, wherein the column area is an area occupied by icons arranged in a column in the icon interface;
and determining that the coordinate positions of the double trigger points are positioned in two rows and one column in the icon interface according to the first position information, wherein the adjusting area is a row area, and the row area is an area occupied by the icons which are arranged in rows in the icon interface.
In this regard, in the present invention, when a user performs a trigger operation, a trigger point is formed on the interface, and there are a single trigger point and a dual trigger point. A single trigger point represents that there is only one trigger position on the icon interface; the double trigger point indicates that two trigger positions exist on the icon interface at the same time, namely user single-finger trigger or user double-finger trigger. At this time, the coordinate position of the trigger point in the icon interface can be collected. That is, in the present invention, it can be determined in the first position information whether the trigger operation is the one-trigger point or the two-trigger point, and the coordinate position where the trigger point is located.
If the triggering operation is a double triggering point, and the coordinate positions of the double triggering points are located in one row and two columns in the icon interface, the adjusting area is a column area;
if the triggering operation is a double triggering point, and the coordinate positions of the double triggering points are located in two rows and one column in the icon interface, the adjustment area is a row area.
In the adjustment method corresponding to the column area, only all icons in each column area are adjusted.
In the adjustment method corresponding to the row area, only all icons in each row area are adjusted.
Since one contact in the icon interface is located in both the row and column regions. Therefore, the one shot point cannot determine the row area or the column area.
Therefore, in the present invention, the prerequisite condition for determining the adjustment region is made by using two trigger points.
Two trigger points in the icon interface can be freely positioned, so that there are two trigger points occupying both the row area and the column area. Therefore, the dual trigger point in this case also cannot determine the row area or the column area.
In the icon adjusting method provided by the invention, in the triggering process, the double-trigger-point type is defined as a prerequisite for judging the adjusting area, and the actual situation of the trigger point in the row and column area is matched with the icon adjustment of the row and column area in the icon interface.
In the further explanation of the above method, the processing procedure of updating the position of the icon in the adjustment area according to the second trigger signal is mainly explained, which is specifically as follows:
if the adjusting area is a column area, determining that the triggering type of the second triggering signal is upward sliding or downward sliding, and updating the position of the icon in the adjusting area according to the upward circulation or the downward circulation;
and if the adjusting area is a line area, determining that the triggering type of the second triggering signal is left-sliding or right-sliding, and updating the positions of the icons in the adjusting area according to left-direction circulation or right-direction circulation.
In contrast, in the present invention, the positions of all the icons in the adjustment area are updated, and the user is required to complete the trigger operation in the adjustment area.
In the present invention, the adjustment region includes a row region and a column region. The triggering operation performed in the area is up-down sliding or left-right sliding.
When the adjustment area is a column area in the icon interface. At the moment, the user can be collected by the system only by triggering on the column area, and when the triggering type of the triggering signal is determined to be sliding up or sliding down, the system correspondingly finishes position updating of the icons in the adjusting area according to the ascending circulation or the descending circulation. Here, the update method of the up cycle or the down cycle is described as a specific example.
The icons of one column area are numbered 1, 4, 7, 10. The legends for this column area are updated to 4, 7, 10, 1 after the up cycle. The legends for the column regions are updated to 10, 1, 4, 7 after the down cycle.
When the adjusting area is a row area in the icon list, the user can only trigger on the row area and can be collected by the system, and when the trigger type of the trigger signal is determined to be left-sliding or right-sliding, the system correspondingly completes position updating of the icons in the adjusting area according to left-circulating or right-circulating. Here, the update method of the left loop or the right loop is described as a specific example.
The icons of one row area are numbered 1, 2, 3. The legend for this row area is updated to 2, 3, 1 after the left loop. The icon labels of the row area are updated to 3, 1, 2 after the right loop.
The icon adjusting method further provided by the invention has the advantages that the corresponding sliding operation is carried out in the row area and the column area, so that the position of the required icon in the area can be adjusted to the position in the front row in the icon interface, and the important attention to important data is realized.
In the further description of the method, the processing steps after the icon in the adjustment area is updated according to the second trigger signal are explained in an extensible manner, specifically as follows:
acquiring a third trigger signal on the icon interface, and acquiring third position information according to the third trigger signal;
and locking the updated position of the icon in the icon interface according to the third position information.
In contrast, in the present invention, after the user completes the icon adjustment in the adjustment area, the icon position in the icon interface is expected, and then no adjustment operation is needed, and at this time, the currently adjusted icon interface needs to be saved, so as to lock the updated position of the icon in the icon interface.
In the present invention, the above-described procedure is in principle the same as the above-mentioned determination of the adjustment region. The trigger signal on the icon list (i.e. the mentioned third trigger signal) needs to be acquired as well, and the position information (i.e. the coordinate positions of the double trigger points and the double trigger points) is determined according to the trigger signal; and locking the updated position of the icon in the icon interface according to the position information.
Similarly, if the coordinate positions of the double trigger points are determined to be positioned in one row and two columns in the icon list according to the position information, the updated positions of the icons in the icon interface are locked.
Similarly, if the coordinate positions of the double trigger points are determined to be positioned in two rows and one column in the icon list according to the position information, the updated positions of the icons in the icon interface are locked.
The icon adjusting method provided by the invention is further used for better storing the icon interface after the position is updated so as to avoid position error replacement caused by misoperation and facilitate other operations on the corresponding data of the icon, and the updated position of the icon in the icon interface needs to be locked in time.
The above treatment process is explained in the following by specific examples as a whole, specifically as follows:
take the interface of the electronic book APP installed in the mobile terminal as an example.
As shown in fig. 2 and 3, when the user presses any two columns of double fingers, the system determines that the double fingers are pressed through screen gesture detection, then calculates the abscissa of the double fingers to be respectively located in any two columns of areas and in the same row of areas through the coordinate positions of the double fingers on the screen, the system enters an adjustment mode of the column area, at this time, the single finger circularly slides up and down any one column, after the double fingers press any two columns again after being adjusted to a proper position, the system determines the double finger pressing area through gesture detection, the adjustment mode of the column area is determined through the system, and the icon interface displays the updated state of the icon position.
As shown in fig. 4 and 5, when the user presses any two rows of double fingers, the system determines that the double fingers are pressed through screen gesture detection, then calculates the longitudinal coordinates of the double fingers to be respectively located in any two rows of areas and located in the same column of areas through the screen coordinates of the double fingers, the system enters an adjustment mode of the row area, at this time, the single finger performs left-right circular sliding on any row, after the double fingers press any two rows again after being adjusted to a proper position, the system determines that the double fingers press the areas through gesture detection, the system exits the adjustment mode of the column area, and the icon interface displays the updated state of the icon position.
In the further explanation of the above method, the processing procedure of updating the data of the element summary table in the database according to the position of the icon in the icon interface is mainly explained, which is specifically as follows:
in the invention, the element summary table is a position set of elements corresponding to each icon in the icon interface in the table. The element is data information corresponding to an icon, for example, an icon (cover) in an electronic bookshelf corresponds to an electronic book text (for example, in a TXT format).
In the invention, after the position of the icon displayed in the icon interface is updated, the position of the element on the display level is updated, and the position of the element on the database level also needs to be updated correspondingly. The icon interface is a display page generated according to the positions of the elements in the element summary table when the terminal application software is started. Therefore, even if the position of the element in the element list is not updated, the icon interface before the update is displayed when the icon interface is restarted.
The following explains the data update of the element summary table by a specific example, as follows:
taking the reading App as an example, the book data structure on the bookshelf is an element summary table, and each book represents an element in the element summary table. And reading element data from the element summary table when the bookshelf interface (namely the icon interface) on the App is opened or the bookshelf interface is updated each time. Taking a bookshelf interface with three columns and multiple rows as an example, the position of each element on the element summary table is calculated by using the following formula:
and c +3 r, wherein the location represents the position number of the element, c represents the column, r represents the row, and r is determined by dividing the total number n of the elements by 3 and starts from 0.
Taking column element adjustment as an example, as shown in fig. 6, the total element table is divided into 3 sub-lists according to formula 1(location ═ 1+3 × r), formula 2(location ═ 2+3 × r), and formula 3(location ═ 3+3 × r). Column element adjustments are made within any of these three sublists.
Assuming that sublist 1 is adjusted, the positions of elements in sublist 1 can be changed according to the up-and-down movement of a finger, the finger leaves the screen, sublist 1 has a condition that half of the elements are in the screen, correction is carried out according to the occupation ratio of the elements in the screen, if more than half of the elements are in the screen, sublist 1 scrolls downwards until the top edge of the elements is adjusted to be revealed; if more than half of the element is not within the screen, then sub-list 1 scrolls up until adjusted to the bottom edge of the element just disappearing; as shown in FIG. 7, the position of element n-2 is adjusted to become the position of the previous element 1, meaning that all element positions within sublist 1 have changed.
After the user confirms, the system starts to calculate the latest positions of all elements: if the sublist 1 is changed, calculating according to formula 1, and replacing elements 1+3 x 0-1 +3 x r in the general table one by using the elements in the sublist 1; if the sublist 2 is changed, calculating according to a formula 2, and replacing elements 2+3 x 0-2 +3 x r in the general table one by using elements in the sublist 2; if the sublist 3 is changed, calculating according to a formula 3, and replacing elements 3+3 x 0-3 +3 x r in the general table one by using elements in the sublist 2; after the element adjustment is finished, the general table is stored in the database, then the database is refreshed, the latest general table element is loaded in the database, and the subsequent row element position adjustment is repeated.
As shown in fig. 8, the position adjustment of 3 elements on the same row can be calculated by using a formula (location ═ c +3 × r, where c denotes a column and r denotes a row). Taking the first row adjustment as an example, as shown in fig. 9, the position of element 3 is changed to the position of the previous element 1 by the adjustment, which means that all the element positions in the sub-row table 1 are changed. And after the user confirms, the system starts to calculate the latest positions of all the elements.
If the subline table 1 is changed, 3 elements in the subline table 1 are needed to replace the elements 1+3 × r-3 +3 × r r ═ 0 in the general table one by one; if the subline table 2 is changed, 3 elements in the subline table 2 are required to replace 1+3 × r-3 +3 × r r in the general table one by one to be 1; if the subline table 3 is changed, 3 elements in the subline table 3 are needed to replace 1+3 r-3 +3 r r-2 in the general table one by one; by analogy, if the child row table n/3 is changed, 3 elements in the child row table n/3 are required to replace 1+3 × r-3 +3 × r r ═ n/3-1 in the general table one by one.
The icon adjusting method further provided by the invention needs to synchronously change the data information on the display level and the database level, and the practical effect that the position of the icon changes after the application software is started for many times is realized.
The icon adjusting device provided by the present invention is described below, and the icon adjusting device described below and the icon adjusting method described above may be referred to correspondingly.
Fig. 10 shows a schematic structural diagram of an icon adjusting apparatus provided by the present invention, referring to fig. 10, the apparatus includes an obtaining module 101, a determining module 102, and an updating module 103, where:
the acquiring module 101 is configured to acquire a first trigger signal on an icon interface and acquire first position information according to the first trigger signal;
a determining module 102, configured to determine an adjustment region according to the first position information, where the adjustment region includes at least two icons;
and the updating module 103 is configured to acquire a second trigger signal on the adjustment area, and update the position of the icon in the adjustment area according to the second trigger signal.
In a further description of the above apparatus, the determining module, in the process of determining the adjustment region according to the first position information, is specifically configured to:
determining that the coordinate positions of the double trigger points are located in one row and two columns in the icon interface according to the first position information, and if the coordinate positions of the double trigger points are located in the one row and two columns in the icon interface, adjusting the area to be a column area, wherein the column area is an area occupied by icons arranged in a column in the icon interface;
determining that the coordinate positions of the double trigger points are positioned in two rows and one column in the icon interface according to the first position information, and then adjusting the area into a row area, wherein the row area is an area occupied by icons which are arranged in rows in the icon interface;
wherein the dual trigger point representation has two trigger positions simultaneously on the icon interface.
In a further description of the foregoing apparatus, the update module, in the process of updating the position of the icon in the adjustment area according to the second trigger signal, is specifically configured to:
if the adjusting area is a column area, determining that the triggering type of the second triggering signal is upward sliding or downward sliding, and updating the position of the icon in the adjusting area according to the upward circulation or the downward circulation;
and if the adjusting area is a line area, determining that the triggering type of the second triggering signal is left-sliding or right-sliding, and updating the positions of the icons in the adjusting area according to left-direction circulation or right-direction circulation.
In further explanation of the above apparatus, the apparatus further includes a reset module, configured to obtain a third trigger signal on an icon interface after performing location update on the icon in the adjustment area according to the second trigger signal, and obtain third location information according to the third trigger signal; and locking the updated position of the icon in the icon interface according to the third position information.
In further explanation of the above apparatus, the apparatus further includes a storage module, configured to, after an update position of an icon in the icon interface is locked according to the third position information, perform data update on an element summary table in the database according to a position of the icon in the icon interface, where the element summary table is a position set, in the table, of an element corresponding to each icon in the icon interface.
In a further description of the above apparatus, the icon interface is a display page generated according to positions of elements in the element summary table when the terminal application is started.
Since the principle of the apparatus according to the embodiment of the present invention is the same as that of the method according to the above embodiment, further details are not described herein for further explanation.
It should be noted that, in the embodiment of the present invention, the relevant functional module may be implemented by a hardware processor (hardware processor).
According to the icon adjusting method provided by the invention, different adjusting modes are configured according to the row/column area occupied by the icons arranged in the row/column in the icon interface, so that the flexible adjustment of the icon position on the icon interface can be quickly realized.
Fig. 11 is a schematic physical structure diagram of an electronic device, and as shown in fig. 11, the electronic device may include: a processor (processor)111, a communication Interface (Communications Interface)112, a memory (memory)113 and a communication bus 114, wherein the processor 111, the communication Interface 112 and the memory 113 complete communication with each other through the communication bus 114. Processor 111 may call logic instructions in memory 113 to perform an icon adjustment method comprising: acquiring a first trigger signal on an icon interface, acquiring first position information according to the first trigger signal, and determining an adjustment area according to the first position information, wherein the adjustment area comprises at least two icons; and acquiring a second trigger signal on the adjusting area, and updating the position of the icon in the adjusting area according to the second trigger signal.
In addition, the logic instructions in the memory 113 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which when executed by a computer, enable the computer to perform the icon adjusting method provided by the above methods, the method comprising: acquiring a first trigger signal on an icon interface, acquiring first position information according to the first trigger signal, and determining an adjustment area according to the first position information, wherein the adjustment area comprises at least two icons; and acquiring a second trigger signal on the adjusting area, and updating the position of the icon in the adjusting area according to the second trigger signal.
In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium having stored thereon a computer program, which when executed by a processor is implemented to perform the icon adjusting method provided above, the method including: acquiring a first trigger signal on an icon interface, acquiring first position information according to the first trigger signal, and determining an adjustment area according to the first position information, wherein the adjustment area comprises at least two icons; and acquiring a second trigger signal on the adjusting area, and updating the position of the icon in the adjusting area according to the second trigger signal.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An icon adjusting method is characterized by comprising the following steps:
acquiring a first trigger signal on an icon interface, and acquiring first position information according to the first trigger signal;
determining an adjusting area according to the first position information, wherein the adjusting area comprises at least two icons;
and acquiring a second trigger signal on the adjusting area, and updating the position of the icon in the adjusting area according to the second trigger signal.
2. The icon adjusting method according to claim 1, wherein the determining an adjustment area according to the first position information includes:
determining that the coordinate positions of the double trigger points are located in one row and two columns in the icon interface according to the first position information, and if the coordinate positions of the double trigger points are located in the one row and two columns in the icon interface, adjusting the area to be a column area, wherein the column area is an area occupied by icons arranged in a column in the icon interface;
determining that the coordinate positions of the double trigger points are positioned in two rows and one column in the icon interface according to the first position information, and then adjusting the area into a row area, wherein the row area is an area occupied by icons which are arranged in rows in the icon interface;
wherein the dual trigger point representation has two trigger positions simultaneously on the icon interface.
3. The icon adjusting method according to claim 2, wherein the updating the position of the icon in the adjusting area according to the second trigger signal includes:
if the adjusting area is a column area, determining that the triggering type of the second triggering signal is upward sliding or downward sliding, and updating the position of the icon in the adjusting area according to the upward circulation or the downward circulation;
and if the adjusting area is a line area, determining that the triggering type of the second triggering signal is left-sliding or right-sliding, and updating the positions of the icons in the adjusting area according to left-direction circulation or right-direction circulation.
4. The icon adjusting method according to claim 1, further comprising, after updating the position of the icon in the adjustment area according to the second trigger signal:
acquiring a third trigger signal on an icon interface, and acquiring third position information according to the third trigger signal;
and locking the updated position of the icon in the icon interface according to the third position information.
5. The icon adjusting method according to claim 4, further comprising, after locking the updated position of the icon within the icon interface according to the third position information:
and updating data of an element summary table in a database according to the positions of the icons in the icon interface, wherein the element summary table is a position set of elements corresponding to the icons in the icon interface in the table.
6. The icon adjusting method according to claim 5, wherein the icon interface is a display page generated according to the position of each element in the element summary table when the terminal application is started.
7. An icon adjusting apparatus, comprising:
the acquisition module is used for acquiring a first trigger signal on an icon interface and acquiring first position information according to the first trigger signal;
the determining module is used for determining an adjusting area according to the first position information, and the adjusting area comprises at least two icons;
and the updating module is used for acquiring a second trigger signal on the adjusting area and updating the position of the icon in the adjusting area according to the second trigger signal.
8. The icon adjusting apparatus according to claim 7, wherein the determining module, in the process of determining the adjustment region according to the first position information, is specifically configured to:
determining that the coordinate positions of the double trigger points are located in one row and two columns in the icon interface according to the first position information, and if the coordinate positions of the double trigger points are located in the one row and two columns in the icon interface, adjusting the area to be a column area, wherein the column area is an area occupied by icons arranged in a column in the icon interface;
determining that the coordinate positions of the double trigger points are positioned in two rows and one column in the icon interface according to the first position information, and then adjusting the area into a row area, wherein the row area is an area occupied by icons which are arranged in rows in the icon interface;
wherein the dual trigger point representation has two trigger positions simultaneously on the icon interface.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the icon adjusting method according to any one of claims 1 to 6 are implemented when the program is executed by the processor.
10. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the icon adjusting method according to any one of claims 1 to 6.
CN202011455452.0A 2020-12-10 2020-12-10 Icon adjusting method and device, electronic equipment and storage medium Pending CN112596641A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011455452.0A CN112596641A (en) 2020-12-10 2020-12-10 Icon adjusting method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011455452.0A CN112596641A (en) 2020-12-10 2020-12-10 Icon adjusting method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112596641A true CN112596641A (en) 2021-04-02

Family

ID=75192580

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011455452.0A Pending CN112596641A (en) 2020-12-10 2020-12-10 Icon adjusting method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112596641A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113918058A (en) * 2021-09-30 2022-01-11 深圳市科曼医疗设备有限公司 Medical terminal interface layout transformation method, device, equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102999269A (en) * 2012-12-26 2013-03-27 东莞宇龙通信科技有限公司 Terminal and terminal control method
US20130187860A1 (en) * 2010-08-11 2013-07-25 Jenny Fredriksson Regulation of navigation speed among displayed items and related devices and methods
CN105573645A (en) * 2015-12-10 2016-05-11 广东欧珀移动通信有限公司 List sorting adjustment method and mobile terminal
US20160274749A1 (en) * 2014-01-15 2016-09-22 Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. Terminal control method and terminal control device
CN106201235A (en) * 2015-04-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 The method of object choice, device and terminal
CN106293427A (en) * 2015-05-14 2017-01-04 富泰华工业(深圳)有限公司 User interface method of adjustment and electronic installation
CN111078069A (en) * 2019-11-22 2020-04-28 珠海格力电器股份有限公司 Interface icon moving method, storage medium and terminal
US20200183549A1 (en) * 2017-06-16 2020-06-11 Beijing Xiaomi Mobile Software Co., Ltd. Application icon moving method and apparatus, terminal and storage medium
CN111338529A (en) * 2020-02-27 2020-06-26 维沃移动通信有限公司 Icon display method and electronic equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130187860A1 (en) * 2010-08-11 2013-07-25 Jenny Fredriksson Regulation of navigation speed among displayed items and related devices and methods
CN102999269A (en) * 2012-12-26 2013-03-27 东莞宇龙通信科技有限公司 Terminal and terminal control method
US20160274749A1 (en) * 2014-01-15 2016-09-22 Yulong Computer Telecommunication Scientific (Shenzhen) Co., Ltd. Terminal control method and terminal control device
CN106201235A (en) * 2015-04-29 2016-12-07 宇龙计算机通信科技(深圳)有限公司 The method of object choice, device and terminal
CN106293427A (en) * 2015-05-14 2017-01-04 富泰华工业(深圳)有限公司 User interface method of adjustment and electronic installation
CN105573645A (en) * 2015-12-10 2016-05-11 广东欧珀移动通信有限公司 List sorting adjustment method and mobile terminal
US20200183549A1 (en) * 2017-06-16 2020-06-11 Beijing Xiaomi Mobile Software Co., Ltd. Application icon moving method and apparatus, terminal and storage medium
CN111078069A (en) * 2019-11-22 2020-04-28 珠海格力电器股份有限公司 Interface icon moving method, storage medium and terminal
CN111338529A (en) * 2020-02-27 2020-06-26 维沃移动通信有限公司 Icon display method and electronic equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113918058A (en) * 2021-09-30 2022-01-11 深圳市科曼医疗设备有限公司 Medical terminal interface layout transformation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US20120036435A1 (en) Apparatuses and Methods for Rearranging Menu Items
EP2905689B1 (en) Method and apparatus for displaying character on touchscreen
US20120036459A1 (en) Apparatuses and Methods for Arranging and Manipulating Menu Items
EP2871561A1 (en) Desktop system of mobile terminal and interface interaction method and device
CN105579947A (en) Apparatus and method for displaying chart in electronic device
CN106886511B (en) Network table processing method and device
CN107998657B (en) Sorting processing method and device and computer readable storage medium
CN112596641A (en) Icon adjusting method and device, electronic equipment and storage medium
CN111694499A (en) Carousel picture display method and carousel picture display device
CN111338732A (en) Display method and device for long list page
EP2226706A1 (en) Information processing device and information processing method
CN107340955B (en) Method and device for acquiring position information of view after position change on screen
CN112083858A (en) Method and device for adjusting display position of control
CN107728868B (en) Method and device for synchronizing components in mobile page and mobile terminal
CN111143731A (en) Display method and device for webpage interface zooming and terminal equipment
CN111290678A (en) Picture preview method, device and equipment
CN111078069A (en) Interface icon moving method, storage medium and terminal
CN113835806A (en) Page layout method and device, electronic equipment and storage medium
CN107508992A (en) A kind of mobile terminal and its method and system for starting application program shortcut
CN110865751A (en) Content selection method and electronic equipment
CN115933943A (en) Image display method and device and storage medium
CN111273826B (en) Desktop icon management method, device, equipment and storage medium
CN114020938A (en) Method and device for playing pictures in circulating rolling mode, display equipment and storage medium
CN109085978B (en) View display method, storage medium and mobile terminal
CN109254810B (en) List display method and device, computer equipment and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210402