CN104461649B - chip compatible method and device - Google Patents
chip compatible method and device Download PDFInfo
- Publication number
- CN104461649B CN104461649B CN201410805081.2A CN201410805081A CN104461649B CN 104461649 B CN104461649 B CN 104461649B CN 201410805081 A CN201410805081 A CN 201410805081A CN 104461649 B CN104461649 B CN 104461649B
- Authority
- CN
- China
- Prior art keywords
- chip
- configuration information
- identity code
- map listing
- operational order
- 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
- User Interface Of Digital Computer (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention is applied to areas of information technology, there is provided chip compatible method and device.Methods described includes:Obtain the Identity Code of chip, and the configuration information according to corresponding to the Identity Code obtains the chip;The operational factor of the chip is configured according to the configuration information;Operational order is obtained according to the configuration information, and performs the operational order of acquisition.The present invention obtains corresponding configuration information by obtaining the Identity Code of chip, the operational factor of chip is configured according to configuration information, obtained further according to configuration information and perform operational order, thus the compatible different Chip scale of chip of the terminal device for same type is allow, the chip of different Chip scales is set to use same set of software, so as to improve production efficiency, R&D costs are reduced.
Description
Technical field
The invention belongs to areas of information technology, more particularly to chip compatible method and device.
Background technology
With the development of information technology, more and more chip suppliers arise at the historic moment.It is different for same type of chip
The Chip scale that supplier provides may be different.Chip for different size by different software, it is necessary to be performed.For end
End equipment producer, a kind of chip is typically chosen to be supplied by same supplier.If however, there is n (n is the integer more than or equal to 1)
Class chip from the chip of two kinds of different sizes, then needs research and development 2 respectivelynSoftware is covered, R&D costs are high, and low production efficiency.
The content of the invention
In consideration of it, the embodiments of the invention provide a kind of chip compatible method and device, to solve existing terminal device
Can not compatible different size chip, cause the problem of R&D costs are higher, production efficiency is relatively low.
On the one hand, the embodiments of the invention provide a kind of chip compatible method, including:
Obtain the Identity Code of chip, and the configuration information according to corresponding to the Identity Code obtains the chip;
The operational factor of the chip is configured according to the configuration information;
Operational order is obtained according to the configuration information, and performs the operational order of acquisition.
Second aspect, the embodiments of the invention provide a kind of chip compatible apparatus, including:
Configuration information acquiring unit, institute is obtained for obtaining the Identity Code of chip, and according to the Identity Code
State configuration information corresponding to chip;
Operational factor dispensing unit, for configuring the operational factor of the chip according to the configuration information;
Operational order execution unit, for obtaining operational order according to the configuration information, and perform the behaviour of acquisition
Instruct.
Existing beneficial effect is the embodiment of the present invention compared with prior art:The embodiment of the present invention is by obtaining chip
Identity Code configures the operational factor of chip according to configuration information, further according to configuration information to obtain corresponding configuration information
Obtain and perform operational order, terminal device is made for the compatible different Chip scale of chip of same type
The chip of different Chip scales can use same set of software, so as to improve production efficiency, reduce R&D costs.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some
Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these
Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the implementation process figure of chip compatible method provided in an embodiment of the present invention;
Fig. 2 is chip compatible method step S101 provided in an embodiment of the present invention specific implementation flow chart;
Fig. 3 is the implementation process figure for the chip compatible method that another embodiment of the present invention provides;
Fig. 4 is the structured flowchart of chip compatible apparatus provided in an embodiment of the present invention.
Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and Examples
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Fig. 1 shows the implementation process figure of chip compatible method provided in an embodiment of the present invention, and details are as follows:
In step S101, the Identity Code of chip is obtained, and the chip pair is obtained according to the Identity Code
The configuration information answered.
It should be noted that chip compatible method provided in an embodiment of the present invention can apply to mobile terminal, computer
Or other terminal devices, it is not limited thereto.The operating system of terminal device can be Android, IOS or Linux etc.,
It is not limited thereto.
Identity Code is the unique identifier of chip.The Identity Code of chip can be chip ID (Identity,
Identity recognition number) or chip sequence number, be not limited thereto.
The mapping relations of Identity Code and configuration information are stored with the memory of terminal device.When terminal device starts
When, obtained by CPU (Central Processing Unit, central processing unit) from memory corresponding with Identity Code
Configuration information.
In step s 102, the operational factor of the chip is configured according to the configuration information.
In step s 103, operational order is obtained according to the configuration information, and performs the operational order of acquisition.
Herein, configuration information includes the parameter information of chip and the storage location of operational order.Match somebody with somebody confidence obtaining
After breath, the operational factor of parameter information in configuration information configuration chip, and deposited according to operational order in configuration information
Position acquisition operational order is stored up, then performs the operational order of acquisition.
Fig. 2 shows the identity that chip is obtained described in chip compatible method step S101 provided in an embodiment of the present invention
Code, and according to corresponding to the Identity Code obtains the chip configuration information specific implementation flow chart, reference picture 2:
In step s 201, the Identity Code of chip is obtained, according to determining the first map listing prestored
Chip scale corresponding to Identity Code;
In step S202, match somebody with somebody confidence according to the second map listing acquisition prestored is corresponding with the Chip scale
Breath.
As one embodiment of the present of invention, the first map listing and second is prestored in the memory of terminal device and is reflected
List is penetrated, wherein, the Identity Code of the first map listing memorization COMS clip and the mapping relations of Chip scale, the second map listing
The mapping relations of memorization COMS clip specification and configuration information.It is true according to the first map listing after the Identity Code of chip is obtained
Determine Chip scale corresponding to Identity Code, configuration information corresponding with Chip scale is obtained further according to the second map listing.By
It is possible to identical in the Chip scale of the chip of different model, i.e., Chip scale may corresponding to the chip of different identity identification code
It is identical, therefore, it is combined by the first map listing with the second map listing, the quantity of software branch can be reduced, you can is reduced
The code block number of operational order, so as to mitigate the storage load of memory and research and development triviality.
Fig. 3 shows the implementation process figure for the chip compatible method that another embodiment of the present invention provides, for convenience of description,
It illustrate only part related to the present embodiment.Reference picture 3:
In step S301, the first mapping is created according to the corresponding relation of the Identity Code of chip and Chip scale and arranged
Table, and first map listing of storage creation;
In step s 302, the second map listing is created according to the corresponding relation of the Chip scale and configuration information, and
Second map listing of storage creation;
In step S303, the Identity Code of chip is obtained, according to determining the first map listing prestored
Chip scale corresponding to Identity Code;
In step s 304, confidence is matched somebody with somebody according to the second map listing acquisition prestored is corresponding with the Chip scale
Breath;
In step S305, the operational factor of the chip is configured according to the configuration information;
In step S306, operational order is obtained according to the configuration information, and perform the operational order of acquisition.
Preferably, the working frequency of the operational factor of the chip including the chip, the operating voltage of the chip with
And the universal input and output port information of the chip.
In embodiments of the present invention, the parameter information in configuration information includes working frequency parameter information, operating voltage is joined
Number information and universal input and output port parameter information.CPU working frequency parameter information, work electricity in configuration information is obtained
Press parameter information and universal input and output port parameter information, and according to the working frequency of above-mentioned parameter information configuration chip,
Operating voltage and universal input and output port.
Further, the Identity Code of acquisition chip described in step S101 is specially:
The Identity Code of chip is obtained by I/O control interfaces.
In embodiments of the present invention, CPU is by specifying I/O (Input and Output, input and output) control interface
Obtain the Identity Code of chip.
The embodiment of the present invention obtains corresponding configuration information by obtaining the Identity Code of chip, according to configuration information
The operational factor of chip is configured, is obtained further according to configuration information and performs operational order, thus make terminal device for mutually similar
The chip of type can compatible different Chip scale, the chip of different Chip scales is used same set of software, so as to carry
High production efficiency, reduces R&D costs.
It should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process is not meant to the elder generation of execution sequence
Afterwards, the execution sequence of each process should be determined with its function and internal logic, the implementation process structure without tackling the embodiment of the present invention
Into any restriction.
Fig. 4 shows the structured flowchart of chip compatible apparatus provided in an embodiment of the present invention, and the chip compatible apparatus can be with
For the chip compatible method described in service chart 1 to Fig. 3.For convenience of description, it illustrate only the related part of the present embodiment.
Reference picture 4, the chip compatible apparatus include:
Configuration information acquiring unit 41, obtained for obtaining the Identity Code of chip, and according to the Identity Code
Configuration information corresponding to the chip;
Operational factor dispensing unit 42, for configuring the operational factor of the chip according to the configuration information;
Operational order execution unit 43, for obtaining operational order according to the configuration information, and perform the described of acquisition
Operational order.
Preferably, the configuration information acquiring unit 41 includes:
Chip scale determination subelement 411, for obtaining the Identity Code of chip, according to the first mapping prestored
List determines Chip scale corresponding to the Identity Code;
Configuration information obtains subelement 412, is advised for being obtained according to the second map listing prestored with the chip
Configuration information corresponding to lattice.
Further, described device also includes:
First map listing creating unit 44, created for the corresponding relation of the Identity Code according to chip and Chip scale
Build the first map listing, and first map listing of storage creation;
Second map listing creating unit 45, for creating the according to the corresponding relation of the Chip scale and configuration information
Two map listings, and second map listing of storage creation.
Preferably, the working frequency of the operational factor of the chip including the chip, the operating voltage of the chip with
And the universal input and output port information of the chip.
Further, the configuration information acquiring unit 41 is specifically used for:
The Identity Code of chip is obtained by I/O control interfaces, and the chip is obtained according to the Identity Code
Corresponding configuration information.
The embodiment of the present invention obtains corresponding configuration information by obtaining the Identity Code of chip, according to configuration information
The operational factor of chip is configured, is obtained further according to configuration information and performs operational order, thus make terminal device for mutually similar
The chip of type can compatible different Chip scale, the chip of different Chip scales is used same set of software, so as to carry
High production efficiency, reduces R&D costs.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein
Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually
Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel
Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed
The scope of the present invention.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
With the specific work process of unit, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In several embodiments provided herein, it should be understood that disclosed apparatus and method, it can be passed through
Its mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, only
Only a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can be tied
Another system is closed or is desirably integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed
Mutual coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING or communication link of unit
Connect, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit
The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part to be contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are causing a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (8)
- A kind of 1. chip compatible method of mobile terminal, it is characterised in that including:The Identity Code of chip, and the configuration information according to corresponding to the Identity Code obtains the chip are obtained, specifically Identity Code including obtaining chip, the core according to corresponding to the first map listing prestored determines the Identity Code Piece specification;Configuration information corresponding with the Chip scale is obtained according to the second map listing prestored;Wherein, the Identity Code is the unique identifier of the chip;The configuration information includes the parameter of the chip The storage location of information and operational order;The parameter information in the configuration information configures the operational factor of the chip;The storage location of the operational order according to the configuration information obtains the operational order, and performs the described of acquisition Operational order.
- 2. the method as described in claim 1, it is characterised in that before the Identity Code of the acquisition chip, the side Method also includes:First map listing is created according to the corresponding relation of the Identity Code of chip and Chip scale, and storage creation is described First map listing;Second map listing, and described the second of storage creation are created according to the corresponding relation of the Chip scale and configuration information Map listing.
- 3. the method as described in claim 1, it is characterised in that the operational factor of the chip includes the work frequency of the chip The universal input and output port information of rate, the operating voltage of the chip and the chip.
- 4. the method as described in claim 1, it is characterised in that it is described obtain chip Identity Code be specially:The Identity Code of the chip is obtained by I/O control interfaces.
- A kind of 5. chip compatible apparatus of mobile terminal, it is characterised in that including:Configuration information acquiring unit, the core is obtained for obtaining the Identity Code of chip, and according to the Identity Code Configuration information corresponding to piece;Wherein, the Identity Code is the unique identifier of the chip;The configuration information includes institute The parameter information of chip and the storage location of operational order are stated,The configuration information acquiring unit includes:Chip scale determination subelement, it is true according to the first map listing prestored for obtaining the Identity Code of chip Chip scale corresponding to the fixed Identity Code;Configuration information obtains subelement, corresponding with the Chip scale for being obtained according to the second map listing prestored Configuration information;Operational factor dispensing unit, the operation ginseng of the chip is configured for the parameter information in the configuration information Number;Operational order execution unit, the storage location for the operational order according to the configuration information obtain operation and referred to Order, and perform the operational order of acquisition.
- 6. device as claimed in claim 5, it is characterised in that described device also includes:First map listing creating unit, first is created for the corresponding relation of the Identity Code according to chip and Chip scale Map listing, and first map listing of storage creation;Second map listing creating unit, for creating the second mapping according to the corresponding relation of the Chip scale and configuration information List, and second map listing of storage creation.
- 7. device as claimed in claim 5, it is characterised in that the operational factor of the chip includes the work frequency of the chip The universal input and output port information of rate, the operating voltage of the chip and the chip.
- 8. device as claimed in claim 5, it is characterised in that the configuration information acquiring unit is specifically used for:The Identity Code of chip is obtained by I/O control interfaces, and the chip is obtained according to the Identity Code and corresponded to Configuration information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410805081.2A CN104461649B (en) | 2014-12-19 | 2014-12-19 | chip compatible method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410805081.2A CN104461649B (en) | 2014-12-19 | 2014-12-19 | chip compatible method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104461649A CN104461649A (en) | 2015-03-25 |
CN104461649B true CN104461649B (en) | 2018-01-16 |
Family
ID=52907754
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410805081.2A Active CN104461649B (en) | 2014-12-19 | 2014-12-19 | chip compatible method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104461649B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104778135B (en) * | 2015-04-15 | 2018-04-27 | 上海与德通讯技术有限公司 | A kind of device compatibility method and system |
CN107068676B (en) | 2017-03-13 | 2019-08-27 | Oppo广东移动通信有限公司 | A kind of default standard chip, manufacturing method and mobile terminal |
CN107257294A (en) * | 2017-05-31 | 2017-10-17 | 宇龙计算机通信科技(深圳)有限公司 | A kind of device collocation method and device |
CN107220151B (en) * | 2017-06-12 | 2021-02-23 | 宇龙计算机通信科技(深圳)有限公司 | Circuit configuration method and device and computer equipment |
CN110347433A (en) * | 2018-04-03 | 2019-10-18 | 京东方科技集团股份有限公司 | Method for parameter configuration, device and display device |
CN109918121B (en) * | 2019-02-22 | 2022-08-30 | 深圳市酷开网络科技股份有限公司 | Configuration method based on different chip schemes, intelligent terminal and storage medium |
CN114281418A (en) * | 2021-11-30 | 2022-04-05 | 施耐德万高(天津)电气设备有限公司 | Dual-power multi-platform MCU self-adaption method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1464387A (en) * | 2002-06-26 | 2003-12-31 | 联想(北京)有限公司 | Hardware equipment drive program installing method and computer therefor |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7024539B2 (en) * | 2000-07-17 | 2006-04-04 | Silicon Laboratories Inc. | Resistor identification configuration circuitry and associated method |
CN100411338C (en) * | 2005-06-30 | 2008-08-13 | 联想(北京)有限公司 | Method for cloning software system between different hardware platforms |
CN102087550B (en) * | 2009-12-07 | 2014-03-05 | 北京搜狗科技发展有限公司 | Hardware equipment as well as method and system for inputting therein |
CN102081538A (en) * | 2011-01-11 | 2011-06-01 | 上海华勤通讯技术有限公司 | Method for making mobile phone processor be compatible with multiple chips |
CN103164368B (en) * | 2013-03-29 | 2016-02-10 | 惠州Tcl移动通信有限公司 | The method and system of a kind of embedded device compatible different addresses mapped inner-storage chip |
-
2014
- 2014-12-19 CN CN201410805081.2A patent/CN104461649B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1464387A (en) * | 2002-06-26 | 2003-12-31 | 联想(北京)有限公司 | Hardware equipment drive program installing method and computer therefor |
Also Published As
Publication number | Publication date |
---|---|
CN104461649A (en) | 2015-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104461649B (en) | chip compatible method and device | |
CN105338550B (en) | A kind of management method and device of the connection for wireless network | |
CN108228754A (en) | flow generation method and terminal device | |
CN109710397A (en) | Data processing method, device, storage medium, processor and system | |
CN109445706A (en) | Disk partition expansion method, device and server-side | |
CN104461737A (en) | Memory management method and device thereof | |
CN108418752B (en) | A kind of creation method and device of aggregation group | |
CN109257198A (en) | Adapter, management system and the network resource operation method of SDN controller | |
CN105224489A (en) | A kind of integrated management system of hardware device | |
CN105187250A (en) | Method and system for deploying nodes based on component template | |
CN105302709A (en) | Test data generating method and device | |
CN107247695A (en) | Coding rule generation method, system and storage device | |
CN109783155A (en) | Service Component management method, device, electronic equipment and storage medium | |
CN105636012B (en) | A kind of card writing method, writes card platform and system at smart card | |
CN109542398A (en) | A kind of operation system generation method, device and computer readable storage medium | |
CN106933560A (en) | A kind of automatic coding and device | |
CN104536926A (en) | Control method and device of serial devices | |
CN105553714A (en) | Service configuration method and system | |
CN102004660A (en) | Realizing method and device of business flows | |
CN103984540A (en) | Method and device for generating hardware interface running program | |
CN104598317B (en) | A kind of chip module management method, apparatus and system | |
CN110263308A (en) | Electronic signature method, apparatus, computer readable storage medium and server | |
CN103577260A (en) | Work scheduling method and system for cloud platform | |
CN104640103A (en) | Intelligent card MSISD (mobile subscriber international ISDN (integrated service digital network)) number configuration method and device | |
CN103729199A (en) | Method for dynamically deploying cloud computing component in ERP software |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., Ltd. |
|
CP03 | Change of name, title or address |