CN116431408B - Screen debugging method and device, electronic equipment and storage medium - Google Patents

Screen debugging method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116431408B
CN116431408B CN202310323615.7A CN202310323615A CN116431408B CN 116431408 B CN116431408 B CN 116431408B CN 202310323615 A CN202310323615 A CN 202310323615A CN 116431408 B CN116431408 B CN 116431408B
Authority
CN
China
Prior art keywords
configuration file
screen
configuration
preset
screen display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310323615.7A
Other languages
Chinese (zh)
Other versions
CN116431408A (en
Inventor
陈朝晖
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mgjia Beijing Technology Co ltd
Original Assignee
Mgjia Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mgjia Beijing Technology Co ltd filed Critical Mgjia Beijing Technology Co ltd
Priority to CN202310323615.7A priority Critical patent/CN116431408B/en
Publication of CN116431408A publication Critical patent/CN116431408A/en
Application granted granted Critical
Publication of CN116431408B publication Critical patent/CN116431408B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2289Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing by configuration test
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/273Tester hardware, i.e. output processing circuits
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The embodiment of the invention relates to a screen debugging method, a device, electronic equipment and a storage medium, which are applied to a vehicle microkernel real-time operating system QNX, wherein the method is executed by terminal equipment and comprises the following steps: monitoring actions of preset configuration items corresponding to the first configuration files; when the first preset configuration item is updated, generating a second configuration file according to the updated first preset configuration item and the preset configuration items except the first preset configuration item in the first configuration file, and generating a control instruction, wherein the first preset configuration item is any one of all preset configuration items corresponding to the first configuration file; and sending the second configuration file and a control instruction to the vehicle-mounted host, wherein the control instruction is used for indicating the vehicle-mounted host to update the system of the vehicle-mounted host according to the second configuration file, so that the configuration can be updated without recompilation and flashing, and the screen debugging efficiency is greatly improved.

Description

Screen debugging method and device, electronic equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of vehicle-mounted systems, in particular to a screen debugging method and device, electronic equipment and a storage medium.
Background
When a real-time operating system (Quick Unix, QNX) of an on-board microkernel is used for debugging a display screen, each time debugging parameters are modified, a recompilation version is needed to be refreshed, the efficiency is low, a lot of inconvenience is caused in the development stage of the display screen, and the problems are mainly as follows: (1) The configuration parameters of a System On Chip (SOC) end need to be modified and debugged for a plurality of times, such as frame synchronization parameters, refresh rate and other parameters, so as to achieve the optimal effect, and because the System on Chip cannot be dynamically modified, the System on Chip needs to recompile a version each time, and the System on Chip can be restarted, so that the development efficiency is lower; (2) The configuration of the serializer and the deserializer needs to be modified and debugged for many times to achieve the stage that the video data transmission is free of problems, because the library cannot be dynamically loaded and unloaded, the version needs to be recompiled, the execution of the device can be realized only by recompiling, manual completion of developers is needed, the development efficiency is low, and a large amount of time waste is caused.
Disclosure of Invention
The application provides a screen debugging method, a screen debugging device, electronic equipment and a storage medium, so as to solve all or part of problems in the prior art.
In a first aspect, the present application provides a screen debugging method, where the method is applied to a real-time operating system QNX of an on-vehicle microkernel, and the method is executed by a terminal device, and includes:
monitoring actions of preset configuration items corresponding to the first configuration files;
when the first preset configuration item is updated, generating a second configuration file according to the updated first preset configuration item and the preset configuration items except the first preset configuration item in the first configuration file, and generating a control instruction, wherein the first preset configuration item is any one of all preset configuration items corresponding to the first configuration file;
and sending the second configuration file and a control instruction to the vehicle-mounted host, wherein the control instruction is used for indicating the vehicle-mounted host to update the system of the vehicle-mounted host according to the second configuration file.
By the mode, the configuration items can be updated through the configuration system of the terminal equipment, the updated configuration files are generated, and then the updated configuration files are sent to the vehicle-mounted system, so that the operation is easy, human errors caused by directly modifying the configuration files can be avoided, and the accuracy of modification is ensured.
With reference to the first aspect, in a first embodiment of the first aspect of the present invention, the first configuration file includes a plurality of first configuration files, and each first configuration file includes one of the following:
a configuration file corresponding to the screen driving chip and a configuration file corresponding to the screen display function.
In this way, modification of the configuration of the screen driving chip and modification of the configuration of the screen display function can be supported.
With reference to the first embodiment of the first aspect, in a second embodiment of the first aspect of the present invention, before the act of monitoring each preset configuration item corresponding to the first configuration file, the method further includes:
analyzing the screen driving function information to obtain screen driving configuration information;
and generating a configuration file corresponding to the screen driver according to the screen driver configuration information.
By the method, the configuration file corresponding to the screen driver can be generated only according to the configuration information of the screen driver, so that other information is prevented from being changed, and support is provided for manual modification of the configuration information.
With reference to any one of the first aspect to the second embodiment of the first aspect, in a third embodiment of the first aspect of the present invention, the preset configuration items include, but are not limited to, one or more of the following:
screen frame synchronization parameters, screen refresh rate parameters, and register configuration parameters for the screen chip.
In a second aspect, the present application provides a screen debugging method, where the method is applied to a real-time operating system QNX of a vehicle microkernel, and the method is executed by a vehicle-mounted host, and includes:
acquiring a first configuration file and a first control instruction sent by terminal equipment;
searching a second configuration file corresponding to the first configuration file;
when the second configuration file is acquired, executing the operation of covering the second configuration file by the first configuration file according to the first control instruction;
generating a second control instruction;
restarting the preset screen display service according to the second control instruction, and loading configuration information of the first configuration file in the restarting process to debug the screen of the vehicle-mounted host.
In this way, a first configuration file and a first control instruction sent by terminal equipment are obtained; searching a second configuration file corresponding to the first configuration file, performing covering operation on the second configuration file according to the first configuration file, and restarting the screen display service, wherein the vehicle-mounted system can automatically load the content of the second configuration file in the restarting process, so that the updating of configuration information can be realized without manual editing and restarting the system, the configuration time is greatly saved, and the debugging efficiency is improved.
With reference to the second aspect, in a first embodiment of the second aspect of the present invention, before stopping the preset screen display service according to the first control instruction, the method further includes:
searching for a first screen display service for stopping the screen display function and a second screen display service for starting the screen display function from all the screen function services;
and packaging the first screen display service and the second screen display service to obtain a preset screen display service.
By the method, the first screen display service and the second screen display service are packaged, the packaged service package can be directly called, the operation is simplified, omission can be avoided, and the accuracy of the operation is ensured.
In a third aspect, the present application provides a screen debugging device, the device comprising: the device comprises a monitoring module, a first generating module and a sending module;
the monitoring module is used for monitoring actions of preset configuration items corresponding to the first configuration files;
the first generating module is used for generating a second configuration file according to the updated first preset configuration item and the preset configuration items except the first preset configuration item in the first configuration file when the first preset configuration item is updated, and generating a control instruction;
the sending module is used for sending the second configuration file and the control instruction to the vehicle-mounted host, and the control instruction is used for indicating the vehicle-mounted host to update the system of the vehicle-mounted host according to the second configuration file.
Optionally, the first configuration file in the monitoring module includes a plurality of first configuration files, and each first configuration file includes one of the following:
a configuration file corresponding to the screen driving chip and a configuration file corresponding to the screen display function.
Optionally, the apparatus further comprises: an analysis module;
the analysis module is used for analyzing the screen driving function information and acquiring screen driving configuration information;
the first generation module is specifically configured to generate a configuration file corresponding to the screen driver according to the configuration information of the screen driver.
Optionally, the preset configuration items in the first generating module include, but are not limited to, one or more of the following:
screen frame synchronization parameters, screen refresh rate parameters, and register configuration parameters for the screen chip.
In a fourth aspect, the present application provides a screen debugging device, the device comprising: the device comprises an acquisition module, a search module, an execution module, a second generation module and a processing module;
the acquisition module is used for acquiring a first configuration file and a first control instruction sent by the terminal equipment;
the searching module is used for searching a second configuration file corresponding to the first configuration file;
the execution module is used for executing the operation of covering the second configuration file by the first configuration file according to the first control instruction when the second configuration file is acquired;
the second generation module is used for generating a second control instruction;
the processing module is used for restarting the preset screen display service according to the second control instruction, loading the configuration information of the first configuration file in the restarting process and debugging the screen of the vehicle-mounted host.
Optionally, the apparatus further comprises: packaging the module;
the searching module is also used for searching a first screen display service for stopping the screen display function and a second screen display service for starting the screen display function from all the screen function services;
and the packaging module is used for packaging the first screen display service and the second screen display service to obtain a preset screen display service.
In a fifth aspect, there is provided a terminal device including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and a processor, configured to implement the steps of the screen debugging method according to any embodiment of the first aspect when executing the program stored in the memory.
In a sixth aspect, an on-vehicle host is provided, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor, configured to implement the steps of the screen debugging method according to any one of the embodiments of the second aspect when executing the program stored in the memory.
In a seventh aspect, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the screen debugging method as in any of the embodiments of the first aspect, or implements the steps of the screen debugging method as in any of the embodiments of the second aspect.
Drawings
FIG. 1 is a schematic diagram of a screen hardware framework provided by the present invention;
FIG. 2 is a schematic diagram of a screen initialization process according to the present invention;
FIG. 3 is a schematic flow chart of a screen debugging method according to an embodiment of the present invention;
FIG. 4 is a schematic flow chart of another screen debugging method according to the embodiment of the present invention;
FIG. 5 is a schematic flow chart of another screen debugging method according to the embodiment of the present invention;
FIG. 6 is a schematic flow chart of a method for packaging a screen display service according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a screen debugging device according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of another screen debugging device according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of a vehicle-mounted host according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
For the purpose of facilitating an understanding of the embodiments of the present invention, reference will now be made to the following description of specific embodiments, taken in conjunction with the accompanying drawings, which are not intended to limit the embodiments of the invention.
Aiming at the technical problems mentioned in the background art, firstly, the display hardware framework of the scheme is related to a real-time operating system QNX of a vehicle microkernel, as shown in FIG. 1: the main controller of the vehicle-mounted System is connected with a display screen through a data line, the main controller comprises a System On Chip (SOC) and a serializer Chip, the display screen comprises a deserializer Chip and a liquid crystal display screen (Liquid Crystal Display, LCD), the serializer and the deserializer are used for transmitting video data, when the System is started, screen initialization is carried out, the flow of the screen initialization is shown in fig. 2, when the System is started, the SOC end displays configuration information, the System is driven to be initialized, and the System operates normally after the initialization is completed.
The screen debugging existing scheme mainly comprises the following two aspects:
(1) The system display module is configured at the SOC end. The system is mainly a configuration file, which contains the configurations of screen resolution, frame synchronization, refresh rate and the like, is called when the system is started, and is used for initializing a series of SOC end display modules after the system reads the configuration, so that the flow is not re-executed in normal operation.
(2) Configuration of serializer and deserializer. The code is compiled into a library for use in the initialization of a startup drive, and the library cannot be dynamically loaded and unloaded for reinitialization in normal operation.
Based on the implementation mechanism, the recompilation version is required to be refreshed after the parameters are modified each time, the efficiency is low, inconvenience is brought to the development of the project screen, and the method mainly has the following two problems: the configuration of the SOC end needs to be modified and debugged for many times, such as frame synchronization parameters, refresh rate and other parameters, so as to achieve the optimal effect, and because the configuration cannot be dynamically modified, the configuration needs to be recompiled for each modification, the configuration can be effective after being refreshed, and the development efficiency is lower; the configuration of the serializer and the deserializer needs to be modified and debugged for many times to achieve the stage that the video data transmission is free of problems, and because the library cannot be dynamically loaded and unloaded, the version needs to be recompiled, the device can be restarted, and the development efficiency is low.
Based on this, the embodiment of the application provides a screen debugging method, specifically referring to fig. 3, fig. 3 is a flowchart of the screen debugging method provided by the embodiment of the invention, and the method is applied to a real-time operating system QNX of a vehicle microkernel, for example, the method can be applied to a vehicle software platform using the QNX operating system as an intelligent driving system and using an android system or a Linux system as an intelligent cabin system based on a QNX hypervisor (QNX hypervisor), and the method is executed by a terminal device, and the method steps include:
step 110, monitor the action of the preset configuration item corresponding to the first configuration file.
Specifically, the first configuration file includes at least one configuration item, and the action of continuously monitoring whether each configuration item is updated is continuously monitored.
In an alternative example, for example, a piece of debugging tool software may be developed and installed in a terminal device, where the terminal device may be a computer or a handheld terminal, and each configuration item may be configured using a front page menu, and the software may monitor the action of each configuration item.
Step 120, when the first preset configuration item is updated, generating a second configuration file according to the updated first preset configuration item and the preset configuration items in the first configuration file except the first preset configuration item, and generating a control instruction.
Specifically, the first preset configuration item is any one preset configuration item of all preset configuration items corresponding to the first configuration file. When any configuration item transmits an updating operation, a second configuration file is generated according to the updated first preset configuration item and the preset configuration items except the first preset configuration item in the first configuration file, and a control instruction is generated.
In an alternative embodiment, the first profile includes a plurality of first profiles, each first profile including one of:
a configuration file corresponding to the screen driving chip and a configuration file corresponding to the screen display function.
In an alternative example, for example, in the screen debugging scheme flowchart shown in fig. 4, the configuration file corresponding to the screen display function may be, for example, an SOC display configuration file, the configuration file corresponding to the screen driver chip may be a driver register configuration file, the debugging tool monitors each configuration item, and the configuration items may be a system display parameter, a serializer parameter, a deserializer parameter, and the like, when the SOC display configuration item is modified or the driver register configuration item is modified, the updated configuration file is determined, and according to all the corresponding configuration items of the updated configuration file, the updated configuration file and the control instruction are generated.
And 130, sending a second configuration file and a control instruction to the vehicle-mounted host, wherein the control instruction is used for instructing the vehicle-mounted host to update the system of the vehicle-mounted host according to the second configuration file.
Specifically, the second configuration file and a control instruction are sent to the vehicle-mounted host, and the control instruction is used for indicating the vehicle-mounted host to update the system of the vehicle-mounted host according to the second configuration file.
In an alternative example, such as the screen debugging method flowchart shown in fig. 4, the debugging tool sends the updated configuration file and the control command to the on-board host, and the control command triggers the debugging.
Optionally, before the act of monitoring each preset configuration item corresponding to the first configuration file, the method further includes:
analyzing the screen driving function information to obtain screen driving configuration information;
and generating a configuration file corresponding to the screen driver according to the screen driver configuration information.
Specifically, the screen driving function information may be a code related to the screen driving function, which may be parsed into a logic processing portion and a specific register configuration file portion, where the logic processing portion is powered on, initializes a serializer, initializes a deserializer, initializes a backlight, and the like, and encapsulates the logic processing portion into a flow interface, and the logic processing flow can be implemented only by reading the related register configuration and calling the interface.
The code related to the screen configuration is mainly divided into a register configuration part to generate a configuration file corresponding to the screen driver, namely the code is read from the configuration file to configure, the code is not required to be modified during debugging, the configuration file is only required to be modified, and the register configuration file mainly comprises: staged flags such as start of power up, start of initializing a serializer or other, read and write operation flags, register addresses, register values, etc.
Optionally, the preset configuration items include, but are not limited to, one or more of the following:
screen frame synchronization parameters, screen refresh rate parameters, and register configuration parameters for the screen chip.
When debugging a screen, mainly modified parameters include, but are not limited to, a screen frame synchronization parameter, a screen refresh rate parameter and a register configuration parameter of a screen chip, so as to achieve the required screen effect, wherein the screen frame synchronization parameter is used for ensuring that a receiving end branching system is consistent with a transmitting end, the refresh rate parameter is used for adjusting the screen refresh rate, improving the image quality and smoothness of the screen, and the register configuration parameter of the screen chip mainly comprises a screen powering-on device, an initializing serializer and the like.
According to the screen debugging method provided by the embodiment of the invention, the actions of the preset configuration items corresponding to the first configuration files are monitored; when the first preset configuration item is updated, generating a second configuration file according to the updated first preset configuration item and the preset configuration items except the first preset configuration item in the first configuration file, and generating a control instruction, wherein the first preset configuration item is any one of all preset configuration items corresponding to the first configuration file; and sending the second configuration file and a control instruction to the vehicle-mounted host, wherein the control instruction is used for indicating the vehicle-mounted host to update the system of the vehicle-mounted host according to the second configuration file. The configuration items can be updated through the configuration system of the terminal equipment, the updated configuration files are generated, and then the updated configuration files are sent to the vehicle-mounted system, so that the operation is easy, the human errors caused by directly modifying the configuration files can be avoided, and the accuracy of modification is ensured.
The screen based on the invention is a display screen of the vehicle-mounted host, so the invention also provides a corresponding screen debugging method of the vehicle-mounted host, the method is applied to a vehicle-mounted microkernel real-time operating system QNX, and the method is executed by the vehicle-mounted host and comprises the following method steps as shown in FIG. 5:
step 510, obtaining a first configuration file and a first control instruction sent by a terminal device.
Specifically, the first configuration file is a second configuration file sent to the vehicle-mounted system by the terminal device.
Step 520, find a second profile corresponding to the first profile.
Specifically, the second configuration file is a configuration file corresponding to the second configuration file generated by the terminal device in the vehicle-mounted system.
In an alternative example, the file with the same file name or file ID may be found in the vehicle-mounted system according to the file identifier, for example, the file name or file ID, which is the second configuration file.
In an alternative embodiment, for example, in the flowchart of the screen debugging method shown in fig. 4, the vehicle-mounted host side determines that the received configuration file is, for example, an SOC configuration file, and searches for a corresponding SOC configuration file, and if the received configuration file is a driving configuration file, searches for a corresponding driving configuration file.
And step 530, when the second configuration file is obtained, executing the operation of covering the second configuration file by the first configuration file according to the first control instruction.
Specifically, when the second configuration file is obtained, the content of the first configuration file is overlaid on the content of the second configuration file, that is, the second configuration file is updated, so as to update the modified configuration item information.
In an alternative example, such as the screen debugging method flowchart shown in fig. 4, the SOC profile is updated when the received profile is the SOC profile, and the driver profile is updated when the received profile is the driver profile.
Step 540, generate a second control instruction.
Step 550, restarting the preset screen display service according to the second control instruction, and loading the configuration information of the first configuration file in the restarting process, so as to debug the screen of the vehicle-mounted host.
Specifically, the second control instruction is used for restarting the screen display service, and the vehicle-mounted system reloads configuration information related to the service in the process of starting the service.
In an alternative embodiment, the method further comprises the method steps as shown in fig. 6 before stopping the preset screen display service according to the first control instruction:
step 610, find and stop the first screen display service of the screen display function and start the second screen display service of the screen display function from all the screen function services.
And 620, packaging the first screen display service and the second screen display service to obtain a preset screen display service.
Specifically, because the technical effect to be achieved by the invention is to update the configuration items of the display screen more conveniently and efficiently, so that screen debugging is performed, and restarting of the screen display service can be completed without restarting services irrelevant to the display function of the display screen, before stopping the preset screen display service, the first screen display service stopping the screen display function and the second screen display service starting the screen display function can be searched from all the screen function services and respectively packaged into two service packages, so that the preset screen display service relevant to the screen display is extracted, and when restarting is performed subsequently, only the relevant service package is required to be called, the first screen display service is called first, and then the second screen display service is called, so that the unified operation can not only improve the efficiency, but also avoid omission and misoperation.
In an alternative example, for example, in the on-board microkernel real-time operating system QNX of the screen debugging method shown in fig. 4, services related to display are an open Wi-Fi display service (open_server), an uninterrupted session service (screen), and the like, and these services may be packaged into two service packages: when the system is restarted, the system reloads the relevant configuration files, namely reinitializes the display flow, so that the aim of deploying the updated configuration files is fulfilled, and the effect of quickly adjusting parameters can be achieved without re-editing codes and brushing machines.
The screen debugging method provided by the embodiment of the invention obtains the first configuration file and the first control instruction sent by the terminal equipment; searching a second configuration file corresponding to the first configuration file; when the second configuration file is acquired, executing the operation of covering the second configuration file by the first configuration file according to the first control instruction; generating a second control instruction; restarting the preset screen display service according to the second control instruction, and loading configuration information of the first configuration file in the restarting process to debug the screen of the vehicle-mounted host. In the restarting process, the vehicle-mounted system can automatically load the content of the second configuration file, so that the configuration information can be updated without manual editing and restarting the system, the configuration time is greatly saved, and the debugging efficiency is improved.
In the above, for the embodiments of the screen debugging method provided in the present application, other embodiments of screen debugging provided in the present application are described below, specifically, see the following.
Fig. 7 is a screen debugging device according to an embodiment of the present invention, where the device includes: a monitoring module 701, a first generating module 702 and a transmitting module 703;
the monitoring module 701 is configured to monitor an action of a preset configuration item corresponding to the first configuration file;
the first generating module 702 is configured to generate, when an update operation occurs to the first preset configuration item, a second configuration file according to the updated first preset configuration item and a preset configuration item in the first configuration file except the first preset configuration item, and generate a control instruction;
the sending module 703 is configured to send the second configuration file and a control instruction to the vehicle-mounted host, where the control instruction is used to instruct the vehicle-mounted host to update a system of the vehicle-mounted host according to the second configuration file.
Optionally, the first configuration file in the monitoring module 701 includes a plurality of first configuration files, and each first configuration file includes one of the following:
a configuration file corresponding to the screen driving chip and a configuration file corresponding to the screen display function.
Optionally, the apparatus further comprises: a parsing module 704;
the parsing module 704 is configured to parse the screen driving function information to obtain screen driving configuration information;
the first generating module 702 is specifically configured to generate a configuration file corresponding to the screen driver according to the configuration information of the screen driver.
Optionally, the preset configuration items in the first generating module 702 include, but are not limited to, one or more of the following:
screen frame synchronization parameters, screen refresh rate parameters, and register configuration parameters for the screen chip.
The functions executed by each component in the screen debugging device provided by the embodiment of the present invention are described in detail in any of the above method embodiments, so that a detailed description is omitted here.
The screen debugging device provided by the embodiment of the invention monitors the action of the preset configuration item corresponding to the first configuration file; when the first preset configuration item is updated, generating a second configuration file according to the updated first preset configuration item and the preset configuration items except the first preset configuration item in the first configuration file, and generating a control instruction, wherein the first preset configuration item is any one of all preset configuration items corresponding to the first configuration file; and sending the second configuration file and a control instruction to the vehicle-mounted host, wherein the control instruction is used for indicating the vehicle-mounted host to update the system of the vehicle-mounted host according to the second configuration file. The configuration items can be updated through the configuration system of the terminal equipment, the updated configuration files are generated, and then the updated configuration files are sent to the vehicle-mounted system, so that the operation is easy, the human errors caused by directly modifying the configuration files can be avoided, and the accuracy of modification is ensured.
Fig. 8 is a screen debugging device according to an embodiment of the present invention, where the device includes: an acquisition module 801, a search module 802, an execution module 803, a second generation module 804, and a processing module 805;
an obtaining module 801, configured to obtain a first configuration file and a first control instruction sent by a terminal device;
a searching module 802, configured to search a second configuration file corresponding to the first configuration file;
the execution module 803 is configured to execute, when the second configuration file is acquired, an operation performed by the first configuration file to cover the second configuration file according to the first control instruction;
a second generating module 804, configured to generate a second control instruction;
the processing module 805 is configured to restart the preset screen display service according to the second control instruction, and load configuration information of the first configuration file during the restarting process, so as to debug the screen of the vehicle-mounted host.
Optionally, the apparatus further comprises: a packaging module 806;
a search module 802, configured to search all the screen function services for a first screen display service for stopping the screen display function and a second screen display service for starting the screen display function;
the packaging module 806 is configured to package the first screen display service and the second screen display service, and obtain a preset screen display service.
The screen debugging device provided by the embodiment of the invention acquires a first configuration file and a first control instruction sent by terminal equipment; searching a second configuration file corresponding to the first configuration file; when the second configuration file is acquired, executing the operation of covering the second configuration file by the first configuration file according to the first control instruction; generating a second control instruction; restarting the preset screen display service according to the second control instruction, and loading configuration information of the first configuration file in the restarting process to debug the screen of the vehicle-mounted host. In the restarting process, the vehicle-mounted system can automatically load the content of the second configuration file, so that the configuration information can be updated without manual editing and restarting the system, the configuration time is greatly saved, and the debugging efficiency is improved.
As shown in fig. 9, the embodiment of the present application provides a terminal device, which includes a processor 111, a communication interface 112, a memory 113, and a communication bus 114, where the processor 111, the communication interface 112, and the memory 113 complete communication with each other through the communication bus 114.
A memory 113 for storing a computer program;
in one embodiment of the present application, the processor 111 is configured to implement the screen debugging method provided in any one of the method embodiments of fig. 3 and fig. 4 when executing the program stored in the memory 113, and includes:
monitoring actions of preset configuration items corresponding to the first configuration files;
when the first preset configuration item is updated, generating a second configuration file according to the updated first preset configuration item and the preset configuration items except the first preset configuration item in the first configuration file, and generating a control instruction, wherein the first preset configuration item is any one of all preset configuration items corresponding to the first configuration file;
and sending the second configuration file and a control instruction to the vehicle-mounted host, wherein the control instruction is used for indicating the vehicle-mounted host to update the system of the vehicle-mounted host according to the second configuration file.
Optionally, the first profile includes a plurality of first profiles, each first profile including one of:
a configuration file corresponding to the screen driving chip and a configuration file corresponding to the screen display function.
In this way, modification of the configuration of the screen driving chip and modification of the configuration of the screen display function can be supported.
Optionally, before the act of monitoring each preset configuration item corresponding to the first configuration file, the method further includes:
analyzing the screen driving function information to obtain screen driving configuration information;
and generating a configuration file corresponding to the screen driver according to the screen driver configuration information.
Optionally, the preset configuration items include, but are not limited to, one or more of the following:
screen frame synchronization parameters, screen refresh rate parameters, and register configuration parameters for the screen chip.
As shown in fig. 10, the embodiment of the present application provides an on-vehicle host, which includes a processor 211, a communication interface 212, a memory 213, and a communication bus 214, where the processor 211, the communication interface 212, and the memory 213 complete communication with each other through the communication bus 214.
A memory 213 for storing a computer program;
in one embodiment of the present application, the processor 211 is configured to implement the screen debugging method provided in any one of the method embodiments of fig. 5 and fig. 6 when executing the program stored in the memory 213, where the method includes:
acquiring a first configuration file and a first control instruction sent by terminal equipment;
searching a second configuration file corresponding to the first configuration file;
when the second configuration file is acquired, executing the operation of covering the second configuration file by the first configuration file according to the first control instruction;
generating a second control instruction;
restarting the preset screen display service according to the second control instruction, and loading configuration information of the first configuration file in the restarting process to debug the screen of the vehicle-mounted host.
Optionally, before stopping the preset screen display service according to the first control instruction, the method further includes:
searching for a first screen display service for stopping the screen display function and a second screen display service for starting the screen display function from all the screen function services;
and packaging the first screen display service and the second screen display service to obtain a preset screen display service.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the screen debugging method provided by any one of the method embodiments described above.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises an element.
The foregoing is merely exemplary of embodiments of the present invention to enable those skilled in the art to understand or practice the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. A screen debugging method, wherein the method is applied to a real-time operating system QNX of an on-board microkernel, the method is executed by a terminal device, and the method comprises:
monitoring actions of preset configuration items corresponding to the first configuration file, wherein the preset configuration items comprise system display parameters, serializer parameters and deserializer parameters;
when a first preset configuration item is updated, generating a second configuration file according to the updated first preset configuration item and the preset configuration items except the first preset configuration item in the first configuration file, and generating a control instruction, wherein the first preset configuration item is any one preset configuration item of all preset configuration items corresponding to the first configuration file;
the second configuration file and the control instruction are sent to a vehicle-mounted host, the control instruction is used for indicating the vehicle-mounted host to update the system of the vehicle-mounted host according to the second configuration file,
the first configuration files comprise a plurality of first configuration files, and each first configuration file comprises one of the following:
a configuration file corresponding to a screen driving chip and a configuration file corresponding to a screen display function, wherein the configuration file corresponding to the screen driving chip is an SOC configuration file, the configuration file corresponding to the screen display function is a driving register configuration file,
the SOC configuration file and the driving register configuration file are required to be validated after a preset screen display service is restarted in the vehicle-mounted host, so that the screen is debugged by using the validated SOC configuration file and the validated driving register configuration file.
2. The method of claim 1, wherein prior to the act of monitoring each of the preset configuration items corresponding to the first configuration file, the method further comprises:
analyzing the screen driving function information to obtain screen driving configuration information;
and generating the configuration file corresponding to the screen driver according to the screen driver configuration information.
3. The method according to claim 1 or 2, wherein the preset configuration items further comprise a plurality of:
screen frame synchronization parameters, screen refresh rate parameters, and register configuration parameters for the screen chip.
4. A screen debugging method, wherein the method is applied to a real-time operating system QNX of a vehicle microkernel, and the method is executed by a vehicle-mounted host, and the method comprises:
acquiring a first configuration file and a first control instruction sent by terminal equipment;
searching a second configuration file corresponding to the first configuration file;
when the second configuration file is acquired, executing the operation of covering the second configuration file by the first configuration file according to the first control instruction;
generating a second control instruction; restarting a preset screen display service according to the second control instruction, and loading configuration information of the first configuration file in the restarting process to debug the screen of the vehicle-mounted host, wherein the preset screen display service is obtained in the following manner:
searching for a first screen display service for stopping the screen display function and a second screen display service for starting the screen display function from all the screen function services;
encapsulating the first screen display service and the second screen display service to obtain the preset screen display service,
wherein the second configuration file comprises an SOC configuration file or a drive register configuration file.
5. The screen debugging device is characterized in that the device is a terminal device, the device is applied to a vehicle microkernel real-time operating system QNX, and the device comprises:
the monitoring module is used for monitoring actions of preset configuration items corresponding to the first configuration file, wherein the preset configuration items comprise system display parameters, serializer parameters and deserializer parameters;
the first generating module is used for generating a second configuration file according to the updated first preset configuration item and the preset configuration items except the first preset configuration item in the first configuration file when the first preset configuration item is updated, and generating a control instruction;
a sending module, configured to send the second configuration file and the control instruction to a vehicle-mounted host, where the control instruction is used to instruct the vehicle-mounted host to update a system of the vehicle-mounted host according to the second configuration file,
the first configuration files comprise a plurality of first configuration files, and each first configuration file comprises one of the following:
a configuration file corresponding to the screen driving chip and a configuration file corresponding to the screen display function,
the configuration file corresponding to the screen driving chip is an SOC configuration file, and the configuration file corresponding to the screen display function is a driving register configuration file, wherein the SOC configuration file and the driving register configuration file are required to be validated after restarting a preset screen display service in the vehicle-mounted host, so that the screen is debugged by using the validated SOC configuration file and the driving register configuration file.
6. The screen debugging device is characterized by being a vehicle-mounted host, and is applied to a vehicle-mounted microkernel real-time operating system QNX, and comprises:
the acquisition module is used for acquiring a first configuration file and a first control instruction sent by the terminal equipment;
the searching module is used for searching a second configuration file corresponding to the first configuration file;
the execution module is used for executing the operation of covering the second configuration file by the first configuration file according to the first control instruction when the second configuration file is acquired;
the second generation module is used for generating a second control instruction;
the processing module is used for restarting the preset screen display service according to the second control instruction, loading the configuration information of the first configuration file in the restarting process and debugging the screen of the vehicle-mounted host, wherein the preset screen display service is obtained in the following mode:
searching for a first screen display service for stopping the screen display function and a second screen display service for starting the screen display function from all the screen function services;
encapsulating the first screen display service and the second screen display service to obtain the preset screen display service,
wherein the second profile comprises an SOC profile or a driver profile.
7. The terminal equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the steps of the screen debugging method of any one of claims 1-3 when executing a program stored on a memory.
8. The vehicle-mounted host is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
the memory is used for storing a computer program;
the processor is configured to implement the steps of the screen debugging method of claim 4 when executing the program stored in the memory.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the screen debugging method of any one of claims 1-3, or the steps of the screen debugging method of claim 4.
CN202310323615.7A 2023-03-29 2023-03-29 Screen debugging method and device, electronic equipment and storage medium Active CN116431408B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310323615.7A CN116431408B (en) 2023-03-29 2023-03-29 Screen debugging method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310323615.7A CN116431408B (en) 2023-03-29 2023-03-29 Screen debugging method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116431408A CN116431408A (en) 2023-07-14
CN116431408B true CN116431408B (en) 2024-03-01

Family

ID=87088409

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310323615.7A Active CN116431408B (en) 2023-03-29 2023-03-29 Screen debugging method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116431408B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338099A (en) * 2015-11-17 2016-02-17 广东好帮手电子科技股份有限公司 Method and system for realizing customized vehicle-mounted host based on Bluetooth MAC (Medium Access Control) address identification
CN112035078A (en) * 2019-06-03 2020-12-04 上海博泰悦臻网络技术服务有限公司 Display method and system of screen content of intelligent terminal and vehicle-mounted terminal
CN112078516A (en) * 2020-08-14 2020-12-15 广州小鹏汽车科技有限公司 Display parameter dynamic adjustment method and device, vehicle and storage medium
CN113835723A (en) * 2020-06-08 2021-12-24 上汽通用汽车有限公司 System on chip, upgrading system and method for vehicle electronic control unit
CN114765576A (en) * 2020-12-31 2022-07-19 宝能汽车集团有限公司 File sharing method, vehicle and storage medium
CN115145605A (en) * 2022-07-20 2022-10-04 重庆长安汽车股份有限公司 Vehicle-mounted application software upgrading method and system, electronic equipment and storage medium
CN115626056A (en) * 2022-10-29 2023-01-20 重庆长安汽车股份有限公司 Vehicle-mounted information display management method and device, instrument, equipment and medium to be displayed
CN115827024A (en) * 2022-12-13 2023-03-21 星际控股集团有限公司 Vehicle-mounted program updating method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105338099A (en) * 2015-11-17 2016-02-17 广东好帮手电子科技股份有限公司 Method and system for realizing customized vehicle-mounted host based on Bluetooth MAC (Medium Access Control) address identification
CN112035078A (en) * 2019-06-03 2020-12-04 上海博泰悦臻网络技术服务有限公司 Display method and system of screen content of intelligent terminal and vehicle-mounted terminal
CN113835723A (en) * 2020-06-08 2021-12-24 上汽通用汽车有限公司 System on chip, upgrading system and method for vehicle electronic control unit
CN112078516A (en) * 2020-08-14 2020-12-15 广州小鹏汽车科技有限公司 Display parameter dynamic adjustment method and device, vehicle and storage medium
CN114765576A (en) * 2020-12-31 2022-07-19 宝能汽车集团有限公司 File sharing method, vehicle and storage medium
CN115145605A (en) * 2022-07-20 2022-10-04 重庆长安汽车股份有限公司 Vehicle-mounted application software upgrading method and system, electronic equipment and storage medium
CN115626056A (en) * 2022-10-29 2023-01-20 重庆长安汽车股份有限公司 Vehicle-mounted information display management method and device, instrument, equipment and medium to be displayed
CN115827024A (en) * 2022-12-13 2023-03-21 星际控股集团有限公司 Vehicle-mounted program updating method and system

Also Published As

Publication number Publication date
CN116431408A (en) 2023-07-14

Similar Documents

Publication Publication Date Title
US20130339718A1 (en) Information processing device and method for controlling information processing device
US20120124556A1 (en) Computing device and device driver debugging method
CN110888650B (en) Method and system for customizing operating system mirror image
CN106569854B (en) Method and system for setting equipment firmware and realizing factory test
CN109710320A (en) A kind of starting guidance BootLoader method of two-stage drive
CN114138644A (en) BMC (baseboard management controller) debugging method, monitoring method, system, device, equipment and medium
CN112685066B (en) MCU software agent mode development method of heterogeneous platform
CN116431408B (en) Screen debugging method and device, electronic equipment and storage medium
EP0477385A1 (en) Method of resetting adapter module at failing time and computer system executing said method
CN111459827A (en) Cross-platform debugging shell implementation method and device and computer
CN109471665B (en) Method for automatically installing Windows operating system
CN113986357B (en) Method, apparatus and storage medium for establishing communication link
JP4558376B2 (en) controller
CN115934390A (en) Method and system for processing application program crash and device for running application program
CN107168756B (en) Radio frequency driving compiling and debugging method, client, server and storage device
CN115658152A (en) Firmware upgrading method, firmware, electronic device and computer readable storage medium
CN113127329B (en) Script debugging method and device and computer storage medium
CN112241141A (en) Hardware configuration method, system, device and medium of PLC control system
CN110740382A (en) Method, device, television and medium for avoiding undesired automatic restart of television
CN113722019B (en) Display method, device and equipment of platform program
CN113220507B (en) Version consistency checking method and device for double-master control system
CN117389583A (en) Firmware upgrading method and device of SONIC (self-contained network element) equipment and electronic equipment
JPH09259004A (en) Debugging method
CN117850914A (en) Basic input/output system configuration option test method, device, equipment and medium
CN115756939A (en) Firmware recovery method, apparatus, image forming device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant