Wallpaper dynamic display method and device and vehicle-mounted terminal

By storing directory identifiers instead of pictures in the preset buffer queue of the vehicle terminal and obtaining display from the hard disk, the problem of poor wallpaper dynamic display flexibility is solved, and wallpaper management without memory restrictions is achieved and display efficiency is improved.

CN119292806APending Publication Date: 2025-01-10AVATR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411318651.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

When the on-board terminals are dynamically displayed on wallpaper, memory usage needs to be considered, resulting in poor flexibility in dynamic display of wallpapers.

Method used

By storing directory identification in a preset buffer queue instead of the pictures to be displayed, obtaining and displaying pictures from the hard disk, reducing memory usage and improving the flexibility of wallpaper dynamic display.

Benefits of technology

It realizes setting the number of wallpapers without considering memory usage, improves the flexibility of wallpaper dynamic display, and decouples wallpaper management and drawing operations, improving the efficiency and fluency of wallpaper drawing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119292806A_ABST
    Figure CN119292806A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of vehicles, and discloses a wallpaper dynamic display method and device and a vehicle-mounted terminal.The method comprises the steps that based on a first process, a first sequential directory identifier in a preset buffering queue is extracted from the preset buffering queue; wherein the preset buffer queue comprises a plurality of directory identifiers, the directory identifiers are identifiers of directories corresponding to a picture set, and the directories corresponding to the picture set comprise a plurality of pictures; and based on the first process, according to the extracted directory identifier, acquiring a picture under a directory corresponding to the directory identifier from a hard disk, and setting the acquired picture as wallpaper for display. By applying the technical scheme of the invention, the flexibility of dynamic display of the wallpaper can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of vehicle technology, and specifically to a wallpaper dynamic display method, device and vehicle-mounted terminal. Background Art

[0002] At present, terminal devices have become a necessity in people's lives, and wallpapers will be set on the terminal devices to display wallpapers for users. For example, a vehicle terminal will be deployed in a vehicle, and wallpapers will be set on the vehicle terminal to bring visual impact to users and improve user experience.

[0003] When the vehicle terminal performs dynamic display of wallpaper, it is necessary to consider the memory usage rate and add the number of pictures to be displayed that meet the memory usage requirements to the playback queue. Therefore, the number of pictures in the playback queue needs to be set based on the memory, resulting in poor flexibility in the dynamic display of wallpaper. Summary of the invention

[0004] In view of the above problems, the embodiments of the present invention provide a wallpaper dynamic display method, device and vehicle-mounted terminal, which are used to solve the problem of poor flexibility of dynamic display of wallpaper in the prior art.

[0005] According to one aspect of an embodiment of the present invention, a wallpaper dynamic display method is provided, the method comprising:

[0006] Based on the first process, extracting the first-order directory identifier in the preset buffer queue from the preset buffer queue; wherein the preset buffer queue includes multiple directory identifiers, the directory identifier is an identifier of a directory corresponding to a picture set, and the directory corresponding to the picture set includes multiple pictures;

[0007] Based on the first process, according to the extracted directory identifier, the pictures under the directory corresponding to the directory identifier are obtained from the hard disk, and the obtained pictures are set as wallpaper for display.

[0008] According to another aspect of an embodiment of the present invention, there is provided a wallpaper dynamic display device, comprising:

[0009] An extraction module is used to extract, based on the first process, a directory identifier of the first order in the preset buffer queue from the preset buffer queue; wherein the preset buffer queue includes a plurality of directory identifiers, the directory identifier is an identifier of a directory corresponding to a picture set, and the directory corresponding to the picture set includes a plurality of pictures;

[0010] The display module is used to obtain the pictures in the directory corresponding to the directory identifier from the hard disk based on the first process and the extracted directory identifier, and set the obtained pictures as wallpaper for display.

[0011] According to another aspect of an embodiment of the present invention, there is provided a vehicle-mounted terminal, including:

[0012] A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus;

[0013] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the operation of the above-mentioned wallpaper dynamic display method.

[0014] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein at least one executable instruction is stored in the storage medium. When the executable instruction is executed on a vehicle-mounted terminal / wallpaper dynamic display device, the vehicle-mounted terminal / wallpaper dynamic display device executes the operation of the above-mentioned wallpaper dynamic display method.

[0015] The embodiments of the present invention can reduce the occupancy rate of memory space through the wallpaper dynamic display method, device and vehicle-mounted terminal, and set the number of wallpapers without considering the memory usage rate, thereby improving the flexibility of wallpaper dynamic display. Furthermore, the decoupling of wallpaper management operation and wallpaper drawing operation is achieved, thereby improving the efficiency and fluency of wallpaper drawing.

[0016] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:

[0018] Figure 1 A flowchart of a first embodiment of a wallpaper dynamic display method provided by the present invention is shown;

[0019] Figure 2 A schematic diagram of a preset buffer queue provided by the present invention is shown;

[0020] Figure 3 A flowchart of a second embodiment of the wallpaper dynamic display method provided by the present invention is shown;

[0021] Figure 4 A flowchart of a third embodiment of the wallpaper dynamic display method provided by the present invention is shown;

[0022] Figure 5A schematic structural diagram of an embodiment of a wallpaper dynamic display device provided by the present invention is shown;

[0023] Figure 6 A schematic structural diagram of an embodiment of a vehicle-mounted terminal provided by the present invention is shown. DETAILED DESCRIPTION

[0024] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0025] First, the terms of the present invention are explained:

[0026] Wallpaper: Also known as desktop wallpaper, it is the background image on the screen of electronic products.

[0027] Currently, when the vehicle terminal performs dynamic display of wallpaper, the pictures to be displayed are added to the playback queue, and the pictures are displayed in sequence according to the playback queue to achieve dynamic playback. However, this method needs to consider the memory usage rate. Therefore, the number of pictures in the playback queue needs to be set based on the memory, resulting in poor flexibility in the dynamic display of wallpaper.

[0028] In view of this, the present application proposes a method for dynamic display of wallpaper, which utilizes a buffer queue to store a directory identifier including multiple pictures. When the picture corresponding to the directory identifier needs to be set as wallpaper, the picture is obtained from the hard disk for display. In this way, there is no need to store the pictures to be displayed in the buffer queue, and there is no need to consider the memory occupancy rate, thereby improving the flexibility of dynamic display of wallpaper.

[0029] Figure 1 FIG. 1 is a flowchart of a first embodiment of a wallpaper dynamic display method provided by the present invention, and the method is executed by a vehicle-mounted terminal. Figure 1 As shown, the method comprises the following steps:

[0030] S101. Based on the first process, extract the directory identifier with the first order in the preset buffer queue from the preset buffer queue.

[0031] Among them, the above-mentioned preset buffer queue includes multiple directory identifiers, and the above-mentioned directory identifier is used to uniquely represent the directory, for example, it can be the name of the directory, ID or the code assigned to the directory by the vehicle terminal, etc., and the embodiment of the present application is not limited here. The directory identifier is the identifier of the directory corresponding to the picture set, and the directory corresponding to the picture set includes multiple pictures. The pictures in the picture set are used to be displayed as wallpaper. In other words, the above-mentioned preset buffer queue stores the directory identifier corresponding to the picture set used to be displayed as wallpaper.

[0032] The pictures in the above picture set are stored in a directory corresponding to the picture set. It should be noted that the pictures in the picture set can be related pictures. For example, the above preset buffer queue includes a directory identifier "raining", and the directory corresponding to the directory identifier can include multiple pictures related to "raining"; they can also be unrelated pictures. For example, the above preset buffer queue includes a directory identifier "custom", and the directory corresponding to the directory identifier can include multiple user-defined pictures. It should be noted that the embodiment of the present application does not limit the number and picture format of the pictures in the directory.

[0033] The first process may be used to run an application or a service to realize the task of dynamically displaying wallpapers, wherein the application may be, for example, an application specifically used to set wallpapers, or a desktop application (Launcher).

[0034] In one possible implementation, reference Figure 2 As shown, Figure 2 A schematic diagram of a preset buffer queue provided by the present invention is shown, wherein the preset buffer queue includes multiple directory identifiers, and the order of the directory identifiers in the preset buffer queue reflects the order in which the wallpapers are displayed. Therefore, the vehicle-mounted terminal can extract the directory identifier ranked first from the preset buffer queue, for example, extract the directory identifier "raining" in the preset buffer queue.

[0035] In some possible implementations, the directory identifier in the above-mentioned preset buffer queue can be preset. For example, a data table is preset in the hard disk of the vehicle terminal, and the data table includes multiple directory identifiers. Each time the vehicle terminal is started, the directory identifier in the data table is loaded into the preset buffer queue based on the first process.

[0036] Alternatively, the vehicle-mounted terminal first obtains a picture set based on the first process, and stores the obtained picture set in a directory corresponding to the picture set in the hard disk; wherein the directory has a directory identifier; and then based on the first process, stores the directory identifier of the directory corresponding to the obtained picture set in a preset buffer queue.

[0037] For example, the vehicle-mounted terminal communicates with other electronic devices to obtain a set of pictures to be displayed, and after creating a directory for the picture set based on the first process, the directory identifier is stored in a preset buffer queue. The other electronic devices may be, for example, a cloud server or a mobile phone; or, after the vehicle-mounted terminal receives a wallpaper setting request, it creates a directory for the picture set corresponding to the wallpaper setting request based on the first process, and stores the directory identifier in the preset buffer queue.

[0038] It should be understood that the directory identifier stored in the above-mentioned preset buffer queue is stored in the memory space of the first process. Compared with the prior art of directly storing the pictures to be displayed in the playback queue, that is, directly storing them in the memory space, this method can reduce the occupancy rate of the memory space.

[0039] S102: Based on the first process, according to the extracted directory identifier, obtain the pictures in the directory corresponding to the directory identifier from the hard disk, and set the obtained pictures as wallpaper for display.

[0040] As mentioned above, the directory corresponding to the directory identifier includes multiple pictures, and the directory identifier can uniquely represent the directory. Therefore, the vehicle terminal can determine the directory corresponding to the directory identifier from the hard disk based on the extracted directory identifier based on the first process, and obtain the pictures under the directory corresponding to the directory identifier, and finally set the obtained pictures as wallpaper for display. Among them, setting the obtained pictures as wallpaper for display can be to display the obtained pictures as the desktop wallpaper of the vehicle terminal, that is, to display them as the background picture of the screen of the vehicle terminal.

[0041] It should be noted that the embodiment of the present invention does not limit how to set the acquired picture as wallpaper for display. For example, the vehicle terminal may set the acquired picture as wallpaper at preset time intervals based on the first process.

[0042] In this embodiment, the vehicle terminal can extract the first-order directory identifier from the preset buffer queue storing the directory identifiers based on the first process, and obtain the pictures in the directory corresponding to the extracted directory identifier from the hard disk, and finally set the obtained pictures as wallpaper for display. In this way, the vehicle terminal can load the picture set corresponding to the directory identifier from the hard disk based on the directory identifier in the preset buffer queue, without having to store the pictures to be displayed as wallpaper in the memory in advance, thereby reducing the occupancy rate of the memory space, and in this way, there is no need to consider the memory usage to set the number of wallpapers, thereby improving the flexibility of the dynamic display of wallpapers.

[0043] In some embodiments, the first process may be used to run an application to implement the task of dynamically displaying wallpapers. The following takes the application being an application specifically used to set wallpapers (hereinafter referred to as wallpaper application) as an example to explain in detail the application scenario of the wallpaper dynamic display method provided by the present invention.

[0044] In a possible implementation, after the wallpaper application is started, the vehicle terminal can directly create a first process to implement the method of the aforementioned embodiment to set wallpaper for the vehicle terminal. In this implementation, the first process is the main process of the wallpaper application, so the first process can be directly created after the wallpaper application is started.

[0045] In another possible implementation, after the wallpaper application is started, the vehicle terminal can create a second process to run the wallpaper application, and create the first process based on the second process to implement the method of the aforementioned embodiment to set wallpaper for the vehicle terminal. In this implementation, the second process is the main process of the wallpaper application, and the first process is a subprocess of the second process. For example, if the vehicle terminal receives a dynamic wallpaper setting request, the first process can be started based on the second process to implement the dynamic display task of the wallpaper.

[0046] In this implementation, the program code corresponding to the first process can be packaged into a software development kit (Software Development Kit, SDK) to facilitate porting to other wallpaper applications.

[0047] The following takes the wallpaper application including the first process and the second process as an example. Figure 1 Based on the illustrated embodiment, the wallpaper dynamic display method provided by the present invention is described. Figure 3 A flow chart of a second embodiment of the wallpaper dynamic display method provided by the present invention is shown, and the method is executed by a vehicle-mounted terminal.

[0048] like Figure 3 As shown, the method comprises the following steps:

[0049] S201: Based on the first process, if it is determined that a directory identifier exists in the preset buffer queue, feedback information is returned to the second process.

[0050] The feedback information is used to indicate the directory identifier stored in the preset buffer queue. The second process is the main process of the wallpaper application; the first process is a subprocess of the second process.

[0051] Exemplarily, the vehicle terminal may detect in real time or periodically whether there is a directory identifier in the preset buffer queue based on the first process, and if it is determined that there is a directory identifier in the preset buffer queue, feedback information is returned to the second process.

[0052] S202: Based on the second process, generate a start request according to the feedback information, and pass the start request to the first process.

[0053] The start request is used to indicate the start of a drawing engine corresponding to the first process. The drawing engine is used to draw wallpaper for display.

[0054] Exemplarily, since the second process is the main process of the wallpaper application, the second process can control the startup of the drawing engine. After receiving the feedback information returned by the first process, the second process can generate a startup request based on the feedback information and the preset request rules, and pass it to the first process. Among them, the preset request rules are used to indicate the format and content of the request. The first process and the second process can communicate through the second Java class, which inherits from the Android system native class ContentProvider and can realize cross-process communication. It should be noted that the embodiment of the present application does not limit the name of the second Java class.

[0055] In some possible implementations, the vehicle terminal may have multiple display screens, and each display screen has a corresponding drawing engine. After receiving the feedback information, the vehicle terminal determines the identifier of the drawing engine to be started based on the second process, writes the identifier of the drawing engine to be started into the start request, and transmits the start request to the first process. The drawing engine to be started may be determined by the user, for example, the user determines to set wallpaper for one of the display screens; it may also be a fixed setting; or the drawing engine of the display screen currently displayed by the wallpaper application is used as the drawing engine to be started.

[0056] Optionally, based on the first process and the start request, a drawing engine corresponding to the first process is started.

[0057] S203: When it is determined that the drawing engine corresponding to the first process has been started, based on the first process, extract the directory identifier of the first order in the preset buffer queue from the preset buffer queue.

[0058] Exemplarily, after starting the drawing engine corresponding to the first process, the vehicle terminal can extract the first-order directory identifier in the preset buffer queue from the preset buffer queue based on the first process. It should be noted that this step is similar to the aforementioned step S101, and please refer to the description of the aforementioned step S101.

[0059] Optionally, the drawing engine corresponding to the first process has a property file, and the parameter value of the first parameter in the property file can be used to reflect whether the drawing engine is started. For example, if the drawing engine is already started, the parameter value can be a first value; if the drawing engine is not started, the parameter value can be a second value. The first value can be 1, and the second value can be 0.

[0060] S204: Based on the first process, according to the extracted directory identifier, obtain the pictures under the directory corresponding to the directory identifier from the hard disk.

[0061] It should be noted that this step is similar to the aforementioned step S102, and please refer to the description of the aforementioned step S102.

[0062] S205: Based on the first process, call a drawing algorithm adopted by a drawing engine corresponding to the first process, and draw and display the acquired picture according to the called drawing algorithm.

[0063] Exemplarily, the drawing engine includes a drawing algorithm, which is used to draw a frame of the acquired image on a canvas of a preset size to display the frame of the image as a wallpaper. It should be noted that the embodiment of the present application does not limit the type of the drawing algorithm.

[0064] In some possible implementations, the vehicle terminal can, based on the first process, delete the directory identifier from the preset buffer queue after determining that all pictures in the directory corresponding to the current directory identifier are set as wallpapers for display. Alternatively, the vehicle terminal can delete the directory identifier from the preset buffer queue after extracting the first-rank directory identifier from the preset buffer queue based on the first process. The embodiment of the present application does not limit the specific timing of deleting the currently displayed directory identifier, which can be set according to actual needs.

[0065] Optionally, after the vehicle terminal has displayed all the images in the directory corresponding to the current directory identifier based on the first process, it can return to step S203 to continue displaying the images in the directories corresponding to other directory identifiers. Through this step, the drawing engine corresponding to the first process only needs to be started once to achieve the cyclic dynamic display of wallpaper. In other words, the drawing engine corresponding to the first process can act as a "consumer" and only needs to pay attention to the directory identifier in the preset buffer queue, and extract the images in the directory corresponding to the directory identifier based on the directory identifier for display, without paying attention to the management operations of the wallpaper, such as the update operation of the wallpaper.

[0066] Optionally, based on the first process, if it is determined that the directory identifier of the directory corresponding to the currently displayed image is the last directory identifier in the preset buffer queue, then based on the first process, each image in the directory corresponding to the currently displayed image is set as wallpaper for display. In other words, if all images in the directory corresponding to the directory identifier have been displayed as wallpapers, and the directory identifier is the last one in the preset buffer queue, then, based on the first process, all images in the directory corresponding to the current directory identifier are cyclically displayed until it is determined that the directory identifier is not the last directory identifier in the preset buffer queue.

[0067] In this embodiment, the vehicle terminal can start the drawing engine corresponding to the first process based on the second process after determining that the directory identifier has been stored in the preset buffer queue based on the first process, and then can extract the first-order directory identifier from the preset buffer queue storing the directory identifier based on the first process, and obtain the picture in the directory corresponding to the extracted directory identifier from the hard disk, and finally call the drawing algorithm used by the drawing engine corresponding to the first process to draw and display the obtained picture. In this way, the vehicle terminal can load the picture set corresponding to the directory identifier from the hard disk based on the directory identifier in the preset buffer queue after the drawing engine is started, without storing the picture to be displayed as wallpaper in the memory in advance, reducing the occupancy rate of the memory space, and in this way, there is no need to consider the memory usage to set the number of wallpapers, thereby improving the flexibility of the dynamic display of wallpapers. At the same time, in this way, the vehicle terminal can dynamically display the wallpaper on the display screen corresponding to the drawing engine corresponding to the first process, and the management operation of the wallpaper, such as the wallpaper update operation, will not affect the drawing engine. Compared with the prior art, in which the update of wallpaper requires adding the picture to be displayed to the picture playback queue, which may easily cause a freeze in the wallpaper display, this method can improve the smoothness of the wallpaper display.

[0068] The following uses the wallpaper application including the first process and the second process as an example to illustrate how to update the wallpaper. Figure 4 FIG. 1 is a flowchart of a third embodiment of a wallpaper dynamic display method provided by the present invention, and the method is executed by a vehicle-mounted terminal. Figure 4 As shown, the method comprises the following steps:

[0069] S301. In response to a wallpaper setting request, a picture set and a directory identifier of a directory corresponding to the picture set are obtained based on a second process, and a first Java class is called to determine a uniform resource identifier of a picture in the obtained picture set.

[0070] The wallpaper setting request is used to instruct to obtain and store a picture set. The first Java class is used to generate a uniform resource identifier (URI) of a file, and the first Java class is inherited from the Android system native class Fileprovider. It should be noted that the embodiment of the present application does not limit the name of the first Java class.

[0071] Exemplarily, the wallpaper setting request may be triggered by a user through the vehicle-mounted terminal, or may be triggered autonomously by the vehicle-mounted terminal.

[0072] In a possible implementation, the wallpaper application installed in the vehicle terminal has a dynamic wallpaper setting control. The vehicle terminal can receive a trigger operation of the control by the user based on the second process and generate a wallpaper setting request.

[0073] In this implementation, the vehicle terminal can respond to the wallpaper setting request and receive the picture set uploaded by the user based on the second process. At this time, the picture set uploaded by the user will be stored in the hard disk, so the vehicle terminal can obtain the directory identifier of the corresponding directory of the picture set. Alternatively, the vehicle terminal can respond to the wallpaper setting request and receive the identifier of the picture set selected by the user based on the second process, and obtain the picture set corresponding to the identifier of the picture set from the cloud server or the hard disk. The identifier of the picture set can be, for example, the name or ID of the picture set, which is used to uniquely represent the picture set. At this time, the picture set obtained from the cloud server will be stored in the hard disk, so the vehicle terminal can obtain the directory identifier of the corresponding directory of the picture set. Alternatively, determine the directory identifier of the directory of the picture set stored in the hard disk.

[0074] In another possible implementation, the vehicle-mounted terminal can obtain environmental information of the vehicle based on the second process; wherein the environmental information may include one or more of the following information: weather information, time information, and geographic environment information; based on the second process, if it is determined based on the environmental information that the preset wallpaper update conditions are met, the identifier of the picture set corresponding to the environmental information is determined, and a wallpaper setting request is generated based on the identifier of the picture set corresponding to the environmental information.

[0075] Among them, the preset wallpaper update condition can be, for example, weather information such as sunny, rainy, or snowy; it can also be time information such as morning, noon, dusk or evening; geographical environment information such as seaside, desert or city, etc. The embodiment of the present application does not limit the content of the wallpaper update condition, and it can be set according to actual needs.

[0076] In this implementation, the vehicle terminal can preset the priorities of weather information, geographical environment information and time information, and determine the wallpaper content according to the current vehicle environment information and priority. The ratio content can reflect the current high priority environment information. Then, the identifier of the picture set corresponding to the environment information can be determined according to the wallpaper content and the preset mapping relationship, and a wallpaper setting request is generated, wherein the preset mapping relationship is used to describe the correspondence between the wallpaper content and the identifier of the picture set; the wallpaper setting request includes the identifier of the picture set corresponding to the environment information. Then, the vehicle terminal can respond to the wallpaper setting request, based on the second process, and obtain the picture set corresponding to the identifier of the picture set from the cloud server or the hard disk according to the identifier of the picture set indicated by the wallpaper request. At this time, the picture set obtained from the cloud server will be stored in the hard disk, so the vehicle terminal can obtain the directory identifier of the corresponding directory of the picture set. Or, determine the directory identifier of the directory of the picture set stored in the hard disk.

[0077] For example, when the vehicle terminal obtains the geographical environment information of the vehicle as the seaside based on the second process and determines that the geographical environment information occupies a high priority, it determines that the wallpaper content is the seaside, determines the identifier of the picture set corresponding to the wallpaper content, and generates a wallpaper setting request. In response to the wallpaper setting request, the vehicle terminal can obtain the picture set corresponding to the identifier of the picture set, and the directory identifier of the directory of the picture set.

[0078] In a possible implementation, the vehicle-mounted terminal may call the first Java class, and generate the URI of each frame of the acquired picture set according to the configuration rule preset in the first Java class.

[0079] S302: Based on the second process, call the second Java class to pass the acquired directory identifier and the uniform resource identifier of the image to the first process.

[0080] Exemplarily, the second Java class inherits from the Android system native class ContentProvider, which can realize cross-process communication. It should be noted that the embodiment of the present application does not limit the name of the second Java class. Therefore, the vehicle terminal can pass the obtained directory identifier and the uniform resource identifier of the picture to the first process based on the second Java class.

[0081] S303: Based on the first process, create a directory corresponding to the received directory identifier in the hard disk, obtain a picture corresponding to the uniform resource identifier according to the received uniform resource identifier, and store the obtained picture in the created directory.

[0082] Exemplarily, the vehicle terminal receives the directory identifier and the uniform resource identifier of the picture based on the first process, creates a directory in the hard disk, and the directory identifier of the directory is consistent with the received directory identifier. Further, the picture is obtained according to the URI of the received picture, and the picture is stored in the created directory.

[0083] S304: Based on the first process, store the directory identifier of the directory corresponding to the acquired picture set in a preset buffer queue.

[0084] Exemplarily, after the vehicle terminal stores the image corresponding to the URI of the received image in the created directory based on the first process, it stores the directory identifier of the created directory in a preset buffer queue.

[0085] Through the above steps, the vehicle terminal can continuously store the identifiers of the picture sets that need to be set as wallpapers in the preset buffer queue based on the second process and the first process, which is equivalent to a "producer" and does not need to consider the subsequent wallpaper drawing process, thereby improving the wallpaper setting efficiency.

[0086] S305: Based on the first process, extract the directory identifier with the first priority in the preset buffer queue from the preset buffer queue.

[0087] It should be noted that this step is similar to the aforementioned step S101, and please refer to the description of the aforementioned step S101.

[0088] S306: Based on the first process, according to the extracted directory identifier, obtain the pictures under the directory corresponding to the directory identifier from the hard disk.

[0089] It should be noted that this step is similar to the aforementioned step S102, and please refer to the description of the aforementioned step S102.

[0090] S307: Based on the first process, call a drawing algorithm adopted by a drawing engine corresponding to the first process, and draw and display the acquired picture according to the called drawing algorithm.

[0091] It should be noted that this step is similar to the aforementioned step S205, and please refer to the description of the aforementioned step S205.

[0092] In this embodiment, the vehicle-mounted terminal can, based on the second process, obtain a picture collection and a directory identifier when determining that wallpaper setting is required, and generate a picture URI, and pass the picture URI and directory identifier to the second process; based on the second process, extract the picture according to the received picture URI, and store the extracted picture in a directory created according to the directory identifier, and store the directory identifier in a preset buffer queue, and then, based on the first process, extract the first-order directory identifier from the preset buffer queue storing the directory identifier, and obtain the picture in the directory corresponding to the extracted directory identifier from the hard disk, and finally call the drawing algorithm adopted by the drawing engine corresponding to the first process to draw and display the obtained picture.

[0093] In this way, the vehicle terminal can continuously store the identifiers of the picture sets that need to be set as wallpapers in the preset buffer queue based on the second process and the first process, which is equivalent to a "producer" without considering the subsequent wallpaper drawing process. At the same time, based on the first process, the first-order directory identifier can be continuously extracted from the preset buffer queue, and the picture set corresponding to the directory identifier can be loaded from the hard disk based on the directory corresponding to the directory identifier, and the drawing engine can be called to draw and display the obtained pictures. There is no need to store the pictures to be displayed as wallpapers in the memory in advance, which reduces the occupancy rate of memory space. In addition, in this way, there is no need to consider the memory usage to set the number of wallpapers, which improves the flexibility of the dynamic display of wallpapers, and there is no need to consider the management operation of wallpapers, which is equivalent to a "consumer". That is, this method is used to achieve the decoupling of wallpaper management operations and wallpaper drawing operations, which improves the efficiency and fluency of wallpaper drawing.

[0094] Figure 5 FIG. 1 is a schematic diagram showing a structure of an embodiment of a wallpaper dynamic display device provided by the present invention. Figure 5 As shown, the device 400 includes:

[0095] The extraction module 401 is used to extract the first-order directory identifier in the preset buffer queue from the preset buffer queue based on the first process; wherein the preset buffer queue includes multiple directory identifiers, the directory identifier is an identifier of a directory corresponding to a picture set, and the directory corresponding to the picture set includes multiple pictures;

[0096] The display module 402 is used to obtain the pictures in the directory corresponding to the directory identifier from the hard disk based on the first process and according to the extracted directory identifier, and set the obtained pictures as wallpaper for display.

[0097] In an optional manner, the extraction module 401 is specifically configured to extract the first-order directory identifier in the preset buffer queue from the preset buffer queue based on the first process when it is determined that the drawing engine corresponding to the first process has been started.

[0098] In an optional manner, the device also includes a communication module, which is used to return feedback information to the second process based on the first process, if it is determined that there is a directory identifier in the preset buffer queue; wherein the feedback information is used to represent that the directory identifier has been stored in the preset buffer queue; the second process is the main process of the application for setting wallpaper; the first process is a child process of the second process; based on the second process, a start request is generated according to the feedback information, and the start request is passed to the first process; wherein the start request is used to represent the start of the drawing engine corresponding to the first process.

[0099] In an optional manner, the display module 402 is specifically configured to call, based on the first process, a drawing algorithm adopted by a drawing engine corresponding to the first process, and draw and display the acquired image according to the called drawing algorithm.

[0100] In an optional manner, the device also includes a storage module, which is used to obtain a picture set based on the first process, and store the obtained picture set in a directory corresponding to the picture set in the hard disk; wherein the directory has a directory identifier; based on the first process, the directory identifier of the directory corresponding to the obtained picture set is stored in the preset buffer queue.

[0101] In an optional manner, the storage module is specifically used to:

[0102] In response to a wallpaper setting request, a picture set and a directory identifier of a directory corresponding to the picture set are obtained based on the second process, and a first Java class is called to determine a uniform resource identifier of a picture in the obtained picture set; wherein the wallpaper setting request is used to instruct to obtain and store the picture set; the second process is a main process of an application for setting wallpaper; and the first process is a child process of the second process;

[0103] Based on the second process, calling a second Java class to pass the acquired directory identifier and the uniform resource identifier of the image to the first process;

[0104] Based on the first process, a directory corresponding to the received directory identifier is created in the hard disk, and a picture corresponding to the uniform resource identifier is obtained according to the received uniform resource identifier, and the obtained picture is stored in the created directory.

[0105] In an optional manner, the storage module may also be used to:

[0106] Based on the second process, obtaining environmental information of the vehicle; wherein the environmental information includes one or more of the following information: weather information, time information, and geographical environment information;

[0107] Based on the second process, if it is determined according to the environmental information that the preset wallpaper update condition is met, an identifier of the picture set corresponding to the environmental information is determined, and the wallpaper setting request is generated according to the identifier of the picture set corresponding to the environmental information.

[0108] In an optional manner, the display module 402 can also be used to, based on the first process, set each picture in the directory corresponding to the currently displayed picture as wallpaper for display if it is determined that the directory identifier of the directory corresponding to the currently displayed picture is the last directory identifier in the preset buffer queue.

[0109] As can be seen from the above, the wallpaper dynamic display device provided by the embodiment of the present invention can reduce the occupancy rate of memory space, and does not need to consider the usage rate of memory to set the number of wallpapers, thereby improving the flexibility of wallpaper dynamic display. Furthermore, the decoupling of wallpaper management operation and wallpaper drawing operation is achieved, thereby improving the efficiency and fluency of wallpaper drawing.

[0110] Figure 6 The schematic diagram of the structure of the embodiment of the vehicle-mounted terminal provided by the present invention is shown, and the specific embodiment of the present invention does not limit the specific implementation of the vehicle-mounted terminal.

[0111] like Figure 6 As shown, the vehicle-mounted terminal may include: a processor (processor) 502 , a communication interface (Communications Interface) 504 , a memory (memory) 506 , and a communication bus 508 .

[0112] The processor 502, the communication interface 504, and the memory 506 communicate with each other via the communication bus 508. The communication interface 504 is used to communicate with other devices such as a client or other server network elements. The processor 502 is used to execute the program 510, which can specifically execute the relevant steps in the above-mentioned embodiment of the method for dynamic wallpaper display.

[0113] Specifically, the program 510 may include program code including computer-executable instructions.

[0114] The processor 502 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiment of the present invention. The one or more processors included in the vehicle terminal may be processors of the same type, such as one or more CPUs; or processors of different types, such as one or more CPUs and one or more ASICs.

[0115] The memory 506 is used to store the program 510. The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0116] The program 510 can be specifically called by the processor 502 to enable the vehicle terminal to perform the following operations:

[0117] Based on the first process, extracting the first-order directory identifier in the preset buffer queue from the preset buffer queue; wherein the preset buffer queue includes multiple directory identifiers, the directory identifier is an identifier of a directory corresponding to a picture set, and the directory corresponding to the picture set includes multiple pictures;

[0118] Based on the first process, according to the extracted directory identifier, the pictures under the directory corresponding to the directory identifier are obtained from the hard disk, and the obtained pictures are set as wallpaper for display.

[0119] In an optional manner, based on the first process, extracting the first-order directory identifier in the preset buffer queue from the preset buffer queue includes:

[0120] When it is determined that the drawing engine corresponding to the first process has been started, based on the first process, a directory identifier of the first order in the preset buffer queue is extracted from the preset buffer queue.

[0121] In an optional manner, the method further includes:

[0122] Based on the first process, if it is determined that there is a directory identifier in the preset buffer queue, feedback information is returned to the second process; wherein the feedback information is used to indicate that the directory identifier has been stored in the preset buffer queue; the second process is a main process of an application for setting wallpaper; and the first process is a child process of the second process;

[0123] Based on the second process, a start request is generated according to the feedback information, and the start request is transmitted to the first process; wherein the start request is used to indicate starting a drawing engine corresponding to the first process.

[0124] In an optional manner, setting the acquired image as wallpaper for display includes:

[0125] Based on the first process, a drawing algorithm adopted by a drawing engine corresponding to the first process is called, and the acquired picture is drawn and displayed according to the called drawing algorithm.

[0126] In an optional manner, the method includes:

[0127] Based on the first process, a picture set is obtained, and the obtained picture set is stored in a directory corresponding to the picture set in the hard disk; wherein the directory has a directory identifier;

[0128] Based on the first process, the directory identifier of the directory corresponding to the acquired picture set is stored in the preset buffer queue.

[0129] In an optional manner, based on the first process, obtaining a picture set includes:

[0130] In response to a wallpaper setting request, a picture set and a directory identifier of a directory corresponding to the picture set are obtained based on the second process, and a first Java class is called to determine a uniform resource identifier of a picture in the obtained picture set; wherein the wallpaper setting request is used to instruct to obtain and store the picture set; the second process is a main process of an application for setting wallpaper; and the first process is a child process of the second process;

[0131] Based on the second process, calling a second Java class to pass the acquired directory identifier and the uniform resource identifier of the image to the first process;

[0132] The step of storing the acquired picture set in a directory corresponding to the picture set in the hard disk includes:

[0133] Based on the first process, a directory corresponding to the received directory identifier is created in the hard disk, and a picture corresponding to the uniform resource identifier is obtained according to the received uniform resource identifier, and the obtained picture is stored in the created directory.

[0134] In an optional manner, the method further includes:

[0135] Based on the second process, obtaining environmental information of the vehicle; wherein the environmental information includes one or more of the following information: weather information, time information, and geographical environment information;

[0136] Based on the second process, if it is determined according to the environmental information that the preset wallpaper update condition is met, an identifier of the picture set corresponding to the environmental information is determined, and the wallpaper setting request is generated according to the identifier of the picture set corresponding to the environmental information.

[0137] In an optional manner, the method further includes:

[0138] Based on the first process, if it is determined that the directory identifier of the directory corresponding to the currently displayed picture is the last directory identifier in the preset buffer queue, then based on the first process, each picture in the directory corresponding to the currently displayed picture is set as wallpaper for display.

[0139] As can be seen from the above, the vehicle-mounted terminal provided by the embodiment of the present invention can reduce the occupancy rate of memory space, and can store a large number of directory identifiers to be displayed in a preset buffer queue, thereby increasing the number of pictures that can be dynamically displayed as wallpapers. Furthermore, the decoupling of wallpaper management operations and wallpaper drawing operations is achieved, thereby improving the efficiency and fluency of wallpaper drawing.

[0140] An embodiment of the present invention provides a computer-readable storage medium, which stores at least one executable instruction. When the executable instruction is executed on a vehicle-mounted terminal / wallpaper dynamic display device, the vehicle-mounted terminal / wallpaper dynamic display device executes the wallpaper dynamic display method in any of the above method embodiments.

[0141] The executable instructions can be specifically used to enable the vehicle terminal / wallpaper dynamic display device to perform the following operations:

[0142] Based on the first process, extracting the first-order directory identifier in the preset buffer queue from the preset buffer queue; wherein the preset buffer queue includes multiple directory identifiers, the directory identifier is an identifier of a directory corresponding to a picture set, and the directory corresponding to the picture set includes multiple pictures;

[0143] Based on the first process, according to the extracted directory identifier, the pictures under the directory corresponding to the directory identifier are obtained from the hard disk, and the obtained pictures are set as wallpaper for display.

[0144] In an optional manner, based on the first process, extracting the first-order directory identifier in the preset buffer queue from the preset buffer queue includes:

[0145] When it is determined that the drawing engine corresponding to the first process has been started, based on the first process, a directory identifier of the first order in the preset buffer queue is extracted from the preset buffer queue.

[0146] In an optional manner, the method further includes:

[0147] Based on the first process, if it is determined that there is a directory identifier in the preset buffer queue, feedback information is returned to the second process; wherein the feedback information is used to indicate that the directory identifier has been stored in the preset buffer queue; the second process is a main process of an application for setting wallpaper; and the first process is a child process of the second process;

[0148] Based on the second process, a start request is generated according to the feedback information, and the start request is transmitted to the first process; wherein the start request is used to indicate starting a drawing engine corresponding to the first process.

[0149] In an optional manner, setting the acquired image as wallpaper for display includes:

[0150] Based on the first process, a drawing algorithm adopted by a drawing engine corresponding to the first process is called, and the acquired picture is drawn and displayed according to the called drawing algorithm.

[0151] In an optional manner, the method includes:

[0152] Based on the first process, a picture set is obtained, and the obtained picture set is stored in a directory corresponding to the picture set in the hard disk; wherein the directory has a directory identifier;

[0153] Based on the first process, the directory identifier of the directory corresponding to the acquired picture set is stored in the preset buffer queue.

[0154] In an optional manner, based on the first process, obtaining a picture set includes:

[0155] In response to a wallpaper setting request, a picture set and a directory identifier of a directory corresponding to the picture set are obtained based on the second process, and a first Java class is called to determine a uniform resource identifier of a picture in the obtained picture set; wherein the wallpaper setting request is used to instruct to obtain and store the picture set; the second process is a main process of an application for setting wallpaper; and the first process is a child process of the second process;

[0156] Based on the second process, calling a second Java class to pass the acquired directory identifier and the uniform resource identifier of the image to the first process;

[0157] The step of storing the acquired picture set in a directory corresponding to the picture set in the hard disk includes:

[0158] Based on the first process, a directory corresponding to the received directory identifier is created in the hard disk, and a picture corresponding to the uniform resource identifier is obtained according to the received uniform resource identifier, and the obtained picture is stored in the created directory.

[0159] In an optional manner, the method further includes:

[0160] Based on the second process, obtaining environmental information of the vehicle; wherein the environmental information includes one or more of the following information: weather information, time information, and geographical environment information;

[0161] Based on the second process, if it is determined according to the environmental information that the preset wallpaper update condition is met, an identifier of the picture set corresponding to the environmental information is determined, and the wallpaper setting request is generated according to the identifier of the picture set corresponding to the environmental information.

[0162] In an optional manner, the method further includes:

[0163] Based on the first process, if it is determined that the directory identifier of the directory corresponding to the currently displayed picture is the last directory identifier in the preset buffer queue, then based on the first process, each picture in the directory corresponding to the currently displayed picture is set as wallpaper for display.

[0164] As can be seen from the above, the computer-readable storage medium provided by the embodiment of the present invention stores at least one executable instruction, which, when executed on the vehicle-mounted terminal / wallpaper dynamic display device, can reduce the occupancy rate of the memory space, and does not need to consider the memory usage rate to set the number of wallpapers, thereby improving the flexibility of the wallpaper dynamic display. Furthermore, the decoupling of the wallpaper management operation and the wallpaper drawing operation is achieved, thereby improving the efficiency and fluency of the wallpaper drawing.

[0165] The above description of various embodiments tends to emphasize the differences between the various embodiments. The same or similar aspects can be referenced to each other, and for the sake of brevity, they will not be repeated herein.

[0166] The methods disclosed in the various method embodiments provided by the present invention can be arbitrarily combined without conflict to obtain new method embodiments.

[0167] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. Similarly, in order to simplify the present invention and help understand one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. Wherein, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself is a separate embodiment of the present invention.

[0168] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and further may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive.

[0169] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

Claims

1. A wallpaper dynamic display method, characterized in that: The method comprises: Based on the first process, extracting the first-order directory identifier in the preset buffer queue from the preset buffer queue; wherein the preset buffer queue includes multiple directory identifiers, the directory identifier is an identifier of a directory corresponding to a picture set, and the directory corresponding to the picture set includes multiple pictures; Based on the first process, according to the extracted directory identifier, the pictures under the directory corresponding to the directory identifier are obtained from the hard disk, and the obtained pictures are set as wallpaper for display.

2. The method according to claim 1, characterized in that Based on the first process, extracting the first-order directory identifier in the preset buffer queue from the preset buffer queue includes: When it is determined that the drawing engine corresponding to the first process has been started, based on the first process, a directory identifier of the first order in the preset buffer queue is extracted from the preset buffer queue.

3. The method according to claim 2, characterized in that The method further comprises: Based on the first process, if it is determined that there is a directory identifier in the preset buffer queue, feedback information is returned to the second process; wherein the feedback information is used to indicate that the directory identifier has been stored in the preset buffer queue; the second process is a main process of an application for setting wallpaper; and the first process is a child process of the second process; Based on the second process, a start request is generated according to the feedback information, and the start request is transmitted to the first process; wherein the start request is used to indicate starting a drawing engine corresponding to the first process.

4. The method according to claim 1, characterized in that: Set the acquired image as wallpaper for display, including: Based on the first process, a drawing algorithm adopted by a drawing engine corresponding to the first process is called, and the acquired picture is drawn and displayed according to the called drawing algorithm.

5. The method according to claim 1, characterized in that The method comprises: Based on the first process, a picture set is obtained, and the obtained picture set is stored in a directory corresponding to the picture set in the hard disk; wherein the directory has a directory identifier; Based on the first process, the directory identifier of the directory corresponding to the acquired picture set is stored in the preset buffer queue.

6. The method according to claim 5, characterized in that Based on the first process, obtaining a picture set includes: In response to a wallpaper setting request, a picture set and a directory identifier of a directory corresponding to the picture set are obtained based on the second process, and a first Java class is called to determine a uniform resource identifier of a picture in the obtained picture set; wherein the wallpaper setting request is used to instruct to obtain and store the picture set; the second process is a main process of an application for setting wallpaper; and the first process is a child process of the second process; Based on the second process, calling a second Java class to pass the acquired directory identifier and the uniform resource identifier of the image to the first process; The step of storing the acquired picture set in a directory corresponding to the picture set in the hard disk includes: Based on the first process, a directory corresponding to the received directory identifier is created in the hard disk, and a picture corresponding to the uniform resource identifier is obtained according to the received uniform resource identifier, and the obtained picture is stored in the created directory.

7. The method according to claim 6, characterized in that The method further comprises: Based on the second process, obtaining environmental information of the vehicle; wherein the environmental information includes one or more of the following information: weather information, time information, and geographical environment information; Based on the second process, if it is determined according to the environmental information that the preset wallpaper update condition is met, an identifier of the picture set corresponding to the environmental information is determined, and the wallpaper setting request is generated according to the identifier of the picture set corresponding to the environmental information.

8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: Based on the first process, if it is determined that the directory identifier of the directory corresponding to the currently displayed picture is the last directory identifier in the preset buffer queue, then based on the first process, each picture in the directory corresponding to the currently displayed picture is set as wallpaper for display.

9. A wallpaper dynamic display device, characterized in that: The device comprises: An extraction module is used to extract, based on the first process, a directory identifier of the first order in the preset buffer queue from the preset buffer queue; wherein the preset buffer queue includes a plurality of directory identifiers, the directory identifier is an identifier of a directory corresponding to a picture set, and the directory corresponding to the picture set includes a plurality of pictures; The display module is used to obtain the pictures in the directory corresponding to the directory identifier from the hard disk based on the first process and the extracted directory identifier, and set the obtained pictures as wallpaper for display.

10. A vehicle-mounted terminal, characterized in that: include: A processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other via the communication bus; The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the operation of the wallpaper dynamic display method according to any one of claims 1-8.