Host online upgrading method and system suitable for conference system
By introducing BOOT programs and PC software into the conference system host, connecting the conference system host to the same LAN for online upgrades, solving the problems of inconvenience in upgrading and difficulty in version confirmation in the existing technology, and improving the convenience and efficiency of upgrades.
Patent Information
- Application Number
- CN202510010716.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-03
- Publication Date
- 2025-04-18
- Estimated Expiration
- 2045-01-03
AI Technical Summary
The upgrade method of the existing conference system host requires professionals to open the shell, connect, burn and verify it. It cannot be carried out anytime, anywhere at the conference site, and it cannot be effectively confirmed that the program version is correct.
By connecting the host computer and the conference system host to the same LAN, using BOOT programs and PC software to achieve online upgrades, which are divided into steps such as data packet splitting, verification, sorting, copying and booting, ensuring the integrity and correctness of the upgrade package.
The meeting system host is upgraded at any time through the network cable at the conference site, which improves the convenience and efficiency of the upgrade and ensures the correctness of the program version.
Smart Images

Figure CN119854120A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a host online upgrade method, in particular to a host online upgrade method and system suitable for a conference system, belonging to the technical field of conference systems. Background Art
[0002] At present, the commonly used conference system mainly consists of conference system host, conference system unit, central control system, power amplifier system, and sound reinforcement speaker. Among them, the conference system host is the core of the conference system, which mainly involves the control and management of the speech of the conference system unit, as well as the unified management and control of other external related conference equipment.
[0003] Since the functions of the conference system are strongly related to the venue environment, it is often necessary to perform functional upgrades on the conference system host at the venue, or when new equipment needs to be added to the conference system, a new version of the conference system host needs to be developed to provide protocol support and docking for the newly added equipment, or in order to meet other customer requirements for improvements to the conference system, the conference system host needs to undergo a software upgrade.
[0004] In the past, the only way to upgrade the conference system host was to connect the computer to the conference system host through the JLINK burning box, and then use the JLINK burning software to upgrade the conference system host's circuit board. However, this upgrade method cannot be carried out at any time and anywhere at the conference site, but requires the manufacturer to send professionals to open the case, connect, burn, verify and other steps of the conference system host to achieve it. This not only brings great trouble to the conference maintenance personnel and construction personnel, but also cannot effectively confirm the correctness of the program version after burning the program.
[0005] Therefore, the conference site urgently needs an online upgrade method suitable for the conference system host program. Summary of the invention
[0006] In view of the above-mentioned existing technical problems, the present invention provides a host online upgrade method and system suitable for a conference system, so as to improve the convenience of upgrading the conference system host and achieve the technical purpose of upgrading the conference system host at any time through a network cable.
[0007] To achieve the above technical objectives, the present invention provides a host online upgrade method applicable to a conference system, comprising the following steps:
[0008] S1. Connect the host computer and multiple conference system hosts to the same local area network; the host computer is installed with PC software, and the PC software stores a version management database; the program area of the conference system host is divided into a BOOT area, a temporary APP area, a formal APP area, and a configuration parameter area; wherein the BOOT area is used to store the BOOT program; the temporary APP area is used to store the APP program upgrade package issued by the PC software; the formal APP area is used to store the APP program, and the APP program upgrade package from the temporary APP area; the configuration parameter area is used to store the unique ID, hardware version number, and software version number of the conference system host;
[0009] S2. According to the configuration parameters of all conference hosts, the PC software queries the version management database and sequentially traverses and compares whether the software versions of all conference system hosts are the latest. For conference hosts whose software versions are not the latest, the PC software splits and packages the APP program upgrade package suitable for the conference host to generate multiple data packets, and adds a packet number, a checksum, and a unique ID to each data packet, and then sends the data packets to the conference system host one by one;
[0010] S3. The conference system host receives the data packets sent by the PC software one by one through the BOOT program, first unpacks the received data packets, then performs a unique ID check on the received data packets, and then performs a packet content check on the data packets that pass the unique ID check. After receiving all the data packets sent by the PC software, the host performs a packet sequence number check on all the data packets that pass the packet content check.
[0011] S4. The conference system host sorts all the data packets that pass the packet number verification according to the packet number through the BOOT program, extracts the packet data in all the data packets in sequence, and then pieces all the packet data into a complete APP program upgrade package in the temporary APP area;
[0012] S5. The conference system host checks whether the verification information in the temporary APP area is correct through the BOOT program. If correct, the APP program upgrade package in the temporary APP area is copied to the official APP area;
[0013] S6. The conference system host checks whether the verification information in the official APP area is correct through the BOOT program. If correct, it guides the APP program in the official APP area to start and replaces the current APP program with the APP program upgrade package, thereby completing the upgrade of the conference system host.
[0014] In the method of the present invention, step S2 further comprises the following sub-steps:
[0015] S2-1. The PC software initiates a query command to all conference system hosts. Each conference system host replies to the PC software through the BOOT program with the unique ID, hardware version number, and software version number stored in its configuration parameter area.
[0016] S2-2. PC software sorts the unique IDs, hardware version numbers, and software version numbers of all conference system hosts according to their unique IDs to form a host upgrade list.
[0017] S2-3. The PC software determines in order whether the unique ID of each conference system host is not 0 according to the host upgrade list;
[0018] If a conference system host with a unique ID of 0 is found, proceed to step S2-4;
[0019] If a conference system host with a unique ID other than 0 is found, proceed to step S2-5;
[0020] S2-4, the PC software assigns a unique ID with a non-zero value to the conference system host through an assign ID instruction, and stores it in the configuration parameter area of the conference system host, and then returns to step S2-1;
[0021] S2-5. The PC software compares the software version number in the version management database with the software version number in the host upgrade list to determine whether the APP program of the conference system host has a new version;
[0022] If there is no new version of the APP program, it means that the conference system host has been upgraded;
[0023] If there is a new version of the APP program, go to step S2-6.
[0024] S2-6. The PC software splits and packages the APP program upgrade package suitable for the conference host to generate multiple data packets, and adds a packet number, a check code, and a unique ID to each data packet, and then sends the data packets to the conference system host one by one, and returns to step S2-2.
[0025] The method of the present invention further comprises that in step S1, the PC software of the host computer and the BOOT program of the conference system host communicate with each other using a UDP multicast address and port.
[0026] The method of the present invention further comprises, in step S3, the unique ID verification, including the following sub-steps: the BOOT program compares the unique ID of the data packet with the unique ID of the conference system host, if the two are the same, the conference system host retains the data packet; if the two are different, the conference system host discards the data packet.
[0027] The method of the present invention further comprises the following sub-steps in step S3: the BOOT program calculates the cumulative value of the packet data, and compares the calculated cumulative value with the checksum extracted from the data packet; if the cumulative value is equal to the checksum, it means that the check is passed, and the data packet is stored in the temporary APP area; otherwise, it means that the check is not passed, and the data packet is discarded;
[0028] The method of the present invention further comprises the following sub-steps: the BOOT program performs a consistency check on the packet number and the total number of packets for all data packets stored in the temporary APP area; if the packet number and the total number of packets are consistent, it indicates that all data packets sent by the PC software have been received.
[0029] In addition, the present invention also provides a host online upgrade system suitable for a conference system to implement the host online upgrade method suitable for a conference system, including a host computer and multiple conference system hosts connected to the same local area network, which is specifically introduced as follows.
[0030] The host computer is used to install the PC software, and the PC software stores the version management database; according to the configuration parameters of all conference hosts, the PC software queries the version management database, and sequentially traverses and compares whether the software versions of all conference system hosts are the latest; for conference hosts whose software versions are not the latest, the PC software splits and packages the APP program upgrade package suitable for the conference host, generates multiple data packets, and adds a packet number, a check code, and a unique ID to each data packet, and then sends the data packets to the conference system host one by one;
[0031] The conference system host: the program area is divided into a BOOT area, a temporary APP area, a formal APP area, and a configuration parameter area; wherein the BOOT area is used to store the BOOT program; the temporary APP area is used to store the APP program upgrade package issued by the version management module; the formal APP area is used to store the APP program and the APP program upgrade package from the temporary APP area; the configuration parameter area is used to store the unique ID, hardware version number, and software version number of the conference system host;
[0032] The BOOT program includes an upgrade package receiving unit, a unique ID verification unit, a package content verification unit, a package sequence number verification unit, a sorting and assembling unit, an upgrade package copying unit, and a booting unit;
[0033] The upgrade package receiving unit is used to receive the data packets sent by the PC software one by one and unpack the received data packets first;
[0034] Unique ID verification unit: used to perform unique ID verification on received data packets;
[0035] Packet content verification unit: used to perform packet content verification on the data packet that has passed the unique ID verification;
[0036] Packet sequence number verification unit: used to perform packet sequence number verification on all data packets that pass the packet content verification after receiving all data packets sent by the PC software;
[0037] Sorting and assembling unit: used to sort all the data packets that pass the packet number verification according to the packet number, extract the packet data in all the data packets in sequence, and then assemble all the packet data into a complete APP program upgrade package in the temporary APP area;
[0038] Copy upgrade package unit: used to check whether the verification information in the temporary APP area is correct. If correct, the APP program upgrade package in the temporary APP area is copied to the formal APP area;
[0039] Boot and start unit: used to check whether the verification information in the official APP area is correct. If correct, it will guide the APP program in the official APP area to start, and replace the current APP program with the APP program upgrade package, thereby completing the upgrade of the conference system host.
[0040] In summary, the present invention provides a new method for upgrading the program firmware of a conference system host, which is convenient, easy to use and stable, and achieves the purpose of upgrading the conference system host through a network cable.
[0041] Compared with the prior art, the present invention has the following technical advantages:
[0042] 1. It effectively solves the problem of complicated shell opening and the need for a dedicated downloader when upgrading the conference system host using the traditional JLINK downloader, greatly improving the efficiency of the upgrade operation;
[0043] 2. In particular, it solves the convenience of upgrading and maintaining the conference system host at the customer's site, greatly saving the travel expenses and operation difficulty of the manufacturer's on-site maintenance personnel. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 A network connection block diagram of a host computer and a conference system host when the method of the present invention is implemented;
[0045] Figure 2 It is a block diagram of the program area division principle of the conference system host when the method of the present invention is implemented;
[0046] Figure 3 This is a flow chart of version upgrade management in step S2 when the method of the present invention is implemented. DETAILED DESCRIPTION
[0047] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in combination with the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0048] In the description of this application, words such as "connection" or "connected" are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0049] Embodiment 1: The present invention provides a host online upgrade method applicable to a conference system, and the specific steps are described as follows.
[0050] S1. Connect the host computer and multiple conference system hosts to the same LAN.
[0051] When implementing it, Figure 1 As shown, conference system host 1, conference system host 2, ..., conference system host N, and the host computer at the conference site are connected to the network switch respectively and placed in the same network, so that the N conference system hosts and the host computer can communicate through the computer network.
[0052] In other implementations, the PC software of the host computer and the BOOT program of the conference system host communicate using a UDP multicast address and port. When the conference system is powered on, both the PC software and the BOOT program will join the multicast address.
[0053] It should be noted that the host computer is installed with PC software; the PC software stores a version management database, which is mainly responsible for maintaining an upgrade version comparison registration table indexed by the "unique ID" of the conference system host. In addition, a new conference system host does not have "unique ID" information. The host computer and the new conference system host can be connected one-to-one through the network, and the PC software sends a "unique ID" assignment instruction to the conference system host to set the "unique ID".
[0054] It should be noted that if Figure 2 As shown, in order to realize the online upgrade of the conference system host, the program of the conference system host is divided into two parts: BOOT program and APP program, and the program area of the conference system host is divided into 4 areas, namely BOOT area, temporary APP area, formal APP area, and configuration parameter area. The details are as follows.
[0055] (1) The BOOT area is used to store the BOOT program.
[0056] Specifically, the APP program is the core operating system and application of the conference system host. The BOOT program is an embedded boot upgrade program in the conference system host. The BOOT program is burned in at the factory and only has the upgrade boot function. It is mainly used to select whether the APP program used by the conference system is started from the temporary APP area or the formal APP area. In addition, the conference system host at the factory does not have other functions of the conference system. The "unique ID" is written through the PC software and the APP program upgrade package is sent to the conference system host.
[0057] In specific implementation, the BOOT area supports the following functions: (a) Supports responding to version query and upgrade instructions of the host PC software. After receiving the upgrade instruction, it will jump to the BOOT program and let the BOOT program choose whether to upgrade. (b) Supports querying the hardware configuration of the conference system host through an internal algorithm and generating a hardware version number. (c) Supports responding to the "unique ID" instruction assigned by the host PC software. (d) Supports receiving the APP program upgrade package sent by the host PC software, and supports the inspection and verification function of the APP program upgrade package. First, the data packet sent by the PC software is verified. After the verification passes, all data packets are assembled into a complete APP program upgrade package and stored in the temporary APP area. Then, the integrity of the APP program upgrade package in the temporary APP area is verified. After the verification passes, the APP program upgrade package in the temporary APP area is copied to the formal APP area, and the APP program is guided to start.
[0058] (2) The temporary APP area is used to store the APP program upgrade package issued by the PC software.
[0059] Specifically, the temporary APP area is used as a cache area for APP program upgrade packages, and is used to store received APP program upgrade packages. In addition, after the BOOT program is started, the data packets sent by the PC software are first verified. After the verification is passed, all data packets are assembled into a complete APP program upgrade package and stored in the temporary APP area. Then, the integrity of the APP program upgrade package in the temporary APP area is verified. After the verification is passed, the APP program upgrade package in the temporary APP area is copied to the formal APP area, and the BOOT program decides whether to start the APP program. Once the upgrade is completed, the data content of the temporary APP area will be deleted to free up storage space.
[0060] (3) The official APP area is used to store APP program upgrade packages from the temporary APP area.
[0061] Specifically, the official APP area is used to store the received APP program upgrade package, and the BOOT program decides whether to start the APP program. In addition, the official APP area can respond to the version query command of the host PC software, and set the unique ID, hardware version number, and software version number of the conference system host. In addition, the official APP area receives the APP program upgrade package issued by the PC software to the temporary APP area.
[0062] (4) The configuration parameter area is used to store the unique ID, hardware version number, and software version number of the conference system host.
[0063] First, a storage area in each conference system host stores a 32-bit byte wide "unique ID" field. The "unique ID" is registered and managed by the PC software, and is assigned or manually specified by the PC software. It is only necessary to ensure that multiple conference system hosts in the same LAN use different "unique IDs" to ensure that the network data packets sent by the PC software have the correct communication address.
[0064] In specific implementation, the initial value of the "unique ID" field when the conference system host is produced is 0. The PC software assigns a non-zero "unique ID" to the conference system host by querying the version management database. Each upgrade package will use the "unique ID" to determine which conference system host it is sent to, and each conference system host will also compare the destination address of the received upgrade package with its own "unique ID".
[0065] Second, a storage area in each conference system host stores a 20-byte "hardware version number". The "hardware version number" records the hardware version information. The hardware version number is specified in the embedded boot upgrade program and burned into the storage area of the hardware version number, for example, it is fixed as "machine v01". The value of this area is modified by identifying the hardware identifier through the boot upgrade program, and the value is the same for the same hardware.
[0066] During specific implementation, the "hardware version number" is allocated by PC software and written by production personnel based on the hardware characteristics of the motherboard. Generally, the version is iterated in ascending alphanumeric order.
[0067] Third, a storage area in each conference system host stores a 20-byte "software version number". The "software version number" records the software version information, which is specified in the embedded boot upgrade program and burned into the storage area of the software version number, for example, fixed as "APP v01".
[0068] During specific implementation, the "software version number" is provided by the developer of the conference system host, and the version is generally iterated in ascending alphanumeric order.
[0069] In summary, through such area division and startup process, the stability and upgradability of the online upgrade of the conference system host can be ensured. At the same time, it is also convenient for the maintenance and management of the online upgrade system.
[0070] S2. According to the configuration parameters of all conference hosts, the PC software queries the version management database and checks the software versions of all conference system hosts in turn to see if they are the latest. For conference hosts whose software versions are not the latest, the PC software splits and packages the APP program upgrade package suitable for the conference host to generate multiple data packets, and adds a packet number, checksum, and unique ID to each data packet, and then sends the data packets to the conference system host one by one. Figure 3 As shown, this step S2 includes the following sub-steps.
[0071] S2-1. The PC software initiates a query command to all conference system hosts in the local area network. All conference system hosts reply to the PC software through their respective BOOT programs with information such as "unique ID", "hardware version number", and "software version number" stored in the configuration parameter area.
[0072] It should be noted that the three information of "unique ID", "hardware version number" and "software version number" are assigned to the conference system host for storage. When an upgrade is required later, use the PC software to query the three information of the conference system host. Only when the PC software knows the software version used by the current conference system host can it select the appropriate software version for upgrade.
[0073] In specific implementation, the conference system host information mapping table queried by the PC software is as follows. This table is recorded in the PC software and contains the three aspects of information of all conference system hosts: "unique ID", "hardware version number" and "software version number". It is used for PC software query and decision whether to upgrade the conference system host.
[0074] Unique ID Hardware version number Software version number ID_1 machine v01 APP v01 ID_2 machine v02 APP v02 ID_3 machine v03 APP v03 ... ... ... ID_N machine v0N APP v0N
[0075] S2-2. The PC software sorts the "unique ID", "hardware version number" and "software version number" of all conference system hosts according to the "unique ID" to form a host upgrade list.
[0076] It should be noted that the "unique ID" here is only used to distinguish multiple conference system hosts in the local area network to ensure that the host computer and the conference system host can communicate normally. In addition, the configuration parameters of the conference system host are sorted according to the "unique ID". The purpose of sorting is to facilitate finding the information of the conference system host after arranging them in ascending order by the "unique ID", so as to facilitate upgrading multiple conference system hosts in sequence.
[0077] S2-3. The PC software determines in order whether the "unique ID" of each conference system host is not 0 according to the host upgrade list;
[0078] If a conference system host with a "unique ID" of 0 is found, proceed to step S2-4;
[0079] If a conference system host whose "unique ID" is not 0 is found, go to step S2-5.
[0080] S2-4. For the conference system host whose "unique ID" is 0, the PC software assigns a non-zero "unique ID" to the conference system host through an assign ID instruction, stores it in the configuration parameter area of the conference system host, and then returns to step S2-1.
[0081] In specific implementation, when the PC software queries multiple conference system hosts with "unique ID" of 0, the host computer and these conference system hosts are networked separately, and each conference system host is assigned a non-zero "unique ID" managed by the PC software. In addition, since the PC software and the conference system host use the "unique ID" as the communication address for data exchange, the non-zero "unique ID" must be unique to ensure that the PC software and the conference system host can communicate normally.
[0082] In summary, the PC software first queries the "unique ID" of all conference system hosts in the LAN. After receiving the command to query the host ID, all conference system hosts in the LAN will feedback their own "unique ID" to the PC software in the form of a message packet. The PC software will sort the collected "unique IDs" in ascending order and prepare to upgrade the conference system host. When the PC software finds that the "unique ID" in the host unique ID list is 0, it means that the conference system host corresponding to this ID has never been assigned a valid ID. Therefore, the PC software needs to assign an unassigned ID number to this host with an invalid ID. In addition, in the actual environment, due to negligence in the workflow, some conference system hosts may miss the assignment of a "unique ID". The above-mentioned pre-upgrade inspection steps are used to ensure that each conference system host can be assigned a "unique ID". In the case of missing the PC assigned "unique ID", the PC software uses the newly assigned "unique ID" as the mark of the conference system host and re-queries the version and upgrades it.
[0083] S2-5. For conference system hosts whose "unique ID" is not 0, the PC software compares the software version number in the version management database with the software version number in the host upgrade list to determine whether there is a new version of the APP program of the conference system host.
[0084] If there is no new version of the APP program of the conference system host, it means that the conference system host has been upgraded;
[0085] If there is a new version of the APP program of the conference system host, go to step S2-6.
[0086] In specific implementation, the software version list is stored in the version management database of the PC software, and the software version number is named in an alphanumeric ascending manner. If the software version number of the conference system host APP program queried by the PC software is not the latest, the APP program of the conference system host needs to be upgraded.
[0087] S2-6. When a new version of the APP program of the conference system host is available, the PC software will split and package the APP program upgrade package suitable for the conference host to generate multiple data packets, and add a packet number, a check code, and a unique ID to each data packet, and then send the data packets to the conference system host one by one, and return to step S2-2 until the software upgrade of all conference system hosts is completed.
[0088] In specific implementation, the PC software will select the correct software version to upgrade the conference host according to the unique ID, hardware version number and software version number queried from the conference system host. Once it is found that the software version number of a conference system host is not the latest, the PC software will split and pack the upgrade package of the correct software version with a data length of 1000 bytes using a predetermined communication protocol, generate multiple data packets for transmission, and add a packet sequence number, checksum and unique ID to each data packet, and send the data packets one by one to the conference system host that needs to be upgraded through the predetermined communication protocol.
[0089] Moreover, the content of each data packet is: packet header identifier + total number of packets + packet sequence number + packet data length + packet data (within 1000 bytes) + checksum + unique ID + packet tail identifier. In addition, the packet sequence number of each data packet increases from 1 in sequence, indicating the index value of the currently transmitted data packet.
[0090] Furthermore, since there may be multiple conference system hosts in a local area network that need to be upgraded, it is necessary to return to step S2-2 to find the next conference system host that needs to be upgraded. In this way, the software versions of all conference system hosts are traversed and compared in turn to see if they are the latest, and upgrade instructions are sent to conference hosts whose software versions are not the latest. When the software versions of all conference system hosts are updated to the latest version, the upgrade of all conference system hosts in this local area network is completed.
[0091] In summary, this step connects all conference system hosts that have been assigned a "unique ID" and the PC software of the host computer to the same LAN. The PC software uses the upgrade-specific UDP multicast address and port to query the configuration parameters of all conference system hosts in the LAN. According to the configuration parameters of all conference hosts, the PC software queries the version management database to filter out the software version suitable for the conference system host upgrade. If there is a software version suitable for the upgrade, all conference system hosts in the same LAN will be automatically upgraded. If there is no software version suitable for the conference system host upgrade, the upgrade will be skipped.
[0092] S3. The conference system host receives the data packets sent by the PC software one by one through the predetermined network communication interface via the BOOT program, first unpacks the received data packets, extracts the packet header identifier, total number of packets, packet sequence number, packet data length, packet data, check code, unique ID, and packet tail identifier, and then performs unique ID verification on the received data packets, and then performs packet content verification on the data packets that pass the unique ID verification. After receiving all the data packets sent by the PC software, perform packet sequence number verification on all the data packets that pass the packet content verification.
[0093] In other embodiments, the unique ID verification includes the following sub-steps: the BOOT program compares the "unique ID" in the data packet with the "unique ID" of the conference system host. If the two are the same, it means that the data packet is sent by the PC software to the conference system host, and the conference system host retains the data packet and performs subsequent operations; if the two are different, it means that the data packet is sent by the PC software to other conference system hosts that can match its "unique ID", and the conference system host directly discards the data packet.
[0094] In other embodiments, the packet content verification includes the following sub-steps: the BOOT program calculates the cumulative value of the packet data, and compares the calculated cumulative value with the verification code extracted from the data packet. If the cumulative value is equal to the verification code, it means that the verification passes and the data packet is stored in the temporary APP area. Otherwise, it means that the verification fails and the data packet is discarded.
[0095] In other embodiments, the packet number verification includes the following sub-steps: the BOOT program performs a consistency check on the packet number and the total number of packets for all data packets stored in the temporary APP area. If the packet number and the total number of packets are consistent, it means that all data packets sent by the PC software have been received and the data packets in the temporary APP area have been received completely.
[0096] From the above, we can know that the BOOT program of the conference system host performs three checks on the upgrade package: first, compare the unique ID of the data packet with the unique ID of the conference system host to verify whether the data packet is sent to itself by the PC software; second, perform packet content verification on the reserved data packets one by one to verify the integrity of the data; third, perform packet sequence verification on all data packets stored in the temporary APP area to confirm that all data packets sent by the PC software have been received. In this way, the conference system host can confirm the integrity of the APP program upgrade package stored in the temporary APP area.
[0097] S4. The conference system host uses the BOOT program to sort all data packets that have passed the packet number verification according to the packet number, and extracts the packet data in each data packet one by one in the order of increasing packet number, and then pieces the extracted packet data into a complete upgrade package in the temporary APP area.
[0098] In the specific implementation, considering that the data packets received in the temporary APP area may be out of order, the conference system host needs to sort all the data packets according to the packet sequence number. After sorting, the conference system host extracts the packet data in the order of increasing packet sequence number and assembles it into a complete upgrade package in the temporary APP area.
[0099] S5. The conference system host checks whether the verification information in the temporary APP area is correct through the BOOT program. Checking the verification information is to determine whether the received data packet has no bit errors and determine the integrity of the data through a software algorithm. If the verification information is correct, the APP program upgrade package in the temporary APP area is copied to the formal APP area.
[0100] S6. The conference system host checks whether the verification information in the official APP area is correct through the BOOT program.
[0101] If the verification information is correct, the APP program in the official APP area is guided to start, and the current APP program is replaced with the APP program upgrade package, thereby completing the upgrade of the conference system host.
[0102] If the verification information is incorrect, the BOOT program cannot boot the APP program in the official APP area, and the APP program upgrade package cannot replace the current APP program. The conference system host continues to use the old APP program, and the upgrade of the conference system host cannot be completed.
[0103] It can be seen that the Boot program ensures the data integrity and correctness of the upgrade process and is a key link in system startup and upgrade.
[0104] Example 2: Figure 1 , Figure 2As shown, the present invention also provides a host online upgrade system suitable for a conference system to implement the host online upgrade method suitable for a conference system, including a host computer and multiple conference system hosts connected to the same local area network, which are specifically introduced as follows.
[0105] The host computer is used to install the PC software, and the PC software stores the version management database; according to the configuration parameters of all conference hosts, the PC software queries the version management database, and sequentially traverses and compares whether the software versions of all conference system hosts are the latest; for conference hosts whose software versions are not the latest, the PC software splits and packages the APP program upgrade package suitable for the conference host, generates multiple data packets, and adds a packet number, a check code, and a unique ID to each data packet, and then sends the data packets to the conference system host one by one;
[0106] The conference system host: the program area is divided into a BOOT area, a temporary APP area, a formal APP area, and a configuration parameter area; wherein the BOOT area is used to store the BOOT program; the temporary APP area is used to store the APP program upgrade package issued by the version management module; the formal APP area is used to store the APP program and the APP program upgrade package from the temporary APP area; the configuration parameter area is used to store the unique ID, hardware version number, and software version number of the conference system host;
[0107] The BOOT program includes an upgrade package receiving unit, a unique ID verification unit, a package content verification unit, a package sequence number verification unit, a sorting and assembling unit, an upgrade package copying unit, and a booting unit;
[0108] The upgrade package receiving unit is used to receive the data packets sent by the PC software one by one and unpack the received data packets first;
[0109] Unique ID verification unit: used to perform unique ID verification on received data packets;
[0110] Packet content verification unit: used to perform packet content verification on the data packet that has passed the unique ID verification;
[0111] Packet sequence number verification unit: used to perform packet sequence number verification on all data packets that pass the packet content verification after receiving all data packets sent by the PC software;
[0112] Sorting and assembling unit: used to sort all the data packets that pass the packet number verification according to the packet number, extract the packet data in all the data packets in sequence, and then assemble all the packet data into a complete APP program upgrade package in the temporary APP area;
[0113] Copy upgrade package unit: used to check whether the verification information in the temporary APP area is correct. If correct, the APP program upgrade package in the temporary APP area is copied to the formal APP area;
[0114] Boot and start unit: used to check whether the verification information in the official APP area is correct. If correct, it will guide the APP program in the official APP area to start, and replace the current APP program with the APP program upgrade package, thereby completing the upgrade of the conference system host.
[0115] The technical solutions provided by the embodiments of the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, the technical solutions recorded in the aforementioned embodiments can be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the idea and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A host online upgrade method applicable to a conference system, characterized in that: The steps include: S1. Connect the host computer and multiple conference system hosts to the same local area network; the host computer is installed with PC software, and the PC software stores a version management database; the program area of the conference system host is divided into a BOOT area, a temporary APP area, a formal APP area, and a configuration parameter area; wherein the BOOT area is used to store the BOOT program; the temporary APP area is used to store the APP program upgrade package issued by the PC software; the formal APP area is used to store the APP program, and the APP program upgrade package from the temporary APP area; the configuration parameter area is used to store the unique ID, hardware version number, and software version number of the conference system host; S2. According to the configuration parameters of all conference hosts, the PC software queries the version management database and sequentially traverses and compares whether the software versions of all conference system hosts are the latest. For conference hosts whose software versions are not the latest, the PC software splits and packages the APP program upgrade package suitable for the conference host to generate multiple data packets, and adds a packet number, a checksum, and a unique ID to each data packet, and then sends the data packets to the conference system host one by one; S3. The conference system host receives the data packets sent by the PC software one by one through the BOOT program, first unpacks the received data packets, then performs a unique ID check on the received data packets, and then performs a packet content check on the data packets that pass the unique ID check. After receiving all the data packets sent by the PC software, the host performs a packet sequence number check on all the data packets that pass the packet content check. S4. The conference system host sorts all the data packets that pass the packet number verification according to the packet number through the BOOT program, extracts the packet data in all the data packets in sequence, and then pieces all the packet data into a complete APP program upgrade package in the temporary APP area; S5. The conference system host checks whether the verification information in the temporary APP area is correct through the BOOT program. If correct, the APP program upgrade package in the temporary APP area is copied to the official APP area; S6. The conference system host checks whether the verification information in the official APP area is correct through the BOOT program. If correct, it guides the APP program in the official APP area to start and replaces the current APP program with the APP program upgrade package, thereby completing the upgrade of the conference system host.
2. A host online upgrade method applicable to a conference system according to claim 1, characterized in that: The step S2 includes the following sub-steps: S2-1. The PC software initiates a query command to all conference system hosts. Each conference system host replies to the PC software through the BOOT program with the unique ID, hardware version number, and software version number stored in its configuration parameter area. S2-2. PC software sorts the unique IDs, hardware version numbers, and software version numbers of all conference system hosts according to their unique IDs to form a host upgrade list. S2-3. The PC software determines in order whether the unique ID of each conference system host is not 0 according to the host upgrade list; If a conference system host with a unique ID of 0 is found, proceed to step S2-4; If a conference system host with a unique ID other than 0 is found, proceed to step S2-5; S2-4, the PC software assigns a unique ID with a non-zero value to the conference system host through an assign ID instruction, and stores it in the configuration parameter area of the conference system host, and then returns to step S2-1; S2-5. The PC software compares the software version number in the version management database with the software version number in the host upgrade list to determine whether the APP program of the conference system host has a new version; If there is no new version of the APP program, it means that the conference system host has been upgraded; If there is a new version of the APP program, go to step S2-6. S2-6. The PC software splits and packages the APP program upgrade package suitable for the conference host to generate multiple data packets, and adds a packet number, a check code, and a unique ID to each data packet, and then sends the data packets to the conference system host one by one, and returns to step S2-2.
3. A host online upgrade method applicable to a conference system according to claim 1 or 2, characterized in that: In step S1, the PC software of the host computer and the BOOT program of the conference system host communicate with each other using the UDP multicast address and port.
4. A host online upgrade method applicable to a conference system according to claim 1 or 2, characterized in that: In step S3, the unique ID verification includes the following sub-steps: the BOOT program compares the unique ID of the data packet with the unique ID of the conference system host. If the two are the same, the conference system host retains the data packet; if the two are different, the conference system host discards the data packet.
5. A host online upgrade method applicable to a conference system according to claim 1 or 2, characterized in that: In step S3, the packet content verification includes the following sub-steps: the BOOT program calculates the cumulative value of the packet data, and compares the calculated cumulative value with the checksum extracted from the data packet. If the cumulative value is equal to the checksum, it means that the verification is passed and the data packet is stored in the temporary APP area. Otherwise, it means that the verification fails and the data packet is discarded.
6. A host online upgrade method applicable to a conference system according to claim 5, characterized in that: In step S3, the packet number verification includes the following sub-steps: the BOOT program performs a consistency check on the packet number and the total number of packets for all data packets stored in the temporary APP area. If the packet number and the total number of packets are consistent, it means that all data packets sent by the PC software have been received.
7. A host online upgrade system applicable to a conference system, to implement a host online upgrade method applicable to a conference system as claimed in any one of claims 1 to 6, characterized in that: Including a host computer and multiple conference system hosts connected to the same LAN; The host computer is used to install the PC software, and the PC software stores the version management database; according to the configuration parameters of all conference hosts, the PC software queries the version management database, and sequentially traverses and compares whether the software versions of all conference system hosts are the latest; for conference hosts whose software versions are not the latest, the PC software splits and packages the APP program upgrade package suitable for the conference host, generates multiple data packets, and adds a packet number, a check code, and a unique ID to each data packet, and then sends the data packets to the conference system host one by one; The conference system host: the program area is divided into a BOOT area, a temporary APP area, a formal APP area, and a configuration parameter area; wherein the BOOT area is used to store the BOOT program; the temporary APP area is used to store the APP program upgrade package issued by the version management module; the formal APP area is used to store the APP program and the APP program upgrade package from the temporary APP area; the configuration parameter area is used to store the unique ID, hardware version number, and software version number of the conference system host; The BOOT program includes an upgrade package receiving unit, a unique ID verification unit, a package content verification unit, a package sequence number verification unit, a sorting and assembling unit, an upgrade package copying unit, and a booting unit; The upgrade package receiving unit is used to receive the data packets sent by the PC software one by one and unpack the received data packets first; Unique ID verification unit: used to perform unique ID verification on received data packets; Packet content verification unit: used to perform packet content verification on the data packet that has passed the unique ID verification; Packet sequence number verification unit: used to perform packet sequence number verification on all data packets that pass the packet content verification after receiving all data packets sent by the PC software; Sorting and assembling unit: used to sort all the data packets that pass the packet number verification according to the packet number, extract the packet data in all the data packets in sequence, and then piece all the packet data together into a complete APP program upgrade package in the temporary APP area; Copy upgrade package unit: used to check whether the verification information in the temporary APP area is correct. If correct, the APP program upgrade package in the temporary APP area is copied to the formal APP area; Boot and start unit: used to check whether the verification information in the official APP area is correct. If correct, it will guide the APP program in the official APP area to start, and replace the current APP program with the APP program upgrade package, thereby completing the upgrade of the conference system host.
Citation Information
Patent Citations
Embedded system capable of upgrading software on line and online upgrading method
CN102023876A
System and method for providing environmental controls for a meeting session in a network environment
US20110320044A1
Cited By
Method and system for upgrading equipment by using network multicast
CN120848923A