CN116680019B - Screen icon moving method, electronic equipment and storage medium - Google Patents

Screen icon moving method, electronic equipment and storage medium Download PDF

Info

Publication number
CN116680019B
CN116680019B CN202211321085.4A CN202211321085A CN116680019B CN 116680019 B CN116680019 B CN 116680019B CN 202211321085 A CN202211321085 A CN 202211321085A CN 116680019 B CN116680019 B CN 116680019B
Authority
CN
China
Prior art keywords
icon
target
focus
display
initial position
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.)
Active
Application number
CN202211321085.4A
Other languages
Chinese (zh)
Other versions
CN116680019A (en
Inventor
朱华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202211321085.4A priority Critical patent/CN116680019B/en
Publication of CN116680019A publication Critical patent/CN116680019A/en
Application granted granted Critical
Publication of CN116680019B publication Critical patent/CN116680019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The application provides a screen icon moving method, electronic equipment and a storage medium, and relates to the technical field of terminals. The method can be applied to the electronic equipment, and when a user controls the electronic equipment to enter an icon moving mode, the electronic equipment generates an upper control of a target icon; the upper control is used for displaying the position of the focus; then, acquiring an initial position of a lower control of the focus on the target icon; responding to the moving operation of the target icon, and acquiring the target position of the lower control of the target icon; the initial position and the target position are located in different display areas, and the different display areas can be preset by using a custom control; the custom control comprises an upper control and a lower control; determining the initial position and the target position of the target icon based on the initial position and the target position of the lower control of the target icon; then modifying the initial position of the target icon and the data of the target position; and displaying the target icon at the target position.

Description

Screen icon moving method, electronic equipment and storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a screen icon moving method, an electronic device, and a storage medium.
Background
With the development of big data, the application of the visual large screen in various industries is more and more widespread. The visual large screen is used as an effective means for transmitting information, and plays an important role in the aspects of urban intelligent operation, emergency command, public security monitoring, power dispatching, life entertainment and the like.
For the visual large-screen equipment only supporting the control of the remote controller, in order to conveniently classify and manage the screen icons supported by the visual large-screen, the screen icons can be displayed in a partitioned manner, and different screen icons are displayed in different partitions. For example, partition 1 shows icon 1, icon 2, and icon 3, and partition 2 shows icon 4, icon 5, and icon 6. In the current scheme, after the screen icon is divided into the corresponding subareas, the display position of the screen icon can be adjusted only in the area of the corresponding subarea, but the display position cannot be adjusted to other subareas, so that the flexibility of adjusting the position of the screen icon of the visual large-screen equipment is poor, and the management of the screen icon is influenced.
Disclosure of Invention
In order to solve the problems, the application provides a screen icon moving method, electronic equipment and a storage medium, which improve the management flexibility of a screen icon display interface.
In order to achieve the above purpose, the application adopts the following technical scheme:
In a first aspect, the present application provides a screen icon moving method, which is applicable to an electronic device including a display, a monitor, a processor, and a memory. The method comprises the following steps: the user controls the electronic equipment to enter an icon moving mode; after entering an icon moving mode, the electronic equipment generates an upper control of a target icon; the upper control is used for displaying the position of the focus; the monitor acquires the initial position of the focus on the lower control of the target icon, and responds to the moving operation of the target icon to acquire the target position of the focus on the lower control of the target icon; the initial position and the target position are located in different display areas, and the different display areas are preset by using a custom control; the custom control comprises the upper control and the lower control; the monitor determines the initial position and the target position of the target icon based on the initial position and the target position of the lower control of the target icon; the processor modifies the initial position of the target icon and the data of the target position; and the display is used for displaying the target icon at the target position.
According to the method, the initial position and the target position of the target icon are determined by acquiring the initial position and the target position of a lower control of the target icon, and the initial position and the target position are located in different display areas; and then, according to the initial position and the target position, modifying the data of the two positions, so that the target icon moves from the initial position to the target position, and the target icon is displayed at the target position. Icons among different display areas in the screen can be moved across areas, so that management of the icons is more flexible.
In one possible implementation manner, the display area may be set in advance by using a custom control, specifically, the segmentation identifier of the display area may be set by using the custom control, and then the display area of the icon in the screen display interface is divided by using the segmentation identifier of the display area, so that different icons are displayed in different display areas. Icons in different display areas can be icons of different categories, so that classified management of the icons is realized, and visual experience of a user is improved.
In one possible implementation manner, the focus is moved on the lower control of the icon, and the upper control is used for prompting the user of the position of the focus, so that the focus is required to be acquired at the initial position of the lower control of the target icon, and the focus is required to be acquired before the focus is acquired at the target position of the lower control of the target icon in response to the movement operation of the target icon, and the upper control of the target icon is set to be unavailable; and setting a lower control of the target icon to acquire a focus. Thus, the focus of the lower layer can be acquired, and the position of the icon can be acquired through the position of the focus.
In one possible implementation manner, the data of the initial position and the target position of the target icon is modified, and if the moving mode of the target icon is the exchange, the processing data and the display data of the initial position and the target position of the target icon are exchanged according to the moving mode of the target icon. Thus, the exchange of the initial position of the target icon and the two icons of the target position can be realized.
In one possible implementation manner, if the moving mode of the target icon is adding, modifying the initial position of the target icon and the data of the target position, and moving the processing data and the display data of the initial position of the target icon to the target position; and deleting the processing data and the display data of the initial position of the target icon. In this way, it is achieved that the target icon is moved to the target position and deleted at the initial position.
In one possible implementation manner, based on an implementation method that icons can move across regions, icon display interfaces corresponding to different target users one by one can be preset according to the different target users; and then displaying an icon interface corresponding to the target user according to the login information of the target user. Therefore, the display interface of the icon is more personalized, and different display interfaces can be displayed according to different users.
In one possible implementation manner, if the target position of the target icon is not the icon, the acquiring focus is at the target position of the lower control of the target icon, and specifically, the acquiring focus may be at the first position of the lower control of the target icon; the first position is adjacent to the target position, and the position relation between the first position and the target position is known; thus, the position calculation can be performed according to the position relation between the first position and the target position, and the target position is obtained. Therefore, the icons at specific positions can be moved, the restriction on the movement of the icons is reduced, and the management of the icons is more flexible.
In a second aspect, the present application provides an electronic device comprising a display, a monitor, a processor, and a memory, the display for displaying an interface of a screen; the monitor is used for monitoring the initial position and the target position of the focus, and respectively determining the initial position and the target position of the target icon according to the initial position and the target position of the focus; wherein one or more computer programs are stored in the memory, the one or more computer programs comprising instructions; the instructions, when executed by the processor, cause the electronic device to perform the screen icon moving method as described in any one of the possible designs of the first aspect above.
In a third aspect, the present application provides a computer storage medium comprising computer instructions which, when run on an electronic device, perform a screen icon movement method as described in any one of the possible designs of the first aspect above.
It should be appreciated that the description of technical features, aspects, benefits or similar language in the present application does not imply that all of the features and advantages may be realized with any single embodiment. Conversely, it should be understood that the description of features or advantages is intended to include, in at least one embodiment, the particular features, aspects, or advantages. Therefore, the description of technical features, technical solutions or advantageous effects in this specification does not necessarily refer to the same embodiment. Furthermore, the technical features, technical solutions and advantageous effects described in the present embodiment may also be combined in any appropriate manner. Those of skill in the art will appreciate that an embodiment may be implemented without one or more particular features, aspects, or benefits of a particular embodiment. In other embodiments, additional features and advantages may be recognized in certain embodiments that may not be present in all embodiments.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
Fig. 2 is a software structural block diagram of an electronic device according to an embodiment of the present application;
FIG. 3A is a schematic diagram of a display interface of a large screen device according to the prior art;
FIG. 3B is a schematic diagram of a display interface of another large screen device according to the prior art;
FIG. 3C is a schematic diagram of a display interface of a large-screen device according to an embodiment of the present application;
FIG. 3D is a software framework diagram of an embodiment of the present application;
FIG. 4A is a flowchart of a method for moving a screen icon according to an embodiment of the present application;
FIG. 4B is a schematic diagram of an upper control of a target icon according to an embodiment of the present application;
FIG. 5 is a timing chart of a method for moving a screen icon according to an embodiment of the present application;
FIG. 6 is a functional implementation block diagram of a RECYCLERVIEW-based custom control according to an example embodiment of the present application;
fig. 7 is a schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The term "first" and the like in the description of the present application and the claims and drawings is used for distinguishing between different objects and not for limiting a particular order.
In embodiments of the application, words such as "exemplary" or "such as" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g." in an embodiment should not be taken as preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete fashion.
For clarity and conciseness in the description of the following embodiments, a brief description of the related art will be given first:
Icons refer to application icons, icon movement refers to movement of icons on a display interface, which may be a display screen, particularly a large screen, such as a conference screen, a television display screen, or the like. The large-screen display screen can display massive content, and the application icons are often numerous and complicated, so that the application icons can be classified and displayed, and a user can conveniently manage the display screen interface. The management of the application icons can adopt dividing screen display areas, and different types of application icons are displayed in different display areas; the commonly used application icons can be moved to positions which are easy to attract the vision of the user according to the requirements of the user. In addition, the frequency and preference of different users for application often have differences, so the display sequence, position and the like of the application icons can be adjusted according to the frequency and preference of the users for application.
For the visual large-screen equipment only supporting remote controller control, in order to classify and manage the icons of the visual large-screen, the icons can be displayed in a partitioned manner, and different icons are included in different partitions. In the current scheme, after an icon in a screen is divided into corresponding partitions, the display position of the icon can only be adjusted in the area of the corresponding partition, but the display position of the icon cannot be adjusted to other partitions, so that the flexibility in adjusting the position of the icon in the screen is poor.
In view of this, an embodiment of the present application provides a screen icon moving method, which may be applied to an electronic device, where after a user controls the electronic device to enter an icon moving mode, the electronic device generates an upper control of a target icon; the upper control is used for displaying the position of the focus; the focus can be understood as the place where the screen is in focus, i.e. the position of the selected icon; then, acquiring an initial position of a lower control of the focus on the target icon; responding to the moving operation of the target icon, and acquiring the target position of the lower control of the target icon; the initial position and the target position are located in different display areas, and the different display areas are preset by using a custom control; the custom control comprises the upper control and the lower control; determining the initial position and the target position of the target icon based on the initial position and the target position of the lower control of the focus on the target icon; then modifying the initial position of the target icon and the data of the target position; and displaying the target icon at the target position.
According to the screen icon moving method provided by the embodiment of the application, the icons in the screen are supported to be displayed in the different areas, so that the effect of displaying the icons in different categories is realized; when the user wants to move the icons displayed in the divided areas, the initial position and the moved position of the target icon can be determined according to the change of the focus of the positions of the response icons, and then the data of the two positions are modified to complete the movement of the target icon. The method and the device realize that the modification of the positions of the icons is completed under the condition of dividing the areas to display the icons, so that the display management of the icons has higher flexibility.
In some embodiments, the electronic device may be a large screen device, and the large screen device may be, for example, a smart television or a smart screen, and the specific form of the electronic device is not particularly limited by the present application. In this embodiment, the structure of the electronic device may be shown in fig. 1, and fig. 1 is a schematic structural diagram of the electronic device according to the embodiment of the present application.
As shown in fig. 1, the electronic device 100 may include: processor 110, external memory interface 120, internal memory 121, universal serial bus (universal serial bus, USB) interface 130, charge management module 140, power management module 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headset interface 170D, sensor module 180, keys 190, motor 191, indicator 192, camera 193, display 194, and subscriber identity module (subscriberidentification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor, a gyroscope sensor, an acceleration sensor, a temperature sensor, an ultrasonic ranging sensor, a motion sensor, a barometric sensor, a magnetic sensor, a distance sensor, a proximity sensor, a fingerprint sensor, a bone conduction sensor, a monitor 180A, and the like.
It should be understood that the electronic device 100 shown in fig. 1 is only one example of an electronic device, and that the electronic device 100 may have more or fewer components than shown in the figures, may combine two or more components, or may have different component configurations. The various components shown in fig. 1 may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processingunit, GPU), an image signal processor (IMAGE SIGNAL processor, ISP), a controller, a memory, a video codec, a digital signal processor (DIGITAL SIGNAL processor, DSP), a baseband processor, and/or a neural Network Processor (NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors. A memory may also be provided in the processor 110 for storing instructions and data.
The charge management module 140 is configured to receive a charge input from a charger. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like. The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (WIRELESS FIDELITY, wi-Fi) network), bluetooth (BT), global navigation satellite system (globalnavigation SATELLITE SYSTEM, GNSS), frequency modulation (frequency modulation, FM), near field communication (NEAR FIELD communication, NFC), infrared (IR), etc., applied to the electronic device 100.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques.
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1. The display screen includes a display 194A, and the display 194A is used to update display data and refresh the display interface.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121, so that the electronic device 100 implements the method of screen icon movement in the embodiment of the present application.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music, or to hands-free conversations, through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When electronic device 100 is answering a telephone call or voice message, voice may be received by placing receiver 170B in close proximity to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be a USB interface 130 or a 3.5mm open mobile electronic device platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor is used for sensing a pressure signal and can convert the pressure signal into an electric signal.
The keys 190 include a power-on key (or power key), a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue.
The indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, etc.
The monitor 180A may monitor the change of the focus when the cursor of the selected icon moves, and acquire the icon where the focus is located and the position of the icon where the focus is located according to the change of the focus.
The operating system of the electronic device may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the application, an Android system with a layered architecture is taken as an example, and the software structure of the electronic equipment is illustrated.
Fig. 2 is a software configuration block diagram of the electronic device 100 according to the embodiment of the present invention.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface.
In some embodiments, taking electronic device 100 as a large screen device, the operating system may be divided into three layers, an application layer, an application framework layer, an Zhuoyun lines (Android runtime) and a system library, and a kernel layer,
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include settings, gallery, calendar, map, WLAN, bluetooth, music, video, etc. applications.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for the application of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layer may include a window manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, an icon movement algorithm module, and the like.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the display screen, intercept the display screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, browsing history, and the like.
The view system includes visual controls, such as controls for displaying text, controls for displaying pictures, controls for displaying application icons, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a set icon and a region division interface for dividing a display region may include a view displaying text, a view displaying a picture, and a control displaying an application icon.
The resource manager provides various resources for the application program, such as localization strings, icons, pictures, layout files, video files, and the like.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification presented in the form of a chart or scroll bar text in the system top status bar, such as a notification of a background running application, or a notification presented in the form of a dialog window on a display screen. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
The icon moving algorithm module can move the icon according to the icon selected by the user and the starting position and the moved position of the icon determined according to the movement of the focus after the user selects the icon moving mode, and the user can set a personalized display interface and display the icon in a region classification mode based on the movement of the icon, so that the management flexibility of the icon is improved.
Android run time includes a core library and virtual machines. Android runtime is responsible for scheduling and management of the android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface 1 manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The kernel layer at least comprises a display driver, a camera driver and an audio driver, wherein when a user starts an icon moving mode, the display driver displays icons of the interface, and according to the icons selected by the user, the selected icons are displayed in a distinguishing mode with brightness higher than that of the unselected icons, and after the icon moving is completed, the refreshed icon display interface is displayed.
It will be appreciated that, in order to implement the method for moving a screen icon in the embodiment of the present application, various electronic devices include corresponding hardware and/or software modules that perform various functions. The present application can be implemented in hardware or a combination of hardware and computer software, in conjunction with the example algorithm steps described in connection with the embodiments disclosed herein. Whether a function is implemented as hardware or computer software driven hardware depends upon the particular application and design constraints imposed on the solution. Those skilled in the art may implement the described functionality using different approaches for each particular application in conjunction with the embodiments, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In order to make the technical personnel in the technical field more clearly understand the scheme of the application, the application scenario of the technical scheme of the application is first described below.
In an application scenario, taking an electronic device as a large-screen device, as shown in fig. 3A, fig. 3A shows a display interface of the large-screen device, where icons of various applications are included in the display interface, for example, icons of applications including a mall, a setting, a browser, a K song, a reading, a weather, a gallery, a game center, a stock, a media center, and the like. In the prior art, the icons can only be displayed in the same area, and the display effect is shown in fig. 3A; or the prior art can only preset the display area of the icon, as shown in fig. 3B, in the prior art, the application icons in the large-screen display desktop are preset into two categories, namely a common application and a non-common application, and when the icons of the corresponding application programs are placed in the respective areas for classified display, the movement of the icons is not supported any more. For example, when a user intends to move an icon of weather originally divided in an area of an unusual application to an area of the unusual application, the icon displayed in the divided area cannot be moved because the position of the weather icon in the display interface cannot be acquired in the related art. In the above-mentioned two modes of managing icon display in the prior art, random movement of icons cannot be realized, so that display management of icons is inflexible.
According to the scheme provided by the embodiment of the application, the icons can be displayed in the divided areas, as shown in fig. 3C, the area division of the display interface is realized in a mode that the character strings are arranged in an exclusive row in the display interface, and the specific content of the character strings can be set according to requirements, for example, the character strings can be set to be ordered according to menu keys. When the user needs to move the icons in different areas, the position of the icon where the focus is located can be obtained by utilizing a mode of monitoring the change of the focus, the position before the movement of the icon and the position after the movement of the icon are respectively obtained, then the data of the two positions are modified, the movement of the application program icon is completed, and then the display interface is refreshed. Therefore, the method and the device realize the regional display of the icons of the application programs in the large-screen display interface, and can move the icons among different regions in a transregional manner, so that the management of the icons applied in the large-screen display interface is more flexible.
Referring to fig. 3D, fig. 3D is a software framework diagram related to a scheme provided by an embodiment of the present application, where a host is a desktop Launcher of an android system, and when a user interacts with the desktop Launcher to start a desktop, relevant information of the android system is obtained through the desktop Launcher, for example, information such as a network and bluetooth of the android system can be obtained. And the desktop starter interacts with the cloud end to complete the acquisition and interaction of cloud end data. The desktop starter is used as a total entry of each application program, and after the desktop is started, the display of each application program in the desktop is completed through the desktop starter.
Embodiments of the present application will be illustrated by the following exemplary embodiments in conjunction with the accompanying drawings. The methods in the following embodiments may be implemented in an electronic device having the above-described hardware structure.
As shown in fig. 4, fig. 4 is a flowchart of a screen icon moving method according to an embodiment of the present application, which specifically includes the following steps:
s401, entering an icon moving mode.
In the scheme provided by the embodiment of the application, the screen refers to the display screen of the large-screen equipment, icons in the display interface of the display screen of the large-screen equipment can be classified in advance, the icons in the same class are placed in the same display area, then the display area is divided, and the icons are displayed in the divided areas. When a user needs to move icons in different areas, the user needs to enter an icon moving mode first. The screen may be manipulated into an icon movement mode using a remote control.
S402, generating an upper control of a target icon; the upper control is used for displaying the position of the focus.
When the user controls the screen to enter the icon moving mode, the icon to be moved, namely the target icon, is selected. When the target icon is selected, the custom control automatically generates an upper control of the target icon, wherein the upper control is used for displaying the position of the focus. For example, taking the icon in fig. 3C as an example, when the selected target icon is "game center", that is, the focus is at the position of the icon "game center", an upper control of "game center" is generated, and the visual effect of the upper control may be set to the effect selected by the icon, so as to highlight the target icon, so as to prompt the user about which icon is in the selected state, that is, prompt about which position the focus of the user is. The specific visual effect may be as shown in fig. 4B. When the focus moves, for example, the focus moves to a "reading" position, the custom control automatically generates an upper control of "reading" and is also used for displaying the position of the focus. The custom control in the embodiment of the application can select RECYCLEVIEW controls.
S403, acquiring an initial position and a target position of the lower control of the target icon, wherein the initial position and the target position are positioned in different display areas, and the different display areas are preset by using a custom control; the custom control comprises the upper control and the lower control.
The upper control layer of the target icon generated in step S402 is only used for displaying the position of the focus, the lower control layer of the target icon is just the control layer below the upper control layer in the screen display interface, the upper control layer is also visually displayed with the icon, and only when the upper control layer is displayed, the transparency of the lower control layer is set to be 0, namely the lower control layer is hidden. Although the change of the focus is illustrated by the upper control, the focus is actually moved on the lower control, and thus, the focus of the upper control needs to be preset to be unavailable. And acquiring the initial position and the target position of the lower control of the target icon, wherein the initial position and the target position are positioned in different display areas. The setting of the display area of the display interface can be preset by using a custom control.
S404, determining the initial position and the target position of the target icon based on the initial position and the target position of the lower control of the target icon.
The position of the focus is used for reflecting the position of the selected icon, and the initial position of the focus at the lower control of the target icon is reflected by the initial position of the target icon; the focus reflects the target position of the target icon at the target position of the lower control of the target icon, and therefore the initial position and the target position of the target icon can be determined according to the initial position and the target position of the focus at the lower control of the target icon.
S405, modifying the initial position of the target icon and the data of the target position; and displaying the target icon at the target position.
And modifying the initial position of the target icon and the data of the target position to finish the modification of the data of the two positions, wherein the data comprises icon data and processing data of the application, so that the target icon can be displayed at the target position.
According to the screen icon moving method provided by the embodiment of the application, the icons in the screen are supported to be displayed in the different areas, so that the effect of displaying the icons in different categories is realized; when the user wants to move the icons displayed in the divided areas, the initial position and the moved position of the target icon can be determined according to the change of the focus of the positions of the response icons, and then the data of the two positions are modified to complete the movement of the target icon. The method and the device realize that the modification of the positions of the icons is completed under the condition of dividing the areas to display the icons, so that the display management of the icons is more flexible.
As shown in fig. 5, fig. 5 is a timing chart of a screen icon moving method according to an embodiment of the present application, which specifically includes the following steps:
S500, selecting an icon moving mode by a user.
The user can preset the icon to be displayed in the divided areas, the user-defined control can be utilized to preset the display areas, and the user-defined control can be utilized to set the dividing identification of the display areas; and dividing the display area of the icon in the screen display interface by using the division identification of the display area. The division identifier may be a character string of an exclusive line, but may also take other forms, and the specific form is not limited.
When a user wants to move an application icon in a screen display interface, the user first needs to control the large-screen device to enter an icon movement mode by using the remote control device. The remote control device may be an electronic device having an infrared remote control function.
S501, the processor controls the monitor to monitor the change of the focus.
Before the listener 180A listens for focus, it is first necessary to register the listener 180A and set the listener 180A to listen when the focus changes. The focus here can be understood as the position of the selected icon.
When the user enters the icon moving mode using the remote control device, the processor in the large screen device controls the monitor 180A to monitor the change of focus.
S502, the monitor monitors the change of the focus.
The monitor 180A receives an instruction of monitoring the focus sent by the processor, and monitors the focus change in the process of the focus change. This process can be understood as monitoring the initial position of the icon where the focus is located when the focus starts to change, for example, the position of the application icon where the focus is "set" in fig. 3C, where the monitor 180A monitors the initial position before the focus is changed, that is, the icon and the icon position before the focus is changed; the focus then starts to change, which can be understood as a movement. For example, the focus moves down to the "gallery" position in fig. 3C, and the listener 180A listens to the focus moved position, i.e., the focus moved icon and the position of the icon.
When the user moves the icon, the icon may not simply move by one position, and may need to move by several positions continuously, for example, the user intends to move the "setting" to the "media center", wherein the change path of one focus is downward movement-rightward movement, and the monitor 180A monitors the change of the focus, that is, monitors that the focus moves down to the "gallery" and acquires the positions of the "gallery" icon and the "gallery" where the focus is located; when the focus moves to the game center, the icon of the game center and the position of the game center are acquired; similarly, the focus is monitored to move to the stock in sequence, the picture of the stock and the position of the stock are acquired, the focus is monitored to move to the media center, and the icon and the position of the media center are acquired.
And S503, the monitor sends the icon and the icon position before the focus is changed to the processor.
The monitor 180A sends the icon and the icon position where the focus was before the focus was changed to the processor, that is, the user initially selects the icon of "set", and intends to move the "set", when the user selects the icon of "set", the focus is at the selected icon, and the monitor 180A acquires the icon and the icon position of "set" and sends the icon and the icon position of "set" to the processor.
S504, the monitor sends the icon where the focus is changed and the icon position to the processor.
In the process of monitoring the change of focus, the monitor 180A may set the icon and position to be moved next to overlap the icon and position to be moved last time, so that the final icon and position to which the focus is moved may be transmitted to the processor. For example, the focus may be moved to the "game center" a second time, and moved to the "stock" a third time, so that the icon and position acquired a third time may be overlaid on the icon and position acquired a second time, and similarly, finally moved to the "media center position", so as to overlay the previously acquired icon and position. Because, in the embodiment of the application, the user intends to move the setting to the position of the media center, only the icon and the position of the media center are required to be finally sent to the processor.
S505, the processor modifies the data of the two positions according to the icon and the icon position before the focus is changed and the icon position after the focus is changed.
When the processor receives the icon and the icon position before the focus is changed, namely the icon and the position of the setting, and the icon and the position after the focus is changed, namely the icon and the position of the media center, the processor modifies the positions of the two positions. The modification to the data depends on how the user intends to make the "settings", e.g. the user intends to add the "settings" to the underlying area where the "media center" is located, the processor will delete the data at the original "settings" location and move the relevant data of the "settings" to the "media center" location and move the data of the "media center" to the right. If the user exchanges the "setting" with the location of the "media center", the data of the "setting" and the "media center" are exchanged, and the movement of the two icons is completed.
S506, sending an instruction for refreshing the display interface to the display.
After the processor completes processing the icon data, an instruction to refresh the display interface is sent to display 194A.
S507, refreshing the display interface by the display.
After receiving the instruction for refreshing the display interface sent by the processor, the display 194A refreshes the display interface, and completes the movement of the icon.
In the embodiment of the present application, after the user selects the icon moving mode, the processor 110 controls the monitor 180A to monitor the change of the focus, and according to the icon selected by the user, where the selected icon is, the position of the focus is, and according to the change of the focus, the icon and the position where the user intends to move, the position where the user intends to move the icon, and the icon at the moved position can be obtained; then, the monitor 180A sends the acquired icon and the icon position which the user intends to move and the icon position after the movement to the processor 110, and the processor performs data processing of the two positions according to the movement mode; after the data processing is completed, the processor 110 sends an instruction to refresh the display interface to the display 194A; after receiving the instruction to refresh the interface, the display 194A refreshes the display interface, completing the movement of the icon.
According to the embodiment of the application, the icon and the icon position which the user intends to move are acquired through monitoring the change of the focus, and the icon position which the user intends to move are acquired, after the two icons and the icon position are acquired, the data of the two positions are modified to complete the movement of the icon, so that the icons in different areas can be moved under the condition of carrying out regional display on the icons, the management of the icons is more convenient, the user definition of an icon display interface is more supported, and the flexibility of the icon management is improved.
The custom control in the embodiment of the application can adopt RECYCLEVIEW controls for displaying icons, the controls are advanced UI controls in the Android system, and when RECYCLERVIEW controls are used, an Adapter and a layout manager LayoutManager are required to be specified. The adapter inherits the RecycloerView adapter class, and the specific implementation depends on the data information and the UI presented. The layout manager is used to determine the manner of presentation of the items in RECYCLERVIEW and to decide when to multiplex the already invisible items, avoiding the duplication of creating and executing the costly findViewById method.
First, several advantages of the following RECYCLEVIEW control are introduced:
RECYCLERVIEW encapsulates the reclamation multiplexing of viewholder, that is RECYCLERVIEW standardizes ViewHolder, write Adapter is ViewHolder and no longer View, multiplexed logic is encapsulated, and writing is simpler. And the cumbersome steps of convertview. Settag (holder) and convertview. Get Tag () in listview are directly omitted.
RECYCLERVIEW provides a pluggable experience, high decoupling and abnormal flexibility, and the display RECYCLERVIEW of an Item is specially extracted to control the display of the Item, so that the expansibility of the Item is very strong.
RECYCLERVIEW can set up a layout manager to control the layout of items, i.e., landscape, portrait, and waterfall flow, for example: the control landscape or portrait slide list effect may be controlled by the LinearLayoutManager class, gridLayoutManager for the GridView effect, staggeredGridLayoutManager for the waterfall stream, and so on. That is to say RECYCLERVIEW is not limited by the linear display of ListView, it can also achieve many effects such as GridView effect.
RECYCLERVIEW can set the interval style of the Item, and can be realized by inheriting the class ItemDecoration of RECYCLERVIEW and then writing the writing code according to the service requirement.
RECYCLERVIEW can control animation of Item addition and deletion, and can control through ItemAnimator.
It can be seen that RECYCLERVIEW can be operated more than ListView, which is where RECYCLERVIEW is flexible, the user can selectively customize properties to meet the needs.
A functional implementation block diagram of the RECYCLERVIEW-based custom control is shown in fig. 6, with the RECYCLERVIEW control being used for display of an interface, for example, as shown in fig. 3A. The data of each application is processed through an Adapter and transmitted to the RECYCLERVIEW control. The data includes visual icon data and background process data, such as the "set" icon in FIG. 3A, and "set" application background data. Activity may be considered a container for storing RECYCLERVIEW controls and communicating key interaction events to RECYCLERVIEW controls.
In the embodiment of the application, the RECYCLERVIEW control is adopted to display the icon, and the RECYCLERVIEW control is used for dividing the area, for example, the icon display area can be divided by setting a character string which is exclusive to one row, wherein the upper part of the character string is one area, and the lower part of the character string is the other display area. The content of the character string may be set in a custom manner as required, may be set as a sentence of a prompt type, for example, may be set as "move icon by selecting icon", or may be a sentence of an area type, for example, may be set as "upper area application is a commonly used application". Therefore, the application icons are displayed in different areas, and the user can manage the application icons conveniently. In some embodiments, the implementation process of the change of the listening focus in step S502 in the foregoing embodiments may be implemented as follows:
When the focus moves, the position of the icon where the focus is located is acquired by monitoring the change of the focus, namely, the focus of the lower control of the icon where the focus is located is acquired, the focus of the upper control is set to be an unobtainable focus, and the focus of the lower control is set to be an acquirable focus. It will be appreciated that when a user selects an icon, for example, selecting a "set" icon, the icon is divided into an upper layer and a lower layer, and when selected, the brightness of the "set" upper control is highlighted, or the user is prompted with the animation effect that is displayed. The lower control of the setting can be hidden, and the transparency of the control can be set to be 0 to carry out hiding. The focus of the lower control of the 'setting' is used for reflecting the position of the icon, so that when the position of the icon is acquired, the focus of the upper icon of the target icon is set to be unavailable, the focus of the lower control of the target icon is acquired, and the position of the target icon is acquired according to the focus of the lower control of the target icon.
The obtained positions of the target icons comprise an initial position of the target icon and a target position after the target icon moves, for example, the target icon is set, a user intends to move the set to a position of a gallery, a focus of a lower control of the set needs to be obtained first, and the set position is obtained according to the focus; then, the user selects an application icon of the 'gallery', then a focus of a lower control of the 'gallery' is acquired, and the position of the 'gallery' is acquired according to the acquired focus. And then performs data processing of the two positions based on the acquired positions.
According to the embodiment of the application, the focus of the upper control of the icon is not acquired, the focus of the lower control is acquired, and the position of the icon can be acquired by acquiring the focus of the lower control, so that data processing of two positions can be performed, movement of the icon is completed, cross-region movement of the icon is realized, and management flexibility of the icon is improved. In some embodiments, a user may be able to map an icon of one area to be added to another area, and it may happen that the icon of the other area is added to the rearmost area of the other area, where the rearmost area is not shown and where the location intended to be moved cannot be obtained, and in this case, the embodiment of the present application provides an implementation method, which specifically may be implemented as follows:
For example, the user intends to move the icon of the "setting" to the rear of the "media center", that is, the target position, but the target position cannot be selected because there is no icon, that is, the target position cannot be acquired, and at this time, the position adjacent to the target position may be acquired first, that is, the position of the "media center", that is, the first position may be acquired according to the focus of the lower control of the "media center", specifically; and then converting the two positions according to the relation between the target position and the first position, for example, the target position can be obtained by right shifting the first position, and then converting the acquired first position according to the position relation to obtain the first target position. And then carrying out subsequent data processing to finish the movement of the icon.
According to the embodiment of the application, the positions of the icons adjacent to the blank positions are obtained, and then the blank positions are obtained through shifting treatment of the positions of the icons adjacent to the blank positions, so that the icons can be moved to the special positions, the limitation of the movement of the icons is reduced, and the management of the icons by a user is more convenient.
The foregoing is merely exemplary of the implementation procedure, and is not intended to be the only implementation, and for example, the foregoing embodiments may also achieve the technical effects described above by moving the "setting" to the "media center" position first, automatically moving the "media center" backward, and then exchanging the "setting" with the "media center" icon position.
In some embodiments, the movement mode of the target icon can be set by using the custom control, for example, the movement mode can be set to include exchange and addition. The exchange is a process of moving icons between two areas, and by taking fig. 3C as an example, the exchange may be understood as exchanging "settings" with "gallery". The addition is to add an icon in one area to another, for example, to add a "setting" to the front of a "media center" in the next display area. The moving mode of the target icon is different, and the exchange mode of the data is also different.
In some embodiments, in the above embodiment, the processor performs data modification of two positions according to the icon and the icon position before the focus change and the icon position after the focus change, and the data modification needs to be performed according to the moving mode. When the moving mode is exchange, modifying the initial position of the target icon and the data of the target position, wherein the specific implementation process comprises the following steps: and exchanging the processing data of the initial position with the display data. The processing data may be understood as background data and the display data may be understood as display data of the interface.
When the moving mode is adding, modifying the initial position of the target icon and the data of the target position, wherein the specific implementation process comprises the following steps:
the processing data and the display data of the initial position of the target icon are moved to the target position, which corresponds to the processing data and the display data of the target icon from which the original initial position is deleted.
In the embodiment of the application, no matter the target icon is exchanged or added, the data processing of the two positions is finally realized to realize the movement of the icon.
In some embodiments, the same user may have different demands on the icon display interface, and there may be instances where icons of different areas are sometimes re-divided. The same electronic device may involve multiple users, and different users may have great differences in use of applications, so when facing this problem, if each user first performs adjustment on a page while using the electronic device, this may cause inconvenient operation, and thus the embodiments of the present application provide the following solutions:
Different interfaces can be preset based on different users, and when the electronic equipment is taken as a television set for example, the old can use the television set more frequently for news and health-preserving applications, and icons of the applications can be placed at the front position or divided into common application areas. The specific interface setting can be customized individually according to the user's requirements. When children use the television, the frequency of applications such as cartoon type, baby song type and the like can be higher, and the applications can be arranged in front or in the same area.
Therefore, different icon display interfaces corresponding to the users can be preset according to the users of the electronic equipment, and the display interfaces are stored. And then when the user uses the electronic equipment, the user can log in the information of the user according to the login interface so as to distinguish the users. The specific login form can be an account form, a biological feature form and the like, and the specific form is not limited again. After the target user logs in the electronic equipment, the electronic equipment displays a display interface corresponding to the target user, and the target user is the user who uses the electronic equipment currently. After the preset of the respective interfaces is performed by different users, the respective display interfaces can be changed, and the method provided by the above embodiment can be adopted to specifically change the interfaces, which is not described herein.
In other possible implementation manners, when some applications are not available or some applications are not desired to be displayed in a short time, the user can set the hidden icons of the applications, the hidden icons are not displayed on the interface, when the hidden applications need to be displayed, the hidden list can be opened, the hidden applications can be set to be displayed, and the display positions can be specifically set.
In some embodiments, a personality animation may be provided during movement of the applied icon to increase the visual effect. For example, when an icon of a certain application is selected, a dynamic effect exists around the application, so that the user is prompted that the selected icon is at the interface, and the specific animation effect can be set according to the preference of the user. Further, when icons are exchanged or moved, animation of the icons moving may be set, for example, slow movement, fast swipe, or the like. Or the refresh animation can be set when the display interface is refreshed, for example, the form of wheel refresh, the form of shutter, or the form of refresh from top to bottom can be set. Therefore, the dynamic effect of the display interface can be improved, and the look and feel experience of the user is improved.
In some embodiments, when the user intends to move the icon in the same display area, the method described above may also be used to move the icon in the same area, and the specific implementation process is similar to the method for moving the icon across areas, which is not repeated here.
Referring to fig. 7, a schematic diagram of an electronic device according to an embodiment of the present application is shown.
The illustrated electronic device may be a television, an intelligent screen, a projector, etc., and the present application is not limited to the specific form of the above-described electronic device.
The hardware structure of the electronic device may be referred to fig. 1 and the related description, and the software structure of the electronic device may be referred to fig. 2 and the related description, which are not repeated herein.
The electronic device includes a display 194A, a listener 180A, a processor 110, and a memory 121; the display 194A is for displaying an interface of a screen; the monitor 180A is configured to monitor a change of the focus, and acquire a position of the target icon according to the change of the focus; the memory has stored therein one or more computer programs, the one or more computer programs comprising instructions; the processor is configured to execute the program code to implement the screen icon moving method described in the above embodiments.
Specifically, the display is used for displaying display data in the screen; memory 121 stores one or more computer programs, including instructions; the monitor 180A is configured to monitor an initial position and a target position of a focus, and determine an initial position and a target position of a target icon according to the initial position and the target position of the focus, respectively; the processor modifies the data of the two positions according to the initial position and the target position of the target icon acquired by the monitor 180A, so that the target icon can be displayed at the target position. In summary, by using the electronic device provided by the embodiment of the application, the icons in the screen are supported to be displayed in the divided areas, so that the effect of displaying the icons in the divided categories is realized; when the user wants to move the icons displayed in the divided areas, the initial position and the moved position of the target icon can be determined according to the change of the focus of the positions of the response icons, and then the data of the two positions are modified to complete the movement of the target icon. The method and the device realize that the modification of the positions of the icons is completed under the condition of dividing the areas to display the icons, so that the display management of the icons is more flexible.
The present embodiment also provides a computer readable storage medium, which includes instructions that, when executed on an electronic device, cause the electronic device to perform the relevant method steps of fig. 4 and 5, so as to implement the method in the foregoing embodiment.
It should be understood that in the present application, "at least one (item)" means one or more, and "a plurality" means two or more. "and/or" for describing the association relationship of the association object, the representation may have three relationships, for example, "a and/or B" may represent: only a, only B and both a and B are present, wherein a, B may be singular or plural. The character "/" generally indicates that the context-dependent object is an "or" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s). For example, at least one (one) of a, b or c may represent: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", wherein a, b, c may be single or plural.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application 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 scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (9)

1. A screen icon moving method for adjusting the position of an icon on a visual large screen, the method comprising:
Entering an icon moving mode;
Generating an upper control of the target icon; the upper control is used for displaying the position of the focus;
Acquiring an initial position of the focus on a lower control of the target icon, and responding to a moving operation of the target icon to acquire a target position of the focus on the lower control of the target icon; the initial position and the target position are located in different display areas, and the different display areas are preset by using a custom control; the custom control comprises the upper control and the lower control;
Determining the initial position and the target position of the target icon based on the initial position and the target position of the lower control of the focus on the target icon;
And modifying the initial position and the data of the target position of the target icon so as to display the target icon at the target position.
2. The method of claim 1, wherein the setting of the display area is performed in advance by using a custom control, specifically comprising:
Setting a segmentation mark of the display area by using a custom control;
And dividing the display areas of the icons in the screen display interface by using the division marks of the display areas so as to display different icons in different display areas.
3. The method of claim 1, wherein, before the acquiring the initial position of the focus at the lower control of the target icon, in response to the moving operation on the target icon, the method further comprises:
Setting an unavailable focus of an upper control of the target icon; and setting a lower control of the target icon to acquire a focus.
4. The method according to claim 1, wherein if the movement mode of the target icon is exchange, the modifying the data of the initial position and the target position of the target icon specifically includes:
Exchanging processing data and display data of the initial position of the target icon and processing data and display data of the target position of the target icon.
5. The method according to claim 1, wherein if the movement mode of the target icon is addition, the modifying the data of the initial position and the target position of the target icon specifically includes:
Moving the processing data and the display data of the initial position of the target icon to the target position;
And deleting the processing data and the display data of the initial position of the target icon.
6. The method according to claim 1, wherein the method further comprises:
presetting icon display interfaces corresponding to different target users one by one;
And displaying an icon display interface corresponding to the target user according to the login information of the target user.
7. The method according to claim 1, wherein if the target position has no icon, the acquiring the target position of the lower control of the target icon includes:
Acquiring a first position of a focus on a lower control of a target icon; the first position is adjacent to the target position, the position relation between the first position and the target position is known, and the first position is acquired according to the focus of the lower control of the icon on the adjacent position;
And carrying out position calculation according to the position relation between the first position and the target position to obtain the target position.
8. An electronic device, comprising: a display, a monitor, a processor, and a memory;
the display is used for displaying an interface of a screen;
The monitor is used for monitoring the initial position and the target position of the focus, and respectively determining the initial position and the target position of the target icon according to the initial position and the target position of the focus;
Wherein one or more computer programs are stored in the memory, the one or more computer programs comprising instructions; the instructions, when executed by the processor, cause the electronic device to perform the screen icon movement method of any of claims 1-7.
9. A computer storage medium comprising computer instructions which, when run on an electronic device, perform the screen icon movement method of any of claims 1-7.
CN202211321085.4A 2022-10-26 2022-10-26 Screen icon moving method, electronic equipment and storage medium Active CN116680019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211321085.4A CN116680019B (en) 2022-10-26 2022-10-26 Screen icon moving method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211321085.4A CN116680019B (en) 2022-10-26 2022-10-26 Screen icon moving method, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116680019A CN116680019A (en) 2023-09-01
CN116680019B true CN116680019B (en) 2024-06-28

Family

ID=87786033

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211321085.4A Active CN116680019B (en) 2022-10-26 2022-10-26 Screen icon moving method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116680019B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565866A (en) * 2020-11-30 2021-03-26 深圳创维-Rgb电子有限公司 Focus control method, system, device and storage medium
CN114594885A (en) * 2022-02-28 2022-06-07 北京梧桐车联科技有限责任公司 Application icon management method, device and equipment and computer readable storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112269527B (en) * 2020-11-16 2022-07-08 Oppo广东移动通信有限公司 Application interface generation method and related device
CN115185440B (en) * 2021-04-07 2024-05-10 华为技术有限公司 Control display method and related equipment
CN113535019A (en) * 2021-07-14 2021-10-22 Vidaa美国公司 Display device and display method of application icons
CN114020379B (en) * 2021-10-19 2024-06-07 青岛海信移动通信技术有限公司 Terminal equipment, information feedback method and storage medium
CN113849099A (en) * 2021-12-01 2021-12-28 荣耀终端有限公司 Display method of application program icon and electronic equipment
CN114594894B (en) * 2022-02-25 2024-07-02 青岛海信移动通信技术有限公司 Marking method of interface element, terminal equipment and storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565866A (en) * 2020-11-30 2021-03-26 深圳创维-Rgb电子有限公司 Focus control method, system, device and storage medium
CN114594885A (en) * 2022-02-28 2022-06-07 北京梧桐车联科技有限责任公司 Application icon management method, device and equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN116680019A (en) 2023-09-01

Similar Documents

Publication Publication Date Title
CN113741840A (en) Application interface display method under multi-window screen projection scene and electronic equipment
KR101271539B1 (en) Mobile terminal and control method thereof
CN111597000B (en) Small window management method and terminal
JP2023503679A (en) MULTI-WINDOW DISPLAY METHOD, ELECTRONIC DEVICE AND SYSTEM
KR101810468B1 (en) Mobile terminal and control method thereof
CN112767231B (en) Layer composition method and device
EP4227785A1 (en) Control blurring method and apparatus, terminal device, and readable storage medium
WO2023051111A1 (en) Method for combining multiple applications and for simultaneously starting multiple applications, and electronic device
WO2022166713A1 (en) Electronic device and display method for application thereof, and medium
CN113409427A (en) Animation playing method and device, electronic equipment and computer readable storage medium
CN114844984A (en) Notification message reminding method and electronic equipment
CN112000408B (en) Mobile terminal and display method thereof
CN116680019B (en) Screen icon moving method, electronic equipment and storage medium
CN114449171B (en) Method for controlling camera, terminal device, storage medium and program product
CN111324255B (en) Application processing method based on double-screen terminal and communication terminal
CN113407082B (en) Font color control method and related device applied to terminal equipment
WO2023217142A1 (en) Window size adjustment method, and related apparatus and communication system
CN114896009B (en) Terminal equipment, server, theme recommendation method and storage medium
CN113031903B (en) Electronic equipment and audio stream synthesis method thereof
CN111381801B (en) Audio playing method based on double-screen terminal and communication terminal
CN115291789B (en) Handwriting fitting method, handwriting fitting device, terminal equipment and medium
US20240086035A1 (en) Display Method and Electronic Device
WO2024066992A1 (en) Multi-device networking system and method, and terminal devices
WO2023040613A1 (en) Human-machine interaction method, computer-readable medium, and electronic device
WO2024078306A1 (en) Banner notification message display method and electronic device

Legal Events

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