WO2016070558A1 - 校验处理方法及装置 - Google Patents

校验处理方法及装置 Download PDF

Info

Publication number
WO2016070558A1
WO2016070558A1 PCT/CN2015/075575 CN2015075575W WO2016070558A1 WO 2016070558 A1 WO2016070558 A1 WO 2016070558A1 CN 2015075575 W CN2015075575 W CN 2015075575W WO 2016070558 A1 WO2016070558 A1 WO 2016070558A1
Authority
WO
WIPO (PCT)
Prior art keywords
verification
base station
file
instruction
network management
Prior art date
Application number
PCT/CN2015/075575
Other languages
English (en)
French (fr)
Inventor
叶小仁
唐雄
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016070558A1 publication Critical patent/WO2016070558A1/zh

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

Definitions

  • the present invention relates to the field of communications, and in particular to a verification processing method and apparatus.
  • the staff prepares the base station configuration data during the daytime working hours, upgrades or updates the base station configuration data at night, and thus needs to configure the base station configuration data. Check before sending to find errors in advance.
  • the present invention provides a verification processing method and apparatus to at least solve the problems caused by providing base station configuration data and authorization data pre-verification on the network management side in the related art.
  • a verification processing method including: receiving, by a network management, a verification instruction for instructing a base station to perform verification of a verification file; and performing the calibration according to the verification instruction Check the file for verification.
  • the verifying process of the to-be-checked file according to the verification instruction includes at least one of: performing verification processing according to the verification instruction, the license file, and current working data of the base station;
  • the verification command, the configuration data, and the license file of the base station are subjected to verification processing; and the verification processing is performed according to the verification instruction, the license file, and the configuration data.
  • performing the verification process on the to-be-checked file according to the verification instruction comprises: performing verification processing according to the verification instruction, the obtained license file of another base station, and configuration data.
  • the performing the verification process on the to-be-checked file according to the verification instruction comprises: generating the to-be-validated data of the to-be-checked file according to the verification instruction and the to-be-checked file; Whether the data to be validated is consistent with the data to be verified; the result of the determination is sent to the network management.
  • the method before performing the verification process on the to-be-checked file according to the verification instruction, the method further includes: receiving the to-be-checked file updated by the network management, and updating the file according to the verification instruction The file to be verified is checked.
  • a verification processing method including: transmitting, to a base station, a verification instruction for instructing the base station to perform verification of a verification file; and receiving, by the base station, the verification instruction according to the verification instruction A result of performing a verification process on the file to be verified.
  • the method before transmitting, to the base station, the verification instruction for instructing the base station to check the to-be-verified file, the method further includes: determining, according to the version number of the to-be-checked file, performing verification processing. Said base station.
  • a verification processing apparatus including: a first receiving module, configured to receive a verification instruction issued by a network management device for instructing a base station to perform verification of a verification file; And a module, configured to perform verification processing on the to-be-checked file according to the verification instruction.
  • the verification processing module includes at least one of the following: a first verification processing unit configured to perform verification processing according to the verification instruction, the license file, and current working data of the base station; and the second verification processing unit And being configured to perform verification processing according to the verification instruction, the configuration data, and the license file of the base station; and the third verification processing unit is configured to perform verification processing according to the verification instruction, the license file, and the configuration data.
  • a first verification processing unit configured to perform verification processing according to the verification instruction, the license file, and current working data of the base station
  • the second verification processing unit And being configured to perform verification processing according to the verification instruction, the configuration data, and the license file of the base station
  • the third verification processing unit is configured to perform verification processing according to the verification instruction, the license file, and the configuration data.
  • the verification processing module includes: a fourth verification processing unit configured to perform a verification process according to the verification instruction, the obtained license file of another base station, and configuration data.
  • the verification processing module includes: a generating unit, configured to generate data to be validated according to the verification instruction and the to-be-checked file; the determining unit is configured to determine the to-be-determined Whether the valid data is consistent with the data to be verified; the sending unit is configured to send the result of the judgment to the network management.
  • the device further includes: a second receiving module, configured to receive the to-be-verified file updated by the network management, and perform verification processing on the updated file to be verified according to the verification instruction.
  • a second receiving module configured to receive the to-be-verified file updated by the network management, and perform verification processing on the updated file to be verified according to the verification instruction.
  • a verification processing apparatus which is applied to a network management, and includes: a sending module, configured to send, to a base station, a verification instruction for instructing the base station to perform verification of a verification file; And a receiving module, configured to receive a result of performing verification processing on the to-be-checked file by the base station according to the verification instruction.
  • the apparatus further comprises: a determining module, configured to determine the base station performing the verification process according to the version number of the file to be verified.
  • the verification instruction for instructing the base station to check the verification file is sent by the receiving network management, and the verification of the to-be-checked file is performed according to the verification instruction, thereby solving the related art.
  • the network management side provides problems caused by base station configuration data and pre-authentication of the authorization data.
  • the network management side can provide pre-verification of the base station configuration data and authorization data, and find errors and modify them in advance.
  • FIG. 1 is a first flowchart of a verification processing method according to an embodiment of the present invention
  • FIG. 2 is a second flowchart of a verification processing method according to an embodiment of the present invention.
  • FIG. 3 is a block diagram 1 of a verification processing apparatus according to an embodiment of the present invention.
  • FIG. 4 is a block diagram 1 of a verification processing apparatus in accordance with a preferred embodiment of the present invention.
  • FIG. 5 is a block diagram 2 of a verification processing apparatus in accordance with a preferred embodiment of the present invention.
  • FIG. 6 is a block diagram 3 of a verification processing apparatus in accordance with a preferred embodiment of the present invention.
  • FIG. 7 is a block diagram 4 of a verification processing apparatus in accordance with a preferred embodiment of the present invention.
  • FIG. 8 is a block diagram 2 of a verification processing apparatus according to an embodiment of the present invention.
  • FIG. 9 is a block diagram 5 of a verification processing apparatus in accordance with a preferred embodiment of the present invention.
  • FIG. 10 is a schematic diagram of a network management system and a base station networking according to an embodiment of the present invention.
  • FIG. 11 is a flow chart of data pre-verification between a network management system and a base station according to an embodiment of the present invention.
  • FIG. 1 is a flowchart 1 of a verification processing method according to an embodiment of the present invention. As shown in FIG. 1 , the flow includes the following steps:
  • Step S102 Receive a verification instruction that is sent by the network management device to instruct the base station to perform verification on the verification file.
  • Step S104 performing verification processing on the to-be-checked file according to the verification instruction.
  • the receiving the verification instruction that is sent by the network management device to instruct the base station to check the verification file, and verifying the to-be-verified file according to the verification instruction, and solving the related technology provided on the network management side The problem caused by the base station configuration data and the pre-verification of the authorization data can further complete the pre-verification of the base station configuration data and the authorization data by the network management side, and find errors and modify them in advance.
  • the check processing of the check file according to the check instruction may include at least one of the following: according to the check instruction And verifying the current working data of the license file and the base station; performing verification processing according to the verification instruction, the configuration data, and the license file of the base station; performing verification processing according to the verification instruction, the license file, and the configuration data,
  • the license file and configuration data are relatively large.
  • the license file can be sent to the base station through the ftp file.
  • performing the verification process on the to-be-checked file according to the verification instruction includes: performing verification according to the verification instruction, the obtained license file of another base station, and configuration data. After the processing, the cross-check between the base stations can be implemented. By debinding the binding between the license file and the base station serial number, the base station can verify the configuration data and the license file of the other base station.
  • the verification processing of the verification file according to the verification instruction may further include: generating data to be validated according to the verification instruction and the to-be-checked file; determining the data to be valid and the The data to be verified is consistent. The result of the judgment is sent to the NMS. The data to be valid is eventually discarded after the verification process ends, and does not take effect.
  • the file to be verified updated by the network management is received, and the updated file to be verified is verified according to the verification instruction.
  • the processing can ensure timely information synchronization between the base station and the network management system.
  • FIG. 2 is a flowchart 2 of the verification processing method according to an embodiment of the present invention. As shown in FIG. 2, the method includes:
  • Step S202 sending, to the base station, a verification instruction for instructing the base station to perform verification on the verification file;
  • Step S204 Receive a result of performing verification processing on the file to be verified by the base station according to the verification instruction.
  • a verification instruction for instructing the base station to perform verification of the verification file is sent to the base station, and receiving a result of performing verification processing on the to-be-checked file by the base station according to the verification instruction, and solving the related art
  • the problem of the base station configuration data and the pre-authentication of the authorization data is provided on the network management side, and the pre-verification of the base station configuration data and the authorization data is provided on the network management side, and the error is found and modified in advance.
  • the network management before transmitting, to the base station, a verification instruction for instructing the base station to check the to-be-checked file, determines the base station that performs the verification process according to the version number of the to-be-checked file.
  • the selected base station may also be determined according to other conditions such as the CPU usage of the base station, and the pre-verification process may be performed as long as the version numbers are the same.
  • the embodiment of the present invention provides a verification processing device, which is used to implement the foregoing embodiments and preferred embodiments, and has not been described again.
  • the term "module” may implement a combination of software and/or hardware of a predetermined function.
  • the apparatus described in the following embodiments is preferably implemented in software, hardware, or a combination of software and hardware, is also possible and contemplated.
  • FIG. 3 is a block diagram 1 of a verification processing apparatus according to an embodiment of the present invention. As shown in FIG. 3, the method includes: a first receiving module 32 and a verification processing module 34, and the apparatus corresponds to the method described in FIG. The details are described in detail, and will not be described again here. Each module will be briefly described below.
  • the first receiving module 32 is configured to receive a verification instruction that is sent by the network management device to instruct the base station to check the check file.
  • the verification processing module 34 is configured to perform verification processing on the to-be-checked file according to the verification instruction.
  • the verification processing module 34 includes at least one of the following:
  • the first verification processing unit 42 is configured to perform verification processing according to the verification instruction, the license file, and the current working data of the base station;
  • the second verification processing unit 44 is configured to perform a verification process according to the verification instruction, the configuration data, and the license file of the base station;
  • the third verification processing unit 46 is configured to perform verification processing according to the verification instruction, the license file, and the configuration data.
  • FIG. 5 is a block diagram 2 of a verification processing apparatus according to a preferred embodiment of the present invention.
  • the verification processing module includes: a fourth verification processing unit 52, configured to acquire according to the verification instruction. The license file and configuration data of another base station are verified.
  • FIG. 6 is a block diagram 3 of a verification processing apparatus according to a preferred embodiment of the present invention.
  • the verification processing module 34 includes:
  • the generating unit 62 is configured to generate data to be validated according to the verification instruction and the to-be-checked file;
  • the determining unit 64 is configured to determine whether the data to be validated is consistent with the data to be verified;
  • the sending unit 66 is configured to send the result of the judgment to the network management.
  • FIG. 7 is a block diagram 4 of a verification processing apparatus according to a preferred embodiment of the present invention. As shown in FIG. 7, the apparatus further includes:
  • the second receiving module 72 is configured to receive the to-be-verified file updated by the network management, and perform verification processing on the updated file to be verified according to the verification instruction.
  • FIG. 8 is a block diagram 2 of a verification processing apparatus according to an embodiment of the present invention. As shown in FIG. 8, the method includes: a sending module 82 and a third receiving module 84.
  • the device corresponds to the method described in FIG. 1 and has been described in more detail, and details are not described herein again. Each module will be briefly described below.
  • the sending module 82 is configured to send, to the base station, a verification instruction for instructing the base station to check the check file.
  • the third receiving module 84 is configured to receive a result of performing verification processing on the to-be-checked file by the base station according to the verification instruction.
  • FIG. 9 is a block diagram 5 of a verification processing apparatus according to a preferred embodiment of the present invention. As shown in FIG. 9, the apparatus further includes:
  • the determining module 92 is configured to determine the base station performing the verification process according to the version number of the file to be verified.
  • FIG. 10 is a schematic diagram of a network management system and a base station networking according to an embodiment of the present invention.
  • the system is composed of a network management system and multiple base stations.
  • the network management system includes a network management license module and a network management synchronization module.
  • the base station includes a base station license module and a base station configuration data module. The following describes each module briefly.
  • the network management license module performs the functions of managing, loading, and querying the license file on the network management side; the network management synchronization module completes the process of sending the network management configuration data to the base station; the base station license module is the base station license management module, and completes the license file management, state switching, and overdue.
  • the license authorization information is detected and externally provided. Further, the license authorization information is composed of information such as an authorized base station serial number, an authorization time period, and an authorization function list.
  • the base station configuration data pre-verification includes: the network management module selects and calculates the target network element, and the network management license module queries the version number of the network element according to the data to be verified or the network element to which the license file belongs, and if the version numbers are the same, the network element is Pre-verify the execution network element. Or, the network management license module collects the current running version information of all the NEs on the subnet and the CPU usage of the main control board. The network element with the version of the NE to be verified is always selected, and the network element whose CPU usage is low on the main control board is used as the pre-verification execution network element.
  • the network management license module sends a license file load command to the base station license module.
  • the command indicates that the load is loaded as a pre-verification file.
  • the base station license module checks the validity of the file on the pre-verification license file, but does not check the hardware. Whether the serial number matches the hardware serial number of the network element. When the loading is completed, the base station does not update the working data.
  • the network management license module sends a pre-verification message to the base station license module.
  • the base station license module receives the pre-verification message, the base station status is pre-verified.
  • the configuration management module calculates only the working data and the inconsistent data (the inconsistency between the configuration data and the data to be validated) for the configuration data, and the obtained working data does not take effect.
  • the base station license module directly informs the base station configuration management module to calculate a verification result according to the current working data and the authorization information in the pre-verification license file;
  • the network management system notifies the network management synchronization module to initiate the configuration data synchronization process between the network management system and the base station according to the check type.
  • the base station After receiving the data to be verified, the base station calculates the pending work by the base station configuration management module. Data and inconsistent data. Since the base station enters the pre-verification state, the work data to be valid will not take effect.
  • the base station configuration management module notifies the base station that the license module is verified, the license module cancels the pre-check status of the base station, and notifies the network management license module, and the network management license module receives the verification end message. After that, the base station queries the verification result.
  • the verification result includes inconsistent information between the detailed configuration data and the data to be validated.
  • the base station provides the pre-verification function. After the configuration data or the license file is sent to the base station, the data or the file does not take effect. Only the verification result is calculated, and the configuration data and the data to be valid are inconsistent.
  • the pre-verification data can be pre-verified on the home base station of the data or on other non-home base stations.
  • the license file can be out of bound relationship with the base station, so that any base station can participate in pre-verification as long as the version numbers match. Can be applied to the system version upgrade process. When you need to upgrade the version, you can upgrade the NMS version and then upgrade the base station version. Then, use the newly upgraded small number of base stations to check the data and license file of the remaining base stations. After the data is ready, upgrade all remaining base stations. Avoid data loss caused by large-scale upgrade of the base station. Distributed parallel pre-verification, because at the same time, multiple base stations can participate in pre-verification at the same time, and system performance can be smoothly expanded.
  • the network management can provide the pre-verification of the base station configuration data and the authorization data, and the errors are found and modified in advance, thereby shortening the base station upgrade and daily operation and maintenance time, and improving the operation and maintenance efficiency.
  • the network management system needs to provide the verification function of the license and the configuration data, and specifically, the configuration data pre-verification.
  • the network management system needs to send the modified area data to the base station.
  • the base station uses the modified area data and the working license file to calculate the configuration and the result of the inconsistency, but the configuration data does not take effect.
  • License file pre-verification The network management system needs to send the modified area or the snapshot area data to the base station, and use the to-be-checked license file to pre-verify the configuration data.
  • Pre-verification during the version upgrade process Before the base station version is upgraded, you can pre-verify the configuration data or license file of the base station.
  • FIG. 11 is a flowchart of data pre-verification between a network management system and a base station according to an embodiment of the present invention. As shown in FIG. 11, the flow description is as follows:
  • the process 1 is an erroneous pre-verification process.
  • the base station license is the same as the current working license and the network management configuration data saved by the current base station.
  • the module directly responds to the NMS with a failure message because this is not a pre-verification.
  • the network management configuration data saved by the current base station is the data of the network management side snapshot area, that is, the snapshot area data and the base station configuration data are consistent.
  • Process 2 is a pre-verification license file loading process. Before the network management starts the pre-check, you can download the license file to be verified to the base station through process 2.
  • the license file download message carries the loadtype field.
  • the pre-verification license is used to indicate that the license file is the pre-verification license file type.
  • the base station After receiving the pre-verification license file, the base station does not function as a working license file, that is, it does not affect the function that the base station is currently running.
  • the base station license module does not bind the hardware serial number binding to the pre-verification license file, but reports the network management hardware sequence.
  • the verification result of the number carries the hardware serial number verification result in the result message.
  • the base station license module provides a pre-verification status query interface to the base station configuration management module.
  • the base station configuration management module uses this interface to determine whether it is pre-verified.
  • pre-verification the configuration module calculation result is not written into the DBS, so the configuration data does not take effect.
  • the base station license module reads the authorization information from the corresponding file according to different check license types in the authorization information interface provided to the base station configuration management module according to the license file type in the pre-verification message.
  • the base station configuration module authorizes the configuration data according to the authorization information of the base station function item, and when the function is not authorized, the function is disabled or configured according to the authorized quantity.
  • the process of verifying the license file to be verified by using the current configuration data of the base station is to verify the license file to be verified by using the data of the network management snapshot area.
  • the base station license module After receiving the pre-verification message, the base station license module notifies the base station to configure the management module to transfer the table (the mapping of the base station configuration data to the base station working data, and the mapping process needs to be combined with the license authorization information), and the base station configuration management module returns the table to determine the current time. Whether the transfer table is a pre-verification transfer table. If yes, the transfer table data is not written into the DBS (the data in the DBS is the base station work data), and the base station license module responds to the transfer table, and the base station license module clears the message according to the message.
  • the pre-verification flag is sent to the network management system in response to the pre-verification response message. After receiving the NMS, query the verification result through the inconsistent data query interface.
  • the process of verifying the modified area data is performed by using the working license file or the license file to be verified.
  • the base station operation authority needs to be locked, and the current synchronization process is used.
  • the pre-verification query interface provided by the base station license module determines whether the current checksum is a pre-verification transfer table. If the data is not written to the DBS, the synchronization fails. The reason for the failure is "data pre-verification".
  • the base station license module is notified to end the transfer. The base station license module clears the pre-verification flag accordingly.
  • the network management license module queries the base station for inconsistent data.
  • This embodiment can implement reliability protection.
  • the timer protection process is used. When the pre-verification process is interrupted, the system returns to the default state.
  • the pre-verification flag of the base station license module also provides timer protection. After 30 minutes, after the timeout, the pre-verification flag is forcibly cleared, and the system is restored to the normal state.
  • the pre-verification of the pre-verification and the license file can be arbitrarily selected by any network element in the subnet for verification. Therefore, some NEs can be upgraded in advance, and the newly upgraded NEs can be used to verify the data and license files of other NEs.
  • the specific algorithm is as follows: The network management license module collects the current running version information of all the NEs on the subnet, the CPU usage of the main control board, and the hardware serial number of the network element. The NEs are selected to verify their own data and license files. If they are not met, the NEs with the same version number and low CPU usage are selected for verification. Supports simultaneous pre-verification of multiple network elements to improve system performance.
  • modules or steps of the present invention described above can be implemented by a general-purpose computing device that can be centralized on a single computing device or distributed across a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device such that they may be stored in the storage device by the computing device and, in some cases, may be different from the order herein.
  • the steps shown or described are performed, or they are separately fabricated into individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated as a single integrated circuit module.
  • the invention is not limited to any specific combination of hardware and software.
  • the foregoing embodiments and the preferred embodiments solve the problems caused by providing the base station configuration data and the pre-authentication of the authorization data on the network management side in the related art, and further completing the pre-calibration of providing the base station configuration data and the authorization data on the network management side. Check, find errors and modify them in advance.

Abstract

本发明公开了校验处理方法及装置,其中,该方法包括:接收网管下发的用于指示基站对待校验文件进行校验的校验指令,依据该校验指令对该待校验文件进行校验处理。通过本发明,解决了相关技术中在网管侧提供基站配置数据和授权数据预校验导致的问题,进而可以完成网管侧提供基站配置数据和授权数据的预校验,提前发现错误并修改。

Description

校验处理方法及装置 技术领域
本发明涉及通信领域,具体而言,涉及校验处理方法及装置。
背景技术
随着通讯行业发展,无线通讯设备供应商逐步趋向通讯软件服务供应商角色转变,其中,软件服务通过license(授权)控制进行授权。
在移动基站引入license控制后,由于受license权限控制,网管下发的一些参数在基站侧受限,基站侧使用受限后的数据进行工作,从而出现网管配置数据和基站工作数据不一致现象。
为此,在网管侧日常基站维护或基站版本升级过程中,为降低对系统的影响,工作人员在白天工作时间准备基站配置数据,在晚上升级或更新基站配置数据,从而需要对基站配置数据在下发前进行校验,以提前发现错误。
针对相关技术中在网管侧提供基站配置数据和授权数据预校验导致的问题,目前尚未提出有效的解决方案。
发明内容
本发明提供了校验处理方法及装置,以至少解决相关技术中在网管侧提供基站配置数据和授权数据预校验导致的问题。
根据本发明的一个方面,提供了一种校验处理方法,包括:接收网管下发的用于指示基站对待校验文件进行校验的校验指令;依据所述校验指令对所述待校验文件进行校验处理。
优选地,依据所述校验指令对所述待校验文件进行校验处理包括以下至少之一:依据所述校验指令、license文件以及基站的当前工作数据进行校验处理;依据所述校验指令、配置数据以及所述基站的license文件进行校验处理;依据所述校验指令、license文件以及配置数据进行校验处理。
优选地,依据所述校验指令对所述待校验文件进行校验处理包括:依据所述校验指令、获取的另一基站的license文件和配置数据进行校验处理。
优选地,依据所述校验指令对所述待校验文件进行校验处理包括:依据所述校验指令以及所述待校验文件生成所述待校验文件的待生效数据;判断所述待生效数据与所述待校验数据是否一致;将判断的结果发送给所述网管。
优选地,在依据所述校验指令对所述待校验文件进行校验处理之前,还包括:接收到所述网管更新的所述待校验文件,依据所述检验指令对更新的所述待校验文件进行校验处理。
根据本发明的另一方面,提供了一种校验处理方法,包括:向基站发送用于指示所述基站对待校验文件进行校验的校验指令;接收所述基站依据所述校验指令对所述待校验文件进行校验处理的结果。
优选地,在向所述基站发送用于指示所述基站对所述待校验文件进行校验的校验指令之前还包括:根据所述待校验文件的版本号确定进行校验处理的所述基站。
根据本发明的另一方面,提供了一种校验处理装置,包括:第一接收模块,设置为接收网管下发的用于指示基站对待校验文件进行校验的校验指令;校验处理模块,设置为依据所述校验指令对所述待校验文件进行校验处理。
优选地,所述校验处理模块包括以下至少之一:第一校验处理单元,设置为依据所述校验指令、license文件以及基站的当前工作数据进行校验处理;第二校验处理单元,设置为依据所述校验指令、配置数据以及所述基站的license文件进行校验处理;第三校验处理单元,设置为依据所述校验指令、license文件以及配置数据进行校验处理。
优选地,所述校验处理模块包括:第四校验处理单元,设置为依据所述校验指令、获取的另一基站的license文件和配置数据进行校验处理。
优选地,所述校验处理模块包括:生成单元,设置为依据所述校验指令以及所述待校验文件生成所述待校验文件的待生效数据;判断单元,设置为判断所述待生效数据与所述待校验数据是否一致;发送单元,设置为将判断的结果发送给所述网管。
优选地,所述装置还包括:第二接收模块,设置为接收到所述网管更新的所述待校验文件,依据所述检验指令对更新的所述待校验文件进行校验处理。
根据本发明的另一方面,提供了一种校验处理装置,应用于网管,包括:发送模块,设置为向基站发送用于指示所述基站对待校验文件进行校验的校验指令;第三接收模块,设置为接收所述基站依据所述校验指令对所述待校验文件进行校验处理的结果。
优选地,所述装置还包括:确定模块,设置为根据所述待校验文件的版本号确定进行校验处理的所述基站。
通过本发明,采用接收网管下发的用于指示基站对待校验文件进行校验的校验指令,依据所述校验指令对所述待校验文件进行校验处理,解决了相关技术中在网管侧提供基站配置数据和授权数据预校验导致的问题,进而可以完成网管侧提供基站配置数据和授权数据的预校验,提前发现错误并修改。
附图说明
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:
图1是根据本发明实施例的校验处理方法的流程图一;
图2是根据本发明实施例的校验处理方法的流程图二;
图3是根据本发明实施例的校验处理装置的框图一;
图4是根据本发明优选实施例的校验处理装置的框图一;
图5是根据本发明优选实施例的校验处理装置的框图二;
图6是根据本发明优选实施例的校验处理装置的框图三;
图7是根据本发明优选实施例的校验处理装置的框图四;
图8是根据本发明实施例的校验处理装置的框图二;
图9是根据本发明优选实施例的校验处理装置的框图五;
图10是根据本发明实施例的网管和基站组网的示意图;
图11是根据本发明实施例的网管和基站之间数据预校验流程图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。
在本实施例中提供了一种校验处理方法,图1是根据本发明实施例的校验处理方法的流程图一,如图1所示,该流程包括如下步骤:
步骤S102,接收网管下发的用于指示基站对待校验文件进行校验的校验指令;
步骤S104,依据该校验指令对该待校验文件进行校验处理。
通过上述步骤,接收网管下发的用于指示基站对待校验文件进行校验的校验指令,依据该校验指令对该待校验文件进行校验处理,解决了相关技术中在网管侧提供基站配置数据和授权数据预校验导致的问题,进而可以完成网管侧提供基站配置数据和授权数据的预校验,提前发现错误并修改。
依据校验指令对待校验文件进行校验处理有很多种方式,在一个可选的实施例中,依据校验指令对待校验文件进行校验处理可以包括以下至少之一:根据该校验指令、license文件以及基站的当前工作数据进行校验处理;根据该校验指令、配置数据以及该基站的license文件进行校验处理;根据该校验指令、license文件以及配置数据进行校验处理,需要说明的是,由于license文件和配置数据比较大,一般情况下,可以通过ftp文件形式发到基站。
在另一个可选的实施例中,依据所述校验指令对所述待校验文件进行校验处理包括:依据所述校验指令、获取的另一基站的license文件和配置数据进行校验处理,从而可以实现基站间的交叉校验,通过解除license文件和基站序列号的绑定关系,可以实现基站校验另一基站的配置数据和license文件。
本实施例中,依据校验指令对待校验文件进行校验处理还可以包括:依据该校验指令以及该待校验文件生成该待校验文件的待生效数据;判断该待生效数据与该待校验数据是否一致;将判断的结果发送给该网管,其中,待生效数据在校验过程结束后,最终会被丢弃,并不真正生效。
作为一种可选的实施方式,在依据校验指令对待校验文件进行校验处理之前,接收到该网管更新的该待校验文件,依据该检验指令对更新的该待校验文件进行校验处理,可以保证基站与网管之间完成及时的信息同步。
本发明实施例还提供了一种校验处理方法,图2是根据本发明实施例的校验处理方法的流程图二,如图2所示,包括:
步骤S202,向基站发送用于指示该基站对待校验文件进行校验的校验指令;
步骤S204,接收该基站依据该校验指令对该待校验文件进行校验处理的结果。
通过上述步骤,向基站发送用于指示该基站对待校验文件进行校验的校验指令,接收该基站依据该校验指令对该待校验文件进行校验处理的结果,解决了相关技术中在网管侧提供基站配置数据和授权数据预校验导致的问题,进而可以完成网管侧提供基站配置数据和授权数据的预校验,提前发现错误并修改。
本实施例中,在向基站发送用于指示该基站对该待校验文件进行校验的校验指令之前,网管根据该待校验文件的版本号确定进行校验处理的该基站,另外,还可以根据基站CPU占用率等其它条件确定选择的基站,只要版本号一致便可以进行预校验处理。
本发明实施例提供了一种校验处理装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。
图3是根据本发明实施例的校验处理装置的框图一,如图3所示,包括:第一接收模块32和校验处理模块34,该装置对应于图1所述的方法,已经较为详细地进行了说明,在此不再赘述,下面对各个模块进行简要说明。
第一接收模块32,设置为接收网管下发的用于指示基站对待校验文件进行校验的校验指令;
校验处理模块34,设置为依据该校验指令对该待校验文件进行校验处理。
图4是根据本发明优选实施例的校验处理装置的框图一,如图4所示,该校验处理模块34包括以下至少之一:
第一校验处理单元42,设置为根据该校验指令、license文件以及基站的当前工作数据进行校验处理;
第二校验处理单元44,设置为根据该校验指令、配置数据以及该基站的license文件进行校验处理;
第三校验处理单元46,设置为根据该校验指令、license文件以及配置数据进行校验处理。
图5是根据本发明优选实施例的校验处理装置的框图二,如图5所示,所述校验处理模块包括:第四校验处理单元52,设置为依据所述校验指令、获取的另一基站的license文件和配置数据进行校验处理。
图6是根据本发明优选实施例的校验处理装置的框图三,如图6所示,该校验处理模块34包括:
生成单元62,设置为依据该校验指令以及该待校验文件生成该待校验文件的待生效数据;
判断单元64,设置为判断该待生效数据与该待校验数据是否一致;
发送单元66,设置为将判断的结果发送给该网管。
图7是根据本发明优选实施例的校验处理装置的框图四,如图7所示,该装置还包括:
第二接收模块72,设置为接收到该网管更新的该待校验文件,依据该检验指令对更新的该待校验文件进行校验处理。
本发明实施例还提供了一种校验处理装置,图8是根据本发明实施例的校验处理装置的框图二,如图8所示,包括:发送模块82和第三接收模块84,该装置对应于图1所述的方法,已经较为详细地进行了说明,在此不再赘述,下面对各个模块进行简要的说明。
发送模块82,设置为向基站发送用于指示该基站对待校验文件进行校验的校验指令;
第三接收模块84,设置为接收该基站依据该校验指令对该待校验文件进行校验处理的结果。
图9是根据本发明优选实施例的校验处理装置的框图五,如图9所示,该装置还包括:
确定模块92,设置为根据该待校验文件的版本号确定进行校验处理的该基站。
下面结合可选的实施方式对本发明实施例进行进一步说明。
本发明实施例提出的一种基站配置数据预校验方法和系统,图10是根据本发明实施例的网管和基站组网的示意图,如图10所示,该系统由网管和多个基站组成。其中,网管内部包含网管license模块和网管同步模块,基站内部包含基站license模块和基站配置数据模块,下面对各个模块进行简要说明。网管license模块完成网管侧license文件管理、加载、查询等功能;所述网管同步模块完成网管配置数据下发到基站的过程;基站license模块为基站license管理模块,完成license文件管理、状态切换、超期检测、对外提供license授权信息,进一步地,license授权信息由授权基站序列号、授权时间段、授权功能列表等信息组成。
基站配置数据预校验包括:网管模块选择计算目标网元,网管license模块根据待校验的数据或license文件所属网元,查询该网元的版本号,如果版本号一致,则该网元为预校验执行网元。或者,网管license模块收集本子网下所有网元的当前运行版本信息、主控板CPU占用率。优先选择网元版本号与待校验网元的版本一直,并且其主控板CPU占用率低的网元作为预校验执行网元。
待校验文件加载,网管license模块发送License文件加载命令到基站license模块,命令指示本次加载为预校验文件加载,基站license模块对预校验license文件作文件合法性检查,但是不检查硬件序列号是否与本网元硬件序列号匹配,加载完成时,基站不更新工作数据。
如果无需预校验license文件,预校验数据或license文件,网管license模块下发预校验消息到基站license模块,基站license模块接收到预校验消息时,置基站状态为预校验状态,此时配置管理模块对配置数据仅计算待生效工作数据和不一致数据(配置数据与待生效数据的不一致情况),所得到的工作数据不真正生效。
具体分为三种情况:
1.使用预校验license文件对当前工作配置数据进行预校验。此时,基站license模块直接通知基站配置管理模块根据当前工作数据和预校验license文件中的授权信息计算校验结果;
2.使用工作license文件对待校验配置数据进行预校验;
3.使用预校验license文件对待校验配置数据进行预校验。
上述2和3两种情况下,网管根据所述校验类型,通知网管同步模块,发起网管与基站的配置数据同步过程,基站接收到待校验数据后,由基站配置管理模块计算待生效工作数据和不一致数据,由于基站进入了预校验状态,待生效工作数据不会真正生效。
查询预校验结果,基站校验结束后,由基站配置管理模块通知基站license模块校验结束,license模块取消基站的预校验状态,同时通知网管license模块,网管license模块接收到校验结束消息后,到基站查询校验结果。校验结果包括详细的配置数据与待生效数据的不一致信息。
本实施例中,基站提供预校验功能,配置数据或license文件下发到基站后,数据或文件不生效,仅计算校验结果,是否存在配置数据和待生效数据不一致的情况。预校验数据可以在数据的归属基站上进行预校验,也可以在其它非归属基站上校验。license文件可以和基站脱离绑定关系,使得任一基站,只要版本号匹配,即可以参与预校验。可应用于系统版本升级过程。当需要升级版本时,可以先升级网管版本,再少量升级基站版本,进而使用新升级的少量基站来校验剩余基站的数据和license文件,待准备好数据后,再升级剩余全部基站,这样可以避免在大规模升级基站时遇到数据错误造成损失。分布式并行预校验,由于同一时刻,可以由多个基站同时参与预校验,系统性能可以平滑扩展。
通过上述内容,可以完成网管侧提供基站配置数据和授权数据的预校验,提前发现错误并修改,从而缩短基站升级、日常运维时间,提高运维效率。
本实施例需要在网管提供license和配置数据的校验功能,具体地,配置数据预校验。需要网管将修改区数据下发到基站,基站用修改区数据和工作用License文件计算配置与生效不一致结果,但是配置数据不生效。license文件预校验。需要网管将修改区或者快照区数据下发基站,使用待校验license文件对配置数据进行预校验。版本升级过程中的预校验。基站版本升级前,能对本基站的配置数据或license文件进行预校验。
图11是根据本发明实施例的网管和基站之间数据预校验流程图,如图11所示,流程说明如下:
流程1为错误的预校验流程,当基站接收到预校验消息中,待校验license类型和待校验数据类型均为0即当前工作license和当前基站保存的网管配置数据时,基站License模块直接给网管响应失败消息,因为这种情况不属于预校验。当前基站保存的网管配置数据即为网管侧快照区数据,即快照区数据和基站配置数据是一致的。
流程2为预校验license文件加载流程。在网管启动预校验前,可以通过流程2下载待校验license文件到基站。license文件下载消息携带loadtype字段,使用“预校验license加载”指示本次加载的license文件为预校验license文件类型。基站收到预校验license文件后,不作为工作用license文件,即不影响基站当前正在运行的功能,同时基站License模块对预校验license文件不作硬件序列号绑定限制,但是上报网管硬件序列号校验结果,在结果消息中携带硬件序列号校验结果。
具体地,基站License模块给基站配置管理模块提供预校验状态查询接口,当基站License模块收到合法的预校验消息时,置系统为预校验状态。基站配置管理模块用此接口判断是否为预校验,预校验时,配置模块计算结果不写入DBS,从而配置数据不生效。基站License模块根据预校验消息中的使用license文件类型,在提供给基站配置管理模块的授权信息接口中,根据不同的校验license类型,从相应文件中读取授权信息。基站配置模块根据基站功能项授权信息,对配置数据进行授权,当功能未授权时,关闭功能或按授权数量进行配置。
流程3为使用基站当前配置数据对待校验license文件进行校验的流程,即使用网管快照区数据校验待校验license文件。基站License模块收到预校验消息后,通知基站配置管理模块转表(基站配置数据到基站工作数据的映射,映射过程需要结合license授权信息),基站配置管理模块转表结束后,判断本次转表是否为预校验转表,若是,则转表数据不写入DBS(DBS中的数据即为基站工作数据),同时给基站License模块响应转表结束,基站License模块根据此消息清除本次预校验标志,同时给网管响应预校验响应消息。网管收到后,通过不一致数据查询接口查询校验结果。
流程4为校验修改区数据的流程,使用工作license文件或待校验license文件进行校验。在校验过程中,需要锁定基站操作权限,使用现有同步流程,基站配置管理模块转表结束后,根据基站License模块提供的预校验查询接口,判断本次是否属于预校验转表,若是,本次转表数据不写DBS,上报同步失败,失败原因为“数据预校验”,同时,通知基站License模块转表结束,基站License模块据此清除本次预校验标志。网管license模块在收到同步结果消息时,到基站查询不一致数据。
本实施例能够实现可靠性保护,网管预校验过程中,使用定时器保护流程,当预校验流程中断时,系统退回到默认状态。基站License模块的预校验标志也提供定时器保护,定时30分钟,超时后,强制清除预校验标志,还原系统为正常状态。
也可以完成分布式校验,为解决版本升级过程中,无法使用老版本校验新数据的问题,提出本分布式校验方案。在取消预校验license文件的硬件序列号绑定后,数据 预校验和license文件的预校验可以随意选择子网下任一网元进行校验,因而可以预先升级部分网元,利用新升级的网元校验其它网元的数据和license文件。具体算法是:网管license模块收集本子网下所有网元的当前运行版本信息、主控板CPU占用率、网元硬件序列号。优先选择网元校验自己的数据和license文件,若无法满足,选择版本号匹配、CPU占用率低的网元进行校验。支持同时多个网元并行预校验,提高系统性能。
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
工业实用性
如上所述,通过上述实施例及优选实施方式,解决了相关技术中在网管侧提供基站配置数据和授权数据预校验导致的问题,进而可以完成网管侧提供基站配置数据和授权数据的预校验,提前发现错误并修改。

Claims (14)

  1. 一种校验处理方法,包括:
    接收网管下发的用于指示基站对待校验文件进行校验的校验指令;
    依据所述校验指令对所述待校验文件进行校验处理。
  2. 根据权利要求1所述的方法,其中,依据所述校验指令对所述待校验文件进行校验处理包括以下至少之一:
    依据所述校验指令、license文件以及基站的当前工作数据进行校验处理;
    依据所述校验指令、配置数据以及所述基站的license文件进行校验处理;
    依据所述校验指令、license文件以及配置数据进行校验处理。
  3. 根据权利要求1所述的方法,其中,依据所述校验指令对所述待校验文件进行校验处理包括:
    依据所述校验指令、获取的另一基站的license文件和配置数据进行校验处理。
  4. 根据权利要求1至3中任一项所述的方法,其中,依据所述校验指令对所述待校验文件进行校验处理包括:
    依据所述校验指令以及所述待校验文件生成所述待校验文件的待生效数据;
    判断所述待生效数据与所述待校验数据是否一致;
    将判断的结果发送给所述网管。
  5. 根据权利要求1所述的方法,其中,在依据所述校验指令对所述待校验文件进行校验处理之前,还包括:
    接收到所述网管更新的所述待校验文件,依据所述检验指令对更新的所述待校验文件进行校验处理。
  6. 一种校验处理方法,包括:
    网管向基站发送用于指示所述基站对待校验文件进行校验的校验指令;
    所述网管接收所述基站依据所述校验指令对所述待校验文件进行校验处理的结果。
  7. 根据权利要求5所述的方法,其中,在所述网管向所述基站发送用于指示所述基站对所述待校验文件进行校验的校验指令之前还包括:
    所述网管根据所述待校验文件的版本号确定进行校验处理的所述基站。
  8. 一种校验处理装置,包括:
    第一接收模块,设置为接收网管下发的用于指示基站对待校验文件进行校验的校验指令;
    校验处理模块,设置为依据所述校验指令对所述待校验文件进行校验处理。
  9. 根据权利要求8所述的装置,其中,所述校验处理模块包括以下至少之一:
    第一校验处理单元,设置为依据所述校验指令、license文件以及基站的当前工作数据进行校验处理;
    第二校验处理单元,设置为依据所述校验指令、配置数据以及所述基站的license文件进行校验处理;
    第三校验处理单元,设置为依据所述校验指令、license文件以及配置数据进行校验处理。
  10. 根据权利要求8所述的装置,其中,所述校验处理包括:
    第四校验处理单元,设置为依据所述校验指令、获取的另一基站的license文件和配置数据进行校验处理。
  11. 根据权利要求8至10所述的装置,其中,所述校验处理模块包括:
    生成单元,设置为依据所述校验指令以及所述待校验文件生成所述待校验文件的待生效数据;
    判断单元,设置为判断所述待生效数据与所述待校验数据是否一致;
    发送单元,设置为将判断的结果发送给所述网管。
  12. 根据权利要求8所述的装置,其中,所述装置还包括:
    第二接收模块,设置为接收到所述网管更新的所述待校验文件,依据所述检验指令对更新的所述待校验文件进行校验处理。
  13. 一种校验处理装置,应用于网管,包括:
    发送模块,设置为向基站发送用于指示所述基站对待校验文件进行校验的校验指令;
    第三接收模块,设置为接收所述基站依据所述校验指令对所述待校验文件进行校验处理的结果。
  14. 根据权利要求13所述的装置,其中,所述装置还包括:
    确定模块,设置为根据所述待校验文件的版本号确定进行校验处理的所述基站。
