CN113360169B - Image quality parameter upgrading system and method - Google Patents

Image quality parameter upgrading system and method Download PDF

Info

Publication number
CN113360169B
CN113360169B CN202110638016.5A CN202110638016A CN113360169B CN 113360169 B CN113360169 B CN 113360169B CN 202110638016 A CN202110638016 A CN 202110638016A CN 113360169 B CN113360169 B CN 113360169B
Authority
CN
China
Prior art keywords
image quality
quality parameter
upgrading
module
file
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
CN202110638016.5A
Other languages
Chinese (zh)
Other versions
CN113360169A (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.)
Konka Group Co Ltd
Original Assignee
Konka Group 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 Konka Group Co Ltd filed Critical Konka Group Co Ltd
Priority to CN202110638016.5A priority Critical patent/CN113360169B/en
Publication of CN113360169A publication Critical patent/CN113360169A/en
Application granted granted Critical
Publication of CN113360169B publication Critical patent/CN113360169B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/80Information retrieval; Database structures therefor; File system structures therefor of semi-structured data, e.g. markup language structured data such as SGML, XML or HTML
    • G06F16/84Mapping; Conversion
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Facsimiles In General (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses an image quality parameter upgrading system and method, wherein the image quality parameter upgrading system comprises: the device comprises a capturing device and a display device, wherein the capturing device and the display device establish a USB transmission link through USB; the display device is used for acquiring the image quality parameter configuration file and the file fingerprint information and transmitting the image quality parameter configuration file and the file fingerprint information to the capturing device through the USB transmission link; the capturing device is used for carrying out upgrading operation according to the image quality parameter configuration file and the file fingerprint information, and feeding back an upgrading result to the display device after the upgrading operation is completed. According to the invention, the image quality configuration parameters are separated from the software, the image quality parameters of the capturing device are updated by the display device through the USB, so that the difficulty in developing the software of the capturing device and the maintenance cost of the firmware version of the capturing device are reduced, and meanwhile, the image quality configuration of the capturing device is updated in a single file upgrading mode, so that the upgrading efficiency is improved.

Description

Image quality parameter upgrading system and method
Technical Field
The invention relates to the technical field of intelligent camera shooting, in particular to a system and a method for upgrading image quality parameters.
Background
With the development of intelligence and the increase of demands in social and entertainment fields, cameras are increasingly used in consumer electronic products such as televisions, conference sets, education tablets and the like.
In order to provide better image quality experience (image quality effect) for users, the image signal processor is mainly responsible for photographing part in different ISP main control chips (ISP: image Signal Processor), and mainly plays roles in post-processing signals output by front-end image sensors, such as noise reduction and HDR correction, meanwhile, the ISP main control chip can also realize functions of face recognition, automatic scene recognition and the like, and the image signal processor can perform post-processing on quality of a sample, but different chips or different products using the same chip have obvious differences in photographing performance, because ISPs have processing capacity and programmability, new algorithms debugged in different modes can be pulled apart by the algorithms of an integrated factory, and different sensors (image sensors, currently, CMOS image sensors) and different display screens are used for debugging the image quality effect.
Especially, different screen matching, the same ISP image quality parameter value and obvious image display effect difference. Aiming at different chips, different sensors and different display screens, the prior art generally adopts a processing mode that different firmware versions are required to be maintained, and the maintenance cost is high.
Accordingly, the prior art is still in need of improvement and development.
Disclosure of Invention
The invention mainly aims to provide a system and a method for upgrading image quality parameters, and aims to solve the problems that in the prior art, different firmware versions are required to be maintained aiming at different chips, different sensors and different display screens, and the maintenance cost is high.
In order to achieve the above object, the present invention provides an image quality parameter upgrade system, wherein the image quality parameter upgrade system comprises: the device comprises a capturing device and a display device, wherein the capturing device and the display device establish a USB transmission link through USB;
the display device is used for acquiring the image quality parameter configuration file and the file fingerprint information and transmitting the image quality parameter configuration file and the file fingerprint information to the capturing device through the USB transmission link;
the capturing device is used for carrying out upgrading operation according to the image quality parameter configuration file and the file fingerprint information, and feeding back an upgrading result to the display device after the upgrading operation is completed.
Optionally, the image quality parameter upgrading system, wherein the capturing device includes:
the first INI analyzer module is used for opening the product information configuration file to read all parameters, storing the parameters into a memory and closing the product information configuration file;
the XML analyzer module is used for creating an empty XML document object, loading an image quality parameter configuration file, initializing the XML document object after obtaining an analysis result, traversing the XML document object to obtain queue data, sending the queue data to the queue, and sending the queue data to the image quality parameter application module;
the image quality parameter application module is used for determining the image quality parameter name and the image quality parameter value of the current application according to the received queue data, configuring the current image quality parameter, and continuing to wait for the image quality parameter transmitted by the XML parser module and configuring until all the image quality parameters are configured;
the first image quality parameter upgrading module is used for establishing a USB transmission link with the display equipment, acquiring an image quality parameter configuration upgrading request of the display equipment, acquiring an image quality parameter configuration file and file fingerprint information through the USB transmission link, then performing upgrading operation, and feeding back an upgrading result to the display equipment after the upgrading operation is completed.
Optionally, the image quality parameter upgrading system, wherein the display device includes:
the second INI analyzer module is used for loading all parameters in the screen matching information file, storing the parameters in the memory and closing the screen matching information file;
the second image quality parameter upgrading module is used for establishing a USB transmission link with the capturing device, acquiring the ISP main control chip model and the sensor model of the capturing device, requesting image quality parameter configuration files and file fingerprint information from a server, sending the image quality parameter configuration files and the file fingerprint information to the capturing device through the USB transmission link, and receiving an upgrading result fed back by the capturing device.
Optionally, the image quality parameter upgrading system, wherein the queue data includes: child node names, sun Jie node names, and grandchild node values.
In addition, in order to achieve the above object, the present invention further provides an image quality parameter upgrading method based on the image quality parameter upgrading system, where the image quality parameter upgrading method based on the image quality parameter upgrading system includes:
the display equipment acquires an image quality parameter configuration file and file fingerprint information and sends the image quality parameter configuration file and the file fingerprint information to the capturing equipment through a USB transmission link;
and the capturing device performs upgrading operation according to the image quality parameter configuration file and the file fingerprint information, and feeds an upgrading result back to the display device after the upgrading operation is completed.
Optionally, in the image quality parameter upgrading method based on the image quality parameter upgrading system, the capturing device performs an upgrading operation according to the image quality parameter configuration file and the file fingerprint information, and feeds back an upgrading result to the display device after the upgrading operation is completed, and specifically includes:
the first INI analyzer module opens the product information configuration file to read all parameters, stores the parameters into a memory and closes the product information configuration file;
the XML analyzer module creates an empty XML document object, loads an image quality parameter configuration file, obtains an analysis result, initializes the XML document object, traverses the XML document object to obtain queue data, sends the queue data to the queue, and sends the queue data to the image quality parameter application module;
the image quality parameter application module determines the image quality parameter name and the image quality parameter value of the current application according to the received queue data, configures the current image quality parameter, and continues to wait for the image quality parameter transmitted by the XML parser module and configure until all the image quality parameters are configured;
the first image quality parameter upgrading module establishes a USB transmission link with the display equipment, acquires an image quality parameter configuration upgrading request of the display equipment, acquires an image quality parameter configuration file and file fingerprint information through the USB transmission link, performs upgrading operation, and feeds an upgrading result back to the display equipment after the upgrading operation is completed.
Optionally, in the image quality parameter upgrading method based on the image quality parameter upgrading system, the XML parser module creates an empty XML document object, loads an image quality parameter configuration file, initializes the XML document object after obtaining a parsing result, traverses the XML document object to obtain queue data, sends the queue data to the queue, and sends the queue data to the image quality parameter application module, and specifically includes:
when the capturing device is powered on, the XML analyzer module creates an empty XML document object, loads an image quality parameter configuration file and obtains an analysis result;
the XML parser module initializes an XML document object according to the parsing result, and acquires a set of all child nodes of the IqParam node from the initialized XML document object;
the XML parser module traverses all child nodes, obtains the element data types and the element number attributes of each grandchild node, and parses the values of each grandchild node according to the element data types and the element number attributes;
and after the XML parser module parses the child node name, the Sun Jie roll name and the grandchild node value, the child node name, the Sun Jie roll name and the grandchild node value are saved as queue data and sent to a queue to be transmitted to the image quality parameter application module.
Optionally, in the image quality parameter upgrading method based on the image quality parameter upgrading system, the image quality parameter application module determines an image quality parameter name and an image quality parameter value of a current application according to the received queue data, configures the current image quality parameter, and continues waiting for the image quality parameter transmitted by the XML parser module and configuring until all the image quality parameters are configured, including:
the image quality parameter application module waits for queue data to acquire the queue data transmitted by the XML parser module;
the image quality parameter application module determines the image quality parameter name of the current application according to the child node name and the grandchild node name, and takes the grandchild node value as the value of the image quality parameter directly;
and the image quality parameter application module invokes an interface corresponding to the image quality parameter to configure the current image quality parameter, and after the configuration of the current image quality parameter is completed, continues to wait for the image quality parameter transmitted by the XML parser module and configure the image quality parameter until the configuration of all the image quality parameters is completed.
Optionally, in the image quality parameter upgrading method based on the image quality parameter upgrading system, the first image quality parameter upgrading module obtains an image quality parameter configuration upgrading request of the display device, obtains an image quality parameter configuration file and file fingerprint information through the USB transmission link, performs an upgrading operation, and feeds back an upgrading result to the display device after the upgrading operation is completed, where the method specifically includes:
and the first image quality parameter upgrading module initializes a USB drive and establishes a USB transmission link with the display equipment.
After the first INI analyzer module loads the product information configuration file, the first image quality parameter upgrading module requests product information from the first INI analyzer module to acquire an ISP main control chip model and a sensor model;
after the first image quality parameter upgrading module establishes a USB transmission link with the display equipment, the first image quality parameter upgrading module obtains an image quality parameter configuration upgrading request of the display equipment and responds to an ISP main control chip model and a sensor model to the display equipment;
if the display equipment requests image quality parameter configuration upgrade, the first image quality parameter upgrade module acquires an image quality parameter configuration file and first file fingerprint information through the USB transmission link;
when the image quality parameter configuration file is downloaded, storing the image quality parameter configuration file in a temporary path, calculating to obtain second file fingerprint information by the first image quality parameter upgrading module, and checking whether the first file fingerprint information is equal to the second file fingerprint information or not;
if the first file fingerprint information is equal to the second file fingerprint information, checking that the first file fingerprint information passes, and the first image quality parameter upgrading module moves the image quality parameter configuration file to a path which is actually effective, so that the upgrading is successful; the XML parser module loads the image quality parameter configuration file after the next power-on start, and the image quality parameter application module takes effect after applying the image quality parameters in the parsing result;
and after the upgrading operation is finished, the first image quality parameter upgrading module feeds an upgrading result back to the display equipment.
Optionally, the image quality parameter upgrading method based on the image quality parameter upgrading system, wherein the display device obtains an image quality parameter configuration file and file fingerprint information, and sends the image quality parameter configuration file and file fingerprint information to the capturing device through a USB transmission link, specifically includes:
the second INI analyzer module loads all parameters in the screen matching information file, and closes the screen matching information file after the parameters are stored in the memory;
the second image quality parameter upgrading module initializes a USB drive, establishes a USB transmission link with the display device, acquires the ISP main control chip model and the sensor model of the capturing device, requests image quality parameter configuration files and file fingerprint information from a server, sends the image quality parameter configuration files and the file fingerprint information to the capturing device through the USB transmission link, and receives upgrading results fed back by the capturing device.
Optionally, in the image quality parameter upgrading method based on the image quality parameter upgrading system, the second image quality parameter upgrading module obtains an ISP main control chip model and a sensor model of the capturing device and a matched screen of the display device, requests an image quality parameter configuration file and file fingerprint information from a server, sends the image quality parameter configuration file and file fingerprint information to the capturing device through the USB transmission link, and receives an upgrading result fed back by the capturing device, and specifically includes:
and the second image quality parameter upgrading module initializes a USB drive and establishes a USB transmission link with the display equipment.
After the second INI analyzer module loads the screen matching information file, the second image quality parameter upgrading module requests the screen matching information to the second INI analyzer module to acquire the matched screen;
after the second image quality parameter upgrading module establishes a USB transmission link with the capturing device, the second image quality parameter upgrading module obtains the ISP main control chip model and the sensor model of the capturing device through the USB transmission link;
the second image quality parameter upgrading module requests image quality parameter configuration files and third file fingerprint information from the server according to the matched screen information, the ISP main control chip model and the sensor model;
after the second image quality parameter upgrading module finishes downloading from the server, calculating first file fingerprint information of the image quality parameter configuration file, and checking whether the first file fingerprint information is equal to the third file fingerprint information;
and if the first file fingerprint information is equal to the third file fingerprint information, checking to pass, and transmitting the number configuration file and the first fingerprint information to the capturing device through the USB transmission link by the second image quality parameter upgrading module, and acquiring a current upgrading result after the transmission is completed.
The invention obtains the image quality parameter configuration file and the file fingerprint information through the display equipment and sends the configuration file and the file fingerprint information to the capturing equipment through the USB transmission link; and the capturing device performs upgrading operation according to the image quality parameter configuration file and the file fingerprint information, and feeds an upgrading result back to the display device after the upgrading operation is completed. By separating the image quality configuration parameters from the software, the display device updates the image quality parameters of the capturing device through the USB, so that the difficulty in developing the software of the capturing device and the maintenance cost of the firmware version of the capturing device are reduced, and meanwhile, the image quality configuration of the capturing device is updated through a single file upgrading mode, so that the upgrading efficiency is improved.
Drawings
FIG. 1 is a schematic diagram of an image quality parameter upgrade system according to a preferred embodiment of the present invention;
FIG. 2 is an interactive flow chart of a preferred embodiment of the image quality parameter upgrading method of the present invention;
FIG. 3 is a flowchart illustrating steps performed by the first INI parser module in a preferred embodiment of the image quality parameter upgrading method of the present invention;
FIG. 4 is a flowchart illustrating the steps performed by the XML parser module in a preferred embodiment of the image quality parameter upgrade method of the present invention;
FIG. 5 is a flowchart illustrating steps performed by the image quality parameter application module in a preferred embodiment of the image quality parameter upgrading method according to the present invention;
FIG. 6 is a flowchart illustrating steps performed by the first image quality parameter upgrading module according to the preferred embodiment of the image quality parameter upgrading method of the present invention;
FIG. 7 is a flowchart illustrating steps performed by the second INI parser module in a preferred embodiment of the image quality parameter upgrading method of the present invention;
FIG. 8 is a flowchart illustrating steps performed by the second image quality parameter upgrading module according to the preferred embodiment of the image quality parameter upgrading method of the present invention;
FIG. 9 is a diagram showing capturing device product information in a preferred embodiment of the image quality parameter upgrade method of the present invention;
FIG. 10 is a diagram showing a configuration file of screen matching information of a display device according to a preferred embodiment of the image quality parameter upgrading method of the present invention;
FIG. 11 is a diagram illustrating an image quality parameter configuration file according to a preferred embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more clear and clear, the present invention will be further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
As shown in fig. 1, the image quality parameter upgrading system according to the preferred embodiment of the present invention includes: a capturing device 100 and a display device 200, wherein the capturing device 100 and the display device 200 establish a USB transmission link through USB; the display device 200 is configured to obtain an image quality parameter configuration file and file fingerprint information, and send the image quality parameter configuration file and file fingerprint information to the capturing device 100 through the USB transmission link; the capturing device 100 is configured to perform an upgrade operation according to the image quality parameter configuration file and the file fingerprint information, and feed back an upgrade result to the display device 200 after the upgrade operation is completed.
Specifically, as shown in fig. 1, the capturing apparatus 100 includes:
a first INI parser module 101, configured to open a product information configuration file to read all parameters, save the parameters to a memory, and close the product information configuration file; the XML parser module 102 is configured to create an empty XML document object, load an image quality parameter configuration file, obtain a parsing result, initialize the XML document object, traverse the XML document object, obtain queue data, send the queue data to a queue, and obtain the queue data (the queue data includes child node names, sun Jie node names and grandchild node values) and send the queue data to the image quality parameter application module 103; an image quality parameter application module 103, configured to determine an image quality parameter name and an image quality parameter value of a current application according to the received queue data, configure a current image quality parameter, and continue waiting for the image quality parameters transmitted by the XML parser module to be configured until all image quality parameters are configured; the first image quality parameter upgrade module 104 is configured to initialize a USB driver, establish a USB transmission link with the display device 200, obtain an image quality parameter configuration upgrade request of the display device 200, obtain an image quality parameter configuration file and file fingerprint information through the USB transmission link, perform an upgrade operation, and after the upgrade operation is completed, feed back an upgrade result to the display device 200.
Specifically, as shown in fig. 1, the display apparatus 200 includes:
the second INI parser module 201 is configured to load all parameters in the screen matching information file, store the parameters in the memory, and close the screen matching information file; the second image quality parameter upgrade module 202 is configured to initialize a USB driver, establish a USB transmission link with the capturing device 100, obtain an ISP host control chip model and a sensor model of the capturing device and a configured screen of the display device 200, request an image quality parameter configuration file and file fingerprint information from a server, send the image quality parameter configuration file and file fingerprint information to the capturing device 100 through the USB transmission link, and receive an upgrade result fed back by the capturing device 100.
Further, based on the above-mentioned image quality parameter upgrading system, the present invention also provides an image quality parameter upgrading method based on the image quality parameter upgrading system, as shown in fig. 2, the image quality parameter upgrading method according to the preferred embodiment of the present invention includes the following steps:
the display equipment acquires an image quality parameter configuration file and file fingerprint information and sends the image quality parameter configuration file and the file fingerprint information to the capturing equipment through a USB transmission link; and the capturing device performs upgrading operation according to the image quality parameter configuration file and the file fingerprint information, and feeds an upgrading result back to the display device after the upgrading operation is completed.
The capturing device (for example, a camera) performs an upgrade operation according to the image quality parameter configuration file and the file fingerprint information, and feeds an upgrade result back to the display device after the upgrade operation is completed, which specifically includes:
the first INI analyzer module opens the product information configuration file to read all parameters, stores the parameters into a memory and closes the product information configuration file; the XML analyzer module creates an empty XML document object, loads an image quality parameter configuration file, obtains an analysis result, initializes the XML document object, traverses the XML document object to obtain queue data, sends the queue data to the queue, and sends the queue data to the image quality parameter application module; the image quality parameter application module determines the image quality parameter name and the image quality parameter value of the current application according to the received queue data, configures the current image quality parameter, and continues to wait for the image quality parameter transmitted by the XML parser module and configure until all the image quality parameters are configured; the first image quality parameter upgrading module initializes a USB drive, establishes a USB transmission link with the display equipment, acquires an image quality parameter configuration upgrading request of the display equipment, acquires an image quality parameter configuration file and file fingerprint information through the USB transmission link, performs upgrading operation, and feeds an upgrading result back to the display equipment after the upgrading operation is completed.
Specifically, as shown in fig. 3, after the capturing device (e.g. a camera) is powered on, the first INI parser module opens a product information configuration file (product_info. INI), as shown in fig. 9, reads all parameters in the product information configuration file, stores the parameters in a memory (the memory is a bridge for temporarily storing operation data in a CPU and exchanging data with an external memory such as a hard disk, and is used for communicating with the CPU by the external memory), runs all programs in the computer in the memory), and closes the product information configuration file (product_info. INI) after the storage is completed. The function of loading the parameters in the product information configuration file is to acquire the ISP main control chip and the sensor model from the INI configuration file, because the subsequent first image quality parameter upgrading module can request the first INI analyzer module for the information of the two parameters, namely the ISP main control chip and the sensor model, in the upgrading process.
Specifically, as shown in fig. 4, after the capturing device (e.g. a camera) is powered on, the XML parser module creates an empty XML document object, loads an image quality parameter configuration file (e.g. LC550EGY-smm3_rv1126_gc4c33_konka_v0.0.1.XML, as shown in fig. 11), obtains a parsing result, is used to initialize the newly created empty XML document object, then obtains a set of all children nodes of the IqParam node from the XML document object, traverses all children nodes of the IqParam node, obtains attributes of each grandchild node type and size (element type and element number), parses values of each grandchild node according to the attributes of the type and size, and stores the above information (child node name, sun Jie node name and grandchild node value) after parsing is completed, and sends the information to a queue (defined as queue data) to the image quality parameter application module.
Specifically, as shown in fig. 5, the image quality parameter application module waits for the queue data, obtains the queue data (child node name, sun Jie node name and grandchild node value) transmitted by the XML parser module, and the image quality parameter application module can determine the image quality parameter name currently applied according to the child node name and Sun Jie node name, whereas the grandchild node value (the XML node mainly has three aspects including attribute, node name and node value) is the value of the image quality parameter, and then invokes the interface corresponding to the image quality parameter to configure the image quality parameter, and after the configuration of the current image quality parameter is completed, continues waiting for the image quality parameter transmitted by the XML parser module and configuring until the configuration of all the image quality parameters is completed.
Specifically, as shown in fig. 6, the first image quality parameter upgrade module initializes a USB driver, establishes a USB transmission link with the display device, and subscribes to event messages from the display device. After the first INI parser module is waited to load the product information configuration file (product_info.ini), product information is requested to the first INI parser module, and an ISP main control chip model and a sensor model are obtained (in the embodiment of the invention, the ISP main control chip model is RV1126, and the sensor model is GC4C 33); then, if the display device requests product information, responding to the ISP main control chip model and the sensor model, if the display device requests image quality parameter configuration upgrade, acquiring an image quality parameter configuration file (representing the image quality parameter configuration file as shown in fig. 11) and first file fingerprint information (A) thereof through a USB transmission link, storing the image quality parameter configuration file in a temporary path after downloading the image quality parameter configuration file, calculating and obtaining second file fingerprint information (B), and then, checking the file fingerprint information, if A is not equal to B, checking not to pass, and representing that the upgrade fails; if A is equal to B, checking is passed; after verification is passed, the image quality parameter configuration file is moved to a path which is actually effective, and upgrading is successful; the XML parser module loads the image quality parameter configuration file after the next power-on start, and the image quality parameter application module takes effect after applying the image quality parameters in the parsing result; and after the upgrading operation is finished, feeding back an upgrading result to the display equipment.
In the invention, the file fingerprint is used for calculating a specific file through a certain algorithm to obtain a checksum, and the file fingerprint is commonly used for verifying the data consistency in the transmission process, and common verification algorithms include CRC, MD5, sha1 and the like.
The display device obtains the image quality parameter configuration file and the file fingerprint information, and sends the image quality parameter configuration file and the file fingerprint information to the capturing device through a USB transmission link, and the method specifically comprises the following steps:
the second INI analyzer module loads all parameters in the screen matching information file, and closes the screen matching information file after the parameters are stored in the memory; the second image quality parameter upgrading module initializes a USB drive, establishes a USB transmission link with the capturing device, acquires the ISP main control chip model and the sensor model of the capturing device and the matched screen of the display device, requests the image quality parameter configuration file and the file fingerprint information from the server, then sends the image quality parameter configuration file and the file fingerprint information to the capturing device through the USB transmission link, and receives an upgrading result fed back by the capturing device.
Specifically, as shown in fig. 7, after the display device is powered on, the second INI parser module opens a panel_info.ini, which is a configuration file stored in the display device, and stores the information of the panel, and referring to fig. 10, for the panel information configuration file of the display device, it may be considered that the television (or the display device) is provided with an LC550EGY-SMM3 screen, that is, an LG 55 inch 4K LED screen; then the second INI analyzer module loads a screen matching information file (panel_info.ini), reads all parameters and stores the parameters into a memory, wherein the parameters are used for acquiring a matched screen, and requesting to download a corresponding image quality parameter upgrading file from a server according to the matched screen, the type of an ISP main control chip and the type of a sensor; thereafter, the panel information file (panel_info.ini) is closed.
Specifically, as shown in fig. 8, the second image quality parameter upgrade module initializes a USB driver to establish a USB transmission link with the capturing device; after the second INI analyzer module loads the screen matching information file (panel_info.ini), requesting the screen matching information from the second INI analyzer module to acquire a matched screen (in the embodiment of the invention, LC550EGY-SMM3, namely LG 55 inch 4K LED screen); the second image quality parameter upgrading module obtains the ISP main control chip model and the sensor model of the capturing device through the USB transmission link, requests an image quality parameter configuration file and third file fingerprint information (C) from a server according to the information such as the screen allocation, the ISP main control chip model and the sensor model, calculates first file fingerprint information (A) of the image quality configuration file after downloading from the server, checks the file fingerprint information, and if A is not equal to C, the verification is not passed, and the upgrading failure is indicated; and if the image quality parameter configuration file A is equal to the image quality parameter configuration file C, checking and transmitting the image quality parameter configuration file and the first file fingerprint information (A) to the capturing equipment through a USB transmission link, and acquiring the upgrading result after the transmission is completed.
According to the invention, the image quality configuration parameters are separated from software, the image quality parameters of the capturing device (such as a camera) are updated by the display device through the USB, so that the difficulty in developing the software of the capturing device and the maintenance cost of the firmware version of the camera are reduced, meanwhile, the image quality configuration of the capturing device is updated through a single file upgrading mode instead of the mode of upgrading the whole firmware package, and the upgrading efficiency is improved.
In summary, the present invention provides a system and a method for upgrading image quality parameters, where the system for upgrading image quality parameters includes: the device comprises a capturing device and a display device, wherein the capturing device and the display device establish a USB transmission link through USB; the display device is used for acquiring the image quality parameter configuration file and the file fingerprint information and transmitting the image quality parameter configuration file and the file fingerprint information to the capturing device through the USB transmission link; the capturing device is used for carrying out upgrading operation according to the image quality parameter configuration file and the file fingerprint information, and feeding back an upgrading result to the display device after the upgrading operation is completed. According to the invention, the image quality configuration parameters are separated from the software, the image quality parameters of the capturing device are updated by the display device through the USB, so that the difficulty in developing the software of the capturing device and the maintenance cost of the firmware version of the capturing device are reduced, and meanwhile, the image quality configuration of the capturing device is updated in a single file upgrading mode, so that the upgrading efficiency is improved.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Of course, those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by a computer program for instructing relevant hardware (e.g., processor, controller, etc.), the program may be stored on a computer readable storage medium, and the program may include the above described methods when executed. The computer readable storage medium may be a memory, a magnetic disk, an optical disk, etc.
It is to be understood that the invention is not limited in its application to the examples described above, but is capable of modification and variation in light of the above teachings by those skilled in the art, and that all such modifications and variations are intended to be included within the scope of the appended claims.

Claims (9)

1. An image quality parameter upgrade system, characterized in that the image quality parameter upgrade system comprises: the device comprises a capturing device and a display device, wherein the capturing device and the display device establish a USB transmission link through USB;
the display device is used for acquiring the image quality parameter configuration file and the file fingerprint information and transmitting the image quality parameter configuration file and the file fingerprint information to the capturing device through the USB transmission link;
the display device includes:
the second INI analyzer module is used for loading all parameters in the screen matching information file, storing the parameters in the memory and closing the screen matching information file;
the second image quality parameter upgrading module is used for establishing a USB transmission link with the capturing device, acquiring the ISP main control chip model and the sensor model of the capturing device, requesting image quality parameter configuration files and file fingerprint information from a server, sending the image quality parameter configuration files and the file fingerprint information to the capturing device through the USB transmission link, and receiving an upgrading result fed back by the capturing device;
the second image quality parameter upgrading module requests image quality parameter configuration files and third file fingerprint information from the server according to the matched screen information, the ISP main control chip model and the sensor model; after the second image quality parameter upgrading module finishes downloading from the server, calculating first file fingerprint information of the image quality parameter configuration file, and checking whether the first file fingerprint information is equal to the third file fingerprint information;
the capturing device is used for carrying out upgrading operation according to the image quality parameter configuration file and the file fingerprint information, and feeding back an upgrading result to the display device after the upgrading operation is completed;
the capture device includes:
the first INI analyzer module is used for opening the product information configuration file to read all parameters, storing the parameters into a memory and closing the product information configuration file;
the XML analyzer module is used for creating an empty XML document object, loading an image quality parameter configuration file, initializing the XML document object after obtaining an analysis result, traversing the XML document object to obtain queue data, sending the queue data to the queue, and sending the queue data to the image quality parameter application module;
the image quality parameter application module is used for determining the image quality parameter name and the image quality parameter value of the current application according to the received queue data, configuring the current image quality parameter, and continuing to wait for the image quality parameter transmitted by the XML parser module and configuring until all the image quality parameters are configured;
the first image quality parameter upgrading module is used for initializing a USB transmission link with the display equipment, acquiring an image quality parameter configuration upgrading request of the display equipment, acquiring an image quality parameter configuration file and file fingerprint information through the USB transmission link, then performing upgrading operation, and feeding back an upgrading result to the display equipment after the upgrading operation is finished;
if the display device requests the image quality parameter configuration upgrade, the first image quality parameter upgrade module obtains an image quality parameter configuration file and first file fingerprint information through the USB transmission link, the image quality parameter configuration file is stored in a temporary path after being downloaded, the first image quality parameter upgrade module calculates second file fingerprint information, and whether the first file fingerprint information is equal to the second file fingerprint information is checked.
2. The image quality parameter upgrade system of claim 1, wherein the queue data comprises: child node names, sun Jie node names, and grandchild node values.
3. An image quality parameter upgrading method based on the image quality parameter upgrading system according to any one of claims 1-2, characterized in that the image quality parameter upgrading method based on the image quality parameter upgrading system comprises:
the display equipment acquires an image quality parameter configuration file and file fingerprint information and sends the image quality parameter configuration file and the file fingerprint information to the capturing equipment through a USB transmission link;
and the capturing device performs upgrading operation according to the image quality parameter configuration file and the file fingerprint information, and feeds an upgrading result back to the display device after the upgrading operation is completed.
4. The image quality parameter upgrading method based on the image quality parameter upgrading system according to claim 3, wherein the capturing device performs an upgrading operation according to the image quality parameter configuration file and the file fingerprint information, and feeds back an upgrading result to the display device after the upgrading operation is completed, and the method specifically comprises:
the first INI analyzer module opens the product information configuration file to read all parameters, stores the parameters into a memory and closes the product information configuration file;
the XML analyzer module creates an empty XML document object, loads an image quality parameter configuration file, obtains an analysis result, initializes the XML document object, traverses the XML document object to obtain queue data, sends the queue data to the queue, and sends the queue data to the image quality parameter application module;
the image quality parameter application module determines the image quality parameter name and the image quality parameter value of the current application according to the received queue data, configures the current image quality parameter, and continues to wait for the image quality parameter transmitted by the XML parser module and configure until all the image quality parameters are configured;
the first image quality parameter upgrading module establishes a USB transmission link with the display equipment, acquires an image quality parameter configuration upgrading request of the display equipment, acquires an image quality parameter configuration file and file fingerprint information through the USB transmission link, performs upgrading operation, and feeds an upgrading result back to the display equipment after the upgrading operation is completed.
5. The method for upgrading image quality parameters based on an image quality parameter upgrading system according to claim 4, wherein the XML parser module creates an empty XML document object, loads an image quality parameter configuration file, and initializes the XML document object after obtaining a parsing result, traverses the XML document object to obtain queue data, and sends the queue data to the image quality parameter application module, and the method specifically comprises:
when the capturing device is powered on, the XML analyzer module creates an empty XML document object, loads an image quality parameter configuration file and obtains an analysis result;
the XML parser module initializes an XML document object according to the parsing result, and acquires a set of all child nodes of the IqParam node from the initialized XML document object;
the XML parser module traverses all child nodes, obtains the element data types and the element number attributes of each grandchild node, and parses the values of each grandchild node according to the element data types and the element number attributes;
and after the XML parser module parses the child node name, the Sun Jie roll name and the grandchild node value, the child node name, the Sun Jie roll name and the grandchild node value are saved as queue data and sent to a queue to be transmitted to the image quality parameter application module.
6. The method for upgrading image quality parameters based on an image quality parameter upgrading system according to claim 5, wherein the image quality parameter application module determines an image quality parameter name and an image quality parameter value of a current application according to the received queue data, configures the current image quality parameter, and continues waiting for the image quality parameter transmitted from the XML parser module and configuring until all image quality parameters are configured, and specifically comprises:
the image quality parameter application module waits for queue data to acquire the queue data transmitted by the XML parser module;
the image quality parameter application module determines the image quality parameter name of the current application according to the child node name and the grandchild node name, and takes the grandchild node value as the value of the image quality parameter directly;
and the image quality parameter application module invokes an interface corresponding to the image quality parameter to configure the current image quality parameter, and after the configuration of the current image quality parameter is completed, continues to wait for the image quality parameter transmitted by the XML parser module and configure the image quality parameter until the configuration of all the image quality parameters is completed.
7. The method for upgrading image quality parameters based on an image quality parameter upgrading system according to claim 6, wherein the first image quality parameter upgrading module establishes a USB transmission link with the capturing device, obtains an image quality parameter configuration upgrading request of the display device, obtains an image quality parameter configuration file and file fingerprint information through the USB transmission link, performs an upgrading operation, and feeds back an upgrading result to the display device after the upgrading operation is completed, the method specifically comprises:
the first image quality parameter upgrading module initializes a USB drive and establishes a USB transmission link with the display equipment;
after the first INI analyzer module loads the product information configuration file, the first image quality parameter upgrading module requests product information from the first INI analyzer module to acquire an ISP main control chip model and a sensor model;
after the first image quality parameter upgrading module establishes a USB transmission link with the display equipment, the first image quality parameter upgrading module obtains an image quality parameter configuration upgrading request of the display equipment and responds to an ISP main control chip model and a sensor model to the display equipment;
if the first file fingerprint information is equal to the second file fingerprint information, checking that the first file fingerprint information passes, and the first image quality parameter upgrading module moves the image quality parameter configuration file to an actual effective path, so that the upgrading is successful; the XML parser module loads the image quality parameter configuration file after the next power-on start, and the image quality parameter application module takes effect after applying the image quality parameters in the parsing result;
and after the upgrading operation is finished, the first image quality parameter upgrading module feeds an upgrading result back to the display equipment.
8. The method for upgrading image quality parameters based on the image quality parameter upgrading system according to claim 7, wherein the display device obtains the image quality parameter configuration file and the file fingerprint information, and sends the image quality parameter configuration file and the file fingerprint information to the capturing device through a USB transmission link, and the method specifically comprises:
the second image quality parameter upgrading module initializes a USB drive and establishes a USB transmission link with the capturing equipment;
the second INI analyzer module loads all parameters in the screen matching information file, and closes the screen matching information file after the parameters are stored in the memory;
after the second image quality parameter upgrading module establishes a USB transmission link with the capturing device, the ISP main control chip model and the sensor model of the capturing device are obtained, image quality parameter configuration files and file fingerprint information are requested from a server and then sent to the capturing device through the USB transmission link, and an upgrading result fed back by the capturing device is received.
9. The method for upgrading image quality parameters based on an image quality parameter upgrading system according to claim 8, wherein the second image quality parameter upgrading module obtains an ISP main control chip model and a sensor model of the capturing device, requests image quality parameter configuration files and file fingerprint information from a server, sends the image quality parameter configuration files and file fingerprint information to the capturing device through the USB transmission link, and receives an upgrading result fed back by the capturing device, and specifically includes:
after the second INI analyzer module loads the screen matching information file, the second image quality parameter upgrading module requests the screen matching information to the second INI analyzer module to acquire the matched screen;
after the second image quality parameter upgrading module establishes a USB transmission link with the capturing device, the second image quality parameter upgrading module obtains the ISP main control chip model and the sensor model of the capturing device through the USB transmission link;
and if the first file fingerprint information is equal to the third file fingerprint information, checking to pass, and transmitting the number configuration file and the first file fingerprint information to the capturing equipment through the USB transmission link by the second image quality parameter upgrading module, and acquiring a current upgrading result after the transmission is completed.
CN202110638016.5A 2021-06-08 2021-06-08 Image quality parameter upgrading system and method Active CN113360169B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110638016.5A CN113360169B (en) 2021-06-08 2021-06-08 Image quality parameter upgrading system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110638016.5A CN113360169B (en) 2021-06-08 2021-06-08 Image quality parameter upgrading system and method

Publications (2)

Publication Number Publication Date
CN113360169A CN113360169A (en) 2021-09-07
CN113360169B true CN113360169B (en) 2023-05-16

Family

ID=77533192

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110638016.5A Active CN113360169B (en) 2021-06-08 2021-06-08 Image quality parameter upgrading system and method

Country Status (1)

Country Link
CN (1) CN113360169B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885332A (en) * 2019-02-27 2019-06-14 深圳创维-Rgb电子有限公司 Image quality chip software upgrade method, device, display equipment and storage medium
CN111459523A (en) * 2020-04-02 2020-07-28 深圳创维-Rgb电子有限公司 Image quality chip software upgrading method and device, electronic equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105242950A (en) * 2015-11-12 2016-01-13 广州视睿电子科技有限公司 Display screen upgrading method and system
CN107682436A (en) * 2017-10-09 2018-02-09 武汉斗鱼网络科技有限公司 A kind of method, apparatus and equipment of more new file
CN109274959B (en) * 2018-09-19 2020-02-14 深圳创维-Rgb电子有限公司 Television screen parameter separation method, television and computer readable storage medium
CN109388426B (en) * 2018-09-28 2020-05-05 北京三快在线科技有限公司 Window parameter configuration method and system and computer readable medium
CN110928552B (en) * 2019-11-29 2021-07-16 联想(北京)有限公司 Image quality regulation and control processing method and system of camera module

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885332A (en) * 2019-02-27 2019-06-14 深圳创维-Rgb电子有限公司 Image quality chip software upgrade method, device, display equipment and storage medium
CN111459523A (en) * 2020-04-02 2020-07-28 深圳创维-Rgb电子有限公司 Image quality chip software upgrading method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113360169A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
US8099502B2 (en) System and method for dynamic uploading and execution of applications and drivers between devices
US8466968B2 (en) Image processing apparatus, method of controlling the apparatus and communication system
US11032136B2 (en) Discovery of network camera devices
WO2020024750A1 (en) Method and system for defining camera by using software, and camera
EP1851912A1 (en) Automated testing device and method of data broadcasting receivers based on test scenario
US11418414B2 (en) Method for coordinating a plurality of device management servers
WO2016058519A1 (en) Physical switch initialization using representational state transfer services
US9485402B2 (en) Imaging apparatus, operation control terminal device, operation control system and computer readable medium for operation control
US7711866B2 (en) Methods to test multimedia devices on computer systems
CA2745981C (en) A computer-implemented method, a computer program product and an embedded system for increasing the speed of data retrieval by a client on the embedded system
US20160373816A1 (en) Automation testing apparatus
CN112311950A (en) Communication method and device
CN113360169B (en) Image quality parameter upgrading system and method
US11301227B2 (en) Server apparatus, information processing apparatus, and control method for installing application
CN112087569B (en) Camera and camera starting method and device
US9055235B2 (en) Video output apparatus and video input determination method
US8812743B2 (en) Image capturing transfer apparatus that sends a flash on/off parameter instruction for a flash unit connected to the image capturing apparatus
US20200186586A1 (en) Communication apparatus capable of communicating with external apparatus, method for controlling communication apparatus, and recording medium
McGovern Pyparrot’s Documentation
CN111787221B (en) Image acquisition method, device, system, equipment and computer storage medium
WO2024109882A1 (en) Data processing method, apparatus and device
CN117891522A (en) Application management method, device, equipment and storage medium
CN114666515A (en) Real-time acquisition device and method for original image data
CN103079091A (en) Method and device for previewing streaming media
CN116560760A (en) Cross-system peripheral operation method, device, equipment and medium based on external HUB

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