CN103838610A - Method for automatically recognizing configuration information of mainboards in product software - Google Patents
Method for automatically recognizing configuration information of mainboards in product software Download PDFInfo
- Publication number
- CN103838610A CN103838610A CN201410106743.7A CN201410106743A CN103838610A CN 103838610 A CN103838610 A CN 103838610A CN 201410106743 A CN201410106743 A CN 201410106743A CN 103838610 A CN103838610 A CN 103838610A
- Authority
- CN
- China
- Prior art keywords
- configuration information
- mainboards
- mainboard
- resistance
- product software
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Stored Programmes (AREA)
Abstract
The invention relates to a method for automatically recognizing configuration information of mainboards in product software. The method includes the first step of dividing ADC gathered voltage values according to configuration information of the various mainboards and establishing a planning chart in which the ADC gathered voltage values are in one-to-one correspondence with the configuration information of various mainboards, the second step of carrying different circuits on peripheries of A/D port lines of the mainboards according to difference of the configuration information of the mainboards and enabling voltage values at the A/D port lines of the mainboards to correspond to the configuration information of the mainboards, the third step of reading the voltage values of the A/D port lines of the mainboards when the product software is loaded and runs on the mainboards, and the fourth step of enabling the product software to search the planning chart to obtain the configuration information, corresponding to the voltage values, of the mainboards voltage values according to the voltage values of the A/D port lines of the mainboards, and then further loading and running the program corresponding to the configuration information of the mainboards. According to the method, the problem that limited I/O port lines can not adapt to multiple changes of product versions or one function has several hardware configuration schemes.
Description
Technical field
The present invention is applicable to the identification of product main board version, the identification of main board function configuration information application technology, particularly a kind of method of automatically identifying motherboard configuration information for product software.
Background technology
In a product platform, thereby how same software is realized, the product mainboard of difference in functionality is identified to correct load operating program is automatically a problem that must solve in product development.
Existing product software is mainly realized by following 2 kinds of modes in main board version and motherboard configuration information identification:
1, distinguish with different allocation list files:
The mainboard of difference in functionality is distinguished with different allocation list files, embodies the version of corresponding mainboard and the function information that this mainboard configures in allocation list.
This mode is managed very inconvenient, needs to add this allocation list file to carry out in software inventory corresponding one by one simultaneously, is equivalent to download software program and also will just can makes the correct loading procedure operation of this piece mainboard at allocation list file corresponding to this mainboard of download.Because the mainboard of difference in functionality is a variety of, just need a lot of different allocation list files of management, just seem pretty troublesome safeguarded in software upgrading like this, while also easily causing production line personnel download configuration list file, obscures.
2, identify with the varying level state that the upper common I/O mouth line of MCU reads:
The level state that this mode utilizes I/O mouth line can read is distinguished, and I/O line can have that logic is high, logic low, unsettled three kinds of states can be for configuration, many mouth lines combine just have abundant state can be for configuring.
When applying, this mode carries different circuit devcies by I/O mouth line periphery, make I/O mouth line in fixing logic level state, when program loading operation, first read the level state of configuration I/O mouth line, just can get the configuration information that this mainboard is corresponding, thus the correct program of load operating.
As shown in Fig. 1 and table 1, two mouth lines of ICC_SEL3V_5V and ICC_SEL1.8V are now built by 2 pull down resistor R94, R99, make them in fixed logic low (LL) state, this state has represented that this mainboard has configured IC-card and SAM card function simultaneously, when program operation, will automatically identify the card class configuration information of this plate.
This mode can realize the automatic identification of software to main board version and configuration, saves allocation list file, as long as upgrade maintenance is managed same software.But a product, in its life cycle, may constantly be upgraded and derive a lot of versions, or a kind of function has several hardware configuration schemes to exist simultaneously and effectively, at this moment manage these configurations with I/O mouth line separately and be difficult to.Particularly on the mainboard of some function complexity, this is just very limited for the resource of I/O line, is difficult to vacateing abundant I/O mouth line and be specifically designed to the identification of main board function configuration, even if multiplexing being also difficult to of I/O line satisfies the demands.
Summary of the invention
A kind of method that the object of the invention is to overcome above-mentioned weak point of the prior art and provide ADC of utilization to gather different voltages realizes the automatic identification to main board version or main board function configuration information, overcomes single or limited I/O mouth line and cannot adapt to that product version changes often or a kind of function has the situation of several hardware configuration schemes.
For achieving the above object, technical scheme of the present invention is: a kind of method of automatically identifying motherboard configuration information for product software, carry out according to the following steps,
Step S01: according to all types of motherboard configuration informations, divide ADC and gather voltage value, and create this ADC collection voltage value and all types of motherboard configuration information planning table one to one;
Step S02: according to the difference of motherboard configuration information, at the different circuit of the peripheral lift-launch of mainboard A/D mouth line, make the voltage value at mainboard A/D mouth line place corresponding with this motherboard configuration information;
Step S03: product software when load operating, reads the voltage value of described mainboard A/D mouth line on mainboard;
Step S04: according to the voltage value of above-mentioned mainboard A/D mouth line, product software is searched described planning table and obtained the motherboard configuration information that this voltage value is corresponding, thereby further program corresponding to this motherboard configuration information of load operating.
In embodiments of the present invention, described motherboard configuration information is main board version information or main board function information.
In embodiments of the present invention, described planning table creates in product software.
In embodiments of the present invention, described step S02, at the peripheral circuit carrying of mainboard A/D mouth line, comprises the first resistance and the second resistance; One end of described the first resistance is connected to power end, and the other end of described the first resistance is connected to ground through the second resistance; The tie point of described the first resistance and the second resistance is connected to mainboard A/D mouth.
Compared to prior art, the present invention has following beneficial effect:
1, the present invention is because the voltage value of ADC shown in can acquisition tables is many, therefore this voltage value can represent more motherboard configuration information, to adapt to, product version changes often or a kind of function has several hardware configuration schemes;
2 and the invention solves limited I/O mouth line and cannot adapt to that product version changes often or a kind of function has the situation of several hardware configuration schemes.
Brief description of the drawings
Fig. 1 is for realizing motherboard configuration information identification schematic diagram by common I/O line.
Fig. 2 is that the embodiment of the present invention one is by the schematic diagram of A/D mouth line identification main board version information.
Fig. 3 is that the embodiment of the present invention two is by the schematic diagram of A/D mouth line identification main board function information.
Embodiment
Below in conjunction with accompanying drawing, technical scheme of the present invention is specifically described.
A kind of method of automatically identifying motherboard configuration information for product software of the present invention, carries out according to the following steps,
Step S01: according to all types of motherboard configuration informations, divide ADC and gather voltage value, and create this ADC collection voltage value and all types of motherboard configuration information planning table one to one;
Step S02: according to the difference of motherboard configuration information, at the different circuit of the peripheral lift-launch of mainboard A/D mouth line, make the voltage value at mainboard A/D mouth line place corresponding with this motherboard configuration information;
Step S03: product software when load operating, reads the voltage value of described mainboard A/D mouth line on mainboard;
Step S04: according to the voltage value of above-mentioned mainboard A/D mouth line, product software is searched described planning table and obtained the motherboard configuration information that this voltage value is corresponding, thereby further program corresponding to this motherboard configuration information of load operating.
Described step S02, at the peripheral circuit carrying of mainboard A/D mouth line, comprises the first resistance and the second resistance; One end of described the first resistance is connected to power end, and the other end of described the first resistance is connected to ground through the second resistance; The tie point of described the first resistance and the second resistance is connected to mainboard A/D mouth.
Wherein, described motherboard configuration information is main board version information or main board function information; Described planning table creates in product software.
For better telling about the present invention, be below specific embodiments of the invention.
Embodiment 1:
As shown in Figure 3, for first embodiment of the present invention, A/D mouth line ADC0_DP3 is now used for representing the change of product main board version, in this diagram, the network that ADC0_DP3 mouth line periphery is barricaded as by resistance R 142 and R141, makes in the fixed level of ADC0_DP3 mouth line place level in 1.5V.The level that first reads configuration A/D mouth line ADC0_DP3 when this mainboard program loading operation is 1.5V, and software is V1.30 version getting according to prior built-in planning table the main board version configuration information that this mainboard is corresponding, thereby continues program corresponding to load operating.
Embodiment 2:
As shown in Fig. 3 and table 2, for second embodiment of the present invention, A/D mouth line ADC0_DP0 is now used for representing the various hardware configuration informations of product I C card function, in this diagram, the network that ADC0_DP0 mouth line periphery is barricaded as by resistance R 143 and R144, makes in the fixed level of ADC0_DP0 mouth line place level in 1.65V.The level that first reads configuration A/D mouth line ADC0_DP0 when this mainboard program loading operation is 1.65V, and software is scheme 4 getting according to prior built-in planning table the IC-card hardware configuration that this mainboard is corresponding, thereby loads correct IC-card driver.
Be more than preferred embodiment of the present invention, all changes of doing according to technical solution of the present invention, when the function producing does not exceed the scope of technical solution of the present invention, all belong to protection scope of the present invention.
Claims (4)
1. a method of automatically identifying motherboard configuration information for product software, is characterized in that: carries out according to the following steps,
Step S01: according to all types of motherboard configuration informations, divide ADC and gather voltage value, and create this ADC collection voltage value and all types of motherboard configuration information planning table one to one;
Step S02: according to the difference of motherboard configuration information, at the different circuit of the peripheral lift-launch of mainboard A/D mouth line, make the voltage value at mainboard A/D mouth line place corresponding with this motherboard configuration information;
Step S03: product software when load operating, reads the voltage value of described mainboard A/D mouth line on mainboard;
Step S04: according to the voltage value of above-mentioned mainboard A/D mouth line, product software is searched described planning table and obtained the motherboard configuration information that this voltage value is corresponding, thereby further program corresponding to this motherboard configuration information of load operating.
2. a kind of method of automatically identifying motherboard configuration information for product software according to claim 1, is characterized in that: described motherboard configuration information is main board version information or main board function information.
3. a kind of method of automatically identifying motherboard configuration information for product software according to claim 1, is characterized in that: described planning table creates in product software.
4. a kind of method of automatically identifying motherboard configuration information for product software according to claim 1, is characterized in that: described step S02, at the peripheral circuit carrying of mainboard A/D mouth line, comprises the first resistance and the second resistance; One end of described the first resistance is connected to power end, and the other end of described the first resistance is connected to ground through the second resistance; The tie point of described the first resistance and the second resistance is connected to mainboard A/D mouth.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410106743.7A CN103838610B (en) | 2014-03-21 | 2014-03-21 | A kind of method for product software automatic identification motherboard configuration information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410106743.7A CN103838610B (en) | 2014-03-21 | 2014-03-21 | A kind of method for product software automatic identification motherboard configuration information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103838610A true CN103838610A (en) | 2014-06-04 |
CN103838610B CN103838610B (en) | 2017-03-08 |
Family
ID=50802143
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410106743.7A Active CN103838610B (en) | 2014-03-21 | 2014-03-21 | A kind of method for product software automatic identification motherboard configuration information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103838610B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104407842A (en) * | 2014-10-21 | 2015-03-11 | 深圳市新国都技术股份有限公司 | A method and system for achieving hardware version identification of POS machine |
CN105791996A (en) * | 2016-01-08 | 2016-07-20 | 深圳创维-Rgb电子有限公司 | Main board operating parameter loading method and device |
CN106033116A (en) * | 2015-03-13 | 2016-10-19 | 乐星产电(无锡)有限公司 | Frequency converter capacity identification device and identification method |
CN111610731A (en) * | 2020-04-13 | 2020-09-01 | 芜湖宏景电子股份有限公司 | Method for identifying software in different states by using hardware circuit |
CN112037726A (en) * | 2020-09-09 | 2020-12-04 | 珠海格力电器股份有限公司 | Display screen drive control method, device and system and household appliance |
CN117407033A (en) * | 2023-12-15 | 2024-01-16 | 深圳市天龙世纪科技发展有限公司 | Method, system and storage medium for switching product types based on resistor |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2681090Y (en) * | 2004-02-20 | 2005-02-23 | 昝昕武 | Portable multiparameter fast and simple monitoring instrument capable of automatic identifying substitutable sensor module |
CN102567171B (en) * | 2011-12-31 | 2014-10-15 | 曙光信息产业股份有限公司 | Method for testing blade server mainboard |
CN202488619U (en) * | 2012-03-16 | 2012-10-10 | 青岛海信宽带多媒体技术有限公司 | Hardware configuration identification circuit and set top box |
CN102981688B (en) * | 2012-11-19 | 2016-06-15 | 深圳市新国都技术股份有限公司 | A kind of five line resistance screen control circuits |
-
2014
- 2014-03-21 CN CN201410106743.7A patent/CN103838610B/en active Active
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104407842A (en) * | 2014-10-21 | 2015-03-11 | 深圳市新国都技术股份有限公司 | A method and system for achieving hardware version identification of POS machine |
CN104407842B (en) * | 2014-10-21 | 2018-06-26 | 深圳市新国都技术股份有限公司 | A kind of realization method and system for the identification of POS machine hardware version |
CN106033116A (en) * | 2015-03-13 | 2016-10-19 | 乐星产电(无锡)有限公司 | Frequency converter capacity identification device and identification method |
CN105791996A (en) * | 2016-01-08 | 2016-07-20 | 深圳创维-Rgb电子有限公司 | Main board operating parameter loading method and device |
CN111610731A (en) * | 2020-04-13 | 2020-09-01 | 芜湖宏景电子股份有限公司 | Method for identifying software in different states by using hardware circuit |
CN112037726A (en) * | 2020-09-09 | 2020-12-04 | 珠海格力电器股份有限公司 | Display screen drive control method, device and system and household appliance |
CN117407033A (en) * | 2023-12-15 | 2024-01-16 | 深圳市天龙世纪科技发展有限公司 | Method, system and storage medium for switching product types based on resistor |
CN117407033B (en) * | 2023-12-15 | 2024-03-22 | 深圳市天龙世纪科技发展有限公司 | Method, system and storage medium for switching product types based on resistor |
Also Published As
Publication number | Publication date |
---|---|
CN103838610B (en) | 2017-03-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103838610A (en) | Method for automatically recognizing configuration information of mainboards in product software | |
CN103748569B (en) | The system and method without driving operation of USB device | |
CN108898230B (en) | Equipment management method and management server | |
CN106055361B (en) | Integrated firmware implementation method and system for multiple different types based on BMC (baseboard management controller) | |
CN102591670A (en) | Firmware upgrading system and method | |
US9921629B2 (en) | Systems and methods for a multi-rail voltage regulator with configurable phase allocation | |
CN104123381A (en) | Automatic matching method of hardware board card | |
CN104035803A (en) | Method, device and programmer for updating CPLD/FPGA firmware | |
US20160011879A1 (en) | Preconfiguring hardware and speeding up server discovery prior to bios boot | |
US20130007428A1 (en) | System and method for customized configuration of information handling systems | |
WO2013009304A1 (en) | Configuration based on chassis identifications | |
CN104090855A (en) | Method and device for making USB (universal serial bus) mode and MHL (mobile high-definition link) mode of USB interface compatible | |
CN109032623A (en) | A kind of initial method and BIOS mirror image of BIOS mirror image | |
CN103677812A (en) | Hardware equipment state adaptive method and device | |
CN111294413A (en) | Method, device and readable medium for determining Internet Protocol (IP) address | |
CN103440146A (en) | BIOS updating method based on cloud storage | |
CN110187872A (en) | A kind of BIOS development approach, system and electronic equipment and storage medium | |
CN110708489A (en) | Communication method, communication device, electronic device and storage medium | |
CN104281459A (en) | BIOS upgrading device | |
US9612638B1 (en) | Systems and methods for automatic detection and configuration of voltage regulator phases in a multi-rail voltage regulator | |
US20130304413A1 (en) | Computing device and method for testing electromagnetic compatiblity of printed circuit board | |
CN104461603A (en) | Information processing method and electronic equipment | |
US10430367B1 (en) | Systems and methods for optimal placement of information handling resource | |
CN112069102B (en) | GPIO controller configuration method and system | |
CN205318368U (en) | Intelligent chip software upgrade device based on online loading |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |