Cursor animation display method and device, equipment, storage medium and vehicle

By receiving and processing the real-time position information of the cursor in the vehicle operating system platform and presenting animation effects under specific conditions, the user operation errors caused by the cursor movement is solved, and the user experience is improved.

CN120066337APending Publication Date: 2025-05-30BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311609965.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-29
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

In the existing vehicle operating system platform, when the cursor moves too fast, it is difficult for users to check the cursor position in time, resulting in operation errors.

Method used

By receiving the target operation of moving the cursor, the real-time position information of the cursor in the display interface is obtained, and when the preset conditions are met, the target animation effect is presented to help the user view the cursor.

Benefits of technology

It effectively reduces user operation errors, improves user experience, and enables users to track cursor position in a timely manner through animation effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120066337A_ABST
    Figure CN120066337A_ABST
Patent Text Reader

Abstract

The invention discloses a cursor animation display method and device, equipment, a storage medium and a vehicle. The method comprises the following steps: receiving a target operation of moving a cursor in a display interface; in response to the target operation, acquiring real-time position information of the cursor in the display interface; under the condition that the real-time position information meets a preset condition, it is determined that the cursor triggers a target event, and the preset condition is that the real-time position information indicates that the cursor is located in a control in a preset display area or the real-time position information indicates that the cursor is located in the boundary of the preset display area; and presenting a target animation effect at a position corresponding to the real-time position information in the display interface, wherein the target animation effect corresponds to the target event.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the technical field of vehicles, and particularly relates to a method, device, equipment, storage medium and vehicle for displaying a cursor animation. Background Art

[0002] With the continuous development of vehicle technology, the functions of vehicles are becoming increasingly rich. Currently, vehicles can help users interact with the vehicle through the installed operating system platform to achieve different functions of the vehicle. In the in-vehicle operating system platform, the position and movement direction of the cursor can help users accurately locate the corresponding function area. However, when using and moving the cursor on the existing operating system platform, if the cursor moves too fast, users may not be able to view the movement position of the cursor in time, resulting in easy errors in user operations. Summary of the Invention

[0003] Embodiments of this application provide a method, device, equipment, storage medium and vehicle for displaying a cursor animation, which can help users view the cursor, thereby reducing user operation errors.

[0004] In a first aspect, embodiments of this application provide a method for displaying a cursor animation, the method comprising:

[0005] Receiving a target operation for moving a cursor in a display interface;

[0006] In response to the target operation, obtaining real-time position information of the cursor in the display interface;

[0007] When the real-time position information meets a preset condition, determining that the cursor triggers a target event, where the preset condition is any one of the real-time position information indicating that the cursor is located in a control within a preset display area and the real-time position information indicating that the cursor is located at the boundary of the preset display area;

[0008] Presenting a target animation effect at a position corresponding to the real-time position information in the display interface, where the target animation effect corresponds to the target event.

[0009] In a second aspect, embodiments of this application provide a device for displaying a cursor animation, the device comprising:

[0010] A receiving module, configured to receive a target operation for moving a cursor in a display interface;

[0011] An obtaining module, configured to obtain real-time position information of the cursor in the display interface in response to the target operation;

[0012] A determination module, configured to determine that the cursor triggers a target event when the real-time position information meets a preset condition, where the preset condition is any one of that the real-time position information indicates that the cursor is located on a control within a preset display area and that the real-time position information indicates that the cursor is located at the boundary of the preset display area;

[0013] A display module, configured to present a target animation effect at a position corresponding to the real-time position information in the display interface, where the target animation effect corresponds to the target event.

[0014] In a third aspect, an embodiment of the present application provides a display device for cursor animation, where the device includes: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the display method of cursor animation described in any one of the above is implemented.

[0015] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which computer program instructions are stored, and when the computer program instructions are executed by a processor, the display method of cursor animation described in any one of the above is implemented.

[0016] In a fifth aspect, an embodiment of the present application provides a computer program product, and when the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute the display method of cursor animation described in any one of the above.

[0017] In a sixth aspect, an embodiment of the present application provides a vehicle, including: an electronic device, where the electronic device is configured to implement the display method of cursor animation described in any one of the above.

[0018] The display method, device, device, storage medium and vehicle of cursor animation in the embodiments of the present application can receive a target operation of moving a cursor in a display interface; in response to the target operation, obtain real-time position information of the cursor in the display interface; when the real-time position information meets a preset condition, determine that the cursor triggers a target event; and present a target animation effect at a position corresponding to the real-time position information in the display interface, where the target animation effect corresponds to the target event. In this way, in the embodiments of the present application, according to the target operation of moving the cursor, when the real-time position information meets the preset condition, a target animation effect corresponding to the target event can be presented at the position where the cursor is in the display interface, which can help the user view the cursor, thereby reducing user operation errors. Description of the Drawings

[0019] To more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the accompanying drawings required in the embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0020] Figure 1 is a schematic flowchart of a method for displaying a cursor animation provided by an embodiment of the present application;

[0021] Figure 2 is a schematic flowchart of a method for displaying a cursor animation provided by an embodiment of the present application;

[0022] Figure 3 is a schematic structural diagram of a device for displaying a cursor animation provided by an embodiment of the present application;

[0023] Figure 4 is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Detailed implementation manners

[0024] In order to more clearly understand the above objects, features, and advantages of the present disclosure, the following will further describe the solutions of the present disclosure. It should be noted that, without conflict, the embodiments of the present disclosure and the features in the embodiments can be combined with each other.

[0025] Many specific details are set forth in the following description in order to fully understand the present disclosure, but the present disclosure can also be implemented in other ways different from those described herein; obviously, the embodiments in the specification are only a part of the embodiments of the present disclosure, rather than all of the embodiments.

[0026] With the continuous development of vehicle technology, the functions it possesses are becoming increasingly rich. Currently, a vehicle can help users perform human-computer interaction with the vehicle through the installed operating system platform to achieve different functions of the vehicle. In the in-vehicle operating system platform, the position and movement direction of the cursor can help users accurately locate the corresponding function area. However, when using and moving the cursor on the existing operating system platform, if the cursor moves too fast, users may not be able to view the movement position of the cursor in time, resulting in easy errors in user operations.

[0027] To solve the problems of the prior art, embodiments of the present application provide a method, device, equipment, storage medium, and vehicle for displaying a cursor animation. The following will first introduce the method for displaying a cursor animation provided by the embodiments of the present application.

[0028] Figure 1 shows a schematic flowchart of a method for displaying a cursor animation provided by an embodiment of the present application. As Figure 1 shown, a method for displaying a cursor animation may include the following steps S101 to S104:

[0029] S101. Receive a target operation of moving a cursor in a display interface;

[0030] S102. In response to the target operation, obtain real-time position information of the cursor in the display interface;

[0031] S103. When the real-time position information meets a preset condition, determine that the cursor triggers a target event, where the preset condition is any one of the real-time position information indicating that the cursor is located on a control within a preset display area and the real-time position information indicating that the cursor is located on the boundary of the preset display area;

[0032] S104. Present a target animation effect at the position corresponding to the real-time position information in the display interface, where the target animation effect corresponds to the target event.

[0033] The method for displaying a cursor animation according to the embodiments of the present application can receive a target operation of moving a cursor in a display interface; in response to the target operation, obtain real-time position information of the cursor in the display interface; when the real-time position information meets a preset condition, determine that the cursor triggers a target event; and present a target animation effect corresponding to the target event at the position corresponding to the real-time position information in the display interface. In this way, according to the embodiments of the present application, when the real-time position information meets a preset condition according to the target operation of moving the cursor, a target animation effect corresponding to the target event can be presented at the position where the cursor is in the display interface, which can help the user view the cursor, thereby reducing user operation errors.

[0034] The specific implementation manners of the above steps are introduced below.

[0035] In S101, the above target operating system may, for example, be an Android operating system, or may also be an operating system such as Windows or Linux, and specific limitations are not made here.

[0036] The above target operation of moving a cursor in a display interface may, for example, be an operation of selecting a control within a preset display area by the cursor in the display interface of the target operating system, or may also be an operation of moving the cursor to the boundary of the preset display area in the display interface of the target operating system. Among them, the target operating system may, for example, be an Android operating system, but the embodiments of the present application are not limited thereto, and other operating systems may also be used, and specific limitations are not made here.

[0037] The above receiving a target operation of moving a cursor in a display interface may, for example, be that an in-vehicle Android operating system receives an operation of a user selecting a control by moving the cursor or moving the cursor out of the display interface through a mouse or a touch gesture.

[0038] In S102, the above real-time position information, exemplarily, can be the coordinates of the cursor in the display interface, including the abscissa and the ordinate.

[0039] The above method for obtaining the real-time position information of the cursor in the display interface, exemplarily, on the Windows platform, the Win32 API function can be used to obtain the cursor coordinates. Or, on the macOS platform, the APIs provided in Objective-C or Swift languages can be used to obtain the cursor coordinates. It can also be that on the Linux platform, the functions provided by the XWindowSystem can be used to obtain the cursor coordinates.

[0040] In S103, the above preset condition, exemplarily, can be that the real-time position information indicates that the cursor is located within a control in a preset display area, and the corresponding target event can be the first event, where the first event is an event indicating that the cursor selects the control within the preset display area. Or, the preset condition can also be that the real-time position information indicates that the cursor is located at the boundary of the preset display area, and the corresponding target event is the second event, where the second event is an event indicating that the cursor moves to the boundary of the preset display area.

[0041] The above method of determining that the cursor triggers the target event when the real-time position information meets the preset condition, exemplarily, when the real-time position information indicates that the cursor is located within a control in the preset display area, it is determined that the cursor triggers the first event; or, when the real-time position information indicates that the cursor is located at the boundary of the preset display area, it is determined that the cursor triggers the second event.

[0042] In S104, the above target animation effect corresponds to the target event, that is, when the target event is the first event, the target animation effect is the first animation effect corresponding to the first event; similarly, when the target event is the second event, the target animation effect is the second animation effect corresponding to the second event.

[0043] In some embodiments, the above S103 may specifically include:

[0044] When the real-time position information indicates that the cursor is located within a control in the preset display area, it is determined that the cursor triggers the first event, where the first event is an event indicating that the cursor selects the control within the preset display area;

[0045] The above S104 may specifically include:

[0046] Determine the first animation effect corresponding to the first event as the target animation effect, where the first animation effect is that at least one of the cursor and the control presents an animation effect;

[0047] Present the first animation effect at the position corresponding to the real-time position information in the display interface.

[0048] The above determines the first animation effect corresponding to the first event as the target animation effect. Exemplarily, it may be to determine the cursor focus animation effect and / or the stretching and enlarging animation effect of the control as the target animation effect.

[0049] The above presents the first animation effect at the position corresponding to the real-time position information in the display interface. Exemplarily, it may be to present the cursor animation effect at the position corresponding to the real-time position information in the display interface. Or, it may also be to present the first sub-animation effect at the position corresponding to the real-time position information in the display interface; present the second sub-animation effect at the position corresponding to the control in the display interface; the first sub-animation effect is different from the second sub-animation effect.

[0050] In this embodiment, when the real-time position information indicates that the cursor is located on the control within the preset display area, it is determined that the cursor triggers the first event, and the first animation effect corresponding to the first event is determined as the target animation effect, which can help the user to timely view the situation where the cursor selects the control within the preset display area, thereby improving the user experience.

[0051] In some embodiments, the above first animation effect may specifically include a first sub-animation effect and a second sub-animation effect, and the first sub-animation effect is different from the second sub-animation effect;

[0052] The above presenting the first animation effect at the position corresponding to the real-time position information in the display interface specifically includes:

[0053] Presenting the first sub-animation effect at the position corresponding to the real-time position information in the display interface;

[0054] Presenting the second sub-animation effect at the position corresponding to the control in the display interface.

[0055] Among them, the first sub-animation effect and the second sub-animation effect may be different. For example, the first sub-animation effect may be a focus selection animation effect, and the second sub-animation effect may be a stretching and enlarging animation effect. In the embodiments of the present application, the first sub-animation effect and the second sub-animation effect are not limited to the focus selection animation effect and the stretching and enlarging animation effect.

[0056] The above first sub-animation effect may be a focus selection animation effect, which is specifically obtained by the cursor dynamic effect drawing processing program in the Android system platform according to the coordinates and size of the control selected by the cursor and the coordinates of the cursor. The focus selection animation effect, exemplarily, may be the animation effect of the cursor blinking.

[0057] The above-mentioned second sub-animation effect can be a stretching and magnifying animation effect. Specifically, the application control in the Android system platform processes and draws the control animation effect, and based on the coordinates of the cursor, and the coordinates and dimensions of the control selected by the cursor, the stretching and magnifying animation effect of the control is drawn.

[0058] In this embodiment, by presenting the first sub-animation effect of the cursor and the second sub-animation effect of the control at the position corresponding to the real-time position information in the display interface, it can more effectively help the user view the cursor and further improve the user experience.

[0059] In some embodiments, presenting the first sub-animation effect at the position corresponding to the real-time position information in the display interface may specifically include:

[0060] Obtain the position area information of the control, where the position area information is used to indicate the position and area range of the control;

[0061] Draw the first sub-animation effect according to the real-time position information and the position area information;

[0062] Present the first sub-animation effect at the position corresponding to the real-time position information in the display interface, and the presentation of the first sub-animation effect does not exceed the area range.

[0063] The above-mentioned position area information can be used to indicate the position and area range of the control, that is, the position area information includes the coordinates and dimensions of the control selected by the cursor.

[0064] In this embodiment, drawing the first sub-animation effect according to the real-time position information and the position area information can make the presentation of the first sub-animation effect not exceed the area range, achieving the effect of matching the size of the first sub-animation effect and the control.

[0065] As an implementation manner of the present application, in order to restore the cursor in time, after presenting the first animation effect at the position corresponding to the real-time position information in the display interface, it may further include:

[0066] Obtain the moving distance of the cursor;

[0067] In the case where the moving distance exceeds the area range of the control where the real-time position information is located, the first animation effect is not presented.

[0068] The above-mentioned moving distance, exemplarily, can be the distance between the position corresponding to the real-time position information where the cursor moves to the next position.

[0069] In this embodiment, through the moving distance of the cursor, in the case where the moving distance of the cursor exceeds the area range of the control where the real-time position information is located, the first animation effect is not presented, thereby restoring the cursor in time.

[0070] In some embodiments, the above S103 may specifically include:

[0071] When the cursor of the real-time position information is located at the boundary of the preset display area, it is determined that the cursor triggers a second event, and the second event is an event indicating that the cursor moves to the boundary of the preset display area;

[0072] The above S104 may specifically include:

[0073] Determine the second animation effect corresponding to the second event as the target animation effect, where the second animation effect is the animation effect presented by the cursor;

[0074] Present the second animation effect at the position corresponding to the real-time position information in the display interface.

[0075] When the cursor of the real-time position information is located at the boundary of the preset display area, it is determined that the cursor triggers a second event. Exemplarily, it can be the camera program in the Android system platform that captures the gesture data of the user (i.e., the cursor coordinates), and when the gesture data is located at the boundary of the preset display area, it is determined that the cursor triggers a second event.

[0076] In this embodiment, when the cursor of the real-time position information is located at the boundary of the preset display area, it is determined that the cursor triggers a second event, and the second animation effect corresponding to the second event is determined as the target animation effect, which can help the user view the situation where the cursor moves to the boundary of the preset display area in time, thereby improving the user experience.

