WO2021232853A1 - Base station data upgrading method, base station and computer-readable medium - Google Patents
Base station data upgrading method, base station and computer-readable medium Download PDFInfo
- Publication number
- WO2021232853A1 WO2021232853A1 PCT/CN2021/074726 CN2021074726W WO2021232853A1 WO 2021232853 A1 WO2021232853 A1 WO 2021232853A1 CN 2021074726 W CN2021074726 W CN 2021074726W WO 2021232853 A1 WO2021232853 A1 WO 2021232853A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- target
- data
- base station
- version
- source
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 230000004044 response Effects 0.000 claims abstract description 8
- 238000006243 chemical reaction Methods 0.000 claims description 21
- 238000013499 data model Methods 0.000 claims description 21
- 238000013507 mapping Methods 0.000 claims description 6
- 238000004590 computer program Methods 0.000 claims description 3
- 238000012986 modification Methods 0.000 claims description 2
- 230000004048 modification Effects 0.000 claims description 2
- 238000007726 management method Methods 0.000 description 9
- 230000006399 behavior Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000013523 data management Methods 0.000 description 4
- 238000013524 data verification Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000001568 sexual effect Effects 0.000 description 1
- 238000012384 transportation and delivery Methods 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/10—Integrity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/10—Integrity
- H04W12/106—Packet or message integrity
Definitions
- the present disclosure relates to the field of communication technology, and in particular, to a base station data upgrade method, a base station, and a computer-readable medium.
- the base station data upgrade method at this stage mostly uses manual configuration of the upgrade wizard, or upgrades according to the version serial number, or upgrades the base station data by upgrading the software for a single version.
- the present disclosure aims to solve at least one of the related technical problems, and proposes a base station data upgrade method, a base station, and a computer-readable medium.
- embodiments of the present disclosure provide a method for upgrading base station data, including:
- acquiring source version information and source configuration data of the target base station In response to a base station upgrade request, acquiring source version information and source configuration data of the target base station, where the base station upgrade request includes: target version information after the target base station is upgraded;
- An upgrade rule model is generated according to the source version information and the target version information, and target configuration data is generated according to the upgrade rule model and the source configuration data.
- the embodiments of the present disclosure also provide a base station, including:
- One or more processors are One or more processors;
- Storage device set to store one or more programs
- the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the base station data upgrade method described in any of the foregoing embodiments.
- the embodiments of the present disclosure also provide a computer-readable medium on which a computer program is stored, wherein the program is executed by a processor to implement the base station data upgrade method described in any of the above embodiments Steps in.
- FIG. 1 is a flowchart of a method for upgrading base station data according to an embodiment of the disclosure
- step S2 is a flowchart of a specific implementation method of step S2 in an embodiment of the disclosure
- FIG. 3 is a flowchart of another method for upgrading base station data according to an embodiment of the disclosure.
- FIG. 4 is a flowchart of yet another method for upgrading base station data according to an embodiment of the disclosure.
- step S2 is a flowchart of another specific implementation method of step S2 in an embodiment of the disclosure.
- FIG. 6 is a structural block diagram of a base station data upgrade system provided in an embodiment of the disclosure.
- FIG. 7 is a structural block diagram of another base station data upgrade system provided in an embodiment of the disclosure.
- FIG. 8 is a structural block diagram of a base station provided in an embodiment of the disclosure.
- the base station data upgrade method, base station, and computer readable medium provided by the present disclosure can be used to implement base station data upgrade across base station versions, across systems, and across software platforms based on the data plane.
- the base station data upgrade method is suitable for cross-version, cross-platform, and cross-system situations, that is, the base station data upgrade in general situations, for example, the base station configuration data upgrade under the condition of no change in the software platform but changes in the hardware structure (for example, an embedded platform) Version upgrade to another embedded platform version), base station configuration data upgrade under software platform changes and hardware structure changes (for example, an embedded platform version is upgraded to a paas platform version), and base station configuration in other situations Data upgrade.
- FIG. 1 is a flowchart of a method for upgrading base station data according to an embodiment of the disclosure. As shown in Figure 1, the method includes:
- Step S1 In response to the base station upgrade request, obtain source version information and source configuration data of the target base station.
- the base station upgrade request includes target version information after the target base station is upgraded, and the base station upgrade request may also include the target base station ID and network element ID, etc.
- the base station upgrade request can be triggered through an application program interface or configuration file.
- the base station data upgrade task is offloaded in a micro-service or multi-process manner.
- modular, distributed, and micro-service architecture can be used to build the server to deal with complex situations such as a large number of base station upgrades by expanding services and concurrent tasks. The way of offloading increases the processing capacity and reduces the base station upgrade time.
- the source version information includes source version data model information and a source version number
- the target version information includes target version data model information and a target version number
- the source version data model information includes source configuration data objects and source configuration data.
- target version data model information includes target configuration data object, target configuration data type, target version field unique identifier, and target version constraint information.
- Step S2 Generate an upgrade rule model according to the source version information and the target version information, and generate target configuration data according to the upgrade rule model and the source configuration data.
- the upgrade rule model describes the conversion relationship between the source configuration data and the target configuration data, which is embodied in the form of an xml file, a json file, or a DSL description.
- the upgrade rule model includes source version data identification, target version data identification, rule behavior, and rule algorithm.
- the target configuration data is generated according to the upgrade rule model and the source configuration data, that is, the source configuration data is converted into the target configuration data using the upgrade rule model.
- FIG. 2 is a flowchart of a specific implementation method of step S2 in an embodiment of the disclosure.
- step S2 the step of generating an upgrade rule model according to the source version information and the target version information specifically includes: step S201 to step S203.
- Step S201 Determine the mapping relationship between the source version and the target version according to the unique identifier of the source version field and the unique identifier of the target version field, and determine the rule behavior.
- the unique identifier of the field is the unique identifier of each data record in the configuration data
- the mapping relationship between the source version and the target version is the mapping relationship between the source configuration data and the target configuration data.
- the rule behavior includes at least one of addition, modification, and forced type conversion.
- Step S202 Determine a rule algorithm according to the source version constraint information and the target version constraint information.
- the constraint information is a mandatory verification rule corresponding to the configuration data to ensure the correctness, validity, and integrity of the data.
- the rule algorithm includes at least one of four arithmetic operations, conditional judgments, and constraint judgments.
- Step S203 Generate an upgrade rule model according to the rule behavior and the rule algorithm.
- an upgrade rule model can be generated according to the basic rule library.
- the basic rule library includes pre-stored rule behaviors, rule algorithms, and rule sets.
- the parameter is irrelevant, and it is also reflected in the form of xml file, json file or DSL description.
- the embodiments of the present disclosure provide a method for upgrading base station data.
- the method can be used to generate an upgrade rule model based on the data model information of the base station version before and after the upgrade, and use the upgrade rule model to perform data conversion of the corresponding base station configuration data to complete the base station data upgrade.
- the process is carried out at the data level, which can realize base station data upgrades across base station versions, across systems, and across software platforms.
- FIG. 3 is a flowchart of another method for upgrading base station data provided by an embodiment of the disclosure. As shown in Fig. 3, the method is a specific alternative implementation based on the method shown in Fig. 1. Specifically, after step S2, it further includes: step S3.
- Step S3 Verify the target configuration data according to the target version constraint information.
- step S3 the correctness and completeness of the converted configuration data are checked according to the target version constraint information.
- FIG. 4 is a flowchart of another method for upgrading base station data according to an embodiment of the disclosure. As shown in Fig. 4, this method is a specific alternative implementation based on the method shown in Fig. 1. Specifically, after step S2, it further includes: step S4.
- Step S4 Determine the configuration file format corresponding to the target version according to the target version information, and generate a configuration data file for upgrading the target base station according to the configuration file format and the target configuration data.
- a configuration data file is generated from the converted configuration data according to the configuration file format corresponding to the target version.
- the configuration data file can be used to upgrade the target base station. Specifically, the upgrade can be performed directly after the file is generated, or when the file is generated Then return a response and wait for the user event to trigger the upgrade.
- FIG. 5 is a flowchart of another specific implementation method of step S2 in an embodiment of the disclosure. . As shown in FIG. 5, in step S2, before the step of generating target configuration data according to the upgrade rule model and the source configuration data, the method further includes: step S2a.
- Step S2a Determine the source data structure corresponding to the source version and the target data structure corresponding to the target version according to the source version data model information and the target version data model information.
- step S2a the data model corresponding to each version is analyzed and identified according to the data model information, thereby identifying the data structure corresponding to each version, where the data structure includes a table structure, a YANG model, a tree structure, and the like.
- Step S2 the step of generating target configuration data according to the upgrade rule model and the source configuration data, specifically includes: step S2b and step S2c.
- Step S2b Perform data structure conversion of the source configuration data according to the source data structure and the target data structure.
- Step S2c Generate target configuration data according to the source configuration data after the upgrade rule model and data structure conversion.
- the upgrade rule model may further include a data structure conversion algorithm, and the upgrade rule model is used to directly perform data conversion and data structure conversion on the source configuration data.
- the embodiment of the present disclosure provides a base station data upgrade method, which can be used to identify the data structure corresponding to each version, and use the configuration data after the data structure conversion to perform data conversion.
- FIG. 6 is a structural block diagram of a base station data upgrade system provided in an embodiment of the disclosure.
- the base station data upgrade system can be deployed in a base station or on a server.
- the user can complete the data upgrade of multiple target base stations at one time through the base station data upgrade system, including the complex situation of cross-version, cross-platform, and cross-system before and after the upgrade.
- target base stations A1 to An target base stations A1 to An .
- the base station data upgrade system can realize the unified upgrade of its base station version from the source version B1 to Bm to the cross-platform target version Ck.
- Fig. 7 is a structural block diagram of another base station data upgrading system provided in an embodiment of the disclosure.
- the corresponding base station data upgrade system can be built on a base station or server in a modular manner.
- the base station data upgrade system can specifically include a task management module 1, a rule model management module 2, a data management module 3. Data conversion module 4 and data verification module 5.
- the user terminal sends a base station upgrade request in the form of an application program interface or configuration file through the task interface provided by the task management module 1, where the base station upgrade request includes; the target version information after the target base station is upgraded, the base station upgrade request may Including the target base station ID and network element ID; the task management module 1 receives the base station upgrade request and requests the data management module 3 to obtain the source version information and source configuration data of the target base station, where the source version information includes source version data model information and source Version number, target version information includes target version data model information and target version number, source version data model information includes source configuration data object, source configuration data type, source version field unique identifier and source version constraint information; target version data model information includes Target configuration data object, target configuration data type, target version field unique identifier, and target version constraint information.
- the task management module 1 receives the data response returned by the data management module 3, and requests the rule model management module 2 to generate a rule model; after receiving the request, the rule model management module 2 first performs the structure conversion of the configuration data, according to the source version data model Information and target version data model information respectively determine the source data structure corresponding to the source version and the target data structure corresponding to the target version, and perform the data structure conversion of the source configuration data according to the source data structure and target data structure; after the data structure conversion is completed, Determine the mapping relationship between the source version and the target version according to the unique identifier of the source version field and the unique identifier of the target version field, and determine the rule behavior according to the mapping relationship, and then determine the rule algorithm according to the source version constraint information and the target version constraint information, and according to the rule behavior , The rule algorithm and the basic rule library generate an upgrade rule model, and report the model to generate a response.
- the task management module 1 receives the model generation response and requests data conversion to the data conversion module 4; after the data conversion module 4 performs data conversion according to the request, the data management module 3 will complete the data conversion configuration data according to the target version information to determine the target
- the configuration file format corresponding to the version generates a configuration data file for the target base station upgrade; the data verification module 5 verifies the configuration data file according to the target version constraint information. After the verification is completed, the task management module 1 returns the upgrade to the user terminal Respond and upgrade the target base station, or wait for the corresponding user event to trigger the base station upgrade.
- FIG. 8 is a structural block diagram of a base station provided in an embodiment of the disclosure. As shown in Figure 8, the base station includes:
- One or more processors 6 ; a storage device 7 configured to store one or more programs; when the one or more programs are executed by the one or more processors 6, the one or more processors 6 realize such as Any base station data upgrade method in the foregoing embodiment.
- the embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, where the program is executed by a processor to implement the steps in any base station data upgrade method in the above-mentioned embodiments.
- the embodiments of the present disclosure provide a method for upgrading base station data, a base station, and a computer-readable medium, which can generate an upgrade rule model according to the corresponding version information before and after the upgrade of the base station, and upgrade and convert configuration data according to the upgrade rule model, and perform the upgrade at the data level.
- the base station upgrade configuration realizes the base station data upgrade under the situation of cross-base station version, cross-system and cross-software platform.
- the functional modules/units in the device can be implemented as software, firmware, hardware, and appropriate combinations thereof.
- the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may consist of several physical components.
- the components are executed cooperatively.
- Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit .
- Such software may be distributed on a computer-readable medium, and the computer-readable medium may include a computer storage medium (or a non-transitory medium) and a communication medium (or a transitory medium).
- the term computer storage medium includes volatile and non-volatile data implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Sexual, removable and non-removable media.
- Computer storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or Any other medium used to store desired information and that can be accessed by a computer.
- communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media. .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
A base station data upgrading method, a base station and a computer-readable medium. The method comprises: in response to a base station upgrade request, acquiring source version information and source configuration data of a target base station (S1); according to the source version information and target version information, generating an upgrading rule model, and according to the upgrading rule model and the source configuration data, generating target configuration data (S2).
Description
本公开涉及通信技术领域,特别涉及一种基站数据升级方法、基站和计算机可读介质。The present disclosure relates to the field of communication technology, and in particular, to a base station data upgrade method, a base station, and a computer-readable medium.
随着通信网络技术的发展,基站升级场景更为复杂。现阶段的基站数据升级方法,多通过人工配置升级向导,或根据版本序号顺序升级,或者使用针对单一版本的升级软件进行升级的方式进行基站数据升级。With the development of communication network technology, base station upgrade scenarios have become more complicated. The base station data upgrade method at this stage mostly uses manual configuration of the upgrade wizard, or upgrades according to the version serial number, or upgrades the base station data by upgrading the software for a single version.
然而在面对硬件结构发生变化、跨系统、跨软件平台的场景时存在参数配置复杂,开发对应多版本的升级软件数据量庞大开发成本高的缺点;在面对跨基站版本的场景时存在需要根据版本号顺序多次升级,升级过程冗余,升级速度慢且成本高的缺点。However, in the face of hardware structure changes, cross-system, cross-software platform scenarios, there are disadvantages such as complex parameter configuration, large amount of data corresponding to multiple versions of upgrade software, and high development costs; there are needs when facing scenarios with cross-base station versions Upgrade multiple times according to the order of the version number, the upgrade process is redundant, the upgrade speed is slow and the cost is high.
发明内容Summary of the invention
本公开旨在至少解决相关的技术问题之一,提出了一种基站数据升级方法、基站和计算机可读介质。The present disclosure aims to solve at least one of the related technical problems, and proposes a base station data upgrade method, a base station, and a computer-readable medium.
为实现上述目的,第一方面,本公开实施例提供了一种基站数据升级方法,包括:To achieve the foregoing objective, in the first aspect, embodiments of the present disclosure provide a method for upgrading base station data, including:
响应于基站升级请求,获取目标基站的源版本信息和源配置数据,所述基站升级请求包括:所述目标基站升级后的目标版本信息;In response to a base station upgrade request, acquiring source version information and source configuration data of the target base station, where the base station upgrade request includes: target version information after the target base station is upgraded;
根据所述源版本信息和所述目标版本信息生成升级规则模型,并根据所述升级规则模型和所述源配置数据生成目标配置数据。An upgrade rule model is generated according to the source version information and the target version information, and target configuration data is generated according to the upgrade rule model and the source configuration data.
第二方面,本公开实施例还提供了一种基站,包括:In the second aspect, the embodiments of the present disclosure also provide a base station, including:
一个或多个处理器;One or more processors;
存储装置,设置为存储一个或多个程序;Storage device, set to store one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如上述实施例中任一所述的基站数据升级方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the base station data upgrade method described in any of the foregoing embodiments.
第三方面,本公开实施例还提供了一种计算机可读介质,其上存储有计算机程序,其中,所述程序被处理器执行时实现如上述实施例中任一所述的基站数据升级方法中的步骤。In a third aspect, the embodiments of the present disclosure also provide a computer-readable medium on which a computer program is stored, wherein the program is executed by a processor to implement the base station data upgrade method described in any of the above embodiments Steps in.
图1为本公开实施例提供的一种基站数据升级方法的流程图;FIG. 1 is a flowchart of a method for upgrading base station data according to an embodiment of the disclosure;
图2为本公开实施例中步骤S2的一种具体实施方法流程图;2 is a flowchart of a specific implementation method of step S2 in an embodiment of the disclosure;
图3为本公开实施例提供的另一种基站数据升级方法的流程图;FIG. 3 is a flowchart of another method for upgrading base station data according to an embodiment of the disclosure;
图4为本公开实施例提供的又一种基站数据升级方法的流程图;FIG. 4 is a flowchart of yet another method for upgrading base station data according to an embodiment of the disclosure;
图5为本公开实施例中步骤S2的另一种具体实施方法流程图;5 is a flowchart of another specific implementation method of step S2 in an embodiment of the disclosure;
图6为本公开实施例中提供的一种基站数据升级系统的结构框图;6 is a structural block diagram of a base station data upgrade system provided in an embodiment of the disclosure;
图7为本公开实施例中提供的另一种基站数据升级系统的结构框图;FIG. 7 is a structural block diagram of another base station data upgrade system provided in an embodiment of the disclosure;
图8为本公开实施例中提供的一种基站的结构框图。FIG. 8 is a structural block diagram of a base station provided in an embodiment of the disclosure.
为使本领域的技术人员更好地理解本公开的技术方案,下面结合附图对本公开提供的基站数据升级方法、基站和计算机可读介质进行详细描述。In order to enable those skilled in the art to better understand the technical solutions of the present disclosure, the base station data upgrade method, base station, and computer-readable medium provided by the present disclosure will be described in detail below in conjunction with the accompanying drawings.
在下文中将参考附图更充分地描述示例实施例,但是所述示例实施例可以以不同形式来体现且不应当被解释为限于本文阐述的实施例。反之,提供这些实施例的目的在于使本公开透彻和完整,并将使本领域技术人员充分理解本公开的范围。Hereinafter, example embodiments will be described more fully with reference to the accompanying drawings, but the example embodiments may be embodied in different forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, the purpose of providing these embodiments is to make the present disclosure thorough and complete, and to enable those skilled in the art to fully understand the scope of the present disclosure.
本文所使用的术语仅用于描述特定实施例,且不意欲限制本公开。如本文所使用的,单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。还将理解的是,当本说明书中使用术语“包括”和/或“由……制成”时,指定存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加一个或多个其他特征、整体、步骤、操作、元件、组件和/或其群组。The terms used herein are only used to describe specific embodiments and are not intended to limit the present disclosure. As used herein, the singular forms "a" and "the" are also intended to include the plural forms, unless the context clearly dictates otherwise. It will also be understood that when the terms "comprising" and/or "made of" are used in this specification, it specifies the presence of the described features, wholes, steps, operations, elements and/or components, but does not exclude the presence or Add one or more other features, wholes, steps, operations, elements, components, and/or groups thereof.
除非另外限定,否则本文所用的所有术语(包括技术和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如那些在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本公开的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本文明确如此限定。Unless otherwise defined, the meanings of all terms (including technical and scientific terms) used herein are the same as those commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having meanings consistent with their meanings in the context of the related technology and the present disclosure, and will not be interpreted as having idealized or excessive formal meanings, Unless this article specifically defines it as such.
本公开所提供的基站数据升级方法、基站和计算机可读介质,可用于基于数据层面,实现跨基站版本、跨系统和跨软件平台的基站数据升级。The base station data upgrade method, base station, and computer readable medium provided by the present disclosure can be used to implement base station data upgrade across base station versions, across systems, and across software platforms based on the data plane.
该基站数据升级方法适用于跨版本、跨平台和跨系统等情况即一般情形下的基站数据升级,例如,软件平台无变化但硬件结构变化下的基站配置数据升级(例如,一种嵌入式平台版本升级为另一种嵌入式平台版本),软件平台变化且硬件结构变化下的基站配置数据升级(例如,一种嵌入式平台版本升级为一种paas平台版本),及其他情况下的基站配置数据升级。The base station data upgrade method is suitable for cross-version, cross-platform, and cross-system situations, that is, the base station data upgrade in general situations, for example, the base station configuration data upgrade under the condition of no change in the software platform but changes in the hardware structure (for example, an embedded platform) Version upgrade to another embedded platform version), base station configuration data upgrade under software platform changes and hardware structure changes (for example, an embedded platform version is upgraded to a paas platform version), and base station configuration in other situations Data upgrade.
图1为本公开实施例提供的一种基站数据升级方法的流程图。如图1所示,该方法包括:FIG. 1 is a flowchart of a method for upgrading base station data according to an embodiment of the disclosure. As shown in Figure 1, the method includes:
步骤S1、响应于基站升级请求,获取目标基站的源版本信息和源配置数据。Step S1: In response to the base station upgrade request, obtain source version information and source configuration data of the target base station.
其中,基站升级请求包括目标基站升级后的目标版本信息,基站升级请求还可包括目标基站ID和网元ID等,该基站升级请求可通过应用程序接口或配置文件等方式进行触发。Wherein, the base station upgrade request includes target version information after the target base station is upgraded, and the base station upgrade request may also include the target base station ID and network element ID, etc. The base station upgrade request can be triggered through an application program interface or configuration file.
在一些实施例中,当目标基站为多个,且个数大于预先设置的分布式运行阈值时,以微服务或多进程的方式针对基站数据升级任务进行分流。其中,在搭建对应该基站数据升级方法的基站数据升级系统时,可采用模块化、分布式和微服务架构进行服务器搭建,以在应对大量基站升级等的复杂情况时,通过扩充服务和任务并发分流的方式,增加处理能力,减少基站升级时间。In some embodiments, when there are multiple target base stations and the number is greater than a preset distributed operation threshold, the base station data upgrade task is offloaded in a micro-service or multi-process manner. Among them, when building a base station data upgrade system that corresponds to the base station data upgrade method, modular, distributed, and micro-service architecture can be used to build the server to deal with complex situations such as a large number of base station upgrades by expanding services and concurrent tasks. The way of offloading increases the processing capacity and reduces the base station upgrade time.
在一些实施例中,源版本信息包括源版本数据模型信息和源版本号,目标版本信息包括目标版本数据模型信息和目标版本号;其中,源版本数据模型信息包括源配置数据对象、源配置数据类型、源版本字段唯一标识和源版本约束信息;目标版本数据模型信息包括目标配置数据对象、目标配置数据类型、目标版本字段唯一标识和目标版本约束信息。In some embodiments, the source version information includes source version data model information and a source version number, and the target version information includes target version data model information and a target version number; wherein, the source version data model information includes source configuration data objects and source configuration data. Type, source version field unique identifier and source version constraint information; target version data model information includes target configuration data object, target configuration data type, target version field unique identifier, and target version constraint information.
步骤S2、根据源版本信息和目标版本信息生成升级规则模型,并根据升级规则模型和源配置数据生成目标配置数据。Step S2: Generate an upgrade rule model according to the source version information and the target version information, and generate target configuration data according to the upgrade rule model and the source configuration data.
在一些实施例中,该升级规则模型描述了源配置数据和目标配置数据之间的转换关系,以xml文件、json文件或DSL描述等形式进行体现。具体地,升级规则模型包括源版本数 据标识、目标版本数据标识、规则行为和规则算法。根据升级规则模型和源配置数据生成目标配置数据,即使用升级规则模型将源配置数据转换为目标配置数据。In some embodiments, the upgrade rule model describes the conversion relationship between the source configuration data and the target configuration data, which is embodied in the form of an xml file, a json file, or a DSL description. Specifically, the upgrade rule model includes source version data identification, target version data identification, rule behavior, and rule algorithm. The target configuration data is generated according to the upgrade rule model and the source configuration data, that is, the source configuration data is converted into the target configuration data using the upgrade rule model.
图2为本公开实施例中步骤S2的一种具体实施方法流程图。如图2所示,步骤S2中,根据源版本信息和目标版本信息生成升级规则模型的步骤,具体包括:步骤S201~步骤S203。FIG. 2 is a flowchart of a specific implementation method of step S2 in an embodiment of the disclosure. As shown in Figure 2, in step S2, the step of generating an upgrade rule model according to the source version information and the target version information specifically includes: step S201 to step S203.
步骤S201、根据源版本字段唯一标识和目标版本字段唯一标识确定源版本和目标版本的映射关系,并确定规则行为。Step S201: Determine the mapping relationship between the source version and the target version according to the unique identifier of the source version field and the unique identifier of the target version field, and determine the rule behavior.
其中,字段唯一标识为配置数据中每条数据记录的唯一标识,源版本和目标版本的映射关系即源配置数据和目标配置数据之间数据记录的映射关系。The unique identifier of the field is the unique identifier of each data record in the configuration data, and the mapping relationship between the source version and the target version is the mapping relationship between the source configuration data and the target configuration data.
在一些实施例中,规则行为至少包括增加、修改和强制类型转换中的一者。In some embodiments, the rule behavior includes at least one of addition, modification, and forced type conversion.
步骤S202、根据源版本约束信息和目标版本约束信息确定规则算法。Step S202: Determine a rule algorithm according to the source version constraint information and the target version constraint information.
其中,约束信息是配置数据对应的强制执行的校验规则,用以保证数据的正确性、有效性和完整性。Among them, the constraint information is a mandatory verification rule corresponding to the configuration data to ensure the correctness, validity, and integrity of the data.
在一些实施例中,规则算法至少包括四则运算、条件判断和约束判断中的一者。In some embodiments, the rule algorithm includes at least one of four arithmetic operations, conditional judgments, and constraint judgments.
步骤S203、根据规则行为和规则算法生成升级规则模型。Step S203: Generate an upgrade rule model according to the rule behavior and the rule algorithm.
在一些实施例中,确定出规则行为和规则算法后,可根据基础规则库生成升级规则模型,该基础规则库包括预先存储的规则行为、规则算法和规则集合,该规则集合与基站版本和具体参数无关,同样以xml文件、json文件或DSL描述等形式进行体现。In some embodiments, after determining the rule behavior and rule algorithm, an upgrade rule model can be generated according to the basic rule library. The basic rule library includes pre-stored rule behaviors, rule algorithms, and rule sets. The parameter is irrelevant, and it is also reflected in the form of xml file, json file or DSL description.
本公开实施例提供了一种基站数据升级方法,该方法可用于根据升级前后基站版本的数据模型信息生成升级规则模型,使用升级规则模型进行相应基站配置数据的数据转换,完成基站数据升级,该过程在数据层面进行,可实现跨基站版本、跨系统和跨软件平台的基站数据升级。The embodiments of the present disclosure provide a method for upgrading base station data. The method can be used to generate an upgrade rule model based on the data model information of the base station version before and after the upgrade, and use the upgrade rule model to perform data conversion of the corresponding base station configuration data to complete the base station data upgrade. The process is carried out at the data level, which can realize base station data upgrades across base station versions, across systems, and across software platforms.
图3为本公开实施例提供的另一种基站数据升级方法的流程图。如图3所示,该方法为基于图1所示方法的一种具体化可选实施方案。具体地,在步骤S2之后,还包括:步骤S3。FIG. 3 is a flowchart of another method for upgrading base station data provided by an embodiment of the disclosure. As shown in Fig. 3, the method is a specific alternative implementation based on the method shown in Fig. 1. Specifically, after step S2, it further includes: step S3.
步骤S3、根据目标版本约束信息对目标配置数据进行校验。Step S3: Verify the target configuration data according to the target version constraint information.
在步骤S3中,根据目标版本约束信息针对转换后的配置数据进行正确性和完整性校验。In step S3, the correctness and completeness of the converted configuration data are checked according to the target version constraint information.
图4为本公开实施例提供的又一种基站数据升级方法的流程图。如图4所示,该方法为基于图1所示方法的一种具体化可选实施方案。具体地,在步骤S2之后,还包括:步骤S4。FIG. 4 is a flowchart of another method for upgrading base station data according to an embodiment of the disclosure. As shown in Fig. 4, this method is a specific alternative implementation based on the method shown in Fig. 1. Specifically, after step S2, it further includes: step S4.
步骤S4、根据目标版本信息确定目标版本对应的配置文件格式,并根据配置文件格式和目标配置数据生成用于目标基站升级的配置数据文件。Step S4: Determine the configuration file format corresponding to the target version according to the target version information, and generate a configuration data file for upgrading the target base station according to the configuration file format and the target configuration data.
在步骤S4中,根据目标版本对应的配置文件格式将转换后的配置数据生成配置数据文件,该配置数据文件可用于目标基站升级,具体地,可在文件生成后直接进行升级,或在文件生成后返回响应,等待用户事件触发升级。In step S4, a configuration data file is generated from the converted configuration data according to the configuration file format corresponding to the target version. The configuration data file can be used to upgrade the target base station. Specifically, the upgrade can be performed directly after the file is generated, or when the file is generated Then return a response and wait for the user event to trigger the upgrade.
图5为本公开实施例中步骤S2的另一种具体实施方法流程图。。如图5所示,在步骤S2,根据升级规则模型和源配置数据生成目标配置数据的步骤之前,还包括:步骤S2a。FIG. 5 is a flowchart of another specific implementation method of step S2 in an embodiment of the disclosure. . As shown in FIG. 5, in step S2, before the step of generating target configuration data according to the upgrade rule model and the source configuration data, the method further includes: step S2a.
步骤S2a、根据源版本数据模型信息和目标版本数据模型信息分别确定源版本对应的 源数据结构和目标版本对应的目标数据结构。Step S2a: Determine the source data structure corresponding to the source version and the target data structure corresponding to the target version according to the source version data model information and the target version data model information.
在步骤S2a中,根据数据模型信息解析识别各版本对应的数据模型,从而识别出各版本对应的数据结构,其中,数据结构包括表结构、YANG模型和树结构等。In step S2a, the data model corresponding to each version is analyzed and identified according to the data model information, thereby identifying the data structure corresponding to each version, where the data structure includes a table structure, a YANG model, a tree structure, and the like.
步骤S2,根据升级规则模型和源配置数据生成目标配置数据的步骤,具体包括:步骤S2b和步骤S2c。Step S2, the step of generating target configuration data according to the upgrade rule model and the source configuration data, specifically includes: step S2b and step S2c.
步骤S2b、根据源数据结构和目标数据结构进行源配置数据的数据结构转换。Step S2b: Perform data structure conversion of the source configuration data according to the source data structure and the target data structure.
步骤S2c、根据升级规则模型和数据结构转换后的源配置数据生成目标配置数据。Step S2c: Generate target configuration data according to the source configuration data after the upgrade rule model and data structure conversion.
在一些实施例中,升级规则模型还可包括数据结构转换算法,利用升级规则模型直接对源配置数据进行数据转换和数据结构转换。In some embodiments, the upgrade rule model may further include a data structure conversion algorithm, and the upgrade rule model is used to directly perform data conversion and data structure conversion on the source configuration data.
本公开实施例提供了一种基站数据升级方法,该方法可用于识别各版本对应的数据结构,利用数据结构转换后的配置数据进行数据转换。The embodiment of the present disclosure provides a base station data upgrade method, which can be used to identify the data structure corresponding to each version, and use the configuration data after the data structure conversion to perform data conversion.
下面对本公开提供的基站数据升级方法结合实际应用进行详细描述。The method for upgrading base station data provided by the present disclosure will be described in detail below in combination with actual applications.
图6为本公开实施例中提供的一种基站数据升级系统的结构框图,具体地,该基站数据升级系统可部署在基站中,也可部署在服务器上。如图6所示,用户可以通过该基站数据升级系统一次完成多个目标基站的数据升级,包括升级前后跨版本、跨平台和跨系统的复杂情况,例如根据用户请求,针对目标基站A1~An,该基站数据升级系统可实现将其基站版本从源版本B1~Bm,统一升级至跨平台的目标版本Ck。FIG. 6 is a structural block diagram of a base station data upgrade system provided in an embodiment of the disclosure. Specifically, the base station data upgrade system can be deployed in a base station or on a server. As shown in Figure 6, the user can complete the data upgrade of multiple target base stations at one time through the base station data upgrade system, including the complex situation of cross-version, cross-platform, and cross-system before and after the upgrade. For example, according to user requests, target base stations A1 to An , The base station data upgrade system can realize the unified upgrade of its base station version from the source version B1 to Bm to the cross-platform target version Ck.
图7为本公开实施例中提供的另一种基站数据升级系统的结构框图。如图7所示,相应的基站数据升级系统可以使用模块化的方式在基站或服务器上进行搭建,该基站数据升级系统具体可包括任务管理模块1、规则模型管理模块2、数据管理模块3、数据转换模块4和数据校验模块5。Fig. 7 is a structural block diagram of another base station data upgrading system provided in an embodiment of the disclosure. As shown in Figure 7, the corresponding base station data upgrade system can be built on a base station or server in a modular manner. The base station data upgrade system can specifically include a task management module 1, a rule model management module 2, a data management module 3. Data conversion module 4 and data verification module 5.
具体地,用户终端通过任务管理模块1提供的任务接口,以应用程序接口或配置文件的方式发送基站升级请求,其中,基站升级请求包括;目标基站升级后的目标版本信息,基站升级请求还可包括目标基站ID和网元ID;任务管理模块1接收该基站升级请求并向数据管理模块3请求获取目标基站的源版本信息和源配置数据,其中,源版本信息包括源版本数据模型信息和源版本号,目标版本信息包括目标版本数据模型信息和目标版本号,源版本数据模型信息包括源配置数据对象、源配置数据类型、源版本字段唯一标识和源版本约束信息;目标版本数据模型信息包括目标配置数据对象、目标配置数据类型、目标版本字段唯一标识和目标版本约束信息。Specifically, the user terminal sends a base station upgrade request in the form of an application program interface or configuration file through the task interface provided by the task management module 1, where the base station upgrade request includes; the target version information after the target base station is upgraded, the base station upgrade request may Including the target base station ID and network element ID; the task management module 1 receives the base station upgrade request and requests the data management module 3 to obtain the source version information and source configuration data of the target base station, where the source version information includes source version data model information and source Version number, target version information includes target version data model information and target version number, source version data model information includes source configuration data object, source configuration data type, source version field unique identifier and source version constraint information; target version data model information includes Target configuration data object, target configuration data type, target version field unique identifier, and target version constraint information.
任务管理模块1接收数据管理模块3返回的数据响应,并向规则模型管理模块2请求生成规则模型;规则模型管理模块2接收到该请求后,首先进行配置数据的结构转换,根据源版本数据模型信息和目标版本数据模型信息分别确定源版本对应的源数据结构和目标版本对应的目标数据结构,并根据源数据结构和目标数据结构进行源配置数据的数据结构转换;在数据结构转换完成后,根据源版本字段唯一标识和目标版本字段唯一标识确定源版本和目标版本的映射关系,并根据该映射关系确定规则行为,之后根据源版本约束信息和目标版本约束信息确定规则算法,并根据规则行为、规则算法和基础规则库生成升级规则模型,并上报模型生成响应。The task management module 1 receives the data response returned by the data management module 3, and requests the rule model management module 2 to generate a rule model; after receiving the request, the rule model management module 2 first performs the structure conversion of the configuration data, according to the source version data model Information and target version data model information respectively determine the source data structure corresponding to the source version and the target data structure corresponding to the target version, and perform the data structure conversion of the source configuration data according to the source data structure and target data structure; after the data structure conversion is completed, Determine the mapping relationship between the source version and the target version according to the unique identifier of the source version field and the unique identifier of the target version field, and determine the rule behavior according to the mapping relationship, and then determine the rule algorithm according to the source version constraint information and the target version constraint information, and according to the rule behavior , The rule algorithm and the basic rule library generate an upgrade rule model, and report the model to generate a response.
任务管理模块1接收模型生成响应并向数据转换模块4请求进行数据转换;数据转换模块4根据该请求进行数据转换后,数据管理模块3将完成数据转换后的配置数据根据目 标版本信息确定的目标版本对应的配置文件格式,生成用于目标基站升级的配置数据文件;数据校验模块5根据目标版本约束信息对配置数据文件进行校验,校验完成后,任务管理模块1向用户终端返回升级响应,并进行目标基站升级,或等待相应用户事件触发基站升级。The task management module 1 receives the model generation response and requests data conversion to the data conversion module 4; after the data conversion module 4 performs data conversion according to the request, the data management module 3 will complete the data conversion configuration data according to the target version information to determine the target The configuration file format corresponding to the version generates a configuration data file for the target base station upgrade; the data verification module 5 verifies the configuration data file according to the target version constraint information. After the verification is completed, the task management module 1 returns the upgrade to the user terminal Respond and upgrade the target base station, or wait for the corresponding user event to trigger the base station upgrade.
图8为本公开实施例中提供的一种基站的结构框图。如图8所示,该基站包括:FIG. 8 is a structural block diagram of a base station provided in an embodiment of the disclosure. As shown in Figure 8, the base station includes:
一个或多个处理器6;存储装置7,设置为存储一个或多个程序;当该一个或多个程序被该一个或多个处理器6执行,使得该一个或多个处理器6实现如上述实施例中的任一基站数据升级方法。One or more processors 6; a storage device 7 configured to store one or more programs; when the one or more programs are executed by the one or more processors 6, the one or more processors 6 realize such as Any base station data upgrade method in the foregoing embodiment.
本公开实施例提供了一种计算机可读介质,其上存储有计算机程序,其中,该程序被处理器执行时实现如上述实施例中的任一基站数据升级方法中的步骤。The embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, where the program is executed by a processor to implement the steps in any base station data upgrade method in the above-mentioned embodiments.
本公开实施例提供了一种基站数据升级方法、基站和计算机可读介质,可通过根据基站升级前后对应的版本信息生成升级规则模型,根据升级规则模型针对配置数据进行升级转换,在数据层面进行基站升级配置,实现在跨基站版本、跨系统和跨软件平台的情形下的基站数据升级。The embodiments of the present disclosure provide a method for upgrading base station data, a base station, and a computer-readable medium, which can generate an upgrade rule model according to the corresponding version information before and after the upgrade of the base station, and upgrade and convert configuration data according to the upgrade rule model, and perform the upgrade at the data level. The base station upgrade configuration realizes the base station data upgrade under the situation of cross-base station version, cross-system and cross-software platform.
本领域普通技术人员可以理解,上文中所公开方法中的全部或某些步骤、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其他数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其他存储器技术、CD-ROM、数字多功能盘(DVD)或其他光盘存储、磁盒、磁带、磁盘存储或其他磁存储装置、或者可以用于存储期望的信息并且可以被计算机访问的任何其他的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其他传输机制之类的调制数据信号中的其他数据,并且可包括任何信息递送介质。A person of ordinary skill in the art can understand that all or some of the steps in the method disclosed above, and the functional modules/units in the device can be implemented as software, firmware, hardware, and appropriate combinations thereof. In the hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may consist of several physical components. The components are executed cooperatively. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on a computer-readable medium, and the computer-readable medium may include a computer storage medium (or a non-transitory medium) and a communication medium (or a transitory medium). As is well known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile data implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Sexual, removable and non-removable media. Computer storage media include but are not limited to RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or Any other medium used to store desired information and that can be accessed by a computer. In addition, as is well known to those of ordinary skill in the art, communication media usually contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as carrier waves or other transmission mechanisms, and may include any information delivery media. .
本文已经公开了示例实施例,并且虽然采用了具体术语,但它们仅用于并仅应当被解释为一般说明性含义,并且不用于限制的目的。在一些实例中,对本领域技术人员显而易见的是,除非另外明确指出,否则可单独使用与特定实施例相结合描述的特征、特性和/或元素,或可与其他实施例相结合描述的特征、特性和/或元件组合使用。因此,本领域技术人员将理解,在不脱离由所附的权利要求阐明的本公开的范围的情况下,可进行各种形式和细节上的改变。Example embodiments have been disclosed herein, and although specific terms are adopted, they are used and should only be interpreted as general descriptive meanings, and are not used for the purpose of limitation. In some instances, it is obvious to those skilled in the art that, unless clearly indicated otherwise, the features, characteristics, and/or elements described in combination with a specific embodiment may be used alone, or features, characteristics, and/or elements described in combination with other embodiments may be used, Combination of features and/or components. Therefore, those skilled in the art will understand that various changes in form and details can be made without departing from the scope of the present disclosure as set forth by the appended claims.
Claims (10)
- 一种基站数据升级方法,包括:A method for upgrading base station data includes:响应于基站升级请求,获取目标基站的源版本信息和源配置数据,所述基站升级请求包括:所述目标基站升级后的目标版本信息;In response to a base station upgrade request, acquiring source version information and source configuration data of the target base station, where the base station upgrade request includes: target version information after the target base station is upgraded;根据所述源版本信息和所述目标版本信息生成升级规则模型,并根据所述升级规则模型和所述源配置数据生成目标配置数据。An upgrade rule model is generated according to the source version information and the target version information, and target configuration data is generated according to the upgrade rule model and the source configuration data.
- 根据权利要求1所述的基站数据升级方法,其中,所述源版本信息包括:源版本数据模型信息和源版本号;所述目标版本信息包括:目标版本数据模型信息和目标版本号;The base station data upgrade method according to claim 1, wherein the source version information includes: source version data model information and a source version number; the target version information includes: target version data model information and a target version number;其中,所述源版本数据模型信息至少包括以下之一:源配置数据对象、源配置数据类型、源版本字段唯一标识和源版本约束信息;所述目标版本数据模型信息至少包括以下之一:目标配置数据对象、目标配置数据类型、目标版本字段唯一标识和目标版本约束信息。Wherein, the source version data model information includes at least one of the following: source configuration data object, source configuration data type, source version field unique identifier, and source version constraint information; the target version data model information includes at least one of the following: target The configuration data object, the target configuration data type, the unique identifier of the target version field, and the target version constraint information.
- 根据权利要求2所述的基站数据升级方法,其中,所述根据所述源版本信息和所述目标版本信息生成升级规则模型的步骤,包括:The base station data upgrade method according to claim 2, wherein the step of generating an upgrade rule model according to the source version information and the target version information comprises:根据所述源版本字段唯一标识和所述目标版本字段唯一标识确定源版本和目标版本的映射关系,并确定规则行为;Determine the mapping relationship between the source version and the target version according to the unique identifier of the source version field and the unique identifier of the target version field, and determine the rule behavior;根据所述源版本约束信息和所述目标版本约束信息确定规则算法;Determining a rule algorithm according to the source version constraint information and the target version constraint information;根据所述规则行为和所述规则算法生成所述升级规则模型。The upgrade rule model is generated according to the rule behavior and the rule algorithm.
- 根据权利要求3所述的基站数据升级方法,其中,所述规则行为至少包括:增加、修改和强制类型转换中的一者;所述规则算法至少包括:四则运算、条件判断和约束判断中的一者。The method for upgrading base station data according to claim 3, wherein the rule behavior includes at least one of addition, modification, and forced type conversion; and the rule algorithm includes at least one of four arithmetic operations, conditional judgments and constraint judgments One.
- 根据权利要求2所述的基站数据升级方法,其中,在所述根据所述升级规则模型和所述源配置数据生成目标配置数据的步骤之后,还包括:The base station data upgrade method according to claim 2, wherein after the step of generating target configuration data according to the upgrade rule model and the source configuration data, the method further comprises:根据所述目标版本约束信息对所述目标配置数据进行校验。The target configuration data is verified according to the target version constraint information.
- 根据权利要求1所述的基站数据升级方法,其中,在所述根据所述升级规则模型和所述源配置数据生成目标配置数据的步骤之后,还包括:The base station data upgrade method according to claim 1, wherein after the step of generating target configuration data according to the upgrade rule model and the source configuration data, the method further comprises:根据所述目标版本信息确定目标版本对应的配置文件格式,并根据所述配置文件格式和所述目标配置数据生成用于所述目标基站升级的配置数据文件。Determine a configuration file format corresponding to the target version according to the target version information, and generate a configuration data file for upgrading the target base station according to the configuration file format and the target configuration data.
- 根据权利要求2所述的基站数据升级方法,其中,在所述根据所述升级规则模型和所述源配置数据生成目标配置数据的步骤之前,还包括:The base station data upgrade method according to claim 2, wherein before the step of generating target configuration data according to the upgrade rule model and the source configuration data, the method further comprises:根据所述源版本数据模型信息和所述目标版本数据模型信息分别确定源版本对应的源数据结构和目标版本对应的目标数据结构;Respectively determine the source data structure corresponding to the source version and the target data structure corresponding to the target version according to the source version data model information and the target version data model information;所述根据所述升级规则模型和所述源配置数据生成目标配置数据的步骤,包括:The step of generating target configuration data according to the upgrade rule model and the source configuration data includes:根据所述源数据结构和所述目标数据结构进行所述源配置数据的数据结构转换;Performing the data structure conversion of the source configuration data according to the source data structure and the target data structure;根据所述升级规则模型和数据结构转换后的所述源配置数据生成目标配置数据。Generate target configuration data according to the source configuration data converted from the upgrade rule model and the data structure.
- 根据权利要求1所述的基站数据升级方法,还包括:The method for upgrading base station data according to claim 1, further comprising:当所述目标基站为多个,且个数大于预先设置的分布式运行阈值时,以微服务或多进程的方式针对基站数据升级任务进行分流。When there are multiple target base stations, and the number is greater than a preset distributed operation threshold, the base station data upgrade task is offloaded in a micro-service or multi-process manner.
- 一种基站,包括:A base station, including:一个或多个处理器;One or more processors;存储装置,设置为存储一个或多个程序;Storage device, set to store one or more programs;当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-8中任一所述的基站数据升级方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the base station data upgrade method according to any one of claims 1-8.
- 一种计算机可读介质,其上存储有计算机程序,其中,所述程序被处理器执行时实现如权利要求1-8中任一所述的基站数据升级方法中的步骤。A computer-readable medium having a computer program stored thereon, wherein the program is executed by a processor to implement the steps in the base station data upgrade method according to any one of claims 1-8.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010436274.0 | 2020-05-21 | ||
CN202010436274.0A CN113760312A (en) | 2020-05-21 | 2020-05-21 | Base station data upgrading method, base station and computer readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021232853A1 true WO2021232853A1 (en) | 2021-11-25 |
Family
ID=78707711
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/074726 WO2021232853A1 (en) | 2020-05-21 | 2021-02-01 | Base station data upgrading method, base station and computer-readable medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113760312A (en) |
WO (1) | WO2021232853A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111367546A (en) * | 2020-02-26 | 2020-07-03 | 东风电子科技股份有限公司 | Method for realizing upgrading processing of xml configuration file in software upgrading process |
CN118101464A (en) * | 2022-11-28 | 2024-05-28 | 中兴通讯股份有限公司 | Version upgrading method, configuration parameter constructing method, device and medium |
CN115617378A (en) * | 2022-12-16 | 2023-01-17 | 石家庄科林电气股份有限公司 | Upgrading method and device of battery management system and readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101184316A (en) * | 2007-12-17 | 2008-05-21 | 华为技术有限公司 | Base station debugging method, device and system |
CN101286881A (en) * | 2008-05-16 | 2008-10-15 | 中兴通讯股份有限公司 | Device for implementing multi-version compatibility of software configuration data of base station and application thereof |
US20100091653A1 (en) * | 2008-10-14 | 2010-04-15 | Starent Networks, Corp | Flow balancing in communications networks |
CN105722113A (en) * | 2014-12-03 | 2016-06-29 | 中兴通讯股份有限公司 | Constraint rule configuration method and corresponding apparatus |
-
2020
- 2020-05-21 CN CN202010436274.0A patent/CN113760312A/en active Pending
-
2021
- 2021-02-01 WO PCT/CN2021/074726 patent/WO2021232853A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101184316A (en) * | 2007-12-17 | 2008-05-21 | 华为技术有限公司 | Base station debugging method, device and system |
CN101286881A (en) * | 2008-05-16 | 2008-10-15 | 中兴通讯股份有限公司 | Device for implementing multi-version compatibility of software configuration data of base station and application thereof |
US20100091653A1 (en) * | 2008-10-14 | 2010-04-15 | Starent Networks, Corp | Flow balancing in communications networks |
CN105722113A (en) * | 2014-12-03 | 2016-06-29 | 中兴通讯股份有限公司 | Constraint rule configuration method and corresponding apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN113760312A (en) | 2021-12-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021232853A1 (en) | Base station data upgrading method, base station and computer-readable medium | |
CN110300984B (en) | Changing smart contracts recorded in a blockchain | |
EP3678346A1 (en) | Blockchain smart contract verification method and apparatus, and storage medium | |
CN106575244B (en) | Patching process to ensure high availability of cloud applications | |
US9384020B2 (en) | Domain scripting language framework for service and system integration | |
CN110673933A (en) | ZooKeeper-based distributed asynchronous queue implementation method, device, equipment and medium | |
CN112256318B (en) | Construction method and equipment for dependent product | |
WO2021139727A1 (en) | Software upgrade method for robot, and upgrade server, robot and storage medium | |
US10996936B2 (en) | Techniques for distributing code to components of a computing system | |
US9380001B2 (en) | Deploying and modifying a service-oriented architecture deployment environment model | |
US20100186003A1 (en) | Per Group Verification | |
CN116257438A (en) | Updating method of interface test case and related equipment | |
CN112561690A (en) | Method, system, equipment and storage medium for testing credit card staging service interface | |
CN116629015A (en) | Digital twin task processing method, device, equipment and storage medium | |
CN116668276A (en) | Method and device for updating collection item of node, electronic equipment and readable medium | |
CN102904946A (en) | Method and device for managing nodes in cluster | |
CN115827028A (en) | System upgrading method and device, storage medium and electronic equipment | |
CN112130900B (en) | User information management method, system, equipment and medium for BMC | |
US20140156714A1 (en) | Distributed file system processing apparatus and method, and storage media storing the same | |
US9983866B1 (en) | Upgrade compatibility checks in a client-server environment | |
CN113434938A (en) | BIM (building information modeling) model checking method and device, computer equipment and storage medium | |
CN112527338A (en) | Micro-service upgrading method, electronic equipment and readable storage medium | |
CN117519910B (en) | Method and device for determining computing quick link memory for virtual machine | |
US11537387B1 (en) | Lock database code for online patching | |
CN117707587B (en) | Method, device, server and storage medium for concurrent upgrade of distributed storage clusters |
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: 21808497 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 17/04/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21808497 Country of ref document: EP Kind code of ref document: A1 |