CN111694610A - Software implementation method and system of SOC (System on chip), electronic equipment and storage medium - Google Patents

Software implementation method and system of SOC (System on chip), electronic equipment and storage medium Download PDF

Info

Publication number
CN111694610A
CN111694610A CN202010544252.6A CN202010544252A CN111694610A CN 111694610 A CN111694610 A CN 111694610A CN 202010544252 A CN202010544252 A CN 202010544252A CN 111694610 A CN111694610 A CN 111694610A
Authority
CN
China
Prior art keywords
information
peripheral device
current
module
soc chip
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010544252.6A
Other languages
Chinese (zh)
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.)
Spreadtrum Communications Shanghai Co Ltd
Original Assignee
Spreadtrum Communications Shanghai 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 Spreadtrum Communications Shanghai Co Ltd filed Critical Spreadtrum Communications Shanghai Co Ltd
Priority to CN202010544252.6A priority Critical patent/CN111694610A/en
Publication of CN111694610A publication Critical patent/CN111694610A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a software implementation method, a system, electronic equipment and a storage medium of an SOC chip, wherein the software implementation method comprises the following steps: presetting physical information corresponding to each peripheral device to obtain a corresponding relation; acquiring current physical information; identifying the current peripheral device according to the acquired current physical information and the corresponding relation of the current peripheral device; and configuring the current peripheral device. According to the invention, the corresponding relation between the peripheral device and the physical information is preset, so that the SOC chip can identify the current peripheral device according to the current physical information and the corresponding relation when being powered on. The invention overcomes the defects of high cost, poor flexibility and low expandability caused by configuring the peripheral devices in a macro-definition mode in the prior art, accurately identifies the currently used peripheral devices through a software image file, can further configure the corresponding peripheral devices according to the identified peripheral devices, and improves the flexibility and the expandability of the electronic system.

Description

Software implementation method and system of SOC (System on chip), electronic equipment and storage medium
Technical Field
The present invention relates to the field of SOC chip configuration, and in particular, to a method and a system for implementing SOC chip software, an electronic device, and a storage medium.
Background
In a consumer electronic system and an industrial electronic system including products such as a functional mobile phone, a smart watch, a smart sound box, a smart camera, a monitoring device, a medical device, a set top box and the like, when an electronic system based on a certain SOC (system on a chip) chip and an operating system (such as RTOS (operating system), Linux (operating system), Android (operating system) and the like) is used for hardware design, in order to ensure the supply chain safety of peripheral devices, in the system on a chip, for a certain peripheral device, corresponding alternatives are often available except the preferred scheme, for example, a radio frequency module of company A is the preferred scheme, a radio frequency module of company B is the alternative scheme a, and a radio frequency module of company C is the alternative scheme B.
Because the corresponding driving codes of each peripheral device are different, the driving codes of the peripheral devices are usually statically selected through macro definition under the general condition, the specific implementation mode is to issue different software image files aiming at different peripheral devices, after a certain peripheral device is updated or replaced, in order to enable the user's equipment to operate normally, a new image file is generally obtained in a system upgrade manner, thereby loading the driver code of the updated peripheral device to enable the user's equipment to function normally, however, in this way, only fixed peripheral devices can be loaded under the same image file, and different image files need to be issued according to the types of the peripheral devices when the peripheral devices are changed, on one hand, the cost is increased in links of software development, acceptance, maintenance and the like, and the expandability and flexibility of the electronic system are reduced.
Disclosure of Invention
The technical problem to be solved by the invention is to overcome the defects of high cost and low flexibility in the links of software development, acceptance and maintenance and the like of the SOC chip in the prior art, and provide a software implementation method, a system, an electronic device and a storage medium of the SOC chip with low cost, high flexibility and high expandability.
The invention solves the technical problems through the following technical scheme:
the invention provides a software implementation method of an SOC chip, which comprises the following steps:
presetting physical information corresponding to each peripheral device to obtain a corresponding relation, wherein the physical information comprises at least one of digital information, voltage information and ID (identifier) information corresponding to the peripheral device;
acquiring the physical information of a current peripheral device connected with the SOC chip to obtain current physical information;
identifying the current peripheral device according to the acquired current physical information of the current peripheral device and the corresponding relation;
and configuring the current peripheral device.
According to the scheme, after the SOC chip is powered on, the current physical information of the current peripheral device connected with the SOC chip is automatically acquired, so that the current peripheral device is identified.
Preferably, the physical information is information obtained by combining at least two of the digital information, the voltage information, and the ID information.
Preferably, the digital information is GPIO (general purpose input and output) combined information;
and/or the presence of a gas in the gas,
the voltage information is ADC (analog to digital conversion) information.
In the scheme, the physical information obtained by combining at least two kinds of information is preset for each peripheral device, so that each peripheral device can be identified more accurately.
Preferably, the step of configuring the current peripheral device further includes:
and starting the current peripheral device.
In the scheme, the current peripheral device can be started to normally use after the current peripheral device is successfully configured.
Preferably, the peripheral device includes at least one of a memory, a touch screen, a display module, a radio frequency front end, a camera module and a fingerprint module.
In the scheme, for the SOC chip, the types and the number of the peripheral devices are not limited, when software is implemented, corresponding physical information is only required to be preset for each peripheral device, namely, which peripheral device is connected can be identified through the physical information of the current peripheral device connected with the SOC chip after the SOC chip is powered on, the generated image file can support automatic identification when different peripheral devices are accessed, namely, the image file does not need to be issued again when the peripheral devices are replaced, and the corresponding current peripheral device can be obtained according to the identified physical information when the SOC chip is powered on.
The invention also provides a software implementation system of the SOC chip, which comprises a preset module, a physical information acquisition module, an identification module and a configuration module;
the preset module is used for presetting physical information corresponding to each peripheral device to obtain a corresponding relation, and the physical information comprises at least one of digital information, voltage information and ID information corresponding to the peripheral devices;
the physical information acquisition module is used for acquiring the physical information of the current peripheral device connected with the SOC chip to obtain current physical information;
the identification module is used for identifying the current peripheral device according to the acquired current physical information of the current peripheral device and the corresponding relation;
the configuration module is used for configuring the current peripheral device.
Preferably, the physical information is information obtained by combining at least two of the digital information, the voltage information, and the ID information.
Preferably, the digital information is GPIO combined information;
and/or the presence of a gas in the gas,
the voltage information is ADC information.
Preferably, the software implementation system further includes a starting module, configured to start the current peripheral device;
the configuration module is also used for calling the starting module after the current peripheral device is configured.
Preferably, the peripheral device includes at least one of a memory, a touch screen, a display module, a radio frequency front end, a camera module and a fingerprint module.
The invention also provides an electronic device, which comprises a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the processor executes the computer program to realize the software implementation method of the SOC chip.
The present invention also provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the software-implemented method of SOC chip as described above.
The positive progress effects of the invention are as follows: according to the invention, the corresponding relation between the peripheral device and the physical information is preset, so that the SOC chip can identify the current peripheral device according to the acquired current physical information and the corresponding relation when being powered on. The invention overcomes the defects of high cost, poor flexibility and low expandability caused by configuring the peripheral devices in a macro-definition mode in the prior art, and the same software image file generated based on the software implementation method provided by the invention can accurately identify which one of different peripheral devices is supported by the currently used peripheral device, so that the corresponding peripheral device can be further configured according to the identified peripheral device, and the flexibility and the expandability of an electronic system are improved.
Drawings
Fig. 1 is a flowchart of a software implementation method of an SOC chip according to embodiment 1 of the present invention.
Fig. 2 is a block diagram of a software implementation system of an SOC chip according to embodiment 3 of the present invention.
Fig. 3 is a block diagram of an electronic device according to embodiment 5 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
The present embodiment provides a software implementation method of an SOC chip, as shown in fig. 1, the software implementation method includes:
step 101, presetting physical information corresponding to each peripheral device to obtain a corresponding relation.
And 102, acquiring physical information of the current peripheral device connected with the SOC chip to obtain the current physical information.
And 103, identifying the current peripheral device according to the acquired current physical information and the corresponding relation of the current peripheral device.
And step 104, configuring the current peripheral device.
The physical information includes digital information, voltage information, ID information, and the like corresponding to the peripheral device. In this embodiment, a corresponding relationship is generated according to preset physical information corresponding to each peripheral device, after the SOC chip is powered on, current physical information of a current peripheral device connected to the SOC chip is automatically acquired, the current peripheral device is identified according to the current physical information, and configuration information of the corresponding current peripheral device is loaded, so that the current peripheral device is configured according to the configuration information.
In an alternative embodiment, after the configuration is successful, if the current peripheral device is used, step 104 further includes the steps of: and starting the current peripheral device.
In this embodiment, a software image file is generated based on the software implementation method of the SOC chip, the currently used peripheral device can be accurately identified by the software image file, and the current peripheral device is configured, so that the flexibility and the expandability of the electronic system are improved.
Example 2
The present embodiment provides a software implementation method of an SOC chip, and is a further improvement of embodiment 1.
In this embodiment, the peripheral device includes a memory, a touch screen, a display module, a radio frequency front end, a camera module, a fingerprint module, and the like, and when designing hardware of the SOC chip, in order to ensure that the peripheral hardware can be normally supplied and used, there may be multiple selection modes for the same type of peripheral device, for example, for the fingerprint module, the preferred scheme of the SOC chip is the fingerprint module of the a model of the a company, but in some cases, the fingerprint module of the a model of the a company may not be supplied or used, at this time, in order to ensure that the use of the SOC chip is not affected, the fingerprint module of the a model of the B company may be used, in this embodiment, different corresponding relationships are preset for different peripheral devices, for example, the first corresponding relationship is preset for the fingerprint module of the a model of the a company, and the second corresponding relationship is preset for the fingerprint module of the a model of the, when the fingerprint module of the first-choice scheme company A model cannot be supplied or cannot be used, the fingerprint module of the second-choice scheme company B model can be identified according to the second corresponding relation, so that the safety of a supply chain of a peripheral device is ensured, and the SOC chip can be normally used.
In this embodiment, for the SOC chip, the types and the number of the peripheral devices are not limited, and in the design, only the corresponding physical information needs to be preset for each peripheral device and the same image file is generated accordingly, when the peripheral device is replaced, the image file does not need to be released again, and when the SOC chip is powered on, the corresponding current peripheral device can be obtained according to the identified current physical information.
In an alternative embodiment, the physical information is a combination of at least two of digital information, voltage information, and ID information.
Under the conditions that the number of peripheral devices corresponding to the SOC system is large or physical information of individual peripheral devices is repeated, in order to accurately identify different peripheral devices in the same image file, information obtained by combining at least two types of information can be preset for each peripheral device to obtain a corresponding relation, for example, the ID of a fingerprint module of a company A is the same as the ID of a display module of a company B, the physical information of the fingerprint module of the company A can be preset to be the combination of the ID information and first digital information, and the physical information of the display module of the company B is the combination of the ID information and second digital information, so that a more accurate identification effect is achieved.
In this embodiment, the physical information obtained by combining at least two types of information is preset for each peripheral device, so that each peripheral device can be identified more accurately.
In an alternative embodiment, the digital information is GPIO combined information.
The number of GPIO pins on the SOC chip can be set according to actual requirements.
In specific implementation, the following steps are as follows: assuming that 4 GPIO pins are set on the SOC chip, high-low digital signal values (e.g., high ═ 1, low ═ 0) corresponding to the pins of the peripheral device are preset, for example, the corresponding relationship between the fingerprint module of the a model of the company a and the four pins is 1110, and the corresponding relationship between the fingerprint module of the c model of the company B and the four pins is 0101. When the power is on, the corresponding current peripheral device can be identified according to the digital signal by acquiring the digital signal of the corresponding GPIO pin.
In an alternative embodiment, the voltage information is ADC information.
In specific implementation, the following steps are as follows: the method comprises the steps of firstly presetting a voltage range corresponding to the peripheral device, arranging a voltage division circuit in an SOC chip, detecting a voltage division value of the peripheral device after passing through the voltage division circuit when the SOC chip is powered on, and matching a voltage value range corresponding to the voltage division value, so as to identify the current peripheral device.
In an alternative embodiment, the voltage information is ID information.
In specific implementation, the following steps are as follows: in one case, when the power is on, the ID of the current peripheral device can be identified according to the information of the current peripheral device, such as the ID of the current peripheral device can be identified according to the address of the current peripheral device; in another case, the ID of each peripheral device and the corresponding relationship between the ID and the physical information and/or the current peripheral device information may be predefined, and when the peripheral device is powered on, the ID of the current peripheral device may be matched according to the acquired current peripheral device information and/or physical information, so as to identify the current peripheral device.
In an optional implementation manner, the physical information is combination information of at least two of GPIO combination information, ADC information, and ID information.
For example, the physical information of the touch screen of company a model is preset as follows: GPIO combined information is 101, ADC information is (V)1,V2) The ID information is 0x1, and the physical information of the touch screen of company B, model a, is: GPIO combined information is 111, ADC information is (V)2,V3) The physical information of the radio frequency front end of company B, model c, is: the GPIO combination information is 111, and the ID information is 0x 3. When the power is on, the obtained current physical information is as follows: GPIO combined information is 111, and the voltage is located at (V)2,V3) Can confirm that the identified current peripheral hardware is the touch screen of the B company a model.
In this embodiment, a new design method is provided, which can accurately identify multiple peripheral devices by generating the same software image file, and for a hardware system suitable for various different peripheral devices, reduce the number of image files issued to support different peripheral devices, and solve the problem of cost increase caused by multiple image files. Therefore, the labor cost of links such as software development, acceptance and maintenance is reduced under the condition of accurately identifying a plurality of peripheral devices.
Example 3
The present embodiment provides a software implementation system of an SOC chip, as shown in fig. 2, the software implementation system includes a presetting module 201, a physical information obtaining module 202, an identifying module 203, and a configuring module 204.
The presetting module 201 is configured to preset physical information corresponding to each peripheral device to obtain a corresponding relationship.
The physical information obtaining module 202 is configured to obtain the physical information of the current peripheral device connected to the SOC chip to obtain current physical information.
The identification module 203 is configured to identify the current peripheral device according to the obtained current physical information of the current peripheral device and the corresponding relationship.
The configuration module 204 is configured to configure the current peripheral device.
The physical information includes digital information, voltage information, ID information, and the like corresponding to the peripheral device. In this embodiment, the preset module 201 generates a corresponding relationship according to preset physical information corresponding to each peripheral device, and presets the corresponding relationship into the software system, the software system integrates configuration information of each peripheral device, when the software system is started, the physical information acquisition module 202 acquires current physical information, the identification module 203 identifies the current peripheral device according to the physical information corresponding to the peripheral device, and the configuration module 204 loads configuration information of the corresponding current peripheral device so as to configure the current peripheral device according to the configuration information.
In an optional implementation manner, after configuration is successful, if a current peripheral device needs to be used, the software implementation system in this embodiment further includes a starting module, configured to start the current peripheral device, and the configuration module 204 is further configured to call the starting module after the current peripheral device is configured.
In this embodiment, the defect that the cost is high, the flexibility is poor and the expandability is low due to the fact that the peripheral devices are configured in a macro-definition mode in the prior art is overcome.
Example 4
The present embodiment provides a software implementation system of an SOC chip, and is a further improvement of embodiment 3.
In this embodiment, the peripheral device includes a memory, a touch screen, a display module, a radio frequency front end, a camera module, a fingerprint module, and the like, and when designing hardware of the SOC chip, in order to ensure that the peripheral hardware can be normally supplied and used, there may be multiple selection modes for the same type of peripheral device, for example, for the fingerprint module, the preferred scheme of the SOC chip is the fingerprint module of the a model of the a company, but in some cases, the fingerprint module of the a model of the a company may not be supplied or used, at this time, in order to ensure that the use of the SOC chip is not affected, the fingerprint module of the a model of the B company may be used, in this embodiment, different corresponding relationships are preset for different peripheral devices, for example, the first corresponding relationship is preset for the fingerprint module of the a model of the a company, and the second corresponding relationship is preset for the fingerprint module of the a model of the, when the fingerprint module of the company a type of the first-choice scheme cannot be supplied or used, the software system can identify the fingerprint module of the company a type of the second-choice scheme according to the second corresponding relation, so that the safety of a supply chain of a peripheral device is ensured, and the SOC chip can be normally used.
In this embodiment, for the SOC chip, the type and number of the peripheral devices are not limited, when designing the software system configured by the hardware, the presetting module only needs to preset corresponding physical information for each peripheral device in the software system and generate the same image file, when the peripheral devices are replaced, the image file does not need to be issued again, and when the software system is started, the identification module can obtain the corresponding current peripheral device according to the identified physical information.
In an alternative embodiment, the physical information is a combination of at least two of digital information, voltage information, and ID information.
Under the conditions that the number of peripheral devices corresponding to the SOC system is large or physical information of individual peripheral devices is repeated, etc., the identification module 203 can accurately identify different peripheral devices in the same image file, and the preset module 201 can preset information obtained by combining at least two types of information for each peripheral device to obtain a corresponding relationship, for example, the ID of the fingerprint module of the a type of the company a is the same as the ID of the display module of the c type of the company B, in which case the physical information of the fingerprint module of the a type of the company a can be preset as the combination of the ID information and the first digital information, and the physical information of the display module of the c type of the company B is the combination of the ID information and the second digital information, thereby achieving a more accurate identification effect.
In this embodiment, the physical information obtained by combining at least two types of information is preset for each peripheral device, so that each peripheral device can be identified more accurately.
In an alternative embodiment, the digital information is GPIO combined information.
The number of GPIO pins on the SOC chip can be set according to actual requirements.
In specific implementation, the following steps are as follows: assuming that 4 GPIO pins are set on the SOC chip, the presetting module 201 first presets high-low digital signal values (e.g., high ═ 1, low ═ 0) corresponding to the peripheral devices and the pins, for example, the corresponding relationship between the fingerprint module of the a model of the company a and the four pins is 1110, and the corresponding relationship between the fingerprint module of the c model of the company B and the four pins is 0101. When the software system is started, the physical information acquisition module 202 acquires the digital signal of the corresponding GPIO pin, and the identification module 203 can identify the corresponding current peripheral device according to the digital signal.
In an alternative embodiment, the voltage information is ADC information.
In specific implementation, the following steps are as follows: the preset module 201 first presets a voltage range corresponding to the peripheral device, and sets a voltage dividing circuit in the SOC chip, and when the software system is started, the physical information acquisition module 202 detects a voltage dividing value of the peripheral device after passing through the voltage dividing circuit, and matches a voltage value range corresponding to the voltage dividing value, and the identification module 203 identifies the current peripheral device.
In an alternative embodiment, the voltage information is ID information.
In specific implementation, the following steps are as follows: in one case, when the software system is started, the ID of the current peripheral device can be identified according to the information of the current peripheral device, for example, the ID of the current peripheral device can be identified according to the address of the current peripheral device; in another case, the preset module 201 may pre-define the ID of each peripheral device and the corresponding relationship between the ID and the physical information and/or the information of the current peripheral device, and when the software system is started, the physical information obtaining module 202 may match the ID of the current peripheral device according to the obtained information of the current peripheral device and/or the physical information, and the identifying module 203 identifies the current peripheral device.
In an optional implementation manner, the physical information is combination information of at least two of GPIO combination information, ADC information, and ID information.
For example, the physical information of the touch screen of company a model is preset as follows: GPIO combined information is 101, ADC information is (V)1,V2) The ID information is 0x1, and the physical information of the touch screen of company B, model a, is: GPIO combined information is 111, ADC information is (V)2,V3) The physical information of the radio frequency front end of company B, model c, is: the GPIO combination information is 111, and the ID information is 0x 3. When the software system is started, the current physical information acquired by the physical information acquisition module 202 is: GPIO combined information is 111, and the voltage is located at (V)2,V3) The identification module 203 may then confirm that the identified current peripheral hardware is a B corporation a model touch screen.
In this embodiment, a new design system is provided, which can accurately identify multiple peripheral devices by generating the same software image file, and for a hardware system suitable for various different peripheral devices, reduce the number of image files issued to support different peripheral devices, and solve the problem of cost increase caused by multiple image files. Therefore, the labor cost of links such as software development, acceptance and maintenance is reduced under the condition of accurately identifying a plurality of peripheral devices.
Example 5
The present embodiment provides an electronic device, which may be represented in the form of a computing device (for example, may be a server device), and includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the software implementation method of the SOC chip in embodiment 1 or embodiment 2.
Fig. 3 shows a schematic diagram of a hardware structure of the present embodiment, and as shown in fig. 3, the electronic device 9 specifically includes:
at least one processor 91, at least one memory 92, and a bus 93 for connecting the various system components (including the processor 91 and the memory 92), wherein:
the bus 93 includes a data bus, an address bus, and a control bus.
Memory 92 includes volatile memory, such as Random Access Memory (RAM)921 and/or cache memory 922, and can further include Read Only Memory (ROM) 923.
Memory 92 also includes a program/utility 925 having a set (at least one) of program modules 924, such program modules 924 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The processor 91 executes various functional applications and data processing, such as a software implementation method of the SOC chip in embodiment 1 or embodiment 2 of the present invention, by running the computer program stored in the memory 92.
The electronic device 9 may further communicate with one or more external devices 94 (e.g., a keyboard, a pointing device, etc.). Such communication may be through an input/output (I/O) interface 95. Also, the electronic device 9 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 96. The network adapter 96 communicates with the other modules of the electronic device 9 via the bus 93. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 9, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module, according to embodiments of the application. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Example 6
The present embodiment provides a computer-readable storage medium on which a computer program is stored, the program implementing the steps of the software implementation method of the SOC chip in embodiment 1 or embodiment 2 when executed by a processor.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation, the present invention may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps of a software implementation method implementing the SOC chip in embodiment 1 or embodiment 2, when the program product is run on the terminal device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may be executed entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (12)

1. A software implementation method of an SOC chip is characterized by comprising the following steps:
presetting physical information corresponding to each peripheral device to obtain a corresponding relation, wherein the physical information comprises at least one of digital information, voltage information and ID information corresponding to the peripheral devices;
acquiring the physical information of a current peripheral device connected with the SOC chip to obtain current physical information;
identifying the current peripheral device according to the acquired current physical information of the current peripheral device and the corresponding relation;
and configuring the current peripheral device.
2. The software implementation method of the SOC chip of claim 1,
the physical information is information obtained by combining at least two kinds of information among the digital information, the voltage information, and the ID information.
3. The software implementation method of the SOC chip of claim 1 or 2, wherein the digital information is GPIO combined information;
and/or the presence of a gas in the gas,
the voltage information is ADC information.
4. The software implementation method of the SOC chip of claim 1, wherein the step of configuring the current peripheral device further comprises:
and starting the current peripheral device.
5. The software implementation method of the SOC chip of any one of claims 1, 2, and 4, wherein the peripheral device comprises at least one of a memory, a touch screen, a display module, a radio frequency front end, a camera module, and a fingerprint module.
6. A software implementation system of an SOC chip is characterized by comprising a preset module, a physical information acquisition module, an identification module and a configuration module;
the preset module is used for presetting physical information corresponding to each peripheral device to obtain a corresponding relation, and the physical information comprises at least one of digital information, voltage information and ID information corresponding to the peripheral devices;
the physical information acquisition module is used for acquiring the physical information of the current peripheral device connected with the SOC chip to obtain current physical information;
the identification module is used for identifying the current peripheral device according to the acquired current physical information of the current peripheral device and the corresponding relation;
the configuration module is used for configuring the current peripheral device.
7. The software-implemented system of SOC chip of claim 6, wherein,
the physical information is information obtained by combining at least two kinds of information among the digital information, the voltage information, and the ID information.
8. The software implementation system of the SOC chip of claim 6 or 7, wherein the digital information is GPIO combined information;
and/or the presence of a gas in the gas,
the voltage information is ADC information.
9. The software-implemented system of an SOC chip of claim 6, further comprising a startup module for starting up the current peripheral device;
the configuration module is also used for calling the starting module after the current peripheral device is configured.
10. The system of any one of claims 6, 7, and 9, wherein the peripheral device comprises at least one of a memory, a touch screen, a display module, a radio frequency front end, a camera module, and a fingerprint module.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements a software-implemented method of the SOC chip of any one of claims 1 to 5 when executing the computer program.
12. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the software-implemented method of an SOC chip of any one of claims 1 to 5.
CN202010544252.6A 2020-06-15 2020-06-15 Software implementation method and system of SOC (System on chip), electronic equipment and storage medium Pending CN111694610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010544252.6A CN111694610A (en) 2020-06-15 2020-06-15 Software implementation method and system of SOC (System on chip), electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010544252.6A CN111694610A (en) 2020-06-15 2020-06-15 Software implementation method and system of SOC (System on chip), electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111694610A true CN111694610A (en) 2020-09-22

Family

ID=72481196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010544252.6A Pending CN111694610A (en) 2020-06-15 2020-06-15 Software implementation method and system of SOC (System on chip), electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111694610A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485768A (en) * 2021-07-13 2021-10-08 湖南国科微电子股份有限公司 PHY parameter configuration device and SSD

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370202A (en) * 2008-09-03 2009-02-18 嘉兴闻泰通讯科技有限公司 Method for automatic recognition of different display devices by mobile phone
CN102685283A (en) * 2012-05-10 2012-09-19 华为终端有限公司 Device module identification method and device and mobile terminal

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101370202A (en) * 2008-09-03 2009-02-18 嘉兴闻泰通讯科技有限公司 Method for automatic recognition of different display devices by mobile phone
CN102685283A (en) * 2012-05-10 2012-09-19 华为终端有限公司 Device module identification method and device and mobile terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113485768A (en) * 2021-07-13 2021-10-08 湖南国科微电子股份有限公司 PHY parameter configuration device and SSD
CN113485768B (en) * 2021-07-13 2022-08-19 湖南国科微电子股份有限公司 PHY parameter configuration device and SSD

Similar Documents

Publication Publication Date Title
US10061596B2 (en) Systems and methods for loading firmware modules
US20170168872A1 (en) Task scheduling method and apparatus
US7822964B2 (en) Booting apparatus for booting a computer and method therefor and computer with a booting apparatus
US10459742B2 (en) System and method for operating system initiated firmware update via UEFI applications
CN111381859B (en) Hardware configuration method and system of communication equipment, electronic equipment and storage medium
CN113672340A (en) Incremental backup method, system and device of virtual machine and readable storage medium
CN111459629A (en) Azkaban-based project operation method and device and terminal equipment
US8086834B2 (en) System and method for populating a dedicated system service repository for an information handling system
CN111694610A (en) Software implementation method and system of SOC (System on chip), electronic equipment and storage medium
US10628151B2 (en) Systems and methods for usage driven determination of update criticality
US10809996B2 (en) Method and device for creating images of different installation and download software units
CN111258618A (en) File configuration method and device, computer equipment and storage medium
CN111694600B (en) Mirror image file design, chip operation method, system, device and medium
CN111726604A (en) Setting method and device of working mode data, terminal and readable storage medium
CN114116030A (en) Operating system running method and device, electronic equipment and storage medium
CN114117562A (en) Intelligent network card management method and device, electronic equipment and computer storage medium
CN110764837A (en) Method and device for starting equipment
CN110597536A (en) Software upgrading method, system and terminal equipment
CN111027104A (en) Method, device and mainboard for preventing loss of network card identification data
US11334342B1 (en) Updating firmware of unsupported devices
US11977562B2 (en) Knowledge base for correcting baseline for cluster scaling
CN113596244B (en) Method, system, equipment and storage medium for realizing shutdown alarm clock of intelligent terminal
CN112783699B (en) Method and device for starting emergency mode of community enterprise operating system
CN111562956B (en) Theme switching method and device for terminal, storage medium and electronic equipment
CN114115979A (en) Self-adaption method and system of configuration file, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200922