WO2016086612A1 - 一种单板的软件管理方法、系统及计算机存储介质 - Google Patents

一种单板的软件管理方法、系统及计算机存储介质 Download PDF

Info

Publication number
WO2016086612A1
WO2016086612A1 PCT/CN2015/079157 CN2015079157W WO2016086612A1 WO 2016086612 A1 WO2016086612 A1 WO 2016086612A1 CN 2015079157 W CN2015079157 W CN 2015079157W WO 2016086612 A1 WO2016086612 A1 WO 2016086612A1
Authority
WO
WIPO (PCT)
Prior art keywords
software
board
software version
attribute
information
Prior art date
Application number
PCT/CN2015/079157
Other languages
English (en)
French (fr)
Other versions
WO2016086612A9 (zh
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 WO2016086612A1 publication Critical patent/WO2016086612A1/zh
Publication of WO2016086612A9 publication Critical patent/WO2016086612A9/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment

Definitions

  • the present invention relates to software management technologies in the field of wired communications, and in particular, to a software management method and system for a single board, and a computer storage medium.
  • PTN network equipment In the field of wired communication, with the continuous expansion of the Packet Transport Network (PTN) and Software Defined Network (SDN), PTN network equipment is used on a large scale, and SDN network equipment will also be large-scale in the future. use.
  • PTN network equipment and SDN network equipment need to support Ethernet, Asynchronous Transfer Mode (ATM), and Time-Division Multiplexing (Time-Division Multiplexing).
  • ATM Asynchronous Transfer Mode
  • TDM Time-Division Multiplexing
  • SDH Synchronous Digital Hierarchy
  • embodiments of the present invention are expected to provide a software management method for a single board, and a system computer storage medium.
  • the embodiment of the invention provides a software management method for a single board, the method comprising:
  • the software management client sends a software version request to the software management server, where the software version request carries the board information;
  • the software management server obtains the corresponding software version information and returns the information to the software management client according to the received board information and the corresponding relationship between the pre-stored software version attribute and the board attribute.
  • the method before the software management client sends the software version request to the software management server, the method further includes:
  • the software management server downloads the software corpus and parses the software corpus, and obtains the correspondence between the software version file, the software version attribute, and the board attribute, and stores the corresponding relationship.
  • the board information includes a board ID (ID), a board hardware attribute, and a board slot number.
  • the method further includes:
  • the software management server configures the correspondence between the board slot number and the board function number and stores the corresponding relationship.
  • the software management server obtains corresponding software version information and returns the software version information to the software management client according to the board information and the corresponding relationship between the pre-stored software version attribute and the board attribute, including:
  • the software management server queries whether the corresponding board function number exists in the corresponding relationship between the board slot number and the board function number; when the corresponding board function number is queried, according to the The ID of the board, the hardware attributes of the board, and the corresponding function of the software version of the board, and the corresponding attributes of the software version and the attributes of the board, obtain the corresponding software version attributes; obtain the corresponding software file storage path according to the software version attribute.
  • a file transfer protocol (FTP) server information and the software version attribute, the software file storage path, and the FTP server information are encapsulated into software version information and returned to the software management client; or
  • the software management server obtains corresponding software version information and returns the software version information to the software management client according to the board information and the corresponding relationship between the pre-stored software version attribute and the board attribute, including:
  • the software management server is configured to check whether the corresponding board function number exists in the corresponding relationship between the board slot number and the board function number according to the board slot number; if the corresponding board function number is not queried, The corresponding software version attribute is obtained according to the ID of the board, the hardware attribute of the board, and the default board function number, and the corresponding software version attribute is obtained. The corresponding software is obtained according to the software version attribute.
  • the file storage path and the FTP server information are encapsulated, and the software version attribute, the software file storage path, and the FTP server information are encapsulated into software version information and returned to the software management client.
  • the method further includes:
  • the software management client receives corresponding software version information
  • the method further includes:
  • the software management client sends a software version update request to the software management server, where the software version update request carries the board information;
  • the software management server obtains the corresponding software version information and returns the information to the software management client according to the received board information and the corresponding relationship between the pre-stored software version attribute and the board attribute.
  • the method before the software management client sends a software version update request to the software management server, the method further includes:
  • the software management server downloads the software patch set and parses the software patch set, and obtains the corresponding relationship between the updated software version file, the software version attribute, and the board attribute, and stores the corresponding relationship.
  • the embodiment of the present invention provides a software management system for a board, where the system includes: a software management client and a software management server;
  • the software management client is configured to send a software version request to the software management server, where the software version request carries the board information;
  • the software management server is configured to receive the board information and the pre-stored software.
  • the corresponding relationship between the version attribute and the board attribute is obtained, and the corresponding software version information is obtained and returned to the software management client.
  • the software management server is further configured to download the software corpus and parse the software corpus, and obtain a correspondence between the software version file, the software version attribute, and the board attribute, and store the corresponding relationship.
  • the board information includes the board ID, the board hardware attributes, and the board slot number.
  • the software management server is configured to store and store the corresponding relationship between the board slot number and the board function number.
  • the software management server is configured to check whether the corresponding board function number exists in the correspondence between the board slot number and the board function number according to the slot number of the board;
  • the software version attribute is obtained based on the ID of the board, the hardware attributes of the board, and the corresponding board function.
  • the corresponding board number is displayed. If the corresponding board number is not found, the ID of the board is used.
  • the hardware attributes of the board and the default board function number query the corresponding relationship between the stored software version attribute and the board attribute, and obtain the corresponding software version attribute; obtain the corresponding software file storage path and FTP server information according to the software version attribute.
  • the software version attribute, software file storage path, and FTP server information are encapsulated into software version information.
  • the software management client is further configured to receive corresponding software version information; and download the corresponding software version file by using the corresponding software version information.
  • the software management client is further configured to send a software version update request to the software management server, where the software version update request carries the board information;
  • the software management server is further configured to obtain corresponding software version information and return the information to the software management client according to the received board information and the corresponding relationship between the pre-stored software version attribute and the board attribute. .
  • the software management server is further configured to download the software patch set and parse the software patch set, and obtain the corresponding relationship between the updated software version file, the software version attribute and the board attribute, and store the corresponding relationship.
  • the embodiment of the present invention further provides a computer storage medium, the computer storage medium comprising a set of instructions, when executed, causing at least one processor to execute the software management method of the board.
  • the software management client sends a software version request to the software management server, where the software version request carries the board information; the software management server The corresponding software version information is obtained and returned to the software management client according to the received board information and the corresponding relationship between the pre-stored software version attribute and the board attribute.
  • the embodiment of the present invention adopts a client/server (C/S) mode centralized management mode for software management, and according to the correspondence between the board information and the pre-stored software version attribute and the board attribute, Obtain the corresponding software version information, so that the board can implement the corresponding software function according to the corresponding software version information, so that the board has a multi-purpose function.
  • C/S client/server
  • FIG. 1 is a schematic flowchart of a software management method for a board according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a board according to an embodiment of the present invention.
  • the embodiment of the present invention is applied to a software management system of a board, and the corresponding software function can be implemented by inserting a board into a corresponding slot; the system adopts a centralized management mode of C/S mode.
  • the software management system includes: a software management client and a software management server.
  • the software management client interacts with the software management server to implement software management of the board, so that the board has a multi-purpose function.
  • the board includes a main control board and a line card; the software management server can be implemented by the main control board in the board; the software management client can be mastered in the board. Board and / or line card implementation.
  • the software management client sends a software version request to the software management server, where the software version request carries the board information; the software management server according to the received board information, and pre-stored The corresponding relationship between the software version attribute and the board attribute is obtained, and the corresponding software version information is obtained and returned to the software management client.
  • the method for managing a board software includes:
  • Step S100 The software management server downloads the software corpus and parses the software corpus, and obtains a correspondence between the software version file, the software version attribute, and the board attribute, and stores the corresponding relationship.
  • the software management server downloads a software set, the set is a compressed package format, and the software complete set includes all software version files supported by the communication device, and an extended markup language (eXtensible Markup Language) , XML) configuration file; wherein each record in the XML configuration file includes a version file name ⁇ filename>, a version number ⁇ verno>, a version compression type ⁇ compress_type>, a version type ⁇ ver_type>, a board ID ⁇ board_id> Fields such as the board hardware attribute ⁇ cpu_type> and the board function number ⁇ func_id>, each field carries corresponding information;
  • XML extended markup language
  • the software management server parses the software corpus to obtain a correspondence between the software version file and the software version attribute and the board attribute; specifically, the software version attribute includes the version file name and the version number. , version compression type, version type, etc.
  • the board attributes include the board ID, board hardware attributes, and board function numbers.
  • the corresponding relationship between the software version attribute and the board attributes is the version file name, version number, version compression type, and version type.
  • the board ID, the board's hardware attributes, and the board's function number The board with the same board ID can correspond to multiple board function numbers. Different board function numbers can correspond to different software version files. To meet the needs of a single board to support multiple software functions;
  • the software management server stores all software version files and corresponding software file storage paths in the storage medium; at the same time, saves the correspondence between the software version attributes and the board attributes to the database or the configuration table, and the database or The configuration table is stored in the storage medium, and each software version file in the parsed software version file is independent, and the storage medium is a hard disk, a flash card (CF), or the like.
  • CF flash card
  • the software management server receives the deactivation command, the corresponding software version file, the software file storage path, and the corresponding relationship between the software version attribute and the board attribute are deleted.
  • the software downloading instruction may be sent to the software management client.
  • the software management client is configured to send a software version request to the software management server.
  • the software download command is not sent to the software management client, and the user manually restarts the board.
  • Step S101 The software management client sends a software version request to the software management server, where the software version request carries the board information.
  • the software management client receives the software version file downloading instruction, and obtains the board information such as the board ID, the board hardware attribute, and the board slot number, and sends the board information to the software version request to send to the software version request.
  • Software management server receives the software version file downloading instruction, and obtains the board information such as the board ID, the board hardware attribute, and the board slot number, and sends the board information to the software version request to send to the software version request.
  • Software management server receives the software version file downloading instruction, and obtains the board information such as the board ID, the board hardware attribute, and the board slot number, and sends the board information to the software version request to send to the software version request.
  • Software management server receives the software version file downloading instruction, and obtains the board information such as the board ID, the board hardware attribute, and the board slot number, and sends the board information to the software version request to send to the software version request.
  • the software management client sends the board information to the software management server by carrying the software version request.
  • the software management server obtains the corresponding relationship between the software version file, the software version attribute, and the board attribute, and the storage, the board can be restarted by the user.
  • the software management client sends the software management server to the software management server. Send a software version request.
  • Step S102 The software management server obtains the corresponding software version information and returns the software version information to the software management client according to the received board information and the corresponding relationship between the pre-stored software version attribute and the board attribute.
  • the board information includes a board ID, a board hardware attribute, and a board slot number;
  • the software management server needs to pre-configure the corresponding relationship between the board slot number and the board function number and store the corresponding relationship;
  • the software management server first queries whether the corresponding board function number exists in the correspondence between the board slot number and the board function number according to the board slot number;
  • the corresponding software version attribute is obtained by querying the corresponding relationship between the software version attribute and the board attribute based on the ID of the board, the hardware attributes of the board, and the corresponding board function number.
  • the software version attribute obtains the corresponding software file storage path and FTP server information, and encapsulates the software version attribute, the software file storage path, and the FTP server information into software version information;
  • the corresponding software version attribute is obtained based on the ID of the board, the hardware attributes of the board, and the default board function. Obtaining a corresponding software file storage path and FTP server information according to the software version attribute, and packaging the software version attribute, the software file storage path, and the FTP server information into software version information.
  • the software management server queries the corresponding multiple software version attributes, the software version attribute with the same version file name and the largest version number is obtained.
  • the method further includes:
  • Step S103 The software management client receives corresponding software version information; Software version information and download the corresponding software version file via FTP.
  • the corresponding relationship between the slot number of the board and the function number of the board is pre-configured, and the slot number of the board corresponds to the function number of the board.
  • the board number of the board can correspond to different software version files.
  • a physical board can be configured with a variety of software functions to facilitate the operation and maintenance of the board. If you need to convert the software functions of the board, you only need to use the network management interface or command-line interface (command-line interface, CLI).
  • the interface control board is re-inserted into the corresponding slot. When the board is re-inserted, the physical board corresponding to the slot is restarted. After the restart, the new software version file is reloaded, so that the board has multiple boards. The function.
  • the software management server provides a software patch set download service to repair the board fault or update the software version file, and the software patch includes software that needs to be repaired or updated.
  • the version file and the corresponding software version attribute and board attributes;
  • the software patch set is parsed to obtain a software version file that needs to be repaired or updated, and a corresponding relationship between the software version attribute and the board attribute, and needs to be repaired or updated.
  • the software version file and the corresponding software file storage path are stored in the storage medium, and the corresponding relationship between the software version attribute and the board attribute is saved to the database, and the database is stored in the storage medium;
  • the software management server may send a software version update instruction to the software management client to notify the software management client to restart the board, or may not send a software version update instruction to the software management client, by the user. If the board is restarted, you can manually switch the service to the board in the board. After the board is restarted, you can switch the service back to the board in the board. After the board is faulty, the service is not interrupted. After the board is restarted, the board information is sent to the software version update request.
  • the software management server, the subsequent software version update process is similar to the above software version download process, and the repeated description is not repeated.
  • the software management rollback function can also be implemented by the software patch set deactivation mode, so that the board performs the software function before the patch.
  • Step 1 When the board is powered on, the software management server first downloads the software complete set, and when receiving the activation instruction, parses the software complete set to obtain all software version files, corresponding software file storage paths, and software versions. Corresponding relationship between the attribute and the board attribute; and then sending a software download instruction to the software management client;
  • Step 2 The software management client sends a software version request to the software management server when receiving the version download instruction
  • the software version request carries the board ID 1, the board hardware attribute CPU 2.0, and the board slot number 1.
  • Step 3 The software management server is configured to query the function number 3 of the board corresponding to the slot number 1 of the board that is pre-stored according to the slot number of the board;
  • the corresponding relationship between the pre-stored software version attribute and the board attribute is obtained according to the board ID1, the board hardware attribute CPU2.0, and the corresponding board function number 3.
  • Corresponding software version attribute such as version file name 1, version number 5.0, version compression type RAR, version type 1; obtain corresponding software file storage path, FTP server information, etc. according to the software version attribute, and software version attribute and software file
  • the storage path and the FTP server information are encapsulated into software version information, thereby obtaining software version information, and the software version information is returned to the software management client.
  • the board hardware belongs to The CPU2.0 and the default board function number 1 query the corresponding relationship between the stored software version attribute and the board attribute, and obtain the software version of the corresponding version file name 2, version number 2.5, version compression type RAR, version type 2, and so on.
  • Attributes Obtain the corresponding software file storage path and file transfer protocol FTP server information according to the software version attribute, and encapsulate the software version attribute, the software file storage path, and the FTP server information into the software version information; the software version attribute corresponds to the board attribute. The relationship is shown in Table 1.
  • Step 4 When the software management client receives the software version information, downloads the corresponding software version file to the memory through the software according to the software version information, loads and runs the corresponding software version file by the memory, thereby implementing the corresponding software.
  • the software management server provides a software patch set download service to update the board software, where the software patch set includes the updated software version file, and the corresponding software version attribute and the corresponding attribute of the board. relationship;
  • Step 1 When the board is powered on, the software management server first downloads the software patch set, and when receiving the activation command, parses the software patch set to obtain an updated software version file, a corresponding software file storage path, The corresponding relationship between the software version attribute and the board attribute is stored, and the corresponding relationship between the software version attribute and the board attribute is as shown in Table 2. Then, the software version update instruction is sent to the software management client.
  • Step 2 The software management client sends a software version update request to the software management server when receiving the software version update instruction;
  • the software version update request carries the board ID 1, the board hardware attribute CPU 2.0, and the board slot number 1.
  • Step 3 The software management server is configured to query the function number 3 of the board corresponding to the slot number 1 of the board that is pre-stored according to the slot number of the board;
  • the corresponding software version attribute and the board attribute are queried according to the ID of the board, the hardware attribute of the board, the CPU2.0, and the corresponding board function number 3. Relationships, obtaining software version attributes such as version file name 1, version number 6.0, version compression type RAR, version type 1; obtaining corresponding software file storage path, FTP server information, etc. according to the software version attribute, and software version attribute
  • the software file storage path and the FTP server information are encapsulated into software version information, thereby obtaining software version information, and the software version information is returned to the software management client.
  • Step 4 When the software management client receives the software version information, downloads the corresponding software version file according to the software version information and determines whether the original software version file needs to be updated, and determines that the update is required, and the update is updated.
  • the subsequent software version file is loaded into the memory, loaded by the memory and runs the updated software version file; when it is determined that the update is not required, the processing flow ends.
  • the embodiment of the present invention provides a software management system for a single board.
  • the principle and method for solving the problem are similar. Therefore, the implementation of the system may refer to the implementation of the foregoing method, and the repeated description is not repeated.
  • the software management system of the board includes: a software management client 200 and a software management server 201;
  • the software management client 200 is configured to send a software version request to the software management server 201, where the software version request carries the board information;
  • the software management server 201 is configured to obtain corresponding software version information and return it to the software management client 200 according to the received board information and the corresponding relationship between the pre-stored software version attribute and the board attribute.
  • the information about the board includes the board ID, the hardware attributes of the board, and the slot number of the board.
  • the software management server 201 is further configured to download a software corpus and parse the software corpus, and obtain a correspondence between the software version file, the software version attribute, and the board attribute, and store the software;
  • the mapping between the version attribute and the board attribute is the version file name, version number, version compression type, version type, board ID, board hardware attribute, and board function number.
  • the software management server 201 is further configured to configure a correspondence between a slot number of the board and a function number of the board.
  • the software management server 201 is configured to check whether the corresponding board function number exists in the correspondence between the board slot number and the board function number according to the slot number of the board.
  • the corresponding software version attribute is obtained by querying the corresponding relationship between the software version attribute and the board attribute based on the ID of the board, the hardware attributes of the board, and the corresponding board function number.
  • the software version attribute obtains the corresponding software file storage path and FTP server information, and encapsulates the software version attribute, the software file storage path, and the FTP server information into software version information;
  • the corresponding software version attribute is obtained based on the ID of the board, the hardware attributes of the board, and the default board function. According to the software version attribute, the corresponding software file storage path and the file transfer protocol FTP server information are obtained, and the software version attribute, the software file storage path, and the FTP server information are encapsulated into software version information.
  • the software management client 201 is further configured to receive corresponding software version information; and download the corresponding software version file by using the corresponding software version information.
  • the software management client 201 is further configured to send a software version update request to the software management server 200, where the software version update request carries the board information;
  • the software management server 200 is further configured to obtain corresponding software version information and return to the software management client according to the received board information and the corresponding relationship between the pre-stored updated software version attribute and the board attribute. End 201.
  • the software management server 200 is further configured to download a software patch set and parse the software patch set, and obtain a corresponding relationship between the updated software version file, the software version attribute, and the board attribute. storage.
  • the software management server 201 may be implemented by a main control board in the board; the software management client 200 may be implemented by a main control board and/or a line card in the board,
  • a line card is a device interface between an access line of a switch, router, or other network device and an access device.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the present invention is directed to a method, apparatus (system), and computer program in accordance with an embodiment of the present invention
  • the flow chart and/or block diagram of the product is described. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device.
  • the instructions provide steps for implementing the functions specified in one or more of the flow or in a block or blocks of a flow diagram.
  • an embodiment of the present invention further provides a computer storage medium, where the computer storage medium includes a set of instructions, when executed, causing at least one processor to execute the single board software management method.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种单板的软件管理方法,该方法包括:软件管理客户端向软件管理服务端发送软件版本请求,所述软件版本请求中携带有单板信息;软件管理服务端根据收到的单板信息、以及预存的软件版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端。本发明还同时公开了一种单板的软件管理系统及计算机存储介质。

Description

一种单板的软件管理方法、系统及计算机存储介质 技术领域
本发明涉及有线通信领域软件管理技术,尤其涉及一种单板的软件管理方法、系统及计算机存储介质。
背景技术
在有线通信领域中,随着分组传送网(Packet Transport Network,PTN)及软件定义网络(Software Defined Network,SDN)规模的不断扩大,PTN网络设备大规模使用,SDN网络设备在未来也将大规模使用。为了满足运营商对于多种业务融合以及节省成本的需求,现有PTN网络设备及SDN网络设备都需要支持以太网、异步传输模式(Asynchronous Transfer Mode,ATM)、时分复用(Time-Division Multiplexing,TDM)、同步数字体系(Synchronous Digital Hierarchy,SDH)等多种业务,因此,对于同一台网络设备需要插入多块物理单板,以实现不同的业务功能。
由此可见,如何在一块物理单板中实现多种业务功能,以使单板能够即插即用,是目前PTN和SDN研究过程中所面临的一个亟待解决的问题。
发明内容
有鉴于此,本发明实施例期望提供一种单板的软件管理方法、系统计算机存储介质。
为达到上述目的,本发明实施例的技术方案是这样实现的:
本发明实施例提供了一种单板的软件管理方法,该方法包括:
软件管理客户端向软件管理服务端发送软件版本请求,所述软件版本请求中携带有单板信息;
软件管理服务端根据收到的单板信息、以及预存的软件版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端。
上述方案中,所述软件管理客户端向软件管理服务端发送软件版本请求之前,所述方法还包括:
软件管理服务端下载软件全集并对所述软件全集进行解析,得到软件版本文件、软件版本属性与单板属性的对应关系并存储。
上述方案中,所述单板信息包括单板身份标识码(ID)、单板硬件属性、单板槽位号。
上述方案中,所述方法还包括:
所述软件管理服务端配置单板槽位号与单板功能号的对应关系并存储。
上述方案中,所述软件管理服务端根据所述单板信息、以及预存的软件版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端,包括:
所述软件管理服务端根据单板槽位号,查询所述单板槽位号与单板功能号的对应关系中是否存在对应的单板功能号;查询到对应的单板功能号时,根据单板的ID、单板的硬件属性、及对应的单板功能号查询软件版本属性与单板属性的对应关系,获取对应的软件版本属性;根据所述软件版本属性获取对应的软件文件存储路径、文件传输协议(File Transfer Protocol,FTP)服务器信息,并将软件版本属性、软件文件存储路径、FTP服务器信息封装为软件版本信息返回给所述软件管理客户端;或者,
所述软件管理服务端根据所述单板信息、以及预存的软件版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端,包括:
所述软件管理服务端根据单板槽位号,查询所述单板槽位号与单板功能号的对应关系中是否存在对应的单板功能号;未查询到对应的单板功能号时,根据单板的ID、单板的硬件属性、及默认的单板功能号查询存储的软件版本属性与单板属性的对应关系,获取对应的软件版本属性;根据所述软件版本属性获取对应的软件文件存储路径、FTP服务器信息,并将软件版本属性、软件文件存储路径、FTP服务器信息封装为软件版本信息返回给所述软件管理客户端。
上述方案中,所述方法还包括:
所述软件管理客户端接收对应的软件版本信息;
根据对应的软件版本信息,并通过FTP下载对应的软件版本文件。
上述方案中,所述方法还包括:
软件管理客户端向软件管理服务端发送软件版本更新请求,所述软件版本更新请求中携带有单板信息;
软件管理服务端根据收到的单板信息、以及预存的更新后的软件版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端。
上述方案中,所述软件管理客户端向软件管理服务端发送软件版本更新请求之前,所述方法还包括:
软件管理服务端下载软件补丁集并对所述软件补丁集进行解析,得到更新后的软件版本文件、软件版本属性与单板属性的对应关系并存储。
基于上述方法,本发明实施例提供了一种单板的软件管理系统,该系统包括:软件管理客户端、软件管理服务端;其中,
所述软件管理客户端,配置为向软件管理服务端发送软件版本请求,所述软件版本请求中携带有单板信息;
所述软件管理服务端,配置为根据收到的单板信息、以及预存的软件 版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端。
上述方案中,所述软件管理服务端,还配置为下载软件全集并对所述软件全集进行解析,得到软件版本文件、软件版本属性与单板属性的对应关系并存储。
上述方案中,所述单板信息包括单板ID、单板硬件属性、单板槽位号。
上述方案中,所述软件管理服务端,还配置为配置单板槽位号与单板功能号的对应关系并存储。
上述方案中,所述软件管理服务端,配置为根据单板槽位号,查询所述单板槽位号与单板功能号的对应关系中是否存在对应的单板功能号;查询到对应的单板功能号时,根据单板的ID、单板的硬件属性、及对应的单板功能号查询存储的软件版本属性与单板属性的对应关系,获取对应的软件版本属性;根据软件版本属性获取对应的软件文件存储路径、FTP服务器信息,并将软件版本属性、软件文件存储路径、FTP服务器信息封装为软件版本信息;或者,
根据单板槽位号,查询所述单板槽位号与单板功能号的对应关系中是否存在对应的单板功能号;未查询到对应的单板功能号时,根据单板的ID、单板的硬件属性、及默认的单板功能号查询存储的软件版本属性与单板属性的对应关系,获取对应的软件版本属性;根据软件版本属性获取对应的软件文件存储路径、FTP服务器信息,并将软件版本属性、软件文件存储路径、FTP服务器信息封装为软件版本信息。
上述方案中,所述软件管理客户端,还配置为接收对应的软件版本信息;根据对应的软件版本信息,并通过FTP下载对应的软件版本文件。
上述方案中,所述软件管理客户端,还配置为向软件管理服务端发送软件版本更新请求,所述软件版本更新请求中携带有单板信息;
所述软件管理服务端,还配置为根据收到的单板信息、以及预存的更新后的软件版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端。
上述方案中,所述软件管理服务端,还配置为下载软件补丁集并对所述软件补丁集进行解析,得到更新后的软件版本文件、软件版本属性与单板属性的对应关系并存储。
本发明实施例又提供了一种计算机存储介质,所述计算机存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行上述的单板的软件管理方法。
本发明实施例所提供的单板的软件管理方法、系统及计算机存储介质,软件管理客户端向软件管理服务端发送软件版本请求,所述软件版本请求中携带有单板信息;软件管理服务端根据收到的单板信息、以及预存的软件版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端。如此,本发明实施例采用客户端/服务端(Client/Server,C/S)模式集中式管理方式进行软件管理,并根据单板信息、以及预存的软件版本属性与单板属性的对应关系,获取对应的软件版本信息,使单板根据对应的软件版本信息实现相应的软件功能,从而使单板具备一板多用的功能。
附图说明
图1为本发明实施例单板的软件管理方法实现流程示意图;
图2为本发明实施例单板的组成结构示意图。
具体实施方式
本发明实施例应用于单板的软件管理系统,将单板插入对应的槽位中能够实现相应的软件功能;所述系统内部采用C/S模式集中式管理方式进 行软件管理,该系统包括:软件管理客户端、软件管理服务端,所述软件管理客户端与所述软件管理服务端交互实现单板的软件管理,从而使单板具备一板多用的功能。
在实际应用中,所述单板包括主控板及线卡;所述软件管理服务端可由所述单板中的主控板实现;所述软件管理客户端可由所述单板中的主控板和/或线卡实现。
下面结合附图对本发明的具体实施方式进行说明。
在本发明的各种实施例中:软件管理客户端向软件管理服务端发送软件版本请求,所述软件版本请求中携带有单板信息;软件管理服务端根据收到的单板信息、以及预存的软件版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端。
如图1所示,本发明实施例提供的单板软件管理方法,具体实现步骤包括:
步骤S100:软件管理服务端下载软件全集并对所述软件全集进行解析,得到软件版本文件、软件版本属性与单板属性的对应关系并存储。
这里,单板上电启动时,软件管理服务端下载软件全集,所述集是一种压缩包格式,所述软件全集包括通信设备支持的所有软件版本文件、以及扩展性标识语言(eXtensible Markup Language,XML)配置文件;其中,所述XML配置文件中每一条记录包括版本文件名称<filename>、版本号<verno>、版本压缩类型<compress_type>、版本类型<ver_type>、单板ID<board_id>、单板硬件属性<cpu_type>、单板功能号<func_id>等字段,每个字段中携带有相应的信息;
所述软件管理服务端收到激活指令时,对所述软件全集进行解析得到所有软件版本文件、以及软件版本属性与单板属性的对应关系;具体地,软件版本属性包括版本文件名称、版本号、版本压缩类型、版本类型等信 息;所述单板属性包括单板ID、单板硬件属性、单板功能号等信息;软件版本属性与单板属性的对应关系为版本文件名称、版本号、版本压缩类型、版本类型,与单板ID、单板硬件属性、单板功能号的对应关系;其中,具有相同单板ID的单板,可以对应多个单板功能号,不同的单板功能号可以对应不同的软件版本文件,从而满足一块单板支持多种软件功能的需求;
然后,所述软件管理服务端将所有软件版本文件及对应的软件文件存储路径存储于存储介质;同时,保存软件版本属性与单板属性的对应关系到数据库或配置表,并将所述数据库或配置表存储于存储介质中;其中,解析后的所有软件版本文件中各个软件版本文件都是独立存在的,所述存储介质采用硬盘、闪存卡(Compact Flash,CF)等。
这里,软件管理服务端收到去激活指令时,删除存储介质中对应的软件版本文件、软件文件存储路径、以及软件版本属性与单板属性的对应关系。
这里,所述软件管理服务端获取软件版本文件、软件文件存储路径、软件版本属性与单板属性的对应关系并存储后,可以向所述软件管理客户端发送软件下载指令,所述软件下载指令用于指示所述软件管理客户端向所述软件管理服务端发送软件版本请求;也可以不向所述软件管理客户端发送软件下载指令,由用户手动重启单板。
步骤S101:软件管理客户端向软件管理服务端发送软件版本请求,所述软件版本请求中携带有单板信息。
这里,所述软件管理客户端收到软件版本文件下载指令时,获取单板ID、单板硬件属性、单板槽位号等单板信息,将所述单板信息携带于软件版本请求发送给软件管理服务端。
这里,也可以由用户手动重启单板后,所述软件管理客户端将所述单板信息携带于软件版本请求发送给软件管理服务端。
这里,在软件管理服务端获取软件版本文件、软件版本属性与单板属性的对应关系并存储之后,也可以由用户重启单板,此时,所述软件管理客户端就会向软件管理服务端发送软件版本请求。
步骤S102:软件管理服务端根据收到的单板信息、以及预存的软件版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端。
这里,所述单板信息包括单板ID、单板硬件属性、单板槽位号;
相应地,所述软件管理服务端需要预先配置单板槽位号与单板功能号的对应关系并存储;
具体地,所述软件管理服务端先根据所述单板槽位号,查询所述单板槽位号与单板功能号的对应关系中是否存在对应的单板功能号;
查询到对应的单板功能号时,根据单板的ID、单板的硬件属性、及对应的单板功能号查询软件版本属性与单板属性的对应关系,获取对应的软件版本属性;根据所述软件版本属性获取对应的软件文件存储路径、FTP服务器信息,并将软件版本属性、软件文件存储路径、FTP服务器信息封装为软件版本信息;
未查询到对应的单板功能号时,根据单板的ID、单板的硬件属性、及默认的单板功能号查询存储的软件版本属性与单板属性的对应关系,获取对应的软件版本属性;根据所述软件版本属性获取对应的软件文件存储路径、FTP服务器信息,并将软件版本属性、软件文件存储路径、FTP服务器信息封装为软件版本信息。
这里,所述软件管理服务端若查询到对应的多个软件版本属性,则获取版本文件名称相同且版本号最大的软件版本属性。
在一实施例中,所述方法还包括:
步骤S103:所述软件管理客户端接收对应的软件版本信息;根据对应 的软件版本信息,并通过FTP下载对应的软件版本文件。
这里,如何根据对应的软件版本信息,并通过FTP下载对应的软件版本文件属于现有技术,重复之处不再赘述。
本发明上述实施例中,预先配置单板槽位号与单板功能号的对应关系,不同的单板槽位号对应不同单板功能号,不同的单板功能号可以对应不同的软件版本文件,如此,能够使一块物理单板具备多种软件功能,以便于单板的运营维护;若需要转换单板的软件功能,则只需要通过网络管理界面或命令行界面(command-line interface,CLI)界面控制单板重新插入对应的槽位,单板重新插入时对应槽位的物理单板就会重新启动,在重新启动后,重新加载新的软件版本文件,从而使单板具备一板多用的功能。
另外,发现单板故障或软件版本文件需要更新时,向所述软件管理服务端提供软件补丁集下载服务以修复单板故障或更新软件版本文件,所述软件补丁集括需要修复或更新的软件版本文件、以及相应的软件版本属性与单板属性的对应关系;
所述软件管理服务端收到激活指令时,对所述软件补丁集进行解析得到需要修复或更新的软件版本文件、以及相应的软件版本属性与单板属性的对应关系,并将需要修复或更新的软件版本文件及对应的软件文件存储路径存储于存储介质,同时,保存相应的软件版本属性与单板属性的对应关系到数据库,并将所述数据库存储于存储介质中;
所述软件管理服务端可以向所述软件管理客户端发送软件版本更新指令,以通知所述软件管理客户端重启单板,也可以不向所述软件管理客户端发送软件版本更新指令,由用户手动来重启单板;对于有保护的单板可以在单板重启后将业务直接倒换至单板中的保护单板,待故障恢复后可以将业务重新切换回单板中的工作单板,从而在恢复单板故障的过程中不中断业务的执行;单板重启后,将单板信息携带于软件版本更新请求发送给 所述软件管理服务端,后续软件版本更新过程与上述软件版本下载过程类似,重复之处不再赘述。
这里,也可以通过软件补丁集去激活的方式,来实现软件管理的回退功能,从而使单板执行补丁前的软件功能。
为了更清楚地对本发明实施例进行说明,下面以具体实施例对本发明实施例中的数据交换流程进行详细描述。
实施例一
步骤一:单板上电启动时,软件管理服务端先下载软件全集,并在接收到激活指令时,对所述软件全集进行解析得到所有软件版本文件、对应的软件文件存储路径、以及软件版本属性与单板属性的对应关系并存储;然后,向软件管理客户端发送软件下载指令;
步骤二:所述软件管理客户端收到版本下载指令时,向软件管理服务端发送软件版本请求;
这里,所述软件版本请求中携带有单板ID1、单板硬件属性CPU2.0、单板槽位号1。
步骤三:所述软件管理服务端根据单板槽位号1,查询本地预存的对应所述单板槽位号1的单板功能号3;
具体地,查询到对应的单板功能号3时,根据单板ID1、单板硬件属性CPU2.0、及对应的单板功能号3查询预存的软件版本属性与单板属性的对应关系,获取对应的版本文件名称1、版本号5.0、版本压缩类型RAR、版本类型1等软件版本属性;根据所述软件版本属性获取对应的软件文件存储路径、FTP服务器信息等,将软件版本属性、软件文件存储路径、FTP服务器信息封装为软件版本信息,从而得到软件版本信息,将所述软件版本信息返回给所述软件管理客户端。
这里,当未查询到对应的单板功能号时,根据单板的ID1、单板硬件属 性CPU2.0、及默认的单板功能号1查询存储的软件版本属性与单板属性的对应关系,获取对应的版本文件名称2、版本号2.5、版本压缩类型RAR、版本类型2等软件版本属性;根据软件版本属性获取对应的软件文件存储路径、文件传输协议FTP服务器信息,并将软件版本属性、软件文件存储路径、FTP服务器信息封装为软件版本信息;软件版本属性与单板属性的对应关系如表1所示。
Figure PCTCN2015079157-appb-000001
表1
步骤四:所述软件管理客户端收到软件版本信息时,根据所述软件版本信息并通过FTP下载对应的软件版本文件到内存,由内存加载并运行对应的软件版本文件,从而实现相应的软件功能。
实施例二
当单板需要更新时,向所述软件管理服务端提供软件补丁集下载服务以更新单板软件,所述软件补丁集包括更新的软件版本文件、以及相应的软件版本属性与单板属性的对应关系;
步骤一:单板上电启动时,软件管理服务端先下载软件补丁集,并在接收到激活指令时,对所述软件补丁集进行解析得到更新的软件版本文件、对应的软件文件存储路径、以及软件版本属性与单板属性的对应关系并存储;所述软件版本属性与单板属性的对应关系如表2所示,然后,向软件管理客户端发送软件版本更新指令;
Figure PCTCN2015079157-appb-000002
表2
步骤二:所述软件管理客户端收到软件版本更新指令时,向软件管理服务端发送软件版本更新请求;
这里,所述软件版本更新请求中携带有单板ID1、单板硬件属性CPU2.0、单板槽位号1。
步骤三:所述软件管理服务端根据单板槽位号1,查询本地预存的对应所述单板槽位号1的单板功能号3;
具体地,查询到对应的单板功能号3时,根据单板的ID1、单板的硬件属性CPU2.0、及对应的单板功能号3查询更新后的软件版本属性与单板属性的对应关系,获取对应的版本文件名称1、版本号6.0、版本压缩类型RAR、版本类型1等软件版本属性;根据所述软件版本属性获取对应的软件文件存储路径、FTP服务器信息等,将软件版本属性、软件文件存储路径、FTP服务器信息封装为软件版本信息,从而得到软件版本信息,将所述软件版本信息返回给所述软件管理客户端。
步骤四:所述软件管理客户端收到软件版本信息时,根据所述软件版本信息并通过FTP下载对应的软件版本文件,并判断是否需要更新原来的软件版本文件,确定需要更新时,将更新后的软件版本文件加载到内存,由内存加载并运行更新的软件版本文件;确定不需要更新时,结束本次处理流程。
为实现上述方法,本发明实施例提供了一种单板的软件管理系统,由于系统解决问题的原理与方法相似,因此,系统的实施可以参见前述方法的实施,重复之处不再赘述。
如图2所示,本发明实施例提供的单板的软件管理系统,该系统包括:软件管理客户端200、软件管理服务端201;其中,
所述软件管理客户端200,配置为向软件管理服务端201发送软件版本请求,所述软件版本请求中携带有单板信息;
所述软件管理服务端201,配置为根据收到的单板信息、以及预存的软件版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端200。
其中,所述单板信息包括单板ID、单板硬件属性、单板槽位号等信息。
以上划分方式仅为本发明实施例给出的一种优选实现方式,功能模块的划分方式不构成对本发明的限制。
在一实施例中,所述软件管理服务端201,还配置为下载软件全集并对所述软件全集进行解析,得到软件版本文件、软件版本属性与单板属性的对应关系并存储;其中,软件版本属性与单板属性的对应关系为版本文件名称、版本号、版本压缩类型、版本类型与单板ID、单板硬件属性、单板功能号的对应关系。
在一实施例中,所述软件管理服务端201,还配置为配置单板槽位号与单板功能号的对应关系;
具体实施中,所述软件管理服务端201,具体配置为根据单板槽位号,查询所述单板槽位号与单板功能号的对应关系中是否存在对应的单板功能号;
查询到对应的单板功能号时,根据单板的ID、单板的硬件属性、及对应的单板功能号查询软件版本属性与单板属性的对应关系,获取对应的软件版本属性;根据所述软件版本属性获取对应的软件文件存储路径、FTP服务器信息,并将软件版本属性、软件文件存储路径、FTP服务器信息封装为软件版本信息;
未查询到对应的单板功能号时,根据单板的ID、单板的硬件属性、及默认的单板功能号查询存储的软件版本属性与单板属性的对应关系,获取对应的软件版本属性;根据软件版本属性获取对应的软件文件存储路径、文件传输协议FTP服务器信息,并将软件版本属性、软件文件存储路径、FTP服务器信息封装为软件版本信息。
在一实施例中,所述软件管理客户端201,还配置为接收对应的软件版本信息;根据对应的软件版本信息,并通过FTP下载对应的软件版本文件。
在一实施例中,所述软件管理客户端201,还配置为向软件管理服务端200发送软件版本更新请求,所述软件版本更新请求中携带有单板信息;
所述软件管理服务端200,还配置为根据收到的单板信息、以及预存的更新后的软件版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端201。
在一实施例中,所述软件管理服务端200,还配置为下载软件补丁集并对所述软件补丁集进行解析,得到更新后的软件版本文件、软件版本属性与单板属性的对应关系并存储。
在实际应用中,所述软件管理服务端201可由所述单板中的主控板实现;所述软件管理客户端200可由所述单板中的主控板和/或线卡实现,所述线卡是交换机、路由器或其它网络设备的访问线路与访问设备间的一种设备接口。
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序 产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
基于此,本发明实施例还提供了一种计算机存储介质,所述计算机存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行上述的单板软件管理方法。
本发明所述的方法并不限于具体实施方式中所述的实施例,本领域技术人员根据本发明的技术方案得出其它的实施方式,同样属于本发明的技术创新范围。
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权 利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。

Claims (17)

  1. 一种单板的软件管理方法,所述方法包括:
    软件管理客户端向软件管理服务端发送软件版本请求,所述软件版本请求中携带有单板信息;
    软件管理服务端根据收到的单板信息、以及预存的软件版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端。
  2. 根据权利要求1所述的方法,其中,所述软件管理客户端向软件管理服务端发送软件版本请求之前,所述方法还包括:
    软件管理服务端下载软件全集并对所述软件全集进行解析,得到软件版本文件、软件版本属性与单板属性的对应关系并存储。
  3. 根据权利要求1所述的方法,其中,所述单板信息包括单板身份标识码ID、单板硬件属性、单板槽位号。
  4. 根据权利要求3所述的方法,其中,所述方法还包括:
    所述软件管理服务端配置单板槽位号与单板功能号的对应关系并存储。
  5. 根据权利要求4所述的方法,其中,所述软件管理服务端根据所述单板信息、以及预存的软件版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端,包括:
    所述软件管理服务端根据单板槽位号,查询所述单板槽位号与单板功能号的对应关系中是否存在对应的单板功能号;查询到对应的单板功能号时,根据单板的ID、单板的硬件属性、及对应的单板功能号查询软件版本属性与单板属性的对应关系,获取对应的软件版本属性;根据所述软件版本属性获取对应的软件文件存储路径、文件传输协议FTP服务器信息,并将软件版本属性、软件文件存储路径、FTP服务器信息封装为软件版本信 息返回给所述软件管理客户端;或者,
    所述软件管理服务端根据所述单板信息、以及预存的软件版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端,包括:
    所述软件管理服务端根据单板槽位号,查询所述单板槽位号与单板功能号的对应关系中是否存在对应的单板功能号;未查询到对应的单板功能号时,根据单板的ID、单板的硬件属性、及默认的单板功能号查询存储的软件版本属性与单板属性的对应关系,获取对应的软件版本属性;根据所述软件版本属性获取对应的软件文件存储路径、FTP服务器信息,并将软件版本属性、软件文件存储路径、FTP服务器信息封装为软件版本信息返回给所述软件管理客户端。
  6. 根据权利要求1至5任一项所述的方法,其中,所述方法还包括:
    所述软件管理客户端接收对应的软件版本信息;
    根据对应的软件版本信息,并通过FTP下载对应的软件版本文件。
  7. 根据权利要求1至5任一项所述的方法,其中,所述方法还包括:
    软件管理客户端向软件管理服务端发送软件版本更新请求,所述软件版本更新请求中携带有单板信息;
    软件管理服务端根据收到的单板信息、以及预存的更新后的软件版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端。
  8. 根据权利要求7所述的方法,其中,所述软件管理客户端向软件管理服务端发送软件版本更新请求之前,所述方法还包括:
    软件管理服务端下载软件补丁集并对所述软件补丁集进行解析,得到更新后的软件版本文件、软件版本属性与单板属性的对应关系并存储。
  9. 一种单板的软件管理系统,所述系统包括:软件管理客户端、软件 管理服务端;其中,
    所述软件管理客户端,配置为向软件管理服务端发送软件版本请求,所述软件版本请求中携带有单板信息;
    所述软件管理服务端,配置为根据收到的单板信息、以及预存的软件版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端。
  10. 根据权利要求9所述的系统,其中,所述软件管理服务端,还配置为下载软件全集并对所述软件全集进行解析,得到软件版本文件、软件版本属性与单板属性的对应关系并存储。
  11. 根据权利要求9所述的系统,其中,所述单板信息包括单板ID、单板硬件属性、单板槽位号。
  12. 根据权利要求11所述的系统,其中,所述软件管理服务端,还配置为配置单板槽位号与单板功能号的对应关系并存储。
  13. 根据权利要求12所述的系统,其中,所述软件管理服务端,配置为根据单板槽位号,查询所述单板槽位号与单板功能号的对应关系中是否存在对应的单板功能号;查询到对应的单板功能号时,根据单板的ID、单板的硬件属性、及对应的单板功能号查询存储的软件版本属性与单板属性的对应关系,获取对应的软件版本属性;根据软件版本属性获取对应的软件文件存储路径、FTP服务器信息,并将软件版本属性、软件文件存储路径、FTP服务器信息封装为软件版本信息;或者,
    根据单板槽位号,查询所述单板槽位号与单板功能号的对应关系中是否存在对应的单板功能号;未查询到对应的单板功能号时,根据单板的ID、单板的硬件属性、及默认的单板功能号查询存储的软件版本属性与单板属性的对应关系,获取对应的软件版本属性;根据软件版本属性获取对应的软件文件存储路径、FTP服务器信息,并将软件版本属性、软件文件存储 路径、FTP服务器信息封装为软件版本信息。
  14. 根据权利要求9至13任一项所述的系统,其中,所述软件管理客户端,还配置为接收对应的软件版本信息;根据对应的软件版本信息,并通过FTP下载对应的软件版本文件。
  15. 根据权利要求9至13任一项所述的系统,其中,所述软件管理客户端,还配置为向软件管理服务端发送软件版本更新请求,所述软件版本更新请求中携带有单板信息;
    所述软件管理服务端,还配置为根据收到的单板信息、以及预存的更新后的软件版本属性与单板属性的对应关系,获取对应的软件版本信息并返回给所述软件管理客户端。
  16. 根据权利要求15所述的系统,其中,所述软件管理服务端,还配置为下载软件补丁集并对所述软件补丁集进行解析,得到更新后的软件版本文件、软件版本属性与单板属性的对应关系并存储。
  17. 一种计算机存储介质,所述计算机存储介质包括一组指令,当执行所述指令时,引起至少一个处理器执行如权利要求1至8任一项所述的单板的软件管理方法。
PCT/CN2015/079157 2014-12-03 2015-05-18 一种单板的软件管理方法、系统及计算机存储介质 WO2016086612A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410728193.2A CN105656661B (zh) 2014-12-03 2014-12-03 一种单板的软件管理方法及系统
CN201410728193.2 2014-12-03

Publications (2)

Publication Number Publication Date
WO2016086612A1 true WO2016086612A1 (zh) 2016-06-09
WO2016086612A9 WO2016086612A9 (zh) 2016-07-07

Family

ID=56090921

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/079157 WO2016086612A1 (zh) 2014-12-03 2015-05-18 一种单板的软件管理方法、系统及计算机存储介质

Country Status (2)

Country Link
CN (1) CN105656661B (zh)
WO (1) WO2016086612A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776099A (zh) * 2017-01-11 2017-05-31 北京皮尔布莱尼软件有限公司 一种服务熔断隔离系统和方法

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002296A (zh) * 2017-06-06 2018-12-14 中兴通讯股份有限公司 一种软件下载方法、装置及基站
CN107592220A (zh) * 2017-09-07 2018-01-16 安徽皖通邮电股份有限公司 一种通讯设备软件自定义背板硬件资源的方法
CN113364611B (zh) * 2021-05-10 2022-04-15 烽火通信科技股份有限公司 资源id管理方法、装置、设备及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136768A (zh) * 2006-09-01 2008-03-05 中兴通讯股份有限公司 通信设备的软件及硬件版本管理方法和系统
CN101179430A (zh) * 2007-12-03 2008-05-14 中兴通讯股份有限公司 一种分布式系统软件版本更新控制装置及方法
CN101616026A (zh) * 2009-07-14 2009-12-30 中兴通讯股份有限公司 一种获取单板属性的方法及系统
CN102546261A (zh) * 2012-02-07 2012-07-04 华为技术有限公司 网元升级的方法、网元、服务器及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1252951C (zh) * 2003-11-04 2006-04-19 中兴通讯股份有限公司 节点b单板软件下载及升级方法
CN100359468C (zh) * 2004-12-14 2008-01-02 中兴通讯股份有限公司 一种单板软件下载方法和装置
CN101499920A (zh) * 2008-02-03 2009-08-05 中兴通讯股份有限公司 一种实现单板软件下载的方法及装置
US20130262220A1 (en) * 2012-03-30 2013-10-03 John Philip Murphy Customizable computer-enabled system for improvement of conversion ratios in client leads, call broadcasts, ad efficiency determination, and method of use thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101136768A (zh) * 2006-09-01 2008-03-05 中兴通讯股份有限公司 通信设备的软件及硬件版本管理方法和系统
CN101179430A (zh) * 2007-12-03 2008-05-14 中兴通讯股份有限公司 一种分布式系统软件版本更新控制装置及方法
CN101616026A (zh) * 2009-07-14 2009-12-30 中兴通讯股份有限公司 一种获取单板属性的方法及系统
CN102546261A (zh) * 2012-02-07 2012-07-04 华为技术有限公司 网元升级的方法、网元、服务器及系统

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776099A (zh) * 2017-01-11 2017-05-31 北京皮尔布莱尼软件有限公司 一种服务熔断隔离系统和方法
CN106776099B (zh) * 2017-01-11 2020-01-03 北京皮尔布莱尼软件有限公司 一种服务熔断隔离系统和方法

Also Published As

Publication number Publication date
CN105656661B (zh) 2020-06-09
CN105656661A (zh) 2016-06-08
WO2016086612A9 (zh) 2016-07-07

Similar Documents

Publication Publication Date Title
CN101098248B (zh) 一种基于配置描述文件实现通用网络管理的方法及系统
CN103942058B (zh) 一种嵌入式电子设备软件升级方法及系统
CN108989066B (zh) 设备管理方法及装置
WO2016086612A1 (zh) 一种单板的软件管理方法、系统及计算机存储介质
EP2866142A1 (en) Upgrade package generation method and device, dynamic file differential upgrade method and terminal
WO2020182893A1 (en) System and method for interoperable communication of an automation system component with multiple information sources
CN106257868B (zh) 配置数据推送方法及装置
WO2016110092A1 (zh) 资产信息的管理方法及装置
WO2015131603A1 (zh) 一种差分升级方法、服务端及终端
WO2014101475A1 (zh) 云平台应用部署方法及装置
WO2008134948A1 (fr) Procédé et dispositif permettant de traiter des informations de configuration et système de plateforme
AU2013397867A1 (en) Application upgrade method and device
CN110532009A (zh) 一种智能设备升级管理系统及方法
US9819545B2 (en) Telecommunications node configuration management
WO2016074412A1 (zh) 基于网络配置协议进行兼容管理的方法、存储介质及设备
CN106911769B (zh) 云平台路由数据的处理方法和云平台的物理服务器
US9871699B2 (en) Telecommunications node configuration management
US9612822B2 (en) Telecommunications node configuration management
WO2016197953A1 (zh) 一种部署多模基站的方法及装置
CN107092502A (zh) 一种基于云操作系统的应用自动配置方法和装置
CN112804276B (zh) 虚拟化宽带远程接入服务器及其控制方法、通信系统
CN110768811B (zh) 更新yang模型文件库的方法、装置和系统
CN107273047B (zh) 一种缓存管理方法、缓存管理器及存储管理软件
WO2021189895A1 (zh) 配置数据的管理方法、装置、设备及存储介质
CN115826679A (zh) 一种kubernetes集群中时钟源管理的方法、系统、设备及存储介质

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: 15865308

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: 15865308

Country of ref document: EP

Kind code of ref document: A1