CN113885756A - Desktop icon adjusting method, system, device and storage medium - Google Patents

Desktop icon adjusting method, system, device and storage medium Download PDF

Info

Publication number
CN113885756A
CN113885756A CN202111229033.XA CN202111229033A CN113885756A CN 113885756 A CN113885756 A CN 113885756A CN 202111229033 A CN202111229033 A CN 202111229033A CN 113885756 A CN113885756 A CN 113885756A
Authority
CN
China
Prior art keywords
icon
floating window
desktop
adjusting
mode
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
CN202111229033.XA
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.)
Shenzhen Kuaiyidian Education Science & Technology Co ltd
Original Assignee
Shenzhen Kuaiyidian Education Science & 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 Shenzhen Kuaiyidian Education Science & Technology Co ltd filed Critical Shenzhen Kuaiyidian Education Science & Technology Co ltd
Priority to CN202111229033.XA priority Critical patent/CN113885756A/en
Publication of CN113885756A publication Critical patent/CN113885756A/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/0486Drag-and-drop
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

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

Abstract

The application discloses a desktop icon adjusting method, a system, equipment and a storage medium, wherein the method comprises the following steps: establishing communication connection with a target terminal; acquiring the moving direction of the floating window; acquiring a corresponding icon adjusting mode based on the moving direction of the floating window; based on the acquired icon adjustment mode, the corresponding icon adjustment instruction is sent to the target terminal, and by means of the scheme, the desktop icon can be remotely adjusted, operation is simple and convenient, and user experience is improved.

Description

Desktop icon adjusting method, system, device and storage medium
Technical Field
The present application relates to the field of desktop icon applications, and in particular, to a method, a system, a device, and a storage medium for desktop icon adjustment.
Background
At present, mobile terminals are more and more compact with people's life, and smart phones, tablet computers and the like are seen everywhere in daily life. With the development of various application software, the functions of the mobile terminal are more and more powerful, and the hardware performance of the mobile terminal is more and more high for the good operation of the device and for improving the experience and feeling of the user, wherein one of the prominent manifestations is that the screen size of the mobile terminal is more and more large, so that more contents can be accommodated. With the increase of the screen size, icons which can be arranged on the desktop of the mobile terminal are increased remarkably, and the user requirements that the positions of the icons can be dragged and the application icons can be classified and sorted are derived. For example, users need to arrange common software in front, so that the applications can be found conveniently and can be accessed quickly. The user needs to bring together the same type of applications, such as application software for travel, and can name folders, etc. by himself.
Currently, most android desktops implement this function, but do not have the function of remotely managing application icon display and hiding. Therefore, the prior art has yet to be improved.
Disclosure of Invention
The application aims to realize remote control desktop icon adjustment.
The technical purpose of the application is realized by the following technical scheme:
in a first aspect of the present application, a desktop icon adjusting method is disclosed, where the method includes:
establishing communication connection with a target terminal;
acquiring the moving direction of the floating window;
acquiring a corresponding icon adjusting mode based on the moving direction of the floating window;
and sending a corresponding icon adjusting instruction to the target terminal based on the acquired icon adjusting mode.
According to the scheme, the communication connection is established with the target terminal, the floating window is moved, the corresponding icon adjusting mode is obtained based on the moving direction of the floating window, and then the corresponding icon adjusting instruction is sent to the target terminal, so that the remote control of the desktop icon is realized.
Optionally, the desktop icon adjusting method further includes:
presetting a floating window, and establishing corresponding relations between different moving directions of the floating window and different adjustment modes of the desktop icon.
According to the scheme, different floating window moving directions and corresponding desktop icon adjusting modes are established through the preset floating window, so that the corresponding icon adjusting modes are conveniently obtained when the floating window is moved, a corresponding icon adjusting instruction is sent to the target terminal, and remote accurate control of the desktop icons is achieved.
Optionally, in the desktop icon adjusting method, the step of obtaining the corresponding icon adjusting mode based on the moving direction of the floating window includes:
establishing a coordinate system based on the movable region of the floating window;
acquiring an initial position coordinate and an end position coordinate of the floating window;
respectively calculating absolute distances in the directions of a horizontal axis and a vertical axis;
acquiring the ratio of a smaller absolute distance to a larger absolute distance in the absolute distances in the directions of the transverse axis and the longitudinal axis;
when the ratio is smaller than the preset value, the icon is adjusted in a mode that the desktop icon is subjected to position interchange based on the direction of a larger absolute distance;
when the ratio is larger than the preset value, the icon is adjusted in a mode that the desktop icon exchanges the diagonal position.
According to the scheme, the coordinates of the initial position and the ending position of the floating window are obtained by establishing the coordinate system, the absolute distance between the transverse axis and the longitudinal axis is calculated, if the ratio of the smaller absolute distance to the larger absolute distance is smaller than the preset value, the position interchange in the direction of the transverse axis or the longitudinal axis is represented, and if the ratio is larger than the preset value, the position interchange of the diagonal line is represented.
Optionally, in the method for adjusting a desktop icon, the step of obtaining a corresponding icon adjustment mode based on the moving direction of the floating window further includes:
acquiring the moving speed of the floating window;
when the moving speed is within a first preset range, the icon is adjusted in a mode that the position of the icon moves;
when the moving speed is in the second preset range, the icon is adjusted in a mode that the positions of the icons are interchanged.
According to the scheme, the moving speed of the floating window is obtained, whether the icon moves or is exchanged is judged, and the accuracy of desktop icon adjustment control is further improved.
Optionally, in the method for adjusting a desktop icon, when the moving speed is within a second predetermined range, the icon is adjusted in a manner that positions of icons are interchanged, and the method includes:
and when the target position is superposed with the target icon position, the icon is adjusted in a mode of combining the icons.
According to the scheme, the icons at the target positions are overlapped, and then the icons are merged, so that the accuracy of icon adjustment control is further improved.
Optionally, in the desktop icon adjusting method, in the step of establishing communication connection with the target terminal, communication connection is established with the target terminal based on aurora pushing.
According to the technical scheme, the communication connection between the terminal and the target terminal is achieved through aurora pushing, the requirement for ensuring certain network connection stability is low, and the power consumption is reduced.
On the other hand, the application also discloses a desktop icon adjusting system, which includes:
the communication module is used for establishing communication connection with a target terminal;
the moving direction obtaining module is used for obtaining the moving direction of the floating window;
the icon adjustment mode judging module is used for acquiring a corresponding icon adjustment mode based on the moving direction of the floating window;
and the adjustment instruction sending module is used for sending the corresponding icon adjustment instruction to the target terminal based on the acquired icon adjustment mode.
According to the scheme, the communication connection is established with the target terminal, the floating window is moved, the corresponding icon adjusting mode is obtained based on the moving direction of the floating window, and then the corresponding icon adjusting instruction is sent to the target terminal, so that the remote control of the desktop icon is realized.
Optionally, the desktop icon adjusting system further includes:
and the presetting module is used for presetting the floating window, and establishing corresponding relations between different moving directions of the floating window and different adjustment modes of the desktop icon.
According to the scheme, different floating window moving directions and corresponding desktop icon adjusting modes are established through the preset floating window, so that the corresponding icon adjusting modes are conveniently obtained when the floating window is moved, a corresponding icon adjusting instruction is sent to the target terminal, and remote accurate control of the desktop icons is achieved.
In another aspect of the present application, a desktop icon adjusting apparatus is further disclosed, wherein the apparatus includes a memory and a processor, and the memory stores a computer program that can be loaded by the processor and execute the desktop icon adjusting method described above.
In another aspect of the present application, a storage medium is also disclosed, in which a computer program capable of being loaded by a processor and executing the desktop icon adjusting method as described above is stored.
In summary, the present application discloses a method, a system, a device and a storage medium for adjusting a desktop icon, wherein the method includes: establishing communication connection with a target terminal; acquiring the moving direction of the floating window; acquiring a corresponding icon adjusting mode based on the moving direction of the floating window; based on the acquired icon adjustment mode, the corresponding icon adjustment instruction is sent to the target terminal, and by means of the scheme, the desktop icon can be remotely adjusted, operation is simple and convenient, and user experience is improved.
Drawings
Fig. 1 is a flowchart illustrating steps of a desktop icon adjusting method according to the present application.
Fig. 2 is a block diagram of a desktop icon adjustment system according to the present application.
Detailed Description
The present application is described in further detail below with reference to the attached drawings.
In the embodiment of the present application, in order to implement remote control of a desktop icon, a method for adjusting a desktop icon is disclosed, where referring to fig. 1, a flowchart of steps of the method is shown, and the method includes:
s1, establishing communication connection with a target terminal;
s2, acquiring the moving direction of the floating window;
s3, acquiring a corresponding icon adjusting mode based on the moving direction of the floating window;
and S4, sending a corresponding icon adjusting instruction to the target terminal based on the acquired icon adjusting mode.
In the embodiment of the application, when the method is specifically implemented, firstly, a communication connection needs to be established with a target terminal, for example, when a parent manages and controls a child tablet or a mobile phone, the communication connection needs to be established with the child tablet or the mobile phone, at a home position, a floating window of an icon appears, the icon corresponds to a desktop of the child tablet or the mobile phone, when a user moves the floating window, the corresponding icon of the child tablet or the desktop of the mobile phone also performs corresponding operation, according to the moving direction of the floating window, a corresponding icon adjustment mode can be obtained, for example, an icon is merged, an icon is moved, and the like, and after the icon adjustment mode is obtained according to the moving direction of the floating window, a corresponding control instruction is sent to the child tablet or the mobile phone, and the desktop icon of the tablet or the mobile phone is correspondingly controlled.
In the foregoing solution, it is mentioned that adjustment control of a desktop icon of a target terminal is realized based on a moving direction of a floating window, and therefore, in this embodiment of the present application, further, setting of the floating window is disclosed, specifically, the desktop icon adjustment method includes:
presetting a floating window, and establishing corresponding relations between different moving directions of the floating window and different adjustment modes of the desktop icon.
In the embodiment of the application, since the control of the desktop icon of the target terminal is based on the movement of the floating window to realize the corresponding control, the method further includes presetting the floating window, the floating window corresponds to the desktop icon of the target terminal, for example, at home, the desktop icon of the target terminal is displayed, at this time, the floating window based on the icon of the target terminal appears on the desktop icon, the floating window corresponding to the icon can be selected to move, when the floating window is moved, the icon at the position is correspondingly moved, in order to realize the precise control, different adjustments are realized according to the moving direction of the floating window, the corresponding relationship needs to be preset, the moving direction of different floating windows and the adjusting mode of the corresponding desktop icon are preset, when the desktop icon of the target terminal needs to be adjusted, and only the floating window needs to be correspondingly moved, the corresponding desktop icon adjusting mode can be obtained, so that a corresponding desktop icon control instruction is sent to the target terminal, and the adjustment control of the desktop icon of the target terminal is realized.
In the foregoing solution, different moving directions of the floating window and corresponding desktop icon adjusting modes are preset, and when subsequently performing desktop icon adjustment, only corresponding movement needs to be performed on the floating window, in this embodiment of the present application, how to specifically disclose how to adjust different desktop icons according to different moving directions of the floating window, and the desktop icon adjusting method, wherein the step of obtaining the corresponding icon adjusting modes based on the moving directions of the floating window includes:
establishing a coordinate system based on the movable region of the floating window;
acquiring an initial position coordinate and an end position coordinate of the floating window;
respectively calculating absolute distances in the directions of a horizontal axis and a vertical axis;
acquiring the ratio of a smaller absolute distance to a larger absolute distance in the absolute distances in the directions of the transverse axis and the longitudinal axis;
when the ratio is smaller than the preset value, the icon is adjusted in a mode that the desktop icon is subjected to position interchange based on the direction of a larger absolute distance;
when the ratio is larger than the preset value, the icon is adjusted in a mode that the desktop icon exchanges the diagonal position.
In the embodiment of the present application, in the specific implementation, different moving directions of the floating window correspond to different adjustment controls of the desktop icon, specifically, a coordinate system is established based on the movable region of the floating window, a specific origin and a horizontal axis and a vertical axis are not limited, mainly for obtaining coordinates, the coordinates of an initial position and a final position of the floating window can be obtained under the same coordinate system, in the actual operation, the movement in the horizontal axis direction can realize the position interchange of the left icon and the right icon, and the movement in the vertical axis direction can realize the position interchange of the up icon and the down icon, and in the specific implementation, based on the absolute distance in the horizontal axis direction and the vertical axis direction, the absolute distance is the absolute value of the difference between the horizontal axis coordinate and the vertical axis coordinate, the ratio between the smaller absolute distance and the larger absolute distance in the absolute distances in the horizontal axis direction and the vertical axis direction is obtained, and judging whether the positions of the horizontal axis or the vertical axis are exchanged or the diagonal direction is exchanged, if the ratio is smaller than a preset value, indicating that the moving direction is a single direction, exchanging the positions of the icons of the horizontal axis or the vertical axis, and if the ratio is larger than the preset value, indicating that the moving direction comprises the horizontal direction and the vertical direction, and at the moment, exchanging the icons of the diagonal positions.
Further, in addition to the exchange of the positions, the method further includes moving the positions, and in particular, in the embodiment of the present application, the step of obtaining the corresponding icon adjustment mode based on the moving direction of the floating window further includes:
acquiring the moving speed of the floating window;
when the moving speed is within a first preset range, the icon is adjusted in a mode that the position of the icon moves;
when the moving speed is in the second preset range, the icon is adjusted in a mode that the positions of the icons are interchanged.
In the embodiment of the application, whether the adjustment mode of the icon is position movement or position interchange can be judged according to the movement speed of the floating window, if the movement speed of the floating window is high and is within a first preset range, the icon is indicated to be moved, and if the movement speed of the floating window is low and is within a second preset range, the icon is indicated to be interchanged, and the adjustment precision control of the desktop icon can be further improved according to the movement speed of the floating window.
In an embodiment of the present application, in addition to the movement interchange of the positions, the method further includes combining the positions, and specifically, the method for adjusting the desktop icon includes, when the movement speed is within the second predetermined range, the icon adjustment manner is that the step of exchanging the positions of the icons includes:
and when the target position is superposed with the target icon position, the icon is adjusted in a mode of combining the icons.
In the embodiment of the application, an icon can be selected, a single icon is moved, if the icon exists in the moved target position and the target position coincides with the position of the icon, the adjustment mode of the icon is represented as the combination of the icons, at the moment, the moved icon and the target icon are combined to generate a folder, and two or more icons are stored.
Further, in the method for adjusting a desktop icon, in the step of establishing a communication connection with the target terminal, a communication connection is established with the target terminal based on aurora pushing.
In the embodiment of the application, the communication connection with the target terminal is realized by aurora push (JPush): the Jpush Android SDK is operated in the background for a long time as an Android Service, so that long connection is established and maintained, and the always-on capacity is maintained. The Jpush Android SDK uses a self-defined protocol, so that a protocol body is made extremely small, and the flow consumption is extremely small. In the aspect of electric quantity, the Jpush Android SDK is continuously optimized, and unnecessary code execution is reduced as much as possible; moreover, long-term version upgrading iteration is performed, the optimization is continuously performed, the requirement on ensuring certain network connection stability is low, and the power consumption is reduced.
In the embodiment of the present application, the method for adjusting the whole desktop icon includes the following steps:
the method comprises the steps that a floating window can be preset, and the corresponding relations between different moving directions of the floating window and different adjustment modes of a desktop icon can be preset;
identifying the moving direction of the floating window according to the operation on the floating window;
and determining an adjustment mode of the desktop icon according to the identified moving direction of the floating window and the corresponding relation, and starting a corresponding adjustment method to adjust the desktop icon according to the determined adjustment mode.
Wherein the moving direction of the floating window comprises: left, right, up, down, left up, left down, right up, right down.
The adjustment mode comprises the following steps: and exchanging the icons in the two side areas based on the reference line of the icon by taking the transverse center line, the longitudinal center line or the diagonal line of the two exchanged icons as the reference line.
Respectively calculating absolute distances of movement along the direction of a transverse axis and the direction of a longitudinal axis according to the initial position coordinate and the end position coordinate of the dragging floating window, and comparing the absolute distances;
when the ratio of the smaller absolute distance to the larger absolute distance in the two is smaller than 1/10, for example, the current floating window moves laterally left or right, the longitudinal center lines of the starting position and the ending position are used as reference lines, and the corresponding columns of the icons in the two side areas of the reference line are interchanged;
if the current floating window moves upwards or downwards longitudinally, the corresponding rows of icons in the two side areas of the datum line of the starting position and the ending position are exchanged by taking the transverse center lines of the starting position and the ending position as datum lines;
otherwise, by taking the diagonal line of the starting position and the ending position as a reference line, the corresponding columns of the icons in the two side areas of the reference line of the starting position and the ending position are exchanged, and then the corresponding rows of the icons in the two side areas of the reference line of the starting position and the ending position are exchanged.
Further, according to the dot matrix collection of the mobile behaviors and according to the speed of dragging of the user, application icons are merged. If the dragging speed is high, the application icon is moved, and if not, the position is exchanged.
In this application embodiment, through aurora propelling movement, manage and control the flat board. And identifying the hardware information of the terminal equipment to generate a unique identification code, and pushing point-to-point information. When the terminal device receives the cloud information pushing instruction, management and control of the application on the launcher are carried out, and meanwhile, in the embodiment of the application, the remote control desktop icon can also hide the application, display the hidden application and uninstall the application. This function is especially important for student's tablet computer's management and control.
Another embodiment of the present application further discloses a desktop icon adjusting system, as shown in fig. 2, which is a block diagram of the system, wherein the system includes:
a communication module 100, configured to establish a communication connection with a target terminal;
a moving direction obtaining module 200, configured to obtain a moving direction of the floating window;
an icon adjustment mode determining module 300, configured to obtain a corresponding icon adjustment mode based on a moving direction of the floating window;
and an adjustment instruction sending module 400, configured to send a corresponding icon adjustment instruction to the target terminal based on the obtained icon adjustment manner.
In the embodiment of the application, when the method is implemented specifically, first, a communication connection needs to be established with a target terminal, for example, when a parent manages and controls a child tablet or a mobile phone, the communication connection needs to be established with the child tablet or the mobile phone first, at a home-keeper end, a floating window may appear, which corresponds to a desktop of the child tablet or the mobile phone, when a user moves the floating window, a corresponding operation may be performed on a desktop icon of the child tablet or the mobile phone, and according to a moving direction of the floating window, a corresponding icon adjustment mode may be obtained, for example, an icon is merged, an icon is moved, and the like.
Further, the desktop icon adjusting system further includes:
and the presetting module is used for presetting the floating window, and establishing corresponding relations between different moving directions of the floating window and different adjustment modes of the desktop icon.
Further, in the desktop icon adjusting system, the icon adjusting mode obtaining module includes:
a coordinate system establishing unit for establishing a coordinate system based on the movable region of the floating window;
the coordinate acquisition unit is used for acquiring the initial position coordinate and the end position coordinate of the floating window;
an absolute distance calculating unit for calculating absolute distances in the directions of the horizontal axis and the vertical axis, respectively;
the ratio acquisition unit is used for acquiring the ratio of a smaller absolute distance to a larger absolute distance in the absolute distances in the directions of the transverse axis and the longitudinal axis;
the horizontal and vertical interchange adjustment judging unit is used for judging that the icon adjustment mode is that the desktop icon is subjected to position interchange based on the direction of a larger absolute distance when the ratio is smaller than a preset value;
and the diagonal interchange adjustment judging unit is used for adjusting the icons in a mode that the desktop icons interchange the diagonal positions when the ratio is larger than a preset value.
Further, in the desktop icon adjusting system, the icon adjusting mode obtaining module further includes:
a moving speed obtaining unit for obtaining a moving speed of the floating window;
the icon movement judging unit is used for judging the icon adjustment mode to be that the position of the icon moves when the moving speed is in a first preset range;
and the icon interchange judging unit is used for adjusting the icon in a mode that the position of the icon is interchanged when the moving speed of the icon is in a second preset range.
The specific implementation of each module and unit described above is described in detail and corresponds to the method steps in the flow of the method steps, and therefore, the detailed implementation process is not repeated.
In the embodiment of the application, because the control of the desktop icon of the target terminal is correspondingly controlled based on the movement of the floating window, the method further includes the step of presetting the floating window, the floating window corresponds to the desktop of the target terminal, for example, at a home position, the desktop icon of the target terminal is displayed, at this time, a floating window appears on the desktop icon, the floating window can select the icon and can move, the icon at the position of the floating window exists, when the floating window is moved, the icon at the position is correspondingly moved, in order to realize accurate control, different adjustments are realized according to the moving direction of the floating window, the corresponding relation needs to be preset, the moving directions of different floating windows and the adjusting modes of the corresponding desktop icons are preset, when the desktop icon of the target terminal needs to be adjusted, only the floating window needs to be correspondingly moved, the adjustment mode of the corresponding desktop icon can be obtained, so that a corresponding desktop icon control instruction is sent to the target terminal, and adjustment control of the desktop icon of the target terminal is realized.
In another aspect of the present application, a desktop icon adjusting apparatus is further disclosed, wherein the apparatus includes a memory and a processor, and the memory stores a computer program that can be loaded by the processor and execute the desktop icon adjusting method described above.
In another aspect of the present application, a storage medium is also disclosed, in which a computer program capable of being loaded by a processor and executing the desktop icon adjusting method as described above is stored.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The embodiments of the present invention are preferred embodiments of the present application, and the scope of protection of the present application is not limited by the embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (10)

1. A desktop icon adjusting method is characterized by comprising the following steps:
establishing communication connection with a target terminal;
acquiring the moving direction of the floating window;
acquiring a corresponding icon adjusting mode based on the moving direction of the floating window;
and sending a corresponding icon adjusting instruction to the target terminal based on the acquired icon adjusting mode.
2. The desktop icon adjusting method according to claim 1, further comprising:
presetting a floating window, and establishing corresponding relations between different moving directions of the floating window and different adjustment modes of the desktop icon.
3. The method for adjusting desktop icons according to claim 1, wherein the step of obtaining the corresponding icon adjustment mode based on the moving direction of the floating window comprises:
establishing a coordinate system based on the movable region of the floating window;
acquiring an initial position coordinate and an end position coordinate of the floating window;
respectively calculating absolute distances in the directions of a horizontal axis and a vertical axis;
acquiring the ratio of a smaller absolute distance to a larger absolute distance in the absolute distances in the directions of the transverse axis and the longitudinal axis;
when the ratio is smaller than the preset value, the icon is adjusted in a mode that the desktop icon is subjected to position interchange based on the direction of a larger absolute distance;
when the ratio is larger than the preset value, the icon is adjusted in a mode that the desktop icon exchanges the diagonal position.
4. The method for adjusting desktop icons according to claim 3, wherein the step of obtaining the corresponding icon adjustment mode based on the moving direction of the floating window further comprises:
acquiring the moving speed of the floating window;
when the moving speed is within a first preset range, the icon is adjusted in a mode that the position of the icon moves;
when the moving speed is in the second preset range, the icon is adjusted in a mode that the positions of the icons are interchanged.
5. The method for adjusting desktop icons according to claim 4, wherein when the moving speed is within the second predetermined range, the icons are adjusted in a manner that the positions of the icons are interchanged, and the method comprises the following steps:
and when the target position is superposed with the target icon position, the icon is adjusted in a mode of combining the icons.
6. The method for adjusting desktop icons according to claim 1, wherein in the step of establishing communication connection with the target terminal, communication connection with the target terminal is established based on aurora push.
7. A desktop icon adjustment system, comprising:
the communication module is used for establishing communication connection with a target terminal;
the moving direction obtaining module is used for obtaining the moving direction of the floating window;
the icon adjustment mode judging module is used for acquiring a corresponding icon adjustment mode based on the moving direction of the floating window;
and the adjustment instruction sending module is used for sending the corresponding icon adjustment instruction to the target terminal based on the acquired icon adjustment mode.
8. The desktop icon adjustment system of claim 7, further comprising:
and the presetting module is used for presetting the floating window, and establishing corresponding relations between different moving directions of the floating window and different adjustment modes of the desktop icon.
9. A desktop icon adjusting apparatus comprising a memory and a processor, the memory storing a computer program that can be loaded by the processor and execute the desktop icon adjusting method according to any one of claims 1 to 6.
10. A storage medium storing a computer program that can be loaded by a processor and that executes the desktop icon adjusting method according to any one of claims 1 to 6.
CN202111229033.XA 2021-10-21 2021-10-21 Desktop icon adjusting method, system, device and storage medium Pending CN113885756A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111229033.XA CN113885756A (en) 2021-10-21 2021-10-21 Desktop icon adjusting method, system, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111229033.XA CN113885756A (en) 2021-10-21 2021-10-21 Desktop icon adjusting method, system, device and storage medium

