CN103838610B - A kind of method for product software automatic identification motherboard configuration information - Google Patents
A kind of method for product software automatic identification motherboard configuration information Download PDFInfo
- Publication number
- CN103838610B CN103838610B CN201410106743.7A CN201410106743A CN103838610B CN 103838610 B CN103838610 B CN 103838610B CN 201410106743 A CN201410106743 A CN 201410106743A CN 103838610 B CN103838610 B CN 103838610B
- Authority
- CN
- China
- Prior art keywords
- mainboard
- configuration information
- motherboard configuration
- mouth line
- 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.)
- Active
Links
Landscapes
- Stored Programmes (AREA)
Abstract
The present invention relates to a kind of method for product software automatic identification motherboard configuration information, first according to all types of motherboard configuration informations, divide ADC collection voltages numerical value, and create this ADC collection voltages numerical value and the one-to-one planning table of all types of motherboard configuration informations;Then the difference according to motherboard configuration information, carries different circuit so that the voltage value at mainboard A/D mouth line is corresponding with this motherboard configuration information in mainboard A/D mouth line periphery;Finally, product software during load operating, reads the voltage value of described mainboard A/D mouth line on mainboard;According to the voltage value of above-mentioned mainboard A/D mouth line, product software is searched described planning table and is obtained the corresponding motherboard configuration information of this voltage value, thus the further corresponding program of this motherboard configuration information of load operating.The present invention solves limited I/O mouth line and cannot adapt to product version change often or a kind of function has the situation of several hardware configuration schemes.
Description
Technical field
The present invention is applied to the identification of product main board version, main board function configuration information identification application technology, particularly a kind of
Method for product software automatic identification motherboard configuration information.
Background technology
In a product platform, same software how to realize the product mainboard of difference in functionality is carried out automatic identification from
And correctly load operating program is a problem having in product development solve.
Existing product software is main real by following 2 kinds of modes on main board version and motherboard configuration information identification
Existing:
1st, made a distinction with different configuration list files:
The mainboard of difference in functionality is made a distinction with different configuration list files, embody in allocation list the version of corresponding mainboard with
And the function information that this mainboard is configured.
This mode manages very inconvenient, needs to be simultaneously introduced this configuration list file in software inventory and carries out one by one
Corresponding, be equivalent to and downloaded software program and also this block mainboard just will can be made correctly to add downloading the corresponding list file that configures of this mainboard
Load program is run.Because the mainboard many kinds of difference in functionality are it is necessary to manage much different configuration list files, such software liter
It is pretty troublesome that level maintenance just seems, obscures when also easily causing production line personnel's download configuration list file.
2nd, it is identified with the varying level state that I/O mouth line common on MCU reads:
This mode is made a distinction using the level state that I/O mouth line can read, and an I/O line can have logic high, patrol
Volume low, hanging three kinds of states are available for configuration and use, and many mouth lines are combined just having enough states and are available for configuration and use.
When this mode is applied, different circuit devcies are carried so that I/O mouth line is in fixing patrolling by I/O mouth line periphery
Collect in level state, first read the level state of configuration I/O mouth line during program loading operation and correspond to it is possible to get this mainboard
Configuration information, 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 now by 2 pull down resistor R94,
R99 builds, and makes them be in fixed logic low(LL)State, this mainboard of this status representative is configured with IC-card and SAM card simultaneously
Function, program will automatically identify the card class configuration information of this plate when running.
This mode can realize the automatic identification to main board version and configuration for the software, saves configuration list file, as long as
Upgrade maintenance manages same software.But, a product, in its life cycle, may constantly be upgraded and derive very
Multi version, or a kind of function has several hardware configuration schemes to exist simultaneously and effectively, at this moment individually managed with I/O mouth line
These configurations are difficult to complete.Particularly on the complicated mainboard of some functions, the resource of I/O line is originally very limited, is difficult to
Vacateing the identification that enough I/O mouth lines configure dedicated for main board function, even if the multiplexing of I/O line is also difficult to meet need
Ask.
Content of the invention
It is an object of the invention to overcoming above-mentioned weak point of the prior art and providing a kind of different using ADC collection
The method of voltage, to realize the automatic identification to main board version or main board function configuration information, overcomes single or limited I/O
Mouth line cannot adapt to product version change, and often or a kind of function has the situation of several hardware configuration schemes.
For achieving the above object, the technical scheme is that:A kind of configuration for product software automatic identification mainboard is believed
The method of breath, executes according to the following steps,
Step S01:According to all types of motherboard configuration informations, divide ADC collection voltages numerical value, and create this ADC collection electricity
Pressure numerical value one-to-one planning table with all types of motherboard configuration informations;
Step S02:According to the difference of motherboard configuration information, carry different circuit so that leading in mainboard A/D mouth line periphery
Voltage value at plate A/D mouth line is corresponding with this motherboard configuration information;
Step S03:Product software during 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 is obtained this electricity
The pressure corresponding motherboard configuration information of numerical value, thus the further corresponding program of this motherboard configuration information of load operating.
In embodiments of the present invention, described motherboard configuration information is mainboard 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, the circuit carrying in mainboard A/D mouth line periphery, including first resistor
And second resistance;One end of described first resistor is connected to power end, the other end of described first resistor through second resistance connect to
Ground;Described first resistor is connected to mainboard A/D mouth with the junction point of second resistance.
Compared to prior art, the invention has the advantages that:
1st, the present invention is relatively more because ADC can gather the voltage value representing, therefore this voltage value can represent more
Motherboard configuration information, to adapt to product version change, often or a kind of function has several hardware configuration schemes;
2 and the present invention solve limited I/O mouth line and cannot adapt to product version change often or a kind of function has
The situation of several hardware configuration schemes.
Brief description
Fig. 1 is to realize motherboard configuration information by common I/O line to identify schematic diagram.
Fig. 2 is that the embodiment of the present invention one identifies the schematic diagram of main board version information by A/D mouth line.
Fig. 3 is that the embodiment of the present invention two identifies the schematic diagram of main board function information by A/D mouth line.
Specific embodiment
Below in conjunction with the accompanying drawings, technical scheme is specifically described.
A kind of method for product software automatic identification motherboard configuration information of the present invention, executes according to the following steps,
Step S01:According to all types of motherboard configuration informations, divide ADC collection voltages numerical value, and create this ADC collection electricity
Pressure numerical value one-to-one planning table with all types of motherboard configuration informations;
Step S02:According to the difference of motherboard configuration information, carry different circuit so that leading in mainboard A/D mouth line periphery
Voltage value at plate A/D mouth line is corresponding with this motherboard configuration information;
Step S03:Product software during 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 is obtained this electricity
The pressure corresponding motherboard configuration information of numerical value, thus the further corresponding program of this motherboard configuration information of load operating.
Described step S02, the circuit carrying in mainboard A/D mouth line periphery, including first resistor and second resistance;Described
One end of one resistance is connected to power end, and the other end of described first resistor is connected to the ground through second resistance;Described first resistor with
The junction point of second resistance connects to mainboard A/D mouth.
Wherein, described motherboard configuration information is mainboard version information or main board function information;Described planning table is soft in product
Create in part.
For preferably telling about the present invention, below for the specific embodiment of the present invention.
Embodiment 1:
As shown in figure 3, being first embodiment of the present invention, A/D mouth line ADC0_DP3 is now used for representing product mainboard
The change of version, in this diagram, the ADC0_DP3 mouth line network that is barricaded as by resistance R142 and R141 of periphery is so that ADC0_
At DP3 mouth line, level is in the fixed level of 1.5V.Configuration A/D mouth line ADC0_ is first read during this mainboard program loading operation
The level of DP3 is 1.5V, and software is getting this mainboard corresponding main board version configuration information according to planning table built-in in advance
For V1.30 version, thus continuing the corresponding program of load operating.
Embodiment 2:
As shown in Fig. 3 and table 2, it is second embodiment of the present invention, A/D mouth line ADC0_DP0 is now used for representing product
The various hardware configuration informations of IC-card function, in this diagram, ADC0_DP0 mouth line periphery is barricaded as by resistance R143 and R144
Network so that at ADC0_DP0 mouth line level be in the fixed level of 1.65V.First read during this mainboard program loading operation
The level of configuration A/D mouth line ADC0_DP0 is 1.65V, and it is corresponding that software gets this mainboard in basis planning table built-in in advance
IC-card hardware configuration is scheme 4, thus loading correct IC-card driver.
It is more than presently preferred embodiments of the present invention, all changes made according to technical solution of the present invention, produced function is made
With without departing from technical solution of the present invention scope when, belong to protection scope of the present invention.
Claims (4)
1. a kind of method for product software automatic identification motherboard configuration information it is characterised in that:Execute according to the following steps,
Step S01:According to all types of motherboard configuration informations, divide ADC collection voltages numerical value, and create this ADC collection voltages number
Value one-to-one planning table with all types of motherboard configuration informations;
Step S02:According to the difference of motherboard configuration information, carry different circuit so that mainboard A/ in mainboard A/D mouth line periphery
Voltage value at D mouth line is corresponding with this motherboard configuration information;
Step S03:Product software during 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 is obtained this voltage number
It is worth corresponding motherboard configuration information, thus the further corresponding program of this motherboard configuration information of load operating.
2. a kind of method for product software automatic identification motherboard configuration information according to claim 1, its feature exists
In:Described motherboard configuration information is mainboard version information or main board function information.
3. a kind of method for product software automatic identification motherboard configuration information according to claim 1, its feature exists
In:Described planning table creates in product software.
4. a kind of method for product software automatic identification motherboard configuration information according to claim 1, its feature exists
In:Described step S02, the circuit carrying in mainboard A/D mouth line periphery, including first resistor and second resistance;Described first electricity
One end of resistance is connected to power end, and the other end of described first resistor is connected to the ground through second resistance;Described first resistor and second
The junction point of resistance connects 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 CN103838610A (en) | 2014-06-04 |
CN103838610B true 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) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
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 |
CN117407033B (en) * | 2023-12-15 | 2024-03-22 | 深圳市天龙世纪科技发展有限公司 | Method, system and storage medium for switching product types based on resistor |
Citations (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 |
CN102567171A (en) * | 2011-12-31 | 2012-07-11 | 曙光信息产业股份有限公司 | Method for testing blade server mainboard |
CN202488619U (en) * | 2012-03-16 | 2012-10-10 | 青岛海信宽带多媒体技术有限公司 | Hardware configuration identification circuit and set top box |
CN102981688A (en) * | 2012-11-19 | 2013-03-20 | 深圳市新国都技术股份有限公司 | Five-wire resistance screen control circuit and voltage sampling circuit |
-
2014
- 2014-03-21 CN CN201410106743.7A patent/CN103838610B/en active Active
Patent Citations (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 |
CN102567171A (en) * | 2011-12-31 | 2012-07-11 | 曙光信息产业股份有限公司 | Method for testing blade server mainboard |
CN202488619U (en) * | 2012-03-16 | 2012-10-10 | 青岛海信宽带多媒体技术有限公司 | Hardware configuration identification circuit and set top box |
CN102981688A (en) * | 2012-11-19 | 2013-03-20 | 深圳市新国都技术股份有限公司 | Five-wire resistance screen control circuit and voltage sampling circuit |
Also Published As
Publication number | Publication date |
---|---|
CN103838610A (en) | 2014-06-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103838610B (en) | A kind of method for product software automatic identification motherboard configuration information | |
CN103748569B (en) | The system and method without driving operation of USB device | |
CN108898230B (en) | Equipment management method and management server | |
US9965288B2 (en) | Preconfiguring hardware and speeding up server discovery prior to bios boot | |
CN105814541B (en) | The method of computer equipment and computer equipment internal storage starting | |
CN105117233A (en) | API calling method and device | |
CN106055361B (en) | Integrated firmware implementation method and system for multiple different types based on BMC (baseboard management controller) | |
US9430208B2 (en) | System and method of remote management and configuration of an information handling system by implementing a customized configuration of a personality module | |
US7822964B2 (en) | Booting apparatus for booting a computer and method therefor and computer with a booting apparatus | |
CN103885802B (en) | Installation method, device and the client of driver | |
CN104035803A (en) | Method, device and programmer for updating CPLD/FPGA firmware | |
CN104054064B (en) | Flexible port configuration based on interface coupling | |
WO2016082649A1 (en) | Method and device for automatically processing static test data of rail transit vehicle | |
CN104915306A (en) | Data operation control method and device manager | |
CN110618918A (en) | Control method, control device and control equipment for hard disk status lamp in PCH | |
US20140122746A1 (en) | Configuration based on chassis identifications | |
CN107145455B (en) | Method for updating SMBIOS static information of whole system | |
CN109032623A (en) | A kind of initial method and BIOS mirror image of BIOS mirror image | |
CN109828798A (en) | A method of PCIE silk-screen information is sent to BMC | |
CN104115138B (en) | The configurable apolegamy plate interface of electricity | |
CN104428751A (en) | Program data updating method and equipment | |
CN106844269A (en) | A kind of multipath server system of Purley platforms | |
CN104199789B (en) | Method, management system, drive system and the system of autosensing configuration | |
CN108733398A (en) | A kind of processing method and processing device of software upgrading | |
CN208538117U (en) | A kind of electricity server master board memory failure indicating lamp structure |
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 |