CN111694600B - Mirror image file design, chip operation method, system, device and medium - Google Patents

Mirror image file design, chip operation method, system, device and medium Download PDF

Info

Publication number
CN111694600B
CN111694600B CN202010544254.5A CN202010544254A CN111694600B CN 111694600 B CN111694600 B CN 111694600B CN 202010544254 A CN202010544254 A CN 202010544254A CN 111694600 B CN111694600 B CN 111694600B
Authority
CN
China
Prior art keywords
image file
modem
information
target
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010544254.5A
Other languages
Chinese (zh)
Other versions
CN111694600A (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.)
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 CN202010544254.5A priority Critical patent/CN111694600B/en
Publication of CN111694600A publication Critical patent/CN111694600A/en
Application granted granted Critical
Publication of CN111694600B publication Critical patent/CN111694600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/73Program documentation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M11/00Telephonic communication systems specially adapted for combination with other electrical systems
    • H04M11/06Simultaneous speech and data transmission, e.g. telegraphic transmission over the same conductors

Abstract

The invention discloses a method, a system, equipment and a medium for designing a mirror image file and operating a chip, wherein the method for designing comprises the following steps: presetting function identification information of different SOC chips; acquiring chip identification information of each SOC chip; acquiring equipment identification information of SOC chip peripheral equipment; distinguishing public function information and non-public function information corresponding to each SOC chip according to the function identification information; and generating a target Modem mirror image file according to the equipment identification information, the public function information and the non-public function information. The Modem image file designed by the invention can be provided for the common use of application layer software of a plurality of SOC chips, so that only one SOC chip needs to be subjected to the integrity test of a full network system, and other SOC chips can continue to use the test result, thereby effectively reducing the labor cost of software development, acceptance, development, maintenance and other links, and being capable of promoting the time of marketing of products in advance.

Description

Mirror image file design, chip operation method, system, device and medium
Technical Field
The invention relates to the technical field of product design, in particular to a method, a System, an electronic device and a storage medium for designing a Modem (Modem) image file, and operating a System On Chip (SOC) Chip.
Background
Consumer electronic systems are constantly being upgraded as the market continues to upgrade. For the field of cellular phones, each time a company pushes an SOC chip, a set of corresponding Modem software needs to be developed to generate a corresponding Modem image file, and an integrity test of the whole network system is performed on each Modem image file. If the company adopts the conventional operation to each SOC chip, the labor cost of the links of software development, acceptance, development and maintenance is increased a lot, and the time of the product on the market is influenced.
Disclosure of Invention
The invention aims to overcome the defects that each SOC chip corresponds to a set of corresponding Modem software in the prior art, so that the cost of links such as software development, acceptance, development and maintenance is increased and the like, and provides a Modem mirror image file design, an SOC chip operation method, an SOC chip operation system, electronic equipment and a storage medium.
The invention solves the technical problems through the following technical scheme:
the invention provides a method for designing a Modem mirror image file, which comprises the following steps:
presetting function identification information corresponding to different SOC chips;
acquiring chip identification information of each SOC chip;
acquiring the function identification information of the SOC chip and equipment identification information of peripheral equipment based on the chip identification information;
distinguishing public function information and non-public function information corresponding to each SOC chip according to the function identification information;
generating a target Modem mirror image file corresponding to application layer software according to the equipment identification information, the public function information and the non-public function information;
and the application layer software of different SOC chips corresponds to the same target Modem image file.
Preferably, the non-common function information includes at least one of TD (mobile 3G network) network communication function information, WCDMA (universal 3G network) network communication function information, CDMA2000 (telecommunication 3G network) network communication function information, TDD-LTE (time division duplex long term evolution technology) network communication function information, FDD-LTE (frequency division multiple access long term evolution technology) network communication function information, and GSM (global system for mobile communications) network communication function information.
Preferably, the peripheral device includes an RF (radio frequency) device and/or a PMIC (power management integrated circuit).
Preferably, the application layer software includes a Modem PS (Modem protocol stack) layer.
The invention also provides an operation method of the SOC chip, which is realized by adopting the design method of the Modem mirror image file, and comprises the following steps:
the application layer software acquires target information corresponding to the current SOC chip by calling a HAL (hardware abstraction layer) interface;
the target information comprises target chip identification information, target equipment identification information, target public function information and target non-public function information;
matching a sub Modem image file corresponding to the current SOC chip from the target Modem image file according to the target information;
and controlling the current SOC chip to operate according to the sub Modem mirror image file.
The invention also provides a system for designing the Modem mirror image file, which comprises the following components:
the presetting module is used for presetting function identification information corresponding to different SOC chips;
the first identification information acquisition module is used for acquiring the chip identification information of each SOC chip;
a second identification information obtaining module, configured to obtain the function identification information of the SOC chip and device identification information of a peripheral device based on the chip identification information;
the information distinguishing module is used for distinguishing public function information and non-public function information corresponding to each SOC chip according to the function identification information;
the target file generation module is used for generating a target Modem mirror image file corresponding to the application layer software according to the equipment identification information, the public function information and the non-public function information;
and the application layer software of different SOC chips corresponds to the same target Modem image file.
Preferably, the non-public function information includes at least one of TD network communication function information, WCDMA network communication function information, CDMA2000 network communication function information, TDD-LTE network communication function information, FDD-LTE network communication function information, and GSM network communication function information.
Preferably, the peripheral device comprises an RF device and/or a PMIC power management integrated circuit.
Preferably, the application layer software includes a Modem PS layer.
The invention also provides an operation system of the SOC chip, which is realized by adopting the design system of the Modem mirror image file, and comprises the following components:
the application layer software calls a HAL interface through the target information acquisition module to acquire target information corresponding to the current SOC chip;
the target information comprises target chip identification information, target equipment identification information, target public function information and target non-public function information;
the sub-file acquisition module is used for matching a sub-Modem image file corresponding to the current SOC chip from the target Modem image file according to the target information;
and the control operation module is used for controlling the current SOC chip to operate according to the sub Modem mirror image file.
The invention further 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 implements the method for designing the Modem image file or the SOC chip when executing the computer program.
The present invention also provides a computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of the method for designing a Modem image file described above, or implements the steps of the method for operating an SOC chip described above.
The positive progress effects of the invention are as follows:
in the invention, the designed Modem image file can be provided for the common use of application layer software of a plurality of SOC chips, namely, the same set of Modem image file is suitable for various different SOC products, so that the whole network type integrity test is only needed to be carried out on one SOC chip, and other SOC chips can continue to use the test result, thereby solving the problem of cost increase caused by adopting different Modem image files for different SOC chips, effectively reducing the labor cost of software development, acceptance, development, maintenance and other links, shortening the test time of other SOC chips, effectively avoiding the occurrence of the condition of influencing the push-out time of the product, and being capable of pushing out the time of the product in advance.
Drawings
Fig. 1 is a flowchart of a method for designing a Modem image file according to embodiment 1 of the present invention.
Fig. 2 is a flowchart of an operation method of the SOC chip according to embodiment 2 of the present invention.
Fig. 3 is a schematic diagram of the SOC chip according to embodiment 2 of the present invention before operation.
Fig. 4 is a schematic diagram of the SOC chip in embodiment 2 of the present invention after operation.
Fig. 5 is a block diagram of a system for designing a Modem image file according to embodiment 3 of the present invention.
Fig. 6 is a block diagram of an operating system of an SOC chip according to embodiment 4 of the present invention.
Fig. 7 is a schematic structural diagram of an electronic device for implementing a method for designing a Modem image file in embodiment 5 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the invention thereto.
Example 1
As shown in fig. 1, the method for designing a Modem image file of this embodiment includes:
s101, presetting function identification information corresponding to different SOC chips; the function identification information is used for representing various functions supported by the SOC chip, such as some SOC chips support TD and some SOC chips do not support TD; some SOC chips support WCDMA, and some SOC chips do not support WCDMA; some SOC chips support both TD and WCDMA, etc.
S102, acquiring chip identification information of each SOC chip; the CHIP ID CHIP identification information is information for distinguishing each SOC CHIP.
S103, acquiring function identification information of the SOC chip and equipment identification information of peripheral equipment based on the chip identification information;
the peripheral devices include, but are not limited to, RF devices, PMIC power management integrated circuits. The peripheral device is a device which is connected with the SOC chip and works in a matching way.
S104, distinguishing public function information and non-public function information corresponding to each SOC chip according to the function identification information;
wherein the common function information and the non-common function information are distinguished in that: the common function information is function information that each SOC chip has, and the non-common function information is function information that the SOC chip is functionally different from other SOC chips.
The non-public function information includes, but is not limited to, TD network communication function information, WCDMA network communication function information, CDMA2000 network communication function information, TDD-LTE network communication function information, FDD-LTE network communication function information, and GSM network communication function information.
In addition, codes corresponding to non-common function information must satisfy the characteristics of high cohesion and low coupling.
S105, generating a target Modem image file corresponding to the application layer software according to the equipment identification information, the public function information and the non-public function information;
the application layer software includes, but is not limited to, a Modem PS layer.
The application layer software of different SOC chips corresponds to the same target Modem image file, namely the target Modem image file has universality.
The target Modem image file can be formed by only one large Modem image file or can be formed by combining a plurality of small Modem image files.
The method for designing the Modem image files is provided, and the number of the Modem image files is reduced, so that the labor cost of links such as software development, acceptance, development and maintenance is reduced, products can be on the market in time, and the market competitive advantage of the products is improved.
In this embodiment, the designed Modem image file can be provided for application layer software of a plurality of SOC chips to be used together, that is, the same set of Modem image file is suitable for various SOC products, thereby realizing the universality of the Modem image file; therefore, only one SOC chip needs to be subjected to the integrity test of the whole network system, and other SOC chips can continue to use the test result, so that the problem of cost increase caused by the fact that different SOC chips adopt different Modem mirror image files is solved, the labor cost of links such as software development, acceptance, development and maintenance is effectively reduced, the test time of other SOC chips is shortened, the condition that the push-out time of a product is influenced is effectively avoided, and the time-to-market of the product can be pushed out in advance.
Example 2
The operation method of the SOC chip of this embodiment is implemented by the design method of the Modem image file of embodiment 1.
In the SOC chip of this embodiment, the bottom driver software includes all SOC drivers, and the platform software provides an HAL interface upward for abstracting the differences of the chips, that is, abstracting different SOC chips to distinguish the different SOC chips; the application layer software (such as a Modem PS layer) calls the HAL interface to avoid the coupling of codes related to the SOC chip; and the application layer software (such as a Modem PS layer) corresponds to the same target Modem image file in each SOC chip.
As shown in fig. 2, the operation method of the SOC chip of the present embodiment includes:
s201, acquiring target information corresponding to a current SOC (system on chip) by calling HAL (interrupt hold) interface by application layer software;
the target information comprises target chip identification information, target equipment identification information, target public function information and target non-public function information;
s202, matching a sub-Modem image file corresponding to the current SOC chip from the target Modem image file according to the target information;
and S203, controlling the current SOC chip to operate according to the sub Modem image file.
When the Modem system of the SOC chip is started, it is necessary to correctly identify chip identifier information of the current SOC chip, device identifier information of peripheral devices of the current SOC chip, and a non-common module required for loading (i.e., acquiring function information of the current SOC chip), and then match a sub-Modem image file corresponding to the current SOC chip from a target Modem image file according to the acquired relevant information, so as to control the Modem system of the current SOC chip to start and operate, and the performance of application layer software (such as a Modem PS layer) in each SOC chip is kept consistent.
The following is a detailed description with reference to examples:
as shown in fig. 3, the software frameworks correspond to each other from top to bottom: application layer software, HAL interface and PHY (port physical layer), where PHY corresponds to a plurality of SOC chips. The specific content of the HAL interface and the application layer software in the diagram, which is included by aiming at a plurality of SOC chips, can be determined and distinguished according to different SOC chips.
The figure shows that before a plurality of SOC chips run, the target Modem image file in the application layer software can support all functions corresponding to SOC _1, SOC _2, SOC _3 and SOC _ 4.
As shown in fig. 4, when the HAL interface is invoked to identify that the SOC chip to be currently operated is SOC _1, the sub-Modem image file corresponding to SOC _1 is matched from the target Modem image file, that is, the sub-Modem image file only supports all functions corresponding to SOC _ 1. At this time, the PHY only corresponds to SOC _1, and since SOC _1 does not support the CDMA2000 function, the sub Modem image file in the application layer software does not support the CDMA2000 function.
For the other SOC _2, SOC _3, and SOC _4, the performance of the application layer software in each SOC chip is kept consistent during the operation, and the implementation principle is similar to that described above, and therefore, the detailed description is omitted here.
In this embodiment, based on a designed Modem image file that can be provided for common use by application layer software of multiple SOC chips, the target information corresponding to the currently started and operated SOC chip is obtained by calling the HAL interface, so as to match a sub-Modem image file corresponding to the current SOC chip from the target Modem image file, and control the current SOC chip to operate according to the sub-Modem image file, thereby realizing that each SOC chip still normally operates based on the commonly used Modem image file.
Example 3
As shown in fig. 5, the system for designing a Modem image file of this embodiment includes a presetting module 1, a first identification information obtaining module 2, a second identification information obtaining module 3, an information distinguishing module 4, and a target file generating module 5.
The system comprises a presetting module 1, a judging module and a judging module, wherein the presetting module 1 is used for presetting function identification information corresponding to different SOC chips; the function identification information is used for representing various functions supported by the SOC chip, such as some SOC chips support TD and some SOC chips do not support TD; some SOC chips support WCDMA, and some SOC chips do not support WCDMA; some SOC chips support both TD and WCDMA, etc.
A first identification information obtaining module 2, configured to obtain chip identification information of each SOC chip; the CHIP ID CHIP identification information is information for distinguishing each SOC CHIP.
A second identification information obtaining module 3, configured to obtain function identification information of the SOC chip and device identification information of the peripheral device based on the chip identification information;
the peripheral devices include, but are not limited to, RF devices, PMIC power management integrated circuits. The peripheral device is a device which is connected with the SOC chip and works in a matching way.
The information distinguishing module 4 is used for distinguishing public function information and non-public function information corresponding to each SOC chip according to the function identification information;
wherein the common function information and the non-common function information are distinguished in that: the common function information is function information that each SOC chip has, and the non-common function information is function information that the SOC chip is functionally different from other SOC chips.
The non-public function information includes, but is not limited to, TD network communication function information, WCDMA network communication function information, CDMA2000 network communication function information, TDD-LTE network communication function information, FDD-LTE network communication function information, and GSM network communication function information.
In addition, codes corresponding to non-common function information must satisfy the characteristics of high cohesion and low coupling.
The target file generation module 5 is used for generating a target Modem image file corresponding to the application layer software according to the equipment identification information, the public function information and the non-public function information;
wherein, the application layer software includes but is not limited to a Modem PS layer;
the application layer software of different SOC chips corresponds to the same target Modem image file, namely the target Modem image file has universality.
The target Modem image file can be formed by only one larger Modem image file or a plurality of smaller Modem image files in a combined mode.
The method for designing the Modem image files is provided, and the number of the Modem image files is reduced, so that the labor cost of links such as software development, acceptance, development and maintenance is reduced, products can be on the market in time, and the market competitive advantage of the products is improved.
In this embodiment, the designed Modem image file can be provided for application layer software of a plurality of SOC chips to be used together, that is, the same set of Modem image file is suitable for various SOC products, thereby realizing the universality of the Modem image file; therefore, only one SOC chip needs to be subjected to the integrity test of the whole network system, and other SOC chips can continue to use the test result, so that the problem of cost increase caused by the fact that different SOC chips adopt different Modem mirror image files is solved, the labor cost of links such as software development, acceptance, development and maintenance is effectively reduced, the test time of other SOC chips is shortened, the condition that the push-out time of a product is influenced is effectively avoided, and the time-to-market of the product can be pushed out in advance.
Example 4
The operating system of the SOC chip of this embodiment is implemented by using the design system of the Modem image file of embodiment 3.
In the SOC chip of this embodiment, the bottom driver software includes all SOC drivers, and the platform software provides an HAL interface upward for abstracting the differences between the chips, that is, abstracting different SOC chips to distinguish the different SOC chips; the application layer software (such as a Modem PS layer) calls the HAL interface to avoid the coupling of codes related to the SOC chip; and the application layer software (such as a Modem PS layer) corresponds to the same target Modem image file in each SOC chip.
As shown in fig. 6, the operating system of the SOC chip of the present embodiment includes a target information acquisition module 6, a subfile acquisition module 7, and a control operation module 8.
The application layer software calls the HAL interface through the target information acquisition module 6 to acquire target information corresponding to the current SOC chip;
the target information comprises target chip identification information, target equipment identification information, target public function information and target non-public function information;
the subfile acquisition module 7 is used for matching a sub Modem image file corresponding to the current SOC chip from the target Modem image file according to the target information;
and the control operation module 8 is used for controlling the current SOC chip to operate according to the mirror image file of the sub Modem.
When the Modem system of the SOC chip is started, the chip identification information of the current SOC chip, the device identification information of the peripheral device of the current SOC chip, and the non-common module required for loading (i.e., acquiring the function information of the current SOC chip) need to be correctly identified, and then the sub-Modem image file corresponding to the current SOC chip is matched from the target Modem image file according to the acquired relevant information to control the Modem system of the current SOC chip to start and operate, and the performances of application layer software (such as a Modem PS layer) in each SOC chip are kept consistent.
The following is specifically illustrated by the examples:
as shown in fig. 3, the software frameworks correspond from top to bottom respectively: application layer software, HAL interface and PHY (port physical layer), where PHY corresponds to a plurality of SOC chips. Specific contents of the HAL interface and the application layer software in the diagram, which are included by aiming at the plurality of SOC chips, are determined and distinguished according to different SOC chips.
The figure shows that before a plurality of SOC chips run, the target Modem image file in the application layer software can support all functions corresponding to SOC _1, SOC _2, SOC _3 and SOC _ 4.
As shown in fig. 4, when the HAL interface is invoked to identify that the SOC chip to be currently operated is SOC _1, the sub-Modem image file corresponding to SOC _1 is matched from the target Modem image file, that is, the sub-Modem image file only supports all functions corresponding to SOC _ 1. At this time, the PHY only corresponds to SOC _1, and since SOC _1 does not support the CDMA2000 function, the sub Modem image file in the application layer software does not support the CDMA2000 function.
For the other SOC _2, SOC _3, and SOC _4, the performance of the application layer software in each SOC chip is kept consistent during the operation, and the implementation principle is similar to that described above, and therefore, the detailed description is omitted here.
In this embodiment, based on a designed Modem image file that can be provided for common use by application layer software of multiple SOC chips, the target information corresponding to the currently started and operated SOC chip is obtained by calling the HAL interface, so as to match a sub-Modem image file corresponding to the current SOC chip from the target Modem image file, and control the current SOC chip to operate according to the sub-Modem image file, thereby realizing that each SOC chip still normally operates based on the commonly used Modem image file.
Example 5
Fig. 7 is a schematic structural diagram of an electronic device according to embodiment 5 of the present invention. The electronic device comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, and the processor executes the program to realize the design method of the Modem image file in the embodiment 1. The electronic device 30 shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 7, the electronic device 30 may be embodied in the form of a general purpose computing device, which may be, for example, a server device. The components of the electronic device 30 may include, but are not limited to: the at least one processor 31, the at least one memory 32, and a bus 33 that couples various system components including the memory 32 and the processor 31.
The bus 33 includes a data bus, an address bus, and a control bus.
The memory 32 may include volatile memory, such as Random Access Memory (RAM) 321 and/or cache memory 322, and may further include Read Only Memory (ROM) 323.
Memory 32 may also include a program/utility 325 having a set (at least one) of program modules 324, such program modules 324 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 31 executes various functional applications and data processing, such as a method for designing a Modem image file in embodiment 1 of the present invention, by running a computer program stored in the memory 32.
The electronic device 30 may also communicate with one or more external devices 34 (e.g., keyboard, pointing device, etc.). Such communication may be through an input/output (I/O) interface 35. Also, model-generating device 30 may also 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 network adapter 36. As shown in FIG. 7, network adapter 36 communicates with the other modules of model-generating device 30 via bus 33. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the model-generating device 30, 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, to name a few.
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 functions of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. 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
Embodiment 6 of the present invention provides an electronic device, where the electronic device includes a memory, a processor, and a computer program that is stored in the memory and can be run on the processor, and the processor executes the computer program to implement the method for running the SOC chip in embodiment 2.
Example 7
The present embodiment provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor, implements the steps in the method for designing a Modem image file in embodiment 1.
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 manner, the present invention can also be implemented in the form of a program product, which includes program code for causing a terminal device to execute the steps in the method for designing a Modem image file in implementation example 1 when the program product runs 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 execute entirely on the user's device, partly on the user's device, as a stand-alone software package, partly on the user's device, partly on a remote device or entirely on the remote device.
Example 8
The present embodiment provides a computer-readable storage medium on which a computer program is stored, the program realizing the steps in the operating method of the SOC chip of embodiment 2 when executed by a processor.
More specific examples that may be employed by the readable storage medium 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 can also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps in the running method of the SOC chip implementing 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 execute 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 method for designing a Modem image file is characterized by comprising the following steps:
presetting function identification information corresponding to different SOC chips;
acquiring chip identification information of each SOC chip;
acquiring the function identification information of the SOC chip and equipment identification information of peripheral equipment based on the chip identification information;
distinguishing public function information and non-public function information corresponding to each SOC chip according to the function identification information;
generating a target Modem mirror image file corresponding to application layer software according to the equipment identification information, the public function information and the non-public function information;
and the application layer software of different SOC chips corresponds to the same target Modem image file.
2. The method for designing a Modem image file according to claim 1, wherein the non-common function information includes at least one of TD network communication function information, WCDMA network communication function information, CDMA2000 network communication function information, TDD-LTE network communication function information, FDD-LTE network communication function information, and GSM network communication function information.
3. The method of designing a Modem image file according to claim 1, wherein the peripheral device includes an RF device and/or a PMIC power management integrated circuit.
4. The method for designing a Modem image file according to claim 1, wherein said application layer software includes a Modem PS layer.
5. An operation method of an SOC chip, wherein the operation method is implemented by using the design method of a Modem image file according to any one of claims 1 to 4, and the operation method includes:
the application layer software acquires target information corresponding to the current SOC chip by calling the HAL interface;
the target information comprises target chip identification information, target equipment identification information, target public function information and target non-public function information;
matching a sub-Modem image file corresponding to the current SOC chip from the target Modem image file according to the target information;
and controlling the current SOC chip to operate according to the sub Modem mirror image file.
6. A system for designing a Modem image file, the system comprising:
the presetting module is used for presetting function identification information corresponding to different SOC chips;
the first identification information acquisition module is used for acquiring the chip identification information of each SOC chip;
a second identification information obtaining module, configured to obtain the function identification information of the SOC chip and device identification information of a peripheral device based on the chip identification information;
the information distinguishing module is used for distinguishing public function information and non-public function information corresponding to each SOC chip according to the function identification information;
the target file generation module is used for generating a target Modem mirror image file corresponding to the application layer software according to the equipment identification information, the public function information and the non-public function information;
and the application layer software of different SOC chips corresponds to the same target Modem image file.
7. The system for designing a Modem image file according to claim 6, wherein the non-common function information includes at least one of TD network communication function information, WCDMA network communication function information, CDMA2000 network communication function information, TDD-LTE network communication function information, FDD-LTE network communication function information, and GSM network communication function information.
8. The system for designing a Modem image file as claimed in claim 6, wherein the peripheral device includes an RF device and/or a PMIC power management integrated circuit.
9. The system for designing a Modem image file according to claim 6, wherein said application layer software includes a Modem PS layer.
10. An operating system of an SOC chip, wherein the operating system is implemented by using the design system of a Modem image file according to any one of claims 6 to 9, and the operating system includes:
the application layer software calls a HAL interface through the target information acquisition module to acquire target information corresponding to the current SOC chip;
the target information comprises target chip identification information, target equipment identification information, target public function information and target non-public function information;
the sub-file acquisition module is used for matching a sub-Modem image file corresponding to the current SOC chip from the target Modem image file according to the target information;
and the control operation module is used for controlling the current SOC chip to operate according to the sub Modem mirror image file.
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 method for designing a Modem image file according to any one of claims 1 to 4 when executing the computer program, or implements a method for operating an SOC chip according to claim 5.
12. A computer-readable storage medium, on which a computer program is stored, wherein the computer program, when executed by a processor, implements the steps of the method for designing a Modem image file according to any one of claims 1 to 4, or implements the steps of the method for operating an SOC chip according to claim 5.
CN202010544254.5A 2020-06-15 2020-06-15 Mirror image file design, chip operation method, system, device and medium Active CN111694600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010544254.5A CN111694600B (en) 2020-06-15 2020-06-15 Mirror image file design, chip operation method, system, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010544254.5A CN111694600B (en) 2020-06-15 2020-06-15 Mirror image file design, chip operation method, system, device and medium

Publications (2)

Publication Number Publication Date
CN111694600A CN111694600A (en) 2020-09-22
CN111694600B true CN111694600B (en) 2022-10-04

Family

ID=72481240

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010544254.5A Active CN111694600B (en) 2020-06-15 2020-06-15 Mirror image file design, chip operation method, system, device and medium

Country Status (1)

Country Link
CN (1) CN111694600B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115495159A (en) * 2022-11-14 2022-12-20 南京芯驰半导体科技有限公司 Chip multi-hardware domain starting method and device

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7418439B2 (en) * 2000-03-17 2008-08-26 Twin Peaks Software, Inc. Mirror file system
JP4672931B2 (en) * 2001-09-07 2011-04-20 株式会社日立製作所 Remote file sharing method, apparatus and system thereof
US20120257820A1 (en) * 2011-04-07 2012-10-11 Microsoft Corporation Image analysis tools
CN106648741A (en) * 2016-10-18 2017-05-10 广州视睿电子科技有限公司 Method and device for deploying application system
CN107729179B (en) * 2017-09-29 2020-07-28 烽火通信科技股份有限公司 System and method for realizing unified software mirror image based on different hardware of same processor
CN110764819B (en) * 2019-10-22 2022-05-17 福州汇思博信息技术有限公司 RF Card client method and system for communication terminal

Also Published As

Publication number Publication date
CN111694600A (en) 2020-09-22

Similar Documents

Publication Publication Date Title
US8719810B2 (en) Program upgrade system and method for over the air-capable mobile terminal
US20140325043A1 (en) Network Switching Method, Version Upgrade Method, and Terminal Device
WO2023124328A1 (en) Wireless communication module and function recovery method thereof, electronic device, and storage medium
CN110727581A (en) Collapse positioning method and electronic equipment
CN113032099A (en) Cloud computing node, file management method and device
CN111694600B (en) Mirror image file design, chip operation method, system, device and medium
WO2021018208A1 (en) Firmware upgrade method and apparatus, electronic device, and storage medium
CN112115105A (en) Service processing method, device and equipment
CN102736908B (en) System, the device and method of remotely located CMOS parameters
US20120137284A1 (en) Method for installing image file
CN100416448C (en) Computer system and its layout method
CN114116030A (en) Operating system running method and device, electronic equipment and storage medium
KR20040029089A (en) Device for use in a network environment
CN111694610A (en) Software implementation method and system of SOC (System on chip), electronic equipment and storage medium
CN111953753B (en) Communication device connection method, device, computer device and storage medium
US11468094B2 (en) Computer system and fault tolerance processing method thereof of image file
CN114238946B (en) Device management method, device, electronic device and computer-readable storage medium
CN116243994B (en) Driving loading method of storage device, operating system starting method and system
EP4202646A1 (en) Device tree repair method and system, and computer-readable storage medium
US11392493B2 (en) System and method for optimizing non-volatile random access memory usage
CN114706635A (en) Application program logic processing method, device and equipment
CN108897561B (en) Data storage method and storage system
CN114020353A (en) Bypass unloading method and device, computer equipment and storage medium
CN115756663A (en) Method, system, device, medium and chip for initializing program module
CN114297044A (en) Method and device for storing BIOS log of electronic device

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
GR01 Patent grant
GR01 Patent grant