[go: up one dir, main page]

CN114840460A - Hot plug processing method, storage medium, electronic device and processing system - Google Patents

Hot plug processing method, storage medium, electronic device and processing system Download PDF

Info

Publication number
CN114840460A
CN114840460A CN202110145519.9A CN202110145519A CN114840460A CN 114840460 A CN114840460 A CN 114840460A CN 202110145519 A CN202110145519 A CN 202110145519A CN 114840460 A CN114840460 A CN 114840460A
Authority
CN
China
Prior art keywords
hot plug
register
value
processing method
deserializer
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.)
Granted
Application number
CN202110145519.9A
Other languages
Chinese (zh)
Other versions
CN114840460B (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.)
Shanghai Pateo Network Technology Service Co Ltd
Original Assignee
Shanghai Pateo Network Technology Service 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 Shanghai Pateo Network Technology Service Co Ltd filed Critical Shanghai Pateo Network Technology Service Co Ltd
Priority to CN202110145519.9A priority Critical patent/CN114840460B/en
Publication of CN114840460A publication Critical patent/CN114840460A/en
Application granted granted Critical
Publication of CN114840460B publication Critical patent/CN114840460B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4063Device-to-bus coupling
    • G06F13/4068Electrical coupling
    • G06F13/4081Live connection to bus, e.g. hot-plugging
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a hot plug processing method, a storage medium, electronic equipment and a processing system, wherein the hot plug processing method is applied to an interface circuit displayed on a screen, and the interface circuit comprises a serializer and a deserializer; the interface circuit is connected with the screen display equipment; the hot plug processing method comprises the following steps: acquiring a connection state value in a first register and an initial value state in a second register; the first register is a preset register in the serializer, and the second register is a preset register in the deserializer; judging whether the interface circuit is hot-plugged according to the connection state value and the initial value state; and if hot plug occurs, initializing the deserializer and the screen display equipment. The invention can detect the hot plug state in a polling mode on the basis of not increasing the hardware cost, so that the replaced screen can be normally used under the condition that the vehicle machine is not restarted.

Description

