CN112162759B - Loading method and system of radio frequency software board card, electronic equipment and storage medium - Google Patents

Loading method and system of radio frequency software board card, electronic equipment and storage medium Download PDF

Info

Publication number
CN112162759B
CN112162759B CN202011051636.0A CN202011051636A CN112162759B CN 112162759 B CN112162759 B CN 112162759B CN 202011051636 A CN202011051636 A CN 202011051636A CN 112162759 B CN112162759 B CN 112162759B
Authority
CN
China
Prior art keywords
radio frequency
loading
software board
board card
frequency software
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
CN202011051636.0A
Other languages
Chinese (zh)
Other versions
CN112162759A (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.)
Quectel Wireless Solutions Co Ltd
Original Assignee
Quectel Wireless Solutions 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 Quectel Wireless Solutions Co Ltd filed Critical Quectel Wireless Solutions Co Ltd
Priority to CN202011051636.0A priority Critical patent/CN112162759B/en
Publication of CN112162759A publication Critical patent/CN112162759A/en
Application granted granted Critical
Publication of CN112162759B publication Critical patent/CN112162759B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

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

Abstract

The invention discloses a loading method, a system, electronic equipment and a storage medium of a radio frequency software board card, wherein the method comprises the steps of obtaining a first radio frequency software board card; scanning all physical devices in the current radio frequency hardware to obtain a first physical device list; checking whether each physical device matched with the first radio frequency software board card exists in the first physical device list one by one, if not, storing all the physical devices which do not exist, and generating a loading fault item table; obtaining a fault tolerance list; and judging whether all physical devices in the loaded fault item table exist in the fault tolerance list, and if so, loading the first radio frequency software board card. According to the invention, whether the radio frequency software board card is loaded or not is judged by checking whether each physical device matched with the radio frequency software board card exists in the physical device list of the current radio frequency hardware, generating and comparing the loading fault item list and the fault tolerance list, and the problem of error caused by different performances of the radio frequency hardware in a special scene is solved.

Description

Loading method and system of radio frequency software board card, electronic equipment and storage medium
Technical Field
The present invention relates to wireless communication systems, and in particular, to a method and system for loading a radio frequency software board card, an electronic device, and a storage medium.
Background
At present, the internet of things module is widely applied to the field of intelligent home, for example, in order to realize the intellectualization of an air conditioner, the internet of things module is arranged inside the air conditioner. On the market, a part of the internet of things modules are internally provided with a high-pass chip, firmware is burned in the high-pass chip, and the firmware comprises a radio frequency software board card.
The internet of things module adopting the high-pass chip generally adopts a loading strategy based on the high-pass platform radio frequency software board to load the radio frequency software board, namely adopts a Flash mark code to realize the loading of the specified radio frequency software board. The specific mode of adopting the Flash (a storage chip) marking code is that after the radio frequency software board is compiled, the supporting capacity of all radio frequency software boards is generated, when the module is started, according to the loading strategy of the radio frequency software board of a high-pass platform, the radio frequency card NV ID (an identification code of the radio frequency software board) is read, the radio frequency software board with the memory starting specified ID is applied for loading, after the loading is completed, the unused radio frequency software board is unmapped, and the memory of the unused radio frequency software board is recovered.
When the radio frequency hardware is in a severe environment or in a special debugging scene, the performance of the radio frequency hardware is different, if a radio frequency software board card loading strategy of a high-pass platform is adopted, loading failure often occurs, and therefore the whole machine cannot be used, for example, the air conditioner is taken as an example, and the air conditioner cannot be normally used because the radio frequency hardware fails to load the radio frequency software board card.
If the software version of the radio frequency software board card in the high-pass platform is wrongly burned or the FLASH ID (an identification code of a memory chip) value of the radio frequency software board card is wrongly written, if a strategy of loading radio frequency hardware by adopting the radio frequency software board card of the high-pass platform is adopted, loading failure often occurs, for example, the air conditioner is still taken as an example, and if the software version of the radio frequency software board card in the internet of things module in the air conditioner is wrongly burned, loading the radio frequency hardware by the radio frequency software board card can occur a phenomenon that the radio frequency hardware cannot be loaded; if the FLASH ID value of the radio frequency software board card in the internet of things module in the air conditioner is wrongly written, the radio frequency software board card to be loaded cannot be read, and then the radio frequency hardware cannot be loaded by the radio frequency software board card.
Disclosure of Invention
The invention aims to overcome the defect that a loading strategy of a radio frequency software board card of a high-pass platform in the prior art cannot meet different performance requirements of the same radio frequency hardware and provides a loading method, a loading system, electronic equipment and a storage medium of the radio frequency software board card.
The invention solves the technical problems by the following technical scheme:
the invention provides a loading method of a radio frequency software board card, which comprises the following steps:
s1, acquiring a first radio frequency software board card, wherein the first radio frequency software board card is a radio frequency software board card to be loaded;
s2, scanning all physical devices in the current radio frequency hardware to obtain a first physical device list;
s3, checking whether each physical device matched with the first radio frequency software board card exists in the first physical device list one by one, and if not, storing all the physical devices which do not exist, and generating a loading fault item table;
s4, obtaining a fault tolerance list;
s5, judging whether the physical devices in the loading fault project table are all in the fault tolerance list, and if yes, loading the first radio frequency software board card.
Before loading the radio frequency software board card to be loaded, the method and the device check whether each physical device matched with the radio frequency software board card exists in a physical device list of the current radio frequency hardware which is actually scanned, if not, a loading fault item list is generated, whether the radio frequency software board card is loaded is judged by comparing the loading fault item list with a fault tolerance list, and the requirement that the radio frequency software board card is loaded when the radio frequency software board card loading strategy of the high-pass platform cannot meet different performance requirements of the same radio frequency hardware is avoided, so that the problem that loading errors occur in loading the radio frequency software board card due to different performance of the radio frequency hardware under special scenes is solved.
Preferably, the method further comprises the following steps before step S1:
reading a radio frequency board card ID stored in Flash, if the radio frequency board card ID is read, acquiring the first radio frequency software board card according to the read radio frequency board card ID, and if the radio frequency software board card ID is not read, executing the following steps:
t1, scanning current radio frequency hardware based on a loading strategy of a high-pass platform, and generating a performance characteristic table of the current radio frequency hardware as a first performance characteristic table;
selecting the radio frequency software board card matched with the first performance characteristic table from all the supported radio frequency software board cards as a second radio frequency software board card;
and T3, loading the second radio frequency software board card.
According to the scheme, whether the physical device list of the current radio frequency hardware is a subset of the hardware matched with the radio frequency software board card is judged, if not, the current radio frequency hardware is scanned based on the loading strategy of the high-pass platform, a performance characteristic table of the current radio frequency hardware is generated, and the radio frequency software board card matched with the performance characteristic table is selected from all the supported radio frequency software board cards to serve as the radio frequency software board card to be loaded. The radio frequency software board card can be loaded successfully when the program is wrongly burned, so that the problem that the loaded radio frequency software board card fails to be loaded when the program is wrongly burned is solved.
Preferably, the following steps are further included between steps S2 and S3:
and judging whether each physical device matched with the first physical device list and the first radio frequency software board card is consistent, if not, judging whether the first physical device list is a subset of hardware matched with the first radio frequency software board card, if so, executing the step S3, and if not, executing the step T1.
In the scheme, the current radio frequency hardware is scanned through a loading strategy based on the high-pass platform, a performance characteristic table of the current radio frequency hardware is generated, and the radio frequency software board matched with the performance characteristic table is selected from all the supported radio frequency software boards to serve as the radio frequency software board to be loaded, so that the radio frequency software board FLASH ID value can be loaded successfully under the condition of wrong writing, and the problem of failure in writing and loading the radio frequency software board FLASH ID value is solved.
Preferably, the loading method of the radio frequency software board card further comprises the following steps:
generating a loading error code when the physical device in the loading fault item table does not exist in the fault tolerance list;
and reporting the loading error code.
In the scheme, when the physical device in the loading fault item table is judged not to exist in the fault tolerance list, a loading error code is generated, and the loading error code is reported, so that a user can know the loading condition.
Preferably, the fault tolerance list includes a device number, a device ID, and a device function code.
The invention also provides a loading system of the radio frequency software board card, which comprises:
the first acquisition module is used for acquiring a first radio frequency software board card, wherein the first radio frequency software board card is a radio frequency software board card to be loaded;
the scanning module is used for scanning all physical devices in the current radio frequency hardware to obtain a first physical device list;
the checking module is used for checking whether each physical device matched with the first radio frequency software board card exists in the first physical device list one by one, and if not, storing all the physical devices which do not exist, and generating a loading fault item table;
the second acquisition module is used for acquiring the fault tolerance list;
the first judging module is used for judging whether the physical devices in the loading fault item table are all in the fault tolerance list, and if yes, loading the first radio frequency software board card.
Preferably, the loading system of the radio frequency software board card further comprises an ID reading module, a first generating module, a selecting module and a loading module;
the ID reading module is used for reading the radio frequency board ID stored in the Flash before the first acquisition module is called, if the radio frequency board ID is read, the first acquisition module is called according to the read radio frequency board ID, and if the radio frequency board ID is not read, the first generation module is called;
the first generation module is used for scanning current radio frequency hardware based on a loading strategy of the high-pass platform, generating a performance characteristic table of the current radio frequency hardware, taking the performance characteristic table as a first performance characteristic table, and calling the selection module;
the selecting module is used for selecting the radio frequency software board card matched with the first performance characteristic table from all the supported radio frequency software board cards as a second radio frequency software board card, and calling the loading module;
the loading module is used for loading the second radio frequency software board card.
Preferably, the loading system of the radio frequency software board card further comprises:
and the second judging module is used for judging whether each physical device matched with the first radio frequency software board is consistent with the first physical device list after the scanning module is called and before the checking module is called, if not, judging whether the first physical device list is a subset of hardware matched with the first radio frequency software board, if yes, calling the checking module, and if not, calling the first generating module.
Preferably, the loading system of the radio frequency software board card further comprises:
the second generation module is used for generating a loading error code when the physical device in the loading fault item table does not exist in the fault tolerance list;
and the reporting module is used for reporting the loading error code.
Preferably, the fault tolerance list includes a device number, a device ID, and a device function code.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and capable of running on the processor, wherein the loading method of the radio frequency software board card is realized when the processor executes the computer program.
The present invention also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of loading a radio frequency software board as described above.
The invention has the positive progress effects that:
before loading the radio frequency software board card to be loaded, the invention checks whether each physical device matched with the radio frequency software board card exists in the physical device list of the current radio frequency hardware which is actually scanned, if not, a loading fault item table is generated, and whether the radio frequency software board card is loaded is judged by comparing the loading fault item table with the fault tolerance table, so that the requirement of loading the radio frequency software board card when the radio frequency software board card loading strategy of the high-pass platform cannot meet the different performance requirements of the same radio frequency hardware is avoided, and the problem of loading errors of the radio frequency software board card is solved due to different performance of the radio frequency hardware in a special scene.
Drawings
Fig. 1 is a flowchart of a loading method of a radio frequency software board card in embodiment 1 of the present invention.
Fig. 2 is a flowchart of a loading method of a radio frequency software board card in embodiment 2 of the present invention.
Fig. 3 is a flowchart of a loading method of a radio frequency software board card in embodiment 3 of the present invention.
Fig. 4 is a schematic block diagram of a loading system of a radio frequency software board card according to embodiment 4 of the present invention.
Fig. 5 is a schematic structural diagram of an electronic device in embodiment 5 of the present invention.
Detailed Description
The invention is further illustrated by means of the following examples, which are not intended to limit the scope of the invention.
Example 1
As shown in fig. 1, this embodiment discloses a loading method of a radio frequency software board, where the loading method of the radio frequency software board includes:
s101, reading a radio frequency board ID stored in Flash;
step S102, judging whether the radio frequency board ID is read, if yes, executing step S103, and if not, performing exception handling;
step S103, acquiring a first radio frequency software board card according to the read radio frequency board card ID;
step S104, scanning all physical devices in the current radio frequency hardware to obtain a first physical device list;
in this embodiment, the current rf hardware is an interface function of a high-pass-based scanning hardware device, and newly added triggers autonomously define a secondary scanning opportunity, for example, failure occurs in high-normal scanning, automatic adaptation is completed by a scanning physical device, and the like;
step S105, judging whether each physical device matched with the first physical device list and the first radio frequency software board card is consistent, if not, executing step S106, and if so, executing step S111;
step S106, judging whether the first physical device list is a subset of hardware matched with the first radio frequency software board card; if yes, go to step S107; if not, carrying out exception handling;
step S107, checking whether each physical device matched with the first radio frequency software board exists in the first physical device list one by one, and if not, executing step S108; if yes, go to step S111;
step S108, storing all the physical devices which do not exist, and generating a loading fault project table;
step S109, obtaining a fault-tolerant list; in this embodiment, the fault tolerance list includes a device number, a device ID, and a device function code. The fault tolerance list eliminates and optimizes the problem of software radio frequency control card loading failure caused by local hardware faults or acceptable hardware faults;
step S110, judging whether all physical devices in the loaded fault project table exist in a fault tolerance list or not; if yes, go to step S111; if not, executing step S112;
step S111, loading a first radio frequency software board card; ending the flow;
step S112, generating a loading error code;
step S113, reporting the loading error code; the flow ends.
The embodiment provides a loading method of a radio frequency software board, before loading the radio frequency software board to be loaded, by checking whether each physical device matched with the radio frequency software board exists in a physical device list of current radio frequency hardware which is actually scanned, if not, generating a loading fault item table, judging whether to load the radio frequency software board by comparing the loading fault item table with a fault tolerance list, and avoiding the requirement of loading the radio frequency software board when the loading strategy of the radio frequency software board of a high-pass platform cannot meet the different performance requirements of the same radio frequency hardware, thereby solving the problem of loading errors of the loaded radio frequency software board caused by different performance of the radio frequency hardware in a special scene.
Example 2
As shown in fig. 2, this embodiment discloses a loading method of a radio frequency software board, where the loading method of the radio frequency software board includes:
step S201, reading a radio frequency board ID stored in Flash;
step S202, judging whether the radio frequency board ID is read, if yes, executing step S203; if not, carrying out exception handling;
step S203, a first radio frequency software board card is obtained according to the read radio frequency board card ID; the first radio frequency software board card is a radio frequency software board card to be loaded;
step S204, scanning all physical devices in the current radio frequency hardware to obtain a first physical device list;
step S205, judging whether each physical device matched with the first physical device list and the first radio frequency software board card is consistent, if yes, executing step S206; if not, executing step S209;
step S206, judging whether the first physical device list is a subset of hardware matched with the first radio frequency software board card; if not, executing step S207; if yes, go to step S209;
step S207, scanning current radio frequency hardware based on a loading strategy of a high-pass platform, and generating a performance characteristic table of the current radio frequency hardware as a first performance characteristic table;
step S208, selecting the radio frequency software board card matched with the first performance characteristic table from all the supported radio frequency software boards as a second radio frequency software board card;
step S209, loading a second radio frequency software board card;
step S210, scanning all physical devices in the current radio frequency hardware to obtain a first physical device list;
step S211, checking whether each physical device matched with the second radio frequency software board exists in the first physical device list one by one, and if not, executing step S212; if yes, go to step S215;
step S212, storing all the physical devices which do not exist, and generating a loading fault project table;
step S213, obtaining a fault-tolerant list; in this embodiment, the fault tolerance list includes a device number, a device ID, and a device function code;
step S214, judging whether all physical devices in the loaded fault project table exist in the fault tolerance list, if yes, executing step S215; if not, executing step S216;
step S215, loading a second radio frequency software board card; ending the flow;
step S216, generating a loading error code;
step S217, reporting the loading error code; the flow ends.
According to the loading method of the radio frequency software board card, whether the physical device list of the current radio frequency hardware is a subset of the hardware matched with the radio frequency software board card is judged, if not, the current radio frequency hardware is scanned based on the loading strategy of the high-pass platform, a performance characteristic table of the current radio frequency hardware is generated, and the radio frequency software board card matched with the performance characteristic table is selected from all the supported radio frequency software board cards to serve as the radio frequency software board card to be loaded. The radio frequency software board card can be loaded successfully when the program is wrongly burned, so that the problem that the loaded radio frequency software board card fails to be loaded when the program is wrongly burned is solved.
Example 3
As shown in fig. 3, this embodiment discloses a loading method of a radio frequency software board, where the loading method of the radio frequency software board includes:
step S301, reading a radio frequency board ID stored in Flash;
step S302, judging whether the radio frequency board ID is read, if not, executing step S303; if yes, loading a radio frequency software board card;
step S303, scanning current radio frequency hardware based on a loading strategy of a high-pass platform, and generating a performance characteristic table of the current radio frequency hardware as a first performance characteristic table;
step S304, selecting the radio frequency software board card matched with the first performance characteristic table from all the supported radio frequency software boards as a second radio frequency software board card;
in this embodiment, the steps for generating all the supported radio frequency software boards are as follows: firstly, selecting one radio frequency software board card in a group of high-pass recommended radio frequency software boards to edit and adapt to hardware; then, compiling the whole board card group to generate independent and All related board card images in the group, namely All board card supporting capability;
step S305, loading a second radio frequency software board card;
step S306, scanning all physical devices in the current radio frequency hardware to obtain a first physical device list;
step S307, checking whether each physical device matched with the second radio frequency software board exists in the first physical device list one by one, if not, executing step S308; if yes, go to step S311;
step S308, storing all the physical devices which do not exist, and generating a loading fault project table;
step S309, obtaining a fault tolerance list; in this embodiment, the fault tolerance list includes a device number, a device ID, and a device function code;
step S310, judging whether all physical devices in the loaded fault project table exist in the fault tolerance list, if yes, executing step S311; if not, executing step S312;
in the embodiment, the fault tolerance list eliminates and optimizes the problem of software radio frequency control card loading failure caused by local hardware faults or acceptable hardware faults;
step S311, loading a second radio frequency software board card; the flow ends;
step S312, generating a loading error code;
step S313, reporting the loading error code; the flow ends.
According to the loading method of the radio frequency software board card, the current radio frequency hardware is scanned based on the loading strategy of the high-pass platform, the performance characteristic table of the current radio frequency hardware is generated, the radio frequency software board card matched with the performance characteristic table is selected from all the supported radio frequency software board cards to serve as the radio frequency software board card to be loaded, so that the radio frequency software board card can be loaded successfully under the condition that the FLASH ID value of the radio frequency software board card is wrongly written, and the problem of failure in writing and loading the FLASH ID value of the radio frequency software board card is solved.
Example 4
As shown in fig. 4, the embodiment discloses a loading system of a radio frequency software board, which comprises an ID reading module 1, a first generating module 2, a selecting module 3, a loading module 4, a first obtaining module 5, a second judging module 6, a scanning module 7, an inspection module 8, a second obtaining module 9, a first judging module 10, a second generating module 11 and a reporting module 12.
The ID reading module 1 is used for reading the radio frequency board ID stored in the Flash, if the read radio frequency board ID is read, the first acquisition module 5 is called according to the read radio frequency board ID, and if the read radio frequency board ID is not read, the first generation module 2 is called;
the first generating module 2 is used for scanning current radio frequency hardware based on a loading strategy of the high-pass platform, generating a performance characteristic table of the current radio frequency hardware, taking the performance characteristic table as a first performance characteristic table, and calling the selecting module 3;
the selecting module 3 is used for selecting a radio frequency software board card matched with the first performance characteristic table from all the supported radio frequency software boards as a second radio frequency software board card, and calling the loading module 4;
the loading module 4 is used for loading a second radio frequency software board card; the loading is completed.
In this embodiment, all supported radio frequency software boards may be generated as follows: firstly, selecting one radio frequency software board card in a group of high-pass recommended radio frequency software boards to edit and adapt to hardware; then, compiling the whole board card group to generate independent and All related board card images in the group, namely All board card supporting capability;
the first obtaining module 5 is configured to obtain a first radio frequency software board, where the first radio frequency software board is a radio frequency software board to be loaded, and call the second judging module 6;
the second judging module 6 is configured to judge whether each physical device adapted to the first physical device list and the first radio frequency software board card is consistent, if not, judge whether the first physical device list is a subset of hardware adapted to the first radio frequency software board card, if yes, call the checking module 8, and if not, call the first generating module 2;
in this embodiment, the current rf hardware is an interface function of a high-pass-based scanning hardware device, and newly added triggers autonomously define a secondary scanning opportunity, for example, failure occurs in high-normal scanning, automatic adaptation is completed by a scanning physical device, and the like;
the scanning module 7 is used for scanning all physical devices in the current radio frequency hardware to obtain a first physical device list, and calling the checking module 8;
the checking module 8 is configured to check whether each physical device adapted to the first radio frequency software board card exists in the first physical device list one by one, and if not, save all the physical devices that do not exist, generate a loading fault item table, and call the second obtaining module 9;
the second obtaining module 9 is used for obtaining a fault tolerance list; in this embodiment, the fault tolerance list includes a device number, a device ID, and a device function code. The fault tolerance list eliminates and optimizes the problem of software radio frequency control card loading failure caused by local hardware faults or acceptable hardware faults, and calls the first judging module 10;
the first judging module 10 is configured to judge whether the physical devices in the loaded fault project table are all in the fault tolerance list, if yes, load the first radio frequency software board card, and call the second generating module 11;
the second generating module 11 is configured to generate a loading error code and call the reporting module 12 when the physical device in the loading fault item table does not exist in the fault tolerance list;
the reporting module 12 is configured to report the loading error code, and loading ends.
According to the loading system of the radio frequency software board card, provided by the embodiment, whether each physical device matched with the radio frequency software board card exists in the physical device list of the current radio frequency hardware is checked, if not, a loading fault item table is generated, whether the radio frequency software board card is loaded is judged by comparing the loading fault item table with the fault tolerance list, and the problem that the loading error occurs when the loading strategy of the radio frequency software board card of the high-pass platform cannot meet different performance requirements of the same radio frequency hardware is avoided, so that the problem that the loading error occurs when the radio frequency software board card is loaded due to different performances of the radio frequency hardware in a special scene is solved. Meanwhile, the loading system of the radio frequency software board card also scans the current radio frequency hardware based on the loading strategy of the high-pass platform to generate a performance characteristic table of the current radio frequency hardware by judging whether a physical device list of the current radio frequency hardware is a subset of the hardware matched with the radio frequency software board card, and if not, selects the radio frequency software board card matched with the performance characteristic table from all the supported radio frequency software board cards as the radio frequency software board card to be loaded. The radio frequency software board card can be loaded successfully when the program is wrongly burned, so that the problem that the loaded radio frequency software board card fails to be loaded when the program is wrongly burned is solved. In addition, the loading system of the radio frequency software board card also scans the current radio frequency hardware through a loading strategy based on the high-pass platform to generate a performance characteristic table of the current radio frequency hardware, and selects the radio frequency software board card matched with the performance characteristic table from all the supported radio frequency software board cards as the radio frequency software board card to be loaded, so that the loading can be successfully carried out under the condition that the FLASH ID value of the radio frequency software board card is wrongly written, and the problem of failure in the writing and the loading of the FLASH ID value of the radio frequency software board card is solved.
Example 5
Fig. 5 is a schematic structural diagram of an electronic device according to embodiment 5 of the present invention. The electronic device includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the loading method of the radio frequency software board provided in any one of embodiments 1 to 3 when executing the program. The electronic device 60 shown in fig. 5 is merely an example and should not be construed as limiting the functionality and scope of use of embodiments of the present invention.
As shown in fig. 5, the electronic device 60 may be embodied in the form of a general purpose computing device, which may be a server device, for example. Components of electronic device 60 may include, but are not limited to: the at least one processor 61, the at least one memory 62, a bus 63 connecting the different system components, including the memory 62 and the processor 61.
The bus 63 includes a data bus, an address bus, and a control bus.
Memory 62 may include volatile memory such as Random Access Memory (RAM) 621 and/or cache memory 622, and may further include Read Only Memory (ROM) 623.
Memory 62 may also include a program/utility 625 having a set (at least one) of program modules 624, such program modules 624 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each or some combination of which may include an implementation of a network environment.
The processor 61 executes various functional applications and data processing, such as the loading method of the radio frequency software board provided in any one of embodiments 1 to 3 of the present invention, by running a computer program stored in the memory 62.
The electronic device 60 may also communicate with one or more external devices 64 (e.g., keyboard, pointing device, etc.). Such communication may occur through an input/output (I/O) interface 65. Also, the model-generating device 60 may also communicate with one or more networks, such as a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet, through a network adapter 66. As shown, the network adapter 66 communicates with other modules of the model-generating device 60 via the bus 63. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in connection with the model-generating device 60, including, but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, data backup storage systems, and the like.
It should be noted that although several units/modules or sub-units/modules of an electronic device are mentioned in the above detailed description, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more units/modules described above may be embodied in one unit/module in accordance with embodiments of the present invention. Conversely, the features and functions of one unit/module described above may be further divided into ones that are embodied by a plurality of units/modules.
Example 6
The present embodiment provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the loading method of the radio frequency software board provided in any one of embodiments 1 to 3.
More specifically, among others, readable storage media may be employed including, but not limited to: portable disk, 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 embodiment, the invention may also be implemented in the form of a program product comprising program code for causing a terminal device to carry out the steps of implementing the loading method of the radio frequency software board provided in any of embodiments 1 to 3, when said program product is run on the terminal device.
Wherein the program code for carrying out the invention may be written in any combination of one or more programming languages, which 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 the 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 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 principles and spirit of the invention, but such changes and modifications fall within the scope of the invention.

