User interface generation method and device, equipment, storage medium and product

By generating and detecting UI skin-changing parameter data, the personalized requirements of the vehicle terminal UI are realized, the user interaction experience and the compliance of the UI are improved, and the problem of insufficient flexibility of UI design in the existing technology is solved.

CN118585282APending Publication Date: 2024-09-03FAW JIEFANG AUTOMOTIVE CO
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410821202.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-24
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The existing vehicle terminal UI design has low flexibility and cannot meet the personalized needs of users, resulting in poor user interaction experience.

Method used

By responding to the user interface UI skinning request, the UI skinning parameter data is generated and input into the pre-trained UI skin generation model to generate the target UI and conduct compliance testing. If it passes, the target UI will be displayed on the car side. Achieve the satisfaction of users’ personalized needs and the flexibility of UI skins.

Benefits of technology

It improves user interaction experience and enhances the legality, compliance and security of generated UI.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118585282A
    Figure CN118585282A
Patent Text Reader

Abstract

The invention discloses a user interface generation method and device, equipment, a storage medium and a product. The method comprises the following steps: generating UI skin change parameter data in response to a user interface UI skin change request of a vehicle end; inputting the UI skin changing parameter data into a UI skin generation model obtained by pre-training to obtain a target UI output by the model; performing compliance detection on the target UI to obtain a target compliance detection result; and if the target compliance detection result is that compliance detection is passed, feeding back the target UI to the vehicle end so as to display the target UI in a display device of the vehicle end. According to the technical scheme, the generation flexibility of the UI of the vehicle-mounted terminal is realized, the personalized requirement of a user on the UI of the vehicle-mounted terminal is met, and the user interaction experience feeling is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing technology, and in particular to a user interface generation method, device, equipment, storage medium and product. Background Art

[0002] Vehicle UI (User Interface) refers to the user interface inside the vehicle, which is used to provide information and control vehicle functions. Currently, most vehicle terminal UI designs in the industry are built-in UI design solutions on the vehicle side, and there are no visual changes during the life cycle of the vehicle after the vehicle is put on the market. Alternatively, fixed solutions for UI design can be upgraded through OTA (Over-The-Air, transmission and update via radio waves).

[0003] The current vehicle terminal UI generation method has low flexibility and cannot meet the personalized needs of users, thus failing to provide users with a good interactive experience. Summary of the invention

[0004] The present invention provides a user interface generation method, device, equipment, storage medium and product to achieve the generation flexibility of the vehicle terminal UI, meet the user's personalized needs for the vehicle terminal UI, and improve the user's interactive experience.

[0005] According to one aspect of the present invention, a method for generating a user interface is provided, the method comprising:

[0006] In response to a user interface UI skinning request from the vehicle end, generate UI skinning parameter data;

[0007] Inputting the UI skinning parameter data into a pre-trained UI skin generation model to obtain a target UI output by the model;

[0008] Performing compliance testing on the target UI to obtain a target compliance testing result;

[0009] If the target compliance detection result is that the compliance detection is passed, the target UI is fed back to the vehicle end so that the target UI is displayed on the display device of the vehicle end.

[0010] According to another aspect of the present invention, there is provided a user interface generating device, the device comprising:

[0011] A parameter data generation module, used to generate UI skinning parameter data in response to a UI skinning request from the vehicle end;

[0012] A target UI generation module, used for inputting the UI skinning parameter data into a pre-trained UI skin generation model to obtain a target UI output by the model;

[0013] A compliance detection module, used to perform compliance detection on the target UI and obtain a target compliance detection result;

[0014] The target UI feedback module is used to feed back the target UI to the vehicle end if the target compliance detection result is compliance detection passed, so as to display the target UI on the display device of the vehicle end.

[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0016] at least one processor; and

[0017] a memory communicatively connected to the at least one processor; wherein,

[0018] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the user interface generating method described in any embodiment of the present invention.

[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the user interface generating method described in any embodiment of the present invention when executed.

[0020] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the vehicle behavior pattern determination method according to any embodiment of the present invention is implemented.

[0021] The technical solution of the embodiment of the present invention generates UI skin-changing parameter data in response to a UI skin-changing request, and inputs the UI skin-changing parameter data into a pre-trained UI skin generation model to obtain a target UI output by the model, and performs compliance detection on the target UI to obtain a target compliance detection result. If the target compliance detection result is that the compliance detection is passed, the target UI is fed back to the vehicle end to display the target UI on the display device of the vehicle end. The above technical solution automatically generates UI skin-changing parameter data based on the UI skin-changing request, and automatically generates UI skin based on the UI skin-changing parameter data, thereby realizing the user's automated skin-changing needs. At the same time, the automatic generation of UI skin realizes the flexibility of UI skin generation, meets the user's personalized needs for the vehicle terminal UI, and improves the user's interactive experience. At the same time, by performing compliance detection on the target UI, the legality, compliance and security of the generated target UI are improved.

[0022] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0024] Figure 1 is a flowchart of a method for generating a user interface provided according to Embodiment 1 of the present invention;

[0025] Figure 2 is a flowchart of a method for generating a user interface provided according to a second embodiment of the present invention;

[0026] Figure 3 is a structural schematic diagram of a user interface generating device provided according to Embodiment 3 of the present invention;

[0027] Figure 4 It is a structural schematic diagram of an electronic device for implementing the user interface generating method according to an embodiment of the present invention. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. 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 should fall within the scope of protection of the present invention.

[0029] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0030] Embodiment 1

[0031] Figure 1 This is a flowchart of a user interface generation method provided in the first embodiment of the present invention. This embodiment is applicable to the case where the vehicle terminal UI is flexibly generated based on the user's personalized needs. The method can be executed by a user interface generation device, which can be implemented in the form of hardware and / or software. The user interface generation device can be configured in an electronic device, for example, can be configured in the vehicle end. Figure 1 As shown, the method includes:

[0032] S110. In response to a user interface UI skinning request from the vehicle side, generate UI skinning parameter data.

[0033] S120 , inputting UI skinning parameter data into a pre-trained UI skin generation model to obtain a target UI output by the model.

[0034] S130: Perform compliance detection on the target UI to obtain a target compliance detection result.

[0035] S140: If the target compliance detection result is that the compliance detection is passed, the target UI is fed back to the vehicle end so that the target UI is displayed on the display device of the vehicle end.

[0036] The UI skinning request can be initiated by the user himself or by the vehicle end at a scheduled time. The scheduled initiation method can be to automatically generate UI skinning parameter data that meets the user's personalized needs based on the user's relevant data in the historical period, including the user's preference data for UI.

[0037] The UI skinning parameter data may include style, color, element, layout, etc. For example, the style may be ink painting style, cartoon style, simple style, etc.; the color may be the color corresponding to the theme, such as red or color, etc. The element may be a person element, a landscape element, an architectural element, etc.; the layout may be the layout of the area where different functions are displayed in the UI, such as a horizontal layout, a vertical layout, or a custom layout, etc.

[0038] The user can select the relevant UI skinning parameter data in the selection interface of the vehicle terminal. For example, the user can select from the styles, colors, elements and layouts given in the selection interface of the vehicle terminal, and click the confirmation button after the user selects to generate a UI skinning request. The UI skinning request contains the UI skinning parameter data selected by the user, such as style, color, element and layout. The specific information can be obtained by parsing the UI skinning request.

[0039] In order to further realize that the generated UI can be more in line with the user's personal preferences, and to realize the automatic generation of the vehicle-side UI that meets the user's needs and personal preferences, the target UI can also be automatically generated for the user at a fixed time. Therefore, in the process of automatically generating the target UI that meets the user's preferences, the determination of the UI skinning parameter data is crucial.

[0040] In an optional embodiment, in response to a user interface UI skinning request from the vehicle side, UI skinning parameter data is generated, including: in response to the UI skinning request from the vehicle side, if the UI skinning request is a timed update request, user-related data in a historical time period is obtained; user-related data includes user preference data, user operation data and user frequently used function data; UI skinning parameter data is generated based on the user preference data, user operation data and user frequently used function data.

[0041] Among them, user preference data may include historical UIs selected by users in historical time periods, and corresponding UI skinning parameter data, including style and color, are determined from each historical UI. User operation data may include the operation frequency of the historical UI selected by the user, for example, the number of times the user selected the historical UI and the operation duration for any historical UI selected by the user in the historical period. User frequently used function data may include the user's selection frequency for each in-vehicle function presented based on the historical UI, so as to facilitate the generation of a UI layout that meets user needs. For example, if the user's frequently used functions are music and settings, the generated UI layout may include two large horizontal or vertical local areas in the central area, and several other smaller areas, so as to achieve a larger operation space for the user's frequently used functions.

[0042] The UI skinning parameter data is generated based on the user preference data, the user operation data and the user's frequently used function data. For example, the user's selection frequency or usage times of different UI skinning parameters can be determined from the user preference data and the user operation data, and the color parameters and theme parameters in the UI skinning parameter data can be determined based on the selection frequency and usage times. The layout parameters in the UI skinning parameter data can be determined based on the user's frequently used function data.

[0043] Optionally, the pre-built prediction network model can be trained based on historical user preference data, historical user operation data, and historical user common function data in a historical period to obtain a UI parameter prediction model for predicting UI skinning parameter data. The pre-built prediction network model can be pre-set by relevant technical personnel, for example, it can be a BP neural network (Back-Propagation Neural Network) model.

[0044] To further meet the personalized needs of users, a target UI that meets the user's needs can also be generated based on the user's intention. Therefore, UI skinning parameter data can be generated according to the intention information input by the user.

[0045] In an optional embodiment, in response to a UI skinning request for the in-vehicle user interface, UI skinning parameter data is generated, including: in response to a UI skinning request for the in-vehicle user interface, if the UI skinning request is a user input request, obtain the user input intention information; perform word segmentation processing on the user input intention information to obtain at least one intention word segment; generate importance scores for each intention word segment, and determine target word segments according to the importance scores of each intention word segment; map each target word segment to keywords to obtain UI skinning parameter data.

[0046] If the user input request is a voice request, convert the voice request into user input intention information in text form; if the user input request is a text request, perform request parsing on the text request to obtain the user input intention information. For example, the user input intention information is "I want a desktop with a Chinese ink landscape theme".

[0047] Perform text preprocessing on the user input intention information. Specifically, it can be a text request, including removing stop words such as "de" (的), "he" (和), punctuation marks, and numbers. Using word embedding technology, perform word segmentation on the preprocessed user input intention information to obtain target word segments, and perform vector conversion on the target word segments, so as to facilitate subsequent capture of the semantic information and context relationship of words. Among them, word embedding technology can be, for example, Word2Vec (Word to Vector, a related model for generating word vectors) and BERT (Bidirectional Encoder Representations from Transforms, a pre-trained language representation model based on the Transformer model), etc.

[0048] Generate corresponding importance scores for each intention word segment. Among them, the importance score of the word segment can be specifically implemented by means of algorithms such as TF-IDF (Term Frequency-Inverse Document Frequency) or TextRank (text ranking). Determine the target word segments according to the importance scores of each intention word segment. For example, the top N intention word segments ranked by importance scores can be used as the target word segments, where the value of N can be preset by relevant technical personnel. For example, N can be 5, or it can be flexibly configured according to the number of word segments of the intention word segments.

[0049] The extracted target word segmentation is keyword mapped to specific UI skinning parameter data, such as color, theme, and layout style. For example, if the target word segmentation is "ink", the mapped theme parameter can be "ink style"; if the target word segmentation is "gray tone", the mapped color parameter can be "black", "light gray", "dark gray", etc.

[0050] The obtained UI skinning parameter data is input into the pre-trained UI skin generation model to obtain the target UI output by the model. The UI skin generation model can be pre-trained by relevant technical personnel.

[0051] The present embodiment also provides a training method for a UI skin generation model. The model training method of the UI skin generation model is as follows: obtaining UI sample data; the UI sample data includes at least one UI design interface and UI parameter data of the corresponding UI design interface; inputting each UI design interface and the corresponding UI parameter data into a pre-constructed network model for model training until the model training end conditions are met to obtain the UI skin generation model.

[0052] Among them, the UI parameter data of the UI design interface may include color parameters, theme parameters, background parameters, element parameters and layout parameters of the interface. The UI parameter data corresponding to different UI design interfaces are different or partially different. Among them, the pre-built network model can be a VAE (Variational Autoencoder) model or a GAN (Generative Adversarial Network) model, which is not limited in this embodiment.

[0053] In an optional embodiment, if the pre-built network model is a VAE model, each UI design interface and its corresponding UI parameter data are input into the encoder network in the VAE model, and the encoder network encodes the input UI design interface into a vector representation of the latent space; the decoder network in the VAE model generates a new UI design interface based on the vector of the latent space generated by the encoder network.

[0054] In another optional embodiment, the pre-constructed network model is a generative adversarial network model; the generative adversarial network model includes a generator and a discriminator; accordingly, each UI design interface and the corresponding UI parameter data are input into the pre-constructed network model for model training until the model training end condition is met to obtain a UI skin generation model, including: inputting the UI parameter data corresponding to each UI design interface into the generator to obtain a predicted UI design interface output by the generator; inputting the predicted UI design interface output by the generator and the corresponding UI design interface into the discriminator to obtain a classification result; according to the classification result, determining the target loss value, and performing model training on the generator and the discriminator based on the target loss value until the model training end condition is met to obtain a UI skin generation model.

[0055] The generator of the Generative Adversarial Network model GAN ​​includes an input layer, an intermediate layer, and an output layer. The UI parameter data corresponding to each UI design interface is input into the generator, and the input layer receives the input UI parameter data, including color parameters, style parameters, and background parameters. The intermediate layer converts the input UI parameter data into a generated predicted UI design interface through multi-layer deconvolution operations. The output layer outputs the predicted UI design interface to the discriminator.

[0056] The discriminator of the generative adversarial network model GAN ​​is used to distinguish the generated predicted UI design interface from the real UI design interface, and includes an input layer, an intermediate layer, and an output layer. The input layer is used to receive the predicted UI design interface output by the output layer of the discriminator. The intermediate layer is used to extract features through multi-layer convolution operations. The output layer is a binary classifier that determines whether the input predicted UI design interface is a real UI design interface or a generated UI design interface. The loss function of the GAN model consists of two parts: generator loss and discriminator loss. The generator loss is determined based on the classification of the predicted UI design interface generated by the generator by the discriminator. The discriminator includes a loss for judging the real UI design interface and a loss for judging the generated predicted UI design interface. The sum of the generator loss value and the discriminator loss value is determined as the target loss value.

[0057] The model training end condition can be pre-set by relevant technical personnel. For example, the model training end condition can be that the target loss value tends to be stable or reaches the loss threshold. When the model training end condition is met, the UI skin generation model is obtained. The higher the model training accuracy of the UI skin generation model, the higher the generation accuracy of the target UI.

[0058] A compliance check is performed on the target UI to obtain a target compliance check result. If the target compliance check result is that the compliance check has passed, the target UI is fed back to the vehicle end to display the target UI on the display device of the vehicle end. The display device may be, for example, an instrument panel, a central control screen, a co-pilot screen, or a rear screen. If the target compliance check result is that the compliance check has not passed, a prompt message indicating a UI skin change exception is generated and sent to the vehicle end, so that the vehicle end can regenerate a UI skin change request.

[0059] Among them, the compliance check of the target UI can specifically be to detect whether the UI complies with image safety specifications, whether there are UI images that provide bad guidance, etc., so as to avoid adverse interference, influence or misleading to vehicle-side users.

[0060] In an optional embodiment, a compliance check is performed on the target UI to obtain a target compliance check result, including: extracting image elements contained in the target UI to obtain at least one UI element image; inputting each UI element image into a pre-trained image compliance check model for image detection to obtain a first compliance check result output by the model; extracting character elements contained in the target UI to obtain a character element extraction result; if there is at least one character element in the character element extraction result, performing sensitive word detection on each character element to obtain a second compliance check result; and determining the target compliance check result based on the first compliance check result and the second compliance check result.

[0061] The target UI may include at least one image element, for example, the image element may be a cartoon image element, a landscape image element, a character image element, etc. Element extraction is performed on each image element included in the target UI to obtain at least one UI element image.

[0062] The image compliance detection model can be used to perform compliance detection on element images, specifically to detect whether the element image infringes on image copyright, or whether the image element has bad guidance and is likely to mislead the driver, etc. The image compliance detection model can adopt an existing image detection model, or can be pre-trained by relevant technical personnel.

[0063] Specifically, a large number of element image samples are obtained, and corresponding label values ​​are generated for each sample, specifically, the violation category. The pre-built image detection model is trained using the element image samples until the model completes the iteration and an image compliance model is obtained. Optionally, in order to further improve the compliance detection accuracy of the image compliance model, relevant vehicle driving regulations, including driving safety regulations and privacy protection regulations, can also be introduced during the model training process.

[0064] It should be noted that the target UI may contain character elements, such as text, special characters, letters, and numbers. If there is no character element in the character element extraction result, there is no need to perform the second compliance check; if there is at least one character element in the character element extraction result, sensitive word detection is performed on each character element to obtain the second compliance test result.

[0065] If any of the first compliance test result and the second compliance test result fails the compliance test, the target compliance test result is determined to be compliance test failure. If both the first compliance test result and the second compliance test result pass the compliance test, the target compliance test result is determined to be compliance test pass.

[0066] The technical solution of the embodiment of the present invention generates UI skin-changing parameter data in response to a UI skin-changing request, and inputs the UI skin-changing parameter data into a pre-trained UI skin generation model to obtain a target UI output by the model, and performs compliance detection on the target UI to obtain a target compliance detection result. If the target compliance detection result is that the compliance detection is passed, the target UI is fed back to the vehicle end to display the target UI on the display device of the vehicle end. The above technical solution automatically generates UI skin-changing parameter data based on the UI skin-changing request, and automatically generates UI skin based on the UI skin-changing parameter data, thereby realizing the user's automated skin-changing needs. At the same time, the automatic generation of UI skin realizes the flexibility of UI skin generation, meets the user's personalized needs for the vehicle terminal UI, and improves the user's interactive experience. At the same time, by performing compliance detection on the target UI, the legality, compliance and security of the generated target UI are improved.

[0067] Embodiment 2

[0068] Figure 2 This is a flow chart of a method for generating a user interface provided in Embodiment 2 of the present invention. This embodiment provides a preferred example based on the above embodiments.

[0069] like Figure 2 As shown, the method comprises the following specific steps:

[0070] S201, obtaining a UI skinning request from the vehicle side.

[0071] If the UI skin change request is a request generated by the user based on the selection operation of the vehicle-side UI skin change interface, execute S202A; if the UI skin change request is a timed update request, execute S202B-S202C; if the UI skin change request is a user input request, execute S202D-S202G.

[0072] S202A: If the UI skin changing request is a request generated by the user performing a selection operation based on the vehicle-side UI skin changing interface, the UI skin changing request is parsed to obtain UI skin changing parameter data selected by the user.

[0073] S202B: If the UI skin-changing request is a timed update request, then obtain user preference data, user operation data, and user frequently used function data in a historical time period.

[0074] S202C: Generate UI skinning parameter data according to user preference data, user operation data and user frequently used function data.

[0075] S202D: If the UI skin change request is a user input request, obtain user input intention information.

[0076] S202E: Perform word segmentation processing on the user input intention information to obtain at least one intention word segmentation.

[0077] S202F, generate an importance score for each intent segmentation, and determine the target segmentation based on the importance score of each intent segmentation.

[0078] S202G, perform keyword mapping on each target word segment to obtain UI skinning parameter data.

[0079] S203: Input the UI skinning parameter data into the pre-trained UI skin generation model to obtain the target UI output by the model.

[0080] The model training method of the UI skin generation model is as follows:

[0081] Obtain UI sample data; the UI sample data includes at least one UI design interface and UI parameter data of the corresponding UI design interface; the pre-constructed network model is a generative adversarial network model; the generative adversarial network model includes a generator and a discriminator; the UI parameter data corresponding to each UI design interface is input into the generator to obtain the predicted UI design interface output by the generator; the predicted UI design interface output by the generator and the corresponding UI design interface are input into the discriminator to obtain the classification result; according to the classification result, the target loss value is determined, and the generator and the discriminator are trained based on the target loss value until the model training end condition is met to obtain the UI skin generation model.

[0082] S204: Extract image elements contained in the target UI to obtain at least one UI element image.

[0083] S205: Input each UI element image into a pre-trained image compliance detection model to perform image detection, and obtain a first compliance detection result output by the model.

[0084] S206: Extract character elements contained in the target UI to obtain character element extraction results.

[0085] S207: If there is at least one character element in the character element extraction result, perform sensitive word detection on each character element to obtain a second compliance detection result.

[0086] S208. Determine a target compliance test result according to the first compliance test result and the second compliance test result.

[0087] S209, determine whether the target compliance test result is passed; if so, execute S210A; if not, execute S210B.

[0088] S210A: Feedback the target UI to the vehicle end so as to display the target UI on the display device of the vehicle end.

[0089] S210B, generating a prompt message of UI skin changing exception and sending it to the vehicle end, so that the vehicle end can regenerate a UI skin changing request.

[0090] Embodiment 3

[0091] Figure 3 The structure diagram of a user interface generation device provided in the third embodiment of the present invention is shown in FIG. A user interface generation device provided in the embodiment of the present invention can be applied to the case where the vehicle terminal UI is flexibly generated based on the personalized needs of the user. The user interface generation device can be implemented in the form of hardware and / or software, such as Figure 3 As shown, the device can be configured in a vehicle, and specifically includes: a parameter data generation module 301, a target UI generation module 302, a compliance detection module 303 and a target UI feedback module 304.

[0092] The parameter data generating module 301 is used to generate UI skinning parameter data in response to a UI skinning request from the vehicle end;

[0093] A target UI generation module 302 is used to input the UI skinning parameter data into a pre-trained UI skin generation model to obtain a target UI output by the model;

[0094] A compliance detection module 303 is used to perform compliance detection on the target UI to obtain a target compliance detection result;

[0095] The target UI feedback module 304 is used to feed back the target UI to the vehicle end if the target compliance detection result is compliance detection passed, so as to display the target UI on the display device of the vehicle end.

[0096] The technical solution of the embodiment of the present invention generates UI skin-changing parameter data in response to a UI skin-changing request, and inputs the UI skin-changing parameter data into a pre-trained UI skin generation model to obtain a target UI output by the model, and performs compliance detection on the target UI to obtain a target compliance detection result. If the target compliance detection result is that the compliance detection is passed, the target UI is fed back to the vehicle end to display the target UI on the display device of the vehicle end. The above technical solution automatically generates UI skin-changing parameter data based on the UI skin-changing request, and automatically generates UI skin based on the UI skin-changing parameter data, thereby realizing the user's automated skin-changing needs. At the same time, the automatic generation of UI skin realizes the flexibility of UI skin generation, meets the user's personalized needs for the vehicle terminal UI, and improves the user's interactive experience. At the same time, by performing compliance detection on the target UI, the legality, compliance and security of the generated target UI are improved.

[0097] Optionally, the parameter data generating module 301 includes:

[0098] A related data acquisition unit, used to respond to a user interface UI skinning request from the vehicle end, and if the UI skinning request is a timed update request, acquire user related data in a historical time period; the user related data includes user preference data, user operation data and user frequently used function data;

[0099] The first parameter data generating unit is used to generate UI skinning parameter data according to the user preference data, user operation data and user frequently used function data.

[0100] Optionally, the parameter data generating module 301 includes:

[0101] An intention information acquisition unit, used to respond to a user interface UI skinning request from the vehicle end, and if the UI skinning request is a user input request, acquire user input intention information;

[0102] an intention segmentation determination unit, configured to perform segmentation processing on the user input intention information to obtain at least one intention segmentation;

[0103] An importance score generating unit, used to generate an importance score for each of the intended segmentations, and determine a target segmentation according to the importance score of each of the intended segmentations;

[0104] The second parameter data generating unit is used to perform keyword mapping on each of the target segmented words to obtain UI skinning parameter data.

[0105] Optionally, the model training method of the UI skin generation model is as follows:

[0106] Acquire UI sample data; the UI sample data includes at least one UI design interface and UI parameter data of the corresponding UI design interface;

[0107] Each of the UI design interfaces and the corresponding UI parameter data is input into a pre-built network model for model training until the model training end condition is met, thereby obtaining the UI skin generation model.

[0108] Optionally, the pre-built network model is a generative adversarial network model; the generative adversarial network model includes a generator and a discriminator;

[0109] Accordingly, the UI design interface and the corresponding UI parameter data are input into a pre-built network model for model training until the model training end condition is met to obtain the UI skin generation model, including:

[0110] Inputting UI parameter data corresponding to each of the UI design interfaces into the generator to obtain a predicted UI design interface output by the generator;

[0111] Input the predicted UI design interface and the corresponding UI design interface output by the generator into the discriminator to obtain a classification result;

[0112] According to the classification result, a target loss value is determined, and model training is performed on the generator and the discriminator based on the target loss value until the model training end condition is met, thereby obtaining the UI skin generation model.

[0113] Optionally, the compliance detection module 303 includes:

[0114] A UI element image generating unit, configured to extract image elements contained in the target UI to obtain at least one UI element image;

[0115] A first compliance detection unit, configured to input each of the UI element images into a pre-trained image compliance detection model to perform image detection, and obtain a first compliance detection result output by the model;

[0116] A character element extraction unit, used to extract the character elements contained in the target UI to obtain a character element extraction result;

[0117] A second compliance detection unit, configured to, if there is at least one character element in the character element extraction result, perform sensitive word detection on each of the character elements to obtain a second compliance detection result;

[0118] A target compliance detection unit is used to determine a target compliance detection result according to the first compliance detection result and the second compliance detection result.

[0119] The user interface generating device provided in the embodiment of the present invention can execute the user interface generating method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0120] Embodiment 4

[0121] Figure 4 A schematic diagram of the structure of an electronic device 40 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0122] like Figure 4 As shown, the electronic device 40 includes at least one processor 41, and a memory connected to the at least one processor 41, such as a read-only memory (ROM) 42, a random access memory (RAM) 43, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 41 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 42 or the computer program loaded from the storage unit 48 to the random access memory (RAM) 43. In the RAM 43, various programs and data required for the operation of the electronic device 40 can also be stored. The processor 41, the ROM 42, and the RAM 43 are connected to each other through a bus 44. An input / output (I / O) interface 45 is also connected to the bus 44.

[0123] A number of components in the electronic device 40 are connected to the I / O interface 45, including: an input unit 46, such as a keyboard, a mouse, etc.; an output unit 47, such as various types of displays, speakers, etc.; a storage unit 48, such as a disk, an optical disk, etc.; and a communication unit 49, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 49 allows the electronic device 40 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0124] The processor 41 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 41 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 41 executes the various methods and processes described above, such as a user interface generation method.

[0125] In some embodiments, the user interface generation method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 48. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the user interface generation method described above may be performed. Alternatively, in other embodiments, the processor 41 may be configured to execute the user interface generation method in any other appropriate manner (e.g., by means of firmware).

