CN117395133A - Screen self-repairing system, method, medium and electronic equipment - Google Patents
Screen self-repairing system, method, medium and electronic equipment Download PDFInfo
- Publication number
- CN117395133A CN117395133A CN202311243032.XA CN202311243032A CN117395133A CN 117395133 A CN117395133 A CN 117395133A CN 202311243032 A CN202311243032 A CN 202311243032A CN 117395133 A CN117395133 A CN 117395133A
- Authority
- CN
- China
- Prior art keywords
- communication link
- initialization
- signal
- serializer
- chip component
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0654—Management of faults, events, alarms or notifications using network fault recovery
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Fittings On The Vehicle Exterior For Carrying Loads, And Devices For Holding Or Mounting Articles (AREA)
Abstract
本申请提供了一种屏幕自修复系统、方法、介质和电子设备。所述系统包括显示装置和座舱域控制装置;显示装置,包括解串器,所述解串器配置为接收用于所述显示装置显示的显示信息;座舱域控制装置,包括加串器,所述加串器与所述解串器通信连接,座舱域控制装置配置为:响应于从所述加串器获取异常反馈信息,在预设初始化次数内对所述加串器与所述解串器的通信链路反复发送初始化信号,直至所述通信链路恢复正常通信。从而在通信链路出现问题时,使所述通信链路能够在短期内恢复正常的通信,保证显示装置能够在短期内恢复显示正常的信息,避免显示异常造成车辆安全行驶隐患。
This application provides a screen self-repairing system, method, medium and electronic device. The system includes a display device and a cabin domain control device; the display device includes a deserializer configured to receive display information for display by the display device; the cabin domain control device includes a serializer, so The serializer is communicatively connected to the deserializer, and the cockpit domain control device is configured to: in response to obtaining abnormal feedback information from the serializer, configure the serializer and the deserializer within a preset number of initializations. The communication link of the device repeatedly sends an initialization signal until the communication link resumes normal communication. Therefore, when a problem occurs in the communication link, the communication link can be restored to normal communication in a short period of time, ensuring that the display device can resume displaying normal information in a short period of time, and avoiding hidden dangers to safe driving of the vehicle caused by abnormal display.
Description
技术领域Technical field
本申请涉及计算机技术领域,具体而言,涉及一种屏幕自修复系统、方法、介质和电子设备。The present application relates to the field of computer technology, and specifically to a screen self-repairing system, method, medium and electronic device.
背景技术Background technique
随着智能设备的发展,屏幕显示成为不可或缺的部分。特别是在车载智能座舱领域,屏幕的地位越来越重要。现在有的智能座舱系统,已经发展到5联屏。这个5联屏包括仪表屏,中控屏,副驾驶屏幕,两个后排乘客座位屏幕。With the development of smart devices, screen displays have become an indispensable part. Especially in the field of automotive smart cockpits, screens play an increasingly important role. Some smart cockpit systems now have developed to five screens. This 5-joint screen includes the instrument screen, central control screen, co-pilot screen, and two rear passenger seat screens.
因此,屏幕功能安全系统成为车载智能座舱系统中重要的组成部分。一旦屏幕在汽车行驶和使用过程中失效,或者异常,极易造成车辆的安全隐患。Therefore, the screen functional safety system has become an important part of the vehicle intelligent cockpit system. Once the screen fails or becomes abnormal during driving and use of the car, it can easily cause safety hazards to the vehicle.
因此,本申请提供了一种屏幕自修复系统,以解决上述技术问题。Therefore, this application provides a screen self-repairing system to solve the above technical problems.
发明内容Contents of the invention
本申请的目的在于提供一种屏幕自修复系统、方法、介质和电子设备,能够解决上述提到的至少一个技术问题。具体方案如下:The purpose of this application is to provide a screen self-repairing system, method, medium and electronic device that can solve at least one of the above-mentioned technical problems. The specific plans are as follows:
根据本申请的具体实施方式,第一方面,本申请提供一种屏幕自修复系统,包括:显示装置和座舱域控制装置;According to the specific implementation manner of the present application, in the first aspect, the present application provides a screen self-repairing system, including: a display device and a cockpit domain control device;
显示装置,包括解串器,所述解串器配置为接收用于所述显示装置显示的显示信息;A display device including a deserializer configured to receive display information for display by the display device;
座舱域控制装置,包括加串器,所述加串器与所述解串器通信连接,座舱域控制装置配置为:响应于从所述加串器获取异常反馈信息,当连续初始化次数小于或等于预设初始化次数时,对所述加串器与所述解串器的通信链路反复发送初始化信号,直至所述通信链路恢复正常通信,其中,所述连续初始化次数是指向所述通信链路连续发送初始化信号的累计次数。The cockpit domain control device includes a serializer. The serializer is communicatively connected with the deserializer. The cockpit domain control device is configured to: in response to obtaining abnormal feedback information from the serializer, when the number of consecutive initializations is less than or When equal to the preset number of initializations, an initialization signal is repeatedly sent to the communication link between the serializer and the deserializer until the communication link resumes normal communication, wherein the number of consecutive initializations refers to the communication link. The cumulative number of times the link continuously sends initialization signals.
可选的,所述座舱域控制装置还包括处理组件和片上组件;Optionally, the cockpit domain control device also includes processing components and on-chip components;
所述处理组件,与所述片上组件和所述加串器分别通信连接,配置为:响应于从所述加串器获取异常反馈信息,向所述片上组件发送修复链路信号;The processing component is respectively communicatively connected to the on-chip component and the serializer, and is configured to: in response to obtaining abnormal feedback information from the serializer, send a repair link signal to the on-chip component;
所述片上组件,与所述加串器通信连接,配置为:响应于接收到所述修复链路信号,当所述连续初始化次数小于或等于预设初始化次数时,对所述通信链路反复发送初始化信号,直至所述通信链路恢复正常通信。The on-chip component is communicatively connected to the serializer and is configured to: in response to receiving the repair link signal, when the number of consecutive initializations is less than or equal to the preset number of initializations, repeat the communication link Send an initialization signal until the communication link resumes normal communication.
可选的,所述片上组件配置为所述当所述连续初始化次数小于或等于预设初始化次数时,对所述通信链路反复发送初始化信号,直至所述通信链路恢复正常通信,包括:Optionally, the on-chip component is configured to repeatedly send an initialization signal to the communication link until the communication link resumes normal communication when the number of consecutive initializations is less than or equal to the preset number of initializations, including:
当所述连续初始化次数小于或等于预设初始化次数时,每次对所述通信链路发送初始化信号后,判断是否获取所述显示装置基于所述初始化信号返回的握手信号;When the number of consecutive initializations is less than or equal to the preset number of initializations, each time an initialization signal is sent to the communication link, it is determined whether to obtain a handshake signal returned by the display device based on the initialization signal;
当获取所述握手信号时,停止对所述通信链路发送初始化信号。When the handshake signal is acquired, sending an initialization signal to the communication link is stopped.
可选的,所述片上组件配置为所述判断是否获取所述显示装置基于所述初始化信号返回的握手信号之后,还包括:当未获取所述显示装置基于所述初始化信号返回的握手信号时,所述通信链路的连续初始化次数加一。Optionally, the on-chip component is configured to, after determining whether to obtain the handshake signal returned by the display device based on the initialization signal, further include: when the handshake signal returned by the display device based on the initialization signal is not obtained. , the number of consecutive initializations of the communication link is increased by one.
可选的,所述片上组件还配置为:响应于接收到所述修复链路信号,当所述通信链路的连续初始化次数大于预设初始化次数时,向所述处理组件发送修复失败信号;Optionally, the on-chip component is further configured to: in response to receiving the repair link signal, when the number of consecutive initializations of the communication link is greater than the preset number of initializations, send a repair failure signal to the processing component;
所述处理组件,还配置为:响应于接收到所述片上组件发送的修复失败信号,向所述片上组件发送所述片上组件的重置信号,触发所述片上组件重置,以便恢复所述通信链路的正常通信。The processing component is further configured to: in response to receiving the repair failure signal sent by the on-chip component, send a reset signal of the on-chip component to the on-chip component, triggering the on-chip component to reset, so as to restore the on-chip component. Normal communication of the communication link.
可选的,所述片上组件还配置为:当获取所述握手信号后,周期性请求所述显示装置返回当前屏幕的显示信息和所述显示信息的第一校验信息;基于所述当前屏幕的预存显示信息生成第二校验信息;当所述第二校验信息不等于所述第一校验信息时,重新发送当前屏幕的预存显示信息。Optionally, the on-chip component is further configured to: after acquiring the handshake signal, periodically request the display device to return the display information of the current screen and the first verification information of the display information; based on the current screen The pre-stored display information generates second verification information; when the second verification information is not equal to the first verification information, the pre-stored display information of the current screen is re-sent.
可选的,所述异常反馈信息包括异常中断信号或所述通信链路的异常信息。Optionally, the abnormality feedback information includes an abnormal interrupt signal or abnormality information of the communication link.
根据本申请的具体实施方式,第二方面,本申请提供一种屏幕自修复方法,包括:According to the specific implementation mode of the present application, in the second aspect, the present application provides a screen self-repairing method, including:
从座舱域控制装置的加串器获取异常反馈信息;Obtain abnormal feedback information from the serializer of the cockpit domain control device;
响应于从座舱域控制装置的加串器获取异常反馈信息,当连续初始化次数小于或等于预设初始化次数时,对所述加串器与显示装置的解串器的通信链路反复发送初始化信号,直至所述通信链路恢复正常通信,其中,所述连续初始化次数是指向所述通信链路连续发送初始化信号的累计次数。In response to obtaining abnormal feedback information from the serializer of the cockpit domain control device, when the number of consecutive initializations is less than or equal to the preset number of initializations, an initialization signal is repeatedly sent to the communication link between the serializer and the deserializer of the display device. , until the communication link resumes normal communication, wherein the number of consecutive initializations refers to the cumulative number of times initialization signals are continuously sent to the communication link.
根据本申请的具体实施方式,第三方面,本申请提供一种计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现如上任一项所述屏幕自修复方法。According to specific embodiments of the present application, in a third aspect, the present application provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the screen self-repairing method as described in any one of the above items is implemented.
根据本申请的具体实施方式,第四方面,本申请提供一种电子设备,包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现如上任一项所述屏幕自修复方法。According to a specific embodiment of the present application, in a fourth aspect, the present application provides an electronic device, including: one or more processors; a storage device for storing one or more programs. When the one or more programs are When the one or more processors execute, the one or more processors implement the screen self-repairing method as described in any one of the above items.
本申请实施例的上述方案与现有技术相比,至少具有以下有益效果:Compared with the prior art, the above solutions of the embodiments of the present application have at least the following beneficial effects:
本申请提供了一种屏幕自修复系统、方法、介质和电子设备。所述系统包括显示装置和座舱域控制装置;显示装置,包括解串器,所述解串器配置为接收用于所述显示装置显示的显示信息;座舱域控制装置,包括加串器,所述加串器与所述解串器通信连接,座舱域控制装置配置为:响应于从所述加串器获取异常反馈信息,在预设初始化次数内对所述加串器与所述解串器的通信链路反复发送初始化信号,直至所述通信链路恢复正常通信。从而在通信链路出现问题时,使所述通信链路能够在短期内恢复正常的通信,保证显示装置能够在短期内恢复显示正常的信息,避免显示异常造成车辆安全行驶隐患。This application provides a screen self-repairing system, method, medium and electronic device. The system includes a display device and a cockpit domain control device; the display device includes a deserializer configured to receive display information for display by the display device; the cockpit domain control device includes a serializer, so The serializer is communicatively connected to the deserializer, and the cockpit domain control device is configured to: in response to obtaining abnormal feedback information from the serializer, configure the serializer and the deserializer within a preset number of initializations. The communication link of the device repeatedly sends an initialization signal until the communication link resumes normal communication. Therefore, when a problem occurs in the communication link, the communication link can be restored to normal communication in a short period of time, ensuring that the display device can resume displaying normal information in a short period of time, and avoiding hidden dangers to safe driving of the vehicle caused by abnormal display.
附图说明Description of the drawings
图1示出了根据本申请实施例的屏幕自修复系统的示意图;Figure 1 shows a schematic diagram of a screen self-repairing system according to an embodiment of the present application;
图2示出了根据本申请实施例的屏幕自修复系统的另一示意图;Figure 2 shows another schematic diagram of a screen self-repairing system according to an embodiment of the present application;
图3示出了根据本申请实施例的屏幕自修复方法的流程图。Figure 3 shows a flow chart of a screen self-repairing method according to an embodiment of the present application.
具体实施方式Detailed ways
为了使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请作进一步地详细描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be described in further detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.
在本申请实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请。在本申请实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义,“多种”一般包含至少两种。The terminology used in the embodiments of the present application is only for the purpose of describing specific embodiments and is not intended to limit the present application. As used in the embodiments and the appended claims, the singular forms "a," "the" and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. Usually contains at least two kinds.
应当理解,本文中使用的术语“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" used in this article is only an association relationship describing related objects, indicating that there can be three relationships, for example, A and/or B, which can mean: A alone exists, and A and A exist simultaneously. B, there are three situations of B alone. In addition, the character "/" in this article generally indicates that the related objects are an "or" relationship.
应当理解,尽管在本申请实施例中可能采用术语第一、第二、第三等来描述,但这些描述不应限于这些术语。这些术语仅用来将描述区分开。例如,在不脱离本申请实施例范围的情况下,第一也可以被称为第二,类似地,第二也可以被称为第一。It should be understood that although the terms first, second, third, etc. may be used to describe the embodiments of the present application, these descriptions should not be limited to these terms. These terms are only used to distinguish descriptions. For example, without departing from the scope of the embodiments of the present application, the first may also be called the second, and similarly, the second may also be called the first.
取决于语境,如在此所使用的词语“如果”、“若”可以被解释成为“在……时”或“当……时”或“响应于确定”或“响应于检测”。类似地,取决于语境,短语“如果确定”或“如果检测(陈述的条件或事件)”可以被解释成为“当确定时”或“响应于确定”或“当检测(陈述的条件或事件)时”或“响应于检测(陈述的条件或事件)”。Depending on the context, the words "if" or "if" as used herein may be interpreted as "when" or "when" or "in response to determination" or "in response to detection." Similarly, depending on the context, the phrase "if determined" or "if (stated condition or event) is detected" may be interpreted as "when determined" or "in response to determining" or "when (stated condition or event) is detected )" or "in response to detecting (a stated condition or event)".
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的商品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种商品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的商品或者装置中还存在另外的相同要素。It should also be noted that the terms "comprises", "comprises" or any other variation thereof are intended to cover a non-exclusive inclusion, such that a good or apparatus including a list of elements includes not only those elements but also those not expressly listed other elements, or elements inherent to such goods or devices. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of other identical elements in the goods or devices including the stated element.
特别需要说明的是,在说明书中存在的符号和/或数字,如果在附图说明中未被标记的,均不是附图标记。It should be noted that the symbols and/or numbers present in the description are not reference signs if they are not marked in the description of the drawings.
下面结合附图详细说明本申请的可选实施例。Optional embodiments of the present application are described in detail below with reference to the accompanying drawings.
对本申请提供的实施例,即一种屏幕自修复系统的实施例。The embodiment provided in this application is an embodiment of a screen self-repairing system.
下面结合图1对本申请实施例进行详细说明。The embodiment of the present application will be described in detail below with reference to FIG. 1 .
本申请实施例提供了一种屏幕自修复系统,包括显示装置和座舱域控制装置。The embodiment of the present application provides a screen self-repairing system, including a display device and a cockpit domain control device.
显示装置,包括解串器,所述解串器配置为接收用于所述显示装置显示的显示信息。A display device includes a deserializer configured to receive display information for display by the display device.
在车辆的显示系统中,包括多个显示装置(比如,中控显示装置、仪表显示装置)。由于每个显示装置与座舱域控制装置的距离不同,为了保证显示信息能够有效的显示在显示装置的显示屏上,解决长距离对显示效果的影响,每个显示装置均包括:解串器以及显示处理器和显示屏。显示处理器与所述解串器和显示屏分别通信连接,如图2所示。通过解串器将同轴电缆或者双绞线传输的显示模拟信号转换为传输给显示处理器,由显示处理器将所述数的显示屏显示数字信号转换成显示驱动信号,由显示屏显示。The display system of a vehicle includes multiple display devices (for example, a central control display device, an instrument display device). Since the distance between each display device and the cockpit domain control device is different, in order to ensure that the display information can be effectively displayed on the display screen of the display device and solve the impact of long distance on the display effect, each display device includes: a deserializer and Display processor and display. The display processor is communicated with the deserializer and the display screen respectively, as shown in Figure 2. The display analog signal transmitted by the coaxial cable or twisted pair is converted by the deserializer and transmitted to the display processor, and the display processor converts the number of digital signals displayed on the display screen into a display driving signal, which is displayed by the display screen.
座舱域控制装置,包括加串器,所述加串器与所述解串器通信连接,座舱域控制装置配置为:响应于从所述加串器获取异常反馈信息,当连续初始化次数小于或等于预设初始化次数时,对所述加串器与所述解串器的通信链路反复发送初始化信号,直至所述通信链路恢复正常通信。The cockpit domain control device includes a serializer. The serializer is communicatively connected with the deserializer. The cockpit domain control device is configured to: in response to obtaining abnormal feedback information from the serializer, when the number of consecutive initializations is less than or When equal to the preset number of initializations, an initialization signal is repeatedly sent to the communication link between the serializer and the deserializer until the communication link resumes normal communication.
其中,所述连续初始化次数是指向所述通信链路连续发送初始化信号的累计次数。Wherein, the number of consecutive initializations refers to the cumulative number of times an initialization signal is continuously sent to the communication link.
在本申请实施例中,加串器与解串器是成对出现的,每个显示装置的解串器均在座舱域控制装置中具有一个对应的加串器。In the embodiment of the present application, the serializer and the deserializer appear in pairs, and the deserializer of each display device has a corresponding serializer in the cockpit domain control device.
加串器配置为将显示信息转换成显示模拟信号,通过同轴电缆或者双绞线传输至解串器。The serializer is configured to convert display information into display analog signals and transmit them to the deserializer via coaxial cable or twisted pair.
座舱域控制装置(英文全称Cockpit Space Center,简称CSC),CSC连接车辆中各种类型的显示装置,显示各种警报信息和娱乐信息。CSC是汽车4大核心控制器之一,所有车型均需配置。CSC实现软硬件解耦,作为显示和视听系统的控制大脑,支持多屏幕的驱动,传感器数据收集,支持大数据、能源管理、数据管理、网关、诊断、空中下载技术等服务,配合其他计算平台完成显示交互需求的工作,打造行业领先的座舱智享中央计算平台。Cockpit domain control device (full name in English is Cockpit Space Center, referred to as CSC). CSC connects various types of display devices in the vehicle to display various alarm information and entertainment information. CSC is one of the four core controllers of automobiles and is required for all models. CSC realizes the decoupling of software and hardware. As the control brain of display and audio-visual systems, it supports multi-screen drivers, sensor data collection, big data, energy management, data management, gateway, diagnosis, over-the-air download technology and other services, and cooperates with other computing platforms. Complete the work of display interaction requirements and create an industry-leading central computing platform for cockpit intelligence.
异常反馈信息,是指加串器与解串器的通信链路反馈的异常信息。座舱域控制装置通过监控该通信链路的运行状态,检测该通信链路的异常信息。Abnormal feedback information refers to the abnormal information fed back by the communication link between the serializer and the deserializer. The cockpit domain control device detects abnormal information of the communication link by monitoring the operating status of the communication link.
本申请实施例中的座舱域控制装置一旦检测到异常反馈信息后,当连续初始化次数小于或等于预设初始化次数时,对所述信链路反复发送初始化信号,直至所述通信链路恢复正常通信。从而在通信链路出现问题时,使所述通信链路能够在短期内恢复正常的通信,保证显示装置能够在短期内恢复显示正常的信息。Once the cockpit domain control device in the embodiment of the present application detects abnormal feedback information, when the number of consecutive initializations is less than or equal to the preset number of initializations, it will repeatedly send an initialization signal to the communication link until the communication link returns to normal. communication. Therefore, when a problem occurs in the communication link, the communication link can resume normal communication in a short period of time, ensuring that the display device can resume displaying normal information in a short period of time.
在一些具体实施例中,所述座舱域控制装置还包括处理组件和片上组件,如图2所示。In some specific embodiments, the cockpit domain control device also includes processing components and on-chip components, as shown in Figure 2 .
处理组件(比如,微控制器单元(英文全称Microcontroller Unit,简称MCU))。处理组件是一种专用的集成电路,通常包含处理器核心、内存、输入/输出接口和定时器等功能。处理组件通常用于控制小型嵌入式系统,如汽车的传感器、执行器、开关等,以及一些简单的计算和控制任务。处理组件的功耗较低,适用于实时控制和嵌入式应用。在汽车中,处理组件可能用于控制门锁、车窗、车灯等较简单的功能。Processing components (for example, microcontroller unit (English full name Microcontroller Unit, referred to as MCU)). A processing component is a special-purpose integrated circuit that typically contains functions such as a processor core, memory, input/output interfaces, and timers. Processing components are usually used to control small embedded systems, such as sensors, actuators, switches, etc. in automobiles, as well as some simple computing and control tasks. The processing component consumes less power and is suitable for real-time control and embedded applications. In a car, processing components might be used to control simpler functions such as door locks, windows, lights, etc.
所述处理组件,与所述片上组件和所述加串器分别通信连接,配置为:响应于从所述加串器获取异常反馈信息,向所述片上组件发送修复链路信号。The processing component is communicatively connected to the on-chip component and the serializer respectively, and is configured to: in response to obtaining abnormal feedback information from the serializer, send a repair link signal to the on-chip component.
在一些具体实施例中,所述异常反馈信息包括异常中断信号或所述通信链路的异常信息。In some specific embodiments, the abnormal feedback information includes an abnormal interrupt signal or abnormal information of the communication link.
例如,加串器的错误信号(比如ERRPIN)管脚连接到处理组件的第一中断(比如INT1)管脚,当加串器与解串器的通信链路出现异常时,加串器通过该连接能够向处理组件发送异常中断信号;或者,处理组件通过第一双向二线制同步串行总线(即第一I2C总线)从加串器获取详细的加串器与解串器之间通信链路的异常信息。For example, the error signal (such as ERRPIN) pin of the serializer is connected to the first interrupt (such as INT1) pin of the processing component. When the communication link between the serializer and the deserializer is abnormal, the serializer passes the The connection can send an abnormal interrupt signal to the processing component; alternatively, the processing component obtains the detailed communication link between the serializer and the deserializer from the serializer through the first bidirectional two-wire synchronous serial bus (i.e., the first I2C bus) exception information.
双向二线制同步串行总线(英文全称Inter-Integrated Circuit,简称I2C),一种串行通信协议,通常用于连接主机和外设,如屏幕。它可以传输低速数据,如配置设置、控制命令等。Bidirectional two-wire synchronous serial bus (English full name Inter-Integrated Circuit, referred to as I2C), a serial communication protocol, usually used to connect the host and peripherals, such as screens. It can transmit low-speed data such as configuration settings, control commands, etc.
串行外围设备接口(英文全称Serial Peripheral interface,简称SPI),是一种同步串行外设接口,它可以使MCU与各种外围设备以串行方式进行通信以交换信息。并且在芯片的管脚上只占用四根线,节约了芯片的管脚,同时为电路的布局上节省空间,提供方便。The Serial Peripheral Interface (full name in English, SPI for short) is a synchronous serial peripheral interface that allows the MCU to communicate with various peripheral devices in a serial manner to exchange information. Moreover, only four wires are occupied on the chip pins, which saves the chip pins, and at the same time saves space in the circuit layout and provides convenience.
例如,所述处理组件与所述片上组件之间通过SPI进行通信,处理组件获取异常反馈信息后,通过SPI向所述片上组件发送修复链路信号。For example, the processing component communicates with the on-chip component through SPI. After the processing component obtains the abnormal feedback information, it sends a repair link signal to the on-chip component through SPI.
片上组件(英文全称System on Chip,简称SOC),SOC负责娱乐域相关功能。SOC运行QNX实时操作系统和安卓/Linux虚拟机系统,运行于SOC的操作系统能够满足娱乐域的功能要求,例如,电话、媒体播放、地图定位、媒体编辑、车辆设置、倒车影像和行车记录等功能。On-chip components (English full name System on Chip, referred to as SOC), SOC is responsible for entertainment domain-related functions. SOC runs QNX real-time operating system and Android/Linux virtual machine system. The operating system running on SOC can meet the functional requirements of the entertainment domain, such as phone calls, media playback, map positioning, media editing, vehicle settings, reversing images and driving records, etc. Function.
所述片上组件,与所述加串器通信连接,配置为:响应于接收到所述修复链路信号,当所述连续初始化次数小于或等于预设初始化次数时,对所述通信链路反复发送初始化信号,直至所述通信链路恢复正常通信。The on-chip component is communicatively connected to the serializer and is configured to: in response to receiving the repair link signal, when the number of consecutive initializations is less than or equal to the preset number of initializations, repeat the communication link Send an initialization signal until the communication link resumes normal communication.
例如,片上组件通过第二I2C总线对所述通信链路反复发送初始化信号。For example, the on-chip component repeatedly sends an initialization signal to the communication link through the second I2C bus.
在一些具体实施例中,所述片上组件配置为所述当所述连续初始化次数小于或等于预设初始化次数时,对所述通信链路反复发送初始化信号,直至所述通信链路恢复正常通信,包括:当所述连续初始化次数小于或等于预设初始化次数时,每次对所述通信链路发送初始化信号后,判断是否获取所述显示装置基于所述初始化信号返回的握手信号;当获取所述握手信号时,停止对所述通信链路发送初始化信号。In some specific embodiments, the on-chip component is configured to repeatedly send an initialization signal to the communication link when the number of consecutive initializations is less than or equal to a preset number of initializations until the communication link resumes normal communication. , including: when the number of consecutive initializations is less than or equal to the preset number of initializations, each time an initialization signal is sent to the communication link, determining whether to obtain a handshake signal returned by the display device based on the initialization signal; when obtaining When the handshake signal is received, stop sending the initialization signal to the communication link.
例如,片上组件向通信链路发送初始化信号后,等待加串器返回给片上组件的第二中断(比如INT2)管脚的握手信号,如果片上组件的INT2管脚获得握手信号,则确定通信链路初始化成功,通信链路恢复正常,停止对所述通信链路发送初始化信号。For example, after the on-chip component sends an initialization signal to the communication link, it waits for the serializer to return the handshake signal to the second interrupt (such as INT2) pin of the on-chip component. If the INT2 pin of the on-chip component obtains the handshake signal, the communication link is determined. If the communication link is successfully initialized, the communication link returns to normal, and the initialization signal is stopped being sent to the communication link.
在一些具体实施例中,所述片上组件配置为所述判断是否获取所述显示装置基于所述初始化信号返回的握手信号之后,还包括:当未获取所述显示装置基于所述初始化信号返回的握手信号时,所述通信链路的连续初始化次数加一。In some specific embodiments, the on-chip component is configured to, after determining whether to obtain the handshake signal returned by the display device based on the initialization signal, further include: when the handshake signal returned by the display device based on the initialization signal is not obtained. During the handshake signal, the number of consecutive initializations of the communication link is increased by one.
连续初始化次数,可以理解为,在获得修复链路信号后,在所述通信链路恢复正常通信前,每次对通信链路发送初始化信号的累计次数。当片上组件发送初始化信号中断时,表明所述通信链路恢复正常通信。只要连续发送初始化信号,则表明通信链路未恢复正常通信。每次发送初始化信号前,连续初始化次数均加一。连续初始化次数的初始值为零。The number of consecutive initializations can be understood as the cumulative number of initialization signals sent to the communication link each time after the repair link signal is obtained and before the communication link resumes normal communication. When the initialization signal sent by the on-chip component is interrupted, it indicates that the communication link resumes normal communication. As long as the initialization signal is continuously sent, it indicates that the communication link has not resumed normal communication. Before each initialization signal is sent, the number of consecutive initializations is increased by one. The initial value for the number of consecutive initializations is zero.
例如,预设初始化次数为3,通信链路的连续初始化次数为零;如果片上组件第一次发送初始化信号后,片上组件的INT2管脚未获得握手信号,则确定通信链路初始化失败,通信链路仍然异常,通信链路的连续初始化次数加一,即通信链路的连续初始化次数为1;如果片上组件第二次发送初始化信号后,片上组件的INT2管脚仍未获得握手信号,则确定通信链路初始化失败,通信链路仍然异常,通信链路的连续初始化次数加一,即通信链路的连续初始化次数为2;如果片上组件第三次发送初始化信号后,片上组件的INT2管脚仍未获得握手信号,则确定通信链路初始化失败,通信链路仍然异常,通信链路的连续初始化次数加一,即通信链路的连续初始化次数为3;如果通信链路的连续初始化次数大于预设初始化次数,则停止对所述通信链路发送初始化信号;如果片上组件第三次发送初始化信号后,片上组件的INT2管脚获得握手信号,则确定通信链路初始化成功,通信链路恢复正常,停止对所述通信链路发送初始化信号。For example, the default number of initializations is 3, and the number of consecutive initializations of the communication link is zero; if the INT2 pin of the on-chip component does not receive a handshake signal after the on-chip component sends an initialization signal for the first time, it is determined that the communication link initialization failed and the communication The link is still abnormal, and the number of continuous initializations of the communication link is increased by one, that is, the number of continuous initializations of the communication link is 1; if the INT2 pin of the on-chip component has not received the handshake signal after the on-chip component sends the initialization signal for the second time, then It is determined that the communication link initialization failed and the communication link is still abnormal. The number of continuous initializations of the communication link is increased by one, that is, the number of continuous initializations of the communication link is 2; if the on-chip component sends an initialization signal for the third time, the INT2 pipe of the on-chip component If the handshake signal has not been obtained, it is determined that the communication link initialization failed and the communication link is still abnormal. The number of continuous initializations of the communication link is increased by one, that is, the number of continuous initializations of the communication link is 3; if the number of continuous initializations of the communication link is is greater than the preset number of initializations, stop sending initialization signals to the communication link; if the INT2 pin of the on-chip component obtains a handshake signal after the on-chip component sends an initialization signal for the third time, it is determined that the communication link is successfully initialized and the communication link Return to normal and stop sending initialization signals to the communication link.
在一些具体实施例中,所述片上组件还配置为:响应于接收到所述修复链路信号,当所述通信链路的连续初始化次数大于预设初始化次数时,向所述处理组件发送修复失败信号。In some specific embodiments, the on-chip component is further configured to: in response to receiving the repair link signal, when the number of consecutive initializations of the communication link is greater than a preset number of initializations, send a repair to the processing component Failure signal.
所述处理组件,还配置为:响应于接收到所述片上组件发送的修复失败信号,向所述片上组件发送所述片上组件的重置信号,触发所述片上组件重置,以便恢复所述通信链路的正常通信。The processing component is further configured to: in response to receiving the repair failure signal sent by the on-chip component, send a reset signal of the on-chip component to the on-chip component, triggering the on-chip component to reset, so as to restore the on-chip component. Normal communication of the communication link.
在本具体实施例中,当通过初始化加串器与所述解串器的通信链路无法修复该通信链路时,片上组件通知处理组件修复失败信号。例如,片上组件通过SPI通知处理组件修复失败信号。In this specific embodiment, when the communication link between the serializer and the deserializer cannot be repaired by initializing the communication link, the on-chip component notifies the processing component of the repair failure signal. For example, the on-chip component notifies the processing component of the repair failure signal through SPI.
处理组件基于所述修复失败信号向所述片上组件发送重置信号,重置片上组件,以恢复所述通信链路的正常通信。The processing component sends a reset signal to the on-chip component based on the repair failure signal to reset the on-chip component to restore normal communication of the communication link.
在一些具体实施例中,所述片上组件还配置为:当获取所述握手信号后,周期性请求所述显示装置返回当前屏幕的显示信息和所述显示信息的第一校验信息;基于所述当前屏幕的预存显示信息生成第二校验信息;当所述第二校验信息不等于所述第一校验信息时,重新发送当前屏幕的预存显示信息。In some specific embodiments, the on-chip component is further configured to: after acquiring the handshake signal, periodically request the display device to return the display information of the current screen and the first verification information of the display information; based on the The pre-stored display information of the current screen generates second verification information; when the second verification information is not equal to the first verification information, the pre-stored display information of the current screen is re-sent.
在本具体实施例中,获得所述握手信号,能够确定通信链路初始化成功,通信链路恢复正常。则验证当前屏幕的显示信息是否正常。片上组件周期性的向显示装置的显示处理器发送屏幕诊断请求。显示处理器从当前屏幕获取显示信息,基于预设校验规则生成当前屏幕显示信息的第一校验信息。显示处理器将当前屏幕的显示信息和所述显示信息的第一校验信息打包传送给片上组件。例如,如果当前屏幕的显示信息存在异常,生成的第一校验信息也存在异常;如果当前屏幕的显示信息正常,生成的第一校验信息也正常。In this specific embodiment, obtaining the handshake signal can determine that the communication link is successfully initialized and the communication link returns to normal. Then verify whether the displayed information on the current screen is normal. The on-chip component periodically sends screen diagnostic requests to the display processor of the display device. The display processor obtains display information from the current screen and generates first verification information of the current screen display information based on preset verification rules. The display processor packages and transmits the display information of the current screen and the first verification information of the display information to the on-chip component. For example, if the display information on the current screen is abnormal, the generated first verification information is also abnormal; if the display information on the current screen is normal, the generated first verification information is also normal.
片上组件将当前屏幕的正常显示信息(即预存显示信息)预先保存起来,基于预设校验规则生成预存显示信息的第二校验信息。通过第二校验信息与第一校验信息的对比,确定当前屏幕是否正常显示。如果第二校验信息与第一校验信息不等,则当前屏幕显示异常,重新发送当前屏幕的预存显示信息,使当前屏幕恢复正常显示;如果第二校验信息与第一校验信息相等,则当前屏幕显示正常。The on-chip component pre-saves the normal display information of the current screen (ie, the pre-stored display information), and generates the second verification information of the pre-stored display information based on the preset verification rules. By comparing the second verification information with the first verification information, it is determined whether the current screen is displayed normally. If the second verification information is not equal to the first verification information, the current screen display is abnormal, and the pre-stored display information of the current screen is resent to restore the current screen to normal display; if the second verification information is equal to the first verification information , then the current screen displays normally.
本具体实施例通过片上组件对当前屏幕的显示信息进行周期性验证,保证了当前屏幕显示信息的正确性。避免显示异常造成车辆安全行驶隐患。This specific embodiment uses on-chip components to periodically verify the display information on the current screen, ensuring the correctness of the information displayed on the current screen. Avoid display abnormalities that may cause safety hazards to the vehicle.
本申请还提供了承接上述实施例的方法实施例,用于实现如上实施例所述系统的操作,基于相同的名称含义的解释与如上实施例相同,具有与如上实施例相同的技术效果,此处不再赘述。This application also provides method embodiments that inherit the above embodiments and are used to implement the operation of the system described in the above embodiments. The explanations based on the same meanings of the names are the same as the above embodiments and have the same technical effects as the above embodiments. No further details will be given.
如图3所示,本申请提供一种屏幕自修复方法,包括:As shown in Figure 3, this application provides a screen self-repair method, including:
步骤S301,从座舱域控制装置的加串器获取异常反馈信息;Step S301, obtain abnormal feedback information from the serializer of the cockpit domain control device;
步骤S302,响应于从座舱域控制装置的加串器获取异常反馈信息,当连续初始化次数小于或等于预设初始化次数时,对所述加串器与显示装置的解串器的通信链路反复发送初始化信号,直至所述通信链路恢复正常通信,其中,所述连续初始化次数是指向所述通信链路连续发送初始化信号的累计次数。Step S302, in response to obtaining abnormal feedback information from the serializer of the cockpit domain control device, when the number of consecutive initializations is less than or equal to the preset number of initializations, repeat the communication link between the serializer and the deserializer of the display device. An initialization signal is sent until the communication link resumes normal communication, where the number of consecutive initializations refers to the cumulative number of times initialization signals are continuously sent to the communication link.
本申请实施例从座舱域控制装置的加串器获取异常反馈信息;响应于从座舱域控制装置的加串器获取异常反馈信息,当连续初始化次数小于或等于预设初始化次数时,对所述加串器与显示装置的解串器的通信链路反复发送初始化信号,直至所述通信链路恢复正常通信,从而在通信链路出现问题时,使所述通信链路能够在短期内恢复正常的通信,保证显示装置能够在短期内恢复显示正常的信息。避免显示异常造成车辆安全行驶隐患。The embodiment of the present application obtains abnormal feedback information from the serializer of the cockpit domain control device; in response to obtaining abnormal feedback information from the serializer of the cockpit domain control device, when the number of consecutive initializations is less than or equal to the preset number of initializations, the The communication link between the serializer and the deserializer of the display device repeatedly sends an initialization signal until the communication link resumes normal communication, so that when a problem occurs in the communication link, the communication link can return to normal in a short period of time. communication to ensure that the display device can resume displaying normal information in a short period of time. Avoid display abnormalities that may cause safety hazards to the vehicle.
本实施例提供一种电子设备,所述电子设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如上实施例所述的方法步骤。This embodiment provides an electronic device. The electronic device includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores information that can be executed by the one processor. instructions, which are executed by the at least one processor, so that the at least one processor can perform the method steps described in the above embodiments.
本申请实施例提供了一种非易失性计算机存储介质,所述计算机存储介质存储有计算机可执行指令,该计算机可执行指令可执行如上实施例所述的方法步骤。Embodiments of the present application provide a non-volatile computer storage medium that stores computer-executable instructions, and the computer-executable instructions can execute the method steps described in the above embodiments.
最后应说明的是:本说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。Finally, it should be noted that each embodiment in this specification is described in a progressive manner. Each embodiment focuses on its differences from other embodiments. The same and similar parts between various embodiments can be referred to each other.
以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。The above embodiments are only used to illustrate the technical solution of the present application, but not to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still make changes to the foregoing embodiments. Modifications may be made to the recorded technical solutions, or equivalent substitutions may be made to some of the technical features; however, these modifications or substitutions shall not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311243032.XA CN117395133A (en) | 2023-09-25 | 2023-09-25 | Screen self-repairing system, method, medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202311243032.XA CN117395133A (en) | 2023-09-25 | 2023-09-25 | Screen self-repairing system, method, medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN117395133A true CN117395133A (en) | 2024-01-12 |
Family
ID=89465720
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202311243032.XA Pending CN117395133A (en) | 2023-09-25 | 2023-09-25 | Screen self-repairing system, method, medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN117395133A (en) |
-
2023
- 2023-09-25 CN CN202311243032.XA patent/CN117395133A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112655200B (en) | A kind of signal transmission method and device | |
US10621797B2 (en) | System and method for transferring diagnostic commands to a vehicle | |
CN103616886B (en) | One realizes the parallel vehicle diagnosis method of multi-path and automotive diagnostic installation | |
CN111976623B (en) | Chassis domain controller for intelligent car, vehicle control method and vehicle | |
CN105703991B (en) | Local interconnect network system and method | |
US20160134553A1 (en) | Flexible scheduling method and apparatus in lin communication | |
CN113400937A (en) | Vehicle entertainment information display system and vehicle | |
US10007570B2 (en) | Monitoring unit, control system, and computer readable medium | |
CN109947083A (en) | A kind of terminal device for entire vehicle electrical system detection | |
US10762029B2 (en) | Electronic apparatus and detection method using the same | |
CN105868060B (en) | Method for operating a data processing unit of a driver assistance system and data processing unit | |
CN115396292B (en) | Vehicle-mounted network recovery method, system, electronic equipment and storage medium | |
CN114879633A (en) | Diagnostic instrument, fault diagnosis method of electronic control system and readable storage medium | |
CN117395133A (en) | Screen self-repairing system, method, medium and electronic equipment | |
KR20090000008A (en) | Collision avoidance system and method for diagnosis terminal period in vehicle diagnosis | |
KR101165398B1 (en) | multifunctional vehicle bus tester | |
CN115543758A (en) | Safety interface display method and device of instrument, vehicle and storage medium | |
CN116166354A (en) | Secure icon display method and device, terminal equipment and storage medium | |
JP2022080346A (en) | Vehicle control system, abnormality detection method and abnormality detection program for vehicle control system | |
CN116094865B (en) | A communication system in a vehicle, a data communication method and a terminal device | |
CN220325632U (en) | Monitoring system | |
CN117318745B (en) | A display system, method, medium and electronic device | |
CN118372660A (en) | Signal processing method, system, equipment and medium | |
CN116945900A (en) | Display method of vehicle indicator lamp | |
CN116841272A (en) | Alarm system and method for cabin domain controller |
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 |