CN109218082B - Network configuration parameter processing method, device and equipment - Google Patents

Network configuration parameter processing method, device and equipment Download PDF

Info

Publication number
CN109218082B
CN109218082B CN201810975139.6A CN201810975139A CN109218082B CN 109218082 B CN109218082 B CN 109218082B CN 201810975139 A CN201810975139 A CN 201810975139A CN 109218082 B CN109218082 B CN 109218082B
Authority
CN
China
Prior art keywords
network configuration
version number
configuration parameters
blockchain
access request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810975139.6A
Other languages
Chinese (zh)
Other versions
CN109218082A (en
Inventor
陈锐敏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810975139.6A priority Critical patent/CN109218082B/en
Publication of CN109218082A publication Critical patent/CN109218082A/en
Application granted granted Critical
Publication of CN109218082B publication Critical patent/CN109218082B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0823Network architectures or network communication protocols for network security for authentication of entities using certificates

Abstract

The invention discloses a method, a device and equipment for processing network configuration parameters. The method comprises the following steps: initiating a first access request to a first block chain, wherein the first access request carries a first version number and a digital certificate of a locally maintained network configuration parameter, so that the first block chain performs consensus verification on the first access request; receiving a consensus result which is a first query result returned by the first blockchain when the consensus result passes, wherein the first query result carries network configuration parameters corresponding to a second version number maintained by the first blockchain, and the second version number is different from the first version number; and updating the local network configuration parameters based on the network configuration parameters corresponding to the second version number. Therefore, compared with the scheme that the relevant interface person is required to obtain the corresponding network configuration parameters, the technical evaluation is carried out based on the terminal technical framework and the terminal design is imported in the prior art, the updating efficiency of the network configuration parameters can be effectively improved.

Description

Network configuration parameter processing method, device and equipment
Technical Field
The present invention relates to the field of terminals, and in particular, to a method, an apparatus, and a device for processing network configuration parameters.
Background
With the development of communication technology, the operator technology is continuously and iteratively evolved, and terminal equipment manufacturers are also required to continuously update and adapt to configuration parameters of the operators.
At present, a terminal equipment manufacturer obtains corresponding configuration parameters under the permission of an operator official party, and then introduces the configuration parameters into the terminal equipment through technical analysis design, and the process is lengthy and simultaneously involves the influences of third party factors such as version management, production, after-sale updating, operator equipment support updating degree and the like.
Therefore, there are problems of update lag and low accuracy.
Disclosure of Invention
The embodiment of the invention provides a network configuration parameter processing method, which aims to solve the problems of lagging and inaccurate network configuration parameter updating schemes in the prior art.
In order to solve the technical problem, the invention is realized as follows:
in a first aspect, a method for processing network configuration parameters is provided, where the method includes:
initiating a first access request to a first block chain, wherein the first access request carries a first version number and a digital certificate of a locally maintained network configuration parameter, so that the first block chain performs consensus verification on the first access request;
receiving a consensus result which is a first query result returned by the first blockchain when the consensus result passes, wherein the first query result carries network configuration parameters corresponding to a second version number maintained by the first blockchain, and the second version number is different from the first version number;
and updating the local network configuration parameters based on the network configuration parameters corresponding to the second version number.
In a second aspect, a method for processing network configuration parameters is provided, where the method includes:
determining updated network configuration parameters and version numbers;
and submitting the updated network configuration parameters and the version number to a block chain so that the user terminal can acquire the updated network configuration parameters from the block chain based on the version number of the locally maintained network configuration parameters and update the local network configuration parameters.
In a third aspect, a network configuration parameter processing apparatus is provided, where the apparatus includes:
a sending module, configured to initiate a first access request to a first blockchain, where the first access request carries a first version number of a locally maintained network configuration parameter and a digital certificate, so that the first blockchain performs consensus verification on the first access request;
a receiving module, configured to receive a first query result returned by the first blockchain when a consensus result passes, where the first query result carries a network configuration parameter corresponding to a second version number maintained by the first blockchain, and the second version number is different from the first version number;
and the updating module is used for updating the local network configuration parameters based on the network configuration parameters corresponding to the second version number.
In a fourth aspect, a network configuration parameter processing apparatus is provided, the apparatus including:
the determining module is used for determining the updated network configuration parameters and the version number;
and the submitting module is used for submitting the updated network configuration parameters and the version numbers to a blockchain, so that the user terminal can acquire the updated network configuration parameters from the blockchain based on the version numbers of the locally maintained network configuration parameters and update the local network configuration parameters.
In a fifth aspect, an electronic device is provided, comprising a processor, a memory and a computer program stored on the memory and executable on the processor, the computer program, when executed by the processor, implementing the steps of the method according to the first or second aspect.
A sixth aspect provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method according to the first or second aspect.
In the embodiment of the present invention, by linking the network configuration parameters, when the network configuration parameters are updated, the ue can read the updated network configuration parameters from the blockchain and perform local adaptive update. Compared with the scheme of updating the network configuration parameters by sending versions in the prior art, the method can effectively improve the updating efficiency and accuracy of the network configuration parameters.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the invention and not to limit the invention. In the drawings:
FIG. 1a is a schematic diagram of a first application scenario provided by the present invention;
FIG. 1b is a diagram illustrating a second exemplary application scenario provided by the present invention;
FIG. 1c is a schematic diagram of a third application scenario provided by the present invention;
fig. 2 is a flowchart illustrating a method for processing network configuration parameters at a ue according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating a method for processing network configuration parameters on the side of a terminal device or an operator according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a method for processing network configuration parameters according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a network configuration parameter processing apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a network configuration parameter processing apparatus according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As stated in the background section, when the network configuration parameters of the operator change, terminal equipment such as a downstream terminal network device provider and a terminal manufacturer need to obtain corresponding network configuration parameters under the permission of the operator, and then, after technical analysis of the terminal equipment, the network configuration parameters of the terminal equipment are adaptively adjusted by releasing a new version. The end result is that the user cannot use the corresponding service better, and even the social behavior of the user such as personal life/work is seriously affected. For terminal manufacturers, various sudden customer service events can cause various unnecessary expenses, and the brand image is influenced.
Therefore, the existing network configuration parameter updating process is relatively long, the operator parameters may change continuously, the terminal needs to adapt continuously and remind the manufacturer of updating, related events are consumed from data import to version update release, and the like, and the problem of update lag exists; further, there is a problem that the update accuracy is low due to the influence of third party factors relating to version management, production, after-sales update, the degree of update of the operator's equipment support, and the like.
Based on this, the invention provides a network configuration parameter processing method, when the network configuration parameter of the operator changes, the terminal equipment side adaptively updates the network configuration parameters such as terminal network devices and the like and refers to the block chain, so that the user terminal reads the updated network configuration parameter from the block chain and adaptively updates the local network configuration parameter.
Therefore, compared with the prior art, the method and the device can effectively improve the updating efficiency and accuracy of the network configuration parameters.
The operator refers to a provider providing network services, for example: china unicom, china telecom, china mobile, etc.; the terminal equipment side refers to a communication equipment producer side, and the network device supplier side refers to a network connection related device (such as a chip and the like) producer side in the communication equipment; the user terminal refers to a communication device or a terminal including a communication device, for example, a common mobile terminal, also called a mobile communication terminal, refers to a computer device that can be used in mobile, and broadly includes a mobile phone, a notebook, a tablet computer, a POS machine, and even a vehicle-mounted computer. But most of the cases refer to mobile phones or smart phones and tablet computers with multiple application functions; the network configuration parameters are network parameters related to network services provided by an operator, such as: network access parameters, communication service parameters, and the like.
The following exemplifies an application scenario of the present invention.
Referring to fig. 1a, the first application scenario includes: user terminal 101, terminal equipment side 102 and blockchain 103, wherein:
a terminal device side 102, configured to update a network configuration parameter of a terminal device based on a change in the network configuration parameter of an operator, and submit the updated network configuration parameter to a block chain 103;
the user terminal 101 is configured to read the latest network configuration parameters from the blockchain 103 and adaptively update the local network configuration parameters;
referring to fig. 1b, the second application scenario includes: user terminal 111, terminal equipment side 112, block chain 113 and operator 114, wherein:
an operator 114, configured to provide a network service, and submit updated network configuration parameters to the blockchain 113 when network parameters related to the network service change;
the terminal equipment side 112 is used for reading the latest network configuration parameters from the blockchain 113, then adaptively updating the network configuration parameters of the terminal equipment based on the network configuration parameters and submitting the updated network configuration parameters to the blockchain 113;
the user terminal 111 is configured to read the latest network configuration parameters submitted by the operator 114 or the terminal device 112 from the blockchain, and adaptively update the local network configuration parameters.
In the two application scenarios, the block chain may be a public chain or a private chain of a terminal device or an operator; if the private chain of the terminal equipment side exists, the terminal equipment side can authenticate the user terminal before the user terminal accesses the block chain; if the private chain of the operator exists, the operator can authenticate the user terminal and the terminal equipment before the user terminal and the terminal equipment access the block chain.
Referring to fig. 1c, the third application scenario includes: user terminal 121, terminal equipment party 122, operator 123, private chain 124 and public chain 125 of terminal equipment party 122, wherein:
the operator 123, configured to provide a network service, and provide the updated network configuration parameters to the terminal device 122 when network parameters related to the network service change;
a terminal device side 122, configured to adaptively adjust the network configuration parameters of the terminal device based on the updated network configuration parameters of the network service and refer to the private chain 124;
the user terminal 121 is configured to read the latest network configuration parameters from the private chain 124 and perform local adaptive updating; writing an exception report to the public chain 125 when the operation is abnormal;
and the terminal equipment side 122 and the operator 123 are used for reading the exception report from the public chain and optimizing the network configuration parameters.
Embodiments of the present invention are described in detail below with reference to the accompanying drawings:
fig. 2 is a flowchart illustrating a method for processing network configuration parameters according to an embodiment of the present invention, where the method may be executed by the user terminal 101 in fig. 1a, or may be executed by the terminal equipment side 112 in fig. 1b, and referring to fig. 2, the method may specifically include the following steps:
step 220, initiating a first access request to a first blockchain, where the first access request carries a first version number of a locally maintained network configuration parameter and a digital certificate, so that the blockchain performs consensus verification on the first access request;
wherein, the network configuration parameters include: one or more of APN parameters, network access parameters, communication service parameters, Wireless Local Area Network (WLAN) protocols, Open Mobile Alliance (OMA) protocols, and other related parameters. The consensus verification comprises at least: verifying whether the digital certificate is legal, whether the first version number is consistent with the second version number of the network configuration parameters maintained by the first blockchain, and the like.
Step 240, receiving a first query result returned by the first blockchain when the consensus result is passed, where the first query result carries a network configuration parameter corresponding to a second version number maintained by the first blockchain, and the second version number is different from the first version number;
it is understood that, if the first version number is the same as the second version number, the method further includes:
and receiving a second query result returned by the first block chain when the consensus result is failed, wherein the second query result is used for prompting that the network configuration parameters are not updated.
And step 260, updating the local network configuration parameters based on the network configuration parameters corresponding to the second version number.
Wherein the first version number of the locally maintained network configuration parameter comprises: a first sub-version number of the operator network configuration parameter and a first sub-version number of the chip manufacturer network configuration parameter; and the first query result carries a second sub-version number of the network configuration parameter of the operator and/or a second sub-version number of the network configuration parameter of the chip manufacturer.
Accordingly, one implementation of step 260 may be:
the locally maintained network configuration parameters of the first sub-version number may be updated based on the operator network configuration parameters of the second sub-version number; and updating the locally maintained network configuration parameters of the first version number based on the network configuration parameters of the chip manufacturers of the second sub-version number. Examples can be:
acquiring each parameter type in the network configuration parameters corresponding to the second sub-version number and a parameter value corresponding to each parameter type; and replacing the parameter value of each parameter type in the network configuration parameter corresponding to the first sub-version number with the parameter value corresponding to the second sub-version number.
Wherein the parameter types include APN parameters, network access parameters, etc. in step 220.
Optionally, the method further comprises: and updating the first version number of the locally maintained network configuration parameter into the second version number so as to synchronously update the version number when the network configuration parameter is updated, so that the user terminal can request the network configuration parameter of the next version based on the updated version number.
Optionally, in a real network, a problem that a service is abnormal at last due to poor comparison between network selection and switching to a corresponding neighboring cell/channel often occurs, so that, in order to facilitate a terminal device side or an operator to optimize a network, the method further includes:
and initiating a second access request to a second block chain, wherein the second access request carries a service exception report and a digital certificate, so that the second block chain writes the service exception report into a block under the condition that the second access request is determined to pass consensus verification.
Wherein the service exception report comprises: the service type comprises one or more of a call hang-up, no internet access, no telephone call, no off-line signal and the like.
Based on the method, no matter a terminal equipment party, an operator, a field test person, a user and the like, in the process of using the network, the abnormal conditions are recorded in the block chain; furthermore, the terminal equipment side and the testing personnel of the operating market can maintain, optimize and provide guidance configuration according to the abnormal data and the protocol regulation, update the network blind spot and the state of the operator in time to perform network optimization and mention uplink, so that the user terminal can acquire the network configuration parameters for network optimization from the block chain and perform local adaptive update, thereby avoiding access abnormality during network searching, network selection and network switching and further achieving the purpose of better adapting to the network.
Optionally, the first block chain and the second block chain are the same public chain or private chain; alternatively, the first and second electrodes may be,
the first block chain is a private chain of a terminal equipment side or an operator, and the second block chain is a public chain.
If the first blockchain is a private chain, before step 220, the method further includes:
and initiating an access request to the first block chain so that the first block chain allows the user terminal to access under the condition that the user terminal is determined to pass the authentication.
Fig. 3 is a flowchart of a method for processing network configuration parameters on the terminal device side or the operator side according to another embodiment of the present invention, where the method may be executed by the terminal device side 102 in fig. 1a or the operator 114 in fig. 1b, and with reference to fig. 3, the method may specifically include the following steps:
step 320, determining updated network configuration parameters and version numbers;
step 340, submitting the updated network configuration parameters and the version number to a blockchain, so that the user terminal obtains the updated network configuration parameters from the blockchain based on the version number of the locally maintained network configuration parameters and updates the local network configuration parameters.
If the method is executed by the terminal device side 102 in fig. 1a, step 320 may specifically be:
acquiring updated network configuration parameters provided by an operator from a block chain; and carrying out adaptive updating of the terminal equipment based on the updated network configuration parameters.
If the method is executed by the operator 114 in fig. 1b, step 340 may specifically be:
and submitting the updated network configuration parameters and the version number to a block chain so that a user terminal or a terminal equipment side can acquire the updated network configuration parameters from the block chain based on the version number of the locally maintained network configuration parameters and update the local network configuration parameters.
In addition, it should be noted that fig. 2 and fig. 3 respectively illustrate the present solution from the user terminal side and the terminal device side/operator side, and since specific steps of the present solution have been given in fig. 2 in a specific implementation manner, steps in the embodiment corresponding to fig. 3 are not repeated here.
For the embodiments corresponding to fig. 2 and fig. 3, by linking the network configuration parameters up, when the network configuration parameters are updated, the ue can read the updated network configuration parameters from the block chain and perform local adaptive update. Compared with the scheme of updating the network configuration parameters by sending versions in the prior art, the method can effectively improve the updating efficiency and accuracy of the network configuration parameters; network modes such as WIFI/BT/4G/5G are accessed, the blind spots and states of the operator network are updated in time, so that the user terminal can update information adaptively, and the purpose of better adapting to the network is achieved; the user terminal stores and sets corresponding failure exception according to a specific requirement format, which is beneficial to the timely diagnosis and processing of an operator and avoids interactive exception processing of the operator, a terminal manufacturer and the like; the chip manufacturer directly updates the parameter configuration provided by the chip manufacturer through the public chain information storage of the operator under the condition that the operator allows access modification, and reduces the workload of links such as communication import version release and the like of the chip manufacturer/terminal/operator.
Fig. 4 is a schematic flow chart of a method for processing network configuration parameters according to another embodiment of the present invention, and referring to fig. 4, the method may specifically include the following steps:
step 402, the user terminal sets API parameters according to a network protocol;
step 404, the user terminal accesses to the operator network; the method specifically comprises the following steps:
step S1, the user terminal accesses the block chain through the Hash algorithm;
the hash algorithm is a one-way cryptographic mechanism for ensuring that information is not tampered in a blockchain. After receiving a section of plaintext, the hash algorithm converts the plaintext into a section of scattered data with a short length and a fixed number of bits in an irreversible manner. It has two characteristics: 1. the encryption process is irreversible, which means that the original plaintext cannot be deduced by the output hash data; 2. the input plaintext and the output scattered data are in one-to-one correspondence, and any change of input information necessarily causes the change of the finally output scattered data.
And step S2, the user terminal defaults to preset block link access authentication, information reading, information updating, information storage and the like according to the industry protocol.
And step S3, selecting a specific operator to access through a specific network type.
Wherein, the network system includes: WIFI/WLAN/BT/4G/5G, etc.
Therefore, public chain data corresponding to the block chain can be acquired, and data reading, updating of mobile phone parameters and data writing in an allowable range are achieved.
Step 406, the operator determines and updates the network configuration parameter update information;
wherein, the network configuration parameters include: updating APN parameter configuration (APN name/IP type), updating terminal network access parameters, updating communication service parameters such as IMS/VoLTE/VoWifi/ViLTE and the like, and updating parameters such as WLAN/OMA and the like.
Step 408, the user terminal adaptively updates the network configuration parameters;
step 410, the user terminal operates based on the network configuration parameters;
step 412, when the operation is abnormal, the user terminal generates an abnormal report and writes the abnormal report into the block chain;
and step 414, the operator/terminal equipment side performs network optimization updating based on the exception report.
Therefore, in the embodiment, as long as the user terminal presets the corresponding interface, the update can be reasonably performed and timely updated within the authentication verification and allowable operation range, and the terminal can be automatically updated. Compared with the prior art that any service new requirement or requirement change exists for operators/equipment manufacturers, terminal manufacturers need to obtain corresponding configuration parameters through related operator interface persons, then carry out technical evaluation according to the terminal technical framework/chip condition, import the parameters into terminal design, test and verify terminal versions, and release versions after the parameters are qualified. The scheme has no problems of requirement hysteresis, inaccuracy, long version release time and the like. And for the possible occurrence of corresponding service abnormality in the use process of the user terminal, the user terminal presets a corresponding API according to the requirements of an operator and the like, and writes corresponding abnormal data according to a fixed specification format through a block chain after obtaining the authentication permission operation, so as to provide network optimization reference for a terminal manufacturer, an equipment manufacturer and the operator.
Fig. 5 is a schematic structural diagram of a network configuration parameter processing apparatus according to an embodiment of the present invention, and referring to fig. 5, the apparatus may specifically include: a sending module 51, a receiving module 52 and an updating module 53, wherein:
a sending module 51, configured to initiate a first access request to a first blockchain, where the first access request carries a first version number of a locally maintained network configuration parameter and a digital certificate, so that the first blockchain performs consensus verification on the first access request;
a receiving module 52, configured to receive a first query result returned by the first blockchain when the consensus result passes, where the first query result carries a network configuration parameter corresponding to a second version number maintained by the first blockchain, and the second version number is different from the first version number;
and the updating module 53 is configured to update the local network configuration parameter based on the network configuration parameter corresponding to the second version number.
Optionally, the sending module 51 is further configured to:
and initiating an access request to the first block chain so that the first block chain allows the user terminal to access under the condition that the user terminal is determined to pass the authentication.
Optionally, the sending module 51 is further configured to:
and initiating a second access request to a second block chain, wherein the second access request carries a service exception report and a digital certificate, so that the second block chain writes the service exception report into a block under the condition that the second access request is determined to pass consensus verification.
Optionally, the service exception report includes: a type of service, a network parameter used by the service, an exception type.
Optionally, the first block chain and the second block chain are the same public chain or private chain; alternatively, the first and second electrodes may be,
the first block chain is a private chain, and the second block chain is a public chain.
Optionally, the first version number of the locally maintained network configuration parameter includes: a first sub-version number of the operator network configuration parameter and a first sub-version number of the chip manufacturer network configuration parameter;
and the first query result carries a second sub-version number of the network configuration parameter of the operator and/or a second sub-version number of the network configuration parameter of the chip manufacturer.
Optionally, the network configuration parameters include: one or more of APN parameters, network access parameters, communication service parameters, WLAN protocol, OMA protocol.
Optionally, the updating module 53 is further configured to:
and updating the first version number of the locally maintained network configuration parameters into the second version number.
Optionally, the receiving module 52 is further configured to:
and receiving a second query result returned by the first block chain when the consensus result is failed, wherein the second query result is used for prompting that the network configuration parameters are not updated.
Fig. 6 is a schematic structural diagram of a network configuration parameter processing apparatus according to another embodiment of the present invention, and referring to fig. 6, the apparatus may specifically include: a determination module 61 and a submission module 62, wherein:
a determining module 61, configured to determine updated network configuration parameters and version numbers;
a submitting module 62, configured to submit the updated network configuration parameter and the version number to the blockchain, so that the user terminal obtains the updated network configuration parameter from the blockchain based on the version number of the locally maintained network configuration parameter and updates the local network configuration parameter.
For the embodiments corresponding to fig. 5 and fig. 6, by linking the network configuration parameters up, when the network configuration parameters are updated, the ue can read the updated network configuration parameters from the block chain and perform local adaptive update. Compared with the scheme of updating the network configuration parameters by sending versions in the prior art, the method can effectively improve the updating efficiency and accuracy of the network configuration parameters; network modes such as WIFI/BT/4G/5G are accessed, the blind spots and states of the operator network are updated in time, so that the user terminal can update information adaptively, and the purpose of better adapting to the network is achieved; the user terminal stores and sets corresponding failure exception according to a specific requirement format, which is beneficial to the timely diagnosis and processing of an operator and avoids interactive exception processing of the operator, a terminal manufacturer and the like; the chip manufacturer directly updates the parameter configuration provided by the chip manufacturer through the public chain information storage of the operator under the condition that the operator allows access modification, and reduces the workload of links such as communication import version release and the like of the chip manufacturer/terminal/operator.
Fig. 7 is a schematic structural diagram of an electronic device 100 according to an embodiment of the present invention, where the electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. In the embodiment of the present invention, the mobile terminal includes, but is not limited to, a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted terminal, a wearable device, a pedometer, and the like.
The processor 110 is configured to initiate a first access request to a first blockchain, where the first access request carries a first version number of a locally maintained network configuration parameter and a digital certificate, so that the first blockchain performs consensus verification on the first access request;
receiving a consensus result which is a first query result returned by the first blockchain when the consensus result passes, wherein the first query result carries network configuration parameters corresponding to a second version number maintained by the first blockchain, and the second version number is different from the first version number;
and updating the local network configuration parameters based on the network configuration parameters corresponding to the second version number.
Alternatively, the first and second electrodes may be,
determining updated network configuration parameters and version numbers;
and submitting the updated network configuration parameters and the version number to a block chain so that the user terminal can acquire the updated network configuration parameters from the block chain based on the version number of the locally maintained network configuration parameters and update the local network configuration parameters.
Based on this, by linking the network configuration parameters, when the network configuration parameters are updated, the ue can read the updated network configuration parameters from the blockchain and perform local adaptive update. Compared with the scheme of updating the network configuration parameters by sending versions in the prior art, the method can effectively improve the updating efficiency and accuracy of the network configuration parameters.
It should be understood that, in the embodiment of the present invention, the radio frequency unit 101 may be used for receiving and sending signals during a message transmission or call process, and specifically, after receiving downlink data from a base station, the downlink data is processed by the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through a wireless communication system.
The mobile terminal provides wireless broadband internet access to the user through the network module 102, such as helping the user send and receive e-mails, browse webpages, access streaming media, and the like.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the network module 102 or stored in the memory 109 into an audio signal and output as sound. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 includes a speaker, a buzzer, a receiver, and the like.
The input unit 104 is used to receive an audio or video signal. The input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics processor 1041 processes image data of a still picture or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the network module 102. The microphone 1042 may receive sound and may be capable of processing such sound into audio data. The processed audio data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally three axes), detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), and vibration identification related functions (such as pedometer, tapping); the sensors 105 may also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which are not described in detail herein.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 includes a touch panel 1071 and other input devices 1072. Touch panel 1071, also referred to as a touch screen, may collect touch operations by a user on or near the touch panel 1071 (e.g., operations by a user on or near touch panel 1071 using a finger, stylus, or any suitable object or attachment). The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and receives and executes commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. Specifically, other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
Further, the touch panel 1071 may be overlaid on the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although in fig. 7, the touch panel 1071 and the display panel 1061 are two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 is an interface through which an external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
In addition, the mobile terminal 100 includes some functional modules that are not shown, and thus, the detailed description thereof is omitted.
The embodiment of the present invention further 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 processor, the computer program implements each process of the above-mentioned network configuration parameter processing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here. The computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A network configuration parameter processing method is characterized by comprising the following steps:
initiating a first access request to a first blockchain, where the first access request carries a first version number of a locally maintained network configuration parameter and a digital certificate, so that the first blockchain performs consensus verification on the first access request, where the consensus verification on the first access request at least includes: verifying whether the digital certificate is legal or not, and whether the first version number is consistent with a second version number of the network configuration parameters maintained by the first blockchain or not;
receiving a consensus result which is a first query result returned by the first blockchain when the consensus result passes, wherein the first query result carries network configuration parameters corresponding to a second version number maintained by the first blockchain, and the second version number is different from the first version number;
and updating the local network configuration parameters based on the network configuration parameters corresponding to the second version number.
2. The method of claim 1, prior to initiating the first access request to the first blockchain, further comprising:
and initiating an access request to the first block chain so that the first block chain allows the user terminal to access under the condition that the user terminal is determined to pass the authentication.
3. The method of claim 1, further comprising:
and initiating a second access request to a second block chain, wherein the second access request carries a service exception report and a digital certificate, so that the second block chain writes the service exception report into a block under the condition that the second access request is determined to pass consensus verification.
4. The method of claim 3, wherein the service exception report comprises: a type of service, a network parameter used by the service, an exception type.
5. The method of claim 3,
the first block chain and the second block chain are the same public chain or private chain; alternatively, the first and second electrodes may be,
the first block chain is a private chain, and the second block chain is a public chain.
6. The method of claim 1, wherein the first version number of the locally maintained network configuration parameter comprises: a first sub-version number of the operator network configuration parameter and a first sub-version number of the chip manufacturer network configuration parameter;
and the first query result carries a second sub-version number of the network configuration parameter of the operator and/or a second sub-version number of the network configuration parameter of the chip manufacturer.
7. The method of claim 1, wherein the network configuration parameters comprise: one or more of APN parameters, network access parameters, communication service parameters, WLAN protocol, OMA protocol.
8. The method of any one of claims 1-7, further comprising:
and updating the first version number of the locally maintained network configuration parameters into the second version number.
9. The method of any of claims 1-7, wherein after initiating the first access request to the first blockchain, further comprising:
and receiving a second query result returned by the first block chain when the consensus result is failed, wherein the second query result is used for prompting that the network configuration parameters are not updated.
10. A network configuration parameter processing method is characterized by comprising the following steps:
determining updated network configuration parameters and version numbers;
submitting the updated network configuration parameters and the version number to a blockchain so that a user terminal can acquire the updated network configuration parameters from the blockchain and update the local network configuration parameters based on the version number of the locally maintained network configuration parameters, wherein the updated network configuration parameters are returned to the user terminal after passing consensus verification of a first access request sent by the user terminal through the blockchain, the first access request carries the locally maintained network configuration parameters and a digital certificate, and the consensus verification of the version number of the first access request at least comprises the following steps: and verifying whether the digital certificate is legal or not, and whether the version number of the locally maintained network configuration parameter is consistent with the version number of the updated network configuration parameter or not.
11. A network configuration parameter processing apparatus, comprising:
a sending module, configured to initiate a first access request to a first blockchain, where the first access request carries a first version number of a locally maintained network configuration parameter and a digital certificate, so that the first blockchain performs consensus verification on the first access request, where the consensus verification on the first access request at least includes: verifying whether the digital certificate is legal or not, and whether the first version number is consistent with a second version number of the network configuration parameters maintained by the first blockchain or not;
a receiving module, configured to receive a first query result returned by the first blockchain when a consensus result passes, where the first query result carries a network configuration parameter corresponding to a second version number maintained by the first blockchain, and the second version number is different from the first version number;
and the updating module is used for updating the local network configuration parameters based on the network configuration parameters corresponding to the second version number.
12. A network configuration parameter processing apparatus, comprising:
the determining module is used for determining the updated network configuration parameters and the version number;
a submitting module, configured to submit the updated network configuration parameter and the version number to a blockchain, so that a user terminal obtains the updated network configuration parameter from the blockchain based on the version number of the locally maintained network configuration parameter and updates the local network configuration parameter, where the updated network configuration parameter is returned to the user terminal after passing consensus verification of a first access request sent by the user terminal through the blockchain, where the first access request carries the version number of the locally maintained network configuration parameter and a digital certificate, and the consensus verification of the first access request at least includes: and verifying whether the digital certificate is legal or not, and whether the version number of the locally maintained network configuration parameter is consistent with the version number of the updated network configuration parameter or not.
13. An electronic device, comprising: memory, processor and computer program stored on the memory and executable on the processor, which computer program, when executed by the processor, carries out the steps of the method according to any one of claims 1 to 10.
14. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 10.
CN201810975139.6A 2018-08-24 2018-08-24 Network configuration parameter processing method, device and equipment Active CN109218082B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810975139.6A CN109218082B (en) 2018-08-24 2018-08-24 Network configuration parameter processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810975139.6A CN109218082B (en) 2018-08-24 2018-08-24 Network configuration parameter processing method, device and equipment

Publications (2)

Publication Number Publication Date
CN109218082A CN109218082A (en) 2019-01-15
CN109218082B true CN109218082B (en) 2021-08-24

Family

ID=64989146

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810975139.6A Active CN109218082B (en) 2018-08-24 2018-08-24 Network configuration parameter processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN109218082B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111327457B (en) * 2020-01-21 2022-07-05 山东公链信息科技有限公司 Block link interface configuration method based on communication security authentication
CN111966373B (en) * 2020-08-11 2023-09-12 Oppo(重庆)智能科技有限公司 APN resetting method, terminal equipment and storage medium
CN112737793B (en) * 2021-03-30 2021-09-28 支付宝(杭州)信息技术有限公司 Method and device for updating block chain domain name configuration

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273760A (en) * 2017-06-09 2017-10-20 济南浪潮高新科技投资发展有限公司 One kind is based on many CA application authentication methods of block chain

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100411489C (en) * 2006-02-08 2008-08-13 中国移动通信集团公司 Method of reporting stored configuration parameter information by mobile terminal
US8787182B2 (en) * 2009-05-18 2014-07-22 Comcast Cable Holdings, Llc Configuring network devices
CN104735164B (en) * 2015-04-10 2018-05-18 网易(杭州)网络有限公司 A kind of method and apparatus of save file information
CN108139964B (en) * 2017-12-06 2020-08-07 深圳达闼科技控股有限公司 Cloud service configuration method and device, storage medium and cloud service system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273760A (en) * 2017-06-09 2017-10-20 济南浪潮高新科技投资发展有限公司 One kind is based on many CA application authentication methods of block chain

Also Published As

Publication number Publication date
CN109218082A (en) 2019-01-15

Similar Documents

Publication Publication Date Title
CN109257336B (en) Block chain-based password information processing method and terminal equipment
CN110035546B (en) Transmission method, mobile terminal and network equipment
CN108901020B (en) Network access method, mobile terminal and server
CN109218082B (en) Network configuration parameter processing method, device and equipment
CN107423099B (en) Key code programming method, server, terminal, key code programming system and storage medium
CN111049980A (en) Application sharing method, electronic equipment and computer readable storage medium
CN110913455B (en) Method for forbidding abnormal cell, electronic equipment and server
CN111107223B (en) Message processing method and electronic equipment
US20220110036A1 (en) Random access method and terminal
CN115174418A (en) Communication environment safety early warning method and device, electronic equipment and storage medium
CN108093119B (en) Strange incoming call number marking method and mobile terminal
CN107835297B (en) Information updating method, mobile terminal and computer readable storage medium
CN111615198A (en) Resource determining method, resource indicating method, terminal and network side equipment
CN110730013B (en) Method for improving transmission stray and mobile terminal
CN109451011B (en) Information storage method based on block chain and mobile terminal
CN111343618B (en) Display method and electronic equipment
CN111356096B (en) Information sending method and electronic equipment
CN110912624B (en) Digital pre-distortion processing method and electronic equipment
CN108646928B (en) Character input method and terminal equipment
CN109783379B (en) Script execution exception determining method and device
CN109284119B (en) Application function control parameter processing method, device and equipment
CN109005377B (en) Video processing method and terminal equipment
CN109067481B (en) Signal strength indication method and terminal
CN110990029A (en) Application processing method and electronic equipment
CN112787769A (en) Method, device, equipment and storage medium for determining NFI

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