Disclosure of Invention
The invention aims to provide an operation parameter instant updating method of communication equipment and the communication equipment, so as to solve the problems that the operation parameters are frequently reported when updating after issuing the configuration parameters due to different operation environments of the communication equipment, the failure rate of the operation parameter updating is higher, in addition, a rollback parameter is needed after the updating fails, and the burden of a communication network is larger when the updating of a large number of communication equipment is unified in the prior art due to the huge quantity of the communication equipment, which is proposed in the background art.
In order to achieve the above purpose, the present invention provides the following technical solutions:
an operation parameter instant updating method of communication equipment is applied to instant updating of operation parameters of a communication equipment group, wherein the communication equipment group comprises at least one communication equipment and comprises the following steps:
s10, acquiring target configuration information, and transmitting the target configuration information to pre-update communication equipment, wherein the pre-update communication equipment is communication equipment randomly selected from a communication equipment group;
s20, receiving update feedback sent by pre-update communication equipment, wherein the update feedback is an update result of the communication equipment for updating based on the target configuration information, and comprises update failure and update success;
s30, judging whether the pre-updated communication equipment is updated successfully or not based on the update feedback, and if so, sending target configuration information to other communication equipment in the communication equipment group, otherwise, failing to update;
and S40, receiving update feedback of the other communication devices, and marking the communication device with failed update when the update feedback of any one of the other communication devices is failed update.
As a further scheme of the invention: the step S10 includes:
s11, acquiring target configuration information and pre-updating communication equipment;
s12, acquiring current operation parameters of the pre-updated communication equipment;
s13, extracting current configuration information from current operation parameters of the pre-updated communication equipment;
s14, judging whether the target configuration information is the same as the current configuration information, if so, sending the target configuration information to the pre-update communication equipment, and if so, reselecting the pre-update communication equipment, and performing step S12.
As still further aspects of the invention: the method for selecting the pre-update communication equipment comprises the following steps:
marking each communication device in the communication device group to obtain labels corresponding to the communication devices one by one, and forming a label library by all labels;
and inputting the label library as an input value into a random algorithm model to obtain an output value label, wherein communication equipment corresponding to the output value label is pre-updated communication equipment extracted randomly.
Further, in step S14, when the pre-update device needs to be selected again, the label corresponding to the current pre-update device should be deleted from the label library, and the rest of the labels are used as a new label library, so as to avoid that the current pre-update device is selected again.
As still further aspects of the invention: in step S20, the method for generating the update result includes the following steps:
s21, receiving target configuration information, wherein the target configuration information comprises an update command and configuration parameters;
s22, checking the configuration parameters, when the configuration parameters are checked successfully, performing step S23 based on the checked configuration parameters, and when the configuration parameters are checked successfully, sending an update failure notification;
s23, updating based on the target configuration information.
As still further aspects of the invention: in step S23, the method for updating based on the target configuration information includes the steps of:
step one, acquiring target configuration information, wherein the target configuration information comprises an update command and configuration parameters;
step two, backing up the current operation parameters;
and thirdly, updating and setting the current operation parameters based on the configuration parameters, judging whether the configuration parameters are set successfully, updating successfully when all the configuration parameters are set successfully, and returning all the updated configuration parameters to the current operation parameters when any one of the configuration parameters is set failed.
When the pre-update of the communication equipment/other communication equipment fails, the target configuration information is stopped to be issued, when the operation parameters of the communication equipment are updated immediately, the target configuration information issued to the communication equipment may be batched configuration information, generally, the batched configuration information needs to be configured in batches and sequentially, when the configuration of a certain type of configuration information fails, the communication equipment or the configuration information needs to be reset, therefore, when the configuration fails, the issuing of the target configuration information is stopped, and the invalid update of the communication equipment by the instant update server is avoided.
As still further aspects of the invention: step S30 further includes:
when the pre-update communication equipment is successfully updated, a first update success prompt is generated;
when the pre-update communication device fails to update, a first update failure prompt is generated.
As still further aspects of the invention: step S40 further includes:
when the update feedback of any one of the other communication devices is the update failure, generating a second update failure prompt;
and when all the other communication devices are updated successfully, generating a second update success prompt.
The communication device performs verification on the configuration parameters carried in the received target configuration information, and the specific verification method can be set in advance according to the configuration parameters, the application scenario and the like. For example, a verification rule is preset for each parameter configuration command in the communication device, and is used for verifying whether the configuration parameters carried by the target configuration information meet requirements, and the verification content includes, but is not limited to: whether the value of the configuration parameter is in the correct range, whether the current running state of the communication equipment allows the addition, deletion and modification of the configuration parameter, whether the relation between the value of the configuration parameter and other relevant parameters running accords with the algorithm requirement, and the like.
As still further aspects of the invention: the method also comprises the steps of generating an update report: and generating an update report based on the first update error prompt and the second update error prompt and the first update success prompt and the second update success prompt, and ending the update event.
A communication device, the communication device is applied to the method for immediately updating the operation parameters of the communication device, and the method comprises the following steps:
the receiving module is used for receiving target configuration information, wherein the target configuration information comprises an update command and configuration parameters;
the verification module is used for verifying the configuration parameters;
the processing module is used for backing up the current operation parameters in the file system of the communication equipment; the method is also used for updating the current operation parameters into configuration parameters after the configuration parameters are successfully checked;
and the storage module is used for storing the current operation parameters, the backed-up current operation parameters and the configuration parameters in the file system of the communication equipment.
Further, the storage module includes at least three partitions, specifically:
first partition: for storing current operating parameters in the communication device file system;
second partition: the method is used for storing the current operation parameters after backup; and
third partition: the third partition is a temporary storage partition, and the configuration parameters stored in the partition are deleted after updating is completed.
As still further aspects of the invention: the system also comprises a sending module, wherein the sending module is used for sending an update failure notification when the verification of the configuration parameters fails and the update of the current operation parameters to the configuration parameters fails.
The invention also provides an instant update server which is in communication connection with the communication equipment, and the instant update server comprises:
the system comprises an acquisition module, a communication device and an updating feedback module, wherein the acquisition module is used for acquiring target configuration information and updating feedback, the target configuration information is uploaded to an instant updating server by a user, the updating feedback is sent to the instant updating server by the communication device, and the updating feedback is an updating result of the communication device based on the target configuration information, and comprises updating failure and updating success;
and the issuing module is used for sending the target configuration information to the rest communication equipment when the pre-update communication equipment is updated successfully.
Further, the instant update server further comprises a classification module, wherein the classification module comprises a marking unit, a processing unit and a database, and the classification module comprises:
the marking unit is used for marking the communication equipment to obtain marks corresponding to the communication equipment one by one;
the database is used for storing the labels, and the labels stored in the database form a label library together;
the processing unit inputs all labels in the label library into the random algorithm module to obtain output value labels; and the communication equipment corresponding to the output value label is used as pre-update communication equipment, and the communication equipment corresponding to other labels is used as other communication equipment.
The invention also provides an operation parameter instant updating system of the communication equipment, which comprises a communication equipment group and an instant updating server, wherein the communication equipment group comprises at least one communication equipment, and the communication equipment is in communication connection with the instant updating server.
Compared with the prior art, the invention has the beneficial effects that: when the running parameters of the communication equipment group formed by a plurality of communication equipment are updated in real time, one communication equipment in the communication equipment group is selected randomly to serve as pre-updating equipment, the pre-updating equipment is updated firstly, and then the rest communication equipment is updated when the pre-updating equipment is updated successfully, so that the communication equipment is checked before being updated, the probability of updating failure is reduced, the risk of updating failure is reduced, the loss quantity of updating failure is reduced, and meanwhile, the data transmission burden of a communication network is lightened.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Communication systems are widely deployed to provide various types of communication content such as data, voice, video, and the like, and these systems may be multiple access systems capable of supporting simultaneous communication of a plurality of communication devices (e.g., wireless communication devices, access terminals, etc.) with one or more other communication devices (e.g., base stations, servers, access points, etc.), where the communication devices need to continuously update operation parameters during operation, and because the number of communication devices is huge, although the operation parameters are detected by parameter configuration before delivery, the configuration parameters are frequently reported after delivery due to different operation environments of the respective communication devices, resulting in a high failure rate of the operation parameter update, and in addition, a back-off parameter is needed after the update failure, where the communication network is burdened with a large number of communication devices failing to update uniformly in the prior art.
Based on this, referring to fig. 1 to 4, in an embodiment of the present invention, a method for updating operation parameters of a communication device in real time is applied to updating operation parameters of a communication device group, where the communication device group includes at least one communication device, and the method includes the following steps:
s10, acquiring target configuration information, and transmitting the target configuration information to pre-update communication equipment, wherein the pre-update communication equipment is communication equipment randomly selected from a communication equipment group;
the specific steps of step S10 in the embodiment of the present invention are as follows:
s11, acquiring target configuration information and pre-updating communication equipment;
s12, acquiring current operation parameters of the pre-updated communication equipment;
s13, extracting current configuration information from current operation parameters of the pre-updated communication equipment;
s14, judging whether the target configuration information is the same as the current configuration information, if so, sending the target configuration information to the pre-update communication equipment, and if so, reselecting the pre-update communication equipment, and performing step S12.
It should be noted that, communication systems are widely deployed to provide various types of communication content such as data, voice, video, etc., where the systems may be multiple access systems capable of supporting simultaneous communication of multiple communication devices (e.g., wireless communication devices, access terminals, etc.) with one or more other communication devices (e.g., base stations, servers, access points, etc.), a communication device group in an embodiment of the present invention refers to a device group including at least one communication device, and the device group communicates with an operation parameter instant update server that is used to issue target configuration information to each communication device in the communication device group, where the target configuration information includes an update command and a configuration parameter.
Further, in the embodiment of the present invention, the method for selecting the pre-update communication device includes:
1) Marking each communication device in the communication device group to obtain a label corresponding to the communication device one by one, wherein all labels form a label library together, and the fact that repeated labels do not exist in the label library is needed to be explained;
2) Inputting a label library as an input value into a random algorithm model to obtain an output value label, wherein communication equipment corresponding to the output value label is pre-updated communication equipment extracted randomly;
in addition, in step S14, when the pre-update device needs to be selected again, the label corresponding to the current pre-update device should be deleted from the label library, and the rest of the labels are used as a new label library, so as to avoid that the current pre-update device is selected again.
S20, receiving update feedback sent by pre-update communication equipment, wherein the update feedback is an update result of the communication equipment for updating based on the target configuration information, and comprises update failure and update success;
s30, judging whether the pre-updated communication equipment is updated successfully or not based on the update feedback, and if so, sending target configuration information to other communication equipment in the communication equipment group, otherwise, failing to update;
and S40, receiving update feedback of the other communication devices, and marking the communication device with failed update when the update feedback of any one of the other communication devices is failed update.
In the embodiment of the present invention, when the pre-update of the communication device/other communication devices fails, the target configuration information is stopped to be sent, when the operation parameters of the communication device are updated immediately, the target configuration information sent to the communication device may be configuration information of a batch, generally, the configuration information of the batch needs to be configured in batches and sequentially, and when the configuration of a certain type of configuration information fails, the communication device or the configuration information needs to be reset, so that when the configuration fails, the embodiment stops sending the target configuration information, and avoids the invalid update of the communication device by the instant update server.
In step S20 of the embodiment of the present invention, the method for generating the update result of the communication device for updating based on the target configuration information includes the steps of:
s21, receiving target configuration information, wherein the target configuration information comprises an update command and configuration parameters;
s22, checking the configuration parameters, when the configuration parameters are checked successfully, performing step S23 based on the checked configuration parameters, and when the configuration parameters are checked successfully, sending an update failure notification;
s23, updating based on the target configuration information;
it should be noted that, in the embodiment of the present invention, the communication device checks the configuration parameters carried in the received target configuration information, and the specific checking method may be set in advance according to the configuration parameters, the application scenario, and the like. For example, a verification rule is preset for each parameter configuration command in the communication device, and is used for verifying whether the configuration parameters carried by the target configuration information meet requirements, and the verification content includes, but is not limited to: whether the value of the configuration parameter is in the correct range, whether the current running state of the communication equipment allows the addition, deletion and modification of the configuration parameter, whether the relation between the value of the configuration parameter and other relevant parameters running accords with the algorithm requirement, and the like.
Further, in step S23 of the embodiment of the present invention, the method for updating the communication device based on the target configuration information includes the following steps:
step one, acquiring target configuration information, wherein the target configuration information comprises an update command and configuration parameters;
step two, backing up the current operation parameters;
and thirdly, updating and setting the current operation parameters based on the configuration parameters, judging whether the configuration parameters are set successfully, updating successfully when all the configuration parameters are set successfully, and returning all the updated configuration parameters to the current operation parameters when any one of the configuration parameters is set failed.
It should be noted that, the operation parameter update of the communication device is to set the value of the current operation parameter as the value of the configuration parameter, that is, the method for returning the updated configuration parameter to the current operation parameter is to: the value of the updated configuration parameter is set to the value of the current operating parameter (backed up before update).
In the embodiment of the present invention, step S30 further includes:
when the pre-update communication equipment is successfully updated, a first update success prompt is generated;
when the pre-update communication equipment fails to update, generating a first update failure prompt;
in the embodiment of the present invention, step S40 further includes:
when the update feedback of any one of the other communication devices is the update failure, generating a second update failure prompt;
generating a second update success prompt when all other communication devices are updated successfully;
further, the method also comprises an update report generation step, which specifically comprises the following steps: and generating an update report based on the first update error prompt and the second update error prompt and the first update success prompt and the second update success prompt, and ending the update event.
The present invention also provides a communication device 10, where the communication device 10 is applied to the method for timely updating the operation parameters of the communication device, and the communication device 10 includes:
a receiving module 11, configured to receive target configuration information, where the target configuration information includes an update command and a configuration parameter;
a verification module 12, configured to verify the configuration parameters;
a processing module 13, configured to backup current operation parameters in the file system of the communication device, where the operation occurs after receiving an update command; the method is also used for updating the current operation parameters into configuration parameters after the configuration parameters are successfully checked;
a storage module 14, configured to store current operation parameters, backed up current operation parameters, and configuration parameters in the file system of the communication device;
in the embodiment of the present invention, the storage module 14 includes at least three partitions, specifically:
first partition: for storing current operating parameters in the communication device file system;
second partition: the method is used for storing the current operation parameters after backup; and
third partition: the third partition is a temporary storage partition, and the configuration parameters stored in the partition are deleted after updating is completed;
in addition, in the embodiment of the present invention, the communication device further includes a sending module 15, where the sending module 15 is configured to send an update failure notification when the configuration parameter check fails and the current operation parameter is updated to the configuration parameter.
The present invention also provides an instant update server 20, the instant update server 20 being communicatively connected to the communication device 10, the instant update server comprising:
the obtaining module 21 is configured to obtain target configuration information and update feedback, where the target configuration information is uploaded to the instant update server by the user, and the update feedback is sent to the instant update server by the communication device, and the update feedback is an update result that the communication device performs update based on the target configuration information, and includes update failure and update success;
and the issuing module 22 is configured to send the target configuration information to the rest of the communication devices when the pre-update communication device is updated successfully.
Further, in the embodiment of the present invention, the instant update server further includes a classification module 23, where the classification module includes a marking unit, a processing unit, and a database, and the classification module includes:
the marking unit is used for marking the communication equipment to obtain marks corresponding to the communication equipment one by one;
the database is used for storing the labels, and the labels stored in the database form a label library together;
the processing unit inputs all labels in the label library into the random algorithm module to obtain output value labels; and the communication equipment corresponding to the output value label is used as pre-update communication equipment, and the communication equipment corresponding to other labels is used as other communication equipment.
The invention also provides an operation parameter instant updating system of the communication equipment, which comprises a communication equipment group and an instant updating server 20, wherein the communication equipment group comprises at least one communication equipment 10, and the communication equipment is in communication connection with the instant updating server.
The technical scheme of the embodiment of the invention can be applied to various communication systems, such as: global system for mobile communications (Global System of Mobile communication, GSM), code division multiple access (Code DivisionMultiple Access, CDMA) system, wideband code division multiple access (Wideband Code Division MultipleAccess, WCDMA) system, general packet radio service (General Packet Radio Service, GPRS), long term evolution (Long Term Evolution, LTE) system, LTE frequency division duplex (Frequency Division Duplex, FDD) system, LTE time division duplex (Time Division Duplex, TDD), and the like.
In summary, the invention discloses a method for updating operation parameters of communication equipment in real time and the communication equipment, and relates to the technical field of parameter updating of the communication equipment, wherein the method comprises the following steps: acquiring target configuration information and transmitting the target configuration information to pre-update communication equipment; receiving update feedback sent by pre-update communication equipment; judging whether the pre-updated communication equipment is updated successfully or not based on the updating feedback, and sending target configuration information to other communication equipment in the communication equipment group when the updating is successful; and receiving the update feedback of the other communication devices, and marking the communication device with failed update when the update feedback of any one of the other communication devices is failed update. The invention checks before updating a plurality of communication devices, reduces the probability of updating failure, reduces the risk of updating failure, reduces the loss of updating failure, and simultaneously reduces the data transmission burden of the communication network.
Further, some embodiments may include a storage medium having a program for executing the method described in the present specification on a computer, on which at least one instruction, at least one program, a code set, or an instruction set is stored, which when loaded and executed by a processor, implements the steps of the above-described method embodiments, examples of the computer-readable recording medium include hardware devices specifically configured for storing and executing program commands, magnetic media such as hard disks, floppy disks, and magnetic tape, optical recording media such as CD-ROMs, DVDs, magneto-optical media such as floppy disks, and ROMs, RAMs, flash memories, and the like. Examples of program commands may include: machine language code written by a compiler, and high-level language generations executed by a computer using an interpreter or the like.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential characteristics thereof. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Furthermore, it should be understood that although the present disclosure describes embodiments, not every embodiment is provided with a separate embodiment, and that this description is provided for clarity only, and that the disclosure is not limited to the embodiments described in detail below, and that the embodiments described in the examples may be combined as appropriate to form other embodiments that will be apparent to those skilled in the art.