CN103905852B - A kind of chip module adaption system and method - Google Patents

A kind of chip module adaption system and method Download PDF

Info

Publication number
CN103905852B
CN103905852B CN201410156210.XA CN201410156210A CN103905852B CN 103905852 B CN103905852 B CN 103905852B CN 201410156210 A CN201410156210 A CN 201410156210A CN 103905852 B CN103905852 B CN 103905852B
Authority
CN
China
Prior art keywords
module
voltage
digital information
chip module
trigger
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
CN201410156210.XA
Other languages
Chinese (zh)
Other versions
CN103905852A (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.)
Zhuhai Gotech Intelligent Technology Co Ltd
Original Assignee
Zhuhai Gotech Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Gotech Intelligent Technology Co Ltd filed Critical Zhuhai Gotech Intelligent Technology Co Ltd
Priority to CN201410156210.XA priority Critical patent/CN103905852B/en
Publication of CN103905852A publication Critical patent/CN103905852A/en
Application granted granted Critical
Publication of CN103905852B publication Critical patent/CN103905852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The present invention discloses a kind of chip module adaption system and method, and the system includes trigger module, modular converter, judge module, determining module and load-on module.The system is directed to the different chip modules of different user(Such as wifi modules)Demand, each chip module is integrated in advance and corresponds to required multiple drivings(Such as wifi drivings), while formulate driving and the mapping relations of voltage range.On this basis, each module that the system includes for objective chip module by choosing suitable regulating resistor, trigger voltage, and the driving for determining to enable according to the voltage range belonging to trigger voltage, subsequent load driving and objective chip module are produced using regulating resistor.So as to using the system of the present invention, in the scheduling and planning stage, when needing to change wifi modules for set top box, it is only necessary to choose suitable regulating resistor and change, without changing driving and related software code information, the workload of engineer is reduced, reduces error rate.

Description

A kind of chip module adaption system and method
Technical field
The invention belongs to set top box and ott(Over The Top)The chip module configuration of network multimedia player, add Carry technical field, more particularly to a kind of chip module adaption system and method.
Background technology
Traditional set top box or ott network player boxes, is only adapted to a kind of wifi(Wireless Fidelity, nothing Line high-fidelity)Module.
In view of a variety of wifi modules versions in practical application be present, different users has different wifi module demands, Different wifi modules need to be adapted in set top box of the same race or ott network players, to meet the different demands of user.Due to working as Preceding set top box, ott network players etc. are only adapted to a kind of wifi modules, cause the scheduling and planning stage, are changed for set top box , it is necessary to change the respective code information of wifi drivings and the code information of other related softwares simultaneously during wifi modules(Such as Change the code information such as driving mark in uboot or kernel), to be adapted to changed wifi modules.So as to ultimately result in Wifi modules are changed, the difficulty of adaptation is higher, software maintenance amount is larger, add the workload of engineer, and easily error.
The content of the invention
In view of this, it is existing to solve it is an object of the invention to provide a kind of chip module adaption system and method Wifi modules are changed, adaptation when difficulty is higher, software maintenance amount is larger, the problem of easily error.
Therefore, the present invention is disclosed directly below technical scheme:
A kind of chip module adaption system, including trigger module, modular converter, judge module, determining module and loading Module, wherein:
The trigger module, for choosing regulating resistor based on objective chip module to be adapted to, and utilize the pressure regulation Resistance produces trigger voltage;
The modular converter, for carrying out analog-to-digital conversion process to the trigger voltage, it is relative to obtain the trigger voltage The digital information answered;
The judge module, judge the trigger voltage for obtaining the digital information, and according to the digital information Affiliated voltage range;
The determining module, for the mapping relations according to voltage range set in advance and drive module, using described Voltage range belonging to trigger voltage determines the drive module that need to be enabled from N number of drive module integrated in advance, wherein, it is described N is the natural number more than 1;
The load-on module, the mesh is loaded for loading the drive module determined, and based on the drive module Mark chip module.
Said system, it is preferred that the chip module is specially wifi modules, the wifi modules include wifi chip and Printing board PCB.
Said system, it is preferred that the drive module is specially wifi drivings.
Said system, it is preferred that the modular converter specifically includes AD conversion unit and memory cell, wherein:
The AD conversion unit, for being turned analog voltage signal caused by the regulating resistor using A/D converter Data signal is changed to, and obtains the digital information represented by the data signal;
The memory cell, for being stored to the digital information.
A kind of chip module adaptation method, including:
Regulating resistor is chosen based on objective chip module to be adapted to, and trigger voltage is produced using the regulating resistor;
Analog-to-digital conversion process is carried out to the trigger voltage, obtains the corresponding digital information of the trigger voltage;
The digital information is obtained, and judges the voltage range belonging to the trigger voltage according to the digital information;
According to voltage range set in advance and the mapping relations of drive module, the voltage belonging to the trigger voltage is utilized Scope determines the drive module that need to be enabled from N number of drive module integrated in advance, wherein, the N is the natural number more than 1;
The drive module determined is loaded, and the objective chip module is loaded based on the drive module.
The above method, it is preferred that described that the trigger voltage phase is obtained to trigger voltage progress analog-to-digital conversion process Corresponding digital information, is specifically included:
Analog voltage signal caused by the regulating resistor is converted into data signal using A/D converter, and obtains institute State the digital information represented by data signal;
The digital information is stored.
To sum up, chip module adaption system provided in an embodiment of the present invention includes trigger module, modular converter, judges mould Block, determining module and load-on module.The system is directed to the different chip modules of different user(Such as wifi modules)Demand, Each chip module is integrated in advance corresponds to required multiple drivings(Such as wifi drivings), meanwhile, pre-establish each driving and voltage Mapping relations between scope, the adaptation procedure for follow-up chip module provide support.On this basis, what the system included is each Module for objective chip module to be adapted to by choosing suitable regulating resistor, and using regulating resistor as objective chip module The selecting switch that driving need to be enabled completes adaptation, specifically produces trigger voltage using regulating resistor, and judge belonging to trigger voltage Voltage range, determine to need the drive module that enables according to the voltage range, subsequent load driving and objective chip module are real The adaptation procedure of existing objective chip module.
So as to using the system of the present invention, in the scheduling and planning stage, when needing for set top box or ott network players When changing wifi modules, it is only necessary to choose suitable regulating resistor for wifi modules and change, without change wifi drivings and The code information of other related softwares, the workload of engineer is reduced, reduces error rate.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the required accompanying drawing used in technology description to be briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is the structural representation of chip module adaption system disclosed in the embodiment of the present invention one;
Fig. 2 is the structural representation of modular converter disclosed in the embodiment of the present invention one;
Fig. 3 is chip module adaptation method flow chart disclosed in the embodiment of the present invention two.
Embodiment
For the sake of quoting and understanding, the technical term that hereinafter uses, write a Chinese character in simplified form or summary of abridging is explained as follows:
A/D converter:That is analog-digital converter, abbreviation ADC, the electronics member for data signal by analog-signal transitions is referred to Part, common analog-digital converter are the data signals that an input voltage signal is converted to an output.
UBOOT:It is a kind of software, it is typically performed at first in embedded systems, can liken pc to(personal Computer, personal computer)BIOS on mainboard(Basic Input Output System, basic input output system).
kernel:Refer to the core of operating system nucleus, i.e. operating system, it in operating system for management by depositing Reservoir, file, those parts composition of peripheral hardware and system resource.Operating system nucleus generally runs process, and between offer process Communication.
Wifi modules:It is wifi chip and PCB(Printed Circuit Board), printed circuit board)The group of plank Close.
Wifi drives:It is a kind of software, realizes and wifi modules are driven.
ARM:That is arm processor, it is first item RISC of the Acorn computers Co., Ltd towards low budget Market Design (Reduced Instruction Set Computer, Reduced Instruction Set Computer)Microprocessor.
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is Part of the embodiment of the present invention, rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The present invention discloses a kind of chip module adaption system and method, will be broadcast below with set top box or ott network multimedias Put in device and the system and method for the present invention are described in detail exemplified by the adaptation procedure of wifi modules.
Embodiment one
The embodiment of the present invention one discloses a kind of chip module adaption system, refers to Fig. 1, and the system includes trigger module 100th, modular converter 200, judge module 300, determining module 400 and load-on module 500.
Trigger module 100, for choosing regulating resistor based on objective chip module to be adapted to, and utilize pressure regulation electricity Resistance produces trigger voltage.
Wherein, objective chip module is specially wifi modules, and correspondingly, drive module is specially wifi drivings.
Modular converter 200, for carrying out analog-to-digital conversion process to the trigger voltage, it is corresponding to obtain the trigger voltage Digital information.
Wherein, as shown in Fig. 2 modular converter 200 specifically includes AD conversion unit 201 and memory cell 202.Modulus turns Unit 201 is changed to be used to utilize A/D(Analog/Digital, analog/digital)Converter will simulate caused by the regulating resistor Voltage signal is converted to data signal, and obtains the digital information represented by the data signal;Memory cell 202 is used for institute Digital information is stated to be stored.
Specifically, the regulating resistor addition of selection is changed in the ARM chips and A/D of set top box or ott network players Between the input pin pin of device.
In the present embodiment, reference voltage range is set as 0-1V.
Assuming that above-mentioned A/D converter is specially the voltage analog-digital converter of 4, then each output signal of the A/D converter 16 kinds of codings are corresponded to altogether:0000、0001、0010、0011、0100、0101、0110、0111、1000、1001、1010、1011、 1100th, 1101,1110,1111, the input voltage range of each coded representation is respectively:0V-0.0625V、0.0626V- 0.125V ... 0.9376V-1V, i.e., the coding and 16 voltage ranges of 16 grades(16 are carried out to 1V voltages to divide equally)In the presence of One-to-one mapping relations.
When set top box or ott network players power up, regulating resistor produces trigger voltage, and A/D converter reads resistance Range of voltage values, passage output data corresponding to selection, and by the data storage of output in own register.For example, when one During individual 0.8V voltage signal input, A/D converter output data 1100, and data 1100 are stored in own register.
Judge module 300, judge the trigger voltage institute for obtaining the digital information, and according to the digital information The voltage range of category.
Determining module 400, for the mapping relations according to voltage range set in advance and drive module, touched using described The voltage range to generate electricity belonging to pressure determines the drive module that need to be enabled from N number of drive module integrated in advance, wherein, the N For the natural number more than 1.
Load-on module 500, the target is loaded for loading the drive module determined, and based on the drive module Chip module.
Wherein, the function of judge module 300, determining module 400 and load-on module 500 can by the UBOOT in set top box and Kernel realizes, specifically, UBOOT and kernel are from adc(A/d converter)Read converter enters to trigger voltage in register The converting result data of row conversion gained, and judge voltage range belonging to trigger voltage according to the converting result data of reading, For example, if the result data that UBOOT is read from register is 1100, it can determine whether out that the voltage range belonging to trigger voltage is 0.75-0.8125.Afterwards, UBOOT and kernel is according to the voltage range pre-established and the mapping relations of wifi drivings, loading The wifi driving corresponding with the voltage range, performs corresponding scripts file and mark starts wifi drivings, and then loads mesh Wifi modules are marked, so far, realize the adaptation of wifi modules.
When it is implemented, can be modified by the program code driven to existing wifi, add in existing wifi drivings Corresponding driving identification condition selection code is added to realize the function according to trigger voltage scope loading respective drive.
To sum up, chip module adaption system provided in an embodiment of the present invention includes trigger module, modular converter, judges mould Block, determining module and load-on module.The system is directed to the different chip modules of different user(Such as wifi modules)Demand, Each chip module is integrated in advance corresponds to required multiple drivings(Such as wifi drivings), meanwhile, pre-establish each driving and voltage Mapping relations between scope, the adaptation procedure for follow-up chip module provide support.On this basis, what the system included is each Module for objective chip module to be adapted to by choosing suitable regulating resistor, and using regulating resistor as objective chip module The selecting switch that driving need to be enabled completes adaptation, specifically produces trigger voltage using regulating resistor, and judge belonging to trigger voltage Voltage range, determine to need the drive module that enables according to the voltage range, subsequent load driving and objective chip module are real The adaptation procedure of existing objective chip module.
So as to using the system of the present invention, in the scheduling and planning stage, when needing for set top box or ott network players When changing wifi modules, it is only necessary to choose suitable regulating resistor for wifi modules and change, without change wifi drivings and The code information of other related softwares, the workload of engineer is reduced, reduces error rate.
Embodiment two
The embodiment of the present invention two discloses a kind of chip module adaptation method, refers to Fig. 3, and this method comprises the following steps:
S301:Regulating resistor is chosen based on objective chip module to be adapted to, and triggering is produced using the regulating resistor Voltage.
S302:Analog-to-digital conversion process is carried out to the trigger voltage, obtains the corresponding digital information of the trigger voltage.
S303:The digital information is obtained, and the voltage model belonging to the trigger voltage is judged according to the digital information Enclose.
Wherein, step S303 is specifically included:Using A/D converter by analog voltage signal caused by the regulating resistor Data signal is converted to, and obtains the digital information represented by the data signal;The digital information is stored.
S304:According to voltage range set in advance and the mapping relations of drive module, using belonging to the trigger voltage Voltage range the drive module that need to be enabled is determined from N number of drive module integrated in advance, wherein, the N be more than 1 from So number.
S305:The drive module determined is loaded, and the objective chip module is loaded based on the drive module.
For chip module adaptation method disclosed in the embodiment of the present invention two, due to itself and the disclosure of above example one Chip module adaption system it is corresponding, so description it is fairly simple, related similarity refers to the chips of embodiment one The explanation of module adaption system part, is no longer described in detail herein.
In summary, the present invention is engaged by software with circuit design, is carried out wifi module configurations, is specifically made resistance For the switch of selection wifi drivings, A/D converter is aided with by resistive voltage to select wifi to drive, is changing wifi modules When, only accordingly change resistance and carry out pressure regulation, reduce the workload of engineer, reduce error rate.And the present invention provides Function be a kind of expansible application function, be not limited only to the configuration of wifi modules, other hardware electricity can also be applied to On the plate of road, realize and select other chip modules.
It should be noted that each embodiment in this specification is described by the way of progressive, each embodiment weight Point explanation is all difference with other embodiment, between each embodiment identical similar part mutually referring to.
For convenience of description, describe to be divided into various modules during apparatus above with function or unit describes respectively.Certainly, exist Implement each module, the function of unit can be realized in same or multiple softwares and/or hardware during the application.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can Realized by the mode of software plus required general hardware platform.Based on such understanding, the technical scheme essence of the application On the part that is contributed in other words to prior art can be embodied in the form of software product, the computer software product It can be stored in storage medium, such as ROM/RAM, magnetic disc, CD, including some instructions are causing a computer equipment (Can be personal computer, server, or network equipment etc.)Perform some of each embodiment of the application or embodiment Method described in part.
Described above is only the preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should It is considered as protection scope of the present invention.

Claims (6)

1. a kind of chip module adaption system, it is characterised in that including trigger module, modular converter, judge module, determining module And load-on module, wherein:
The trigger module, for choosing regulating resistor based on objective chip module to be adapted to, and utilize the regulating resistor Produce trigger voltage;
The modular converter, for carrying out analog-to-digital conversion process to the trigger voltage, it is corresponding to obtain the trigger voltage Digital information;
The judge module, judge for obtaining the digital information, and according to the digital information belonging to the trigger voltage Voltage range;
The determining module, for the mapping relations according to voltage range set in advance and drive module, utilize the triggering Voltage range belonging to voltage determines the drive module that need to be enabled from N number of drive module integrated in advance, wherein, the N is Natural number more than 1;
The load-on module, the target core is loaded for loading the drive module determined, and based on the drive module Piece module.
2. chip module adaption system according to claim 1, it is characterised in that the chip module is specially wifi moulds Group, the wifi modules include wifi chip and printing board PCB.
3. chip module adaption system according to claim 2, it is characterised in that the drive module is specially that wifi drives It is dynamic.
4. according to the chip module adaption system described in claim 1-3 any one, it is characterised in that the modular converter tool Body includes AD conversion unit and memory cell, wherein:
The AD conversion unit, for being converted to analog voltage signal caused by the regulating resistor using A/D converter Data signal, and obtain the digital information represented by the data signal;
The memory cell, for being stored to the digital information.
A kind of 5. chip module adaptation method, it is characterised in that including:
Regulating resistor is chosen based on objective chip module to be adapted to, and trigger voltage is produced using the regulating resistor;
Analog-to-digital conversion process is carried out to the trigger voltage, obtains the corresponding digital information of the trigger voltage;
The digital information is obtained, and judges the voltage range belonging to the trigger voltage according to the digital information;
According to voltage range set in advance and the mapping relations of drive module, the voltage range belonging to the trigger voltage is utilized The drive module that need to be enabled is determined from N number of drive module integrated in advance, wherein, the N is the natural number more than 1;
The drive module determined is loaded, and the objective chip module is loaded based on the drive module.
6. chip module adaptation method according to claim 5, it is characterised in that described that mould is carried out to the trigger voltage Number conversion process obtains the corresponding digital information of the trigger voltage, specifically includes:
Analog voltage signal caused by the regulating resistor is converted into data signal using A/D converter, and obtains the number Digital information represented by word signal;
The digital information is stored.
CN201410156210.XA 2014-04-17 2014-04-17 A kind of chip module adaption system and method Active CN103905852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410156210.XA CN103905852B (en) 2014-04-17 2014-04-17 A kind of chip module adaption system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410156210.XA CN103905852B (en) 2014-04-17 2014-04-17 A kind of chip module adaption system and method

Publications (2)

Publication Number Publication Date
CN103905852A CN103905852A (en) 2014-07-02
CN103905852B true CN103905852B (en) 2017-11-10

Family

ID=50996972

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410156210.XA Active CN103905852B (en) 2014-04-17 2014-04-17 A kind of chip module adaption system and method

Country Status (1)

Country Link
CN (1) CN103905852B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704111A (en) * 2019-08-27 2020-01-17 深圳市有方科技股份有限公司 WIFI drive loading method and system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183310A (en) * 2007-12-13 2008-05-21 华为技术有限公司 Method for establishing apparatus drive, driving apparatus of equipment and board
CN101986381A (en) * 2010-11-04 2011-03-16 中兴通讯股份有限公司 Method and device for recognizing liquid crystal display screen and terminal
CN103677921A (en) * 2013-12-13 2014-03-26 Tcl康钛汽车信息服务(深圳)有限公司 Method and system for enabling Android system to be compatible with wifi chip

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4420183B2 (en) * 2003-08-11 2010-02-24 セイコーエプソン株式会社 Print control apparatus, print control method, and print control program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101183310A (en) * 2007-12-13 2008-05-21 华为技术有限公司 Method for establishing apparatus drive, driving apparatus of equipment and board
CN101986381A (en) * 2010-11-04 2011-03-16 中兴通讯股份有限公司 Method and device for recognizing liquid crystal display screen and terminal
CN103677921A (en) * 2013-12-13 2014-03-26 Tcl康钛汽车信息服务(深圳)有限公司 Method and system for enabling Android system to be compatible with wifi chip

Also Published As

Publication number Publication date
CN103905852A (en) 2014-07-02

Similar Documents

Publication Publication Date Title
CN105229615B (en) Virtual disk restores and redistribution
US20130226487A1 (en) Method, device and terminal for identifying lcd screen
CN103853665B (en) Memory allocation method and apparatus
CN102388357B (en) Method and system for accessing memory device
CN101589574A (en) Data structure for budgeting power for multiple devices
CN1341942A (en) Multifunctional semiconductor storage device
JP2012523618A (en) Data storage devices
CN105849709A (en) Universal serial bus (USB) hub for switching downstream ports between host mode and slave mode
CN101029918A (en) System and method for testing controllable integrated circuit based on programmable device
CN111079354B (en) Chip integration method and device, chip integration equipment and readable storage medium
JP2011257792A (en) Network system, management server and arrangement method for virtual machine
CN103493012B (en) Subjunctive BIOS
US20100250830A1 (en) System, method, and computer program product for hardening data stored on a solid state disk
CN103905852B (en) A kind of chip module adaption system and method
CN106708483A (en) Generating method and generating device of control interface of internet-of-things equipment
EP4109258A1 (en) Methods and apparatus to offload execution of a portion of a machine learning model
CN102571174B (en) The method of the access point of assign group mark and assign group mark
CN105739982A (en) System hibernation method and apparatus
CN106909346A (en) A kind of UEFI firmware implementation methods based on integrated computer
CN102393838A (en) Data processing method and device, PCI-E (peripheral component interface-express) bus system, and server
CN107147864A (en) A kind of LVDS and USB interface adaptive approach
CN104749966B (en) A kind of method and system of full digital trigger technique and HWIL simulation switching at runtime
CN101373438A (en) Method, system and apparatus for managing basic input and output system
CN100570557C (en) The computer system and the starting-up method of multiple boot program are provided
CN206312032U (en) A kind of multi-functional main frame

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 519000 Guangdong city of Zhuhai province Hongqi Town Jinwan District Zhuhai Yongda Road No. 66 No. 2 building

Applicant after: ZHUHAI MAIKE INTELLIGENT TECHNOLOGY CO., LTD.

Address before: 519000 Guangdong city in Zhuhai Province town of Red Bay Area Yongda Road No. 66 No. 2 building

Applicant before: Zhuhai Gotech Electronic Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: ZHUHAI GOTECH ELECTRONIC TECHNOLOGY CO., LTD. TO: ZHUHAI MAIKE INTELLIGENT TECHNOLOGY CO., LTD.

C53 Correction of patent for invention or patent application
CB03 Change of inventor or designer information

Inventor after: Liu Dong

Inventor before: Liu Lin

COR Change of bibliographic data

Free format text: CORRECT: INVENTOR; FROM: LIU LIN TO: LIU DONG

GR01 Patent grant
GR01 Patent grant