PCT/CN2015/075575 2014-11-06 2015-03-31 校验处理方法及装置 WO2016070558A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410623451.0 2014-11-06
CN201410623451.0A CN105634852A (zh) 2014-11-06 2014-11-06 校验处理方法及装置

Publications (1)

Publication Number Publication Date
WO2016070558A1 true WO2016070558A1 (zh) 2016-05-12

Family

ID=55908472

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/075575 WO2016070558A1 (zh) 2014-11-06 2015-03-31 校验处理方法及装置

Country Status (2)

Country Link
CN (1) CN105634852A (zh)
WO (1) WO2016070558A1 (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733675B (zh) * 2016-08-12 2022-05-24 中兴通讯股份有限公司 一种license鉴权的方法和系统
CN112134734B (zh) * 2020-09-15 2023-05-23 网宿科技股份有限公司 一种网络设备的配置方法及装置
CN115589351A (zh) * 2021-07-06 2023-01-10 华为技术有限公司 一种查询方法、装置及设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192987A (zh) * 2006-11-30 2008-06-04 中兴通讯股份有限公司 软件版本自我管理设备
CN101945394A (zh) * 2009-07-10 2011-01-12 华为技术有限公司 许可证管理方法、装置与系统
US8472334B2 (en) * 2010-06-30 2013-06-25 Accelera Mobile Broadband, Inc. Method for self organizing network operation

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101053680B1 (ko) * 2009-04-13 2011-08-02 계영티앤아이 (주) 소프트웨어 관리장치 및 방법, 이에 의해 제어되는 사용자 단말 및 이의 관리방법
CN101547119B (zh) * 2009-04-29 2012-12-19 中兴通讯股份有限公司 数据加载时的License控制方法及数据加载系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101192987A (zh) * 2006-11-30 2008-06-04 中兴通讯股份有限公司 软件版本自我管理设备
CN101945394A (zh) * 2009-07-10 2011-01-12 华为技术有限公司 许可证管理方法、装置与系统
US8472334B2 (en) * 2010-06-30 2013-06-25 Accelera Mobile Broadband, Inc. Method for self organizing network operation

Also Published As

Publication number Publication date
CN105634852A (zh) 2016-06-01

Similar Documents

Publication Publication Date Title
US9557981B2 (en) Method and apparatus for automatic module upgrade
CN106681766B (zh) 远程固件升级控制方法及系统
CN104125276A (zh) 升级方法及装置
US20120117557A1 (en) Method and system for upgrading wireless data card
US9471300B2 (en) Wireless firmware upgrades to an alarm security panel
CN111522264A (zh) 设备的控制方法及装置、存储介质、电子装置
CN104915220A (zh) 一种客户端应用程序的升级方法和系统、客户端
CN109905256A (zh) 一种固件更新方法和装置
CN104052818A (zh) 一种移动终端的版本升级方法及装置
CN103685487A (zh) 无线通信网络中的子节点升级方法
CN102195798B (zh) 一种升级光网络单元的方法和系统
CN101621411B (zh) 微控制器远程更新方法和更新系统
CN103024782B (zh) 一种基站软件版本管理的方法和系统
US10469620B2 (en) Method for transferring a new software version to at least one electricity meter via a communication network
CN103888422A (zh) 安全证书更新方法、客户端、服务器
WO2016070558A1 (zh) 校验处理方法及装置
CN105357231A (zh) 一种差分升级方法、服务端及终端
WO2022142153A1 (zh) 电表升级方法、系统、智能电表及存储介质
CN104899054A (zh) 恢复模式下升级安卓系统和升级包下发的方法及装置
CN105180378A (zh) 空调及其升级控制方法和装置
CN105487877A (zh) 一种版本更新方法、系统及基站
CN105045640A (zh) 一种软件升级方法、装置及智能设备
CN109120419B (zh) 光网络单元onu版本的升级方法、装置及存储介质
KR20120111852A (ko) 사물통신에서 원격 소프트웨어를 분리 업그레이드하는 방법 및 장치
CN110417567B (zh) 一种物联网设备的配置方法和装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15857979

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15857979

Country of ref document: EP

Kind code of ref document: A1