[0077] In some embodiments, presenting the second animation effect at the position corresponding to the real-time position information in the display interface may specifically include:

[0078] Draw the second animation effect according to the real-time position information;

[0079] Present the second animation effect at the position corresponding to the real-time position information in the display interface, and the presentation of the second animation effect does not exceed the boundary of the preset display area.

[0080] The above second animation effect is the animation effect presented by the cursor. Exemplarily, it can be the cursor dynamic effect drawing and processing program in the Android system platform that draws the out-of-bounds animation effect of the cursor according to the cursor coordinates. The out-of-bounds animation effect, exemplarily, can be the animation effect of the cursor changing from an arrow to a light point.

[0081] In this embodiment, draw the second animation effect according to the real-time position information, and present the second animation effect at the position corresponding to the real-time position information in the display interface, and the presentation of the second animation effect does not exceed the boundary of the preset display area, so that the second animation effect presents the effect of the cursor moving out of bounds.

[0082] To facilitate the understanding of the method for displaying the cursor animation in the embodiments of the present application, the application process of the method for displaying the cursor animation is described herein as follows:

[0083] The embodiments of the present application provide a method for displaying a cursor animation, which is applied to the Android system of a vehicle. When the Android system accesses a cursor for interaction (such as plugging in a mouse or gesture operation), the display screen of the Android system will display the cursor. On the Android platform, when the cursor is slid to a corresponding control, a focus selection animation effect will be presented. When the cursor moves out of the screen area, a boundary reminder animation effect will be presented.

[0084] As Figure 2 shown, the embodiments of the present application provide an architecture diagram of a cursor animation effect solution.

[0085] 1 Focus selection scenario

[0086] When the cursor starts to move and moves into a certain control corresponding to an application, the cursor will start to perform a focus selection animation effect, and the control will also start to perform a stretching and enlarging animation effect.

[0087] Among them, the focus selection animation effect of the cursor is drawn and presented by the cursor program LibInputService. The animation effect parameters (including the coordinates and dimensions of the control) need to be passed to the LibInputService program by the control view of the application through the binder. After the LibInputService program obtains the animation effect parameters, combined with the cursor coordinates, it starts to draw the focus selection animation effect. The implementation of the drawing is supported by the cursor animation drawing processing program (including NativeSpringAnimation and NativeValueAnimator) to realize the cursor animation. The reason for passing the animation effect parameters (i.e., the coordinates and dimensions of the control) is to achieve the effect that the focus selection animation effect matches the size of the control.

[0088] The realization of the stretching and enlarging animation effect of the control is that the application itself obtains the animation effect parameters (including the cursor coordinates) passed by the cursor program and starts to draw the stretching and enlarging animation effect in the control within the application.

[0089] What is finally presented is the scenario where the two animation effects of the cursor and the control are presented together.

[0090] The above-mentioned Libinputservice: The program for drawing the cursor.

[0091] The above-mentioned View is a class for an application in the Android system to draw images.

[0092] The above-mentioned Binder is a communication mechanism between processes in the Android system.

[0093] The above NativeSpringAnimation is an elastic animation program.

[0094] The above NativeValueAnimator is the core program of the animation program.

[0095] 2 Out-of-bounds scenario

[0096] The out-of-bounds event notified by OMS also needs to be passed to the Input program for transfer to the InputManagerService, and the InputManagerService passes it to the application and LibInputService respectively to implement the out-of-bounds reminder animation.

[0097] The above OMS is a camera program that can collect the user's gesture data (such as moving the cursor out of bounds) and report it to the InputManagerService.

[0098] The above InputManagerService is a program for transferring and processing cursor transactions.

[0099] Based on the method for displaying the cursor animation provided in the above embodiments, correspondingly, the present application also provides a specific implementation manner of the device for displaying the cursor animation. Please refer to the following embodiments.

[0100] As Figure 3 shown, the device 300 for displaying the cursor animation provided in the embodiments of the present application may include the following modules: a receiving module 301, an obtaining module 302, a determining module 303, and a displaying module 304.

[0101] The receiving module 301 is configured to receive a target operation for moving the cursor in the display interface;

[0102] The obtaining module 302 is configured to obtain the real-time position information of the cursor in the display interface in response to the target operation;

[0103] The determining module 303 is configured to determine that the cursor triggers a target event when the real-time position information meets a preset condition, and the preset condition is any one of the real-time position information indicating that the cursor is located in a control within the preset display area and the real-time position information indicating that the cursor is located at the boundary of the preset display area;

[0104] The displaying module 304 is configured to present a target animation effect at the position corresponding to the real-time position information in the display interface, and the target animation effect corresponds to the target event.

[0105] The display device of the cursor animation according to the embodiment of the present application can receive a target operation of moving the cursor in the display interface; in response to the target operation, obtain the real-time position information of the cursor in the display interface; when the real-time position information meets the preset conditions, determine that the cursor triggers a target event; and present a target animation effect at the position corresponding to the real-time position information in the display interface, where the target animation effect corresponds to the target event. In this way, in the embodiment of the present application, according to the target operation of moving the cursor, when the real-time position information meets the preset conditions, a target animation effect corresponding to the target event can be presented at the position where the cursor is in the display interface, which can help the user view the cursor, thereby reducing user operation errors.

[0106] In some embodiments, the above-mentioned determination module 303 may specifically include:

[0107] The first determination unit is configured to determine that the cursor triggers a first event when the real-time position information indicates that the cursor is located on a control in a preset display area, where the first event is an event indicating that the cursor selects a control in the preset display area;

[0108] The above-mentioned display module 304 may specifically include:

[0109] The second determination unit is configured to determine the first animation effect corresponding to the first event as the target animation effect, where the first animation effect is an animation effect presented by at least one of the cursor and the control;

[0110] The first display unit is configured to present the first animation effect at the position corresponding to the real-time position information in the display interface.

[0111] In some embodiments, the first animation effect includes a first sub-animation effect and a second sub-animation effect, and the first sub-animation effect is different from the second sub-animation effect;

[0112] The above-mentioned first display unit may specifically include:

[0113] The first display sub-unit is configured to present the first sub-animation effect at the position corresponding to the real-time position information in the display interface;

[0114] The second display sub-unit is configured to present the second sub-animation effect at the position corresponding to the control in the display interface.

[0115] In some embodiments, the above-mentioned first display sub-unit may specifically be configured to obtain the position area information of the control, where the position area information is used to indicate the position and area range where the control is located; draw the first sub-animation effect according to the real-time position information and the position area information; and present the first sub-animation effect at the position corresponding to the real-time position information in the display interface, and the presentation of the first sub-animation effect does not exceed the area range.

[0116] In some embodiments, the above-mentioned determination module 303 may specifically include:

[0117] A third determination unit, configured to determine that the cursor triggers a second event when the real-time position information indicates that the cursor is located at the boundary of the preset display area, and the second event is an indication that the cursor moves to the boundary of the preset display area;

[0118] The above-mentioned display module 304 may specifically include:

[0119] A fourth determination unit, configured to determine the second animation effect corresponding to the second event as the target animation effect, where the second animation effect is the animation effect presented by the cursor;

[0120] A second display unit, configured to present the second animation effect at the position corresponding to the real-time position information in the display interface.

[0121] In some embodiments, the above-mentioned second display unit may specifically include:

[0122] A drawing subunit, configured to draw the second animation effect according to the real-time position information;

[0123] A third display subunit, configured to present the second animation effect at the position corresponding to the real-time position information in the display interface, and the presentation of the second animation effect does not exceed the boundary of the preset display area.

[0124] Based on the cursor animation display method provided in the above embodiments, correspondingly, the present application also provides a specific implementation manner of the electronic device. Please refer to the following embodiments.

[0125] Figure 4 FIG. shows a schematic hardware structure diagram of an electronic device provided in an embodiment of the present application.

[0126] The electronic device may include a processor 401 and a memory 402 storing computer program instructions.

[0127] Specifically, the above-mentioned processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0128] The memory 402 may include a mass storage for data or instructions. By way of example and not limitation, the memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 402 may include removable or non-removable (or fixed) media. Where appropriate, the memory 402 may be internal or external to the integrated gateway disaster recovery device. In a particular embodiment, the memory 402 is a non-volatile solid-state memory.

[0129] In a particular embodiment, the memory 402 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage media device, an optical storage media device, a flash memory device, an electrical, optical, or other physical / tangible memory storage device. Thus, in general, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to one aspect of the present disclosure.

[0130] The processor 401 reads and executes the computer program instructions stored in the memory 402 to implement the display method of any one of the cursor animations in the above embodiments.

[0131] In one example, the electronic device may further include a communication interface 403 and a bus 410. Among them, as Figure 4 shown, the processor 401, the memory 402, and the communication interface 403 are connected through the bus 410 and complete communication with each other.

[0132] The communication interface 403 is mainly used to implement communication between the various modules, devices, units, and / or devices in the embodiments of the present application.

[0133] Bus 410 includes hardware, software, or both, and couples components of the electronic device to each other. By way of example and not limitation, the bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable bus or a combination of two or more of these. Where appropriate, bus 410 may include one or more buses. Although embodiments of the present application describe and illustrate specific buses, the present application contemplates any suitable bus or interconnect.

[0134] The electronic device can execute the cursor animation display method in the embodiments of the present application, so as to implement the combination Figure 1 and Figure 3 the cursor animation display method and device described.

[0135] In addition, in combination with the cursor animation display method in the above embodiments, embodiments of the present application can provide a computer-readable storage medium to implement. Computer program instructions are stored on the computer-readable storage medium; when the computer program instructions are executed by a processor, any one of the cursor animation display methods in the above embodiments is implemented.

[0136] In combination with the cursor animation display method in the above embodiments, embodiments of the present application can provide a computer program product. When the instructions in the computer program product are executed by a processor of the electronic device, the electronic device executes the cursor animation display method as described above in any item.

[0137] In combination with the cursor animation display method in the above embodiments, embodiments of the present application can provide a vehicle to implement. The vehicle includes: an electronic device for implementing the cursor animation display method as described above in any item.

[0138] It should be clear that the present application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and illustrated as examples. However, the method process of the present application is not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications, and additions, or change the order between steps after understanding the spirit of the present application.

[0139] The functional blocks shown in the above-described structural block diagrams can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a functional card, and so on. When implemented in software, the elements of the present application are programs or code segments for performing the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted via a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" can include any medium that can store or transmit information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio frequency (RF) links, and so on. The code segment can be downloaded via a computer network such as the Internet, an intranet, and so on.

[0140] It should also be noted that the exemplary embodiments mentioned in the present application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above steps, that is, the steps can be executed in the order mentioned in the embodiments, or different from the order in the embodiments, or several steps can be executed simultaneously.

[0141] Aspects of the present disclosure have been described above with reference to the flowcharts and / or block diagrams of methods, apparatuses (systems), and computer program products according to embodiments of the present disclosure. It should be understood that each block in the flowcharts and / or block diagrams, and the combinations of blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general purpose computer, a special purpose computer, or other programmable data processing device to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the functions / actions specified in one or more blocks of the flowcharts and / or block diagrams. Such a processor can be, but is not limited to, a general purpose processor, a special purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each block in the block diagrams and / or flowcharts, and the combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by dedicated hardware for performing the specified functions or actions, or by a combination of dedicated hardware and computer instructions.

[0142] As described above, this is only the specific implementation manner of the present application. Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, modules, and units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein. It should be understood that the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of various equivalent modifications or substitutions, and these modifications or substitutions should be covered within the protection scope of the present application.

[0143] It should be noted that in this text, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the term "comprising" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or device. Without further limitation, an element defined by the phrase "comprising a..." does not exclude the existence of additional identical elements in the process, method, article, or device comprising the element.

Claims

1. A method for displaying a cursor animation, characterized in that, it includes: Receiving a target operation to move the cursor in the display interface; In response to the target operation, obtaining real-time position information of the cursor in the display interface; When the real-time position information meets a preset condition, determining that the cursor triggers a target event, where the preset condition is any one of the real-time position information indicating that the cursor is located in a control within a preset display area and the real-time position information indicating that the cursor is located at the boundary of the preset display area; Presenting a target animation effect at the position corresponding to the real-time position information in the display interface, where the target animation effect corresponds to the target event.

2. The method according to claim 1, characterized in that, When the real-time position information meets a preset condition, determining that the cursor triggers a target event includes: When the real-time position information indicates that the cursor is located in a control within the preset display area, determining that the cursor triggers a first event, where the first event is an event indicating that the cursor selects a control within the preset display area; Presenting a target animation effect at the position corresponding to the real-time position information in the display interface includes: Determining a first animation effect corresponding to the first event as the target animation effect, where the first animation effect is an animation effect presented by at least one of the cursor and the control; Presenting the first animation effect at the position corresponding to the real-time position information in the display interface.

3. The method according to claim 2, characterized in that, The first animation effect includes a first sub-animation effect and a second sub-animation effect, and the first sub-animation effect is different from the second sub-animation effect; Presenting the first animation effect at the position corresponding to the real-time position information in the display interface includes: Presenting the first sub-animation effect at the position corresponding to the real-time position information in the display interface; Presenting the second sub-animation effect at the position corresponding to the control in the display interface.

4. The method according to claim 3, characterized in that, Presenting the first sub-animation effect at the position corresponding to the real-time position information in the display interface includes: Obtaining position area information of the control, where the position area information is used to indicate the position and area range where the control is located; Drawing the first sub-animation effect according to the real-time position information and the position area information; Presenting the first sub-animation effect at the position corresponding to the real-time position information in the display interface, and the presentation of the first sub-animation effect does not exceed the area range.

5. The method according to claim 2, characterized in that, When the real-time position information meets a preset condition, determining that the cursor triggers a target event includes: When the real-time position information indicates that the cursor is located at the boundary of the preset display area, determining that the cursor triggers a second event, where the second event is an event indicating that the cursor moves to the boundary of the preset display area; Presenting a target animation effect at the position corresponding to the real-time position information in the display interface includes: Determining a second animation effect corresponding to the second event as the target animation effect, where the second animation effect is an animation effect presented by the cursor; Presenting the second animation effect at the position corresponding to the real-time position information in the display interface.

6. The method according to claim 5, wherein, Presenting the second animation effect at the position corresponding to the real-time position information in the display interface includes: Drawing the second animation effect according to the real-time position information; Presenting the second animation effect at the position corresponding to the real-time position information in the display interface, and the presentation of the second animation effect does not exceed the boundary of the preset display area.

7. A display device for cursor animation, wherein, Comprising: A receiving module, configured to receive a target operation for moving a cursor in a display interface; An obtaining module, configured to obtain real-time position information of the cursor in the display interface in response to the target operation; A determining module, configured to determine that the cursor triggers a target event when the real-time position information meets a preset condition, and the preset condition is any one of the real-time position information indicating that the cursor is located in a control within a preset display area and the real-time position information indicating that the cursor is located at the boundary of the preset display area; A display module, configured to present a target animation effect at the position corresponding to the real-time position information in the display interface, and the target animation effect corresponds to the target event.

8. An electronic device, wherein, The electronic device includes: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the display method of cursor animation according to any one of claims 1-6 is implemented.

9. A computer-readable storage medium, wherein, Computer program instructions are stored on the computer-readable storage medium, and when the computer program instructions are executed by a processor, the display method of cursor animation according to any one of claims 1-6 is implemented.

10. A vehicle, wherein, Comprising: An electronic device, and the electronic device is used to implement the display method of cursor animation according to any one of claims 1-6.