Publications (1)

Publication Number Publication Date
CN113885756A true CN113885756A (en) 2022-01-04

Family

ID=79004346

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111229033.XA Pending CN113885756A (en) 2021-10-21 2021-10-21 Desktop icon adjusting method, system, device and storage medium

Country Status (1)

Country Link
CN (1) CN113885756A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120165071A1 (en) * 2010-12-28 2012-06-28 Inventec Appliances (Shanghai) Co. Ltd. Mobile device capable of automatically switching its operation modes
KR101245624B1 (en) * 2012-09-20 2013-04-17 알서포트 주식회사 Operating state display method of remote control for touchscreen mobile telephone
CN103076945A (en) * 2013-01-05 2013-05-01 广东欧珀移动通信有限公司 Interface editing method and device of touch-screen electronic device
US20140365930A1 (en) * 2013-06-10 2014-12-11 Hewlett-Packard Development Company, L.P. Remote display of content elements
CN104980926A (en) * 2015-06-05 2015-10-14 小米科技有限责任公司 Remote control method and device for mobile terminal
WO2016095383A1 (en) * 2014-12-19 2016-06-23 中兴通讯股份有限公司 Method for implementing application call and virtual machine
US20160349977A1 (en) * 2014-07-31 2016-12-01 Le Holdings (Beijing) Co., Ltd. Method and device for operating controls in terminal based on remote-control equipment
CN106681582A (en) * 2015-11-09 2017-05-17 西安中兴新软件有限责任公司 Desktop icon adjusting method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120165071A1 (en) * 2010-12-28 2012-06-28 Inventec Appliances (Shanghai) Co. Ltd. Mobile device capable of automatically switching its operation modes
KR101245624B1 (en) * 2012-09-20 2013-04-17 알서포트 주식회사 Operating state display method of remote control for touchscreen mobile telephone
CN103076945A (en) * 2013-01-05 2013-05-01 广东欧珀移动通信有限公司 Interface editing method and device of touch-screen electronic device
US20140365930A1 (en) * 2013-06-10 2014-12-11 Hewlett-Packard Development Company, L.P. Remote display of content elements
US20160349977A1 (en) * 2014-07-31 2016-12-01 Le Holdings (Beijing) Co., Ltd. Method and device for operating controls in terminal based on remote-control equipment
WO2016095383A1 (en) * 2014-12-19 2016-06-23 中兴通讯股份有限公司 Method for implementing application call and virtual machine
CN104980926A (en) * 2015-06-05 2015-10-14 小米科技有限责任公司 Remote control method and device for mobile terminal
CN106681582A (en) * 2015-11-09 2017-05-17 西安中兴新软件有限责任公司 Desktop icon adjusting method and device

Similar Documents

Publication Publication Date Title
CN109324749B (en) Drawing method, drawing device, storage medium and electronic equipment
CN103677721B (en) Terminal demonstration interface is carried out to method and the terminal device of convergent-divergent
CN103677985A (en) Apparatus and method for switching split view in portable terminal
CN103167338A (en) System and method for input control of smart television based on mobile terminal
CN109508093A (en) A kind of virtual reality exchange method and device
CN102609163B (en) A kind of electronic installation
CN103631556A (en) Method, mobile terminal and system for remote control over display device
CN102117165A (en) Touch input processing method and mobile terminal
CN104303145A (en) Translation of touch input into local input based on a translation profile for an application
CN108245889B (en) Free visual angle orientation switching method and device, storage medium and electronic equipment
CN104133621A (en) Display device, input control method and input control program
CN105573692A (en) Projection control method, associated terminal and system
CN113885756A (en) Desktop icon adjusting method, system, device and storage medium
CN110231922B (en) Mobile terminal display control method and mobile terminal
CN103970291A (en) Mobile terminal
CN104820490B (en) Method and system for acquiring feature information
CN110262864B (en) Application processing method and device, storage medium and terminal
CN116088698A (en) Touch pen-based use method and device
CN101017409A (en) Operation and control system of mobile phone
CN2932477Y (en) A mobile phone operation and control system
CN103106033A (en) Method and device of controlling application interface to move and terminal equipment
CN113535055A (en) Method, equipment and storage medium for playing point reading material based on virtual reality
CN116931787B (en) Electronic document page turning method and device
CN113721911B (en) Control method, medium and equipment for display proportion of virtual scene
CN110928474B (en) Junk file cleaning method and device, storage medium and terminal

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