Vehicle end interface skin theme switching method and device, electronic equipment and storage medium
By collecting and uploading vehicle-end interface information to the cloud, generating customized skin data packets, using Hook technology and plug-in technology to realize control resource replacement, it solves the problem of app package volume expansion and interface reconstruction in vehicle-mounted terminal theme switching, and provides customized and Efficient theme switching solution to improve user experience.
Patent Information
- Application Number
- CN202411200302.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-12-24
AI Technical Summary
In the prior art, there is a lack of user-customized theme implementation and cloud-based recommendation solutions for on-board terminals, resulting in volume expansion of app packages and interface reconstruction that affects the experience, and cannot effectively support switching of multiple themes.
By collecting skin architecture information and demand information on the vehicle interface, uploading it to the cloud to generate skin data packets for custom controls, using Hook technology and plug-in skin replacing technology to realize control resource replacement, optimize the theme switching process, avoid interface reconstruction, and according to users Need to accurately push skin data packets.
It realizes the customization ability of the skin on the vehicle interface, improves the targetedness and efficiency of skin replacement, saves data processing resources, provides a variety of skin choices, and improves user experience.
Smart Images

Figure CN119179421A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of interface skins, and in particular to a vehicle-side interface skin theme switching method, a vehicle-side interface skin theme switching device, an electronic device, a storage medium and a vehicle. Background Art
[0002] In order to meet the personalized aesthetic needs of users, suppliers have provided theme switching functions on the car interface display system to improve the user UI experience. Currently, the mainstream theme switching methods on Android car systems are as follows:
[0003] 1. Patent [CN116627572A] provides a method for switching themes for web micro-frontend apps. However, the disadvantage is that the application scenarios are limited and the theme switching of native Android apps is not supported.
[0004] 2. Patent [CN115858076A] provides an implementation based on the native Android black and white theme interface, with stable performance. However, the theme resources of this method need to be built into the local car system, which will increase the size of the app package. When switching themes, the UI page needs to be rebuilt, affecting the experience. In addition, it can only adapt to black and white themes, which is not conducive to horizontal expansion.
[0005] 3. Patent [CN115794285A] provides a method for online theme switching. The theme resource package is sent from the cloud, and the vehicle computer performs resource parsing. When switching, the mobile phone skin elements are replaced, and the UI resource replacement operation is performed for these elements to avoid interface reconstruction problems.
[0006] In summary, there is currently a lack of implementation and cloud-based recommendation solutions for user-customized themes for in-vehicle terminals in the market.
[0007] Therefore, a solution for switching the skin themes of the vehicle-side interface is needed to solve the problem of app package size expansion, the problem of using the cloud to complete the processing of user theme requirements, and the problem of using Hook technology and plug-in skinning technology to achieve control resource replacement. Summary of the invention
[0008] The purpose of the present invention is to provide a vehicle-side interface skin theme switching method, a vehicle-side interface skin theme switching device, an electronic device, a storage medium and a vehicle, which at least solve the problem of app package volume expansion caused by skinning, solve the problem of using the cloud to complete the processing of user theme requirements, and solve one of the technical problems of using Hook technology and plug-in skinning technology to realize control resource replacement.
[0009] The present invention provides the following scheme:
[0010] According to one aspect of the present invention, a method for switching the skin theme of a vehicle-side interface is provided, and the method for switching the skin theme of the vehicle-side interface comprises:
[0011] Collect the car-side interface skin architecture information;
[0012] Upload and collect the vehicle-side interface skin architecture information to the cloud;
[0013] The vehicle-side interface skin architecture information includes a custom control corresponding to the vehicle-side interface skin architecture and Hook information corresponding to the custom control;
[0014] Collect the interface skin requirement information of the vehicle side;
[0015] The vehicle-side interface skin requirement information includes characteristic information of the skin theme;
[0016] The cloud side selects the skin database based on the characteristic information of the skin theme and generates a skin data package for the custom controls under the interface skin architecture corresponding to the vehicle side;
[0017] Based on the Hook information, the vehicle triggers a request to send the corresponding skin data packet;
[0018] According to the request for sending the skin data packet, the custom control corresponding to the vehicle-side interface skin architecture sends the skin data packet;
[0019] The vehicle side sends a skin data packet according to the custom control of the interface skin architecture corresponding to the vehicle side, and refreshes the skin theme of the vehicle side interface;
[0020] Among them, the skin theme for refreshing the vehicle-side interface includes refreshing the skin of the custom controls of the vehicle-side interface.
[0021] Furthermore, the skin of the custom control for refreshing the vehicle-side interface includes:
[0022] Get the custom control status information of the current vehicle interface;
[0023] The custom control status information includes the status information of the foreground display and the background display of the current vehicle interface;
[0024] According to the status information of the foreground display and the background display of the current vehicle-side interface, set the order of refreshing the skin of the custom controls of the vehicle-side interface;
[0025] The order of setting refresh skins of custom controls on the vehicle-side interface includes, based on foreground display priority and saving data processing resources, refreshing the skins of custom controls on the foreground of the vehicle-side interface first, and then refreshing the skins of custom controls on the background of the vehicle-side interface.
[0026] Furthermore, the Hook information includes:
[0027] Based on the preset timing, vehicle startup, account login, version update, input command and / or push reception events, the vehicle triggers a request to send the corresponding skin data package;
[0028] According to the request for sending the skin data packet, the vehicle end obtains the skin data packet and stores it in the vehicle end;
[0029] The skin data packet is obtained based on the vehicle side and stored in the vehicle side, the skin data packet stored in the vehicle side is read, and the skin theme of the vehicle side interface is refreshed.
[0030] Furthermore, the interface skin requirement information collected on the vehicle side includes:
[0031] Get the download frequency data and rating data of the corresponding skin theme;
[0032] According to the download frequency data and rating data of the corresponding skin theme, retrieve the characteristic information of the person who downloaded and / or rated the skin theme;
[0033] According to the characteristic information of the person who downloads and / or rates, skin data package push information based on the corresponding skin theme type is generated.
[0034] Furthermore, the characteristic information of the skin theme includes:
[0035] Collect characteristic information of skin themes based on dynamic display, static display and trigger event display;
[0036] Among them, static display includes display based on color tone, pattern, font and display range;
[0037] The dynamic display includes display of picture frame refresh based on color tone, pattern, font and display range;
[0038] Among them, the trigger event display includes, based on the human-machine operation of the custom control, triggering the static display, dynamic display or the multimedia synchronous output state to cooperate with the static display and dynamic display.
[0039] Furthermore, the interface skin architecture information of the collection vehicle side includes:
[0040] Generate the car-side interface skin architecture information according to the position of the custom control on the display page and the queue position of the custom control on the display page;
[0041] Get the property configuration information of the custom control;
[0042] The property configuration information includes the display function of the corresponding custom control at the display page position and the queue position of the custom control at the display page;
[0043] Based on the custom control display function of the corresponding custom control in the display page position and the custom control in the queue position of the display page, it is added to the interface skin architecture information of the vehicle side and uploaded to the cloud;
[0044] Filter the characteristic information of the skin theme according to the property configuration information of the custom control.
[0045] According to one aspect of the present invention, a vehicle-side interface skin theme switching device is provided, and the vehicle-side interface skin theme switching device comprises:
[0046] The architecture information module is used to collect the interface skin architecture information of the vehicle end;
[0047] The data upload module is used to upload the interface skin architecture information collected from the vehicle to the cloud;
[0048] The vehicle-side interface skin architecture information includes a custom control corresponding to the vehicle-side interface skin architecture and Hook information corresponding to the custom control;
[0049] Demand information module, used to collect vehicle-side interface skin demand information;
[0050] The vehicle-side interface skin requirement information includes characteristic information of the skin theme;
[0051] The skin data module is used to filter the skin database based on the characteristic information of the skin theme in the cloud, and generate the skin data package of the custom control under the interface skin architecture corresponding to the vehicle side;
[0052] The data request module is used to trigger the request for sending the corresponding skin data packet based on the Hook information;
[0053] The data sending module sends the skin data packet to the custom control of the vehicle-side interface skin architecture according to the request for sending the skin data packet;
[0054] The skin refresh module is used for the vehicle side to send skin data packets according to the custom controls of the corresponding vehicle side interface skin architecture, and refresh the skin theme of the vehicle side interface;
[0055] The control refresh module is used to refresh the skin theme of the vehicle-side interface, including refreshing the skin of the custom controls of the vehicle-side interface.
[0056] According to three aspects of the present invention, there is provided an electronic device, comprising: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0057] A computer program is stored in the memory. When the computer program is executed by the processor, the processor executes the steps of the vehicle-side interface skin theme switching method.
[0058] According to four aspects of the present invention, a computer-readable storage medium is provided, including: a computer program executable by an electronic device is stored therein, and when the computer program runs on the electronic device, the electronic device executes the steps of the vehicle-side interface skin theme switching method.
[0059] According to five aspects of the present invention, there is provided a vehicle, comprising:
[0060] An electronic device, used to implement the steps of the vehicle-side interface skin theme switching method;
[0061] A processor, the processor runs a program, and when the program runs, the steps of the vehicle-side interface skin theme switching method are executed from the data output by the electronic device;
[0062] The storage medium is used to store a program, and when the program is running, it executes the steps of the vehicle-side interface skin theme switching method for data output from the electronic device.
[0063] Through the above scheme, the following beneficial technical effects are obtained:
[0064] This application achieves the skin customization capability for different vehicle-side interfaces by uploading skin requirement information and interface skin architecture information to the cloud, generating a skin data packet in the cloud.
[0065] This application realizes autonomous control of skinning by setting custom controls and bundling Hook information, so that skinning can be targeted at specific locations and timings.
[0066] This application sets the priority of skinning so that the interface skin displayed at the front end is refreshed first, saving data processing resources while improving the efficiency experience.
[0067] This application collects skin transformation data to refine the accuracy of information about the user's skin type tendencies, so that the user's needs can be accurately served when pushing skin data packets.
[0068] This application provides multiple skin forms to provide multiple options for vehicle-side skin customization, thereby increasing users' acceptance of skin-changing services.
[0069] This application utilizes the attribute information of custom controls to filter the skin theme feature information, so that the skin data package recommended to the vehicle side is more in line with the vehicle side interface requirements used by the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0070] Figure 1It is a flow chart of a method for switching the skin theme of a vehicle-side interface provided by one or more embodiments of the present invention.
[0071] Figure 2 It is a structural diagram of a vehicle-side interface skin theme switching device provided by one or more embodiments of the present invention.
[0072] Figure 3 A schematic diagram of sending a skin theme data packet according to a specific embodiment of the present invention.
[0073] Figure 4 A schematic diagram of a recommended skin theme data package according to a specific embodiment of the present invention.
[0074] Figure 5 A schematic diagram of skin data packet processing according to a specific embodiment of the present invention.
[0075] Figure 6 A schematic diagram of a process for applying a custom theme according to a specific embodiment of the present invention.
[0076] Figure 7 A schematic diagram of a process for calculating user-selected skin theme data according to a specific embodiment of the present invention.
[0077] Figure 8 A structural block diagram of an electronic device of a vehicle-side interface skin theme switching method provided by one or more embodiments of the present invention. DETAILED DESCRIPTION
[0078] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0079] Figure 1 It is a flow chart of a method for switching the skin theme of a vehicle-side interface provided by one or more embodiments of the present invention.
[0080] like Figure 1 The method for switching the skin theme of the vehicle interface shown includes:
[0081] Step S1, collecting the vehicle-side interface skin architecture information;
[0082] Step S2, uploading and collecting the vehicle-side interface skin architecture information to the cloud;
[0083] The vehicle-side interface skin architecture information includes a custom control corresponding to the vehicle-side interface skin architecture and Hook information corresponding to the custom control;
[0084] Step S3, collecting the interface skin requirement information of the vehicle end;
[0085] The vehicle-side interface skin requirement information includes characteristic information of the skin theme;
[0086] Step S4, the cloud screens the skin database based on the characteristic information of the skin theme, and generates a skin data packet of the custom control under the interface skin architecture corresponding to the vehicle side;
[0087] Step S5, based on the Hook information, the vehicle end triggers a request to send a corresponding skin data packet;
[0088] Step S6, according to the request for sending the skin data packet, sending the skin data packet corresponding to the custom control of the interface skin architecture of the vehicle end;
[0089] Step S7, the vehicle side sends a skin data packet according to the custom control corresponding to the vehicle side interface skin architecture, and refreshes the skin theme of the vehicle side interface;
[0090] Step S8, refreshing the skin theme of the vehicle-side interface includes refreshing the skin of the custom controls of the vehicle-side interface.
[0091] Specifically, usually the interface has more than one page and only one control plug-in, and the interface skin architecture information includes the size of the custom control, the position of the custom control on the display page, and the queue position of the custom control on the display page.
[0092] The interface skin architecture information is uploaded to the cloud, which contributes computing power and generates skin data packages in combination with richer skin theme material resources.
[0093] The Hook information includes information that triggers the download of skin data packages and updates the skin status based on operation events, etc. For example, based on preset timing, vehicle startup, account login, version update, input command, or / and push reception events, the vehicle triggers a request to send the corresponding skin data package; the vehicle obtains the skin data package and stores it on the vehicle; the skin data package stored on the vehicle is read to refresh the skin theme of the vehicle interface.
[0094] The cloud can actively push skin data packets, and can also send skin data packets based on events in the Hook information.
[0095] In this embodiment, the skin of the custom control for refreshing the vehicle-side interface includes:
[0096] Get the custom control status information of the current vehicle interface;
[0097] The custom control status information includes the status information of the foreground display and the background display of the current vehicle interface;
[0098] According to the status information of the foreground display and the background display of the current vehicle-side interface, set the order of refreshing the skin of the custom controls of the vehicle-side interface;
[0099] The order of setting refresh skins of custom controls on the vehicle-side interface includes, based on foreground display priority and saving data processing resources, refreshing the skins of custom controls on the foreground of the vehicle-side interface first, and then refreshing the skins of custom controls on the background of the vehicle-side interface.
[0100] Specifically, since refreshing the skin of the interface consumes resources, if it is done simultaneously without any order, it will take a long time to complete the refresh. Usually, the foreground interface is the interface currently used by the user, which has an intuitive feeling. Fewer data processing resources can be used to refresh the skin of the custom controls in the foreground of the vehicle-side interface first, so that the user feels that the skin change is completed quickly. Continue to complete the remaining parts. Since relatively fewer data processing resources are consumed to refresh the skin of the custom controls in the background, there is no obvious decline in user experience in terms of response speed and intuitive feeling.
[0101] In this embodiment, the Hook information includes:
[0102] Based on the preset timing, vehicle startup, account login, version update, input command and / or push reception events, the vehicle triggers a request to send the corresponding skin data package;
[0103] According to the request for sending the skin data packet, the vehicle end obtains the skin data packet and stores it in the vehicle end;
[0104] The skin data packet is obtained based on the vehicle side and stored in the vehicle side, the skin data packet stored in the vehicle side is read, and the skin theme of the vehicle side interface is refreshed.
[0105] Specifically, the events in the Hook information are not limited to the preset timing, vehicle startup, account login, version update, input command and / or push notification events, but can also include events of other device control, events of operating a certain function of an APP, etc. From the user's active or passive perspective, the events in the Hook information can be classified, corresponding to the preset interface scenes, and the activation events are related to the skinning objects and content.
[0106] In this embodiment, collecting the interface skin requirement information of the vehicle side includes:
[0107] Get the download frequency data and rating data of the corresponding skin theme;
[0108] According to the download frequency data and rating data of the corresponding skin theme, retrieve the characteristic information of the person who downloaded and / or rated the skin theme;
[0109] According to the characteristic information of the person who downloads and / or rates, skin data package push information based on the corresponding skin theme type is generated.
[0110] Specifically, the work of generating skin data packages is completed by the cloud, but the generated skin effects cannot be guaranteed to fully meet the user's requirements. Even in the absence of reference objects, users cannot accurately output their requirements for interface skins. By collecting the download frequency data and rating data of skin themes, analyzing the characteristic information of people, and forming the correlation information between people's characteristics and skin theme preferences, the success rate of skin generation and push can be improved.
[0111] In this embodiment, the characteristic information of the skin theme includes:
[0112] Collect characteristic information of skin themes based on dynamic display, static display and trigger event display;
[0113] Among them, static display includes display based on color tone, pattern, font and display range;
[0114] The dynamic display includes display of picture frame refresh based on color tone, pattern, font and display range;
[0115] Among them, the trigger event display includes, based on the human-machine operation of the custom control, triggering the static display, dynamic display or the multimedia synchronous output state to cooperate with the static display and dynamic display.
[0116] Specifically, the skin data based on the custom control has a relatively independent expression style. The skin effects of multiple custom controls can be used to construct a skin theme for a page based on independent skin themes, or cut the skin display area based on a page skin theme to generate skin data. At this time, the skin of the custom control is only a part of the entire page and does not have an independent skin theme.
[0117] In addition to static display pixel image categories, other forms of display are also included, such as forming a skin-themed display by controlling the color tone, pattern, font style and display range.
[0118] For example, dynamic display is based on a custom control or a preset page or a display block of a page, and is set to a skin theme that continuously refreshes multiple frames, that is, the skin theme is a looping video;
[0119] For example, the trigger event display includes a video playing skin style based on the trigger event, switching to a skin style based on the trigger event, accompanied by the display of graphics, and outputting audio information at the same time, which together constitute the skin style displayed based on the trigger event. The trigger event includes the key value operation of the custom control, forming an instruction input, accompanied by the instruction input, corresponding to the switching of a skin style, and the switching of multiple groups of skin styles, forming a skin theme.
[0120] In this embodiment, collecting the vehicle-side interface skin architecture information includes:
[0121] Generate the car-side interface skin architecture information according to the position of the custom control on the display page and the queue position of the custom control on the display page;
[0122] Get the property configuration information of the custom control;
[0123] The property configuration information includes the display function of the corresponding custom control at the display page position and the queue position of the custom control at the display page;
[0124] Based on the custom control display function of the corresponding custom control in the display page position and the custom control in the queue position of the display page, it is added to the interface skin architecture information of the vehicle side and uploaded to the cloud;
[0125] Filter the characteristic information of the skin theme according to the property configuration information of the custom control.
[0126] Specifically, the custom control includes a plug-in with a button function, and its attribute configuration information includes the custom control display function corresponding to the custom control position on the display page and the custom control position in the queue of the display page, that is, after the button is operated, there is a corresponding feedback of the display state change. The display functions at different display page positions and queue positions of the display page may be different, and they are uploaded to the cloud as part of the interface skin architecture information. The skin data packet generated in the cloud can include the processing of this part of the skin theme and skin data packet.
[0127] Figure 2 It is a structural diagram of a vehicle-side interface skin theme switching device provided by one or more embodiments of the present invention.
[0128] like Figure 2 The vehicle-side interface skin theme switching device shown includes: an architecture information module, an upload data module, a demand information module, a skin data module, a data request module, a data delivery module, a skin refresh module, and a control refresh module;
[0129] The architecture information module is used to collect the interface skin architecture information of the vehicle side;
[0130] The data upload module is used to upload the interface skin architecture information collected from the vehicle to the cloud;
[0131] The vehicle-side interface skin architecture information includes a custom control corresponding to the vehicle-side interface skin architecture and Hook information corresponding to the custom control;
[0132] Demand information module, used to collect vehicle-side interface skin demand information;
[0133] The vehicle-side interface skin requirement information includes characteristic information of the skin theme;
[0134] The skin data module is used to filter the skin database based on the characteristic information of the skin theme in the cloud, and generate the skin data package of the custom control under the interface skin architecture corresponding to the vehicle side;
[0135] The data request module is used to trigger the request for sending the corresponding skin data packet based on the Hook information;
[0136] The data sending module sends the skin data packet to the custom control of the vehicle-side interface skin architecture according to the request for sending the skin data packet;
[0137] The skin refresh module is used for the vehicle side to send skin data packets according to the custom controls of the corresponding vehicle side interface skin architecture, and refresh the skin theme of the vehicle side interface;
[0138] The control refresh module is used to refresh the skin theme of the vehicle-side interface, including refreshing the skin of the custom controls of the vehicle-side interface.
[0139] It is worth noting that although the present system only discloses the architecture information module, the upload data module, the demand information module, the skin data module, the data request module, the data sending module, the skin refresh module, and the control refresh module, it does not mean that the present device is limited to the above-mentioned basic functional modules. Rather, what the present invention wants to express is that, based on the above-mentioned basic functional modules, those skilled in the art can arbitrarily add one or more functional modules in combination with the prior art to form an infinite number of embodiments or technical solutions. In other words, the present system is open rather than closed. Just because the present embodiment only discloses individual basic functional modules, it cannot be considered that the scope of protection of the claims of the present invention is limited to the above-mentioned basic functional modules.
[0140] Through the above scheme, the following beneficial technical effects are obtained:
[0141] This application achieves the skin customization capability for different vehicle-side interfaces by uploading skin requirement information and interface skin architecture information to the cloud, generating a skin data packet in the cloud.
[0142] This application realizes autonomous control of skinning by setting custom controls and bundling Hook information, so that skinning can be targeted at specific locations and timings.
[0143] This application sets the priority of skinning so that the interface skin displayed at the front end is refreshed first, saving data processing resources while improving the efficiency experience.
[0144] This application collects skin transformation data to refine the accuracy of information about the user's skin type tendencies, so that the user's needs can be accurately served when pushing skin data packets.
[0145] This application provides multiple skin forms to provide multiple options for vehicle-side skin customization, thereby increasing users' acceptance of skin-changing services.
[0146] This application utilizes the attribute information of custom controls to filter the skin theme feature information, so that the skin data package recommended to the vehicle side is more in line with the vehicle side interface requirements used by the user.
[0147] Figure 3 A schematic diagram of sending a skin theme data packet according to a specific embodiment of the present invention.
[0148] Figure 4 A schematic diagram of a recommended skin theme data package according to a specific embodiment of the present invention.
[0149] Figure 5 A schematic diagram of skin data packet processing according to a specific embodiment of the present invention.
[0150] Figure 6 A schematic diagram of a process for applying a custom theme according to a specific embodiment of the present invention.
[0151] Figure 7 A schematic diagram of a process for calculating user-selected skin theme data according to a specific embodiment of the present invention.
[0152] In a specific embodiment, the resource package of the theme exists in the form of apk, and the resource naming contained in it is consistent with the resource naming in the app, which is the premise for replacing resources. There are two main types of theme resources stored in the cloud: default and customized theme resource packages. Each resource package has its own name and version. When each app on the vehicle is started, it pulls the resource package from the cloud and downloads it to the SD card according to the vehicle, account, version and other information. Figure 3 The skin theme data package is sent as shown.
[0153] In this embodiment, after the vehicle terminal pulls the resource package, when receiving the theme switching instruction, the main work of each app is as follows: parse the theme resource package from the target resource package path, and cache the parsing result R, to reduce the file io during subsequent skinning instructions; when the app page is started, the Hook technology is used to replace the controls on the interface with skinnable custom controls when rendering the interface layout file, and these controls are grouped by page P, and a skinning control pool A is generated and hung under P; these custom controls are configured according to the attributes in the layout file to record which resources need to be changed; upon receiving the skinning instruction, A is traversed, and each control parses the corresponding resources from R according to the attribute configuration, and then the resources are replaced to achieve the theme switching effect. In order to improve the skinning performance, the lazy loading design concept in software design is used as a reference. When skinning, only the controls under the foreground page of the foreground application are changed first. This avoids the simultaneous skinning of all pages of all apps, resulting in io runs and jams. Figure 5 The application shown processes the skin data packet.
[0154] In this embodiment, the process of customizing the theme is as follows: the vehicle computer loads the resource configuration template, which exists in the form of a key-value pair, where the key is the resource name and the value is the resource type and resource content, such as color, image, font size, etc.; the customized theme resources are uploaded to the cloud, which combines the resource package parent package and the customized resource configuration to generate a user-customized resource package, and records the version information and enters it into the database for future theme package version upgrades; the resource package is asynchronously returned to the vehicle computer, which records the resource package version so that the cloud can perform version verification the next time the theme resource package is requested. Figure 6 The diagram shows the process of applying a custom theme.
[0155] In this embodiment, the resource master package is the configuration of the default resources, and the customized resources are its subset. The packaging script will merge the two and package them into a user-customized resource package apk; the cloud records the version of the customized resource package, and the car-machine end also records the version of the theme package loaded by itself. When the car-machine app starts to request the resource package later, the cloud performs version verification to avoid redundant distribution; after the customized resources are distributed, the car-machine app downloads the customized theme resource package to the SD card. When switching the customized theme, all apps read the skin-changing resources from this directory to perform the skin-changing.
[0156] In another specific embodiment, Figure 4 The recommended skin theme data package shown, the cloud intelligently recommends themes.
[0157] The recommendation system mainly consists of three parts: data warehouse, recommendation algorithm and rating feedback. Based on the feature values of users in the data warehouse, a suitable similarity algorithm is selected to calculate the user-user similarity matrix.
[0158] The data warehouse is the basis of the recommendation algorithm. In this embodiment, it mainly contains user and topic data. It records user feature values (X vectors). The recommendation algorithm performs operations based on the feature values to obtain relatively optimal results. The feature values related to users and topics include but are not limited to:
[0159] Topic rating (X0): This item is the user's rating of each topic;
[0160] Frequency of topic usage (X1): This item reflects the user's preference for topic usage;
[0161] Age (X2): Young people may prefer lighter colors, while middle-aged and elderly people may prefer darker colors;
[0162] Occupation (X3): People in extroverted occupations such as sales and public relations may prefer brighter colors, while programmers and technical workers may prefer darker colors;
[0163] Gender (X4): Men prefer cool colors, while women prefer warm colors;
[0164] In the recommendation algorithm, the user collaborative filtering method is adopted. The starting point is: "Birds of a feather flock together". Users with similar characteristics are more likely to like the same topic.
[0165] Here are the steps:
[0166] For the eigenvalues of continuous variables, after normalization, the eigenvalues are normalized to [-1,1] in order to remove the estimation bias caused by the large difference in the value range of some eigenvalues. The normalization formula is as follows:
[0167] Xscale=(X-Xmin) / (Xmax-Xmin);
[0168] Then calculate the Pearson similarity between users to obtain the user similarity two-dimensional matrix. For user feature vectors X and Y, the Pearson similarity calculation formula is as follows:
[0169]
[0170] Where E represents expectation, the result range is [-1, 1], 1 represents positive correlation, and the closer to 1, the higher the similarity;
[0171] After obtaining the similarity matrix between users, we can know which users user A is closest to. We can take the top n users [B1...Bn], query their usage frequency and the topics with the highest ratings, generate a union TB, and after deduplication with the topic set TA used by user A, we can get the result R of the recommended topic set, which is then pushed to the user.
[0172] The recommended algorithm process is as follows Figure 7The process of calculating user selected skin theme data is shown.
[0173] Figure 8 A structural block diagram of an electronic device of a vehicle-side interface skin theme switching method provided by one or more embodiments of the present invention.
[0174] like Figure 8 As shown, the present application provides an electronic device, including: a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus;
[0175] A computer program is stored in the memory. When the computer program is executed by the processor, the processor executes the steps of a method for switching the skin theme of the vehicle-side interface.
[0176] The present application also provides a computer-readable storage medium, which stores a computer program that can be executed by an electronic device. When the computer program runs on the electronic device, the electronic device executes the steps of a method for switching the skin theme of a vehicle-side interface.
[0177] The present application also provides a vehicle, comprising:
[0178] Electronic device, used to implement the steps of the method for switching the skin theme of the vehicle end interface;
[0179] A processor, wherein the processor runs a program, and when the program runs, data outputted from the electronic device executes the steps of the vehicle-side interface skin theme switching method;
[0180] The storage medium is used to store a program, and when the program is running, it executes the steps of the vehicle-side interface skin theme switching method for the data output from the electronic device.
[0181] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0182] The electronic device includes a hardware layer, an operating system layer running on the hardware layer, and an application layer running on the operating system. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and a memory. The operating system can be any one or more computer operating systems that implement electronic device control through a process, such as a Linux operating system, a Unix operating system, an Android operating system, an iOS operating system, or a Windows operating system. In addition, in an embodiment of the present invention, the electronic device can be a handheld device such as a smart phone or a tablet computer, or can be an electronic device such as a desktop computer or a portable computer, which is not particularly limited in the embodiment of the present invention.
[0183] The execution subject of the electronic device control in the embodiment of the present invention may be an electronic device, or a functional module in the electronic device that can call and execute a program. The electronic device may obtain the firmware corresponding to the storage medium. The firmware corresponding to the storage medium is provided by the supplier. The firmware corresponding to different storage media may be the same or different, which is not limited here. After the electronic device obtains the firmware corresponding to the storage medium, the firmware corresponding to the storage medium may be written into the storage medium, specifically, the firmware corresponding to the storage medium may be burned into the storage medium. The process of burning the firmware into the storage medium may be implemented using existing technology, which will not be described in detail in the embodiment of the present invention.
[0184] The electronic device may also obtain a reset command corresponding to the storage medium. The reset command corresponding to the storage medium is provided by the supplier. The reset commands corresponding to different storage media may be the same or different, and are not limited here.
[0185] At this time, the storage medium of the electronic device is a storage medium in which the corresponding firmware is written, and the electronic device can respond to the reset command corresponding to the storage medium in the storage medium in which the corresponding firmware is written, so that the electronic device resets the storage medium in which the corresponding firmware is written according to the reset command corresponding to the storage medium. The process of resetting the storage medium according to the reset command can be implemented by the existing technology and will not be described in detail in the embodiments of the present invention.
[0186] For the convenience of description, the above devices are described in terms of functions and are divided into various units and modules. Of course, when implementing the present application, the functions of each unit and module can be implemented in the same or multiple software and / or hardware.
[0187] Those skilled in the art will appreciate that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as those generally understood by those skilled in the art in the art to which the present invention belongs. It should also be understood that terms such as those defined in general dictionaries should be understood to have meanings consistent with the meanings in the context of the prior art, and will not be interpreted with idealized or overly formal meanings unless specifically defined.
[0188] For the method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0189] It can be known from the description of the above implementation modes that those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform. Based on such an understanding, the technical solution of the present application can be essentially or partly contributed to the prior art in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which can be a personal computer, a server or a network device, etc.) to execute the methods described in the various implementation modes of the present application or certain parts of the implementation modes.
[0190] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for switching the skin theme of a vehicle interface, characterized in that: The vehicle-side interface skin theme switching method includes: Collect the car-side interface skin architecture information; Upload and collect the vehicle-side interface skin architecture information to the cloud; The vehicle-side interface skin architecture information includes a custom control corresponding to the vehicle-side interface skin architecture and Hook information corresponding to the custom control; Collect the interface skin requirement information of the vehicle side; The vehicle-side interface skin requirement information includes characteristic information of the skin theme; The cloud side selects the skin database based on the characteristic information of the skin theme and generates a skin data package for the custom controls under the interface skin architecture corresponding to the vehicle side; Based on the Hook information, the vehicle triggers a request to send the corresponding skin data packet; According to the request for sending the skin data packet, the custom control corresponding to the vehicle-side interface skin architecture sends the skin data packet; The vehicle side sends a skin data packet according to the custom control of the interface skin architecture corresponding to the vehicle side, and refreshes the skin theme of the vehicle side interface; Among them, the skin theme for refreshing the vehicle-side interface includes refreshing the skin of the custom controls of the vehicle-side interface.
2. The method for switching the vehicle-side interface skin theme according to claim 1, characterized in that: The skin of the custom control for refreshing the vehicle-side interface includes: Get the custom control status information of the current vehicle interface; The custom control status information includes the status information of the foreground display and the background display of the current vehicle interface; According to the status information of the foreground display and the background display of the current vehicle-side interface, set the order of refreshing the skin of the custom controls of the vehicle-side interface; The order of setting refresh skins of custom controls on the vehicle-side interface includes, based on foreground display priority and saving data processing resources, refreshing the skins of custom controls on the foreground of the vehicle-side interface first, and then refreshing the skins of custom controls on the background of the vehicle-side interface.
3. The method for switching the vehicle-side interface skin theme according to claim 2, characterized in that: The Hook information includes: Based on the preset timing, vehicle startup, account login, version update, input command and / or push reception events, the vehicle triggers a request to send the corresponding skin data package; According to the request for sending the skin data packet, the vehicle end obtains the skin data packet and stores it in the vehicle end; The skin data packet is obtained based on the vehicle side and stored in the vehicle side, the skin data packet stored in the vehicle side is read, and the skin theme of the vehicle side interface is refreshed.
4. The method for switching the vehicle-side interface skin theme according to claim 3 is characterized in that: The interface skin requirement information collected on the vehicle side includes: Get the download frequency data and rating data of the corresponding skin theme; According to the download frequency data and rating data of the corresponding skin theme, retrieve the characteristic information of the person who downloaded and / or rated the skin theme; According to the characteristic information of the person who downloads and / or rates, skin data package push information based on the corresponding skin theme type is generated.
5. The method for switching the vehicle-side interface skin theme according to claim 4, characterized in that: The characteristic information of the skin theme includes: Collect characteristic information of skin themes based on dynamic display, static display and trigger event display; Among them, static display includes display based on color tone, pattern, font and display range; The dynamic display includes display of picture frame refresh based on color tone, pattern, font and display range; Among them, the trigger event display includes, based on the human-machine operation of the custom control, triggering the static display, dynamic display or the multimedia synchronous output state to cooperate with the static display and dynamic display.
6. The method for switching the vehicle-side interface skin theme according to claim 5, characterized in that: The interface skin architecture information of the collection vehicle side includes: Generate the car-side interface skin architecture information according to the position of the custom control on the display page and the queue position of the custom control on the display page; Get the property configuration information of the custom control; The property configuration information includes the display function of the corresponding custom control at the display page position and the queue position of the custom control at the display page; Based on the custom control display function of the corresponding custom control in the display page position and the custom control in the queue position of the display page, it is added to the interface skin architecture information of the vehicle side and uploaded to the cloud; Filter the characteristic information of the skin theme according to the property configuration information of the custom control.
7. A vehicle-side interface skin theme switching device, characterized in that: The vehicle-side interface skin theme switching device comprises: The architecture information module is used to collect the interface skin architecture information of the vehicle side; The data upload module is used to upload the interface skin architecture information of the collected vehicle to the cloud; The vehicle-side interface skin architecture information includes a custom control corresponding to the vehicle-side interface skin architecture and Hook information corresponding to the custom control; Demand information module, used to collect vehicle-side interface skin demand information; The vehicle-side interface skin requirement information includes characteristic information of the skin theme; The skin data module is used to filter the skin database based on the characteristic information of the skin theme in the cloud, and generate the skin data package of the custom control under the interface skin architecture corresponding to the vehicle side; The data request module is used to trigger the request for sending the corresponding skin data packet based on the Hook information; The data sending module sends the skin data packet to the custom control of the vehicle-side interface skin architecture according to the request for sending the skin data packet; The skin refresh module is used for the vehicle side to send skin data packets according to the custom controls of the corresponding vehicle side interface skin architecture, and refresh the skin theme of the vehicle side interface; The control refresh module is used to refresh the skin theme of the vehicle-side interface, including refreshing the skin of the custom controls of the vehicle-side interface.
8. An electronic device, characterized in that: include: A processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; A computer program is stored in the memory. When the computer program is executed by the processor, the processor executes the steps of the vehicle-side interface skin theme switching method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that: include: It stores a computer program that can be executed by an electronic device. When the computer program runs on the electronic device, the electronic device executes the steps of the vehicle-side interface skin theme switching method described in any one of claims 1 to 6.
10. A vehicle, characterized in that: include: An electronic device, used to implement the steps of the vehicle-side interface skin theme switching method according to any one of claims 1 to 6; A processor, wherein the processor runs a program, and when the program runs, data outputted from the electronic device executes the steps of the vehicle-side interface skin theme switching method according to any one of claims 1 to 6; A storage medium for storing a program, wherein when the program is running, the program executes the steps of the vehicle-side interface skin theme switching method as described in any one of claims 1 to 6 for data output from an electronic device.
Citation Information
Patent Citations
Online theme switching method and device, equipment and medium
CN115794285A
Method and device for switching display themes of in-vehicle infotainment system
CN115858076A
Application theme switching method and device, electronic equipment and medium
CN116627572A
