CN114125902A - WWAN equipment and configuration method, device and storage medium thereof - Google Patents
WWAN equipment and configuration method, device and storage medium thereof Download PDFInfo
- Publication number
- CN114125902A CN114125902A CN202111439675.2A CN202111439675A CN114125902A CN 114125902 A CN114125902 A CN 114125902A CN 202111439675 A CN202111439675 A CN 202111439675A CN 114125902 A CN114125902 A CN 114125902A
- Authority
- CN
- China
- Prior art keywords
- pcie
- configuration
- flash
- default
- preconfigured
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000006870 function Effects 0.000 claims abstract description 12
- 238000005192 partition Methods 0.000 claims description 18
- 238000004891 communication Methods 0.000 claims description 15
- 238000004590 computer program Methods 0.000 claims description 8
- 230000008569 process Effects 0.000 description 10
- 230000004048 modification Effects 0.000 description 4
- 238000012986 modification Methods 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000013500 data storage Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000011982 device technology Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012806 monitoring device Methods 0.000 description 1
- 238000012549 training Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/0816—Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The application provides a WWAN device and a configuration method, a configuration device and a storage medium thereof. The configuration method of the WWAN equipment comprises the following steps: after the equipment is started, configuring a default PCIE ID into a PCIE configuration space register; reading information stored in a FLASH (FLASH memory) by operating a preset bootstrap program; the preset bootstrap program comprises a reading function and a configuration function; and if a preconfigured PCIE ID is read in the FLASH, updating the default PCIE ID according to the preconfigured PCIE ID. The configuration method is used for improving the flexibility of PCIE ID configuration.
Description
Technical Field
The present application relates to the field of network device technologies, and in particular, to a WWAN device, and a configuration method, an apparatus, and a storage medium thereof.
Background
A WWAN (Wireless Wide Area Network) device may enable a terminal device to connect to the internet within a Network coverage Area. For example: the notebook may access the internet by installing a WWAN card to access the carrier cellular network.
PCIE ID (Peripheral Component Interface Express Identifier) is an identification of a PCIE device specified by PCIE standard (an Interface standard for Peripheral devices). The PCIE ID of the WWAN network card usually has a default value, and sometimes needs to be configured.
In the prior art, a PCIE ID is configured in a driver loading process through a driver code (driver boot program), but this configuration mode has a long latency and poor configuration flexibility.
Disclosure of Invention
An object of the present embodiment is to provide a WWAN device, a method, an apparatus, and a storage medium for configuring a PCIE ID, so as to improve flexibility of PCIE ID configuration.
In a first aspect, an embodiment of the present application provides a method for configuring a WWAN device, including: after the equipment is started, configuring a default PCIE ID into a PCIE configuration space register; reading information stored in a FLASH (FLASH memory) by operating a preset bootstrap program; the preset bootstrap program comprises a reading function and a configuration function; and if a preconfigured PCIE ID is read in the FLASH, updating the default PCIE ID according to the preconfigured PCIE ID.
In the embodiment of the present application, compared with the prior art, the configuration of the PCIE ID is realized by a preset bootstrap program, and on the one hand, the default PCIE ID is configured in the space register. On the other hand, a preset bootstrap program is used to read whether a pre-configured PCIE ID exists, and if so, the default PCIE ID is updated based on the pre-configured PCIE ID. By adopting the mode, if a user has a configuration requirement, the PCIE ID needing to be configured can be stored in the FLASH in advance, and automatic configuration can be realized in the starting process of the WWAN equipment; if the user has no configuration requirement, the configuration value is not written in the FLASH, and the WWAN device may also adopt a default value as the corresponding configuration value. Therefore, the configuration method can improve the flexibility of PCIE configuration.
As a possible implementation manner, the configuration method further includes: acquiring a configuration instruction transmitted by an upper computer; the configuration instruction comprises a PCIE ID to be configured; and storing the PCIE ID to be configured into the FLASH according to the configuration instruction.
In the embodiment of the application, the upper computer transmits the configuration instruction, and the PCIE ID to be configured is stored in the FLASH, so that the flexible configuration of the PCIE ID is realized.
As a possible implementation manner, the storing the PCIE ID to be configured to the FLASH according to the configuration instruction includes: and writing the PCIE ID to be configured into the appointed partition of the FLASH according to the configuration instruction.
In the embodiment of the application, the PCIE ID to be configured is written into the appointed partition, so that the configured PCIE ID is conveniently read in the starting process, and the starting efficiency and the configuration efficiency are improved.
As a possible implementation, the configuration instruction is an at (attention) instruction.
In the embodiment of the application, the configuration instruction of the upper computer is effectively issued through the AT instruction.
As a possible implementation manner, the updating the default PCIE ID according to the preconfigured PCIE ID includes: judging whether the pre-configured PCIE ID is consistent with the default PCIE ID or not; if not, the default PCIE ID is modified into the pre-configured PCIE ID.
In the embodiment of the present application, it is determined whether the preconfigured PCIE ID is consistent with the default PCIE ID, and if the preconfigured PCIE ID is inconsistent with the default PCIE ID, the default PCIE ID is modified to the preconfigured PCIE ID, so that flexible configuration of the PCIE ID is achieved.
As a possible implementation manner, the configuration method further includes: if so, the default PCIE ID is not modified.
In the embodiment of the present application, if the preconfigured PCIE ID is consistent with the default PCIE ID, the default PCIE ID does not need to be modified, so that flexible configuration of the PCIE ID is achieved.
As a possible implementation manner, the reading of the information stored in the FLASH by running a preset bootstrap program includes: and reading the information in the appointed partition of the FLASH by running a preset bootstrap program.
In this embodiment of the present application, the preconfigured PCIE ID may be stored in the designated partition of the FLASH, and further, by reading information of the designated partition, the preconfigured PCIE ID is accurately searched.
As a possible implementation manner, after the updating the default PCIE ID according to the preconfigured PCIE ID, the configuration method further includes: running UEFI (Unified Extensible Firmware Interface) program and Linux Kernel (Linux Kernel) program to complete the initialization of the device.
In the embodiment of the application, after the boot program is run, the initialization of the device is completed by running the UEFI program and the Linux Kernel program.
In a second aspect, an embodiment of the present application provides an apparatus for configuring a WWAN device, including: functional modules of the WWAN device configuring method described in the first aspect and any one of the possible implementations of the first aspect are implemented.
In a third aspect, an embodiment of the present application provides a WWAN device, including: a processor; a memory and a communication module communicatively coupled to the processor; the memory stores instructions executable by the processor to enable the processor to perform the method for configuring a WWAN device as described in the first aspect and any one of the possible implementations of the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a computer, the method for configuring a WWAN device described in the first aspect and any one of the possible implementations of the first aspect is performed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a flowchart of a configuration method of a WWAN device according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a configuration apparatus of a WWAN device according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a WWAN device according to an embodiment of the present disclosure.
Icon: 200-configuration means of a WWAN device; 210-a first configuration module; 220-a second configuration module; 300-a WWAN device; 310-a processor; 320-a memory; 330-communication module.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
The technical solution provided in the embodiment of the present application may be applied to configure a PCIE ID of a WWAN device, and therefore, a hardware operating environment corresponding to the technical solution is the WWAN device. WWAN equipment can be applied to notebook computers or other terminal equipment.
In the embodiments of the present application, the platform employed by the WWAN device may be a high-pass platform, or other platform. For a high-pass platform, in the startup phase of the device, the initialization process of the device includes: PBL (Primary Boot Loader), SBL (Secondary Boot Loader), UEFI, Linux Kernel, four-phase Boot programs.
The PBL is a program solidified in the chip of the device, and is used for initializing the device in an early stage, including initializing the PCIE bus, and the time required for execution does not exceed 100 milliseconds, so that the user cannot modify the code and configuration of the device.
The SBL is a boot procedure executed after the PBL is executed, and includes: power management module initialization, DDR (Double Data Rate) training, Flash initialization, and the like. The time required for execution does not exceed 500 milliseconds, and developers can add code at this stage to implement some configurations.
The UEFI program and the Linux Kernel program are other starting programs behind the bootstrap program, and can respectively realize the starting of interfaces, kernels, drivers and the like, so that the starting of the whole equipment is finally completed.
Based on the introduction of the application scenario, please refer to fig. 1, which is a flowchart of a configuration method of a WWAN device according to an embodiment of the present application, where the configuration method includes:
step 110: after the device is started, the default PCIE ID is configured to the PCIE configuration space register.
Step 120: and reading the information stored in the FLASH by running a preset bootstrap program.
Step 130: and if the pre-configured PCIE ID is read in the FLASH, updating the default PCIE ID according to the pre-configured PCIE ID.
In the embodiment of the present application, compared with the prior art, the configuration of the PCIE ID is implemented by using a preset bootstrap program, and on one hand, the default PCIE ID is configured in the space register first. On the other hand, a preset bootstrap program is used to read whether a pre-configured PCIE ID exists, and if so, the default PCIE ID is updated based on the pre-configured PCIE ID. By adopting the mode, if a user has a configuration requirement, the PCIE ID needing to be configured can be stored in the FLASH in advance, and automatic configuration can be realized in the starting process of the WWAN equipment; if the user has no configuration requirement, the configuration value is not written in the FLASH, and the WWAN device may also adopt a default value as the corresponding configuration value. Therefore, the configuration method can improve the flexibility of PCIE configuration.
A detailed embodiment of the configuration method will be described next.
In step 110, the booting of the device refers to booting after the device is powered on, where the device is a WWAN device.
As an alternative embodiment, step 110 includes: the default PCIE ID is configured into the PCIE configuration space register through a preset bootstrap (different from the bootstrap in step 120).
The boot program used in step 110 may be the PBL described in the foregoing embodiment, i.e., the first-stage boot program. As can be seen from the foregoing description, the code of the PBL is fixed and cannot be modified. Thus, by running the PBL, a default PCIE ID (i.e., a fixed PCIE ID) can be configured into a PCIE configuration space register.
In some embodiments, the default PCIE ID may also be configured into the configuration space register in other manners, for example: the configuration is performed by a start program before the first boot program, which is not limited in the embodiment of the present application.
After the configuration of the default PCIE ID is completed in step 110, a preset boot program is executed in step 120.
The preset boot program may be the SBL described in the foregoing embodiment, that is, the second-stage boot program, and after the second-stage boot program is run, the FLASH is also correspondingly started, and data reading, data storage, and the like may be performed on the FLASH. In the preset boot program, a read function and a configuration function may be included.
As can be seen from the foregoing description, the code of the SBL is configurable and modifiable by developers. Therefore, a developer can add a read function of the memory and a configuration function of the PCIE ID to implement the configuration of the PCIE ID.
It can be understood that, based on the configuration method provided in the embodiment of the present application, if the user has a configuration requirement of the PCIE ID, the PCIE ID that needs to be configured may be written into the FLASH in advance, and if the user does not have the configuration requirement of the PCIE, the PCIE ID that needs to be configured may not be written into the FLASH.
For example: different WWAN device manufacturers may use their PCIE IDs as PCIE IDs to be configured.
Furthermore, in step 120, it is necessary to read the information stored in the FLASH and determine whether there is a pre-configured PCIE ID therein.
As an optional implementation, the configuration process of the PCIE ID includes: acquiring a configuration instruction transmitted by an upper computer; the configuration instruction comprises a PCIE ID to be configured; and storing the PCIE ID to be configured into the FLASH according to the configuration instruction.
In this embodiment, the user can write the PCIE ID to be configured into the FLASH through the upper computer. During application, a user first establishes a connection between the WWAN device and the upper computer, for example: and establishing connection between the WWAN equipment and the upper computer through the communication connecting line.
After the connection is established, the upper computer sends the configuration instruction to the WWAN equipment, the WWAN equipment receives the configuration instruction, and the PCIE ID to be configured is written into the FLASH based on the configuration instruction.
As an optional implementation, the instruction transmitted between the upper computer and the WWAN device is an AT instruction.
In the embodiment of the application, the configuration instruction of the upper computer is effectively issued through the AT instruction.
Of course, in actual application, other executable configuration instructions may be adopted, and are not limited herein.
As an optional implementation manner, storing the PCIE ID to be configured in the FLASH according to the configuration instruction includes: and writing the PCIE ID to be configured into the appointed partition of the FLASH according to the configuration instruction.
In this embodiment, assuming that the FLASH has a plurality of data partitions, and different data partitions are used for storing data of different types or different sizes, etc., a data storage partition of a PCIE ID may be specified for the FLASH. Further, when storing the PCIE ID to be configured, it is written into the designated partition.
In the embodiment of the application, the PCIE ID to be configured is written into the appointed partition, so that the configured PCIE ID is conveniently read in the starting process, and the starting efficiency and the configuration efficiency are improved.
By combining the introduction of the implementation mode of the configuration process of the PCIE ID, it can be seen that the PCIE ID to be configured is stored in the FLASH by transmitting the configuration instruction through the upper computer, so that flexible configuration of the PCIE ID is realized.
In addition to the above mentioned configuration manner of PCIE IDs, as another optional implementation manner, during the use process of the WWAN device, the PCIE IDs may also be configured. Specifically, a remote management platform of an operator (a network operator, such as mobile, internet, etc.) configures the PCIE ID during the operation of the wireless network. That is, the remote management platform of the operator issues configuration information (configuration instruction) to the WWAN device. Correspondingly, a program for processing configuration information (configuration instruction) may be built in the WWAN device, and the program can process the delivered configuration information to implement the configuration of the PCIE ID.
Introduction to an embodiment based on the configuration of PCIE ID, as an optional embodiment, step 120 includes: and reading the information in the appointed partition of the FLASH by running a preset bootstrap program.
In this embodiment of the present application, the preconfigured PCIE ID may be stored in the designated partition of the FLASH, and further, by reading information of the designated partition, the preconfigured PCIE ID is accurately searched.
In step 120, after the information stored in the FLASH is read, if the preconfigured PCIE ID is not read, the subsequent other startup procedures are continuously executed, that is, the default PCIE ID is not modified.
If the preconfigured PCIE ID is read, step 130 is executed to update the default PCIE ID according to the preconfigured PCIE ID.
It is understood that the preconfigured PCIE ID may be the same as or different from the default PCIE ID. If the same is the case, no modification is required; if not, then a modification is required.
Thus, as an alternative embodiment, step 130 includes: judging whether the pre-configured PCIE ID is consistent with the default PCIE ID; if not, the default PCIE ID is modified into the pre-configured PCIE ID.
In this embodiment, the pre-configured PCIE ID is compared with the default PCIE ID, and if the two are completely the same, the two are the same; otherwise, the two are not consistent.
Further, if the two are not consistent, the default PCIE ID may be replaced with a preconfigured PCIE ID.
If the two are consistent, the default PCIE ID is not modified.
In the embodiment of the application, whether the pre-configured PCIE ID is consistent with the default PCIE ID is determined, and if the pre-configured PCIE ID is not consistent with the default PCIE ID, the default PCIE ID is modified to the pre-configured PCIE ID; if the pre-configured PCIE ID is consistent with the default PCIE ID, the default PCIE ID does not need to be modified, and the flexible configuration of the PCIE ID is realized.
After performing step 130, the WWAN device completes the first and second phases of booting, and may continue to complete the booting of the entire device through other booting procedures. Therefore, as an optional implementation, the method further comprises: and running a UEFI program and a Linux Kernel program to finish the initialization of the equipment.
The UEFI program and the Linux Kernel program have been described in the foregoing application scenarios, and are not repeated here.
In addition, by adopting the configuration method of the embodiment of the application, before the device is started each time, if the device is required, the PCIE ID can be preset, and after the device is restarted, the preset PCIE ID can be configured through a starting program, so that the flexibility is high.
Based on the same inventive concept, referring to fig. 2, an embodiment of the present application further provides an apparatus 200 for configuring a WWAN device, including: a first configuration module 210 and a second configuration module 220.
The first configuration module 210 is configured to configure a default PCIE ID into a PCIE configuration space register after the device is started. A second configuration module 220 for: reading information stored in the FLASH by running a preset bootstrap program; and if a preconfigured PCIE ID is read in the FLASH, updating the default PCIE ID according to the preconfigured PCIE ID.
In an embodiment of the present application, the second configuration module 220 is further configured to: acquiring a configuration instruction transmitted by an upper computer; the configuration instruction comprises a PCIE ID to be configured; and storing the PCIE ID to be configured into the FLASH according to the configuration instruction.
In this embodiment of the application, the second configuration module 220 is specifically configured to: and writing the PCIE ID to be configured into the appointed partition of the FLASH according to the configuration instruction.
In this embodiment of the application, the second configuration module 220 is specifically configured to: judging whether the pre-configured PCIE ID is consistent with the default PCIE ID or not; if not, the default PCIE ID is modified into the pre-configured PCIE ID.
In an embodiment of the present application, the second configuration module 220 is further configured to: if so, the default PCIE ID is not modified.
In an embodiment of the present application, the second configuration module 220 is further configured to: and reading the information in the appointed partition of the FLASH by running a preset bootstrap program.
In an embodiment of the present application, the second configuration module 220 is further configured to: and running a UEFI program and a Linux Kernel program to finish the initialization of the equipment.
The configuration apparatus of the WWAN device corresponds to the configuration method in the foregoing embodiment, and each functional module corresponds to each step, so the implementation of each functional module refers to the description in the foregoing embodiment, and will not be described again here.
Based on the same inventive concept, referring to fig. 3, an embodiment of the present application further provides a WWAN device 300, including: a processor 310, a memory 320, and a communication module 330. The WWAN device 300 may be configured to perform the configuration method described in the previous embodiments.
The processor 310, the memory 320 and the communication module 330 may be disposed in a device body, and the device body may correspond to different embodiments in different application scenarios, for example: different shapes, different sizes, different materials, etc., are not limited in the embodiments of the present application.
The processor 310, the memory 320, and the communication module 330 are electrically connected directly or indirectly to enable transmission or interaction of data. For example, electrical connections may be made through one or more communication or signal buses. The aforementioned configuration methods respectively include at least one software functional module that can be stored in the memory 320 in the form of software or firmware (firmware), for example, the software functional module or the computer program included in the configuration apparatus 200 of the WWAN device.
The processor 310 may be an integrated circuit chip having signal processing capabilities. The Processor 310 may be a general-purpose Processor including a CPU (Central Processing Unit), an NP (Network Processor), and the like; but may also be a digital signal processor, an application specific integrated circuit, an off-the-shelf programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components. Which may implement or perform the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 320 may store various software programs and modules, such as program instructions/modules corresponding to the WWAN device configuration method and apparatus provided in the embodiments of the present application. The processor 310 executes various functional applications and data processing by executing software programs and modules stored in the memory 320, that is, implements the method in the embodiment of the present application.
In the embodiment of the present application, the memory 320 is also used for storing configuration information and the like.
The Memory 320 may include, but is not limited to, a RAM (Random Access Memory), a ROM (Read Only Memory), a PROM (Programmable Read-Only Memory), an EPROM (Erasable Read-Only Memory), an EEPROM (electrically Erasable Read-Only Memory), and the like.
The communication module 330 is used for enabling communication between an external monitoring device (e.g., an upper computer) and the WWAN device 300, and the communication module 330 may be various interface modules, or a wireless communication module, etc.
It is understood that WWAN device 300 may also include more components than those shown in fig. 3, such as: power supply modules, etc., and fig. 3 is merely an example and does not limit the embodiments of the present application.
Based on the same inventive concept, embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a computer, the method for configuring the WWAN device 300 described in the foregoing embodiments is performed.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.
Claims (10)
1. A method for configuring a WWAN device, comprising:
after the equipment is started, configuring a default PCIE ID into a PCIE configuration space register;
reading information stored in the FLASH by running a preset bootstrap program; the preset bootstrap program comprises a reading function and a configuration function;
and if a preconfigured PCIE ID is read in the FLASH, updating the default PCIE ID according to the preconfigured PCIE ID.
2. The configuration method according to claim 1, further comprising:
acquiring a configuration instruction transmitted by an upper computer; the configuration instruction comprises a PCIE ID to be configured;
and storing the PCIE ID to be configured into the FLASH according to the configuration instruction.
3. The method according to claim 2, wherein the storing the PCIE ID to be configured to the FLASH according to the configuration instruction includes:
and writing the PCIE ID to be configured into the appointed partition of the FLASH according to the configuration instruction.
4. The method according to claim 2 or 3, wherein the configuration command is an AT command.
5. The method according to claim 1, wherein the updating the default PCIE ID according to the preconfigured PCIE ID comprises:
judging whether the pre-configured PCIE ID is consistent with the default PCIE ID or not;
if not, the default PCIE ID is modified into the pre-configured PCIE ID.
6. The configuration method according to claim 5, further comprising:
if so, the default PCIE ID is not modified.
7. The configuration method according to claim 1, wherein said reading the information stored in the FLASH by running a preset bootstrap program comprises:
and reading the information in the appointed partition of the FLASH by running a preset bootstrap program.
8. An apparatus for configuring a WWAN device, comprising:
the first configuration module is used for configuring a default PCIE ID into a PCIE configuration space register after the equipment is started;
a second configuration module to:
reading information stored in the FLASH by running a preset bootstrap program; the preset bootstrap program comprises a reading function and a configuration function;
and if a preconfigured PCIE ID is read in the FLASH, updating the default PCIE ID according to the preconfigured PCIE ID.
9. A WWAN device, comprising:
a processor; a memory and a communication module communicatively coupled to the processor; the memory stores instructions executable by the processor to enable the processor to perform the method of configuring the WWAN device of any one of claims 1-7.
10. A computer-readable storage medium, wherein the computer-readable storage medium stores thereon a computer program, and when the computer program is executed by a computer, the computer program performs the WWAN device configuring method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111439675.2A CN114125902A (en) | 2021-11-30 | 2021-11-30 | WWAN equipment and configuration method, device and storage medium thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111439675.2A CN114125902A (en) | 2021-11-30 | 2021-11-30 | WWAN equipment and configuration method, device and storage medium thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114125902A true CN114125902A (en) | 2022-03-01 |
Family
ID=80368411
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111439675.2A Pending CN114125902A (en) | 2021-11-30 | 2021-11-30 | WWAN equipment and configuration method, device and storage medium thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114125902A (en) |
Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102364891A (en) * | 2011-09-13 | 2012-02-29 | 杭州华三通信技术有限公司 | Method for upgrading software of embedded Ethernet equipment and embedded Ethernet equipment |
CN103186401A (en) * | 2011-12-31 | 2013-07-03 | 北京新媒传信科技有限公司 | Method for updating software system and configuration thereof |
CN103975304A (en) * | 2011-12-06 | 2014-08-06 | 高通股份有限公司 | Method and a portable computing device (pcd) for exposing a peripheral component interface express (pcie) coupled device to an operating system operable on the pcd |
CN104573573A (en) * | 2014-11-14 | 2015-04-29 | 深圳市芯海科技有限公司 | Data protection system and method for mobile storage |
CN105721357A (en) * | 2016-01-13 | 2016-06-29 | 华为技术有限公司 | Exchange device, and peripheral component interconnection express (PCIe) system and initialization method thereof |
CN106293807A (en) * | 2016-07-26 | 2017-01-04 | 中国航空工业集团公司西安飞行自动控制研究所 | A kind of Flash chip based on DSP guides loading method |
CN107733674A (en) * | 2016-08-12 | 2018-02-23 | 北京小米移动软件有限公司 | Component upgrade method and terminal |
CN108536450A (en) * | 2018-06-19 | 2018-09-14 | 北京航星中云科技有限公司 | A kind of onboard solid-state disk opens card mass production method and device |
CN108965019A (en) * | 2018-07-27 | 2018-12-07 | 广东美的制冷设备有限公司 | Dynamic Configuration, wireless communication device and the relevant device of communication protocol |
CN109165037A (en) * | 2018-07-31 | 2019-01-08 | 西安霍威航空科技有限公司 | A kind of program online updating method and system based on serial ports processor |
CN110377469A (en) * | 2019-07-12 | 2019-10-25 | 苏州浪潮智能科技有限公司 | A kind of detection system and method for PCIE device |
CN110442386A (en) * | 2019-06-25 | 2019-11-12 | 苏州浪潮智能科技有限公司 | A kind of BMC starting method, system, electronic equipment and computer storage medium |
CN112073213A (en) * | 2020-07-30 | 2020-12-11 | 苏州浪潮智能科技有限公司 | Method for flexibly and safely configuring PCIe switch |
CN112162794A (en) * | 2020-09-30 | 2021-01-01 | 新华三大数据技术有限公司 | Single board starting method, device, single board and network equipment |
CN112269584A (en) * | 2020-10-19 | 2021-01-26 | 苏州浪潮智能科技有限公司 | PCIe Switch firmware updating method, device, electronic equipment and medium |
CN112328179A (en) * | 2020-11-10 | 2021-02-05 | 北京明略软件系统有限公司 | Configuration method and system of disk array, electronic device and readable storage medium |
CN112463230A (en) * | 2020-11-23 | 2021-03-09 | 浙江地芯引力科技有限公司 | Program operation method and device, electronic equipment and storage medium |
CN112748959A (en) * | 2020-12-29 | 2021-05-04 | 杭州迪普科技股份有限公司 | Embedded system starting method, flash memory burning method and system updating method |
CN112882731A (en) * | 2021-01-08 | 2021-06-01 | 北京锦鸿希电信息技术股份有限公司 | Embedded software upgrading method and device |
-
2021
- 2021-11-30 CN CN202111439675.2A patent/CN114125902A/en active Pending
Patent Citations (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102364891A (en) * | 2011-09-13 | 2012-02-29 | 杭州华三通信技术有限公司 | Method for upgrading software of embedded Ethernet equipment and embedded Ethernet equipment |
CN103975304A (en) * | 2011-12-06 | 2014-08-06 | 高通股份有限公司 | Method and a portable computing device (pcd) for exposing a peripheral component interface express (pcie) coupled device to an operating system operable on the pcd |
CN103186401A (en) * | 2011-12-31 | 2013-07-03 | 北京新媒传信科技有限公司 | Method for updating software system and configuration thereof |
CN104573573A (en) * | 2014-11-14 | 2015-04-29 | 深圳市芯海科技有限公司 | Data protection system and method for mobile storage |
CN105721357A (en) * | 2016-01-13 | 2016-06-29 | 华为技术有限公司 | Exchange device, and peripheral component interconnection express (PCIe) system and initialization method thereof |
CN106293807A (en) * | 2016-07-26 | 2017-01-04 | 中国航空工业集团公司西安飞行自动控制研究所 | A kind of Flash chip based on DSP guides loading method |
CN107733674A (en) * | 2016-08-12 | 2018-02-23 | 北京小米移动软件有限公司 | Component upgrade method and terminal |
CN108536450A (en) * | 2018-06-19 | 2018-09-14 | 北京航星中云科技有限公司 | A kind of onboard solid-state disk opens card mass production method and device |
CN108965019A (en) * | 2018-07-27 | 2018-12-07 | 广东美的制冷设备有限公司 | Dynamic Configuration, wireless communication device and the relevant device of communication protocol |
CN109165037A (en) * | 2018-07-31 | 2019-01-08 | 西安霍威航空科技有限公司 | A kind of program online updating method and system based on serial ports processor |
CN110442386A (en) * | 2019-06-25 | 2019-11-12 | 苏州浪潮智能科技有限公司 | A kind of BMC starting method, system, electronic equipment and computer storage medium |
CN110377469A (en) * | 2019-07-12 | 2019-10-25 | 苏州浪潮智能科技有限公司 | A kind of detection system and method for PCIE device |
CN112073213A (en) * | 2020-07-30 | 2020-12-11 | 苏州浪潮智能科技有限公司 | Method for flexibly and safely configuring PCIe switch |
CN112162794A (en) * | 2020-09-30 | 2021-01-01 | 新华三大数据技术有限公司 | Single board starting method, device, single board and network equipment |
CN112269584A (en) * | 2020-10-19 | 2021-01-26 | 苏州浪潮智能科技有限公司 | PCIe Switch firmware updating method, device, electronic equipment and medium |
CN112328179A (en) * | 2020-11-10 | 2021-02-05 | 北京明略软件系统有限公司 | Configuration method and system of disk array, electronic device and readable storage medium |
CN112463230A (en) * | 2020-11-23 | 2021-03-09 | 浙江地芯引力科技有限公司 | Program operation method and device, electronic equipment and storage medium |
CN112748959A (en) * | 2020-12-29 | 2021-05-04 | 杭州迪普科技股份有限公司 | Embedded system starting method, flash memory burning method and system updating method |
CN112882731A (en) * | 2021-01-08 | 2021-06-01 | 北京锦鸿希电信息技术股份有限公司 | Embedded software upgrading method and device |
Non-Patent Citations (1)
Title |
---|
刘宇;刘治彬;朱秀林;: "基于PCI总线的DSP系统应用程序的更新", 现代电子技术, no. 06, 15 March 2013 (2013-03-15), pages 1 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9507604B2 (en) | Boot method and boot system | |
CN103853586A (en) | Method of realizing wireless card driver in UEFI (unified extensible firmware interface) layer | |
WO2021136200A1 (en) | Bootloader loading method, storage medium, and embedded terminal | |
CN105718281A (en) | Touch screen firmware upgrading method and device | |
CN110297726B (en) | Computer system with serial presence detection data and memory module control method | |
US6904484B1 (en) | Low pin count (LPC) firmware hub recovery | |
CN111026417A (en) | Embedded equipment upgrading method and embedded equipment | |
CN110515671A (en) | Initial method, apparatus for initializing, terminal device and readable storage medium storing program for executing | |
CN108153548A (en) | A kind of EMMC firmware upgrade methods and device | |
US8458730B2 (en) | Multi-level driver configuration | |
CN116909634A (en) | Radio frequency drive identification method and device, storage medium and electronic equipment | |
CN112162794A (en) | Single board starting method, device, single board and network equipment | |
CN116627472A (en) | Firmware program upgrading method and server of high-speed peripheral component equipment | |
US20200364040A1 (en) | System and Method for Restoring a Previously Functional Firmware Image on a Non-Volatile Dual Inline Memory Module | |
CN114125902A (en) | WWAN equipment and configuration method, device and storage medium thereof | |
CN112860595B (en) | PCI (peripheral component interconnect express) equipment or PCIE (peripheral component interconnect express) equipment, data access method and related assembly | |
CN108052337A (en) | A kind of firmware upgrade method and device of eMMC production tools | |
CN204302961U (en) | Embedded device and the diagnostic card for embedded device | |
CN112667544A (en) | Method, device, system and medium for controlling mainboard slot enabling | |
JP6898527B2 (en) | Operating system repair via electronics | |
CN106548311B (en) | Inventory management setting system | |
CN106445571B (en) | Mainboard and starting method | |
CN114968314B (en) | Firmware upgrading method and device for display equipment, electronic equipment and storage medium | |
CN110471704B (en) | Server and server startup initialization method | |
WO2022199622A1 (en) | Method for running startup program of electronic device, and 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 |