A method and system for online upgrade of a host suitable for a conference system

By using UDP multicast addresses and ports for communication between the host computer and the conference system host within the local area network, program areas are divided and data packets are verified, solving the problem of requiring on-site upgrades by professional personnel in existing technologies, and enabling convenient and stable online upgrades of the conference system host.

CN119854120BActive Publication Date: 2025-11-28FANGTU INTELLIGENT (SHENZHEN) TECH GRP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510010716.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-03
Publication Date
2025-11-28
Estimated Expiration
2045-01-03

AI Technical Summary

Technical Problem

The current method of upgrading the main unit of the conference system requires professional personnel to open the casing on-site, and it is impossible to confirm the correctness of the program version in real time, resulting in inconvenience and high cost of maintenance.

Method used

By using UDP multicast addresses and ports for communication between the host computer and the conference system host within the local area network, the program area is divided into BOOT, temporary APP, and formal APP areas. The BOOT program is used to perform data packet verification and sorting to achieve online upgrades.

Benefits of technology

It enables convenient and stable online upgrades of the conference system host, reducing the complexity and cost of on-site maintenance and improving upgrade efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119854120B_ABST
    Figure CN119854120B_ABST
Patent Text Reader

Abstract

The application discloses a kind of host online upgrade method and system suitable for conference system, which comprises the following steps: S1, connecting the host computer and multiple conference system hosts to the same LAN; S2, according to the configuration parameters of all conference hosts, the PC software queries the version management database, and sequentially traverses all conference system hosts to compare whether the software version is the latest; S3, the conference system host receives the data packet sent by the PC software one by one through the BOOT program, unpacks the received data packet, performs unique ID verification, packet content verification, and packet number verification; S4, all packet data are spliced into a complete APP program upgrade package in the temporary APP area; S5, the APP program upgrade package in the temporary APP area is copied to the formal APP area; S6, the APP program in the formal APP area is started, and the current APP program is replaced with the APP program upgrade package, thereby completing the upgrade of the conference system host, greatly improving the production efficiency and the convenience of upgrade and maintenance.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to a host online upgrading method, in particular to a host online upgrading method and system suitable for a conference system, and belongs to the technical field of conference systems. BACKGROUND

[0002] At present, the commonly used conference system mainly consists of a conference system host, a conference system unit, a central control system, a power amplifier system, and a sound amplification loudspeaker. Among them, the conference system host is the core of the conference system, mainly involving the control and management of the speech of the conference system unit, and the unified control of other external related conference equipment.

[0003] Due to the strong correlation between the functions of the conference system and the meeting environment, the conference system host of the meeting site often needs to be functionally upgraded, or when new equipment needs to be added to the conference system, a new version of the conference system host program needs to be developed to support and interface the newly added equipment, or to meet the other improvement requirements of the conference system of the customer, the conference system host needs to be upgraded.

[0004] The previous upgrading method of the conference system host can only connect the computer to the conference system host through the JLINK burning box, and then use the JLINK burning software to upgrade the circuit board of the conference system host. However, this upgrading method cannot be performed anytime and anywhere in the conference site, but needs to be implemented by the manufacturer by sending professional personnel to open the case of the conference system host, connecting, burning, verifying and other steps, which 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, there is an urgent need for an online upgrading method suitable for the conference system host program in the conference site. SUMMARY

[0006] In view of the above existing technical problems, the present application provides a host online upgrading method and system suitable for a conference system 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 purpose, the present application provides a host online upgrading method suitable for a conference system, comprising the following steps:

[0008] S1, connect the upper computer and multiple conference system hosts to the same local area network; the upper computer is installed with PC software, and the PC software stores a version management database; a program area of the conference system host is divided into a BOOT area, a temporary APP area, an official APP area and a configuration parameter area; wherein, the BOOT area is used for storing a BOOT program; the temporary APP area is used for storing an APP program upgrade package issued by the PC software; the official APP area is used for storing an APP program and an APP program upgrade package from the temporary APP area; and the configuration parameter area is used for storing a unique ID, a hardware version number and a 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 to compare whether the software version of all conference system hosts is the latest one in turn; for the conference host with a non-latest software version, the PC software splits and packs an APP program upgrade package suitable for the conference host to generate multiple data packages, adds a package serial number, a check code and a unique ID to each data package, and then sends the data packages to the conference system host one by one;

[0010] S3, the conference system host receives the data packages sent by the PC software one by one through the BOOT program, first performs unpacking processing on the received data packages, then performs unique ID checking on the received data packages, then performs package content checking on the data packages passing the unique ID checking, and after receiving all the data packages sent by the PC software, performs package serial number checking on all the data packages passing the package content checking;

[0011] S4, the conference system host sorts all the data packages passing the package serial number checking according to the package serial number through the BOOT program, extracts the package data in all the data packages in sequence, and splices all the package data into a complete APP program upgrade package in the temporary APP area;

[0012] S5, the conference system host checks whether the check information in the temporary APP area is correct through the BOOT program, if correct, copies the APP program upgrade package in the temporary APP area to the official APP area;

[0013] S6, the conference system host checks whether the check information in the official APP area is correct through the BOOT program, if correct, starts the APP program in the official APP area, and replaces the current APP program with the APP program upgrade package, thereby completing the upgrade of the conference system host.

[0014] Further, the step S2 comprises the following substeps:

[0015] S2-1, the PC software initiates a query instruction to all conference system hosts, each conference system host returns the unique ID, hardware version number and software version number stored in the configuration parameter area thereof to the PC software through the BOOT program;

[0016] 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.

[0017] S2-3, the PC software sequentially judges whether the unique ID of each conference system host is 0 according to the host upgrade list.

[0018] If a conference system host with a unique ID of 0 is found, step S2-4 is entered.

[0019] If a conference system host with a unique ID not being 0 is found, step S2-5 is entered.

[0020] S2-4, the PC software assigns a non-0 unique ID to the conference system host through an assignment ID instruction and stores the unique ID 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 judge whether the APP program of the conference system host has a new version.

[0022] If no APP program has a new version, it means that the conference system host is upgraded.

[0023] If the APP program has a new version, step S2-6 is entered.

[0024] S2-6, the PC software splits and packs the APP program upgrade package suitable for the conference host to generate multiple data packets, adds a packet serial 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] Further, in step S1, the PC software of the host computer and the BOOT program of the conference system host use a UDP multicast address and port for communication.

[0026] Further, 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, and if the two are different, the conference system host discards the data packet.

[0027] The method further comprises the following sub-steps in the step S3: the BOOT program calculates a cumulative value of the data packet, compares the calculated cumulative value with the extracted checksum in the data packet, if the cumulative value is equal to the checksum, it indicates that the verification is passed, and the data packet is stored in the temporary APP area, otherwise, it indicates that the verification is failed, and the data packet is discarded.

[0028] The method further comprises the following sub-steps in the step S3: the BOOT program performs a consistency check on the packet number and the total number of packets of all the data packets stored in the temporary APP area, if the packet number is consistent with the total number of packets, it indicates that all the data packets sent by the PC software have been received.

[0029] In addition, the application also provides a host online upgrading system suitable for a conference system to implement the host online upgrading method suitable for the conference system.

[0030] The host computer is used for installing PC software, and the PC software stores a version management database; according to the configuration parameters of all the conference hosts, the PC software queries the version management database through the PC software, and sequentially traverses and compares whether the software versions of all the conference system hosts are the latest; for the conference host whose software version is not the latest, the PC software splits and packs the APP program upgrade package suitable for the conference host to generate a plurality of data packets, 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 divides a program area into a BOOT area, a temporary APP area, an official APP area and a configuration parameter area; the BOOT area is used for storing a BOOT program; the temporary APP area is used for storing an APP program upgrade package issued by a version management module; the official APP area is used for storing an APP program and an APP program upgrade package from the temporary APP area; and the configuration parameter area is used for storing a unique ID, a hardware version number and a software version number of the conference system host.

[0032] The BOOT program comprises a receiving upgrade package unit, a unique ID verification unit, a packet content verification unit, a packet number verification unit, a sorting and assembling unit, a copying upgrade package unit and a booting unit.

[0033] The receiving upgrade package unit is used for receiving the data packets sent by the PC software one by one, and first performs a packet splitting processing on the received data packet.

[0034] The unique ID verification unit is used for performing a unique ID verification on the received data packet.

[0035] packet content checking unit: used for checking the data packet checked by the unique ID;

[0036] packet number checking unit: used for checking the packet number of all the data packets checked by the packet content checking unit after all the data packets sent by the PC software are received;

[0037] sorting and assembling unit: used for sorting all the data packets checked by the packet number checking unit according to the packet number, extracting the packet data in all the data packets in sequence, and assembling all the packet data into a complete APP program upgrade packet in the temporary APP area;

[0038] copying upgrade packet unit: used for checking whether the check information in the temporary APP area is correct, and copying the APP program upgrade packet in the temporary APP area to the formal APP area if the check information is correct;

[0039] booting and starting unit: used for checking whether the check information in the formal APP area is correct, booting the APP program in the formal APP area if the check information is correct, and replacing the current APP program with the APP program upgrade packet, so as to complete the upgrade of the conference system host.

[0040] In summary, the application provides a new way of upgrading the program firmware of the conference system host, which is convenient, easy to use and stable, and realizes the purpose of upgrading the conference system host through a network cable.

[0041] Compared with the prior art, the application has the following technical advantages:

[0042] 1. The application effectively solves the problems of opening the shell and needing a special downloader when upgrading the conference system host using the traditional JLINK downloader, and greatly improves the efficiency of the upgrade operation;

[0043] 2. In particular, the application solves the convenience of upgrading and maintaining the conference system host on the customer site, and greatly saves the travel expenses and operation difficulty of the on-site maintenance personnel of the manufacturer. BRIEF DESCRIPTION OF DRAWINGS

[0044] Figure 1 a network connection block diagram of the host computer and the conference system host when the method of the application is implemented;

[0045] Figure 2 a program area division principle block diagram of the conference system host when the method of the application is implemented;

[0046] Figure 3 a version upgrade management flowchart in step S2 when the method of the application is implemented. DETAILED DESCRIPTION

[0047] In order to make the objects, technical solutions and advantages of the present application clearer, the technical solutions will be described clearly and completely below in connection with the embodiments of the present application. Obviously, the described embodiments are part of, but not all of the embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those of ordinary skill in the art without creative work belong to the scope of protection of the present application.

[0048] In the description of the present application, the terms such as "connection" or "connection" are not limited to physical or mechanical connection, but can include electrical connection, whether direct or indirect. For those of ordinary skill in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances.

[0049] Embodiment 1: The present application provides a host online upgrading method suitable for a conference system, and the specific steps are introduced as follows.

[0050] S1, connect the host computer and the plurality of conference system hosts to the same LAN.

[0051] In specific implementation, as shown in the figure, Figure 1 the conference system host 1, the conference system host 2, …, the conference system host N and the host computer in 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 embodiments, the PC software of the host computer and the BOOT program of the conference system host use a UDP multicast address and port for communication. When the conference system is powered on, 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 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, and the host computer and the new conference system host can be connected one by one through the network, and the PC software sends a "unique ID" instruction to the conference system host to set the "unique ID".

[0054] It should be noted that, as shown in the figure, Figure 2 in order to realize the online upgrading 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 four areas, BOOT area, temporary APP area, formal APP area and configuration parameter area, which will be introduced 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 program of the conference system host. The BOOT program is an embedded boot upgrade program existing in the conference system host. The BOOT program is burned in at the factory, only has the function of upgrading boot, and 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. Moreover, the conference system host at the factory does not have other functions of the conference system, and the "unique ID" is written by the PC software and the APP program upgrade package is issued to the conference system host.

[0057] In specific implementation, the BOOT area supports the following functions: (a) supports responding to the version query and upgrade instruction of the host PC software. When the upgrade instruction is accepted, it will jump to the BOOT program to determine 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 checking and verifying function of the APP program upgrade package. First, the data package sent by the PC software is verified, and after verification, all data packages 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, and after verification, the APP program upgrade package in the temporary APP area is copied to the formal APP area, and the APP program is started.

[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 the APP program upgrade package, and is used to store the received APP program upgrade package. Moreover, after the BOOT program is started, the data package sent by the PC software is first verified, and after verification, all data packages 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, and after verification, the APP program upgrade package in the temporary APP area is copied to the formal APP area, and whether to start the APP program is determined by the BOOT program. Once the upgrade is completed, the data content of the temporary APP area is deleted to release the storage space.

[0060] (3) The formal APP area is used to store the APP program upgrade package 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 determines whether to start the APP program. In addition, the official APP area can respond to the version query instruction of the 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 sent 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] Firstly, a storage area in each conference system host stores a "unique ID" field with a width of 32 bits. The "unique ID" is registered and managed by the PC software and is assigned by the PC software or manually specified, as long as different "unique IDs" are used for multiple conference system hosts in the same local area network, so as to ensure that the network data packet sent by the PC software has a correct communication address.

[0064] In specific implementation, the initial value of the "unique ID" field is 0 when the conference system host is produced. The PC software assigns a "unique ID" with a non-zero value to the conference system host through the version management database, and each upgrade package determines the conference system host to which it is sent through the "unique ID". Each conference system host also compares the destination address of the received upgrade package with its own "unique ID".

[0065] Secondly, a storage area in each conference system host stores a "hardware version number" with a width of 20 bytes. The "hardware version number" records the information of the hardware version, and is specified in the embedded boot upgrade program and burned into the storage area of the hardware version number, for example, fixed as "machine v01". The value of this area is modified by recognizing the hardware identifier through the boot upgrade program, and the value is the same for the same hardware.

[0066] In specific implementation, the "hardware version number" is assigned by the PC software, and the production personnel writes the "hardware version number" according to the hardware characteristics of the mainboard. Generally, the version is iterated in ascending order of alphanumeric.

[0067] Thirdly, a storage area in each conference system host stores a "software version number" with a width of 20 bytes. The "software version number" records the information of the software version, and 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] In specific implementation, the "software version number" is provided by the conference system host developer, and the version is generally iterated in ascending order of alphanumeric.

[0069] In summary, through such regional division and starting process, the stability and upgradability of the online upgrade of the conference system host can be ensured. Meanwhile, the maintenance and management of the online upgrade system are facilitated.

[0070] S2, according to the configuration parameters of all conference hosts, the PC software queries the version management database to sequentially traverse and compare whether the software version of all conference system hosts is the latest; for the conference host whose software version is not the latest, the PC software splits and packs the APP program upgrade package suitable for the conference host to generate multiple data packets, adds a packet serial 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. As shown in the figure, this step S2 includes the following sub-steps. Figure 3

[0071] S2-1, the PC software initiates a query instruction to all conference system hosts in the local area network, and all conference system hosts respectively reply the information such as "unique ID", "hardware version number" and "software version number" stored in the configuration parameter region to the PC software through the respective BOOT program.

[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, and when subsequent upgrade is needed, the PC software queries the three information of the conference system host, and the PC software can only select the appropriate software version for upgrade after knowing the software version used by the current conference system host.

[0073] In specific implementation, the conference system host information mapping table queried by the PC software is shown in the following table. The table is recorded in the PC software and contains the information of "unique ID", "hardware version number" and "software version number" of all conference system hosts, which is used for PC software query and determines 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 normally communicate. Moreover, the configuration parameters of the conference system host are sorted according to the "unique ID", and the purpose of sorting is to arrange the "unique ID" in ascending order to facilitate the finding of the information of the conference system host, thereby facilitating the sequential upgrade of multiple conference system hosts. ​

[0077] S2-3, the PC software sequentially determines 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 "unique ID" of 0 is found, step S2-4 is entered.

[0079] If a conference system host with "unique ID" not of 0 is found, step S2-5 is entered.

[0080] S2-4, for the conference system host with "unique ID" of 0, the PC software assigns a non-0 value "unique ID" to the conference system host through an assignment ID instruction, and 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 separately networked, and each conference system host is assigned a non-0 value "unique ID" managed by the PC software. Moreover, since the PC software and the conference system host use "unique ID" as a communication address for data interaction, the non-0 value "unique ID" is unique, which ensures that the PC software and the conference system host can normally communicate.

[0082] In summary, the PC software first queries the "unique ID" of all conference system hosts in the local area network. After receiving the instruction of querying host ID, all conference system hosts in the local area network will feed back their "unique ID" to the PC software in the form of a message package. The PC software will arrange the collected "unique ID" in ascending order, and prepare to upgrade the conference system host once. 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 an effective ID, so the PC software needs to assign an unassigned ID number to this host with invalid ID. Moreover, in the actual environment, due to the negligence of the work process, there may be individual conference system hosts that miss assigning "unique ID". The above checking step before upgrading is used to ensure that each conference system host can be assigned a "unique ID". For the case of missing PC assigning "unique ID", the PC software re-performs version query and upgrade action through the newly assigned "unique ID" as the marker of the conference system host.

[0083] S2-5, for the conference system host with "unique ID" not of 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 the APP program of the conference system host has a new version.

[0084] If the APP program of the conference system host has a new version, go to step S2-6.

[0085] If the APP program of the conference system host has a new version, go to step S2-6.

[0086] In specific implementation, the version management database of the PC software stores a software version list, and the software version number is named in an alphabetic numeral increasing manner. If the software version number of the APP program of the conference system host 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 the APP program of the conference system host has a new version, the PC software splits and packs the upgrade package suitable for the APP program of the conference host to generate multiple data packets, adds a packet serial 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 until the software upgrade of all conference system hosts is completed.

[0088] In specific implementation, the PC software selects the correct software version to upgrade the conference host according to the unique ID, the hardware version number and the 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 uses a predetermined communication protocol to split and pack the upgrade package of the correct software version with a data length of 1000 bytes to generate multiple data packets for transmission, adds a packet serial number, a check code and a unique ID to each data packet, and sends the data packets to the conference system host that needs to be upgraded one by one through the predetermined communication protocol.

[0089] Moreover, the content of each data packet is: packet header identifier + total number of packets + packet serial number + packet data length + packet data (within 1000 bytes) + check code + unique ID + packet tail identifier. In addition, the packet serial number of each data packet starts from 1 and increases sequentially, indicating the index value of the current 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, so that all conference system hosts are sequentially traversed and compared to determine whether their software versions are the latest, and the conference hosts whose software versions are not the latest are sent upgrade instructions. When the software versions of all conference system hosts are updated to the latest version, the upgrade of all conference system hosts in the local area network is completed.

[0091] In summary, all conference system hosts with allocated "unique ID" are connected to the same LAN with PC software of the host computer, and the PC software uses the special 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 filters and selects the software version suitable for the conference system host upgrade by querying the version management database. If there is a suitable software version for upgrading, the PC software automatically upgrades all conference system hosts in the same LAN. If there is no suitable software version for upgrading, the PC software skips the upgrade.

[0092] S3, the conference system host receives the data packet sent by the PC software through the predetermined network communication interface through the BOOT program, first unpacks the received data packet, extracts the packet header identifier, packet total number, packet sequence number, packet data length, packet data, check code, unique ID, and packet tail identifier, then performs unique ID verification on the received data packet, then performs packet content verification on the data packet verified by the unique ID, and after receiving all the data packets sent by the PC software, performs packet sequence number verification on all the data packets verified by the packet content.

[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 they 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 they 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, compares the calculated cumulative value with the check code extracted from the data packet, and if the cumulative value is equal to the check code, it means that the verification is passed, and the data packet is stored in the temporary APP area. Otherwise, it means that the verification is not passed, and the data packet is discarded.

[0095] In other embodiments, the packet sequence number verification includes the following sub-steps: the BOOT program performs consistency check on the packet sequence number and total packet number of all data packets stored in the temporary APP area. If the packet sequence number and total packet number 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 are complete.

[0096] As can be seen from the above, the BOOT program of the conference system host makes three verifications on the upgrade package: first, the unique ID of the data package is compared with the unique ID of the conference system host to verify whether the data package is sent by the PC software to itself; second, the reserved data packages are verified one by one in terms of package content to verify the integrity of the data; and third, the package serial numbers of all the data packages stored in the temporary APP area are verified to confirm that all the data packages 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 sorts all the data packages that pass the package serial number verification according to the package serial numbers through the BOOT program, extracts the package data in each data package one by one in the order of increasing package serial numbers, and then splices the extracted package data into a complete upgrade package in the temporary APP area.

[0098] In specific implementation, considering that the data packages received by the temporary APP area can be out of order, the conference system host needs to sort all the data packages according to the package serial numbers. After sorting, the conference system host extracts the package data in the order of increasing package serial numbers, and splices the extracted package data 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. The verification information is determined by a software algorithm to determine that the received data package has no error code and to determine the integrity of the data. 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 formal APP area is correct through the BOOT program.

[0101] If the verification information is correct, the APP program in the formal APP area is started, 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 start the APP program in the formal APP area, and the APP program upgrade package cannot replace the current APP program, so the conference system host continues to use the old APP program, thereby failing to complete the upgrade of the conference system host.

[0103] As can be seen, the Boot program ensures the data integrity and correctness of the upgrade process, which is a key link for system startup and upgrade.

[0104] Embodiment 2: as Figure 1 , Figure 2As shown, the application also provides a host online upgrading system suitable for a conference system to implement the host online upgrading method suitable for the conference system, which comprises a host computer and a plurality of conference system hosts connected to the same local area network, and is specifically introduced as follows.

[0105] The host computer is used for installing PC software and storing a version management database, and according to the configuration parameters of all conference hosts, the PC software queries the version management database to sequentially traverse and compare whether the software versions of all conference system hosts are the latest; for the conference host whose software version is not the latest, the PC software splits and packs the APP program upgrade package suitable for the conference host to generate a plurality of data packets, adds a packet serial 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 divides a program area into a BOOT area, a temporary APP area, an official APP area and a configuration parameter area; wherein the BOOT area is used for storing a BOOT program; the temporary APP area is used for storing an APP program upgrade package issued by a version management module; the official APP area is used for storing an APP program and an APP program upgrade package from the temporary APP area; and the configuration parameter area is used for storing a unique ID, a hardware version number and a software version number of the conference system host;

[0107] The BOOT program comprises a receiving upgrade package unit, a unique ID check unit, a packet content check unit, a packet serial number check unit, a sorting and assembling unit, a copying upgrade package unit and a booting unit;

[0108] The receiving upgrade package unit is used for receiving the data packets sent by the PC software one by one, and first performs unpacking processing on the received data packets;

[0109] The unique ID check unit is used for performing unique ID check on the received data packets;

[0110] The packet content check unit is used for performing packet content check on the data packets that pass the unique ID check;

[0111] The packet serial number check unit is used for performing packet serial number check on all data packets that pass the packet content check after receiving all the data packets sent by the PC software;

[0112] The sorting and assembling unit is used for sorting all data packets that pass the packet serial number check according to the packet serial numbers, extracting packet data in all data packets in sequence, and assembling all packet data into a complete APP program upgrade package in the temporary APP area;

[0113] Copy upgrade package unit: used for checking whether the check information in the temporary APP area is correct, if correct, copying the APP program upgrade package in the temporary APP area to the formal APP area;

[0114] Boot start unit: used for checking whether the check information in the formal APP area is correct, if correct, booting the APP program in the formal APP area, and replacing 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 application are described in detail above, and the principles and implementation manners of the present application are described by applying specific examples; the above embodiment descriptions are only used to help understand the method of the present application and its core idea; meanwhile, for the general technical personnel in the field, the technical solutions recorded in the foregoing embodiments can be modified or some technical features therein can be replaced equivalently according to the idea of the present application; and 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 application.

Claims

1. A method for online upgrade of a host computer in a conference system, characterized in that, Includes the following steps: S1. Connect the host computer and multiple conference system hosts to the same local area network; the host computer has PC software installed, 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, as well as 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. Based on the configuration parameters of all conference hosts, the PC software queries the version management database and sequentially compares whether the software version of all conference system hosts is the latest. For conference hosts whose software version is not the latest, the PC software splits and packages the APP program upgrade package suitable for the conference host, generates multiple data packets, adds a packet sequence number, check code, and 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 data packets sent by the PC software one by one through the BOOT program. First, it unpacks the received data packets, then verifies the unique ID of the received data packets, and then verifies the packet content of the data packets that pass the unique ID verification. After receiving all the data packets sent by the PC software, it verifies the packet sequence number of all the data packets that pass the packet content verification. S4. The conference system host uses the BOOT program to sort all data packets that have passed the packet sequence number verification according to the packet sequence number, extracts the packet data from all data packets in sequence, and then assembles all the packet data into a complete APP program upgrade package in the temporary APP area. S5. The conference system host checks the verification information in the temporary APP area through the BOOT program. If it is correct, the APP program upgrade package in the temporary APP area is copied to the official APP area. S6. The conference system host checks the verification information in the official APP area through the BOOT program to see if it is correct. If it is correct, it boots the APP program in the official APP area and replaces the current APP program with the APP program upgrade package, thereby completing the upgrade of the conference system host.

2. The method for online upgrade of a host computer in a conference system according to claim 1, characterized in that, 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 with its unique ID, hardware version number, and software version number stored in its configuration parameter area through the BOOT program. S2-2. The PC software sorts all the conference system hosts by their unique ID, hardware version number, and software version number to form a host upgrade list. S2-3. The PC software checks the unique ID of each conference system host in sequence according to the host upgrade list to see if it is not 0. 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 that is not 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 the ID assignment instruction, 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 are no new versions of the APP, it means that the conference system host has been upgraded. If a new version of the APP is available, proceed to steps S2-6; S2-6. The PC software splits and repackages the APP program upgrade package suitable for the conference host, generates multiple data packets, adds a packet sequence number, checksum, and unique ID to each data packet, and then sends the data packets one by one to the conference system host, and returns to step S2-2.

3. A method for online upgrade of a host computer for 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 using UDP multicast address and port.

4. A method for online upgrade of a host computer for 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 they are the same, the conference system host retains the data packet; if they are different, the conference system host discards the data packet.

5. A method for online upgrade of a host computer for 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, 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 successful and the data packet is stored in the temporary APP area; otherwise, it means that the verification is unsuccessful and the data packet is discarded.

6. The method for online upgrade of a host computer in a conference system according to claim 5, characterized in that, In step S3, the packet sequence number verification includes the following sub-steps: The BOOT program performs a consistency check on the packet sequence number and the total number of packets for all data packets stored in the temporary APP area. If the packet sequence 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 suitable for conference systems, to implement the host online upgrade method for conference systems as described in any one of claims 1 to 6, characterized in that, This includes a host computer connected to the same local area network and multiple conference system hosts; The host computer is used to install PC software, which stores the version management database. Based on the configuration parameters of all conference hosts, the PC software queries the version management database and sequentially compares the software versions of all conference system hosts to see if they are up-to-date. For conference hosts with outdated software versions, the PC software splits and repackages the appropriate APP program upgrade package for that host, generating multiple data packets. Each data packet is assigned a sequence number, a checksum, and a unique ID, and then the data packets are sent to the conference system host one by one. The conference system host is divided into a BOOT area, a temporary APP area, a formal APP area, and a configuration parameter area. The BOOT area stores the BOOT program; the temporary APP area stores APP program upgrade packages issued by the version management module; the formal APP area stores the APP program and APP program upgrade packages from the temporary APP area; and the configuration parameter area stores the conference system host's unique ID, hardware version number, and software version number. The BOOT program includes a receiving upgrade package unit, a unique ID verification unit, a package content verification unit, a package sequence number verification unit, a sorting and assembly unit, an upgrade package copying unit, and a boot startup unit. Among them, the upgrade package receiving unit is used to receive data packets sent by the PC software one by one, and first unpacks the received data packets. Unique ID verification unit: Used to perform unique ID verification on received data packets; Packet content verification unit: Used to verify the packet content of data packets that have passed the unique ID verification; Packet sequence number verification unit: After receiving all data packets sent by the PC software, the sequence number of all data packets that have passed the packet content verification is then checked. Sorting and assembly unit: Used to sort all data packets that have passed the packet sequence number verification according to the packet sequence number, extract the packet data from all data packets in order, and then assemble all the packet data 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 it is correct, the APP program upgrade package in the temporary APP area is copied to the official APP area. The boot unit is used to check whether the verification information in the official APP area is correct. If it is correct, it boots the APP program in the official APP area and replaces 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