Claims (12)

1. The loading method of the radio frequency software board card is characterized by comprising the following steps of:
s1, acquiring a first radio frequency software board card, wherein the first radio frequency software board card is a radio frequency software board card to be loaded;
s2, scanning all physical devices in the current radio frequency hardware to obtain a first physical device list;
s3, checking whether each physical device matched with the first radio frequency software board card exists in the first physical device list one by one, and if not, storing all the physical devices which do not exist, and generating a loading fault item table;
s4, obtaining a fault tolerance list;
s5, judging whether the physical devices in the loading fault project table are all in the fault tolerance list, and if yes, loading the first radio frequency software board card.
2. The method for loading a radio frequency software board of claim 1,
the method further comprises the following steps before the step S1:
reading a radio frequency board card ID stored in Flash, if the radio frequency board card ID is read, acquiring the first radio frequency software board card according to the read radio frequency board card ID, and if the radio frequency software board card ID is not read, executing the following steps:
t1, scanning current radio frequency hardware based on a loading strategy of a high-pass platform, and generating a performance characteristic table of the current radio frequency hardware as a first performance characteristic table;
selecting the radio frequency software board card matched with the first performance characteristic table from all the supported radio frequency software board cards as a second radio frequency software board card;
and T3, loading the second radio frequency software board card.
3. The method for loading a radio frequency software board of claim 2,
the steps S2 and S3 further comprise the following steps:
and judging whether each physical device matched with the first physical device list and the first radio frequency software board card is consistent, if not, judging whether the first physical device list is a subset of hardware matched with the first radio frequency software board card, if so, executing the step S3, and if not, executing the step T1.
4. The method for loading a radio frequency software board according to claim 1, wherein the method for loading a radio frequency software board further comprises:
generating a loading error code when the physical device in the loading fault item table does not exist in the fault tolerance list;
and reporting the loading error code.
5. The method for loading a radio frequency software board according to any one of claims 1-4, wherein the fault tolerance list includes a device number, a device ID, and a device function code.
6. A loading system for a radio frequency software board, the loading system comprising:
the first acquisition module is used for acquiring a first radio frequency software board card, wherein the first radio frequency software board card is a radio frequency software board card to be loaded;
the scanning module is used for scanning all physical devices in the current radio frequency hardware to obtain a first physical device list;
the checking module is used for checking whether each physical device matched with the first radio frequency software board card exists in the first physical device list one by one, and if not, storing all the physical devices which do not exist, and generating a loading fault item table;
the second acquisition module is used for acquiring the fault tolerance list;
the first judging module is used for judging whether the physical devices in the loading fault item table are all in the fault tolerance list, and if yes, loading the first radio frequency software board card.
7. The loading system of the radio frequency software board according to claim 6, wherein the loading system of the radio frequency software board further comprises an ID reading module, a first generating module, a selecting module and a loading module;
the ID reading module is used for reading the radio frequency board ID stored in the Flash before the first acquisition module is called, if the radio frequency board ID is read, the first acquisition module is called according to the read radio frequency board ID, and if the radio frequency board ID is not read, the first generation module is called;
the first generation module is used for scanning current radio frequency hardware based on a loading strategy of the high-pass platform, generating a performance characteristic table of the current radio frequency hardware, taking the performance characteristic table as a first performance characteristic table, and calling the selection module;
the selecting module is used for selecting the radio frequency software board card matched with the first performance characteristic table from all the supported radio frequency software board cards as a second radio frequency software board card, and calling the loading module;
the loading module is used for loading the second radio frequency software board card.
8. The loading system of the radio frequency software board of claim 7, wherein the loading system of the radio frequency software board further comprises:
and the second judging module is used for judging whether each physical device matched with the first radio frequency software board is consistent with the first physical device list after the scanning module is called and before the checking module is called, if not, judging whether the first physical device list is a subset of hardware matched with the first radio frequency software board, if yes, calling the checking module, and if not, calling the first generating module.
9. The loading system of the radio frequency software board of claim 6, wherein the loading system of the radio frequency software board further comprises:
the second generation module is used for generating a loading error code when the physical device in the loading fault item table does not exist in the fault tolerance list;
and the reporting module is used for reporting the loading error code.
10. The loading system of a radio frequency software board according to any of claims 6-9, wherein the fault tolerance list includes device number, device ID, device function code.
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 the method of loading a radio frequency software board according to any one of claims 1 to 5 when the computer program is executed by the processor.
12. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the loading method of a radio frequency software board according to any one of claims 1 to 5.
CN202011051636.0A 2020-09-29 2020-09-29 Loading method and system of radio frequency software board card, electronic equipment and storage medium Active CN112162759B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011051636.0A CN112162759B (en) 2020-09-29 2020-09-29 Loading method and system of radio frequency software board card, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011051636.0A CN112162759B (en) 2020-09-29 2020-09-29 Loading method and system of radio frequency software board card, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112162759A CN112162759A (en) 2021-01-01
CN112162759B true CN112162759B (en) 2023-11-07

Family

ID=73862153

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011051636.0A Active CN112162759B (en) 2020-09-29 2020-09-29 Loading method and system of radio frequency software board card, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112162759B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017000860A1 (en) * 2015-06-30 2017-01-05 中兴通讯股份有限公司 Port capacity distribution method and device and switch service board
WO2019085910A1 (en) * 2017-10-30 2019-05-09 捷开通讯(深圳)有限公司 Communication terminal, communication test method, and storage medium
CN110764819A (en) * 2019-10-22 2020-02-07 福州汇思博信息技术有限公司 RF Card client method and system for communication terminal
CN110784879A (en) * 2019-10-31 2020-02-11 上海移远通信技术股份有限公司 Network mode switching test method, system, equipment and medium of communication module

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017000860A1 (en) * 2015-06-30 2017-01-05 中兴通讯股份有限公司 Port capacity distribution method and device and switch service board
WO2019085910A1 (en) * 2017-10-30 2019-05-09 捷开通讯(深圳)有限公司 Communication terminal, communication test method, and storage medium
CN110764819A (en) * 2019-10-22 2020-02-07 福州汇思博信息技术有限公司 RF Card client method and system for communication terminal
CN110784879A (en) * 2019-10-31 2020-02-11 上海移远通信技术股份有限公司 Network mode switching test method, system, equipment and medium of communication module

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
同时同频扰中通系统非线性干扰抑制;李晨兴等;《电子与信息学报》;第41卷(第09期);2033-2038 *

Also Published As

Publication number Publication date
CN112162759A (en) 2021-01-01

Similar Documents

Publication Publication Date Title
CN111881022A (en) Method, device and equipment for generating test case based on test scene
CN107832164A (en) A kind of method and device of the faulty hard disk processing based on Ceph
CN105144074A (en) Block storage using a hybrid memory device
CN103458086A (en) Smart phone and fault detection method thereof
CN114527857B (en) Multi-core system reset method, device, equipment and readable storage medium
CN108170456B (en) Firmware upgrading method and device for electronic equipment
CN112162759B (en) Loading method and system of radio frequency software board card, electronic equipment and storage medium
US9772892B2 (en) Recovery method for portable touch-control device and portable touch-control device using the same
US20210247901A1 (en) Sd card hot plugging identification method, sd card identification module and electronic device
CN114385418A (en) Protection method, device, equipment and storage medium for communication equipment
CN105824649A (en) Method and device for determining whether installation of driver application program is successful and electronic equipment
CN100394392C (en) Computer programe reduction-mode automatic starting control method and system
CN114333977A (en) Method and device for testing solid state disk, computer storage medium and terminal
CN115985382A (en) Flash memory test method, device, equipment and storage medium
CN116150111A (en) Method, device and medium for saving kernel crash log and electronic equipment
CN115422091A (en) Firmware debugging method and device, electronic equipment and storage medium
CN112631842B (en) System memory identification test method, system and electronic equipment
WO2021227926A1 (en) Method for restarting system, terminal and storage medium
CN110544504A (en) test method, system and equipment for memory ADDDC function
CN104751881A (en) flash memory burning method
CN117251116B (en) Erasing and writing method and device of nonvolatile memory
CN215264786U (en) Memory detection device
CN117472291B (en) Data block verification method and device, storage medium and electronic equipment
CN111124889B (en) ICOS system-based host Numa test method, system and equipment
CN110795297B (en) Electronic equipment testing method and 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