CN111314111A - Network access data processing method, device, communication equipment and storage medium - Google Patents
Network access data processing method, device, communication equipment and storage medium Download PDFInfo
- Publication number
- CN111314111A CN111314111A CN202010058745.9A CN202010058745A CN111314111A CN 111314111 A CN111314111 A CN 111314111A CN 202010058745 A CN202010058745 A CN 202010058745A CN 111314111 A CN111314111 A CN 111314111A
- Authority
- CN
- China
- Prior art keywords
- target
- network access
- configuration
- parameter
- configuration parameters
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000004891 communication Methods 0.000 title claims abstract description 34
- 238000003672 processing method Methods 0.000 title claims abstract description 16
- 230000006870 function Effects 0.000 claims abstract description 132
- 238000000034 method Methods 0.000 claims abstract description 31
- 238000012545 processing Methods 0.000 claims abstract description 17
- 238000012216 screening Methods 0.000 claims abstract description 8
- 238000004590 computer program Methods 0.000 claims description 14
- 238000001914 filtration Methods 0.000 claims description 2
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000011161 development Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 238000009825 accumulation Methods 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012812 general test Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000010606 normalization Methods 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- 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/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
-
- 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/0866—Checking the configuration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
The application relates to a network access data processing method, a network access data processing device, communication equipment and a storage medium. The method comprises the following steps: acquiring preset configuration parameters for realizing a preset network access function in target firmware, wherein the target firmware is arranged in a target network access module; acquiring a target configuration file, wherein the target configuration file comprises target configuration parameters corresponding to the target network access function; comparing the target configuration parameters with corresponding preset configuration parameters to obtain a comparison result; screening the target configuration parameters according to the comparison result to obtain updated configuration parameters; and updating the corresponding preset configuration parameters by using the updated configuration parameters so as to update the network access function of the target network access module. By adopting the method, the updating efficiency of the functions of the communication module can be improved.
Description
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for processing network access data, a communication device, and a storage medium.
Background
With the development of communication technology, communication devices are constantly changing, which results in the function of a communication module being constantly changed, and in order to meet the change in the function of the communication module, a software program for implementing a corresponding function needs to be developed for the communication module.
Currently, since the demands of users for the functions of the communication module are various, different software programs need to be developed for different clients so that the communication module of the client realizes the functions desired by the client. For example, for a 4G module, one client needs the 4G module to implement function a without implementing function b, and another client needs the 4G module to implement function b without implementing function a, so that two different software programs need to be provided for the two clients. Moreover, when the client needs to update the function of the communication module, a new software program needs to be developed for the client,
however, the development of the software program often requires a lot of time, thereby making the updating of the function of the communication module inefficient.
Disclosure of Invention
In view of the above, it is necessary to provide a network access data processing method, a device, a communication device, and a storage medium, which can improve the update efficiency of the function of the communication module, in order to solve the technical problem of the low update efficiency of the function of the communication module.
A method of network access data processing, the method comprising: acquiring preset configuration parameters for realizing a preset network access function in target firmware, wherein the target firmware is arranged in a target network access module; acquiring a target configuration file, wherein the target configuration file comprises target configuration parameters corresponding to the target network access function; comparing the target configuration parameters with corresponding preset configuration parameters to obtain a comparison result; screening the target configuration parameters according to the comparison result to obtain updated configuration parameters; and updating the corresponding preset configuration parameters by using the updated configuration parameters so as to update the network access function of the target network access module.
In some embodiments, the target configuration file includes first instructions, the target firmware includes second instructions, the method further comprising: writing the preset configuration parameters into a target position through the second instruction; the updating the corresponding preset configuration parameters by using the updated configuration parameters to update the network access function of the target network access module includes: acquiring a target position corresponding to a preset configuration parameter corresponding to the updated configuration parameter; and covering the parameter data on the target position with the updated configuration parameters by using the first instruction so as to update the network access function of the target network access module.
In some embodiments, different configuration parameters correspond to different parameter numbers, and the comparing according to the target configuration parameter and the corresponding preset configuration parameter to obtain the comparison result includes: acquiring a parameter number corresponding to the target configuration parameter to obtain a first parameter number; acquiring a parameter number corresponding to the preset configuration parameter to obtain a second parameter number; and comparing the first parameter number with the second parameter number to obtain the comparison result.
In some embodiments, the obtaining the target firmware comprises: acquiring a candidate firmware set, wherein each candidate firmware in the candidate firmware set corresponds to different functions; and selecting corresponding candidate firmware from the candidate firmware set according to the target network access function to serve as target firmware.
In some embodiments, the screening of the target configuration parameters according to the comparison result to obtain updated configuration parameters includes: and screening the target configuration parameters to obtain configuration parameters with inconsistent comparison results, and using the configuration parameters as updated configuration parameters.
In some embodiments, the target network access function includes a target network type function and a target general configuration function, and the obtaining the target configuration file includes: acquiring the target network standard function and the target general configuration function; acquiring a target system configuration file from a candidate system configuration file set according to the target network system function; acquiring a target general configuration file from a candidate general configuration file set according to the target general configuration function; and taking the target system configuration file and the target general configuration file as target configuration files.
In some embodiments, the obtaining of the set of candidate system profiles comprises: acquiring a module number corresponding to the target network access module; determining a target manufacturer corresponding to the target network access module according to the module number; and obtaining each candidate configuration file corresponding to the target manufacturer, and combining to obtain the candidate configuration file set.
A network access data processing apparatus, the apparatus comprising: the system comprises a preset configuration parameter acquisition module, a target network access module and a configuration parameter setting module, wherein the preset configuration parameter acquisition module is used for acquiring preset configuration parameters for realizing a preset network access function in target firmware, and the target firmware is arranged in the target network access module; a target configuration file obtaining module, configured to obtain a target configuration file, where the target configuration file includes a target configuration parameter corresponding to a target network access function; a comparison result obtaining module, configured to compare the target configuration parameter with a corresponding preset configuration parameter to obtain a comparison result; an update configuration parameter obtaining module, configured to filter the target configuration parameters according to the comparison result to obtain update configuration parameters; and the network access function updating module is used for updating the corresponding preset configuration parameters by using the updated configuration parameters so as to update the network access function of the target network access module.
A communication device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above network access data processing method when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the above-mentioned network access data processing method.
According to the network access data processing method, the network access data processing device, the communication equipment and the storage medium, the target network access module acquires the target configuration file and the target firmware, compares the target configuration parameters in the target configuration file with the corresponding preset configuration parameters in the target firmware to obtain the comparison result, and screens the target configuration parameters according to the comparison result to obtain the updated configuration parameters. Therefore, the functions of the target network access module can be determined according to the target configuration files and the target firmware, different target configuration files and the same target firmware have different determined functions of the target network access module because different target configuration files correspond to different configuration parameters, and therefore the updating of the functions of the network access module can be realized by setting a plurality of configuration files for the firmware and modifying the parameters of the firmware through the configuration files, and one firmware does not need to be developed for each function, so that the updating efficiency of the functions of the communication module is improved.
Drawings
Fig. 1 is a diagram of an application scenario of a network access data processing method in some embodiments;
fig. 2A is a flow diagram illustrating a method for network access data processing in some embodiments;
FIG. 2B is a schematic diagram of configuration items in some embodiments;
fig. 3 is a flow diagram illustrating a method for processing network access data in some embodiments;
fig. 4 is a flow diagram illustrating a method for network access data processing in some embodiments;
fig. 5 is a flow diagram illustrating a method for network access data processing in some embodiments;
fig. 6 is a flow diagram illustrating a method for network access data processing in some embodiments;
FIG. 7 is a flowchart illustrating steps for obtaining a set of candidate system profiles in some embodiments;
FIG. 8 is a block diagram of a network access data processing apparatus in some embodiments;
fig. 9 is an internal block diagram of a communication device in some embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The network access data processing method provided by the application can be applied to the application environment shown in fig. 1. Wherein, the network access module 102 communicates with the terminal 104 through the network.
Specifically, the terminal 104 may obtain programs required by the network access module 104, such as Firmware (FW) and corresponding configuration files. Firmware is understood to be a program written in EPROM (erasable programmable read-only memory) or EEPROM (electrically erasable programmable read-only memory). The terminal 104 may be installed with a software burning tool, and may obtain corresponding firmware and configuration files through the burning tool, and burn the corresponding firmware and configuration files into a memory of the network access module 102, where the memory may be an internal memory, such as a flash (flash memory). The network access module 102 may be, but is not limited to, a 2G module, a 3G module, a 4G module, and a 5G module, and the terminal 104 may be, but is not limited to, various personal computers, notebook computers, smart phones, and tablet computers. The server 104 may be implemented as a stand-alone server or as a server cluster comprised of multiple servers.
It is to be understood that the foregoing application scenario is only an example, and does not constitute a limitation to the method provided in the embodiment of the present application, and the method provided in the embodiment of the present application may also be applied in other scenarios, for example, the terminal 104 in fig. 1 may be replaced by a server, where the server may be implemented by an independent server or a server cluster formed by multiple servers.
In some embodiments, as shown in fig. 2A, a method for processing network access data is provided, which is described by taking the method as an example applied to the network access module 102 in fig. 1, and includes the following steps:
s202, acquiring preset configuration parameters for realizing a preset network access function in the target firmware, wherein the target firmware is arranged in a target network access module.
Specifically, the target network access module refers to a module which needs to be updated with a network access function. The firmware may be of multiple versions, and different versions of firmware may correspond to different functions, e.g., one version supporting a-functions and another version not supporting a-functions. As versions of firmware are updated, versions of firmware may appear to meet customer needs. The target firmware may be determined as desired, for example, a user may select a corresponding version of firmware as the target firmware as desired. The network access function refers to a function of accessing a network corresponding to the network access module, and the network access function may be various. The preset network access function refers to a preset network access function, and can be understood as a default network access function, and different firmware corresponds to different default network access functions. The configuration parameters are parameters corresponding to configuration items. The configuration items may be, for example, frequency bands and port configurations. The configuration parameter may be, for example, a specific port configuration corresponding to the port configuration, such as an a-port configuration. The preset configuration parameters refer to configuration parameters preset for corresponding configuration items, and may be understood as default configuration parameters. The configuration parameters may correspond to a version. Different configuration parameters correspond to different versions. For example, the parameters of the port configuration include an a port configuration and a B port configuration, the version corresponding to the a port configuration may be version 1, and the version corresponding to the B port configuration may be version 2. As shown in FIG. 2B, configuration items in firmware and configuration items in configuration files are illustrated. Wherein a customization package refers to a configuration file. The configuration items of the firmware comprise characteristic distinction, software version difference, frequency band customization, product model customization, hardware configuration and port form, wherein the hardware configuration comprises GPIO pin definition, audio support and external flash. Configuration items of the configuration file comprise product models, hardware configuration, characteristic switches, frequency band customization and port forms. Wherein GPIO (General-purpose input/output) is a General-purpose input/output. The feature switch is used to configure whether to turn on or off a function feature, such as whether a GPS (Global Positioning System) is required.
In some embodiments, the network access module may obtain the target firmware through a burn tool. Specifically, the target firmware can be burned into the network access module through a burning tool.
In some embodiments, the requirements of different clients for the network access functionality of the network access module may be different, e.g., one client requires the a functionality and one client does not. The network access module supplier can provide corresponding firmware for the client according to the client's requirement to meet the client's specific network access function requirement.
In some embodiments, the provider of the network access module may provide the customer with a module without burning firmware, provide the customer with multiple versions of firmware available for selection, and present the customer with corresponding functionality for each version of firmware, for example, present the functionality for different versions of firmware in a list for the customer to select conveniently. When the network access module is taken by a user of the network access module, the corresponding firmware can be selected according to the actually required network access function, and the firmware is burnt into the network access module, so that the network access module can acquire the corresponding firmware and has the required network access function.
S204, acquiring a target configuration file, wherein the target configuration file comprises target configuration parameters corresponding to the target network access function.
Specifically, the target configuration file is a configuration file corresponding to the target firmware. One firmware may correspond to multiple configuration files. One configuration file may correspond to a plurality of firmware files. The target network access function may be a network access function determined on demand. The target configuration file is a configuration file corresponding to the target network access function, the target configuration file is used for supporting the realization of the target network access function, and the target configuration parameters are parameters related to the target network access function. The default configuration parameter in the firmware may be modified to a target configuration parameter, for example, if the default port configuration of the firmware is an a port configuration and the target port configuration is a B port configuration, the default port configuration of the firmware may be modified to a B port configuration.
In some embodiments, the network access module may obtain the target configuration file through a burning tool. Specifically, the target configuration file may be burned into the network access module by a burning tool.
In some embodiments, the preset network access function corresponding to the firmware cannot meet the requirements of the customer, a corresponding configuration file may be created for the firmware according to the requirements of the customer, and the firmware may be configured through the configuration file to obtain the firmware that the customer needs to configure. For example, a configuration file and corresponding firmware may be burned into a module such that the module has a function that is determined by both the configuration file and the corresponding firmware. When the configuration file and the corresponding firmware are burned, the burning can be carried out separately or simultaneously. In the embodiment of the present application, the recording sequence is not limited. As shown in fig. 2B, a normalization scheme is proposed. To achieve the same baseline product, one FW is shared. When the software is burned, the FW and the customized packet are simultaneously burned into the chip, and the customized packet is written into the flash. After the module is started, the customized packet is read out to finish the expression of different products according to the content of the customized packet. The distinguishing and production of different products are carried out in a FW + customized bag mode. That is, different products share one FW with the same baseline, and different products are handled separately from the FW and the custom package, and different profiles exist, and the name of the profile may be, for example, custpack, but share one FW. All the custom parameters are completed through the configuration of the custpack.
In some embodiments, different profiles may be created for the same firmware to meet the needs of different customers. In particular, the requirements of different clients for the network access functionality of the network access module may be different, e.g. one client requires the a-functionality and one client does not. The network access module supplier can create corresponding configuration files for the client according to the client's needs to meet the client's specific network access function requirements. The customer is, for example, a communication device manufacturer, such as a mobile phone manufacturer.
In some embodiments, the client identifier and the corresponding configuration file may be stored in association, and the corresponding configuration file may be found according to the client identifier and used as the target configuration file.
And S206, comparing the target configuration parameters with the corresponding preset configuration parameters to obtain a comparison result.
Specifically, the comparison result may include that the target configuration parameter is the same as (consistent with) the corresponding preset configuration parameter and that the target configuration parameter is different from (inconsistent with) the corresponding preset configuration parameter. The corresponding preset configuration parameter refers to the preset configuration parameter which is the same as the configuration item corresponding to the target configuration parameter. For example, if the configuration item corresponding to the target configuration parameter is in the port form, the preset configuration parameter with the configuration item in the port form is used as the preset configuration parameter corresponding to the target configuration parameter.
And S208, screening the target configuration parameters according to the comparison result to obtain updated configuration parameters.
Specifically, when the comparison result is that the target configuration parameter is different from the corresponding preset configuration parameter, the target configuration parameter may be used as the updated configuration parameter. As shown in fig. 2B, when the configuration parameters corresponding to the port configuration of the customized packet are different from the configuration parameters corresponding to the port configuration in the FW, the configuration parameters of the port configuration in the FW may be set as the configuration parameters of the port configuration of the customized packet.
And S210, updating the corresponding preset configuration parameters by using the updated configuration parameters so as to update the network access function of the target network access module.
Specifically, the network access module may obtain a storage address of the preset configuration parameter, and write the corresponding update configuration parameter into the obtained storage address, so that the preset configuration parameter is covered by the update configuration parameter, and the target firmware may read the update configuration parameter to implement the updated function, thereby implementing the update of the network access function of the target network access module.
In the network access data processing method, the target network access module acquires the target configuration file and the target firmware, compares the target configuration parameter in the target configuration file with the corresponding preset configuration parameter in the target firmware to obtain a comparison result, and screens the target configuration parameter according to the comparison result to obtain the updated configuration parameter. Therefore, the functions of the target network access module can be determined according to the target configuration files and the target firmware, different target configuration files and the same target firmware have different determined functions of the target network access module due to the fact that different target configuration files correspond to different configuration parameters, and therefore different functions can be met by setting a plurality of configuration files for the firmware without setting a firmware for each function, and product cost is reduced.
For example, for a new version of firmware developed, since the default parameters of the new version of firmware cannot meet the requirements of each client, but in order to modify the parameters of the new version of firmware into the parameters required by each client, a plurality of new versions of firmware are required, so that the new version of firmware has many types and is not good for maintenance, which reduces the efficiency of research and development and testing, and increases the cost of firmware products. The requirements of the customized parameters and the requirement changes of the customers cannot be met quickly and efficiently. In addition, the accumulation of related technologies is not facilitated, and the similar software codes or versions are repeatedly compiled or released.
In some embodiments, the target configuration file includes first instructions and the target firmware includes second instructions, as shown in fig. 3, the method further comprising:
s302, writing the preset configuration parameters into the target position through a second instruction.
Step S210, updating the corresponding preset configuration parameter by using the updated configuration parameter, so as to update the network access function of the target network access module, including:
s304, acquiring a target position corresponding to the preset configuration parameter corresponding to the updated configuration parameter.
S306, the updating configuration parameters are covered on the parameter data on the target position by using the first instruction, so that the network access function of the target network access module is updated.
Specifically, the first instruction may process a target configuration parameter in a target configuration file, and the second instruction may process a preset configuration parameter in a preset configuration file. The first instruction may include a gti instruction and the second instruction may include one or more of an at (attention) instruction or a gti (General Test Interface) instruction. The target position for storing the preset configuration parameters may be a preset position, that is, a corresponding target position may be preset for each preset configuration parameter.
In the embodiment of the application, the target configuration parameter is covered with the parameter data on the target position through the first instruction to obtain the target network access module, so that the update of the parameter can be automatically completed, and the parameter update efficiency is high.
In some embodiments, the different configuration parameters correspond to different parameter numbers, as shown in fig. 4, the step S206 compares the target configuration parameter with the corresponding preset configuration parameter, and the obtaining of the comparison result includes:
s402, acquiring a parameter number corresponding to the target configuration parameter to obtain a first parameter number.
S406, acquiring a parameter number corresponding to the preset configuration parameter to obtain a second parameter number.
S408, comparing the first parameter number with the second parameter number to obtain a comparison result.
Specifically, the parameter numbers of different configuration parameters corresponding to the same configuration item are different. The parameter numbers of the configuration parameters corresponding to different configuration items can be the same. The parameter number may be a version of the parameter, which changes when the parameter changes.
In the embodiment of the present application, the comparison between the target configuration parameter and the corresponding preset configuration parameter is realized by comparing the parameter numbers, and since the parameter numbers can be represented by numbers, and the configuration parameter forms are more and more complicated, the comparison between the parameter numbers simplifies the comparison mode and improves the comparison efficiency.
In some embodiments, as shown in fig. 5, the step S202 of acquiring the target firmware includes:
s502, a candidate firmware set is obtained, and each candidate firmware in the candidate firmware set corresponds to different functions.
S504, corresponding candidate firmware is obtained from the candidate firmware set according to the target network access function and is used as target firmware.
Specifically, the candidate firmware set is a set of firmware selectable by the network access module. Different candidate firmware may correspond to different functions, and different candidate firmware may correspond to different firmware versions. The functions corresponding to the candidate firmware can be acquired, the functions corresponding to the candidate firmware are compared with the target network access function, and the candidate firmware with the comparison result being consistent is taken as the target firmware.
In some embodiments, the target firmware may be a candidate firmware having a target network access function, i.e., the target firmware may have other functions in addition to the target network access function.
In the embodiment of the application, the target firmware can be quickly selected from the candidate firmware set according to the target network access function, and the efficiency is high.
In some embodiments, the filtering of the updated configuration parameters from the target configuration parameters according to the comparison result includes: and screening the target configuration parameters to obtain configuration parameters with inconsistent comparison results, and using the configuration parameters as updated configuration parameters.
In some embodiments, as shown in fig. 6, the target network access function includes a target network type function and a target general configuration function, and the step S204 of acquiring the target configuration file includes:
s602, acquiring a target network standard function and a target general configuration function.
Specifically, the network standard function is used to embody a network standard that can be supported by the network access module, and operators corresponding to different network standards may be different. For example, the standard of the Unicom 4G network includes TD-LTE and FDD-LTE, the standard of the telecom 4G network includes TD-LTE and FDD-LTE, and the standard of the mobile 4G network is TD-LTE. The general configuration function refers to a configuration function other than the network system function.
S604, acquiring a target system configuration file from the candidate system configuration file set according to the target network system function.
S606, obtaining the target general configuration file from the candidate general configuration file set according to the target general configuration function.
S608, the target system configuration file and the target general configuration file are used as target configuration files.
Specifically, the candidate system configuration file set may include a plurality of candidate system configuration files, and different candidate system configuration files are configuration files corresponding to different network system functions. The network system functions corresponding to the candidate system configuration files can be obtained, the network system functions corresponding to the candidate system configuration files are compared with the target network system functions, and the candidate system configuration files with the consistent comparison result are used as the target system configuration files. The obtaining mode of the target general configuration file may refer to the related description of the target system configuration file, and is not described herein again. The target configuration file may include a target system configuration file and a target general configuration file.
In some embodiments, as shown in fig. 7, the obtaining step of the candidate system profile set includes:
s702, acquiring a module number corresponding to the target network access module.
And S704, determining a target manufacturer corresponding to the target network access module according to the module number.
S706, obtaining each candidate system configuration file corresponding to the target manufacturer, and combining to obtain a candidate system configuration file set.
In particular, the module number refers to a unique identification of the network access module. Different network access modules have different module numbers. The target vendor may be a customer, such as a cell phone vendor, who purchases the target network access module.
In some embodiments, the target manufacturer and the module number of the corresponding target network access module may be stored in association, and the target manufacturer and the corresponding configuration file may be stored in association, so that the corresponding target manufacturer may be obtained according to the module number, and the corresponding candidate system configuration file may be obtained.
In the embodiment of the application, the candidate system configuration file of the corresponding target manufacturer can be obtained through the module number, so that the candidate system configuration file can be quickly obtained.
It should be understood that, although the steps in the flowcharts of the above embodiments are shown in sequence as indicated by the arrows, the steps are not necessarily executed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a part of the steps in the flowcharts of the above embodiments may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least a part of the sub-steps or the stages of other steps.
In some embodiments, as shown in fig. 8, there is provided a network access data processing apparatus, including: a preset configuration parameter obtaining module 802, a target configuration file obtaining module 804, a comparison result obtaining module 806, an update configuration parameter obtaining module 808, and a network access function updating module 810, wherein:
a preset configuration parameter obtaining module 802, configured to obtain a preset configuration parameter for implementing a preset network access function in a target firmware, where the target firmware is set in the target network access module.
A target configuration file obtaining module 804, configured to obtain a target configuration file, where the target configuration file includes a target configuration parameter corresponding to a target network access function.
A comparison result obtaining module 806, configured to compare the target configuration parameter with a corresponding preset configuration parameter to obtain a comparison result.
And an update configuration parameter obtaining module 808, configured to filter the target configuration parameters according to the comparison result to obtain the update configuration parameters.
The network access function updating module 810 is configured to update the corresponding preset configuration parameter by using the updated configuration parameter, so as to update the network access function of the target network access module.
In some embodiments, the target configuration file includes first instructions, the target firmware includes second instructions, the apparatus further comprises:
and the preset configuration parameter writing module is used for writing the preset configuration parameters into the target position through a second instruction.
The network access function update module 810 includes:
and the target position acquisition unit is used for acquiring a target position corresponding to a preset configuration parameter corresponding to the updated configuration parameter.
And the target network access module obtaining unit is used for covering the parameter data on the target position with the updated configuration parameter by using the first instruction so as to update the network access function of the target network access module.
In some embodiments, the different configuration parameters correspond to different parameter numbers, and the comparison result obtaining module 806 includes:
and the first parameter number obtaining unit is used for obtaining the parameter number corresponding to the target configuration parameter to obtain the first parameter number.
And the second parameter number obtaining unit is used for obtaining the parameter number corresponding to the preset configuration parameter to obtain the second parameter number.
And the comparison result obtaining unit is used for comparing the first parameter number with the second parameter number to obtain a comparison result.
In some embodiments, the preset configuration parameter obtaining module 802 includes:
and the candidate firmware set acquisition unit is used for acquiring a candidate firmware set, wherein each candidate firmware in the candidate firmware set corresponds to a different function.
And the target firmware obtaining unit is used for obtaining corresponding candidate firmware from the candidate firmware set according to the target network access function and taking the corresponding candidate firmware as the target firmware.
In some embodiments, the updated configuration parameter obtaining module 808 is further configured to filter configuration parameters with inconsistent comparison results from the target configuration parameters, and use the configuration parameters as the updated configuration parameters.
In some embodiments, the target network access function includes a target network type function and a target general configuration function, and the target configuration file obtaining module 804 includes:
and the function acquisition unit is used for acquiring the target network system function and the target general configuration function.
And the target system configuration file acquisition unit is used for acquiring a target system configuration file from the candidate system configuration file set according to the target network system function.
And the target general configuration file acquisition unit is used for acquiring a target general configuration file from the candidate general configuration file set according to the target general configuration function.
And the target configuration file obtaining unit is used for taking the target system configuration file and the target general configuration file as target configuration files.
In some embodiments, the apparatus further includes a module for obtaining a set of candidate system profiles, where the module for obtaining a set of candidate system profiles includes:
and the module number acquiring unit is used for acquiring the module number corresponding to the target network access module.
And the target manufacturer determining unit is used for determining a target manufacturer corresponding to the target network access module according to the module number.
And the candidate configuration file set obtaining unit is used for obtaining each candidate configuration file corresponding to the target manufacturer and combining the candidate configuration files to obtain a candidate configuration file set.
For specific limitations of the network access data processing apparatus, reference may be made to the above limitations of the network access data processing method, which is not described herein again. The modules in the network access data processing device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the communication device, and can also be stored in a memory in the communication device in a software form, so that the processor can call and execute operations corresponding to the modules.
In some embodiments, a communication device is provided, which may be a network access module, such as a 4G module. The internal structure thereof may be as shown in fig. 9. The communication device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the communication device is configured to provide computing and control capabilities. The memory of the communication device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the communication device is used for connecting and communicating with an external terminal through a network. The computer program is executed by a processor to implement a network access data processing method.
Those skilled in the art will appreciate that the configuration shown in fig. 9 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation on the communication device to which the present application applies, and that a particular communication device may include more or less components than those shown, or combine certain components, or have a different arrangement of components.
In some embodiments, a communication device is provided, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above network access data processing method when executing the computer program.
In some embodiments, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, realizes the steps of the above-mentioned network access data processing method.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (10)
1. A method of network access data processing, the method comprising:
acquiring preset configuration parameters for realizing a preset network access function in target firmware, wherein the target firmware is arranged in a target network access module;
acquiring a target configuration file, wherein the target configuration file comprises target configuration parameters corresponding to the target network access function;
comparing the target configuration parameters with corresponding preset configuration parameters to obtain a comparison result;
screening the target configuration parameters according to the comparison result to obtain updated configuration parameters;
and updating the corresponding preset configuration parameters by using the updated configuration parameters so as to update the network access function of the target network access module.
2. The method of claim 1, wherein the target configuration file comprises first instructions and the target firmware comprises second instructions, the method further comprising:
writing the preset configuration parameters into a target position through the second instruction;
the updating the corresponding preset configuration parameters by using the updated configuration parameters to update the network access function of the target network access module includes:
acquiring a target position corresponding to a preset configuration parameter corresponding to the updated configuration parameter;
and covering the parameter data on the target position with the updated configuration parameters by using the first instruction so as to update the network access function of the target network access module.
3. The method of claim 1, wherein different configuration parameters correspond to different parameter numbers, and the comparing according to the target configuration parameter and a corresponding preset configuration parameter to obtain a comparison result comprises:
acquiring a parameter number corresponding to the target configuration parameter to obtain a first parameter number;
acquiring a parameter number corresponding to the preset configuration parameter to obtain a second parameter number;
and comparing the first parameter number with the second parameter number to obtain the comparison result.
4. The method of claim 1, wherein obtaining the target firmware comprises:
acquiring a candidate firmware set, wherein each candidate firmware in the candidate firmware set corresponds to different functions;
and selecting corresponding candidate firmware from the candidate firmware set according to the target network access function to serve as target firmware.
5. The method of claim 1, wherein the filtering updated configuration parameters from the target configuration parameters according to the comparison result comprises:
and screening the target configuration parameters to obtain configuration parameters with inconsistent comparison results, and using the configuration parameters as updated configuration parameters.
6. The method of claim 1, wherein the target network access function comprises a target network standard function and a target general configuration function, and wherein the obtaining the target configuration file comprises:
acquiring the target network standard function and the target general configuration function;
acquiring a target system configuration file from a candidate system configuration file set according to the target network system function;
acquiring a target general configuration file from a candidate general configuration file set according to the target general configuration function;
and taking the target system configuration file and the target general configuration file as target configuration files.
7. The method according to claim 6, wherein the step of obtaining the set of candidate system profiles comprises:
acquiring a module number corresponding to the target network access module;
determining a target manufacturer corresponding to the target network access module according to the module number;
and acquiring each candidate system configuration file corresponding to the target manufacturer, and combining to obtain the candidate system configuration file set.
8. A network access data processing apparatus, the apparatus comprising:
the system comprises a preset configuration parameter acquisition module, a target network access module and a configuration parameter setting module, wherein the preset configuration parameter acquisition module is used for acquiring preset configuration parameters for realizing a preset network access function in target firmware, and the target firmware is arranged in the target network access module;
a target configuration file obtaining module, configured to obtain a target configuration file, where the target configuration file includes a target configuration parameter corresponding to a target network access function;
a comparison result obtaining module, configured to compare the target configuration parameter with a corresponding preset configuration parameter to obtain a comparison result;
an update configuration parameter obtaining module, configured to filter the target configuration parameters according to the comparison result to obtain update configuration parameters;
and the network access function updating module is used for updating the corresponding preset configuration parameters by using the updated configuration parameters so as to update the network access function of the target network access module.
9. A communication device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the network access data processing method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the network access data processing method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010058745.9A CN111314111B (en) | 2020-01-19 | 2020-01-19 | Network access data processing method, device, communication equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010058745.9A CN111314111B (en) | 2020-01-19 | 2020-01-19 | Network access data processing method, device, communication equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111314111A true CN111314111A (en) | 2020-06-19 |
CN111314111B CN111314111B (en) | 2022-11-15 |
Family
ID=71146746
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010058745.9A Active CN111314111B (en) | 2020-01-19 | 2020-01-19 | Network access data processing method, device, communication equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111314111B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112153676A (en) * | 2020-09-03 | 2020-12-29 | 深圳市广和通无线股份有限公司 | Radio frequency parameter configuration method and device, computer equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075903A (en) * | 2010-11-25 | 2011-05-25 | 中兴通讯股份有限公司 | Self-adaptive configuration method and device for mobile phone terminal |
CN102833821A (en) * | 2012-08-27 | 2012-12-19 | 北京壹人壹本信息科技有限公司 | Method and device for selecting network, and method and device for connecting network |
JP2013077331A (en) * | 2006-03-31 | 2013-04-25 | Fujitsu Ltd | Disk array device |
CN104955023A (en) * | 2015-06-26 | 2015-09-30 | 努比亚技术有限公司 | Mobile terminal and method for updating network parameters |
CN105898772A (en) * | 2015-12-14 | 2016-08-24 | 乐视移动智能信息技术(北京)有限公司 | Air-upgrade method for communication configuration of mobile terminal and mobile terminal |
US20170033982A1 (en) * | 2015-07-30 | 2017-02-02 | Adtran, Inc. | Telecommunications node configuration management |
-
2020
- 2020-01-19 CN CN202010058745.9A patent/CN111314111B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013077331A (en) * | 2006-03-31 | 2013-04-25 | Fujitsu Ltd | Disk array device |
CN102075903A (en) * | 2010-11-25 | 2011-05-25 | 中兴通讯股份有限公司 | Self-adaptive configuration method and device for mobile phone terminal |
CN102833821A (en) * | 2012-08-27 | 2012-12-19 | 北京壹人壹本信息科技有限公司 | Method and device for selecting network, and method and device for connecting network |
CN104955023A (en) * | 2015-06-26 | 2015-09-30 | 努比亚技术有限公司 | Mobile terminal and method for updating network parameters |
US20170033982A1 (en) * | 2015-07-30 | 2017-02-02 | Adtran, Inc. | Telecommunications node configuration management |
CN105898772A (en) * | 2015-12-14 | 2016-08-24 | 乐视移动智能信息技术(北京)有限公司 | Air-upgrade method for communication configuration of mobile terminal and mobile terminal |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112153676A (en) * | 2020-09-03 | 2020-12-29 | 深圳市广和通无线股份有限公司 | Radio frequency parameter configuration method and device, computer equipment and storage medium |
WO2022048332A1 (en) * | 2020-09-03 | 2022-03-10 | 深圳市广和通无线股份有限公司 | Radio frequency parameter configuration method and apparatus, computer device, and storage medium |
CN112153676B (en) * | 2020-09-03 | 2023-07-21 | 深圳市广和通无线股份有限公司 | Radio frequency parameter configuration method, device, computer equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN111314111B (en) | 2022-11-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110750267B (en) | Service information updating method, device, computer equipment and storage medium | |
US20200112851A1 (en) | Apparatuses, methods and systems for implementing a system-on-chip with integrated reprogrammable cellular network connectivity | |
CN110751550B (en) | Account checking method and device, computer equipment and storage medium | |
CN100378661C (en) | System and method for bi-directional communication and execution of dynamic instruction sets | |
WO2023123898A1 (en) | Firmware burning method and device, burning apparatus, and firmware burning system | |
CN109213564A (en) | Intelligent household control interface adjusting method and device, intelligent terminal and medium | |
CN109726134B (en) | Interface test method and system | |
CN109361628B (en) | Message assembling method and device, computer equipment and storage medium | |
CN107526605A (en) | The method and apparatus for realizing application program loading serviced component | |
CN111552712A (en) | Report data extraction method and device and computer equipment | |
CN114531477B (en) | Method and device for configuring functional components, computer equipment and storage medium | |
CN111857881B (en) | Repo-based manifest warehouse loading method, repo-based manifest warehouse loading device and storage medium | |
CN111314111B (en) | Network access data processing method, device, communication equipment and storage medium | |
CN114115967A (en) | Service data processing method and device, computer equipment and storage medium | |
CN113411203B (en) | Terminal configuration method and device, computer equipment and storage medium | |
WO2024094107A9 (en) | Mobile number home operator querying method and apparatus, storage medium, and device | |
CN118151985A (en) | Configuration method, configuration system, computer device and readable storage medium | |
CN112153676B (en) | Radio frequency parameter configuration method, device, computer equipment and storage medium | |
CN112948099A (en) | Task issuing flow method and device, computer equipment and storage medium | |
CN110187874B (en) | Rule configuration method and device executed in computer equipment | |
CN111443945B (en) | Component code modification method and device | |
CN110727477A (en) | Component loading method and device, computer equipment and storage medium | |
CN110134475B (en) | Method and device for displaying interface parameter configuration, computer equipment and storage medium | |
CN113766554B (en) | Method and device for acquiring WiFi calibration data and WiFi equipment calibration test system | |
CN115004667B (en) | Information pushing method, device, electronic equipment and computer readable medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |