Display content generation method and device, electronic equipment and storage medium
By identifying screens that support and do not support handwriting in the vehicle infotainment system, and initializing the handwriting trajectory recognition module for screens that do not support handwriting, the problem of high hardware cost and resource waste in multi-screen environments of vehicle infotainment systems is solved. This enables flexible generation of display content, reduces hardware costs, and improves user experience.
Patent Information
- Application Number
- CN202511450662.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-11
- Publication Date
- 2026-03-06
AI Technical Summary
Existing in-vehicle infotainment systems suffer from high hardware costs and significant resource waste in multi-screen environments because all screens are required to support handwriting functionality, even though not all screens frequently use handwriting.
By acquiring information from multiple screens associated with the vehicle's infotainment system, the system identifies screens that support and do not support handwriting functionality. For screens that do not support handwriting functionality, the system initializes the handwriting trajectory recognition module, receives and generates display content, thereby reducing hardware costs and saving resources.
In a multi-screen environment of an in-vehicle infotainment system, handwriting trajectory recognition services are provided only for screens that require handwriting functionality, reducing hardware costs, avoiding resource waste, and improving system flexibility and user experience.
Smart Images

Figure CN121608588A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and more specifically to a method, apparatus, electronic device, and storage medium for generating display content. Background Technology
[0002] In existing intelligent vehicles, screens are usually installed for user convenience and to improve the user experience. These screens generally support handwriting, allowing users to write text on the screen instead of using a keyboard.
[0003] In the existing multi-screen environment of in-vehicle infotainment systems, the implementation of handwriting functionality requires all screens to be able to directly implement handwriting functionality. However, this significantly increases the hardware cost of the in-vehicle infotainment system. Furthermore, in some practical application scenarios, not all screens need to frequently use handwriting functionality, resulting in idle and wasted resources. Summary of the Invention
[0004] The problem solved by this invention is that existing in-vehicle infotainment systems have high hardware costs in multi-screen environments, which easily leads to resource waste.
[0005] To address the above problems, the present invention provides a method for generating display content, the method comprising: In response to the startup of the vehicle infotainment system, screen information of multiple vehicle infotainment screens associated with the vehicle infotainment system is obtained; Based on the screen information, a first vehicle screen and a second vehicle screen are determined from the plurality of vehicle screens to determine whether the plurality of vehicle screens support handwriting function, and the determination result is sent to the host module. The first vehicle screen can convert handwriting traces into display content, while the second vehicle screen cannot convert handwriting traces into display content. Record the interface information of the first vehicle infotainment screen; If the vehicle screen is the second vehicle screen, then the handwriting trajectory recognition module is initialized for the vehicle screen; Receive the target's handwritten trajectory on the target vehicle's infotainment screen; If the target vehicle screen is the first vehicle screen, then the display content is generated based on the target handwriting trajectory through the target vehicle screen; If the target vehicle screen is the second vehicle screen, then the handwriting trajectory recognition module associated with the second vehicle screen generates display content based on the target handwriting trajectory.
[0006] Optionally, if the target vehicle infotainment screen is the first vehicle infotainment screen, then generating display content based on the target handwriting trajectory through the target vehicle infotainment screen includes: If the target vehicle screen is the first vehicle screen, then the handwriting interface exposed by the target vehicle screen is called to transmit the target handwriting trajectory to the target vehicle screen; Receive the display content returned by the target vehicle screen.
[0007] Optionally, if the target vehicle infotainment screen is the second vehicle infotainment screen, then generating display content based on the target handwriting trajectory through the handwriting trajectory recognition module associated with the second vehicle infotainment screen includes: If the target vehicle screen is the second vehicle screen, then the general screen interface is called to transmit the target handwriting trajectory to the handwriting trajectory recognition module associated with the second vehicle screen; Receive the display content returned by the handwriting trajectory recognition module.
[0008] Optionally, the vehicle system also includes a handwriting-enabled screen interface, which is used to call the handwriting interface exposed by the target vehicle screen.
[0009] Optionally, the screen information includes hardware information.
[0010] Optionally, obtaining the screen information of multiple vehicle infotainment screens associated with the vehicle infotainment system includes: Obtain the hardware interface of each of the multiple vehicle infotainment screens; It communicates with the hardware interface of each vehicle infotainment screen to obtain the hardware information of each vehicle infotainment screen.
[0011] Optionally, the method further includes: The content is displayed via a handwriting keyboard module.
[0012] This application embodiment also provides a display content generation apparatus, including: The acquisition unit is used to acquire screen information of multiple vehicle screens associated with the vehicle system in response to the startup of the vehicle system; The determining unit is used to determine the first vehicle screen and the second vehicle screen from the plurality of vehicle screens based on the screen information, so as to determine whether the plurality of vehicle screens support handwriting function, and then send the determination result to the host module. The first vehicle screen can convert handwriting trajectory into display content, while the second vehicle screen cannot convert handwriting trajectory into display content. A recording unit is used to record the interface information of the first vehicle infotainment screen; An initialization module is used to initialize the handwriting trajectory recognition module for the vehicle screen if the vehicle screen is the second vehicle screen; The receiving unit is used to receive the target handwritten trajectory on the target vehicle's infotainment screen; The generation unit is configured to generate display content based on the target handwriting trajectory through the target vehicle infotainment screen if the target vehicle infotainment screen is the first vehicle infotainment screen; and to generate display content based on the target handwriting trajectory through the handwriting trajectory recognition module associated with the second vehicle infotainment screen if the target vehicle infotainment screen is the second vehicle infotainment screen.
[0013] Compared with the prior art, the technical effects achieved by adopting this technical solution are as follows: The electronic device in this embodiment runs the display content generation method as in any embodiment of the present invention, and therefore has all the beneficial effects of the display content generation method as in any embodiment of the present invention, which will not be repeated here.
[0014] In another aspect, embodiments of the present invention also provide an electronic device, which includes a memory and a processor; the memory stores a computer program, and the processor is used to run the computer program in the memory, wherein when the program or instructions are executed by the processor, the steps of the display content generation method as described in any of the above embodiments are implemented.
[0015] Compared with the prior art, the technical effects achieved by adopting this technical solution are as follows: The electronic device in this embodiment runs the display content generation method as in any embodiment of the present invention, and therefore has all the beneficial effects of the display content generation method as in any embodiment of the present invention, which will not be repeated here.
[0016] In another aspect, embodiments of the present invention also provide a storage medium storing a program or instructions, which, when executed by a processor, implement the steps of the display content generation method as described in any of the above embodiments.
[0017] Compared with the prior art, the technical effects achieved by adopting this technical solution are as follows: The readable storage medium in this embodiment is used to store the display content generation method as in any embodiment of the present invention, and therefore it has all the beneficial effects of the display content generation method as in any embodiment of the present invention, which will not be repeated here.
[0018] The display content generation method provided in this application embodiment, in response to the startup of the vehicle system, acquires screen information of multiple vehicle screens associated with the vehicle system; determines a first vehicle screen and a second vehicle screen from the multiple vehicle screens based on the screen information, to determine whether the multiple vehicle screens support handwriting function, and sends the determination result to the host module, wherein the first vehicle screen can convert handwriting trajectory into display content, and the second vehicle screen cannot convert handwriting trajectory into display content; records the interface information of the first vehicle screen; if the vehicle screen is the second vehicle screen, initializes the handwriting trajectory recognition module for the vehicle screen; receives the target handwriting trajectory on the target vehicle screen; if the target vehicle screen is the first vehicle screen, generates display content based on the target handwriting trajectory through the target vehicle screen; if the target vehicle screen is the second vehicle screen, generates display content based on the target handwriting trajectory through the handwriting trajectory recognition module associated with the second vehicle screen. Therefore, in a multi-screen environment of the vehicle infotainment system, it is not necessary for all screens to directly implement handwriting functionality. By using an additional handwriting trajectory recognition module, handwriting trajectory recognition services can be provided for the second vehicle infotainment screen that does not support handwriting functionality, so as to generate display content from the target handwriting trajectory, thereby reducing hardware costs and saving resources. Attached Figure Description
[0019] Figure 1 A flowchart illustrating the display content generation method provided in this application embodiment; Figure 2 Another flowchart illustrating the display content generation method provided in this application embodiment; Figure 3 This is another flowchart illustrating the display content generation method provided in the embodiments of this application; Figure 4 A schematic diagram of the display content generation device provided in the embodiments of this application; Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0020] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0021] This application provides a device control method, apparatus, computer device, and storage medium. The case comparison query device can be integrated into the computer device, which can be a server. The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0022] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the preferred order of the embodiments.
[0023] Please continue reading. Figure 1 , Figure 1 This is a flowchart illustrating a control method applied to an in-vehicle electronic control unit 100 according to an embodiment of this application. The in-vehicle electronic control unit 100 includes multiple hardware security modules, and the control method specifically includes the following steps: 110. In response to the startup of the vehicle infotainment system, obtain screen information of multiple vehicle infotainment screens associated with the vehicle infotainment system.
[0024] The in-vehicle infotainment system described herein is applied to vehicles for controlling vehicle driving, braking, and smart applications. In some embodiments of this application, the in-vehicle infotainment system may include a host module, a screen status judgment module, a handwriting keyboard module, a handwriting trajectory recognition module, and a screen interface module. The functions of each module are described below: Host module: As the core control unit of the entire vehicle infotainment system, it is responsible for coordinating the work between various modules, receiving user input commands, and scheduling the corresponding modules for processing. It should be noted that in some embodiments of this application, each screen has a corresponding host module.
[0025] Screen Status Determination Module: When the vehicle infotainment system starts up, this module determines whether each vehicle screen supports handwriting functionality and sends the result to the host module. This module communicates with the vehicle screen's hardware interface to obtain screen information and determines whether the screen supports handwriting based on preset rules.
[0026] Handwriting keyboard module: Provides a handwriting input interface. When the user triggers a handwriting input operation, the handwriting keyboard module is displayed on the corresponding vehicle screen and receives the user's handwriting trajectory input.
[0027] Handwriting trajectory recognition module: For in-vehicle infotainment screens that do not support handwriting recognition, the host module initializes the handwriting trajectory recognition module when the in-vehicle system starts up. This module has handwriting trajectory recognition capabilities and can convert received handwriting trajectories into candidate text.
[0028] Screen interface module: Includes a handwriting-enabled screen interface and a general screen interface. The handwriting-enabled screen interface is used to communicate with vehicle infotainment screens that support handwriting, directly calling the handwriting interface exposed by the vehicle infotainment screen to implement handwriting functionality; the general screen interface is used to transmit data with vehicle infotainment screens that do not support handwriting, transmitting the handwriting trajectory to the handwriting trajectory recognition module and receiving the candidate text returned by the handwriting trajectory recognition module.
[0029] A vehicle infotainment screen refers to a screen installed in a vehicle and controlled by a vehicle infotainment system. For example, a vehicle infotainment screen can refer to the vehicle's central control screen, or it can refer to a large screen providing entertainment services to passengers in addition to the central control screen. In some embodiments of this application, the vehicle infotainment system is associated with multiple vehicle infotainment screens. For example, a vehicle controlled by the vehicle infotainment system can simultaneously have a central control screen, multiple entertainment sub-screens, etc., to provide a better riding and driving experience for passengers and the driver.
[0030] Screen information refers to the information on the vehicle's infotainment screen. In some embodiments of this application, screen information may refer to the screen's hardware information, such as the screen's resolution and supported handwriting parameters.
[0031] refer to Figure 2 In some embodiments of this application, when the vehicle infotainment system is started, for example when the driver starts the vehicle, screen information of multiple vehicle infotainment screens associated with the vehicle infotainment system is obtained, including: 1101. Obtain the hardware interface of each of the multiple vehicle infotainment screens.
[0032] 1102. Communicate with the hardware interface of each vehicle infotainment screen to obtain the hardware information of each screen.
[0033] When the vehicle infotainment system starts up, the screen status judgment module scans each vehicle infotainment screen and obtains screen information by communicating with the hardware interface of the vehicle infotainment screen.
[0034] 120. Determine the first vehicle infotainment screen and the second vehicle infotainment screen from multiple vehicle infotainment screens based on the screen information.
[0035] The first in-vehicle infotainment screen can convert handwritten traces into displayed content, meaning it supports handwriting recognition. The second in-vehicle infotainment screen cannot convert handwritten traces into displayed content, meaning it does not support handwriting recognition. This is understandable, as not every in-vehicle infotainment screen has a high handwriting recognition usage rate. To reduce costs, during vehicle manufacturing, screens supporting handwriting recognition can be used for frequently used screens such as the central control screen, while screens without handwriting recognition can be used for less frequently used screens such as entertainment auxiliary screens. Therefore, identifying the first and second in-vehicle infotainment screens is essentially determining whether each screen supports handwriting recognition, allowing the determination result to be sent to the host module.
[0036] After obtaining the screen information, the screen status judgment module determines whether each vehicle screen supports handwriting function based on the screen information, and sends the judgment result to the corresponding host module.
[0037] 130. Record the interface information of the first vehicle infotainment screen.
[0038] After the host module obtains the judgment result, for the vehicle infotainment screen that supports handwriting, namely the first vehicle infotainment screen, the host module records its handwriting interface information.
[0039] 140. If the vehicle screen is a second vehicle screen, then initialize the handwriting trajectory recognition module for the vehicle screen.
[0040] For screens that do not support handwriting, i.e., the second vehicle infotainment screen, the host module initializes the handwriting trajectory recognition module. Initialization operations include setting the maximum number of feedback characters and the stroke interval time, among other initialization parameters, and then sending these parameters to the handwriting trajectory recognition module. For example, the host module can send these initialization parameters to the handwriting trajectory recognition module after setting them to enable handwriting feedback. For different second vehicle infotainment screens, the handwriting trajectory recognition module can initialize according to different initialization parameters and return an initialization handle; different vehicle infotainment screens can obtain different handles.
[0041] 150. Receive the target's handwritten trajectory on the target vehicle's infotainment screen; When a user (driver or passenger) triggers a handwriting keyboard operation on any in-vehicle infotainment screen, the handwriting keyboard module displays a handwriting input interface on the target in-vehicle infotainment screen, and the in-vehicle system receives the target handwriting trajectory on the target in-vehicle infotainment screen.
[0042] 150A. If the target vehicle screen is the first vehicle screen, then the display content is generated based on the target handwriting trajectory through the target vehicle screen; If the target vehicle screen supports handwriting, the handwriting keyboard module directly calls the handwriting interface exposed by the target vehicle screen through the handwriting support screen interface, transmits the user's target handwriting trajectory to the target vehicle screen for processing, and the screen returns the displayed content (candidate text).
[0043] 150B. If the target vehicle screen is a second vehicle screen, the handwriting trajectory recognition module associated with the second vehicle screen generates the display content based on the target handwriting trajectory.
[0044] In the existing multi-screen environment of in-vehicle infotainment systems, the implementation of handwriting functionality mainly takes the following forms: 1. Unified Hardware Solution: Some in-vehicle infotainment systems require all screens to be equipped with a handwriting hardware module to ensure that handwriting functionality can be directly implemented on each screen. With this solution, the system does not need complex adaptations for different screens; it can directly call the screen's own handwriting interface to complete handwriting operations.
[0045] 2. Single Software Adaptation Solution: For some in-vehicle infotainment systems that only support handwriting on specific screens, the software is only developed and adapted for the screens that support handwriting. When a user attempts to handwrite on a screen that does not support handwriting, the system cannot provide the corresponding function or will display an unsupported message.
[0046] After obtaining the content, you can display it through the handwriting keyboard module, such as displaying candidate text.
[0047] The existing solution has the following problems: For a unified hardware solution: 1. High cost: Requiring all screens to be equipped with handwriting hardware modules significantly increases the hardware cost of the vehicle infotainment system. This is especially true for large vehicle infotainment systems, where hardware upgrades for multiple screens can lead to a significant increase in overall cost.
[0048] 2. Waste of resources: In some practical application scenarios, not all screens need to use the handwriting function frequently, and uniformly equipping handwriting hardware leads to idle and wasted resources.
[0049] For a single software adaptation solution 1. Significant functional limitations: It cannot meet the diverse needs of users for handwriting input on different screens, thus reducing the user experience. Especially in in-vehicle infotainment systems that work with multiple screens, users may want to be able to easily perform handwriting input on any screen.
[0050] 2. Lack of flexibility: Software adaptation is only for specific screens. When the screen configuration of the vehicle system changes (such as replacing the screen, adding or reducing the number of screens), a lot of software development and adaptation work needs to be carried out again, which increases the system maintenance cost and development cycle.
[0051] Therefore, the display content generation method provided in this application embodiment, in response to the startup of the vehicle system, obtains screen information of multiple vehicle screens associated with the vehicle system; determines a first vehicle screen and a second vehicle screen from the multiple vehicle screens based on the screen information, to determine whether the multiple vehicle screens support handwriting function, and sends the determination result to the host module, wherein the first vehicle screen can convert handwriting trajectory into display content, and the second vehicle screen cannot convert handwriting trajectory into display content; records the interface information of the first vehicle screen; if the vehicle screen is the second vehicle screen, initializes the handwriting trajectory recognition module for the vehicle screen; receives the target handwriting trajectory on the target vehicle screen; if the target vehicle screen is the first vehicle screen, generates display content based on the target handwriting trajectory through the target vehicle screen; if the target vehicle screen is the second vehicle screen, generates display content based on the target handwriting trajectory through the handwriting trajectory recognition module associated with the second vehicle screen. Therefore, in a multi-screen environment of the vehicle infotainment system, it is not necessary for all screens to directly implement handwriting functionality. By using an additional handwriting trajectory recognition module, handwriting trajectory recognition services can be provided for the second vehicle infotainment screen that does not support handwriting functionality, so as to generate display content from the target handwriting trajectory, thereby reducing hardware costs and saving resources.
[0052] For ease of understanding, the following provides an execution flow of a display content generation method. In this embodiment, the vehicle system includes a host module, a screen state judgment module, a handwriting keyboard module, a handwriting trajectory recognition module, and a screen interface module. The functions of each module are as described above and will not be elaborated further. (Reference) Figure 3 During the vehicle infotainment system startup phase, after the system boots up, the screen status judgment module scans each screen, obtains screen information through hardware interfaces, and then determines whether the screen supports handwriting functionality, sending the result to the host module. If the screen supports handwriting, the corresponding host module records the handwriting screen's interface information. If the screen does not support handwriting, the host module initializes the handwriting trajectory recognition module. Subsequently, the handwriting input phase begins. First, when the user initiates a handwriting keyboard operation on any screen, the handwriting keyboard module displays the handwriting input interface. If the current screen supports handwriting, the handwriting keyboard module calls the screen's handwriting interface through the supported handwriting screen interface. The screen processes the handwriting trajectory and returns the display result (e.g., candidate text). If the current screen does not support handwriting, the handwriting keyboard module transmits the handwriting trajectory to the handwriting trajectory recognition module through the general screen interface. The handwriting trajectory recognition module recognizes the handwriting trajectory and generates the display result (e.g., candidate text). The handwriting trajectory recognition module returns the display result to the handwriting keyboard module through the general screen interface, and the handwriting keyboard module displays the content.
[0053] To facilitate better implementation of the display content generation method provided in this application embodiment, a display content generation apparatus is also provided in one embodiment. The meanings of the terms used are the same as in the above-described display content generation method, and specific implementation details can be found in the description of the method embodiment.
[0054] The display content generation device can be integrated into a computer device, such as... Figure 4 As shown, the display content generation device may include: an acquisition unit 201, a determination unit 202, a recording unit 203, an initialization module 204, a receiving unit 205, and a generation unit 206, as detailed below: The acquisition unit 201 is used to acquire screen information of multiple vehicle screens associated with the vehicle system in response to the start of the vehicle system. The determining unit 202 is used to determine the first vehicle screen and the second vehicle screen from multiple vehicle screens based on screen information, so as to determine whether the multiple vehicle screens support handwriting function, and then send the determination result to the host module. The first vehicle screen can convert handwriting traces into display content, while the second vehicle screen cannot convert handwriting traces into display content. Recording unit 203 is used to record the interface information of the first vehicle screen; Initialization module 204 is used to initialize the handwriting trajectory recognition module for the vehicle screen if the vehicle screen is the second vehicle screen; The receiving unit 205 is used to receive the target handwritten trajectory on the target vehicle screen; The generation unit 206 is used to generate display content based on the target handwriting trajectory through the target vehicle screen if the target vehicle screen is a first vehicle screen; and to generate display content based on the target handwriting trajectory through the handwriting trajectory recognition module associated with the second vehicle screen if the target vehicle screen is a second vehicle screen.
[0055] This application also provides an electronic device, which may be a server, such as... Figure 5 As shown, it illustrates a schematic diagram of the server structure involved in an embodiment of this application. Specifically: The server may include components such as a processor 1001 with one or more processing cores, a memory 1002 with one or more computer-readable storage media, a power supply 1003, and an input unit 1004. Those skilled in the art will understand that... Figure 5 The server architecture shown does not constitute a limitation on the server and may include more or fewer components than illustrated, or combine certain components, or have different component arrangements. Wherein: The processor 1001 is the control center of the server, connecting various parts of the server through various interfaces and lines. It performs various server functions and processes data by running or executing software programs and / or modules stored in the memory 1002, and by calling data stored in the memory 1002, thereby providing overall monitoring of the server. Optionally, the processor 1001 may include one or more processing cores; preferably, the processor 1001 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and computer programs, and the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 1001.
[0056] The memory 1002 can be used to store software programs and modules. The processor 1001 executes various functional applications and data processing by running the software programs and modules stored in the memory 1002. The memory 1002 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, computer programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created according to the use of the server, etc. In addition, the memory 1002 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 1002 may also include a memory controller to provide the processor 1001 with access to the memory 1002.
[0057] The server also includes a power supply 1003 that supplies power to the various components. Preferably, the power supply 1003 can be logically connected to the processor 1001 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 1003 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0058] The server may also include an input unit 1004, which can be used to receive input numeric or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0059] Although not shown, the server may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 1001 in the server loads the executable files corresponding to the processes of one or more computer programs into the memory 1002 according to the following instructions, and the processor 1001 runs the computer programs stored in the memory 1002 to realize various functions, as follows: In response to the startup of the vehicle infotainment system, obtain screen information from multiple vehicle infotainment screens associated with the vehicle infotainment system; Based on screen information, a first vehicle screen and a second vehicle screen are determined from multiple vehicle screens. The first vehicle screen can convert handwritten traces into display content, while the second vehicle screen cannot. Receive the target's handwritten trajectory on the target vehicle's infotainment screen; If the target vehicle screen is the first vehicle screen, then the display content is generated based on the target handwriting trajectory through the target vehicle screen; If the target vehicle screen is the second vehicle screen, the handwriting trajectory recognition module associated with the second vehicle screen generates the display content based on the target handwriting trajectory.
[0060] Therefore, in a multi-screen environment of the vehicle infotainment system, it is not necessary for all screens to directly implement handwriting functionality. By using an additional handwriting trajectory recognition module, handwriting trajectory recognition services can be provided for the second vehicle infotainment screen that does not support handwriting functionality, so as to generate display content from the target handwriting trajectory, thereby reducing hardware costs and saving resources.
[0061] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0062] According to one aspect of this application, a computer program product or computer program is provided, comprising computer instructions stored in a computer-readable storage medium (also referred to as a storage medium). A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations of the above embodiments.
[0063] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by a computer program, or by a computer program controlling related hardware. The computer program can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0064] Therefore, embodiments of this application provide a storage medium storing a computer program that can be loaded by a processor to execute the steps in any of the device control methods provided in embodiments of this application.
[0065] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0066] The storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.
[0067] Since the computer program stored in the storage medium can execute the steps of any of the device control methods provided in the embodiments of this application, the beneficial effects that any of the device control methods provided in the embodiments of this application can achieve can be realized. For details, please refer to the previous embodiments, which will not be repeated here.
[0068] The above provides a detailed description of a device control method, apparatus, computer device, and storage medium provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A display content generation method characterized by comprising: The method is applied to a car machine system, and the method comprises the following steps: In response to starting of the car machine system, screen information of a plurality of car machine screens associated with the car machine system is acquired; A first car machine screen and a second car machine screen are determined from the plurality of car machine screens according to the screen information, so as to judge whether the plurality of car machine screens support handwriting function, and a judgment result is sent to a host module, wherein the first car machine screen can convert handwriting track into display content, and the second car machine screen cannot convert handwriting track into display content; Interface information of the first car machine screen is recorded; If the car machine screen is the second car machine screen, the handwriting track recognition module is initialized for the car machine screen; A target handwriting track on a target car machine screen is received; If the target car machine screen is the first car machine screen, display content is generated based on the target handwriting track through the target car machine screen; If the target car machine screen is the second car machine screen, display content is generated based on the target handwriting track through the handwriting track recognition module associated with the second car machine screen.
2. The method of claim 1, wherein, The display content generated based on the target handwriting track through the target car machine screen if the target car machine screen is the first car machine screen comprises: If the target car machine screen is the first car machine screen, a handwriting interface exposed by the target car machine screen is called to transmit the target handwriting track to the target car machine screen; The display content returned by the target car machine screen is received.
3. The method of claim 2, wherein, The display content generated based on the target handwriting track through the handwriting track recognition module associated with the second car machine screen if the target car machine screen is the second car machine screen comprises: If the target car machine screen is the second car machine screen, a general screen interface is called to transmit the target handwriting track to the handwriting track recognition module associated with the second car machine screen; The display content returned by the handwriting track recognition module is received.
4. The method of claim 3, wherein, The car machine system further comprises a handwriting screen interface supporting unit, which is used to call the handwriting interface exposed by the target car machine screen.
5. The method of claim 1, wherein, The screen information comprises hardware information.
6. The method of claim 5, wherein, The screen information of the plurality of car machine screens associated with the car machine system is acquired, and the method comprises the following steps: Hardware interfaces of each car machine screen in the plurality of car machine screens are acquired; Hardware information of each car machine screen is obtained by communicating with the hardware interface of each car machine screen.
7. The method according to any one of claims 1 to 6, characterized in that, The method further comprises the following steps: The display content is displayed through a handwriting keyboard module.
8. A display content generation apparatus characterized by comprising: The method comprises the following steps: An acquisition unit is configured to acquire screen information of a plurality of car machine screens associated with the car machine system in response to starting of the car machine system; A determination unit is configured to determine a first car machine screen and a second car machine screen from the plurality of car machine screens according to the screen information, so as to judge whether the plurality of car machine screens support handwriting function, and send a judgment result to a host module, wherein the first car machine screen can convert handwriting track into display content, and the second car machine screen cannot convert handwriting track into display content; A recording unit is configured to record interface information of the first car machine screen; An initialization module is configured to initialize the handwriting track recognition module for the car screen if the car screen is the second car screen. A receiving unit is configured to receive a target handwriting track on a target car screen. A generating unit is configured to generate display content based on the target handwriting track through the target car screen if the target car screen is the first car screen, or through the handwriting track recognition module associated with the second car screen if the target car screen is the second car screen.
9. An electronic device, comprising: A computer program product is provided, which includes a memory and a processor. The memory stores a computer program. The processor is configured to run the computer program in the memory to execute the display content generation method in any one of claims 1 to 7.
10. A storage medium, characterized by The storage medium stores a plurality of computer programs. The computer programs are adapted to be loaded by a processor to execute the display content generation method in any one of claims 1 to 7.