CN110045974B - Upgrading method and device for display firmware and terminal - Google Patents

Upgrading method and device for display firmware and terminal Download PDF

Info

Publication number
CN110045974B
CN110045974B CN201910324205.8A CN201910324205A CN110045974B CN 110045974 B CN110045974 B CN 110045974B CN 201910324205 A CN201910324205 A CN 201910324205A CN 110045974 B CN110045974 B CN 110045974B
Authority
CN
China
Prior art keywords
display
upgrading
upgrade
digital video
data
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
CN201910324205.8A
Other languages
Chinese (zh)
Other versions
CN110045974A (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.)
CHONGQING HUIKE JINYANG SCIENCE & TECHNOLOGY CO LTD
Original Assignee
CHONGQING HUIKE JINYANG SCIENCE & 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 CHONGQING HUIKE JINYANG SCIENCE & TECHNOLOGY CO LTD filed Critical CHONGQING HUIKE JINYANG SCIENCE & TECHNOLOGY CO LTD
Priority to CN201910324205.8A priority Critical patent/CN110045974B/en
Publication of CN110045974A publication Critical patent/CN110045974A/en
Application granted granted Critical
Publication of CN110045974B publication Critical patent/CN110045974B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/4004Coupling between buses
    • G06F13/4009Coupling between buses with data restructuring
    • G06F13/4018Coupling between buses with data restructuring with data-width conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

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

Abstract

The application is applicable to the technical field of firmware upgrading, and provides a firmware upgrading method, an upgrading device and a terminal of a display, wherein the upgrading method comprises the following steps: the method comprises the steps that extended display identification data of a display and parameters of a digital video standard interface are obtained through the extended display identification data so as to determine a communication protocol of the digital video standard interface; acquiring the control right of an auxiliary channel of the digital video standard interface; establishing communication connection with the digital video standard interface of the display according to the communication protocol of the digital video standard interface; the upgrading data acquired in advance is written into the memory of the display through the auxiliary channel so as to upgrade the firmware of the display, thereby achieving the purpose of upgrading the firmware of the display through a digital video standard interface, and solving the problems that the existing firmware of the display needs to adopt a USB conversion tool in general and has complicated upgrading process, slow upgrading data transmission and stronger electromagnetic interference.

Description

Upgrading method and device for display firmware and terminal
Technical Field
The present application relates to the field of firmware upgrading technologies, and in particular, to a method, an apparatus, and a terminal for upgrading firmware of a display.
Background
With the continuous development of the technology, it is an urgent requirement of users to modify the firmware of the device to adapt to the continuously updated hardware environment. The firmware of the device refers to a device driver stored in the display, and through the firmware, the operating system can implement the operation of a specific machine according to the standard device driver, for example, the optical disc drive, the recorder, etc. have internal firmware. Therefore, the firmware is the software that serves as the most basic and bottom layer of the system, and in the hardware device, the firmware is the soul of the hardware device, because some hardware devices have no other software components except the firmware, the firmware determines the functions and performances of the hardware device.
However, the existing display firmware usually needs to adopt a USB conversion tool for upgrading, which has the problems of tedious upgrading process, slow upgrading data transmission and strong electromagnetic interference.
Disclosure of Invention
The application aims to provide a display firmware upgrading method, upgrading device and terminal, and aims to solve the problems that the existing display firmware is usually upgraded by adopting a USB conversion tool, the upgrading process is complicated, the upgrading data transmission is slow, and the electromagnetic interference is strong.
The embodiment of the application provides an upgrading method of display firmware, which comprises the following steps:
acquiring extended display identification data of the display and parameters of a digital video standard interface to determine a communication protocol of the digital video standard interface;
acquiring the control right of an auxiliary channel of the digital video standard interface;
establishing communication connection with the digital video standard interface according to a communication protocol of the digital video standard interface;
and writing the pre-acquired upgrading data into a memory of the display through the auxiliary channel so as to upgrade the firmware of the display.
Optionally, the obtaining extended display identification data of the display and parameters of the digital video standard interface includes:
accessing a dedicated memory of the display to obtain extended display identification data of the display.
Optionally, the obtaining the control right of the auxiliary channel of the digital video standard interface includes:
and setting a control command of a display card matched with the display to acquire the control right of an auxiliary channel of the digital video standard interface.
Optionally, the writing, through the auxiliary channel, the upgrade data acquired in advance into a memory of the display to upgrade the firmware of the display includes:
sending an upgrading command to the display, and receiving an upgrading confirmation signal returned by the display according to the upgrading command;
sending pre-acquired upgrade data to the display according to the upgrade confirmation signal; the display is used for writing the upgrading data into a memory after receiving the upgrading data.
Optionally, after sending the upgrade data acquired in advance to the display according to the upgrade confirmation signal, the method includes:
sending an upgrade data sending completion instruction to the display, and receiving upgrade data confirmation information returned by the display according to the upgrade data sending completion instruction;
verifying the upgrading data confirmation information and judging whether the display finishes firmware upgrading;
and if the upgrading data confirmation information passes verification, confirming that the display finishes firmware upgrading.
Optionally, if the upgrade data confirmation information is verified, after it is confirmed that the firmware upgrade of the display is completed, the method further includes:
and resetting the auxiliary channel of the digital video standard interface to a normal working state.
The embodiment of the present application further provides an upgrading apparatus for a display firmware, where the upgrading apparatus includes:
the communication protocol determining module is used for acquiring the extended display identification data of the display and the parameters of the digital video standard interface so as to determine the communication protocol of the digital video standard interface;
the channel control module is used for acquiring the control right of an auxiliary channel of the digital video standard interface;
the communication connection module is used for establishing communication connection with the digital video standard interface according to a communication protocol of the digital video standard interface; and
and the firmware upgrading module is used for writing the pre-acquired upgrading data into a memory of the display through the auxiliary channel so as to upgrade the firmware of the display.
Optionally, the firmware upgrade module includes:
the upgrading preparation unit is used for sending an upgrading command to the display and receiving an upgrading confirmation signal sent by the display according to the upgrading command;
the upgrade data writing unit is used for sending the upgrade data acquired in advance to the display according to the upgrade confirmation signal; the display is used for writing the upgrading data into a memory after receiving the upgrading data.
Optionally, the firmware upgrade module further includes:
the upgrading feedback unit is used for sending an upgrading data sending completion instruction to the display and receiving upgrading data confirmation information sent by the display according to the received upgrading data sending completion instruction;
the upgrading verification unit is used for verifying the upgrading data confirmation information and judging whether the display finishes firmware upgrading; and
and the upgrading confirmation unit is used for confirming that the display finishes firmware upgrading when the upgrading data confirmation information passes verification.
An embodiment of the present application further provides a terminal, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the steps of the upgrade method according to any one of the above items when executing the computer program.
The embodiment of the application provides a firmware upgrading method, a firmware upgrading device and a terminal of a display, wherein the upgrading method comprises the following steps: the extended display identification data acquires extended display identification data of the display and parameters of a digital video standard interface so as to determine a communication protocol of the digital video standard interface; acquiring the control right of an auxiliary channel of the digital video standard interface; establishing communication connection with the digital video standard interface of the display according to the communication protocol of the digital video standard interface; the upgrading data acquired in advance are written into the memory of the display through the auxiliary channel to upgrade the firmware of the display, communication handshake is completed with the display firmware according to a communication protocol of the digital video standard interface, the control right of the auxiliary channel of the digital video standard interface is acquired, and the upgrading data acquired in advance are written into the memory to be upgraded of the display through the auxiliary channel to upgrade the firmware of the display.
Drawings
FIG. 1 is a schematic flow chart diagram of an upgrade method provided by an embodiment of the present application;
fig. 2 is a schematic flowchart of step S40 in the upgrading method provided by an embodiment of the present application;
fig. 3 is a schematic flowchart of step S40 in an upgrading method provided in another embodiment of the present application;
fig. 4 is a schematic flowchart of step S40 in an upgrading method provided in another embodiment of the present application;
FIG. 5 is a schematic structural diagram of an upgrade device provided by an embodiment of the present application;
FIG. 6 is a schematic structural diagram of an upgrading device provided by another embodiment of the present application;
FIG. 7 is a schematic structural diagram of an upgrade apparatus provided in another embodiment of the present application;
fig. 8 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that when an element is referred to as being "secured to" or "disposed on" another element, it can be directly or indirectly secured to the other element. When an element is referred to as being "connected to" another element, it can be directly or indirectly connected to the other element. The terms "upper", "lower", "left", "right", "front", "rear", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like indicate orientations or positions based on the orientations or positions shown in the drawings, and are for convenience of description only and not to be construed as limiting the technical solution. The terms "first", "second" and "first" are used merely for descriptive purposes and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features. The meaning of "plurality" is two or more unless specifically limited otherwise.
In order to explain the technical solutions of the present application, the following detailed descriptions are made with reference to specific drawings and examples.
The digital video standard (DP) interface is a digital video interface standard developed by the PC and chip manufacturers alliance, the Video Electronics Standards Association (VESA) standard. The interface is free of authentication and authorization fund, is mainly used for connecting a video source and display equipment and also supports carrying audio, USB and other forms of data. The digital video standard was the first display communication port to rely on packetized data transfer technologies found in ethernet, USB, and PCI Express technologies. It can be used for both internal and external display connections. Unlike past standards that require fixed transmission of timer signals within differential pairs at each output, the digital video standard protocol is based on small data packets called micro-packets that can embed timer signals in the data stream. Its advantage is less pins and higher resolution. The use of data messaging also allows for scalability using the digital video standard, which means that over time additional functionality can be added without significant changes to the physical communication port itself. Digital video standards are available for simultaneous transmission of audio and video, each of which can be transmitted separately without the other. Each color channel in the video signal path may have 6 to 16 bits, the audio path may have up to 8 channels of 24-bit 192kHz uncompressed PCM audio, or the compressed audio format may be encapsulated in an audio stream. A bi-directional, half-duplex auxiliary channel carries device management and device control data for the main link, such as the VESADID, MCCS, and DPMS standards. Further, the communication port is capable of carrying bidirectional USB signals.
The digital video standard signal is not compatible with DVI or HDMI. However, dual-mode digital video standard s, which is designed to transmit the protocol of single-link DVI or HDMI1.2/1.4 over the communication port, needs to be implemented using an external passive connector, select the desired signal, and convert the electrical signal from LVDS to TMDS. Dual-mode digital video standard s with passive connectors does not support VGA and dual-link DVI. These communication ports require active connectors to convert the protocols and signals that are required to be output. VGA connectors may be powered using digital video standard connectors, while dual-link DVI connectors may rely on external power. The digital video standard connector can have 1, 2 or 4 differential data pairs (lanes) in a main link, and each lane can have an original code rate of 1.62, 2.7 or 5.4Gbit/s on the basis that the self-timer runs at 162, 270 or 540 MHz. The data is 8b/10b encoded, i.e. every 8-bit message is encoded in 10-bit symbols. Therefore, the effective data transmission rate per channel after decoding is 1.296, 2.16, 4.32Gbit/s.
Fig. 1 is a schematic flowchart of an upgrade method provided in an embodiment of the present application, where the upgrade method is used to upgrade firmware of a display device carrying a digital video standard interface, and referring to fig. 1, the upgrade method includes:
step S10: acquiring extended display identification data of the display and parameters of a digital video standard interface to determine a communication protocol of the digital video standard interface;
step S20: acquiring the control right of an auxiliary channel of the digital video standard interface;
step S30: establishing communication connection with the digital video standard interface of the display according to the communication protocol of the digital video standard interface;
step S40: and writing the pre-acquired upgrading data into a memory of the display through the auxiliary channel so as to upgrade the firmware of the display.
In the embodiment, the communication protocol of the digital video standard interface is determined by acquiring the extended display identification data of the display and the parameters of the digital video standard interface, wherein the digital video standard interface is an image display interface and can support not only full high-definition display resolution (1920 × 1080), but also 4k resolution (3840 × 2160) and the latest 8k resolution (7680 × 4320). The digital video standard interface specifically comprises a Main digital video standard data transmission Channel (Main Link), an auxiliary Channel (AUX Channel) and a Link routing Channel, wherein the transmitted signals consist of data Channel signals for transmitting images, auxiliary Channel signals for transmitting image-related states and control information, and the auxiliary Channel (AUX Channel) is used as an independent bidirectional transmission auxiliary Channel in the digital video standard interface, adopts an alternating current coupling differential transmission mode, is a bidirectional half-duplex transmission Channel and is used for transmitting set instructions and control instructions.
In one embodiment, the use of AUX (Auxiliary) further includes reading Extended Display Identification Data (EDID) to ensure proper transmission of signals in the digital video standard interface; reading information of a digital video standard interface supported by a display, such as the number of main channels and the transmission rate of DP signals; setting various display configuration registers; the display status register is read. Therefore, the signal of the digital video standard interface can be correctly transmitted only by ensuring that the signal of the AUX is correct, and liquid crystal modules of different digital video standard protocols have different requirements on the amplitude of the AUX output signal. For example, when the liquid crystal module detection equipment detects the liquid crystal module, various liquid crystal module test devices with matched AUX output amplitudes need to be designed for the liquid crystal modules with different digital video standard protocols, so that the test cost of the liquid crystal module is obviously increased.
In this embodiment, after determining the communication protocol of the digital video standard interface, the control right of the auxiliary channel of the digital video standard interface is acquired, a communication connection is established with the digital video standard interface according to the communication protocol of the digital video standard interface, the signal transmission of the auxiliary channel is used to confirm the correct signal transmission of the digital video standard interface, and finally, the pre-acquired upgrade data is written into the memory of the display through the auxiliary channel to upgrade the firmware of the display.
In one embodiment, after the upgrade data is written to the memory of the display, the upgrade data is automatically upgraded to new firmware in the display, the original firmware being overwritten or set as spare firmware.
In one embodiment, the obtaining extended display identification data of the display includes:
and accessing a special memory of the display to obtain the extended display identification data of the display.
In this embodiment, it is possible to ensure correct transmission of signals in the digital video standard interface by obtaining extended display identification data of the display.
In one embodiment, the obtaining the control right of the auxiliary channel of the digital video standard interface includes:
and setting a control command of a display card matched with the display to acquire the control right of an auxiliary channel of the digital video standard interface.
In the DisplayPort v1.2 version, the data transmission rate of the auxiliary channel is extended from the previous 1Mbps to 700Mbps, and thus it is also known as a fast auxiliary mode, the first task of this channel is to discover the other and establish a connection that maintains the digital video standard interface, and to establish a reliable high-speed data connection for display applications and devices, which can be used to discover and configure multiple data streams and topologies, and which can also be used to control various display devices. Therefore, in this embodiment, the control right of the auxiliary channel of the digital video standard interface can be obtained by setting the control command of the graphics card adapted to the display, and the auxiliary channel is in an idle state to serve as a dedicated transmission channel for the upgrade command and the upgrade data.
In an embodiment, referring to fig. 2, the writing, by using the auxiliary channel, pre-acquired upgrade data into a memory to be upgraded of the display to upgrade firmware of the display includes:
step S401: sending an upgrading command to the display, and receiving an upgrading confirmation signal sent by the display according to the upgrading command;
step S402: sending pre-acquired upgrade data to the display according to the upgrade confirmation signal; the display is used for writing the upgrading data into a memory after receiving the upgrading data.
In this embodiment, first, an upgrade command is sent to the display, and an upgrade confirmation signal sent by the display according to the upgrade command is received, so that not only can it be further verified whether signal transmission of the auxiliary channel of the digital video standard interface is normal, but also it can be detected whether the memory in the display is in a state to be upgraded by sending the upgrade command, for example, by sending the upgrade command, the original firmware of the display is in a standby state to prepare for receiving upgrade data.
In one embodiment, sending pre-acquired upgrade data to the display according to the upgrade confirmation signal; in this embodiment, the upper computer may send the upgrade confirmation signal and store the upgrade data in the upgrade data memory of the upper computer, and the upper computer calls the upgrade data after receiving the upgrade confirmation signal.
In one embodiment, referring to fig. 3, after sending the pre-acquired upgrade data to the display according to the upgrade confirmation signal, the method includes:
step S403: sending an upgrade data sending completion instruction to the display, and receiving upgrade data confirmation information returned by the display according to the received upgrade data sending completion instruction;
step S404: verifying the upgrading data confirmation information and judging whether the display finishes firmware upgrading;
step S405: and if the upgrading data confirmation information passes verification, confirming that the display finishes firmware upgrading.
In this embodiment, after sending upgrade data to the display is completed, the display writes the upgrade data into the memory, at this time, an upgrade data sending completion instruction is sent to the display, the display obtains a corresponding hash value by performing hash operation on the received upgrade data after receiving the upgrade data sending completion instruction, the hash value is returned to the upper computer as upgrade data confirmation information, the upper computer verifies the upgrade data confirmation information to determine whether the display receives complete upgrade data, so as to avoid upgrade failure of the display in an upgrade process due to incomplete upgrade data, and if the upgrade data confirmation information passes verification, it is determined that the display completes firmware upgrade.
In an embodiment, referring to fig. 4, after confirming that the firmware upgrade of the display is completed if the upgrade data confirmation information is verified, the method further includes:
step S406: and resetting the auxiliary channel of the digital video standard interface to a normal working state.
In this embodiment, after it is confirmed that the firmware of the display is upgraded, the auxiliary channel of the digital video standard interface is reset to a normal operating state, and at this time, the firmware upgrade is completed, and the auxiliary channel of the digital video standard interface performs normal control information transmission.
Referring to fig. 5, an embodiment of the present application further provides an upgrading apparatus for upgrading firmware of a display, where the upgrading apparatus is configured to upgrade firmware of a display carrying a digital video standard interface, and the upgrading apparatus 60 includes:
a communication protocol determining module 61, configured to obtain extended display identification data of the display and parameters of a digital video standard interface, so as to determine a communication protocol of the digital video standard interface;
a channel control module 62, configured to obtain a control right of an auxiliary channel of the digital video standard interface;
the communication connection module 63 is configured to establish a communication connection with the digital video standard interface according to a communication protocol of the digital video standard interface; and
and the firmware upgrading module 64 is configured to write the upgrade data acquired in advance into the memory of the display through the auxiliary channel, so as to upgrade the firmware of the display.
In this embodiment, the upgrading apparatus 60 for the display firmware may be an upper computer, which may be a host computer or a main upgrading device, wherein the upper computer is further provided with a memory for storing the pre-acquired upgrading data.
In this embodiment, the communication protocol determining module 61 in the upgrading apparatus 60 determines the communication protocol of the digital video standard interface by acquiring the extended display identification data of the display and the parameters of the digital video standard interface, which is an image display interface and can support not only the full high-definition display resolution (1920 × 1080) but also the 4k resolution (3840 × 2160) and the latest 8k resolution (7680 × 4320). The digital video standard interface specifically comprises a Main digital video standard data transmission Channel (Main Link), an auxiliary Channel (AUX Channel) and a Link routing Channel, wherein the transmitted signals consist of data Channel signals for transmitting images, auxiliary Channel signals for transmitting image-related states and control information, and the auxiliary Channel (AUX Channel) is used as an independent bidirectional transmission auxiliary Channel in the digital video standard interface, adopts an alternating current coupling differential transmission mode, is a bidirectional half-duplex transmission Channel and is used for transmitting set instructions and control instructions.
In one embodiment, the communication protocol determination module 61 is further configured to read Extended Display Identification Data (EDID) to ensure proper transmission of signals in the digital video standard interface; reading information of digital video standard interfaces supported by the display, such as the number of main channels and the transmission rate of DP signals; setting various display configuration registers; the display status register is read. Therefore, the signal of the digital video standard interface can be correctly transmitted only by ensuring that the signal of the AUX is correct, and liquid crystal modules of different digital video standard protocols have different requirements on the amplitude of the AUX output signal. For example, when the liquid crystal module detection equipment detects the liquid crystal module, various liquid crystal module test devices with matched AUX output amplitudes need to be designed for liquid crystal modules with different digital video standard protocols, so that the test cost of the liquid crystal module is obviously increased.
In this embodiment, after determining the communication protocol of the digital video standard interface, the channel control module 62 obtains the control right of the auxiliary channel of the digital video standard interface, the communication connection module 63 establishes a communication connection with the digital video standard interface according to the communication protocol of the digital video standard interface, and confirms the correct signal transmission of the digital video standard interface through the signal transmission of the auxiliary channel, and finally the firmware upgrade module 64 writes the upgrade data obtained in advance into the memory of the display through the auxiliary channel to upgrade the firmware of the display.
In one embodiment, the upgrading apparatus 60 for the display firmware may be online system programming software (ispteol), where the online system programming software is loaded in the upper computer, and specifically, the online system programming software obtains the control right of the auxiliary channel, and sends an upgrading command to the display to ensure that the transmission channel of the control information is normal, so as to complete sending the upgrading data to the display.
In one embodiment, referring to fig. 6, the firmware upgrade module 64 includes:
an upgrade preparation unit 641, configured to send an upgrade command to the display, and receive an upgrade confirmation signal sent by the display according to the upgrade command;
an upgrade data writing unit 642, configured to send, to the display, upgrade data acquired in advance according to the upgrade confirmation signal; the display is used for writing the upgrading data into a memory after receiving the upgrading data.
In this embodiment, first, the upgrade preparation unit 641 sends an upgrade command to the display and receives an upgrade confirmation signal sent by the display according to the upgrade command, so as to further verify whether signal transmission of an auxiliary channel of the digital video standard interface is normal, and also detect whether a memory in the display is in a state to be upgraded by sending the upgrade command, for example, by sending the upgrade command, the original firmware of the display is in a standby state to prepare for receiving upgrade data, and the upgrade data writing unit 642 sends the upgrade data acquired in advance to the display according to the upgrade confirmation signal.
In one embodiment, referring to fig. 7, the firmware upgrade module 64 further includes:
an upgrade feedback unit 643, configured to send an upgrade data sending completion instruction to the display, and receive upgrade data confirmation information sent by the display according to the received upgrade data sending completion instruction;
an upgrade verification unit 644, configured to verify the upgrade data confirmation information and determine whether the display completes firmware upgrade; and
and an upgrade confirming unit 645, configured to confirm that the firmware upgrade of the display is completed when the upgrade data confirmation information is verified.
In this embodiment, after the upgrade data writing unit 642 sends the upgrade data to the display, the display writes the upgrade data into the memory, at this time, the upgrade feedback unit 643 sends an upgrade data sending completion instruction to the display, the display obtains a corresponding hash value by performing a hash operation on the received upgrade data after receiving the upgrade data sending completion instruction, the hash value is returned to the upper computer as upgrade data confirmation information, the upgrade verification unit 644 verifies the upgrade data confirmation information to determine whether the display receives complete upgrade data, so as to avoid an upgrade failure of the display in the upgrade process due to incomplete upgrade data, and if the upgrade data confirmation information passes verification, the upgrade confirmation unit 645 confirms that the display completes firmware upgrade, where the upgrade is completed.
The embodiment of the application provides a firmware upgrading method, a firmware upgrading device and a terminal of a display, wherein the upgrading method comprises the following steps: the extended display identification data acquires extended display identification data of the display and parameters of a digital video standard interface so as to determine a communication protocol of the digital video standard interface; acquiring the control right of an auxiliary channel of the digital video standard interface; the method comprises the steps of establishing communication connection with a digital video standard interface of a display according to a communication protocol of the digital video standard interface, writing pre-acquired upgrading data into a memory to be upgraded of the display by using an auxiliary channel to upgrade firmware of the display, finishing communication handshake with the display firmware according to the communication protocol of the digital video standard interface to acquire the control right of the auxiliary channel of the digital video standard interface, writing the pre-acquired upgrading data into the memory to be upgraded of the display by using the auxiliary channel to upgrade the firmware of the display, and solving the problems that a USB conversion tool is generally adopted for upgrading the existing display firmware, the upgrading process is complicated, the upgrading data transmission is slow, and the electromagnetic interference is strong.
Fig. 8 is a schematic diagram of a terminal according to an embodiment of the present invention. As shown in fig. 8, the terminal 7 in the embodiment of the present application includes: a processor 70, a memory 71 and a computer program 72 stored in the memory 71 and executable on the processor 70, e.g. a stored program of an upgrade method. The processor 70, when executing the computer program 72, implements the steps in the above-described method embodiment of upgrading the display firmware, such as the steps S10 to S40 shown in fig. 1. Alternatively, the processor 70, when executing the computer program 72, implements the functions of the various modules/units in the various device embodiments described above, such as the functions of the modules 61 to 64 shown in fig. 5.
Illustratively, the computer program 72 may be divided into one or more modules/units, which are stored in the memory 71 and executed by the processor 70 to carry out the invention. One or more of the modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 72 in the terminal 7. For example, the computer program 72 may be divided into a first storage unit, a second storage unit, a third storage unit, and a fourth storage unit (unit in the virtual device), and the specific functions of the respective modules are as follows:
the first storage unit is used for acquiring the extended display identification data of the display and the parameters of the digital video standard interface so as to determine the communication protocol of the digital video standard interface;
the second storage unit is used for acquiring the control right of an auxiliary channel of the digital video standard interface;
the third storage unit is used for establishing communication connection with the digital video standard interface according to a communication protocol of the digital video standard interface;
and the fourth storage unit is used for writing the pre-acquired upgrading data into a memory of the display through the auxiliary channel so as to upgrade the firmware of the display.
The terminal 7 may include, but is not limited to, a processor 70, a memory 71. It will be appreciated by those skilled in the art that fig. 7 is only an example of a terminal 7 and does not constitute a limitation of the terminal 7, and that it may comprise more or less components than those shown, or some components may be combined, or different components, e.g. the terminal device may further comprise an input output device, a network access device, a bus, etc.
The Processor 70 may be a Central Processing Unit (CPU), other general purpose Processor, 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, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The storage 71 may be an internal storage unit of the terminal 7, such as a hard disk or a memory of the terminal 7. The memory 71 may also be an external storage device of the terminal 7, such as a plug-in hard disk provided on the terminal 7, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like. Further, the memory 71 may also include both an internal storage unit of the terminal 7 and an external storage device. The memory 71 is used for storing computer programs and other programs and data required by the terminal device. The memory 71 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules, so as to perform all or part of the functions described above. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, a module or a unit may be divided into only one logical function, and may be implemented in other ways, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method according to the embodiments of the present invention may also be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of the embodiments of the method. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
The above description is intended only to serve as an alternative embodiment of the present application, and should not be taken as limiting the present application, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present application should be included in the scope of the present application.