Hot plug processing method, storage medium, electronic device and processing system
Technical Field
The invention belongs to the technical field of screen display, relates to a hot plug processing method, and particularly relates to a hot plug processing method, a storage medium, an electronic device and a processing system.
Background
For a device display system, a screen needs to be changed frequently in certain application occasions, and hot plug operation is required. However, in the normal operation state, the screen cannot be immediately lighted and used after hot plugging, and the device must be restarted to restore the parameter settings of the device display system to the normal operation state.
Therefore, when the screen is replaced more times, for example, screen testing is performed in the factory production process or screen problem troubleshooting is performed in the after-sale process of a client site, the operation is complicated due to frequent starting of equipment, a certain time is occupied due to repeated restarting, and the improvement of the production efficiency and the screen display application experience of the client site are not facilitated to a certain extent.
Therefore, how to provide a hot plug processing method, a storage medium, an electronic device and a processing system to solve the defects that the prior art cannot realize quick display of a hot plugged screen without restarting the device becomes a technical problem to be solved by those skilled in the art.
Disclosure of Invention
In view of the above-mentioned shortcomings of the prior art, it is an object of the present invention to provide a hot plug processing method, a storage medium, an electronic device and a processing system, which are advantageous in that a fast display of a hot-plugged screen can be realized without restarting the device.
Another object of the present invention is to provide a hot plug processing method, a storage medium, an electronic device and a processing system, which are advantageous in that a hot plug status can be detected in a polling manner without increasing hardware cost.
Another object of the present invention is to provide a hot plug processing method, a storage medium, an electronic device, and a processing system, which are advantageous in that a hot plug state of a screen is accurately determined by simultaneously detecting a serializer specific register and a deserializer specific register.
Another object of the present invention is to provide a hot plug processing method, a storage medium, an electronic device and a processing system, which are advantageous in that a register with a value changing before and after hot plug is selected as a second register in a deserializer, so as to provide hot plug status information during polling detection.
Another object of the present invention is to provide a hot plug processing method, a storage medium, an electronic device, and a processing system, which are advantageous in that the initialization operation performed when restarting the device is replaced by the initialization operation automatically performed after determining hot plug, thereby avoiding frequent multiple starts of the device during hot plug.
Another object of the present invention is to provide a hot plug processing method, a storage medium, an electronic device and a processing system, which are advantageous in that the hot plug processing method can be immediately turned on and used after the hot plug of the screen, thereby avoiding the tedious operations caused by frequently starting the device, saving the time occupied by the restart, improving the production efficiency to a certain extent and improving the on-screen display application experience of the client site.
In order to achieve the above and other related objects, an aspect of the present invention provides a hot plug processing method, which is applied to an interface circuit for screen display, where the interface circuit includes a serializer and a deserializer; the interface circuit is connected with the screen display equipment; the hot plug processing method comprises the following steps: acquiring a connection state value in a first register and an initial value state in a second register; the first register is a preset register in the serializer, and the second register is a preset register in the deserializer; judging whether the interface circuit is hot-plugged according to the connection state value and the initial value state; and if hot plug occurs, initializing the deserializer and the screen display equipment.
To achieve the above and other related objects, another aspect of the present invention provides a computer-readable storage medium having stored thereon a computer program, which, when executed by a processor, implements the hot plug processing method.
To achieve the above and other related objects, a further aspect of the present invention provides an electronic device, comprising: a processor and a memory; the memory is used for storing computer programs, and the processor is used for executing the computer programs stored in the memory so as to enable the electronic equipment to execute the hot plug processing method.
To achieve the above and other related objects, a last aspect of the present invention provides a hot plug processing system, comprising: the system comprises vehicle-mounted central control equipment, an interface circuit and screen display equipment; the interface circuit is used for connecting the vehicle-mounted central control equipment and the screen display equipment to realize screen display; the interface circuit comprises a serializer and a deserializer; an operating system runs in the vehicle-mounted central control equipment, a kernel thread is arranged in the operating system, and the following steps are executed when the kernel thread runs: acquiring a connection state value in a first register and an initial value state in a second register; the first register is a preset register in the serializer, and the second register is a preset register in the deserializer; judging whether the interface circuit is hot-plugged according to the connection state value and the initial value state; and if hot plug occurs, initializing the deserializer and the screen display equipment.
Drawings
Fig. 1 is a diagram illustrating an application scenario of the hot plug processing method according to an embodiment of the present invention.
FIG. 2 is a schematic flow chart illustrating a hot plug processing method according to an embodiment of the invention.
FIG. 3 is a flowchart illustrating hot plug determination according to an embodiment of a hot plug processing method of the present invention.
FIG. 4 is a flowchart illustrating an initialization operation of a hot plug processing method according to an embodiment of the invention.
FIG. 5 is a flowchart illustrating an application of a hot plug processing method according to an embodiment of the invention.
Fig. 6 is a schematic structural connection diagram of an electronic device according to an embodiment of the invention.
FIG. 7 is a schematic diagram illustrating a hot plug processing system according to an embodiment of the invention.
Description of the element reference numerals
6 electronic device
61 processor
62 memory
7 hot plug processing system
71 vehicle-mounted central control equipment
72 interface circuit
721 serializer
722 deserializer
73 screen display device
S21-S23
S221 to S223 steps
S231 to S233
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the drawings only show the components related to the present invention rather than the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
The hot plug processing method, the storage medium, the electronic equipment and the processing system can detect the hot plug state in a polling mode on the basis of not increasing hardware cost, so that the replaced screen can be normally used under the condition that the vehicle machine is not restarted.
The principle and implementation of a hot plug processing method, a storage medium, an electronic device and a processing system according to the present embodiment will be described in detail below with reference to fig. 1 to 7, so that those skilled in the art can understand the hot plug processing method, the storage medium, the electronic device and the processing system according to the present embodiment without creative work.
Please refer to fig. 1, which is a diagram illustrating an application scenario of the hot plug processing method according to an embodiment of the present invention. As shown in fig. 1, the device display system is exemplified by a car-mounted display system, a video serializer and a deserializer chip are used as a transmission chip between a car-mounted device and a display screen, LVDS (Low-Voltage Differential Signaling) video data signals of a car-mounted central control device (or called a car-mounted central control entertainment system) are transmitted to the display screen through the serializer and the deserializer, and other control signals such as I2C (Inter-Integrated Circuit, two-wire serial bus), GPIO (General-purpose input/output) and interrupts can be transmitted by using a bidirectional transmission manner. In the video data transmission process, the serializer receives a clock signal of the vehicle-mounted central control device, and the deserializer transmits the clock signal to a display screen, namely screen display equipment.
Please refer to fig. 2, which is a schematic flow chart illustrating a hot plug processing method according to an embodiment of the invention. The hot plug processing method is applied to an interface circuit of screen display, and the interface circuit comprises a serializer and a deserializer; the interface circuit is connected with the screen display device. As shown in fig. 2, the hot plug processing method specifically includes the following steps:
s21, acquiring a connection state value in the first register and an initial value state in the second register; the first register is a preset register in the serializer, and the second register is a preset register in the deserializer.
In an embodiment, the connection state value and the initial value state are polled at preset time intervals.
Specifically, the registers preset in the serializer chip are 0x0c registers, and the 0x0c register is an 8-bit register, that is, 7:0 bits, where the 0 bit represents a value of a connection state, and when the value is detected to be 0, it represents that no connection is established, and when the value is 1, it represents that connection is established.
Specifically, the registers preset in the deserializer chip are 0x07 registers, the 0x07 register is an 8-bit register, that is, 7:0 bits, when the deserializer is initialized, the I2C address of the serializer (0x0c, low 7 bits, 0x18, all 8 bits) is set through the 0x07 register, if hot plugging occurs, the deserializer is powered off, and the 0x07 register is reset to a default value (0x 00). Therefore, the register with the numerical value changing before and after hot plug is selected as the second register in the deserializer, and hot plug state information is provided during polling detection.
Further, I2C address 0x0c is 7 bits, 0001100, is a 7-bit value of 0x07 register 6:0, shifts 0x0c left by 1 bit, becomes 00011000, 0x18, and takes 0x18 as an initial value.
And S22, judging whether the interface circuit is hot-plugged according to the connection state value and the initial value state.
Please refer to fig. 3, which is a flowchart illustrating hot plug determination performed by the hot plug processing method according to an embodiment of the present invention. As shown in fig. 3, S22 includes the steps of:
s221, judging whether the connection state value and the initial value state meet the hot plug condition.
Specifically, the corresponding value on bit 0 of the serializer 0x0c register is determined, and the value in the deserializer 0x07 register is determined.
And S222, if the hot plug condition is met, determining that hot plug occurs.
Specifically, if the corresponding value on bit 0 of the serializer 0x0c register is 1 and the value in the deserializer 0x07 register is not 0x18, it is determined that hot-plugging occurs.
And S223, if the hot plug condition is not satisfied, determining that hot plug does not occur.
Specifically, if the corresponding value on the 0 bit of the serializer 0x0c register is 0, or the value in the deserializer 0x07 register is 0x18, it is determined that hot plug has not occurred.
In one embodiment, the hot-plug condition is: the connection state value changes and the initial value state changes. Therefore, the hot plug state of the screen is accurately judged by simultaneously detecting the specific register of the serializer and the specific register of the deserializer.
Specifically, the changing of the connection state value includes: the connection state value is changed from a first state value to a second state value; wherein the first state value indicates that a connection is not established and the second state value indicates that a connection is established. I.e., the corresponding value in the 0 bit of the serializer 0x0c register changes from the first state value 0 to the second state value 1.
Specifically, the changing of the initial value state includes: from the initial value to the default value. In practical applications, the initial value in the deserializer 0x07 register is 0x18, and after hot plug, the deserializer 0x07 register is restored to the default value (i.e. default value) 0x 00.
And S23, if hot plug happens, initializing the deserializer and the screen display device. Therefore, the invention replaces the initialization operation executed when the equipment is restarted by judging the initialization operation automatically executed after hot plug, thereby avoiding the frequent starting of the equipment for many times during hot plug.
The screen display device comprises a touch screen device and a backlight device.
Referring to fig. 4, a flowchart of an initialization operation of a hot plug processing method according to an embodiment of the invention is shown. As shown in fig. 4, the initialization operation of the screen display device includes the steps of:
and S231, initializing the deserializer.
S232, perform initialization operation on the touch screen device, specifically, perform initialization operation on version information, interrupt processing information, and auxiliary interface information of the touch screen device.
S233, performing an initialization operation on the backlight device, specifically, performing an initialization operation on a backlight value of the backlight device.
Specifically, the initializing operation of the screen display device includes: the method comprises the steps of checking TP (touch Panel) versions, determining whether TP firmware needs to be upgraded, registering TP interrupt processing functions (when touch TP occurs, reported values are read in the interrupt processing functions through interrupt reporting), and auxiliary interfaces under screen display equipment systems (certain states of TP can be acquired through the auxiliary interface interfaces). Sending a backlight test command to the backlight equipment to confirm that the backlight equipment works normally; and restoring the backlight value before the last hot plug so as to light up the screen.
It should be noted that, in addition to the main initialization operations described in the above steps S231 to S233, the present invention further includes initialization operations and running state tests of relevant registers and relevant device components for enabling the deserializer and the screen display device to work normally.
Further, before initializing the touch device and the backlight device, it may be determined whether initialization of version information, interrupt processing information, and auxiliary interface information of the touch screen device has been completed, and if so, re-initialization of the version information, interrupt processing information, and auxiliary interface information of the touch screen device is not required; and judging whether the testing of the working state of the backlight equipment is finished or not, if so, testing the working state of the backlight equipment again is not needed.
In practical applications, during hot plug, if the TP and the backlight are not initialized (for example, the host is powered on first and then the screen is plugged), the TP version is checked to determine whether to upgrade the TP firmware, register the TP interrupt handling function, and register the auxiliary interface. Sending a backlight test command to the backlight equipment to confirm that the backlight equipment works normally; and restoring the backlight value before the last hot plug so as to light up the screen. If the original vehicle-mounted central control equipment and the screen display equipment are started after being connected, at the moment, after hot plug, whether the initialization operation is carried out or not can be judged, if TP and backlight finish the initialization operation, the initialization operation does not need to be carried out again, and the backlight value before hot plug can be directly recovered. However, it should be noted that the deserializer needs to be initialized again as long as hot-plugging occurs.
Please refer to fig. 5, which is a flowchart illustrating an application of a hot plug processing method according to an embodiment of the present invention. As shown in fig. 5, the hot plug processing method is applied to the in-vehicle device, after the in-vehicle device is started, a hot plug kernel thread is executed, the states of the specific registers in the serializer and the deserializer chip are detected every 2s by polling, if the specific register of the serializer indicates that connection is established and the value of the specific register of the deserializer is not an initial value, if both conditions are met, hot plug is determined to occur, the deserializer, the TP and the backlight device are reinitialized, and polling detection is continued after reinitialization is completed and the screen is normally displayed. If at least one condition is not met, judging that hot plug does not occur, and returning to execute polling detection operation.
The protection scope of the hot plug processing method according to the present invention is not limited to the execution sequence of the steps illustrated in this embodiment, and all the solutions implemented by adding, subtracting, and replacing the steps in the prior art according to the principles of the present invention are included in the protection scope of the present invention.
The present embodiment provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the hot plug processing method as described in fig. 1 to fig. 1. The hot plug processing method comprises the following steps: acquiring a connection state value in a first register and an initial value state in a second register; the first register is a preset register in the serializer, and the second register is a preset register in the deserializer; judging whether the interface circuit is hot-plugged according to the connection state value and the initial value state; and if hot plug occurs, initializing the deserializer and the screen display equipment.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the above method embodiments may be performed by hardware associated with a computer program. The aforementioned computer program may be stored in a computer readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned computer-readable storage media comprise: various computer storage media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Please refer to fig. 6, which is a schematic structural connection diagram of an electronic device according to an embodiment of the present invention. As shown in fig. 6, the present embodiment provides an electronic device 6, which specifically includes: a processor 61 and a memory 62; the memory 62 is configured to store a computer program, and the processor 61 is configured to execute the computer program stored in the memory 62, so as to enable the electronic device 6 to execute the steps of the hot plug processing method.
The Processor 61 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware component. The processor 61 is configured to execute a computer program corresponding to the hot plug processing method described in fig. 1 to fig. 1. The hot plug processing method comprises the following steps: acquiring a connection state value in a first register and an initial value state in a second register; the first register is a preset register in the serializer, and the second register is a preset register in the deserializer; judging whether the interface circuit is hot-plugged according to the connection state value and the initial value state; and if hot plug occurs, initializing the deserializer and the screen display equipment.
The Memory 62 may include a Random Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The memory 62 is used for storing computer programs corresponding to the hot plug processing methods described in fig. 1 to fig. 1. The hot plug processing method comprises the following steps: acquiring a connection state value in a first register and an initial value state in a second register; the first register is a preset register in the serializer, and the second register is a preset register in the deserializer; judging whether the interface circuit is hot-plugged according to the connection state value and the initial value state; and if hot plug occurs, initializing the deserializer and the screen display equipment.
In practical applications, the electronic device may be a computer including all or part of the components of a memory, a memory controller, one or more processing units (CPUs), a peripheral interface, RF circuits, audio circuits, speakers, a microphone, an input/output (I/O) subsystem, a display screen, other output or control devices, and an external port, which may be used for plugging in and out a screen display; the computer includes, but is not limited to, a Personal computer such as a desktop computer, a notebook computer, a tablet computer, a smart phone, a smart television, a Personal Digital Assistant (PDA), and the like, and the electronic device may also be a vehicle end or a smart glasses, a smart watch, or other wearable device. In other embodiments, the electronic device may also be a server, where the server may be arranged on one or more entity servers according to various factors such as functions and loads, or may be a cloud server formed by a distributed or centralized server cluster, which is not limited in this embodiment.
Please refer to fig. 7, which is a schematic diagram illustrating a hot plug processing system according to an embodiment of the present invention. As shown in fig. 7, the hot plug processing system 7 according to the present invention includes: an in-vehicle center control device 71, an interface circuit 72, and a screen display device 73; the interface circuit 72 is used for connecting the vehicle-mounted central control device 71 and the screen display device 73 to realize screen display; the interface circuit 72 includes a serializer 721 and a deserializer 722.
An operating system runs in the vehicle-mounted central control device 71, and a kernel thread is set in the operating system. Specifically, the operating system is loaded in an i.mx application processor of the in-vehicle center control device 71.
The kernel thread executes the following steps when running:
(1) acquiring a connection state value in a first register and an initial value state in a second register; the first register is a register preset in the serializer 721, and the second register is a register preset in the deserializer 722.
(2) And judging whether the interface circuit 72 generates hot plug according to the connection state value and the initial value state.
(3) If hot plug happens, the deserializer 722 and the screen display device 73 are initialized.
The principle of the hot plug processing system of the present invention corresponds to the hot plug processing method one to one, and the hot plug processing system of the present invention can implement the hot plug processing method of the present invention, but the implementation apparatus of the hot plug processing method of the present invention includes, but is not limited to, the structure of the hot plug processing system as illustrated in this embodiment, and all structural modifications and substitutions in the prior art made according to the principle of the present invention are included in the protection scope of the present invention.
In summary, the hot plug processing method, the storage medium, the electronic device and the processing system according to the present invention can enable the screen after hot plug to be displayed quickly without restarting the device. The hot plug state can be detected in a polling mode on the basis of not increasing the hardware cost. The hot plug state of the screen is accurately judged by simultaneously detecting the specific registers of the serializer and the deserializer. And selecting a register with a changed value before and after hot plug as a second register in the deserializer so as to provide hot plug state information during polling detection. The initialization operation executed when the equipment is restarted is replaced by the initialization operation automatically executed after the hot plug is judged, and therefore the equipment is prevented from being frequently started for many times during the hot plug. The screen can be immediately lightened and used after hot plugging, so that the complex operation caused by frequently starting the equipment is avoided, the time occupied by restarting is saved, the production efficiency is improved to a certain extent, and the screen display application experience of a client site is improved. The invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (9)

1. A hot plug processing method is characterized in that the method is applied to an interface circuit of a screen display, wherein the interface circuit comprises a serializer and a deserializer; the interface circuit is connected with the screen display equipment; the hot plug processing method comprises the following steps:
acquiring a connection state value in a first register and an initial value state in a second register; the first register is a preset register in the serializer, and the second register is a preset register in the deserializer;
judging whether the interface circuit is hot-plugged according to the connection state value and the initial value state;
and if hot plug occurs, initializing the deserializer and the screen display equipment.
2. A method for hot plug processing according to claim 1, wherein the obtaining of the connection status value in the first register and the initial value status in the second register comprises:
and polling and detecting the connection state value and the initial value state according to a preset time interval.
3. A hot plug processing method according to claim 1, wherein said determining whether hot plug occurs in the interface circuit based on the connection status value and the initial value status comprises:
judging whether the connection state value and the initial value state meet the hot plug condition or not;
if the hot plug condition is met, determining that hot plug occurs; if the hot plug condition is not met, determining that hot plug does not occur; the hot plug condition is as follows: the connection state value changes and the initial value state changes.
4. A hot plug processing method according to claim 3, wherein the change in the connection status value comprises: the connection state value is changed from a first state value to a second state value; wherein the first state value indicates that a connection is not established and the second state value indicates that a connection is established.
5. A hot plug processing method according to claim 3, wherein the changing of the initial value state comprises: from the initial value to the default value.
6. The hot plug processing method according to claim 1, wherein the screen display device comprises a touch screen device and a backlight device; the initialization operation of the screen display device comprises the following steps:
initializing version information, interrupt processing information and auxiliary interface information of the touch screen equipment;
and initializing the backlight value of the backlight equipment.
7. A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the hot plug processing method of any of claims 1 to 6.
8. An electronic device, comprising: a processor and a memory;
the memory is used for storing computer programs, and the processor is used for executing the computer programs stored by the memory so as to enable the electronic equipment to execute the hot plug processing method according to any one of claims 1 to 6.
9. A hot plug processing system, comprising: the system comprises vehicle-mounted central control equipment, an interface circuit and screen display equipment; the interface circuit is used for connecting the vehicle-mounted central control equipment and the screen display equipment to realize screen display; the interface circuit comprises a serializer and a deserializer;
an operating system runs in the vehicle-mounted central control equipment, a kernel thread is arranged in the operating system, and the following steps are executed when the kernel thread runs:
acquiring a connection state value in a first register and an initial value state in a second register; the first register is a preset register in the serializer, and the second register is a preset register in the deserializer;
judging whether the interface circuit is hot-plugged according to the connection state value and the initial value state;
and if hot plug occurs, initializing the deserializer and the screen display equipment.
CN202110145519.9A 2021-02-02 2021-02-02 Hot plug processing method, storage medium, electronic equipment and processing system Active CN114840460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110145519.9A CN114840460B (en) 2021-02-02 2021-02-02 Hot plug processing method, storage medium, electronic equipment and processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110145519.9A CN114840460B (en) 2021-02-02 2021-02-02 Hot plug processing method, storage medium, electronic equipment and processing system

Publications (2)

Publication Number Publication Date
CN114840460A true CN114840460A (en) 2022-08-02
CN114840460B CN114840460B (en) 2024-05-31

Family

ID=82562194

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110145519.9A Active CN114840460B (en) 2021-02-02 2021-02-02 Hot plug processing method, storage medium, electronic equipment and processing system

Country Status (1)

Country Link
CN (1) CN114840460B (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030167367A1 (en) * 2001-12-19 2003-09-04 Kaushik Shivnandan D. Hot plug interface control method and apparatus
US20060280055A1 (en) * 2005-06-08 2006-12-14 Miller Rodney D Laser power control and device status monitoring for video/graphic applications
US20090132798A1 (en) * 2007-11-16 2009-05-21 Asustek Computer Inc. Electronic device and method for resuming from suspend-to-memory state thereof
CN102339236A (en) * 2010-07-21 2012-02-01 英业达股份有限公司 Method for detecting pluggable storage device and electronic device
CN203387617U (en) * 2013-08-05 2014-01-08 深圳市道通科技有限公司 Plug-and-play miniature high-definition monitoring device
CN103546741A (en) * 2013-10-28 2014-01-29 乐视致新电子科技(天津)有限公司 Hot plugging detection method and device
CN104731741A (en) * 2013-12-23 2015-06-24 研祥智能科技股份有限公司 Hot plugging implementing method and system
CN107357754A (en) * 2017-07-19 2017-11-17 郑州云海信息技术有限公司 Method for electrically under a kind of PCIE device hot plug of optimization
CN109634807A (en) * 2018-12-04 2019-04-16 郑州云海信息技术有限公司 A kind of method for managing and monitoring and device of hot-plug equipment
CN111581144A (en) * 2020-03-24 2020-08-25 惠州市德赛西威智能交通技术研究院有限公司 Vehicle-mounted camera hot-plug self-recovery method and device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030167367A1 (en) * 2001-12-19 2003-09-04 Kaushik Shivnandan D. Hot plug interface control method and apparatus
US20060280055A1 (en) * 2005-06-08 2006-12-14 Miller Rodney D Laser power control and device status monitoring for video/graphic applications
US20090132798A1 (en) * 2007-11-16 2009-05-21 Asustek Computer Inc. Electronic device and method for resuming from suspend-to-memory state thereof
CN102339236A (en) * 2010-07-21 2012-02-01 英业达股份有限公司 Method for detecting pluggable storage device and electronic device
CN203387617U (en) * 2013-08-05 2014-01-08 深圳市道通科技有限公司 Plug-and-play miniature high-definition monitoring device
CN103546741A (en) * 2013-10-28 2014-01-29 乐视致新电子科技(天津)有限公司 Hot plugging detection method and device
CN104731741A (en) * 2013-12-23 2015-06-24 研祥智能科技股份有限公司 Hot plugging implementing method and system
CN107357754A (en) * 2017-07-19 2017-11-17 郑州云海信息技术有限公司 Method for electrically under a kind of PCIE device hot plug of optimization
CN109634807A (en) * 2018-12-04 2019-04-16 郑州云海信息技术有限公司 A kind of method for managing and monitoring and device of hot-plug equipment
CN111581144A (en) * 2020-03-24 2020-08-25 惠州市德赛西威智能交通技术研究院有限公司 Vehicle-mounted camera hot-plug self-recovery method and device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
吴建飞;吴佳;徐欣;: "基于PCI Express总线的数据采集设备实现", 现代电子技术, no. 20, pages 1 - 5 *

Also Published As

Publication number Publication date
CN114840460B (en) 2024-05-31

Similar Documents

Publication Publication Date Title
CN107423169B (en) Method and system for testing high speed peripheral device interconnection equipment
US7535433B2 (en) Dynamic multiple display configuration
CN103970560B (en) Starting method and electronic device
CN111949457B (en) Server fault chip detection method and device
CN103345407B (en) Control circuit, connection controller, connection control method and mainboard
US10579572B2 (en) Apparatus and method to provide a multi-segment I2C bus exerciser/analyzer/fault injector and debug port system
CN104090855B (en) Compatible method and device for USB mode and MHL mode of USB interface
CN111988196B (en) Bandwidth detection method and device, electronic equipment and storage medium
US8700807B2 (en) High speed baseboard management controller and transmission method thereof
CN103927242A (en) Display card testing system and display card testing method
US10853299B2 (en) Hot-plugged PCIe device configuration system
US7752429B2 (en) Computer system and boot code accessing method thereof
CN213365381U (en) Main board
CN107818061B (en) Data bus and management bus for associated peripheral devices
US11314582B2 (en) Systems and methods for dynamically resolving hardware failures in an information handling system
CN114840460B (en) Hot plug processing method, storage medium, electronic equipment and processing system
CN118860588A (en) Multi-channel register interrupt method, device, equipment, storage medium and program product
CN117827547A (en) Vehicle display screen touch abnormality recovery method, system, electronic device and medium
CN114185720B (en) Method, device, equipment and storage medium for dynamic hot backup of server
CN114443442B (en) Log storage method and electronic equipment
CN110704219A (en) Hardware fault reporting method and device and computer storage medium
CN102082715A (en) Test method for network card reset
US9367332B2 (en) Sensing data reading device and method
US20230359775A1 (en) Peripheral device connections responsive to identification data matching
CN114153388A (en) Hard disk system, method, device and medium for refreshing hard disk configuration information

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