CN110502283A - A kind of product peripheral hardware compatibility method and system - Google Patents
A kind of product peripheral hardware compatibility method and system Download PDFInfo
- Publication number
- CN110502283A CN110502283A CN201910765741.1A CN201910765741A CN110502283A CN 110502283 A CN110502283 A CN 110502283A CN 201910765741 A CN201910765741 A CN 201910765741A CN 110502283 A CN110502283 A CN 110502283A
- Authority
- CN
- China
- Prior art keywords
- configuration file
- several
- peripheral apparatus
- driving
- peripheral
- 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.)
- Pending
Links
- 230000002093 peripheral effect Effects 0.000 title claims abstract description 109
- 238000000034 method Methods 0.000 title claims abstract description 41
- 230000000977 initiatory effect Effects 0.000 claims abstract description 57
- 238000006243 chemical reaction Methods 0.000 claims abstract description 18
- 238000003860 storage Methods 0.000 claims description 6
- 230000008859 change Effects 0.000 claims description 3
- 230000004048 modification Effects 0.000 abstract description 4
- 238000012986 modification Methods 0.000 abstract description 4
- 230000006978 adaptation Effects 0.000 abstract description 2
- 239000000463 material Substances 0.000 abstract description 2
- 238000006467 substitution reaction Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 5
- 238000004519 manufacturing process Methods 0.000 description 5
- 238000011161 development Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 241000208340 Araliaceae Species 0.000 description 3
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 3
- 235000003140 Panax quinquefolius Nutrition 0.000 description 3
- 239000008186 active pharmaceutical agent Substances 0.000 description 3
- 235000008434 ginseng Nutrition 0.000 description 3
- 230000009471 action Effects 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 241000196324 Embryophyta Species 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000011521 glass Substances 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000005192 partition Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention provides a kind of product peripheral hardware compatibility method and systems, and wherein method includes the following steps, obtain several driving initiation parameters of several peripheral apparatus;Several described driving initiation parameter conversions are generated into several configuration files;Several described configuration files are stored in configuration file library;The corresponding configuration file of peripheral apparatus is read from the configuration file library;Peripheral apparatus is driven by corresponding configuration file;The present invention provides a kind of product peripheral hardware compatibility methods, each peripheral apparatus only needs software-driven engineer to debug a drive code set, as long as Mo Zu producer is perfect compatible by the driving initiation parameter inside modification configuration file, it no longer needs to cooperate again by software engineer, debug time is saved, the increase of products substitution material is facilitated;For the ID or ID peripheral apparatus of conflict can not be distributed, as long as by initial configuration file download fast adaptation when plant produced.
Description
Technical field
The present invention relates to hardware compatibility technical fields, more particularly to a kind of product peripheral hardware compatibility method and a kind of product outside
If compatible system.
Background technique
It now with a large amount of mobile phone, tablet computer, intelligence pos is realized based on android linux platform development.
These projects generally comprise the peripheral hardwares such as LCD, TP, camera.These peripheral hardwares have control chip, these control chips need basis
Glass, camera lens, sensor cabling of peripheral hardware etc. initialize different parameters.In a project, by taking TP as an example, the control of the same TP
Coremaking piece is there may be the TP for supporting a plurality of difference Mo Zu factory productions simultaneously, the parameter for needing different driving to initialize, at this time
With regard to needing to do compatibility to the initiation parameter of different Mo Zu factories in the driver of the same software package.
At present, it is desirable that peripheral hardware control chip has to the ability for matching ID to mould splits;An ID can only be distributed to simultaneously
A mould group, and the ID distributed is often limited, and there is a problem of when supply quotient module group is more not enough;These are initial
Changing parameter must be optimized by the engineer of Mo Zu manufacturer in development phase and then be integrated into inside drive code set by software engineer
.c.h file mergences to inside software package, if it is desired to soft project must be allowed again by newly increasing compatible mould group when volume production
Shi Chongxin adds initiation parameter, and composing software packet resubmits software test, and test could formally issue importing after
Production, it is a large amount of to waste development resources and time.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present invention and overcomes the above problem or at least partly in order to provide one kind
A kind of product peripheral hardware compatibility method to solve the above problems and a kind of corresponding product peripheral hardware compatible system.
To solve the above-mentioned problems, the embodiment of the invention discloses a kind of product peripheral hardware compatibility method, include the following steps:
Obtain several driving initiation parameters of several peripheral apparatus;
Several described driving initiation parameter conversions are generated into several configuration files;
Several described configuration files are stored in configuration file library;
The corresponding configuration file of peripheral apparatus is read from the configuration file library;
Peripheral apparatus is driven by corresponding configuration file;
Further, the step of described several driving initiation parameters for obtaining several peripheral apparatus, comprising:
Obtain several control chips corresponding to several peripheral apparatus;
Several corresponding driving initiation parameters are obtained out of described in several control chip;
Further, described the step of several described driving initiation parameter conversions are generated into several configuration files,
Include:
By driving initiation parameter to judge whether there is device id;
If so, driving initiation parameter conversion is generated configuration file;
If it is not, then passing through barcode scanning gun download configuration file;
Further, described if so, will driving initiation parameter conversion generate configuration file the step of, comprising:
The driving initiation parameter is formatted;
Initiation parameter is driven to be converted to configuration file after the formatting;
Further, described if it is not, then pass through barcode scanning gun download configuration file the step of, comprising:
The bar code information of peripheral apparatus is obtained by the barcode scanning gun;
The bar code information is transferred to the end PC;
Corresponding initial configuration file is called after receiving the bar code information in the end PC;
The initial configuration file is downloaded in the end PC;
Further, described the step of peripheral apparatus is driven by corresponding configuration file, comprising:
Corresponding configuration file is formatted to obtain C language array;
The control chip of peripheral apparatus is initialized by the C language array;
According to the control chip drives peripheral apparatus after the initialization;
The embodiment of the invention also provides a kind of product peripheral hardware compatible systems, comprising:
Acquiring unit, for obtaining several driving initiation parameters of several peripheral apparatus;
Converting unit, for several described driving initiation parameter conversions to be generated several configuration files;
Storage element is stored in configuration file library for configuration file described in several;
Reading unit, for reading the corresponding configuration file of peripheral apparatus from the configuration file library;
Driving unit, for driving peripheral apparatus by corresponding configuration file.
The embodiment of the present invention includes following advantages: each peripheral apparatus only needs software-driven engineer debugging is primary to drive
Dynamic code, as long as Mo Zu producer is no longer needed to by the perfect adaptation of driving initiation parameter inside modification configuration file
Cooperate again by software engineer, save debug time, facilitates the increase of products substitution material;For can not distribute ID or
The peripheral apparatus of person ID conflict, as long as being quickly compatible with initial configuration file download when plant produced;Production
The public plate male model project of mobile phone, plate planner is compatible with as long as software engineer realizes peripheral apparatus, and client can be according to need
Suitable Mo Zu supplier is looked for, the effect for going debugging satisfied substantially increases the freedom degree of supplier, preferably controls
Cost.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of product peripheral hardware compatibility method of one embodiment of the invention;
Fig. 2 is a kind of step flow chart of product peripheral hardware compatibility method of one embodiment of the invention;
Fig. 3 is a kind of step flow chart of product peripheral hardware compatibility method of one embodiment of the invention;
Fig. 4 is a kind of step flow chart of product peripheral hardware compatibility method of one embodiment of the invention;
Fig. 5 is a kind of step flow chart of product peripheral hardware compatibility method of one embodiment of the invention;
Fig. 6 is a kind of step flow chart of product peripheral hardware compatibility method of one embodiment of the invention;
Fig. 7 is a kind of structural block diagram of product peripheral hardware compatible system of one embodiment of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real
Applying mode, the present invention is described in further detail.
Referring to Fig.1, a kind of step flow chart of product peripheral hardware compatibility method of one embodiment of the invention is shown, it specifically can be with
Include the following steps:
Step S10 obtains several driving initiation parameters of several peripheral apparatus;
Several described driving initiation parameter conversions are generated several configuration files by step S20;
Step S30, several described configuration files are stored in configuration file library;
Step S40 reads the corresponding configuration file of peripheral apparatus from the configuration file library;
Step S50 drives peripheral apparatus by corresponding configuration file;
Such as above-mentioned steps S10, several driving initiation parameters of several peripheral apparatus are obtained;From each peripheral apparatus
The middle corresponding driving initiation parameter of acquisition;
Such as above-mentioned steps S20, several described driving initiation parameter conversions are generated into several configuration files;It will be each
It obtains the conversion of resulting driving initiation parameter and generates each corresponding configuration file, being built into can read and write
Flashprivate flash memory private partition, that is, configuration file library, and be that normal upgrading is not wiped free of by configuration file lab setting;
Such as above-mentioned steps S30, several described configuration files are stored in configuration file library;By all matching of conversion generation
It sets file storage and forms configuration file library;
Such as above-mentioned steps S40, the corresponding configuration file of peripheral apparatus is read from the configuration file library;In configuration text
Configuration file corresponding with the peripheral apparatus is obtained in part library, and reads the corresponding configuration file;
Such as above-mentioned steps S50, peripheral apparatus is driven by corresponding configuration file;It is driven according to the configuration file of reading
Dynamic peripheral apparatus.
Referring to Fig. 2, a kind of step flow chart of product peripheral hardware compatibility method of one embodiment of the invention, the acquisition are shown
The step of several driving initiation parameters of several peripheral apparatus, comprising:
Step S101 obtains several control chips corresponding to several peripheral apparatus;
Step S102 obtains several corresponding driving initiation parameters out of described in several control chip;
Such as above-mentioned steps S101, several control chips corresponding to several peripheral apparatus are obtained;The peripheral hardware is set
Standby access power supply after power supply connection, it is obtained from peripheral apparatus and controls chip;
Such as above-mentioned steps S102, several corresponding driving initialization ginsengs are obtained out of described in several control chip
Number;Driving initiation parameter is obtained out of control chip, and it is initial to obtain driving out of peripheral apparatus system by peripheral hardware chip
Change parameter:
The driving of peripheral apparatus is located at linux kernel space, and system calls read (), and write () is located at user's space,
Kernel cannot be used directly, need to take following code that could safely read driving initiation parameter:
Filp=filp_open (path, O_RDONLY, 0666);
Old_fs=get_fs ();
set_fs(get_ds());
filp->f_op->llseek(filp,0,0);
Rlen=filp- > f_op- > read (filp, (char*) buf, F_size, &filp- > f_pos);
set_fs(old_fs);
Open is used in kernel by above-mentioned code, the system of write etc. is called;Main cause is open, write's
Parameter needs to check parameter, checks that its parameter pointer address is in user's space the realization that these systems are called
No is the user's space;System calls the routine access for being available to user's space, to the parameter of the system that passes to (such as
Buf above), system default will be considered that from user's space, in -> read () function, in order to protect kernel spacing, can use
The value that get_fs () is obtained is compared with USER_DS, can prevent " premeditated " the destruction kernel spacing of user space program;
The space limitation that set_fs (KERNEL_DS) can access it is expanded to KERNEL_DS, the in this way driving in peripheral hardware device core
Driving initiation parameter can normally be read.
Referring to Fig. 3, a kind of step flow chart of product peripheral hardware compatibility method of one embodiment of the invention is shown, if described will
The step of dry driving initiation parameter conversion generates several configuration files, comprising:
Step S201, by driving initiation parameter to judge whether there is device id;
Step S2011, if so, driving initiation parameter conversion is generated configuration file;
Step S2012, if it is not, then passing through barcode scanning gun download configuration file;
Such as above-mentioned steps S201, device id is judged whether there is by driving initiation parameter;According to driving initialization ginseng
Number judges that it whether there is the device id of peripheral apparatus, and configuration text can be directly acquired when that can read the device id of peripheral apparatus
Part;When the ID of different mould groups is the same or peripheral apparatus has no ability to distribution ID, configuration file can not be directly obtained;
Such as above-mentioned steps S2011, configuration file is generated if so, driving initiation parameter is converted;According to the drive of acquisition
Dynamic initiation parameter converts it, and generates configuration file;
Such as above-mentioned steps S2012, if it is not, then passing through barcode scanning gun download configuration file;Corresponding thereto by barcode scanning gun downloading
The configuration file answered.
Referring to Fig. 4, a kind of step flow chart of product peripheral hardware compatibility method of one embodiment of the invention is shown, if described
It is that driving initiation parameter is then converted into the step of generating configuration file, comprising:
The driving initiation parameter is formatted by step S20111;
Step S20112, is converted to configuration file after the formatting;
Such as above-mentioned steps S20111, the driving initiation parameter is formatted;The driving initialization ginseng that will acquire
Number is formatted;
Such as above-mentioned steps S20112, configuration file is converted to after the formatting;Formatted driving initiation parameter
Be converted to corresponding configuration file.
Referring to Fig. 5, a kind of step flow chart of product peripheral hardware compatibility method of one embodiment of the invention is shown, if described
It is no, then pass through barcode scanning gun download configuration file the step of, comprising:
Step S20121 obtains the bar code information of peripheral apparatus by the barcode scanning gun;
The bar code information is transferred to the end PC by step S20122;
Corresponding initial configuration file is called after receiving the bar code information in step S20123, the end PC;
Step S20124 downloads the initial configuration file in the end PC;
Such as above-mentioned steps S20121, the bar code information of peripheral apparatus is obtained by the barcode scanning gun;Because of different mould groups
When ID is the same or peripheral apparatus has no ability to distribution ID, then at the beginning of can not reading corresponding configuration file by way of ID
Begin it is outside the pale of civilization set to accomplish to be compatible with, the bar code on peripheral apparatus is obtained by barcode scanning gun, obtains the information in bar code;
Such as above-mentioned steps S20122, the bar code information is transferred to the end PC;The bar code information of acquisition is transmitted to
In the end PC, peripheral apparatus configuration parameter required for being judged by the end PC;
Such as above-mentioned steps S20123, corresponding initial configuration text is called after receiving the bar code information in the end PC
Part;The peripheral apparatus configuration parameter judged by the end PC according to bar code information calls corresponding initial configuration text
Part;
Such as above-mentioned steps S20124, the initial configuration file is downloaded in the end PC;The end PC is connected into USB line,
Initial configuration file is downloaded by USB line.
Referring to Fig. 6, a kind of step flow chart of product peripheral hardware compatibility method of one embodiment of the invention is shown, it is described to pass through
The step of corresponding configuration file driving peripheral apparatus, comprising:
Corresponding configuration file is formatted to obtain C language array by step S501;
Step S502 initializes the control chip of peripheral apparatus by the C language array;
Step S503, according to the control chip drives peripheral apparatus after the initialization;
Such as above-mentioned steps S501, corresponding configuration file is formatted to obtain C language array;Configuration file
It is formatted to obtain the array of C language;The C language is the universal programming language of a procedure-oriented, abstract, extensively
It is general to be applied to low level development.C language can be compiled in a manner of easy, handle lower level memory system;C language is only to generate a small amount of machine
It device language and does not need any running environment and supports the high efficiency programming language that just can be run.Although C language provides
The function of many rudimentary processing, but still remain cross-platform characteristic, the C programmer write out with a standard specification can be
It is compiled on many computer platforms including some similar job platforms such as embeded processor and supercomputer.
Such as above-mentioned steps S502, the control chip of peripheral apparatus is initialized by the C language array;According to C language number
The control chip of group initialization peripheral apparatus;
Such as above-mentioned steps S503, according to the control chip drives peripheral apparatus after the initialization;After initialization
Control chip drives peripheral apparatus again, realizes compatibility.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to
According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented
Necessary to example.
Referring to Fig. 7, a kind of structural block diagram of product peripheral hardware compatible system embodiment of one embodiment of the invention is shown, specifically
May include as follows:
Acquiring unit 1001, for obtaining several driving initiation parameters of several peripheral apparatus;
Converting unit 1002, for several described driving initiation parameter conversions to be generated several configuration files;
Storage element 1003 is stored in configuration file library for configuration file described in several;
Reading unit 1004 reads the corresponding configuration file of peripheral apparatus from the configuration file library;
Driving unit 1005 drives peripheral apparatus by corresponding configuration file.
In a preferred embodiment, the acquiring unit 1001 may include:
Chip acquiring unit is controlled, for obtaining several control chips corresponding to several peripheral apparatus;
Initiation parameter acquiring unit is driven, for obtaining several corresponding drives out of described in several control chip
Dynamic initiation parameter.
In a preferred embodiment, the converting unit 1002 may include:
Judging unit, for by driving initiation parameter to judge whether there is device id;
Generation unit is used for if so, driving initiation parameter conversion is generated configuration file;
Download unit is used for if it is not, then passing through barcode scanning gun download configuration file.
In a preferred embodiment, the generation unit may include:
Parameter format unit, for the driving initiation parameter to be formatted;
Conversion subunit, for driving initiation parameter to be converted to configuration file after formatting.
In a preferred embodiment, the download unit may include:
Bar code information acquiring unit, for obtaining the bar code information of peripheral apparatus by the barcode scanning gun;
Transmission unit, for the bar code information to be transferred to the end PC;
Call unit calls corresponding initial configuration file after receiving the bar code information for the end PC;
Lower subelements, for downloading the initial configuration file in the end PC.
In a preferred embodiment, the driving unit 1005 may include:
Configuration file format unit obtains C language array for corresponding configuration file to be formatted;
Initialization unit, for initializing the control chip of peripheral apparatus by the C language array;
Subelement is driven, for according to the control chip drives peripheral apparatus after the initialization.
For system embodiments, since it is basically similar to the method embodiment, related so being described relatively simple
Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with
The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate
Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can
With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code
The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program
The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions
In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these
Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals
Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices
Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram
The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices
In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet
The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram
The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that
Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus
The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart
And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases
This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as
Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap
Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article
Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited
Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of product peripheral hardware compatibility method provided by the present invention and a kind of product peripheral hardware compatible system, carry out
It is discussed in detail, used herein a specific example illustrates the principle and implementation of the invention, above embodiments
Illustrate to be merely used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to
According to thought of the invention, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification
It should not be construed as limiting the invention.
Claims (7)
1. a kind of product peripheral hardware compatibility method characterized by comprising
Obtain several driving initiation parameters of several peripheral apparatus;
Several described driving initiation parameter conversions are generated into several configuration files;
Several described configuration files are stored in configuration file library;
The corresponding configuration file of peripheral apparatus is read from the configuration file library;
Peripheral apparatus is driven by corresponding configuration file.
2. product peripheral hardware compatibility method according to claim 1, which is characterized in that several peripheral apparatus of acquisition
The step of several driving initiation parameters, comprising:
Obtain several control chips corresponding to several peripheral apparatus;
Several corresponding driving initiation parameters are obtained out of described in several control chip.
3. product peripheral hardware compatibility method according to claim 1, which is characterized in that described that several described drivings are initial
Change the step of Parameter Switch generates several configuration files, comprising:
By driving initiation parameter to judge whether there is device id;
If so, driving initiation parameter conversion is generated configuration file;
If it is not, then passing through barcode scanning gun download configuration file.
4. product peripheral hardware compatibility method according to claim 3, which is characterized in that described if so, driving is initialized
Parameter Switch generates the step of configuration file, comprising:
The driving initiation parameter is formatted;
Initiation parameter will be driven to be converted to configuration file after formatting.
5. product peripheral hardware compatibility method according to claim 3, which is characterized in that described if it is not, then by under barcode scanning gun
The step of carrying configuration file, comprising:
The bar code information of peripheral apparatus is obtained by the barcode scanning gun;
The bar code information is transferred to the end PC;
Corresponding initial configuration file is called after receiving the bar code information in the end PC;
The initial configuration file is downloaded in the end PC.
6. product peripheral hardware compatibility method according to claim 1, which is characterized in that described to pass through corresponding configuration text
Part drives the step of peripheral apparatus, comprising:
Corresponding configuration file is formatted to obtain C language array;
The control chip of peripheral apparatus is initialized by the C language array;
According to the control chip drives peripheral apparatus after the initialization.
7. a kind of product peripheral hardware compatible system characterized by comprising
Acquiring unit, for obtaining several driving initiation parameters of several peripheral apparatus;
Converting unit, for several described driving initiation parameter conversions to be generated several configuration files;
Storage element is stored in configuration file library for configuration file described in several;
Reading unit, for reading the corresponding configuration file of peripheral apparatus from the configuration file library;
Driving unit, for driving peripheral apparatus by corresponding configuration file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910765741.1A CN110502283A (en) | 2019-08-19 | 2019-08-19 | A kind of product peripheral hardware compatibility method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910765741.1A CN110502283A (en) | 2019-08-19 | 2019-08-19 | A kind of product peripheral hardware compatibility method and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110502283A true CN110502283A (en) | 2019-11-26 |
Family
ID=68588208
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910765741.1A Pending CN110502283A (en) | 2019-08-19 | 2019-08-19 | A kind of product peripheral hardware compatibility method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110502283A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111935622A (en) * | 2020-08-03 | 2020-11-13 | 深圳创维-Rgb电子有限公司 | Debugging method, device, equipment and storage medium for electronic equipment with digital power amplifier |
CN113076144A (en) * | 2021-04-23 | 2021-07-06 | 深圳创维-Rgb电子有限公司 | Power amplifier adaptation method, terminal device, storage medium and computer program product |
Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5579529A (en) * | 1993-12-30 | 1996-11-26 | Ncr Corporation | Method for configuring computer peripherals |
US20050200873A1 (en) * | 2004-03-12 | 2005-09-15 | Fuji Xerox Co., Ltd. | Peripheral equipment control program, program control device, program control method, peripheral equipment driver, peripheral equipment control device, and method for installing peripheral equipment control driver |
CN104156221A (en) * | 2014-08-29 | 2014-11-19 | 上海艾为电子技术有限公司 | Chip and method and device for modifying chip configuration |
CN104503792A (en) * | 2014-12-22 | 2015-04-08 | 山东超越数控电子有限公司 | Method for realizing equipment management function in VxWorks |
CN104991872A (en) * | 2015-06-19 | 2015-10-21 | 上海卓易科技股份有限公司 | Method and apparatus for implementing driving of intelligent device on peripheral device |
CN105159714A (en) * | 2015-09-02 | 2015-12-16 | 福州瑞芯微电子股份有限公司 | PMIC initialization method and electronic equipment |
CN105159716A (en) * | 2015-09-02 | 2015-12-16 | 福州瑞芯微电子股份有限公司 | Memory device initialization method and electronic equipment |
CN109508202A (en) * | 2018-09-27 | 2019-03-22 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | Drive development system, method and medium for embedded operating system |
CN109542494A (en) * | 2018-10-19 | 2019-03-29 | 福建天泉教育科技有限公司 | A kind of the extension control method and terminal of VR software peripheral hardware |
CN109840194A (en) * | 2017-11-28 | 2019-06-04 | 网宿科技股份有限公司 | A kind of detection method and system of configuration file |
-
2019
- 2019-08-19 CN CN201910765741.1A patent/CN110502283A/en active Pending
Patent Citations (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5579529A (en) * | 1993-12-30 | 1996-11-26 | Ncr Corporation | Method for configuring computer peripherals |
US20050200873A1 (en) * | 2004-03-12 | 2005-09-15 | Fuji Xerox Co., Ltd. | Peripheral equipment control program, program control device, program control method, peripheral equipment driver, peripheral equipment control device, and method for installing peripheral equipment control driver |
CN104156221A (en) * | 2014-08-29 | 2014-11-19 | 上海艾为电子技术有限公司 | Chip and method and device for modifying chip configuration |
CN104503792A (en) * | 2014-12-22 | 2015-04-08 | 山东超越数控电子有限公司 | Method for realizing equipment management function in VxWorks |
CN104991872A (en) * | 2015-06-19 | 2015-10-21 | 上海卓易科技股份有限公司 | Method and apparatus for implementing driving of intelligent device on peripheral device |
CN105159714A (en) * | 2015-09-02 | 2015-12-16 | 福州瑞芯微电子股份有限公司 | PMIC initialization method and electronic equipment |
CN105159716A (en) * | 2015-09-02 | 2015-12-16 | 福州瑞芯微电子股份有限公司 | Memory device initialization method and electronic equipment |
CN109840194A (en) * | 2017-11-28 | 2019-06-04 | 网宿科技股份有限公司 | A kind of detection method and system of configuration file |
CN109508202A (en) * | 2018-09-27 | 2019-03-22 | 华东计算技术研究所(中国电子科技集团公司第三十二研究所) | Drive development system, method and medium for embedded operating system |
CN109542494A (en) * | 2018-10-19 | 2019-03-29 | 福建天泉教育科技有限公司 | A kind of the extension control method and terminal of VR software peripheral hardware |
Non-Patent Citations (2)
Title |
---|
林锡龙: "《嵌入式Linux驱动模板精讲与项目实践》", 电子工业出版社, pages: 22 * |
罗金选等: "基于ARM的某智能弹药无线通信模块的设计", 《火控雷达技术》, no. 02, 25 June 2012 (2012-06-25) * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111935622A (en) * | 2020-08-03 | 2020-11-13 | 深圳创维-Rgb电子有限公司 | Debugging method, device, equipment and storage medium for electronic equipment with digital power amplifier |
CN113076144A (en) * | 2021-04-23 | 2021-07-06 | 深圳创维-Rgb电子有限公司 | Power amplifier adaptation method, terminal device, storage medium and computer program product |
WO2022222292A1 (en) * | 2021-04-23 | 2022-10-27 | 深圳创维-Rgb电子有限公司 | Power amplifier adaptation method, terminal device, storage medium and computer program product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111399840B (en) | Module development method and device | |
EP1586967B1 (en) | A method and control system for controlling machinery | |
CN110502283A (en) | A kind of product peripheral hardware compatibility method and system | |
KR910017301A (en) | Control intensive system | |
CN107832059B (en) | Code static analysis method and device based on Makefile | |
CN112181588A (en) | Application containerization method and device, electronic equipment and storage medium | |
CN111475142B (en) | Method, device and equipment for generating applet file package | |
CN108282513B (en) | Server deployment method, system, storage medium and computer equipment | |
US9684610B2 (en) | Platform neutral device protocols | |
CN106951265B (en) | Development environment building method and device | |
CN110083366B (en) | Application running environment generation method and device, computing equipment and storage medium | |
CN113821226A (en) | ONIE system installation method, apparatus, device and medium | |
CN110750295B (en) | Information processing method, device, electronic equipment and storage medium | |
CN109582776B (en) | Model generation method and device, electronic device and storage medium | |
CN116719533A (en) | Environment automatic deployment method, deployment device, electronic equipment and storage medium | |
JPH03204749A (en) | Programable connector | |
CN114003257A (en) | Upgrading method and device | |
WO2020129324A1 (en) | Module, information processing device equipped with same, and program data updating method for updating program data of module | |
CN109976728A (en) | A kind of generation method of native applications program, device, mobile terminal | |
CN111949296A (en) | Data updating method and device | |
CN111913720A (en) | Program deployment method and device | |
CN115269562B (en) | Database management method and device, storage medium and electronic equipment | |
CN111159972A (en) | Test method, test device and test system applied to integrated circuit | |
CN112540835B (en) | Method and device for operating hybrid machine learning model and related equipment | |
CN115982046A (en) | Acceptance method, device and equipment based on configuration coding |
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 |