[0126] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0127] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0128] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0129] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0130] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0131] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0132] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0133] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for generating a user interface, characterized in that: include: In response to a user interface UI skinning request from the vehicle end, generate UI skinning parameter data; Inputting the UI skinning parameter data into a pre-trained UI skin generation model to obtain a target UI output by the model; Performing compliance testing on the target UI to obtain a target compliance testing result; If the target compliance detection result is that the compliance detection is passed, the target UI is fed back to the vehicle end so that the target UI is displayed on the display device of the vehicle end.

2. The method according to claim 1, characterized in that The step of generating UI skinning parameter data in response to a UI skinning request from the vehicle side includes: In response to a user interface UI skinning request from the vehicle end, if the UI skinning request is a timed update request, obtaining user-related data in a historical time period; the user-related data includes user preference data, user operation data, and user frequently used function data; UI skinning parameter data is generated according to the user preference data, user operation data and user frequently used function data.

3. The method according to claim 1, characterized in that The step of generating UI skinning parameter data in response to a UI skinning request from the vehicle side includes: In response to a user interface UI skinning request from the vehicle end, if the UI skinning request is a user input request, obtaining user input intention information; Performing word segmentation processing on the user input intention information to obtain at least one intention word segmentation; Generate an importance score for each of the intended segmentations, and determine a target segmentation according to the importance score for each of the intended segmentations; Each of the target word segments is subjected to keyword mapping to obtain UI skinning parameter data.

4. The method according to claim 1, characterized in that: The model training method of the UI skin generation model is as follows: Acquire UI sample data; the UI sample data includes at least one UI design interface and UI parameter data of the corresponding UI design interface; Each of the UI design interfaces and the corresponding UI parameter data is input into a pre-built network model for model training until the model training end condition is met, thereby obtaining the UI skin generation model.

5. The method according to claim 4, characterized in that The pre-built network model is a generative adversarial network model; the generative adversarial network model includes a generator and a discriminator; Accordingly, the UI design interface and the corresponding UI parameter data are input into a pre-built network model for model training until the model training end condition is met to obtain the UI skin generation model, including: Inputting UI parameter data corresponding to each of the UI design interfaces into the generator to obtain a predicted UI design interface output by the generator; Input the predicted UI design interface and the corresponding UI design interface output by the generator into the discriminator to obtain a classification result; According to the classification result, a target loss value is determined, and model training is performed on the generator and the discriminator based on the target loss value until the model training end condition is met, thereby obtaining the UI skin generation model.

6. The method according to claim 1, characterized in that The performing compliance detection on the target UI to obtain a target compliance detection result includes: Extracting image elements contained in the target UI to obtain at least one UI element image; Inputting each of the UI element images into a pre-trained image compliance detection model for image detection, and obtaining a first compliance detection result output by the model; Extracting character elements contained in the target UI to obtain character element extraction results; If there is at least one character element in the character element extraction result, sensitive word detection is performed on each of the character elements to obtain a second compliance detection result; A target compliance test result is determined according to the first compliance test result and the second compliance test result.

7. A user interface generating device, characterized in that: include: A parameter data generation module, used to generate UI skinning parameter data in response to a UI skinning request from the vehicle end; A target UI generation module, used for inputting the UI skinning parameter data into a pre-trained UI skin generation model to obtain a target UI output by the model; A compliance detection module, used to perform compliance detection on the target UI and obtain a target compliance detection result; The target UI feedback module is used to feed back the target UI to the vehicle end if the target compliance detection result is compliance detection passed, so as to display the target UI on the display device of the vehicle end.

8. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the user interface generating method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the user interface generation method according to any one of claims 1 to 6 when executed.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the computer program implements the user interface generating method according to any one of claims 1 to 6.

Citation Information

Cited By

  • Method and system for synchronously and automatically updating roadway information in real time

    CN119397663A

  • Vehicle-mounted desktop application dynamic generation method and system based on user behavior habits

    CN121957768A