Vehicle cockpit screen information acquisition method, device, electronic device and storage medium

By monitoring and analyzing the content displayed on the vehicle cockpit screen, generating voice text information and simulating click operations, it solves the problems of UI dependence and insufficient support for complex voice commands in the existing technology, achieving efficient information acquisition and user experience improvement.

CN118470696BActive Publication Date: 2024-10-11CHINA FAW CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410942955.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-15
Publication Date
2024-10-11
Estimated Expiration
2044-07-15

AI Technical Summary

Technical Problem

The existing technology cannot effectively obtain the UI layout and control information of third-party applications when using voice assistants to operate screen content in the vehicle cockpit, and image recognition technology cannot support complex voice commands, resulting in poor user experience.

Method used

By monitoring the screen display status, intercepting screen display content pictures, preprocessing and parsing, adding tags, analyzing control relationships, generating voice text information, parsing actions and subjects, retrieving matching controls, and simulating click operations, reducing the need for system interfaces and Application UI dependencies.

Benefits of technology

It achieves efficient acquisition and analysis of vehicle cockpit screen information, supports complex voice commands, improves user experience and recognition capabilities, and reduces the amount of calculations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118470696B_ABST
    Figure CN118470696B_ABST
Patent Text Reader

Abstract

The present application discloses a method for acquiring vehicle cockpit screen display information, comprising: parsing text controls and icon controls in a screen display content picture, including information on the text control content and information on the control position; adding labels to the text control and the icon control respectively; analyzing the association between the icon control and the text control according to the control position information and the label information; acquiring user voice request information corresponding to the current screen display state; generating voice text information according to the user voice request information; parsing actions and subjects in the voice text information; acquiring user instruction actions and screen operation subjects according to the parsed actions and subjects in the voice text information; retrieving controls according to the user instruction actions and the screen operation subjects; using the matched icon control position coordinates as a touch click interface according to the retrieved control label; simulating a screen click operation according to the touch click interface.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of screen display information, and in particular to a method for obtaining vehicle cockpit screen display information, a device for obtaining vehicle cockpit screen display information, an electronic device, a storage medium and a vehicle. Background Art

[0002] With the development of artificial intelligence technology, the use of voice assistants to operate screen content in the cockpit is becoming more and more popular. At present, there are two technologies for cockpit screen content recognition. One is to obtain screen application UI and page control information through secondary research and development of the vehicle system interface. The defect of this method is that the application UI changes require re-secondary research and development to adapt to obtain new screen UI layout and page control information, which is heavily dependent on the system interface and coupled with the application UI definition. Among them, for third-party applications, since the UI layout cannot be obtained through the system interface, the page control information cannot be obtained, such as related patents: CN114255745A, CN115171683A; the other is to use image recognition technology, such as OCR technology, to convert the page text area into text content and the icon area on the screen into icon description. The defect of this method is that no further mining of the recognized text content and icon description is done, and there is a lack of correlation analysis between regions, resulting in the inability to support user complex voice instructions, such as related patents: CN116088992A, CN117002256A.

[0003] Therefore, a solution for obtaining vehicle cockpit screen information is needed to reduce dependence on system interfaces and application UIs and solve the coverage problem of users' complex voice commands. Summary of the invention

[0004] The object of the present invention is to provide a method for obtaining vehicle cockpit screen display information, a device for obtaining vehicle cockpit screen display information, an electronic device, a storage medium and a vehicle, so as to solve at least one of the above-mentioned technical problems.

[0005] The present invention provides the following scheme:

[0006] According to one aspect of the present invention, a method for obtaining vehicle cockpit screen display information is provided, characterized in that the method for obtaining vehicle cockpit screen display information comprises:

[0007] Monitor screen display status;

[0008] Refreshing the screen display status and capturing a picture of the screen display content;

[0009] After preprocessing the screen display content picture, parsing the text control and icon control in the screen display content picture, including information about the text control content and information about the control position;

[0010] Adding labels to the text control and the icon control respectively;

[0011] Analyzing the association relationship between the icon control and the text control according to the control position information and label information;

[0012] Corresponding to the current screen display status, obtain the user's voice request information;

[0013] Generating voice text information according to the user voice request information;

[0014] Parsing the action and subject in the voice text information;

[0015] Acquire the user instruction action and screen operation subject according to the action and subject in the parsed voice text information;

[0016] Retrieving controls according to the user instruction action and the screen operation subject;

[0017] According to the label of the retrieval control, the position coordinates of the matched icon control are used as a touch click interface;

[0018] According to the touch and click interface, a click operation on the screen is simulated.

[0019] Furthermore, the information about the content and location of the control includes:

[0020] Parsing the content and location information of the text controls and icon controls in the screen display content picture;

[0021] Among them, an image recognition model is trained to identify the content and position information of icon controls according to the image recognition model, including the positions of check box icons, switch icons and play control icons, as well as the contents of the checked or unchecked state of the check box icon, the on or off state of the switch icon and the play or pause state of the play control icon.

[0022] Further, adding a label to the text control includes:

[0023] Construct a rule template for matching tags;

[0024] Extracting text information of the text control to determine whether the rule template is matched successfully;

[0025] If the match is successful, the text control adds a label corresponding to the rule template.

[0026] Furthermore, the step of adding a label to the text control further includes:

[0027] Construct a text knowledge base related to cockpit scenes;

[0028] Retrieving the text knowledge base according to the text information of the text control;

[0029] According to the text information of the text control corresponding to the text knowledge base, a label of the text control is added.

[0030] Furthermore, the step of adding a label to the text control further includes:

[0031] Train the text intent recognition model based on the text information;

[0032] Determine the text intent of the text information of the text control according to the text intent recognition model;

[0033] According to the determined text intent, a label of the text control is added.

[0034] Furthermore, the step of adding a label to the text control further includes:

[0035] Preset a label set corresponding to the text control, including text control labels corresponding to POI entity, media asset entity, vehicle control entity, system entity, navigation action and deletion action;

[0036] Add a label for the text control according to the rule template and / or the text knowledge base and / or the text intent recognition model.

[0037] Furthermore, adding labels to the icon controls respectively includes:

[0038] Construct icon control state and label mapping table;

[0039] Obtaining a label of the icon control by querying the label mapping table;

[0040] Wherein, the label mapping table includes a label set corresponding to the icon control;

[0041] The label set corresponding to the icon control includes icon control labels corresponding to the check action of the check box, the cancel action of the check box, the on action of the switch, the off action of the switch, the play action of the broadcast control, and the pause action of the broadcast control.

[0042] Further, analyzing the association relationship between the icon control and the text control content according to the control position information and the label information includes:

[0043] Based on the position information of the icon control and the text control, the association between each icon control and the text control is calculated to generate a composite control;

[0044] The composite control includes a plurality of text and icon controls or a plurality of text and text controls.

[0045] Furthermore, the composite control also includes: the label and position information of the composite control have an inheritance principle;

[0046] Determine the type of control in the composite control according to the inheritance principle;

[0047] If the composite control includes an icon control, the composite control inherits the label and position information of the icon control with a higher priority than the label and position information of the text control;

[0048] If the composite control does not include an icon control, then the label of the text control is determined to be an action class label;

[0049] If the label of the text control is an action label, the composite control inherits the priority of the action label and position information of the text control, which is higher than the priority of the action label and position information of the text control whose label is a non-action label;

[0050] If the composite control does not include an icon control or a text control for an action label, the composite control inherits the entity labels of all text controls and the position information inherits the position information of any text control.

[0051] Further, the retrieving controls according to the user instruction action and the screen operation subject includes:

[0052] The controls that match the user's instructions and operation subjects are found by traversing the control labels and control text information, including:

[0053] Build a mapping table between control labels and user instructions;

[0054] According to the mapping table of querying user instructions, the control label is matched with the user instruction;

[0055] Among them, by calculating the text similarity, the text information of the control is matched with the operation subject.

[0056] Further, simulating a click operation on the screen according to the touch click interface includes:

[0057] According to the control position information, query the coordinates of the control input interface on the screen;

[0058] According to the coordinates of the control input interface of the screen, simulate the control interaction action of touch and click;

[0059] Execute user instructions according to the control interaction action of the simulated touch click.

[0060] Furthermore, the preprocessing of the screen display content picture includes:

[0061] The screen display content picture is subjected to grayscale processing, binarization processing, noise reduction processing and picture size compression processing.

[0062] According to two aspects of the present invention, a vehicle cockpit screen display information acquisition device is provided, the vehicle cockpit screen display information acquisition device comprising:

[0063] A monitoring module, used for monitoring the screen display status;

[0064] A capture module, used to refresh the screen display status and capture a picture of the screen display content;

[0065] A preprocessing module, used for preprocessing the screen display content picture and parsing the text control and icon control in the screen display content picture, including information about the content of the text control and information about the position of the control;

[0066] A label module, used to add labels to the text control and the icon control respectively;

[0067] An analysis module, used for analyzing the association relationship between the icon control and the text control according to the control position information and label information;

[0068] The request module is used to obtain the user's voice request information corresponding to the current screen display state;

[0069] A text module, used to generate voice text information according to the user voice request information;

[0070] A parsing module, used for parsing the actions and subjects in the voice text information;

[0071] An acquisition module, used to acquire user instruction actions and screen operation subjects according to parsing the actions and subjects in the voice text information;

[0072] A retrieval module, used for retrieving controls according to the user instruction action and the screen operation subject;

[0073] An interface module, used to use the matched position coordinates of the icon control as a touch click interface according to the label of the search control;

[0074] The simulation module is used to simulate the click operation on the screen according to the touch click interface.

[0075] 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;

[0076] A computer program is stored in the memory, and when the computer program is executed by the processor, the processor executes the steps of the vehicle cockpit screen display information acquisition method.

[0077] According to four aspects of the present invention, there is provided a computer-readable storage medium, comprising: 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 cockpit screen display information acquisition method.

[0078] According to five aspects of the present invention, there is provided a vehicle, comprising:

[0079] An electronic device, used to implement the steps of the vehicle cockpit screen display information acquisition method;

[0080] A processor, the processor runs a program, and when the program runs, the steps of the vehicle cockpit screen display information acquisition method are executed from the data output by the electronic device;

[0081] The storage medium is used to store a program, and when the program is running, the steps of the vehicle cockpit screen display information acquisition method are executed for the data output from the electronic device.

[0082] Through the above scheme, the following beneficial technical effects are obtained:

[0083] This application uses image recognition technology to obtain page information, reducing dependence on system interfaces and application UI.

[0084] This application uses OCR technology and icon recognition models to parse the text and position information of text controls on the screen and the status and position information of icon controls, and combines repeated training of image recognition models to improve recognition capabilities.

[0085] The present application uses natural language technology to analyze the text information of text controls and the status information of icon controls to obtain labels of corresponding controls, and determines the range of user commands supported by the controls based on the control labels, thereby reducing the amount of computation required for image recognition.

[0086] This application obtains the association relationship between controls by analyzing the location information of all text controls and icon controls, generates new composite controls for related controls, determines the range of user commands supported by the composite controls based on the label set of the composite controls, and solves the problem of covering complex user voice commands. BRIEF DESCRIPTION OF THE DRAWINGS

[0087] Figure 1 It is a flow chart of a method for obtaining vehicle cockpit screen display information provided by one or more embodiments of the present invention.

[0088] Figure 2 It is a structural diagram of a vehicle cockpit screen display information acquisition device provided by one or more embodiments of the present invention.

[0089] Figure 3 It is a schematic diagram of an icon control state and label mapping table according to a specific embodiment of the present invention.

[0090] Figure 4 It is a schematic diagram of a control label and user instruction mapping table according to a specific embodiment of the present invention.

[0091] Figure 5 It is a schematic diagram of a screenshot of a screen interface of a specific embodiment of the present invention.

[0092] Figure 6 It is a schematic diagram of a screen shot according to a specific embodiment of the present invention converted into a screen control information mapping result.

[0093] Figure 7 It is a structural block diagram of an electronic device of a method for acquiring vehicle cockpit screen display information provided by one or more embodiments of the present invention. DETAILED DESCRIPTION

[0094] 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.

[0095] Figure 1 It is a flow chart of a method for obtaining vehicle cockpit screen display information provided by one or more embodiments of the present invention.

[0096] like Figure 1 The vehicle cockpit screen display information acquisition method shown includes:

[0097] Step S1, monitoring screen display status;

[0098] Step S2, refreshing the screen display according to the screen display status and capturing a picture of the screen display content;

[0099] Step S3, after pre-processing the screen display content picture, parsing the text control and icon control in the screen display content picture, including information about the text control content and the control position;

[0100] Step S4, adding labels to the text control and the icon control respectively;

[0101] Step S5, analyzing the association relationship between the icon control and the text control according to the control position information and label information;

[0102] Step S6, corresponding to the current screen display state, obtaining user voice request information;

[0103] Step S7, generating voice text information according to the user voice request information;

[0104] Step S8, parsing the action and subject in the voice text information;

[0105] Step S9, obtaining the user instruction action and screen operation subject according to the action and subject in the parsed voice text information;

[0106] Step S10, searching for controls according to user instruction actions and screen operation subjects;

[0107] Step S11, according to the label of the search control, the position coordinates of the matched icon control are used as the touch click interface;

[0108] Step S12, simulating a click operation on the screen according to the touch click interface.

[0109] Specifically, in one embodiment, a picture of the screen display content is captured each time the screen display is refreshed, and the picture includes all the controls in the current display state. The text and position information of the text controls and the status and position information of the icon controls in the screen are parsed through OCR technology and an icon recognition model (a retrained model based on an image recognition model) so that the controls are labeled. The text information of the text controls and the status information of the icon controls are analyzed using natural language technology, and the labels of the corresponding controls are determined. The user voice instructions supported by the controls are determined based on the control labels, that is, the direction and scope of the control analysis are limited. By analyzing the position information of all text controls and icon controls, the association relationship between the controls is obtained, and a new composite control is generated for the associated controls. The composite control contains part or all of the label information of the original control. The scope of user instructions supported by the composite control is determined based on the label set of the composite control, solving the problem of covering complex user voice instructions.

[0110] In this embodiment, the information about the control content and location includes:

[0111] Parsing the content and location information of text controls and icon controls in the screen display content image;

[0112] Among them, an image recognition model is trained to identify the content and position information of icon controls according to the image recognition model, including the positions of check box icons, switch icons and play control icons, as well as the contents of the checked or unchecked state of the check box icon, the on or off state of the switch icon and the play or pause state of the play control icon.

[0113] Specifically, in one embodiment, ORC technology is used to parse the text information and position information of the text control in the screen image.

[0114] In one embodiment, an image recognition model is trained to recognize the status information and location information of icon controls in screen images, such as icon controls: check box icons (selected or unselected), switch icons (on or off), play control icons (play or pause), etc.

[0115] In this embodiment, adding a label to a text control includes:

[0116] Construct a rule template for matching tags;

[0117] Extract the text information of the text control to determine whether the matching rule template is successful;

[0118] If the match is successful, the text control adds a label corresponding to the rule template.

[0119] Specifically, in one embodiment, a label is added to the text control, for example, a rule template matching the label is constructed, and the text information of the text control matches a certain rule template, and a label corresponding to the rule template is added to the text control.

[0120] In this embodiment, adding a label to the text control further includes:

[0121] Construct a text knowledge base related to cockpit scenes;

[0122] Retrieve text knowledge base according to text information of text control;

[0123] According to the text information of the text control corresponding to the text knowledge base, add the label of the text control.

[0124] Specifically, in one embodiment, a label is added to the text control, for example, a knowledge base related to the cockpit scene is constructed, and the label of the text control is obtained by searching the knowledge base through the text information of the text control.

[0125] In this embodiment, adding a label to the text control further includes:

[0126] Train the text intent recognition model based on the text information;

[0127] Determine the text intent of the text information of the text control according to the text intent recognition model;

[0128] Add a label to the text control based on the determined text intent.

[0129] Specifically, in one embodiment, a label is added to the text control, for example, a text intent recognition model is trained to identify the label of the text information of the text control.

[0130] In this embodiment, adding a label to the text control further includes:

[0131] Preset the label set corresponding to the text control, including the text control labels corresponding to the POI entity, media resource entity, vehicle control entity, system entity, navigation action and deletion action;

[0132] Add labels to text controls based on rule templates and / or text knowledge bases and / or text intent recognition models.

[0133] Specifically, in one embodiment, tags are added to text controls to form a tag set, such as tags for POI entity, media asset entity, vehicle control entity, system entity, navigation action, deletion action, and the like.

[0134] In this embodiment, adding labels to icon controls respectively includes:

[0135] Construct icon control state and label mapping table;

[0136] Get the label of the icon control by querying the label mapping table;

[0137] Wherein, the label mapping table includes a label set corresponding to the icon control;

[0138] The label set corresponding to the icon control includes icon control labels corresponding to the check action of the check box, the cancel action of the check box, the on action of the switch, the off action of the switch, the play action of the broadcast control, and the pause action of the broadcast control.

[0139] Specifically, in one embodiment, a label is added to the icon control, and the label set includes: a checkbox check action, a checkbox cancel action, a switch on action, a switch off action, a broadcast control play action, a broadcast control pause action, etc. The method is to construct an icon control state and label mapping table, and obtain the label of the icon control by looking up the table.

[0140] In this embodiment, analyzing the association relationship between the icon control and the text control content according to the control position information and the label information includes:

[0141] Based on the position information of the icon control and the text control, the association between each icon control and the text control is calculated to generate a composite control;

[0142] Composite controls include multiple text and icon controls or multiple text and text controls.

[0143] Specifically, in one embodiment, the association between icon controls and text controls in the screen is analyzed, and based on the position information of the icon controls and text controls, such as the coordinates of the four corners of the controls, the association between each icon control and text control is calculated to generate a composite control, the composite control including multiple text plus icon controls or multiple text plus text controls.

[0144] In this embodiment, the composite control further includes: the label and position information of the composite control have an inheritance principle;

[0145] Determine the type of controls in a composite control based on the inheritance principle;

[0146] If the composite control includes an icon control, the composite control inherits the label and position information of the icon control with a higher priority than the label and position information of the text control;

[0147] If the composite control does not include an icon control, then the label of the text control is determined to be an action class label;

[0148] If the label of the text control is an action label, the composite control inherits the priority of the action label and position information of the text control, which is higher than the priority of the action label and position information of the text control whose label is a non-action label;

[0149] If the composite control does not include an icon control or a text control for an action label, the composite control inherits the entity labels of all text controls and the position information inherits the position information of any text control.

[0150] Specifically, in one embodiment, the label and location information inheritance principle of the composite control is that if there is an icon control, the label and location information of the icon control shall be inherited first; otherwise, if there is a text control whose label is action-type, the action label and location information of the text control shall be inherited first; if there is no icon control and no text control with action labels, the label shall inherit the entity labels of all text controls, and the location information shall inherit the location information of any text control. (The entity label is a label that indicates the type of the text control, such as marking whether the text control is a place or a medium, etc.)

[0151] In one embodiment, a user voice request is received and an ASR algorithm is executed to obtain user text information.

[0152] In this embodiment, searching for controls based on user instruction actions and screen operation subjects includes:

[0153] The controls that match the user's instructions and operation subjects are found by traversing the control labels and control text information, including:

[0154] Build a mapping table between control labels and user instructions;

[0155] According to the mapping table of querying user instructions, the control label is matched with the user instruction;

[0156] Among them, by calculating the text similarity, the text information of the control is matched with the operation subject.

[0157] Specifically, in one embodiment, the method for retrieving controls in the screen through user instructions and operation subjects is to find the control that best matches the user instructions and operation subjects by traversing the control labels and control text information. This includes building a control label and user instruction mapping table, where the matching of the control label and the user instruction is obtained by looking up the table; and the control text information and the operation subject are calculated by calculating the text similarity to obtain the control that best matches.

[0158] In this embodiment, according to the touch click interface, simulating a click operation on the screen includes:

[0159] According to the control position information, query the coordinates of the control input interface on the screen;

[0160] According to the coordinates of the screen's control input interface, simulate the control interaction actions of touch and click;

[0161] Execute user instructions based on the control interaction actions of simulated touch clicks.

[0162] Specifically, in one embodiment, the UIAutomator technology is used to simulate clicking the best matching control, or the position coordinates of the best matching control are used as parameters to simulate clicking through the system input interface.

[0163] In this embodiment, the preprocessing of the screen display content picture includes:

[0164] The screen display content image is gray-scaled, binarized, denoised and compressed.

[0165] Specifically, the screen refresh is monitored through the system interface. Once refreshed, the system screenshot function is called to capture the screen content image; the image is grayed, binarized and denoised to control the size of the compressed image. The pre-processed image is analyzed using image recognition technology to analyze the content and location information of the text control and the content and location information of the icon control on the screen.

[0166] Figure 2 It is a structural diagram of a vehicle cockpit screen display information acquisition device provided by one or more embodiments of the present invention.

[0167] like Figure 2 The vehicle cockpit screen display information acquisition device shown includes: a monitoring module, an interception module, a preprocessing module, a labeling module, an analysis module, a request module, a text module, a parsing module, an acquisition module, a retrieval module, an interface module, and a simulation module;

[0168] A monitoring module, used for monitoring the screen display status;

[0169] The capture module is used to refresh the screen display status and capture the screen display content image;

[0170] A preprocessing module, used to parse the text controls and icon controls in the screen display content picture after preprocessing the screen display content picture, including information about the text control content and the control position;

[0171] Label module, used to add labels to text controls and icon controls respectively;

[0172] An analysis module, used for analyzing the association relationship between the icon control and the text control according to the control position information and label information;

[0173] The request module is used to obtain the user's voice request information corresponding to the current screen display state;

[0174] The text module is used to generate voice text information according to the user's voice request information;

[0175] A parsing module, used to parse the actions and subjects in the speech text information;

[0176] The acquisition module is used to acquire the user instruction action and the screen operation subject according to the action and subject in the parsed voice text information;

[0177] A retrieval module, used to retrieve controls according to user instruction actions and screen operation subjects;

[0178] The interface module is used to retrieve the label of the control and use the coordinates of the matching icon control position as a touch click interface;

[0179] The simulation module is used to simulate the click operation on the screen according to the touch click interface.

[0180] It is worth noting that although the present system only discloses a monitoring module, an interception module, a preprocessing module, a label module, an analysis module, a request module, a text module, a parsing module, an acquisition module, a retrieval module, an interface module, and a simulation 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.

[0181] Through the above scheme, the following beneficial technical effects are obtained:

[0182] This application uses image recognition technology to obtain page information, reducing dependence on system interfaces and application UI.

[0183] This application uses OCR technology and icon recognition models to parse the text and position information of text controls on the screen and the status and position information of icon controls, and combines repeated training of image recognition models to improve recognition capabilities.

[0184] The present application uses natural language technology to analyze the text information of text controls and the status information of icon controls to obtain labels of corresponding controls, and determines the range of user commands supported by the controls based on the control labels, thereby reducing the amount of computation required for image recognition.

[0185] This application obtains the association relationship between controls by analyzing the location information of all text controls and icon controls, generates new composite controls for related controls, determines the range of user commands supported by the composite controls based on the label set of the composite controls, and solves the problem of covering complex user voice commands.

[0186] Figure 3 It is a schematic diagram of an icon control state and label mapping table according to a specific embodiment of the present invention.

[0187] Figure 4 It is a schematic diagram of a control label and user instruction mapping table according to a specific embodiment of the present invention.

[0188] Figure 5 It is a schematic diagram of a screenshot of a screen interface of a specific embodiment of the present invention.

[0189] Figure 6 It is a schematic diagram of a screen shot according to a specific embodiment of the present invention converted into a screen control information mapping result.

[0190] In a specific embodiment, the screen refresh is monitored through a system interface. Once refreshed, the system screenshot function is called to capture a picture of the screen content; the picture is grayscaled, binarized and denoised to compress the picture size.

[0191] Use image recognition technology to parse the content and location information of text controls and icon controls on the screen:

[0192] Use ORC technology to parse the text information and position information of the text controls in the screen image.

[0193] Train an image recognition model to identify the status and location information of icon controls in screen images. Icon controls include: checkbox icon (checked or unchecked), switch icon (on or off), playback control icon (play or pause), etc.

[0194] Add tags to text controls. Tag sets include: POI entity, media entity, vehicle control entity, system entity, navigation action, delete action, etc. Use the following methods:

[0195] Construct a rule template that matches the label. When the text information of the text control matches a rule template, the label of the corresponding rule template is added to the text control.

[0196] Construct a knowledge base related to the cockpit scene, and retrieve the label of the text control through the text information of the text control;

[0197] Train a text intent recognition model to identify the labels of text information in text controls.

[0198] like Figure 3 , 4 As shown, add a label to the icon control, and the label set includes, for example: check box-check action, check box-cancel action, switch-on action, switch-off action, broadcast control-play action, broadcast control-pause action, etc.

[0199] The label method for determining the text information of the text control is to construct a mapping table between the icon control state and the label, and obtain the label of the icon control by looking up the table.

[0200] Analyze the association between icon controls and text controls on the screen, calculate the association between each icon control and text control based on their position information, such as the coordinates of the four corners of the controls, and generate composite controls, such as multiple text + icon controls, or multiple text + text controls.

[0201] The label and position information inheritance principle of composite controls is: if there is an icon control, it will give priority to inheriting the label and position information of the icon control; otherwise, if the label of a text control is action-type, it will give priority to inheriting the action label and position information of the text control; if there is no icon control and no text control with an action label, the label will inherit the entity labels of all text controls, and the position information will inherit the position information of any text control.

[0202] Accept user voice requests and execute ASR algorithm to obtain user text information.

[0203] Parse the actions and subjects in the user text information, and the method is not limited to using rules or algorithm models to obtain user instructions and operation subjects.

[0204] Retrieve the controls on the screen through user instructions and operation subjects by traversing the control labels and control text information to find the controls that best match the user instructions and operation subjects, as follows:

[0205] Construct a mapping table between control labels and user instructions. The matching between control labels and user instructions is obtained by looking up the table.

[0206] like Figure 5 , 6As shown, the control text information and the operation subject are calculated by calculating the text similarity to calculate the most matching control.

[0207] Use UIAutomator technology to simulate clicking the best matching control, or use the position coordinates of the best matching control as parameters to simulate clicking through the system input interface.

[0208] Figure 7 It is a structural block diagram of an electronic device of a method for acquiring vehicle cockpit screen display information provided by one or more embodiments of the present invention.

[0209] like Figure 7 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;

[0210] 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 acquiring vehicle cockpit screen display information.

[0211] The present application also provides a computer-readable storage medium storing a computer program executable by an electronic device. When the computer program runs on the electronic device, the electronic device executes the steps of a method for obtaining vehicle cockpit screen display information.

[0212] The present application also provides a vehicle, comprising:

[0213] An electronic device, used to implement the steps of a method for acquiring vehicle cockpit screen display information;

[0214] A processor, the processor runs a program, and when the program runs, the steps of the vehicle cockpit screen display information acquisition method are executed from the data output by the electronic device;

[0215] The storage medium is used to store a program, and when the program is running, the steps of the vehicle cockpit screen information acquisition method are executed for the data output from the electronic device.

[0216] 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.

[0217] 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.

[0218] 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.

[0219] 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.

[0220] 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.

[0221] 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.

[0222] 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.

[0223] 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.

[0224] 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.

[0225] 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 obtaining vehicle cockpit screen information, characterized in that: The vehicle cockpit screen display information acquisition method comprises: Monitor screen display status; Refreshing the screen display status and capturing a picture of the screen display content; After preprocessing the screen display content picture, parsing the text control and icon control in the screen display content picture, including information about the text control content and information about the control position; Adding labels to the text control and the icon control respectively; Analyzing the association relationship between the icon control and the text control according to the control position information and label information; Corresponding to the current screen display status, obtain the user's voice request information; Generating voice text information according to the user voice request information; Parsing the action and subject in the voice text information; Acquire the user instruction action and screen operation subject according to the action and subject in the parsed voice text information; Retrieving controls according to the user instruction action and the screen operation subject; According to the label of the retrieval control, the position coordinates of the matched icon control are used as a touch click interface; According to the touch and click interface, simulate a click operation on the screen; The information about the control content and location includes: Parsing the content and location information of the text controls and icon controls in the screen display content picture; Among them, an image recognition model is trained, and content and position information of icon controls are identified according to the image recognition model, including the positions of check box icons, switch icons, and play control icons, as well as the contents of the selected or unselected state of the check box icon, the on or off state of the switch icon, and the play or pause state of the play control icon; Wherein, adding a label to the text control includes: Construct a rule template for matching tags; Extracting text information of the text control to determine whether the rule template is matched successfully; If the match is successful, the text control adds a label corresponding to the rule template; Wherein, adding a label to the text control further comprises: Preset a label set corresponding to the text control, including text control labels corresponding to POI entity, media resource entity, vehicle control entity, system entity, navigation action and deletion action; Adding a label of a text control according to the rule template and / or the text knowledge base and / or the text intent recognition model; Wherein, adding labels to the icon controls respectively includes: Construct icon control state and label mapping table; Obtaining a label of the icon control by querying the label mapping table; Wherein, the label mapping table includes a label set corresponding to the icon control; The label set corresponding to the icon control includes icon control labels corresponding to the check action of the check box, the cancel action of the check box, the on action of the switch, the off action of the switch, the play action of the broadcast control, and the pause action of the broadcast control; The analyzing the association relationship between the icon control and the text control content according to the control position information and the label information includes: Based on the position information of the icon control and the text control, the association between each icon control and the text control is calculated to generate a composite control; The composite control includes a plurality of text and icon controls, or a plurality of text and text controls; Wherein, the composite control also includes: the label and position information of the composite control have an inheritance principle; Determine the type of control in the composite control according to the inheritance principle; If the composite control includes an icon control, the composite control inherits the label and position information of the icon control with a higher priority than the label and position information of the text control; If the composite control does not include an icon control, then it is determined that the label of the text control is an action class label; If the label of the text control is an action label, the composite control inherits the priority of the action label and position information of the text control, which is higher than the priority of the action label and position information of the text control whose label is a non-action label; If the composite control does not include an icon control or a text control of an action label, the composite control inherits the entity labels of all text controls and the position information inherits the position information of any text control; Wherein, the retrieving control according to the user instruction action and the screen operation subject comprises: The controls that match the user's instructions and operation subjects are found by traversing the control labels and control text information, including: Build a mapping table between control labels and user instructions; According to the mapping table of querying user instructions, the control label is matched with the user instruction; Among them, by calculating the text similarity, the text information of the control is matched with the operation subject; Wherein, simulating a click operation on the screen according to the touch click interface includes: According to the control position information, query the coordinates of the control input interface on the screen; According to the coordinates of the control input interface of the screen, simulate the control interaction action of touch and click; Execute user instructions according to the control interaction action of the simulated touch click.

2. The vehicle cockpit screen display information acquisition method according to claim 1, characterized in that: Adding a label to the text control further comprises: Construct a text knowledge base related to cockpit scenes; Retrieving the text knowledge base according to the text information of the text control; According to the text information of the text control corresponding to the text knowledge base, a label of the text control is added.

3. The vehicle cockpit screen display information acquisition method according to claim 1, characterized in that: Adding a label to the text control further comprises: Train the text intent recognition model based on the text information; Determine the text intent of the text information of the text control according to the text intent recognition model; According to the determined text intent, a label of the text control is added.

4. The vehicle cockpit screen information acquisition method according to claim 2, characterized in that: The preprocessing of the screen display content picture includes: The screen display content picture is subjected to grayscale processing, binarization processing, noise reduction processing and picture size compression processing.

5. A vehicle cockpit screen display information acquisition device, characterized in that: The vehicle cockpit screen display information acquisition device comprises: A monitoring module, used for monitoring the screen display status; A capture module, used to refresh the screen display status and capture a picture of the screen display content; A preprocessing module, used for preprocessing the screen display content picture and parsing the text control and icon control in the screen display content picture, including information about the content of the text control and information about the position of the control; A label module, used to add labels to the text control and the icon control respectively; An analysis module, used for analyzing the association relationship between the icon control and the text control according to the control position information and label information; The request module is used to obtain the user's voice request information corresponding to the current screen display state; A text module, used to generate voice text information according to the user voice request information; A parsing module, used for parsing the actions and subjects in the voice text information; An acquisition module, used to acquire user instruction actions and screen operation subjects according to parsing the actions and subjects in the voice text information; A retrieval module, used for retrieving controls according to the user instruction action and the screen operation subject; An interface module, used to use the matched position coordinates of the icon control as a touch click interface according to the label of the search control; A simulation module, used for simulating a click operation on the screen according to the touch click interface; The information about the control content and location includes: Parsing the content and location information of the text controls and icon controls in the screen display content picture; Among them, an image recognition model is trained, and content and position information of icon controls are identified according to the image recognition model, including the positions of check box icons, switch icons, and play control icons, as well as the contents of the selected or unselected state of the check box icon, the on or off state of the switch icon, and the play or pause state of the play control icon; Wherein, adding a label to the text control includes: Construct a rule template for matching tags; Extracting text information of the text control to determine whether the rule template is matched successfully; If the match is successful, the text control adds a label corresponding to the rule template; Wherein, adding a label to the text control further comprises: Preset a label set corresponding to the text control, including text control labels corresponding to POI entity, media resource entity, vehicle control entity, system entity, navigation action and deletion action; Adding a label of a text control according to the rule template and / or the text knowledge base and / or the text intent recognition model; Wherein, adding labels to the icon controls respectively includes: Construct icon control state and label mapping table; Obtaining a label of the icon control by querying the label mapping table; Wherein, the label mapping table includes a label set corresponding to the icon control; The label set corresponding to the icon control includes icon control labels corresponding to the check action of the check box, the cancel action of the check box, the on action of the switch, the off action of the switch, the play action of the broadcast control, and the pause action of the broadcast control; The analyzing the association relationship between the icon control and the text control content according to the control position information and the label information includes: Based on the position information of the icon control and the text control, the association between each icon control and the text control is calculated to generate a composite control; The composite control includes a plurality of text and icon controls, or a plurality of text and text controls; Wherein, the composite control also includes: the label and position information of the composite control have an inheritance principle; Determine the type of control in the composite control according to the inheritance principle; If the composite control includes an icon control, the composite control inherits the label and position information of the icon control with a higher priority than the label and position information of the text control; If the composite control does not include an icon control, then it is determined that the label of the text control is an action class label; If the label of the text control is an action label, the composite control inherits the priority of the action label and position information of the text control, which is higher than the priority of the action label and position information of the text control whose label is a non-action label; If the composite control does not include an icon control or a text control of an action label, the composite control inherits the entity labels of all text controls and the position information inherits the position information of any text control; Wherein, the retrieving control according to the user instruction action and the screen operation subject comprises: The controls that match the user's instructions and operation subjects are found by traversing the control labels and control text information, including: Build a mapping table between control labels and user instructions; According to the mapping table of querying user instructions, the control label is matched with the user instruction; Among them, by calculating the text similarity, the text information of the control is matched with the operation subject; Wherein, simulating a click operation on the screen according to the touch click interface includes: According to the control position information, query the coordinates of the control input interface on the screen; According to the coordinates of the control input interface of the screen, simulate the control interaction action of touch and click; Execute user instructions according to the control interaction action of the simulated touch click.

6. 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 cockpit screen display information acquisition method according to any one of claims 1 to 4.

7. 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 cockpit screen display information acquisition method described in any one of claims 1 to 4.

8. A vehicle, characterized in that: include: An electronic device, used to implement the steps of the vehicle cockpit screen display information acquisition method according to any one of claims 1 to 4; 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 cockpit screen display information acquisition method according to any one of claims 1 to 4; A storage medium for storing a program, wherein when the program is run, the program executes the steps of the vehicle cockpit screen display information acquisition method according to any one of claims 1 to 4 for data output from an electronic device.