CN104461649A - Chip compatible method and device - Google Patents

Chip compatible method and device Download PDF

Info

Publication number
CN104461649A
CN104461649A CN201410805081.2A CN201410805081A CN104461649A CN 104461649 A CN104461649 A CN 104461649A CN 201410805081 A CN201410805081 A CN 201410805081A CN 104461649 A CN104461649 A CN 104461649A
Authority
CN
China
Prior art keywords
chip
configuration information
identity code
map listing
scale
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410805081.2A
Other languages
Chinese (zh)
Other versions
CN104461649B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201410805081.2A priority Critical patent/CN104461649B/en
Publication of CN104461649A publication Critical patent/CN104461649A/en
Application granted granted Critical
Publication of CN104461649B publication Critical patent/CN104461649B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention is suitable for the technical field of information, and provides a chip compatible method and device. The chip compatible method includes the steps of obtaining identity identification codes of chips and obtaining configuration information corresponding to the chips according to the identity identification codes; configuring running parameters of the chips according to the configuration information; obtaining operation commands according to the configuration information, and executing the obtained operation commands. According to the chip compatible method and device, as the corresponding configuration information is obtained by obtaining the identity identification codes of the chips, the running parameters of the chips are configured according to the configuration information, and then the operation commands are obtained and executed according to the configuration information, as for the chips in the same type, the chips different in specification can be compatible with a terminal device, same software can be adopted to the chips different in specification, the production efficiency is accordingly improved, and the development cost is reduced.

Description

Chip compatible method and device
Technical field
The invention belongs to areas of information technology, particularly relate to chip compatible method and device.
Background technology
Along with the development of infotech, more and more chip supplier arises at the historic moment.For the chip of same type, the Chip scale that different supplier provides may be different.For the chip of different size, need to be performed by different software.For terminal device producer, a class chip is generally selected to be supplied by same supplier.But, if having n (n be more than or equal to 1 integer) class chip selects the chip of two kinds of different sizes respectively, then need research and development 2 ncover software, R&D costs are high, and production efficiency is low.
Summary of the invention
Given this, embodiments provide a kind of chip compatible method and device, can not the chip of compatible different size to solve existing terminal device, cause the problem that R&D costs are higher, production efficiency is lower.
On the one hand, embodiments provide a kind of chip compatible method, comprising:
Obtain the Identity Code of chip, and obtain configuration information corresponding to described chip according to described Identity Code;
The operational factor of described chip is configured according to described configuration information;
Obtain operational order according to described configuration information, and perform the described operational order obtained.
Second aspect, embodiments provides a kind of chip compatible apparatus, comprising:
Configuration information acquiring unit, for obtaining the Identity Code of chip, and obtains configuration information corresponding to described chip according to described Identity Code;
Operational factor dispensing unit, for configuring the operational factor of described chip according to described configuration information;
Operational order performance element, for obtaining operational order according to described configuration information, and performs the described operational order obtained.
The beneficial effect that the embodiment of the present invention compared with prior art exists is: the embodiment of the present invention is by obtaining the Identity Code of chip to obtain corresponding configuration information, according to the operational factor of configuration information configuring chip, obtain and executable operations instruction according to configuration information again, make terminal device can compatible different Chip scale for the chip of identical type thus, the chip of different Chip scale is enable to adopt same set of software, thus improve production efficiency, reduce R&D costs.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the realization flow figure of the chip compatible method that the embodiment of the present invention provides;
Fig. 2 is the specific implementation process flow diagram of the chip compatible method step S101 that the embodiment of the present invention provides;
Fig. 3 is the realization flow figure of the chip compatible method that another embodiment of the present invention provides;
Fig. 4 is the structured flowchart of the chip compatible apparatus that the embodiment of the present invention provides.
Embodiment
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Fig. 1 shows the realization flow figure of the chip compatible method that the embodiment of the present invention provides, and details are as follows:
In step S101, obtain the Identity Code of chip, and obtain configuration information corresponding to described chip according to described Identity Code.
It should be noted that, the chip compatible method that the embodiment of the present invention provides can be applied to mobile terminal, computing machine or other terminal device, in this no limit.The operating system of terminal device can be Android, IOS or Linux etc., in this no limit.
Identity Code is the unique identifier of chip.The Identity Code of chip can be the ID (Identity, identity recognition number) of chip or the sequence number of chip, in this no limit.
The mapping relations of Identity Code and configuration information are stored in the storer of terminal device.When terminal device starts, from storer, obtain the configuration information corresponding with Identity Code by CPU (Central Processing Unit, central processing unit).
In step s 102, the operational factor of described chip is configured according to described configuration information.
In step s 103, obtain operational order according to described configuration information, and perform the described operational order obtained.
Here, configuration information comprises the parameter information of chip and the memory location of operational order.After acquisition configuration information, according to the operational factor of the parameter information configuring chip in configuration information, and obtain operational order according to the memory location of operational order in configuration information, then perform the operational order of acquisition.
Fig. 2 shows the Identity Code obtaining chip described in chip compatible method step S101 that the embodiment of the present invention provides, and obtains the specific implementation process flow diagram of configuration information corresponding to described chip according to described Identity Code, with reference to Fig. 2:
In step s 201, obtain the Identity Code of chip, determine according to the first map listing prestored the Chip scale that described Identity Code is corresponding;
In step S202, the second map listing according to prestoring obtains the configuration information corresponding with described Chip scale.
As one embodiment of the present of invention, the first map listing and the second map listing is prestored in the storer of terminal device, wherein, the Identity Code of the first map listing memorization COMS clip and the mapping relations of Chip scale, the mapping relations of the second map listing memorization COMS clip specification and configuration information.After the Identity Code obtaining chip, to determine one's identity Chip scale corresponding to identification code according to the first map listing, then obtain the configuration information corresponding with Chip scale according to the second map listing.Because the Chip scale of the chip of different model is likely identical, namely the Chip scale that the chip of different identity identification code is corresponding may be identical, therefore, combined with the second map listing by the first map listing, the quantity of software branch can be reduced, the code block number of operational order can be reduced, thus alleviate storage load and the research and development triviality of storer.
Fig. 3 shows the realization flow figure of the chip compatible method that another embodiment of the present invention provides, and for convenience of explanation, illustrate only part related to the present embodiment.With reference to Fig. 3:
In step S301, create the first map listing according to the Identity Code of chip and the corresponding relation of Chip scale, and described first map listing of storage creation;
In step s 302, the corresponding relation according to described Chip scale and configuration information creates the second map listing, and described second map listing of storage creation;
In step S303, obtain the Identity Code of chip, determine according to the first map listing prestored the Chip scale that described Identity Code is corresponding;
In step s 304, the configuration information corresponding with described Chip scale is obtained according to the second map listing prestored;
In step S305, configure the operational factor of described chip according to described configuration information;
In step S306, obtain operational order according to described configuration information, and perform the described operational order obtained.
Preferably, the operational factor of described chip comprises the universal input and output port information of the frequency of operation of described chip, the operating voltage of described chip and described chip.
In embodiments of the present invention, the parameter information in configuration information comprises frequency of operation parameter information, operating voltage parameter information and universal input and output port parameter information.CPU is frequency of operation parameter information, operating voltage parameter information and universal input and output port parameter information in acquisition configuration information, and according to the frequency of operation of above-mentioned parameter information configuration chip, operating voltage and universal input and output port.
Further, the Identity Code obtaining chip described in step S101 is specially:
The Identity Code of chip is obtained by I/O control interface.
In embodiments of the present invention, CPU obtains the Identity Code of chip by assigned I/O (Input and Output, input and output) control interface.
The embodiment of the present invention is by obtaining the Identity Code of chip to obtain corresponding configuration information, according to the operational factor of configuration information configuring chip, obtain and executable operations instruction according to configuration information again, make terminal device can compatible different Chip scale for the chip of identical type thus, the chip of different Chip scale is enable to adopt same set of software, thus improve production efficiency, reduce R&D costs.
Should be understood that in embodiments of the present invention, the size of the sequence number of above-mentioned each process does not also mean that the priority of execution sequence, and the execution sequence of each process should be determined with its function and internal logic, and should not form any restriction to the implementation process of the embodiment of the present invention.
Fig. 4 shows the structured flowchart of the chip compatible apparatus that the embodiment of the present invention provides, and this chip compatible apparatus may be used for the chip compatible method described in service chart 1 to Fig. 3.For convenience of explanation, illustrate only the part that the present embodiment is relevant.
With reference to Fig. 4, described chip compatible apparatus comprises:
Configuration information acquiring unit 41, for obtaining the Identity Code of chip, and obtains configuration information corresponding to described chip according to described Identity Code;
Operational factor dispensing unit 42, for configuring the operational factor of described chip according to described configuration information;
Operational order performance element 43, for obtaining operational order according to described configuration information, and performs the described operational order obtained.
Preferably, described configuration information acquiring unit 41 comprises:
Chip scale determination subelement 411, for obtaining the Identity Code of chip, determines according to the first map listing prestored the Chip scale that described Identity Code is corresponding;
Configuration information obtains subelement 412, for obtaining the configuration information corresponding with described Chip scale according to the second map listing prestored.
Further, described device also comprises:
First map listing creating unit 44, for creating the first map listing according to the Identity Code of chip and the corresponding relation of Chip scale, and described first map listing of storage creation;
Second map listing creating unit 45, for creating the second map listing according to the corresponding relation of described Chip scale and configuration information, and described second map listing of storage creation.
Preferably, the operational factor of described chip comprises the universal input and output port information of the frequency of operation of described chip, the operating voltage of described chip and described chip.
Further, described configuration information acquiring unit 41 specifically for:
Obtained the Identity Code of chip by I/O control interface, and obtain configuration information corresponding to described chip according to described Identity Code.
The embodiment of the present invention is by obtaining the Identity Code of chip to obtain corresponding configuration information, according to the operational factor of configuration information configuring chip, obtain and executable operations instruction according to configuration information again, make terminal device can compatible different Chip scale for the chip of identical type thus, the chip of different Chip scale is enable to adopt same set of software, thus improve production efficiency, reduce R&D costs.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the device of foregoing description and the specific works process of unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection domain of claim.

Claims (10)

1. a chip compatible method, is characterized in that, comprising:
Obtain the Identity Code of chip, and obtain configuration information corresponding to described chip according to described Identity Code;
The operational factor of described chip is configured according to described configuration information;
Obtain operational order according to described configuration information, and perform the described operational order obtained.
2. the method for claim 1, is characterized in that, the Identity Code of described acquisition chip, and comprises according to the configuration information that described Identity Code obtains described chip corresponding:
Obtain the Identity Code of chip, determine according to the first map listing prestored the Chip scale that described Identity Code is corresponding;
The second map listing according to prestoring obtains the configuration information corresponding with described Chip scale.
3. method as claimed in claim 2, it is characterized in that, before the Identity Code of described acquisition chip, described method also comprises:
The first map listing is created according to the Identity Code of chip and the corresponding relation of Chip scale, and described first map listing of storage creation;
Corresponding relation according to described Chip scale and configuration information creates the second map listing, and described second map listing of storage creation.
4. the method for claim 1, is characterized in that, the operational factor of described chip comprises the frequency of operation of described chip, the operating voltage of described chip and the universal input and output port information of described chip.
5. the method for claim 1, is characterized in that, the Identity Code of described acquisition chip is specially:
The Identity Code of described chip is obtained by I/O control interface.
6. a chip compatible apparatus, is characterized in that, comprising:
Configuration information acquiring unit, for obtaining the Identity Code of chip, and obtains configuration information corresponding to described chip according to described Identity Code;
Operational factor dispensing unit, for configuring the operational factor of described chip according to described configuration information;
Operational order performance element, for obtaining operational order according to described configuration information, and performs the described operational order obtained.
7. device as claimed in claim 6, it is characterized in that, described configuration information acquiring unit comprises:
Chip scale determination subelement, for obtaining the Identity Code of chip, determines according to the first map listing prestored the Chip scale that described Identity Code is corresponding;
Configuration information obtains subelement, for obtaining the configuration information corresponding with described Chip scale according to the second map listing prestored.
8. device as claimed in claim 7, it is characterized in that, described device also comprises:
First map listing creating unit, for creating the first map listing according to the Identity Code of chip and the corresponding relation of Chip scale, and described first map listing of storage creation;
Second map listing creating unit, for creating the second map listing according to the corresponding relation of described Chip scale and configuration information, and described second map listing of storage creation.
9. device as claimed in claim 6, it is characterized in that, the operational factor of described chip comprises the frequency of operation of described chip, the operating voltage of described chip and the universal input and output port information of described chip.
10. device as claimed in claim 6, is characterized in that, described configuration information acquiring unit specifically for:
Obtained the Identity Code of chip by I/O control interface, and obtain configuration information corresponding to described chip according to described Identity Code.
CN201410805081.2A 2014-12-19 2014-12-19 chip compatible method and device Active CN104461649B (en)

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 true CN104461649A (en) 2015-03-25
CN104461649B 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)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778135A (en) * 2015-04-15 2015-07-15 上海与德通讯技术有限公司 Device compatible method and system
CN107220151A (en) * 2017-06-12 2017-09-29 宇龙计算机通信科技(深圳)有限公司 A kind of circuit collocation method, device and computer equipment
CN107257294A (en) * 2017-05-31 2017-10-17 宇龙计算机通信科技(深圳)有限公司 A kind of device collocation method and device
CN109918121A (en) * 2019-02-22 2019-06-21 深圳市酷开网络科技有限公司 A kind of configuration method based on different chip solutions, intelligent terminal and storage medium
WO2019192244A1 (en) * 2018-04-03 2019-10-10 京东方科技集团股份有限公司 Parameter configuration method and device, and display device
US11056479B2 (en) 2017-03-13 2021-07-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Chip, manufacturing method, and mobile terminal
CN114281418A (en) * 2021-11-30 2022-04-05 施耐德万高(天津)电气设备有限公司 Dual-power multi-platform MCU self-adaption method and device

Citations (6)

* Cited by examiner, † Cited by third party
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
US20060179047A1 (en) * 2000-07-17 2006-08-10 Silicon Laboratories Inc. Resistor identification configuration circuitry and associated method
CN1889437A (en) * 2005-06-30 2007-01-03 联想(北京)有限公司 Method for cloning software system between different hardware platforms
CN102081538A (en) * 2011-01-11 2011-06-01 上海华勤通讯技术有限公司 Method for making mobile phone processor be compatible with multiple chips
CN102087550A (en) * 2009-12-07 2011-06-08 北京搜狗科技发展有限公司 Hardware equipment as well as method and system for inputting therein
CN103164368A (en) * 2013-03-29 2013-06-19 惠州Tcl移动通信有限公司 Method and system enabling embedded device to be compatible with different address mapping internal storage chips

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060179047A1 (en) * 2000-07-17 2006-08-10 Silicon Laboratories Inc. Resistor identification configuration circuitry and associated method
CN1464387A (en) * 2002-06-26 2003-12-31 联想(北京)有限公司 Hardware equipment drive program installing method and computer therefor
CN1889437A (en) * 2005-06-30 2007-01-03 联想(北京)有限公司 Method for cloning software system between different hardware platforms
CN102087550A (en) * 2009-12-07 2011-06-08 北京搜狗科技发展有限公司 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
CN103164368A (en) * 2013-03-29 2013-06-19 惠州Tcl移动通信有限公司 Method and system enabling embedded device to be compatible with different address mapping internal storage chips

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778135A (en) * 2015-04-15 2015-07-15 上海与德通讯技术有限公司 Device compatible method and system
CN104778135B (en) * 2015-04-15 2018-04-27 上海与德通讯技术有限公司 A kind of device compatibility method and system
US11056479B2 (en) 2017-03-13 2021-07-06 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Chip, manufacturing method, and mobile terminal
CN107257294A (en) * 2017-05-31 2017-10-17 宇龙计算机通信科技(深圳)有限公司 A kind of device collocation method and device
CN107220151A (en) * 2017-06-12 2017-09-29 宇龙计算机通信科技(深圳)有限公司 A kind of circuit collocation method, device and computer equipment
WO2019192244A1 (en) * 2018-04-03 2019-10-10 京东方科技集团股份有限公司 Parameter configuration method and device, and display device
CN110347433A (en) * 2018-04-03 2019-10-18 京东方科技集团股份有限公司 Method for parameter configuration, device and display device
US11231938B2 (en) 2018-04-03 2022-01-25 Beijing Boe Display Technology Co., Ltd. Parameter configuration method for a display device having a plurality of drivers for each connected component
CN109918121A (en) * 2019-02-22 2019-06-21 深圳市酷开网络科技有限公司 A kind of configuration method based on different chip solutions, intelligent terminal and storage medium
CN114281418A (en) * 2021-11-30 2022-04-05 施耐德万高(天津)电气设备有限公司 Dual-power multi-platform MCU self-adaption method and device

Also Published As

Publication number Publication date
CN104461649B (en) 2018-01-16

Similar Documents

Publication Publication Date Title
CN104461649A (en) Chip compatible method and device
EP3588285A1 (en) Sequence optimizations in a high-performance computing environment
CN103810020A (en) Virtual machine elastic scaling method and device
CN103763129A (en) PCIe equipment management method and device
CN103176833A (en) Data transmission method, data receiving method and system based on virtual machine
CN103425632A (en) Serializing method, device and processor
CN105704188A (en) Deployment method and apparatus of applications and services
CN103856548A (en) Dynamic resource scheduling method and dynamic resource scheduler
CN105141466A (en) Operating system automation deployment method based on cloud platform and system thereof
CN104572217A (en) Updating method and system of wearable intelligent device
CN106055375A (en) Application program installation method and device
CN105260293A (en) Output method, output device and terminal equipment of log information
CN105224489A (en) A kind of integrated management system of hardware device
CN103164492A (en) File copying method between electronic devices and electronic devices
CN109683470A (en) A kind of software and hardware self-adaptive matching method, device and driving device
CN103560934A (en) Power line modem production testing method and device
US20150278299A1 (en) External merge sort method and device, and distributed processing device for external merge sort
CN105260266A (en) Snapshot volume writing method and dependent snapshot system
CN104506630A (en) Method, server and system for generating authority data on basis of user roles
CN105159714A (en) PMIC initialization method and electronic equipment
CN105354066A (en) OTA (over the air) downloading method, device and intelligent terminal
CN105808556A (en) Operating method for database and database engine
CN113010195B (en) System upgrading method, storage medium and terminal equipment
CN104239199A (en) Virtual robot generation method, automatic test method and related device
CN104980564A (en) Recharge socket and mobile terminal processing method based on recharge socket

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