Claims (10)

1. An upgrade method of display firmware, the upgrade method comprising:
acquiring extended display identification data of the display and parameters of a digital video standard interface to determine a communication protocol of the digital video standard interface;
acquiring the control right of an auxiliary channel of the digital video standard interface; the auxiliary channel of the digital video standard interface is an independent bidirectional transmission auxiliary channel and is used for transmitting a set instruction and a control instruction and reading the extended display identification data;
establishing communication connection with the digital video standard interface according to a communication protocol of the digital video standard interface;
and writing the pre-acquired upgrading data into a memory of the display through the auxiliary channel so as to upgrade the firmware of the display.
2. The upgrade method according to claim 1, wherein the obtaining extended display identification data of the display and parameters of a digital video standard interface comprises:
accessing a dedicated memory of the display to obtain extended display identification data of the display.
3. The upgrade method according to claim 1, wherein the obtaining control of the auxiliary channel of the digital video standard interface comprises:
and setting a control command of a display card matched with the display to acquire the control right of an auxiliary channel of the digital video standard interface.
4. The upgrade method according to claim 1, wherein the writing of pre-acquired upgrade data into a memory of the display through the auxiliary channel to upgrade firmware of the display comprises:
sending an upgrading command to the display, and receiving an upgrading confirmation signal returned by the display according to the upgrading command;
sending pre-acquired upgrade data to the display according to the upgrade confirmation signal; the display is used for writing the upgrading data into a memory after receiving the upgrading data.
5. The upgrade method according to claim 4, wherein, after transmitting the upgrade data acquired in advance to the display according to the upgrade confirmation signal, comprising:
sending an upgrade data sending completion instruction to the display, and receiving upgrade data confirmation information returned by the display according to the upgrade data sending completion instruction;
verifying the upgrading data confirmation information and judging whether the display finishes firmware upgrading;
and if the upgrading data confirmation information passes verification, confirming that the display finishes firmware upgrading.
6. The upgrading method according to claim 5, wherein if the upgrading data confirmation information is verified, after confirming that the display completes the firmware upgrading, the method further comprises:
and resetting the auxiliary channel of the digital video standard interface to a normal working state.
7. An upgrade apparatus of a display firmware, the upgrade apparatus comprising:
the communication protocol determining module is used for acquiring the extended display identification data of the display and the parameters of the digital video standard interface so as to determine the communication protocol of the digital video standard interface;
the channel control module is used for acquiring the control right of an auxiliary channel of the digital video standard interface; the auxiliary channel of the digital video standard interface is an independent bidirectional transmission auxiliary channel and is used for transmitting a set instruction and a control instruction and reading the extended display identification data;
the communication connection module is used for establishing communication connection with the digital video standard interface according to a communication protocol of the digital video standard interface; and
and the firmware upgrading module is used for writing the pre-acquired upgrading data into a memory of the display through the auxiliary channel so as to upgrade the firmware of the display.
8. The upgrade device according to claim 7, wherein the firmware upgrade module includes:
the upgrading preparation unit is used for sending an upgrading command to the display and receiving an upgrading confirmation signal sent by the display according to the upgrading command;
the upgrade data writing unit is used for sending the upgrade data acquired in advance to the display according to the upgrade confirmation signal; the display is used for writing the upgrading data into a memory after receiving the upgrading data.
9. The upgrade apparatus of claim 8, wherein the firmware upgrade module further comprises:
the upgrading feedback unit is used for sending an upgrading data sending completion instruction to the display and receiving upgrading data confirmation information sent by the display according to the received upgrading data sending completion instruction;
the upgrading verification unit is used for verifying the upgrading data confirmation information and judging whether the display finishes firmware upgrading; and
and the upgrading confirming unit is used for confirming that the display finishes firmware upgrading when the upgrading data confirming information passes verification.
10. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the upgrade method according to any one of claims 1 to 6 when executing the computer program.
CN201910324205.8A 2019-04-22 2019-04-22 Upgrading method and device for display firmware and terminal Active CN110045974B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910324205.8A CN110045974B (en) 2019-04-22 2019-04-22 Upgrading method and device for display firmware and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910324205.8A CN110045974B (en) 2019-04-22 2019-04-22 Upgrading method and device for display firmware and terminal

Publications (2)

Publication Number Publication Date
CN110045974A CN110045974A (en) 2019-07-23
CN110045974B true CN110045974B (en) 2022-10-25

Family

ID=67278268

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910324205.8A Active CN110045974B (en) 2019-04-22 2019-04-22 Upgrading method and device for display firmware and terminal

Country Status (1)

Country Link
CN (1) CN110045974B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111479167B (en) * 2020-04-03 2022-10-14 康佳集团股份有限公司 Method, system and storage medium for upgrading software of 8K ultra-high-definition television
CN111984288B (en) * 2020-07-29 2024-04-16 深圳市拔超科技股份有限公司 Remote electronic system upgrading device and method based on MCU and FPGA
CN115202702A (en) * 2022-09-13 2022-10-18 深圳市湘凡科技有限公司 Software updating method based on DisplayPort interface and related device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI382394B (en) * 2007-11-22 2013-01-11 Realtek Semiconductor Corp Firmware updating method and system
CN103595943A (en) * 2013-11-16 2014-02-19 京东方科技集团股份有限公司 Video signal transmission equipment, playing system and video signal transmission method
CN106528213A (en) * 2016-10-31 2017-03-22 中冶华天南京工程技术有限公司 Method and system for upgrading inlaid terminal equipment firmware

Also Published As

Publication number Publication date
CN110045974A (en) 2019-07-23

Similar Documents

Publication Publication Date Title
CN110045974B (en) Upgrading method and device for display firmware and terminal
EP2140689B1 (en) Automated compliance testing for video devices
US8255583B2 (en) Digital interface system to support ethernet and cable connection state displaying method thereof
US9280506B1 (en) Transfer of uncompressed multimedia contents or data communications
US9569609B2 (en) In-band peripheral authentication
US8799537B1 (en) Transfer of uncompressed multimedia contents and data communications
US20170148416A1 (en) Method and apparatus for electronic device communication
US8032077B2 (en) Wireless communication device
US20080084834A1 (en) Multiplexed connection interface for multimedia serial data transmission
US9167282B2 (en) Enhanced HDMI system and method
US10817242B2 (en) Image display device, connection method of image display device, and multi-display system
WO2017134522A2 (en) Display system for an array of video displays
US20180061365A1 (en) Display apparatus and method of executing calibration therein
KR20170016845A (en) Method and device for transmitting/receiving data using hdmi
US10162769B2 (en) Method and apparatus for transmitting and receiving data using HDMI
US10511798B2 (en) Method for transmitting and receiving power using HDMI and apparatus therefor
CN109120973B (en) Method, device and storage medium for rewriting EDID data
US20140078160A1 (en) Display-controlling method and display device
KR20160050296A (en) Electronic apparatus and controlling method thereof
TWI630817B (en) Methdo of encoding content by a source device, source device and non-transitory computer readable medium thereof
US20140258584A1 (en) Bus relay apparatus, integrated circuit apparatus, cable, connector, electronic appliance, and bus relay method
JP2005091795A (en) Display device
KR101187269B1 (en) Electronic apparatus for transmitting/receiving data using mhl interface and data transmitting/receiving method thereof
KR20150085723A (en) A method for synchronizing auxiliary signal
JP2021090177A (en) Display unit and program

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
TA01 Transfer of patent application right

Effective date of registration: 20191217

Address after: No. 2388, Dongcheng Avenue, Jieshi Town, Banan District, Chongqing

Applicant after: CHONGQING HUIKE JINYANG SCIENCE & TECHNOLOGY Co.,Ltd.

Address before: The New District of Hefei City, Anhui province 230012 nine Top Road and intersection of the northeast corner of Kui he Lu

Applicant before: HEFEI HUIKE JINYANG TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant