Software upgrading method, system and device for emergency broadcast terminal
By working in tandem with the emergency broadcast service platform and upgrade adapters, and dynamically adjusting the number of adapters and upgrade strategies based on the platform's status, the problem of low efficiency in upgrading emergency broadcast terminal software has been solved, achieving efficient and secure batch upgrades.
Patent Information
- Application Number
- CN202410848751.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-11-19
AI Technical Summary
Existing emergency broadcast terminal software upgrade methods suffer from low efficiency, low security, and low success rate. In particular, large-scale upgrades put significant pressure on network bandwidth, and it is difficult to guarantee upgrade efficiency and security in the event of a failure.
The emergency broadcast service platform determines the maximum number of adapters based on the current platform status, sends software upgrade instructions to these adapters, and uses the upgrade adapters as intermediaries to store and transmit upgrade packages, coordinating with the emergency broadcast terminal to perform software upgrades.
It improves the efficiency, security, and success rate of batch software upgrades for emergency broadcast terminals, reduces network pressure on the emergency broadcast service platform, and ensures a stable and efficient upgrade process in complex environments.
Smart Images

Figure CN118984305A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of emergency broadcast technology, and in particular to a software upgrade method, system and device for an emergency broadcast terminal. Background Art
[0002] With the development of science and technology, emergency broadcasting systems are playing an increasingly important role in the fields of public safety and disaster warning. However, for large-scale emergency broadcasting systems, software upgrades for emergency broadcasting equipment such as DTMB (Digital Television Terrestrial Multimedia Broadcasting) station upgrade adapters, FM (Frequency Modulation) station upgrade adapters, IP microphones, receivers and amplifiers, and monitor speakers are a tedious and complicated process. How to achieve more efficient and stable upgrades in complex on-site environments, and ensure that thousands of emergency broadcasting terminals can be upgraded in batches in a relatively short period of time without affecting service quality, has always been an important challenge for emergency broadcasting platforms and terminal automation and intelligent upgrades.
[0003] When dealing with software upgrade issues for emergency broadcast terminals, related technologies often use a unified emergency broadcast service platform to provide software upgrade services to all emergency broadcast terminals. Some related technologies also use multiple management platforms to cooperate with the emergency broadcast service platform to provide software upgrade services to all emergency broadcast terminals. For example, after the management platform requests to download the software upgrade package from the emergency broadcast service platform, it provides software upgrade services to each connected emergency broadcast terminal.
[0004] In the process of realizing the present invention, the inventor found that the prior art has the following defects: the method of using the emergency broadcast service platform to uniformly provide software upgrade services to emergency broadcast terminals not only puts too much pressure on the network bandwidth of the emergency broadcast service platform, because the emergency broadcast platform needs to support thousands of emergency broadcast terminals to download upgrade software data packages at the same time; and once the emergency broadcast service platform fails, it is difficult to ensure the efficiency, security and success rate of the emergency broadcast terminal software upgrade. The method of the management platform cooperating with the emergency broadcast service platform to provide software upgrade services to the emergency broadcast terminals does not maximize the software upgrade service performance of the emergency broadcast service platform, which easily leads to the problem of software upgrade failure of some emergency broadcast terminals. Summary of the invention
[0005] The embodiments of the present invention provide a method, system and device for software upgrading of emergency broadcast terminals, which can improve the efficiency, safety and success rate of batch software upgrading of emergency broadcast terminals.
[0006] According to one aspect of the present invention, a method for upgrading software of an emergency broadcast terminal is provided, which is applied to an emergency broadcast service platform and includes:
[0007] In response to the upgrade adapter selection instruction, determining a current adapter limit quantity according to a current platform state;
[0008] Sending a first software upgrade instruction to a limited number of current upgrade adapters of the current adapter;
[0009] The current upgrade adapter responds to the first software upgrade instruction by requesting the emergency broadcast service platform to download a software upgrade package, and responds to the software upgrade package request instruction sent by the cascade emergency broadcast terminal by transmitting the software upgrade package to the cascade emergency broadcast terminal.
[0010] According to another aspect of the present invention, there is provided a software upgrade method for an emergency broadcast terminal, which is applied to an upgrade adapter and comprises:
[0011] In response to the first software upgrade instruction sent by the emergency broadcast service platform, requesting the emergency broadcast service platform to download a software upgrade package;
[0012] In response to a software upgrade package request instruction sent by the cascade emergency broadcast terminal, transmitting the software upgrade package to the cascade emergency broadcast terminal;
[0013] The emergency broadcast service platform is used to respond to the upgrade adapter selection instruction, determine the current adapter limit number according to the current platform state, and send the first software upgrade instruction to the current upgrade adapters with the current adapter limit number.
[0014] According to another aspect of the present invention, a software upgrade method for an emergency broadcast terminal is provided, which is applied to the emergency broadcast terminal and includes:
[0015] In response to a second software upgrade instruction sent by the emergency broadcast service platform or the upgrade adapter, determining a target upgrade adapter from the cascade upgrade adapters;
[0016] Sending a software upgrade package request instruction to the target upgrade adapter to request the target upgrade adapter to download the software upgrade package and perform software upgrade according to the software upgrade package;
[0017] The emergency broadcast service platform is used to respond to the upgrade adapter selection instruction, determine the current adapter limit number according to the current platform state, and send a first software upgrade instruction to the current upgrade adapters of the current adapter limit number;
[0018] The target upgrade adapter is used to request the emergency broadcast service platform to download a software upgrade package in response to the first software upgrade instruction sent by the emergency broadcast service platform.
[0019] According to another aspect of the present invention, there is provided a method for upgrading software of an emergency broadcast terminal, comprising:
[0020] The emergency broadcast service platform responds to the upgrade adapter selection instruction, determines the current adapter limit number according to the current platform state, and sends a first software upgrade instruction to the current upgrade adapters of the current adapter limit number;
[0021] The current upgrade adapter, in response to the first software upgrade instruction, requests the emergency broadcast service platform to download a software upgrade package;
[0022] The emergency broadcast terminal responds to the second software upgrade instruction sent by the emergency broadcast service platform or the upgrade adapter, determines the target upgrade adapter from the cascade upgrade adapters, requests the target upgrade adapter to download a software upgrade package, and performs software upgrade according to the software upgrade package.
[0023] According to another aspect of the present invention, a software upgrade system for an emergency broadcast terminal is provided, comprising an emergency broadcast service platform, an upgrade adapter and an emergency broadcast terminal, wherein:
[0024] The emergency broadcast service platform is in communication connection with the upgrade adapter, and is used to respond to the upgrade adapter selection instruction, determine the current adapter limit number according to the current platform state, and send a first software upgrade instruction to the current upgrade adapter corresponding to the current adapter limit number;
[0025] The current upgrade adapter is in communication connection with the emergency broadcast terminal, and is used to request the emergency broadcast service platform to download a software upgrade package in response to the first software upgrade instruction;
[0026] The emergency broadcast terminal responds to the second software upgrade instruction sent by the emergency broadcast service platform or the upgrade adapter, determines the target upgrade adapter from the cascade upgrade adapters, and sends a software upgrade package request instruction to the target upgrade adapter to request the target upgrade adapter to download the software upgrade package, and performs software upgrade according to the software upgrade package.
[0027] According to another aspect of the present invention, there is provided a software upgrade device for an emergency broadcast terminal, which is configured on an emergency broadcast service platform and includes:
[0028] a current adapter limit quantity determination module, configured to determine the current adapter limit quantity according to the current platform state in response to the upgrade adapter selection instruction;
[0029] A first software upgrade instruction sending module, used for sending a first software upgrade instruction to a limited number of current upgrade adapters of the current adapters;
[0030] The current upgrade adapter responds to the first software upgrade instruction by requesting the emergency broadcast service platform to download a software upgrade package, and responds to the software upgrade package request instruction sent by the cascade emergency broadcast terminal by transmitting the software upgrade package to the cascade emergency broadcast terminal.
[0031] According to another aspect of the present invention, there is provided a software upgrade device for an emergency broadcast terminal, which is configured in an upgrade adapter and includes:
[0032] A software upgrade package download request module, configured to request the emergency broadcast service platform to download the software upgrade package in response to a first software upgrade instruction sent by the emergency broadcast service platform;
[0033] A software upgrade package transmission module, configured to transmit the software upgrade package to the cascade emergency broadcast terminal in response to a software upgrade package request instruction sent by the cascade emergency broadcast terminal;
[0034] The emergency broadcast service platform is used to respond to the upgrade adapter selection instruction, determine the current adapter limit number according to the current platform state, and send the first software upgrade instruction to the current upgrade adapters with the current adapter limit number.
[0035] According to another aspect of the present invention, there is provided a software upgrade device for an emergency broadcast terminal, which is configured in the emergency broadcast terminal and includes:
[0036] A target upgrade adapter determination module, configured to determine a target upgrade adapter from the cascade upgrade adapters in response to a second software upgrade instruction sent by the emergency broadcast service platform or the upgrade adapter;
[0037] A software upgrade module, used for sending a software upgrade package request instruction to the target upgrade adapter to request the target upgrade adapter to download the software upgrade package, and perform software upgrade according to the software upgrade package;
[0038] The target upgrade adapter is used to request the emergency broadcast service platform to download a software upgrade package in response to the first software upgrade instruction;
[0039] The emergency broadcast service platform is used to respond to the upgrade adapter selection instruction, determine the current adapter limit number according to the current platform state, and send the first software upgrade instruction to the current upgrade adapters with the current adapter limit number.
[0040] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:
[0041] at least one processor; and
[0042] a memory communicatively connected to the at least one processor; wherein,
[0043] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the software upgrade method for the emergency broadcast terminal described in any embodiment of the present invention.
[0044] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the software upgrade method for the emergency broadcast terminal described in any embodiment of the present invention when executed.
[0045] According to another aspect of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the method for upgrading the software of the emergency broadcast terminal according to any embodiment of the present invention is implemented.
[0046] In the embodiment of the present invention, the emergency broadcast service platform responds to the upgrade adapter selection instruction, determines the current adapter limit number according to the current platform state, and sends the first software upgrade instruction to the current upgrade adapters with the current adapter limit number. Accordingly, the current upgrade adapter can respond to the first software upgrade instruction, request the emergency broadcast service platform to download the software upgrade package, and respond to the software upgrade package request instruction sent by the cascade emergency broadcast terminal, transmit the software upgrade package to the cascade emergency broadcast terminal, so that the cascade emergency broadcast terminal automatically completes the software upgrade according to the received software upgrade package. The above technical scheme can solve the problems of low efficiency, security and success rate in the existing batch emergency broadcast terminal software upgrade process, and can improve the efficiency, security and success rate of batch software upgrades of emergency broadcast terminals.
[0047] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0049] Figure 1 is a flow chart of a software upgrade method for an emergency broadcast terminal provided in Embodiment 1 of the present invention;
[0050] Figure 2 is a flow chart of a software upgrade method for an emergency broadcast terminal provided in Embodiment 2 of the present invention;
[0051] Figure 3 is a flow chart of a software upgrade method for an emergency broadcast terminal provided in Embodiment 3 of the present invention;
[0052] Figure 4 It is a flow chart of a software upgrade method for an emergency broadcast terminal provided by a fourth embodiment of the present invention;
[0053] Figure 5 This is a schematic diagram of the networking structure of an emergency broadcast system provided by Embodiment 4 of the present invention;
[0054] Figure 6 It is a schematic diagram of a process of upgrading the software of an emergency broadcast terminal in an emergency broadcast system provided by a fourth embodiment of the present invention;
[0055] Figure 7 It is a structural diagram of a software upgrade system for an emergency broadcast terminal provided by Embodiment 5 of the present invention;
[0056] Figure 8 It is a schematic diagram of a software upgrade device for an emergency broadcast terminal provided by Embodiment 6 of the present invention;
[0057] Fig. 9 It is a schematic diagram of a software upgrade device for an emergency broadcast terminal provided by Embodiment 7 of the present invention;
[0058] Fig.10 It is a schematic diagram of a software upgrade device for an emergency broadcast terminal provided by Embodiment 8 of the present invention;
[0059] Fig.11 A schematic diagram of the structure of an electronic device provided in Embodiment 9 of the present invention. DETAILED DESCRIPTION
[0060] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only 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 creative work should fall within the scope of protection of the present invention.
[0061] It should be noted that the terms "first", "second" and "target" in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0062] Embodiment 1
[0063] Figure 1 This is a flow chart of a software upgrade method for an emergency broadcast terminal provided in the first embodiment of the present invention. This embodiment is applicable to the case where the emergency broadcast service platform selects an appropriate amount of upgrade adapters to perform software upgrades on the emergency broadcast terminal according to the current platform status. The method can be executed by a software upgrade device of the emergency broadcast terminal. The device can be implemented by software and / or hardware and can generally be integrated into the emergency broadcast service platform. The emergency broadcast service platform can run in an electronic device, which can be a server device, and is used in conjunction with the upgrade adapter to provide software upgrade services to the emergency broadcast terminal. Accordingly, Figure 1 As shown, the method includes the following operations:
[0064] S110 : In response to the upgrade adapter selection instruction, determine the current adapter limit quantity according to the current platform status.
[0065] The upgrade adapter selection instruction may be an instruction received by the emergency broadcast service platform for selecting an upgrade adapter. The current platform status may be the current status of the emergency broadcast service platform, which may reflect the performance of the emergency broadcast service platform that can currently provide software upgrades. The current adapter limit number may be the maximum number of upgrade adapters that can be selected at the current moment. The upgrade adapter is an adapter that cooperates with the emergency broadcast service platform and the emergency broadcast terminal to perform software upgrades.
[0066] First of all, the technical solution of the embodiment of the present invention is mainly applicable to such an application scenario: the emergency broadcast service platform side can store data packets for software upgrades of various emergency broadcast terminals. When it is necessary to perform software upgrades on batches of terminals, the user can trigger the software upgrade process based on the emergency broadcast service platform, and select the maximum number of upgrade adapters that can be selected at the current moment, that is, the current adapter limit number, based on the emergency broadcast service platform, so as to interact with the upgrade adapters of the current adapter limit number in parallel, and coordinate batch software upgrades of emergency broadcast terminals cascaded with upgrade adapters. Optionally, the emergency broadcast terminals in the embodiment of the present invention may include but are not limited to: IP microphones, receivers and amplifiers, and monitoring speakers, etc.
[0067] It is understandable that the operating status of the emergency broadcast service platform is different at different times, and the service capabilities it can provide for software upgrades are also different. Therefore, in order to give full play to the software upgrade service capabilities provided by the emergency broadcast service platform to the emergency broadcast terminal, when the user triggers the upgrade adapter selection instruction to the emergency broadcast service platform, the emergency broadcast service platform can respond to the upgrade adapter selection instruction and first obtain the current platform status of the platform itself, thereby determining the current adapter limit number according to the current platform status.
[0068] For example, the emergency broadcast service platform can use the current downlink bandwidth as the current platform state to dynamically determine the current adapter limit number according to the current downlink bandwidth situation. Alternatively, the emergency broadcast service platform can also use the current downlink bandwidth and the current load situation and other related comprehensive factors as the current platform state to dynamically determine the current adapter limit number according to resource constraints such as the current downlink bandwidth situation and the current load situation.
[0069] In an optional embodiment of the present invention, determining the current adapter limit number according to the current platform status may include: obtaining current downlink bandwidth data of the emergency broadcast service platform; and calculating the current adapter limit number according to the current downlink bandwidth data of the emergency broadcast service platform.
[0070] The current downlink bandwidth data may be the maximum downlink bandwidth supported by the emergency broadcast service platform at the current moment.
[0071] Optionally, when determining the current adapter limit number based on the current downlink bandwidth data of the emergency broadcast service platform, the current adapter limit number can be calculated based on the current downlink bandwidth data of the emergency broadcast service platform and the size of the current software upgrade package. For example, the quotient between the current downlink bandwidth data and the current software upgrade package size can be calculated, and the current adapter limit number can be further calculated based on the calculated quotient and with reference to other influencing parameters.
[0072] The above technical scheme, by calculating the current adapter limit number based on the current downlink bandwidth data of the emergency broadcast service platform, can accurately determine the maximum number of current upgrade adapters that the emergency broadcast service platform can interact with at the current moment by considering the limitation of network bandwidth, thereby maximizing the software upgrade service capabilities provided by the emergency broadcast service platform to the emergency broadcast terminal at the current moment.
[0073] In an optional embodiment of the present invention, after determining the current adapter limit number based on the current platform state, it may also include: when determining that the current moment is the adapter limit number update moment, updating the current platform state of the emergency broadcast service platform; updating the current adapter limit number based on the updated current platform state.
[0074] The adapter limit quantity update time may be the time for the emergency broadcast service platform to recalculate and update the current adapter limit quantity.
[0075] Since the emergency broadcast service platform has different corresponding states in different operating time periods, in order to further give full play to the software upgrade service capabilities provided by the emergency broadcast service platform to the emergency broadcast terminal at the current moment, in an embodiment of the present invention, a dynamic update cycle can also be set for the current adapter limit number.
[0076] Optionally, the dynamic update period for the current adapter limit quantity can be a fixed period. For example, the emergency broadcast service platform can dynamically determine the adapter limit quantity update time every 10 minutes, half an hour or one hour, so as to obtain the current platform status when the adapter limit quantity update is reached at the current time, and dynamically update the current adapter limit quantity according to the dynamically obtained current platform status.
[0077] Optionally, the dynamic update cycle for setting the current adapter limit number can also be a non-fixed cycle, and its cycle value can be dynamically configured. Exemplarily, the historical operating status data of the emergency broadcast service platform can be obtained, and the historical operating status data of the emergency broadcast service platform can be analyzed and mined to determine the fluctuation characteristics of the operating status of the emergency broadcast service platform within a one-day time range, so as to dynamically determine the update cycle according to the fluctuation characteristics of the operating status of the emergency broadcast service platform. For example, according to the historical operating status data of the emergency broadcast service platform, it is determined that the operating status of the emergency broadcast service platform from 00:00 to 05:00 is stable in a certain state, the operating status from 05:01 to 09:00 is stable in another state, and the operating status from 09:01 to 14:00 is stable in another state, then the moments of 00:00, 05:01 and 09:01 can be determined as the adapter limit number update time, and when the current moment is determined to be the adapter limit number update time, the current platform state of the emergency broadcast service platform is updated to update the current adapter limit number according to the updated current platform state. Alternatively, the emergency broadcast service platform can also detect the current operating status in real time, and when it is determined that the changing trend of the current operating status exceeds a preset threshold, such as when the change value of the downlink bandwidth exceeds 100Mbps, the moment when the changing trend of the current operating status exceeds the preset threshold is directly determined as the adapter limit quantity update moment, and the current platform status of the emergency broadcast service platform is immediately triggered to update the current adapter limit quantity operation according to the updated current platform status.
[0078] S120: Send a first software upgrade instruction to a limited number of current upgrade adapters of the current adapters.
[0079] The current upgrade adapter responds to the first software upgrade instruction by requesting the emergency broadcast service platform to download a software upgrade package, and responds to the software upgrade package request instruction sent by the cascade emergency broadcast terminal by transmitting the software upgrade package to the cascade emergency broadcast terminal.
[0080] Among them, the current upgrade adapter can be the upgrade adapter selected by the emergency broadcast service platform at the current moment for performing software upgrades on the emergency broadcast terminal. The upgrade adapter can be used as a transit device, which can be used to receive software upgrade packages stored on the emergency broadcast service platform side, and directly provide software upgrade services to the emergency broadcast terminal. Optionally, the upgrade adapter can be any type of electronic device, as long as it can interact with the emergency broadcast service platform and the emergency broadcast terminal for data, and store software upgrade packages. The embodiment of the present invention does not limit the device type of the upgrade adapter. The first software upgrade instruction can be an instruction sent by the emergency broadcast service platform to the current upgrade adapter, used to indicate that the current upgrade adapter can request to download the corresponding software upgrade package from the emergency broadcast service platform side. The cascade emergency broadcast terminal can be an emergency broadcast terminal that has established a communication connection with the current upgrade adapter. The software upgrade package request instruction can be a request instruction initiated by the cascade emergency broadcast terminal to the current upgrade adapter, used to request the current upgrade adapter to download the software upgrade package.
[0081] Optionally, the emergency broadcast service platform can maintain a communication connection with a batch of upgrade adapters. Each upgrade adapter can also maintain a communication connection with a batch of emergency broadcast terminals, and each emergency broadcast terminal can maintain a communication connection with at least one upgrade adapter. Accordingly, when the emergency broadcast service platform determines the current adapter limit number, it can send a first software upgrade instruction to the current upgrade adapters with the current adapter limit number to indicate that the current upgrade adapter can request to download the software upgrade package. Accordingly, after receiving the first software upgrade instruction, the current upgrade adapter responds to it and requests the emergency broadcast service platform to download the software upgrade package. After the current upgrade adapter completes downloading the software upgrade package, it can store the software upgrade package locally and wait for the software upgrade package request instruction sent by the cascade emergency broadcast terminal. When the current upgrade adapter receives the software upgrade package request instruction sent by the cascade emergency broadcast terminal, it can respond to it and download and transmit the software upgrade package to the corresponding cascade emergency broadcast terminal.
[0082] In an optional embodiment of the present invention, before sending the first software upgrade instruction to the current upgrade adapters with a limited number of current adapters, it may also include: determining alternative upgrade adapters according to the upgrade adapter selection instruction; obtaining first device association filtering information of each of the alternative upgrade adapters; filtering the current upgrade adapters with a limited number of current adapters from each of the alternative upgrade adapters according to the first device association filtering information; wherein the first device association filtering information may include at least one of the following: the time for the device to download the software upgrade package, the number of device cascade emergency broadcast terminals, the device communication quality, and the software package download method supported by the device.
[0083] Among them, the alternative upgrade adapter may be an upgrade adapter that needs to download a software upgrade package in the current software upgrade process. The first device-associated filtering information may be relevant information of the alternative upgrade adapter, which may be used as a reference for filtering the alternative upgrade adapters. The device download software upgrade package time may be the time consumed by the upgrade adapter to download the software upgrade package. The number of device-cascaded emergency broadcast terminals may be the number of emergency broadcast terminals cascaded by the upgrade adapter. The device communication quality included in the first device-associated filtering information may be the communication quality between the upgrade adapter and the emergency broadcast service platform and / or between the upgrade adapter and the emergency broadcast terminal.
[0084] It is understandable that the current upgrade adapter is only a part of the upgrade adapters. In order to further improve the efficiency of software upgrades, the current upgrade adapter can also be screened according to certain strategies. In an embodiment of the present invention, after the emergency broadcast service platform receives the upgrade adapter selection instruction triggered by the user, it can parse it and determine the alternative upgrade adapter from all the upgrade adapters according to the parsing result. Exemplarily, it is assumed that the emergency broadcast service platform has management authority over the upgrade adapters of area 1, area 2 and area 3, and each area is configured with multiple upgrade adapters. Each upgrade adapter can be connected to multiple emergency broadcast terminals, and each emergency broadcast terminal can also be connected to multiple upgrade adapters. If the upgrade adapter selection instruction is to send a software upgrade package to the upgrade adapters within the scope of area 1, or to perform software upgrades on the emergency broadcast terminals within the scope of area 1, the emergency broadcast service platform can determine all upgrade adapters deployed in area 1 as alternative upgrade adapters, and further screen the current upgrade adapter from the alternative upgrade adapters.
[0085] In an optional embodiment of the present invention, determining the alternative upgrade adapter according to the upgrade adapter selection instruction may include: screening the target emergency broadcast terminal that has completed the software upgrade package download according to the upgrade adapter selection instruction; and using the target emergency broadcast terminal as the alternative upgrade adapter.
[0086] The target emergency broadcast terminal may be an emergency broadcast terminal that has completed the software upgrade package download task or the software upgrade task.
[0087] Optionally, an emergency broadcast terminal dedicated to emergency broadcasting can be used for exclusive network upgrades. Emergency broadcast terminals that have been successfully upgraded or have downloaded software upgrade packages can also be used as upgrade adapters or alternative upgrade adapters to provide and distribute software upgrade packages to other nearby emergency broadcast terminals, thereby enabling mutual transmission and download of upgrade software between emergency broadcast terminals. More specifically, emergency broadcast terminals that need to upgrade software can give priority to detecting nearby emergency broadcast terminals that have already completed the upgrade, and can select appropriate emergency broadcast terminals to distribute software upgrade packages based on physical distance and network environment.
[0088] Optionally, when an emergency broadcast terminal that meets the requirements is used as an upgrade adapter, the adapter that actually only provides upgrade transit services can be used as a registration service. The emergency broadcast terminal retrieves other emergency broadcast terminals under the upgrade adapter through the service, and forwards upgrade instructions and downloads upgrade packages to other retrieved emergency broadcast terminals. First, the registration information of all emergency broadcast terminals under the upgrade adapter is added to the registration service of the upgrade adapter to ensure that all emergency broadcast terminals under the upgrade adapter can communicate with each other. Secondly, after the upgrade adapter forwards the upgrade instruction to the first emergency broadcast terminal under the management area, the emergency broadcast terminal verifies the instruction and downloads the upgrade software for automatic upgrade. Thirdly, after the upgrade of the first emergency broadcast terminal is completed, other non-upgraded emergency broadcast terminals in the same network environment are retrieved, and one-to-one upgrade instructions are pushed to the non-upgraded emergency broadcast terminals, and a file service is provided to download the upgrade software path. Furthermore, the second terminal receives the upgrade instruction pushed by the first emergency broadcast terminal and starts downloading the software package and upgrading. After the second emergency broadcast terminal is upgraded, it will start to search for other emergency broadcast terminals that have not been upgraded in the same network environment, push upgrade instructions to the emergency broadcast terminals that have not been upgraded one by one, and provide file services to download the upgrade software path. Finally, all emergency broadcast terminals that have been upgraded can upgrade the emergency broadcast terminals that have not been upgraded one by one in the network environment of the same upgrade adapter, and upgrade the emergency broadcast terminals at a multiple of 2, thereby further improving the software upgrade efficiency of the emergency broadcast terminals.
[0089] Optionally, when filtering the current upgrade adapter, you can refer to the first device associated filtering information of each alternative upgrade adapter, such as the device software upgrade package download time, the number of device cascade emergency broadcast terminals, the device communication quality, and the software package download method supported by the device of each alternative upgrade adapter, and filter the current upgrade adapters within the current adapter limit number from each alternative upgrade adapter. It is understandable that the shorter the device download software upgrade package time, the faster the alternative upgrade adapter downloads the software upgrade package. The more device cascade emergency broadcast terminals, the more emergency broadcast terminals that can accept the software upgrade package download service provided by the alternative upgrade adapter at the same time. The better the device communication quality, the higher the download stability and efficiency of the software upgrade package. The more software package download methods supported by the device, the stronger the software upgrade service performance provided by the upgrade adapter.
[0090] In a specific example, the number of device-cascaded emergency broadcast terminals can be used as a reference factor to screen the current upgrade adapter. After determining the candidate upgrade adapters, the number of emergency broadcast terminals cascaded to each candidate upgrade adapter can be sorted in order from most to least, and the candidate upgrade adapters before the current adapter limit number can be selected as the current upgrade adapter based on the sorting result. Alternatively, the number of device-cascaded emergency broadcast terminals and the software package download method supported by the device can be used as reference factors to screen the current upgrade adapter at the same time, and corresponding weights can be set for the number of device-cascaded emergency broadcast terminals and the software package download method supported by the device, and the number of device-cascaded emergency broadcast terminals and the software package download method supported by the device of each candidate upgrade adapter are weightedly calculated according to the corresponding weights to obtain a comprehensive evaluation value, which is sorted in order from large to small according to the comprehensive evaluation value, and the candidate upgrade adapters before the current adapter limit number can be selected as the current upgrade adapter based on the sorting result.
[0091] It is understandable that by using the time it takes for the device to download the software upgrade package as a reference factor to filter the current upgrade adapter, it can be ensured that the upgrade adapter with the fastest software package download speed will download the software upgrade package first, thereby improving the efficiency of each upgrade adapter downloading the software upgrade package, thereby improving the efficiency of software upgrades. By using the number of cascaded emergency broadcast terminals of the device as a reference factor to filter the current upgrade adapter, it can be ensured that the upgrade adapter with the largest number of cascaded emergency broadcast terminals will download the software upgrade package first, so that as many emergency broadcast terminals as possible can download the software upgrade package from the upgrade adapter in a short time, thereby improving the efficiency of each emergency broadcast terminal downloading the software upgrade package, thereby improving the efficiency of software upgrades. By using the communication quality of the device as a reference factor to filter the current upgrade adapter, it can be ensured that the upgrade adapter and / or emergency broadcast terminal with ideal communication quality will download the software upgrade package first, so that the emergency broadcast terminal can complete the download process of the software upgrade package as soon as possible in a short time, thereby improving the efficiency of each emergency broadcast terminal downloading the software upgrade package, thereby improving the efficiency of software upgrades. By using the software package downloading methods supported by the device as a reference factor to filter the current upgrade adapter, the upgrade adapters with more software package downloading methods supported by the device can be filtered to give priority to downloading software upgrade packages, thereby avoiding the failure of software upgrade package downloading when a single software package downloading method fails, thereby ensuring the reliability of software upgrade package downloading, and improving the efficiency of each emergency broadcast terminal in downloading software upgrade packages, thereby improving the efficiency of software upgrades.
[0092] In an optional embodiment of the present invention, after sending the first software upgrade instruction to the current upgrade adapters with a limited number of current adapters, it may also include: receiving software package download status information reported by the current upgrade adapter; updating the current upgrade adapter according to the software package download status information reported by the current upgrade adapter and the current adapter limited number.
[0093] The software package download status information may be used to indicate the download status of the software upgrade package, such as download completion or download failure.
[0094] In an embodiment of the present invention, after the current upgrade adapter completes the download process of the software upgrade package, it can also report and feedback the software package download status information to the emergency broadcast service platform to prompt the emergency broadcast service platform that the software upgrade package download is complete or fails. Accordingly, the emergency broadcast service platform can select a new current upgrade adapter from the candidate upgrade adapters that have not downloaded the software upgrade package based on the software package download status information reported by the current upgrade adapter and the current adapter limit number, so that the updated current upgrade adapter requests the emergency broadcast service platform to download the software upgrade package.
[0095] Optionally, the emergency broadcast service platform can select a new current upgrade adapter from the candidate upgrade adapters that have not downloaded the software upgrade package in real time for update each time it receives a software package download status information and confirms that the reported software package download status information is downloaded successfully. Alternatively, the emergency broadcast service platform can also select a certain number of current upgrade adapters from the candidate upgrade adapters that have not downloaded the software upgrade package in batches for update when it is determined that the number of current upgrade adapters that have completed the software upgrade package download reaches a certain number.
[0096] In the embodiment of the present invention, the emergency broadcast service platform responds to the upgrade adapter selection instruction, determines the current adapter limit number according to the current platform state, and sends the first software upgrade instruction to the current upgrade adapters with the current adapter limit number. Accordingly, the current upgrade adapter can respond to the first software upgrade instruction, request the emergency broadcast service platform to download the software upgrade package, and respond to the software upgrade package request instruction sent by the cascade emergency broadcast terminal, transmit the software upgrade package to the cascade emergency broadcast terminal, so that the cascade emergency broadcast terminal automatically completes the software upgrade according to the received software upgrade package. The above technical scheme can solve the problems of low efficiency, security and success rate in the existing batch emergency broadcast terminal software upgrade process, and can improve the efficiency, security and success rate of batch software upgrades of emergency broadcast terminals.
[0097] Embodiment 2
[0098] Figure 2 This is a flowchart of a software upgrade method for an emergency broadcast terminal provided in the second embodiment of the present invention. This embodiment is applicable to the case where the upgrade adapter requests the emergency broadcast service platform to download a software upgrade package and provides software upgrade services to the cascaded emergency broadcast terminal. The method can be executed by the software upgrade device of the emergency broadcast terminal. The device can be implemented by software and / or hardware, and can generally be integrated in an electronic device. The electronic device can be an upgrade adapter, which is used in conjunction with the emergency broadcast service platform to provide software upgrade services to the emergency broadcast terminal. Correspondingly, Figure 2 As shown, the method includes the following operations:
[0099] S210: In response to a first software upgrade instruction sent by the emergency broadcast service platform, request the emergency broadcast service platform to download a software upgrade package.
[0100] In an embodiment of the present invention, when the upgrade adapter is selected as the current upgrade adapter by the emergency broadcast service platform and receives the first software upgrade instruction sent by the emergency broadcast service platform, it can respond to the first software upgrade instruction sent by the emergency broadcast service platform, clear the local storage space, and start requesting the emergency broadcast service platform to download the software upgrade package. After the software upgrade package is downloaded, the upgrade adapter can retain the software upgrade package and wait for the download request of the cascade emergency broadcast terminal.
[0101] S220. In response to a software upgrade package request instruction sent by the cascade emergency broadcast terminal, transmit the software upgrade package to the cascade emergency broadcast terminal.
[0102] The emergency broadcast service platform is used to respond to the upgrade adapter selection instruction, determine the current adapter limit number according to the current platform state, and send the first software upgrade instruction to the current upgrade adapters with the current adapter limit number.
[0103] Correspondingly, when the cascade emergency broadcast terminal of the upgrade adapter sends a software upgrade package request instruction to the upgrade adapter, the upgrade adapter can respond to the software upgrade package request instruction and transmit the software upgrade package to the cascade emergency broadcast terminal.
[0104] The embodiment of the present invention adopts an upgrade adapter to transfer and store software upgrade packages, and provides software upgrade services to emergency broadcast terminals at all levels, which can reduce the pressure on the emergency broadcast service platform and thus improve the efficiency, security, stability and success rate of batch software upgrades of emergency broadcast terminals.
[0105] Embodiment 3
[0106] Figure 3 This is a flowchart of a software upgrade method for an emergency broadcast terminal provided by Embodiment 3 of the present invention. This embodiment is applicable to the case where the emergency broadcast terminal requests the selected upgrade adapter to download software upgrades to automatically implement software upgrades. The method can be executed by a software upgrade device of the emergency broadcast terminal. The device can be implemented by software and / or hardware and can generally be integrated in an electronic device. The electronic device can be an emergency broadcast terminal that interacts with the emergency broadcast service platform and the upgrade adapter to implement the software upgrade process. Accordingly, Figure 3 As shown, the method includes the following operations:
[0107] S310: In response to a second software upgrade instruction sent by the emergency broadcast service platform or the upgrade adapter, determine a target upgrade adapter from the cascade upgrade adapters.
[0108] The second software upgrade instruction may be an instruction sent to the emergency broadcast terminal, used to instruct the emergency broadcast terminal to start downloading the software upgrade package for software upgrade. The cascade upgrade adapter may be an upgrade adapter that has a communication connection with the emergency broadcast terminal. The target upgrade adapter may be an upgrade adapter that the emergency broadcast terminal requests to download the software upgrade package.
[0109] In an embodiment of the present invention, the emergency broadcast service platform or the upgrade adapter can send a second software upgrade instruction to the emergency broadcast terminal. Optionally, after the emergency broadcast service platform receives the software package download status information reported by a certain upgrade adapter and confirms that the upgrade adapter has completed the download of the software upgrade package, the second software upgrade instruction can be automatically or manually triggered for each emergency broadcast terminal cascaded to the upgrade adapter. Alternatively, after a certain upgrade adapter confirms that the download of the software upgrade package is completed, the second software upgrade instruction can be automatically or manually triggered for each emergency broadcast terminal cascaded to the upgrade adapter.
[0110] Correspondingly, after receiving the second software upgrade instruction, the emergency broadcast terminal can determine the cascade upgrade adapters that maintain communication connection with it, and select the target upgrade adapters that can download the software upgrade package from each cascade upgrade adapter.
[0111] In an optional embodiment of the present invention, determining the target upgrade adapter from the cascade upgrade adapters may include: filtering alternative cascade upgrade adapters from each of the cascade upgrade adapters according to the software upgrade package download completion flag of the cascade upgrade adapter; obtaining second device associated filtering information of the alternative cascade upgrade adapters; determining the target upgrade adapter from each of the alternative cascade upgrade adapters according to the second device associated filtering information; wherein the second device associated filtering information may include at least one of the following: device communication distance, device communication quality, and a software package download method supported by the device.
[0112] Among them, the software upgrade package download completion identifier can be used to identify whether the cascade upgrade adapter has successfully downloaded the software upgrade package. The alternative cascade upgrade adapter can be a cascade upgrade adapter whose software upgrade package has been downloaded. The second device association screening information can be relevant information of the alternative cascade upgrade adapter, which can be used as a reference for screening the alternative cascade upgrade adapter. The device communication distance can be the communication distance between the alternative cascade upgrade adapter and the emergency broadcast terminal. The device communication quality included in the second device association screening information can be the communication quality between the alternative cascade upgrade adapter and the emergency broadcast terminal.
[0113] In order to further improve the efficiency and success rate of software upgrades of emergency broadcast terminals, target upgrade adapters for emergency broadcast terminals can also be screened according to certain strategies. In an embodiment of the present invention, the cascade upgrade adapters that have completed downloading the software upgrade package can first be screened as alternative cascade upgrade adapters based on the software upgrade package download completion flag of the cascade upgrade adapter. After determining the alternative cascade upgrade adapter, the second device associated screening information of the alternative cascade upgrade adapter can be obtained, so that the target upgrade adapter can be determined from each alternative cascade upgrade adapter based on the second device associated screening information such as device communication distance, device communication quality, and software package download method supported by the device. It can be understood that the shorter the device communication distance, the faster the emergency broadcast terminal downloads the software upgrade package from the alternative cascade upgrade adapter. The better the device communication quality, the higher the download stability and efficiency of the software upgrade package.
[0114] In a specific example, the device communication distance can be used as a reference factor to screen the target upgrade adapter. After determining the candidate cascade upgrade adapters, the communication distances between each candidate cascade upgrade adapter and the emergency broadcast terminal can be sorted in order from near to far, and the candidate cascade upgrade adapter ranked first can be selected as the target upgrade adapter based on the sorting result. Alternatively, the device communication distance and the software package download method supported by the device can be used as reference factors to screen the target upgrade adapter at the same time, and corresponding weights can be set for the device communication distance and the software package download method supported by the device, and the device communication distance and the software package download method supported by the device of each candidate cascade upgrade adapter are weightedly calculated according to the corresponding weights to obtain a comprehensive evaluation value, which is then sorted in order from large to small according to the comprehensive evaluation value, and the candidate cascade upgrade adapter ranked first can be selected as the target upgrade adapter based on the sorting result.
[0115] It can be understood that by screening the target upgrade adapter based on reference factors such as device communication distance, device communication quality, and the software package download method supported by the device, it can ensure that the emergency broadcast terminal can quickly download the software upgrade package from the target upgrade adapter, ensure the reliability of the software upgrade package download, and improve the efficiency of each emergency broadcast terminal in downloading the software upgrade package, thereby improving the efficiency of the software upgrade of the emergency broadcast terminal.
[0116] S320: Send a software upgrade package request instruction to the target upgrade adapter to request the target upgrade adapter to download the software upgrade package, and perform software upgrade according to the software upgrade package.
[0117] The emergency broadcast service platform is used to respond to the upgrade adapter selection instruction, determine the current adapter limit number according to the current platform state, and send the first software upgrade instruction to the current upgrade adapters with the current adapter limit number.
[0118] The target upgrade adapter is used for requesting the emergency broadcast service platform to download a software upgrade package in response to a first software upgrade instruction sent by the emergency broadcast service platform.
[0119] Correspondingly, after the emergency broadcast terminal determines the target upgrade adapter, it can send a software upgrade package request instruction to the target upgrade adapter to request the target upgrade adapter to download the software upgrade package, and automatically perform software upgrade according to the software upgrade package after the software upgrade package is downloaded.
[0120] In the embodiment of the present invention, the emergency broadcast service platform responds to the upgrade adapter selection instruction, determines the current adapter limit number according to the current platform state, and sends the first software upgrade instruction to the current upgrade adapters with the current adapter limit number. Correspondingly, the current upgrade adapter can respond to the first software upgrade instruction and request the emergency broadcast service platform to download the software upgrade package. The emergency broadcast terminal can respond to the second software upgrade instruction sent by the emergency broadcast service platform or the upgrade adapter, determine the target upgrade adapter from the cascade upgrade adapters, and request the target upgrade adapter to download the software upgrade package, and perform the software upgrade according to the software upgrade package. The above technical scheme can solve the problems of low efficiency, security and success rate in the existing batch emergency broadcast terminal software upgrade process, and can improve the efficiency, security and success rate of batch software upgrades of emergency broadcast terminals.
[0121] Embodiment 4
[0122] Figure 4 : is a flowchart of a software upgrade method for an emergency broadcast terminal provided by a fourth embodiment of the present invention, such as Figure 4 As shown, the method includes the following operations:
[0123] S410: The emergency broadcast service platform responds to the upgrade adapter selection instruction, determines the current adapter limit number according to the current platform state, and sends a first software upgrade instruction to the current upgrade adapters of the current adapter limit number.
[0124] S420: The current upgrade adapter responds to the first software upgrade instruction and requests the emergency broadcast service platform to download a software upgrade package.
[0125] Optionally, after receiving the first software upgrade instruction, the current upgrade adapter can first verify the first software upgrade instruction, that is, perform a signature verification process on the first software upgrade instruction, and after determining that the first software upgrade instruction passes the verification, respond to the first software upgrade instruction and request the emergency broadcast service platform to download the software upgrade package.
[0126] S430, the emergency broadcast terminal responds to the second software upgrade instruction sent by the emergency broadcast service platform or the upgrade adapter, determines a target upgrade adapter from the cascade upgrade adapters, requests the target upgrade adapter to download a software upgrade package, and performs software upgrade according to the software upgrade package.
[0127] Optionally, after receiving the second software upgrade instruction, the emergency broadcast terminal can first verify the second software upgrade instruction, that is, perform a signature verification process on the second software upgrade instruction, and after determining that the second software upgrade instruction has passed the verification, respond to the second software upgrade instruction, determine the target upgrade adapter from the cascade upgrade adapters, and request the target upgrade adapter to download the software upgrade package, and perform software upgrade according to the software upgrade package.
[0128] In an optional embodiment of the present invention, determining the current adapter limit number according to the current platform status may include: obtaining current downlink bandwidth data of the emergency broadcast service platform; and calculating the current adapter limit number according to the current downlink bandwidth data of the emergency broadcast service platform.
[0129] In an optional embodiment of the present invention, after determining the current adapter limit number based on the current platform state, it may also include: when determining that the current moment is the adapter limit number update moment, updating the current platform state of the emergency broadcast service platform; updating the current adapter limit number based on the updated current platform state.
[0130] In an optional embodiment of the present invention, before sending the first software upgrade instruction to the current upgrade adapters with a limited number of current adapters, it may also include: determining alternative upgrade adapters according to the upgrade adapter selection instruction; obtaining first device association filtering information of each of the alternative upgrade adapters; filtering the current upgrade adapters with a limited number of current adapters from each of the alternative upgrade adapters according to the first device association filtering information; wherein the first device association filtering information includes at least one of the following: the time for the device to download the software upgrade package, the number of device cascade emergency broadcast terminals, the device communication quality, and the software package download method supported by the device.
[0131] In an optional embodiment of the present invention, after sending the first software upgrade instruction to the current upgrade adapters with a limited number of current adapters, it may also include: receiving software package download status information reported by the current upgrade adapter; updating the current upgrade adapter according to the software package download status information reported by the current upgrade adapter and the current adapter limited number.
[0132] In an optional embodiment of the present invention, determining the alternative upgrade adapter according to the upgrade adapter selection instruction may include: screening the target emergency broadcast terminal that has completed the software upgrade package download according to the upgrade adapter selection instruction; and using the target emergency broadcast terminal as the alternative upgrade adapter.
[0133] In an optional embodiment of the present invention, determining the target upgrade adapter from the cascade upgrade adapters may include: filtering alternative cascade upgrade adapters from each of the cascade upgrade adapters according to the software upgrade package download completion flag of the cascade upgrade adapter; obtaining second device associated filtering information of the alternative cascade upgrade adapters; determining the target upgrade adapter from each of the alternative cascade upgrade adapters according to the second device associated filtering information; wherein the second device associated filtering information includes at least one of the following: device communication distance, device communication quality, and a software package download method supported by the device.
[0134] In a specific example, Figure 5 It is a schematic diagram of the networking structure of an emergency broadcast system provided in Embodiment 4 of the present invention. Figure 6 FIG. 4 is a flowchart of an emergency broadcast terminal software upgrade in an emergency broadcast system provided by the fourth embodiment of the present invention. Figure 5 and Figure 6 As shown, the user selects the emergency broadcast terminal that needs to be upgraded and / or the adapter that manages the emergency broadcast terminal to generate an upgrade adapter selection instruction and send it to the emergency broadcast platform. The emergency broadcast platform responds to the upgrade adapter selection instruction and sends the first software upgrade instruction to the corresponding adapter. After the adapter receives the first software upgrade instruction, it first verifies the first software upgrade instruction. If the verification fails, the adapter stops the subsequent process and notifies the emergency broadcast platform. After the first software upgrade instruction is successfully verified, the adapter can request the emergency broadcast platform to download the software upgrade package. Further, the emergency broadcast platform or the adapter that has completed the software upgrade package download can send a second software upgrade instruction to the corresponding emergency broadcast terminal. After the emergency broadcast terminal receives the second software upgrade instruction, it first verifies it. If the second software upgrade instruction fails to verify, the emergency broadcast terminal stops the subsequent process and notifies the emergency broadcast platform. If the second software upgrade instruction is successfully verified, the emergency broadcast terminal can determine the target adapter from the cascaded adapters and send a software upgrade package request instruction to the target adapter to request the target adapter to download the software upgrade package, and perform software upgrade according to the downloaded software upgrade package.
[0135] Optionally, when the emergency broadcast platform receives the upgrade adapter selection instruction, it can calculate the maximum number of adapters issued and the adapter software download time according to the current downlink bandwidth, thereby selecting the adapter with the maximum number of adapters issued and sending the first software upgrade instruction to it. After the corresponding adapter receives the first software upgrade instruction, it clears the storage space, starts downloading the software upgrade package and reports the download status. After the adapter downloads the software upgrade package, it can store it locally. At the same time, the adapter can also detect and feedback the communication network status between the local machine and the emergency broadcast terminal to obtain the online status of the emergency broadcast terminals of each cascade in real time, so as to screen out the online emergency broadcast terminals for software upgrade. After the emergency broadcast platform receives the download completion status reported by the adapter, it can automatically or manually trigger the second software upgrade instruction. Alternatively, the adapter that has completed the download of the software upgrade package sends the second software upgrade instruction to the corresponding emergency broadcast terminal. After the emergency broadcast terminal receives the platform upgrade instruction, it can further download the software upgrade package from the adapter with the closest communication distance and the software upgrade package that has been downloaded. After the emergency broadcast terminal successfully downloads the software upgrade package, it starts to automatically upgrade the software.
[0136] For example, if the user chooses to automatically upgrade the emergency broadcast terminal, the adapter or the emergency broadcast platform can automatically distribute and send the second software upgrade instruction to the emergency broadcast terminal in need; if the user chooses to manually upgrade the emergency broadcast terminal, the adapter needs to receive the upgrade instruction triggered by the emergency broadcast platform again before sending the second software upgrade instruction to the corresponding emergency broadcast terminal, or the emergency broadcast platform needs to trigger the second software upgrade instruction again before upgrading the emergency broadcast terminal. After receiving the second software upgrade instruction, the emergency broadcast terminal can start downloading the software upgrade package from the nearest adapter for software upgrade.
[0137] Optionally, the emergency broadcast terminal that has completed software package download or upgrade can also be used as an adapter. That is, the emergency broadcast terminal device that has downloaded the software upgrade package can be preferentially used as an adapter to transmit the software upgrade package to nearby terminal devices.
[0138] In the above technical solution, under limited bandwidth, the software of the emergency broadcast terminal can be upgraded by using the adapter in coordination with the emergency broadcast platform, which can achieve efficient and stable distributed upgrades of thousands of emergency broadcast terminals at the same time, greatly improving the operating efficiency of the emergency broadcast system and reducing the degree of manual intervention. The emergency broadcast terminal can download the upgrade package from the nearest adapter stably, which can also reduce the pressure on the emergency broadcast system and ensure the efficiency, safety, stability and success rate of terminal upgrades.
[0139] In the embodiment of the present invention, the emergency broadcast service platform responds to the upgrade adapter selection instruction, determines the current adapter limit number according to the current platform state, and sends the first software upgrade instruction to the current upgrade adapters with the current adapter limit number. Correspondingly, the current upgrade adapter can respond to the first software upgrade instruction and request the emergency broadcast service platform to download the software upgrade package. The emergency broadcast terminal can respond to the second software upgrade instruction sent by the emergency broadcast service platform or the upgrade adapter, determine the target upgrade adapter from the cascade upgrade adapters, and request the target upgrade adapter to download the software upgrade package, and perform the software upgrade according to the software upgrade package. The above technical scheme can solve the problems of low efficiency, security and success rate in the existing batch emergency broadcast terminal software upgrade process, and can improve the efficiency, security and success rate of batch software upgrades of emergency broadcast terminals.
[0140] Embodiment 5
[0141] Figure 7 FIG. 5 is a structural diagram of a software upgrade system for an emergency broadcast terminal provided in Embodiment 5 of the present invention. Figure 7 As shown, the structure of the software upgrade system of the emergency broadcast terminal includes an emergency broadcast service platform 510, an upgrade adapter 520 and an emergency broadcast terminal 530, wherein:
[0142] The emergency broadcast service platform 510 is connected in communication with the upgrade adapter 520, and is used to respond to the upgrade adapter selection instruction, determine the current adapter limit number according to the current platform state, and send a first software upgrade instruction to the current upgrade adapters with the current adapter limit number. The current upgrade adapter is connected in communication with the emergency broadcast terminal 530, and is used to respond to the first software upgrade instruction and request the emergency broadcast service platform 510 to download the software upgrade package. The emergency broadcast terminal 530 responds to the second software upgrade instruction sent by the emergency broadcast service platform 510 or the upgrade adapter 520, determines the target upgrade adapter from the cascade upgrade adapters, and sends a software upgrade package request instruction to the target upgrade adapter to request the target upgrade adapter to download the software upgrade package, and performs software upgrade according to the software upgrade package.
[0143] Optionally, the emergency broadcast service platform 510 is further used to: obtain current downlink bandwidth data of the emergency broadcast service platform; and calculate the current adapter limit quantity according to the current downlink bandwidth data of the emergency broadcast service platform.
[0144] Optionally, the emergency broadcast service platform 510 is further used to: update the current platform state of the emergency broadcast service platform when determining that the current time is the adapter limit quantity update time; and update the current adapter limit quantity according to the updated current platform state.
[0145] Optionally, the emergency broadcast service platform 510 is also used to: determine alternative upgrade adapters according to the upgrade adapter selection instruction; obtain first device associated filtering information of each of the alternative upgrade adapters; filter the current upgrade adapters with a limited number of current adapters from each of the alternative upgrade adapters according to the first device associated filtering information; wherein the first device associated filtering information includes at least one of the following: the time for the device to download the software upgrade package, the number of device cascaded emergency broadcast terminals, the device communication quality, and the software package download method supported by the device.
[0146] Optionally, the emergency broadcast service platform 510 is further used to: receive software package download status information reported by the current upgrade adapter; and update the current upgrade adapter according to the software package download status information reported by the current upgrade adapter and the current adapter limit quantity.
[0147] Optionally, the emergency broadcast service platform 510 is further used to: filter the target emergency broadcast terminal that has completed the software upgrade package download according to the upgrade adapter selection instruction; and use the target emergency broadcast terminal as the candidate upgrade adapter.
[0148] Optionally, the emergency broadcast terminal 530 is also used to: filter alternative cascade upgrade adapters from each of the cascade upgrade adapters according to the software upgrade package download completion flag of the cascade upgrade adapter; obtain second device associated filtering information of the alternative cascade upgrade adapter; determine the target upgrade adapter from each of the alternative cascade upgrade adapters according to the second device associated filtering information; wherein the second device associated filtering information includes at least one of the following: device communication distance, device communication quality, and software package download method supported by the device.
[0149] The embodiment of the present invention forms a software upgrade system through an emergency broadcast service platform, an upgrade adapter and an emergency broadcast terminal. The emergency broadcast service platform in the software upgrade system can respond to the upgrade adapter selection instruction, determine the current adapter limit number according to the current platform state, and send a first software upgrade instruction to the current upgrade adapter with the current adapter limit number. Correspondingly, the current upgrade adapter can respond to the first software upgrade instruction and request the emergency broadcast service platform to download the software upgrade package. The emergency broadcast terminal can respond to the second software upgrade instruction sent by the emergency broadcast service platform or the upgrade adapter, determine the target upgrade adapter from the cascade upgrade adapters, and request the target upgrade adapter to download the software upgrade package, and perform software upgrade according to the software upgrade package. The above technical scheme can solve the problems of low efficiency, security and success rate in the existing batch emergency broadcast terminal software upgrade process, and can improve the efficiency, security and success rate of batch software upgrades of emergency broadcast terminals.
[0150] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information are in compliance with the relevant laws and regulations and do not violate public order and good morals.
[0151] It should be noted that any arrangement and combination of the technical features in the above embodiments also falls within the protection scope of the present invention.
[0152] Embodiment 6
[0153] Figure 8 is a schematic diagram of a software upgrade device for an emergency broadcast terminal provided by Embodiment 6 of the present invention, such as Figure 8 As shown, the device includes: a current adapter limit quantity determination module 610 and a first software upgrade instruction sending module 620, wherein:
[0154] A current adapter limit quantity determination module 610, for determining a current adapter limit quantity according to a current platform state in response to an upgrade adapter selection instruction;
[0155] A first software upgrade instruction sending module 620 is used to send a first software upgrade instruction to a limited number of current upgrade adapters of the current adapters;
[0156] The current upgrade adapter responds to the first software upgrade instruction by requesting the emergency broadcast service platform to download a software upgrade package, and responds to the software upgrade package request instruction sent by the cascade emergency broadcast terminal by transmitting the software upgrade package to the cascade emergency broadcast terminal.
[0157] In the embodiment of the present invention, the emergency broadcast service platform responds to the upgrade adapter selection instruction, determines the current adapter limit number according to the current platform state, and sends the first software upgrade instruction to the current upgrade adapters with the current adapter limit number. Accordingly, the current upgrade adapter can respond to the first software upgrade instruction, request the emergency broadcast service platform to download the software upgrade package, and respond to the software upgrade package request instruction sent by the cascade emergency broadcast terminal, transmit the software upgrade package to the cascade emergency broadcast terminal, so that the cascade emergency broadcast terminal automatically completes the software upgrade according to the received software upgrade package. The above technical scheme can solve the problems of low efficiency, security and success rate in the existing batch emergency broadcast terminal software upgrade process, and can improve the efficiency, security and success rate of batch software upgrades of emergency broadcast terminals.
[0158] Optionally, the current adapter limit quantity determination module 610 is further used to: obtain current downlink bandwidth data of the emergency broadcast service platform; and calculate the current adapter limit quantity according to the current downlink bandwidth data of the emergency broadcast service platform.
[0159] Optionally, the current adapter limit quantity determination module 610 is further used to: update the current platform state of the emergency broadcast service platform when determining that the current moment is the adapter limit quantity update moment; and update the current adapter limit quantity according to the updated current platform state.
[0160] Optionally, the above-mentioned device also includes a current upgrade adapter filtering module, which is used to: determine the alternative upgrade adapters according to the upgrade adapter selection instruction; obtain the first device associated filtering information of each of the alternative upgrade adapters; filter the current upgrade adapters with a limited number of current adapters from each of the alternative upgrade adapters according to the first device associated filtering information; wherein the first device associated filtering information includes at least one of the following: the time for the device to download the software upgrade package, the number of device cascade emergency broadcast terminals, the device communication quality, and the software package download method supported by the device.
[0161] Optionally, the above device also includes a current upgrade adapter update module, which is used to: receive the software package download status information reported by the current upgrade adapter; and update the current upgrade adapter according to the software package download status information reported by the current upgrade adapter and the current adapter limit number.
[0162] Optionally, the current adapter limit quantity determination module 610 is further used to: filter the target emergency broadcast terminal that has completed the software upgrade package download according to the upgrade adapter selection instruction; and use the target emergency broadcast terminal as the candidate upgrade adapter.
[0163] The software upgrade device of the emergency broadcast terminal can execute the software upgrade method of the emergency broadcast terminal executed by the emergency broadcast service platform provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in this embodiment, please refer to the software upgrade method of the emergency broadcast terminal executed by the emergency broadcast service platform provided in any embodiment of the present invention.
[0164] Since the software upgrade device for the emergency broadcast terminal introduced above is a device that can execute the software upgrade method for the emergency broadcast terminal executed by the emergency broadcast service platform in the embodiment of the present invention, based on the software upgrade method for the emergency broadcast terminal executed by the emergency broadcast service platform introduced in the embodiment of the present invention, the technical personnel in this field can understand the specific implementation method of the software upgrade device for the emergency broadcast terminal of this embodiment and its various variations, so how the software upgrade device for the emergency broadcast terminal implements the software upgrade method for the emergency broadcast terminal executed by the emergency broadcast service platform in the embodiment of the present invention will not be introduced in detail here. As long as the technical personnel in this field implement the device adopted by the software upgrade method for the emergency broadcast terminal executed by the emergency broadcast service platform in the embodiment of the present invention, it belongs to the scope of protection of this application.
[0165] Embodiment 7
[0166] Fig. 9 is a schematic diagram of a software upgrade device for an emergency broadcast terminal provided by Embodiment 7 of the present invention, such as Fig. 9 As shown, the device includes: a software upgrade package download request module 710 and a software upgrade package transmission module 720, wherein:
[0167] The software upgrade package download request module 710 is used to request the emergency broadcast service platform to download the software upgrade package in response to the first software upgrade instruction sent by the emergency broadcast service platform;
[0168] The software upgrade package transmission module 720 is used to transmit the software upgrade package to the cascade emergency broadcast terminal in response to the software upgrade package request instruction sent by the cascade emergency broadcast terminal;
[0169] The emergency broadcast service platform is used to respond to the upgrade adapter selection instruction, determine the current adapter limit number according to the current platform state, and send the first software upgrade instruction to the current upgrade adapters with the current adapter limit number.
[0170] In the embodiment of the present invention, the emergency broadcast service platform responds to the upgrade adapter selection instruction, determines the current adapter limit number according to the current platform state, and sends the first software upgrade instruction to the current upgrade adapters with the current adapter limit number. Accordingly, the current upgrade adapter can respond to the first software upgrade instruction, request the emergency broadcast service platform to download the software upgrade package, and respond to the software upgrade package request instruction sent by the cascade emergency broadcast terminal, transmit the software upgrade package to the cascade emergency broadcast terminal, so that the cascade emergency broadcast terminal automatically completes the software upgrade according to the received software upgrade package. The above technical scheme can solve the problems of low efficiency, security and success rate in the existing batch emergency broadcast terminal software upgrade process, and can improve the efficiency, security and success rate of batch software upgrades of emergency broadcast terminals.
[0171] The software upgrade device of the emergency broadcast terminal can execute the software upgrade method of the emergency broadcast terminal executed by the upgrade adapter provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in this embodiment, please refer to the software upgrade method of the emergency broadcast terminal executed by the upgrade adapter provided in any embodiment of the present invention.
[0172] Since the software upgrade device for the emergency broadcast terminal introduced above is a device that can execute the software upgrade method for the emergency broadcast terminal executed by the upgrade adapter in the embodiment of the present invention, based on the software upgrade method for the emergency broadcast terminal executed by the upgrade adapter introduced in the embodiment of the present invention, the technical personnel in this field can understand the specific implementation method of the software upgrade device for the emergency broadcast terminal of this embodiment and its various variations, so how the software upgrade device for the emergency broadcast terminal implements the software upgrade method for the emergency broadcast terminal executed by the upgrade adapter in the embodiment of the present invention will not be introduced in detail here. As long as the technical personnel in this field implement the device used by the software upgrade method for the emergency broadcast terminal executed by the upgrade adapter in the embodiment of the present invention, it belongs to the scope of protection of this application.
[0173] Embodiment 8
[0174] Fig.10 is a schematic diagram of a software upgrade device for an emergency broadcast terminal provided by Embodiment 8 of the present invention, such as Fig.10 As shown, the device includes: a target upgrade adapter determination module 810 and a software upgrade module 820, wherein:
[0175] A target upgrade adapter determination module 810 is used to determine a target upgrade adapter from the cascade upgrade adapters in response to a second software upgrade instruction sent by the emergency broadcast service platform or the upgrade adapter;
[0176] The software upgrade module 820 is used to send a software upgrade package request instruction to the target upgrade adapter to request the target upgrade adapter to download the software upgrade package and perform software upgrade according to the software upgrade package;
[0177] The target upgrade adapter is used to request the emergency broadcast service platform to download a software upgrade package in response to the first software upgrade instruction;
[0178] The emergency broadcast service platform is used to respond to the upgrade adapter selection instruction, determine the current adapter limit number according to the current platform state, and send the first software upgrade instruction to the current upgrade adapters with the current adapter limit number.
[0179] Optionally, the target upgrade adapter determination module 810 is also used to: filter alternative cascade upgrade adapters from each of the cascade upgrade adapters according to the software upgrade package download completion flag of the cascade upgrade adapter; obtain second device associated filtering information of the alternative cascade upgrade adapters; determine the target upgrade adapter from each of the alternative cascade upgrade adapters according to the second device associated filtering information; wherein the second device associated filtering information includes at least one of the following: device communication distance, device communication quality, and software package download method supported by the device.
[0180] In the embodiment of the present invention, the emergency broadcast service platform responds to the upgrade adapter selection instruction, determines the current adapter limit number according to the current platform state, and sends the first software upgrade instruction to the current upgrade adapters with the current adapter limit number. Accordingly, the current upgrade adapter can respond to the first software upgrade instruction, request the emergency broadcast service platform to download the software upgrade package, and respond to the software upgrade package request instruction sent by the cascade emergency broadcast terminal, transmit the software upgrade package to the cascade emergency broadcast terminal, so that the cascade emergency broadcast terminal automatically completes the software upgrade according to the received software upgrade package. The above technical scheme can solve the problems of low efficiency, security and success rate in the existing batch emergency broadcast terminal software upgrade process, and can improve the efficiency, security and success rate of batch software upgrades of emergency broadcast terminals.
[0181] The software upgrade device of the emergency broadcast terminal can execute the software upgrade method of the emergency broadcast terminal executed by the emergency broadcast terminal provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in this embodiment, please refer to the software upgrade method of the emergency broadcast terminal executed by the emergency broadcast terminal provided in any embodiment of the present invention.
[0182] Since the software upgrade device for the emergency broadcast terminal introduced above is a device that can execute the software upgrade method for the emergency broadcast terminal executed by the emergency broadcast terminal in the embodiment of the present invention, based on the software upgrade method for the emergency broadcast terminal executed by the emergency broadcast terminal introduced in the embodiment of the present invention, the technical personnel in this field can understand the specific implementation method of the software upgrade device for the emergency broadcast terminal of this embodiment and its various variations, so how the software upgrade device for the emergency broadcast terminal implements the software upgrade method for the emergency broadcast terminal executed by the emergency broadcast terminal in the embodiment of the present invention will not be introduced in detail here. As long as the technical personnel in this field implement the device used by the software upgrade method for the emergency broadcast terminal executed by the emergency broadcast terminal in the embodiment of the present invention, it belongs to the scope of protection of this application.
[0183] Embodiment 9
[0184] Fig.11 A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0185] like Fig.11 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0186] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0187] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a software upgrade method for an emergency broadcast terminal.
[0188] Optionally, the software upgrade method of the emergency broadcast terminal is applied to the emergency broadcast service platform, including: responding to the upgrade adapter selection instruction, determining the current adapter limit number according to the current platform status; sending a first software upgrade instruction to the current upgrade adapters with the current adapter limit number; wherein the current upgrade adapter responds to the first software upgrade instruction, requests the emergency broadcast service platform to download the software upgrade package, and responds to the software upgrade package request instruction sent by the cascade emergency broadcast terminal, and transmits the software upgrade package to the cascade emergency broadcast terminal.
[0189] Optionally, the software upgrade method of the emergency broadcast terminal is applied to upgrading the adapter, including: responding to a first software upgrade instruction sent by the emergency broadcast service platform, requesting the emergency broadcast service platform to download a software upgrade package; responding to a software upgrade package request instruction sent by the cascade emergency broadcast terminal, transmitting the software upgrade package to the cascade emergency broadcast terminal; wherein the emergency broadcast service platform is used to respond to an upgrade adapter selection instruction, determine the current adapter limit number according to the current platform status, and send the first software upgrade instruction to the current upgrade adapters with the current adapter limit number.
[0190] Optionally, a software upgrade method for an emergency broadcast terminal is applied to an emergency broadcast terminal, including: in response to a second software upgrade instruction sent by an emergency broadcast service platform or an upgrade adapter, determining a target upgrade adapter from the cascade upgrade adapters; sending a software upgrade package request instruction to the target upgrade adapter to request the target upgrade adapter to download a software upgrade package, and perform a software upgrade according to the software upgrade package; wherein the emergency broadcast service platform is used to respond to the upgrade adapter selection instruction, determine the current adapter limit number according to the current platform status, and send the first software upgrade instruction to the current upgrade adapters with the current adapter limit number; the target upgrade adapter is used to respond to the first software upgrade instruction sent by the emergency broadcast service platform, and request the emergency broadcast service platform to download a software upgrade package.
[0191] In some embodiments, the software upgrade method of the emergency broadcast terminal can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the software upgrade method of the emergency broadcast terminal described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the software upgrade method of the emergency broadcast terminal in any other appropriate manner (for example, by means of firmware).
[0192] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0193] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0194] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0195] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0196] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0197] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0198] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.
[0199] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.
Claims
1. A software upgrade method for an emergency broadcast terminal, characterized in that: Applied to emergency broadcast service platform, including: In response to the upgrade adapter selection instruction, determining a current adapter limit quantity according to a current platform state; Sending a first software upgrade instruction to a limited number of current upgrade adapters of the current adapter; The current upgrade adapter responds to the first software upgrade instruction by requesting the emergency broadcast service platform to download a software upgrade package, and responds to the software upgrade package request instruction sent by the cascade emergency broadcast terminal by transmitting the software upgrade package to the cascade emergency broadcast terminal.
2. The method according to claim 1, characterized in that: Determining the current adapter limit quantity according to the current platform state includes: Obtaining current downlink bandwidth data of the emergency broadcast service platform; The current adapter limit quantity is calculated according to the current downlink bandwidth data of the emergency broadcast service platform.
3. The method according to claim 1 or 2, characterized in that: After determining the current adapter limit quantity according to the current platform state, the method further includes: In the case of determining that the current time is the adapter limit quantity update time, updating the current platform state of the emergency broadcast service platform; The current adapter limit quantity is updated according to the updated current platform status.
4. The method according to claim 1, characterized in that: Before sending the first software upgrade instruction to the current upgrade adapters with a limited number of current adapters, the method further includes: determining an alternative upgrade adapter according to the upgrade adapter selection instruction; Acquire first device associated screening information of each candidate upgrade adapter; Filtering the current upgrade adapters of the limited number of current adapters from each of the candidate upgrade adapters according to the first device association screening information; Among them, the first device-associated screening information includes at least one of the following: the time when the device downloads the software upgrade package, the number of device cascaded emergency broadcast terminals, the device communication quality, and the software package download method supported by the device.
5. The method according to claim 1, characterized in that After sending the first software upgrade instruction to the current upgrade adapters with a limited number of current adapters, the method further includes: Receiving software package download status information reported by the current upgrade adapter; The current upgrade adapter is updated according to the software package download status information reported by the current upgrade adapter and the current adapter limit quantity.
6. The method according to claim 4, characterized in that The step of determining a candidate upgrade adapter according to the upgrade adapter selection instruction comprises: Filter the target emergency broadcast terminal that has completed the software upgrade package download according to the upgrade adapter selection instruction; The target emergency broadcast terminal is used as the optional upgrade adapter.
7. A software upgrade method for an emergency broadcast terminal, characterized in that: Applicable to upgrade adapters, including: In response to the first software upgrade instruction sent by the emergency broadcast service platform, requesting the emergency broadcast service platform to download a software upgrade package; In response to a software upgrade package request instruction sent by the cascade emergency broadcast terminal, transmitting the software upgrade package to the cascade emergency broadcast terminal; The emergency broadcast service platform is used to respond to the upgrade adapter selection instruction, determine the current adapter limit number according to the current platform state, and send the first software upgrade instruction to the current upgrade adapters with the current adapter limit number.
8. A software upgrade method for an emergency broadcast terminal, characterized in that: Applied to emergency broadcast terminals, including: In response to a second software upgrade instruction sent by the emergency broadcast service platform or the upgrade adapter, determining a target upgrade adapter from the cascade upgrade adapters; Sending a software upgrade package request instruction to the target upgrade adapter to request the target upgrade adapter to download the software upgrade package and perform software upgrade according to the software upgrade package; The target upgrade adapter is used to request the emergency broadcast service platform to download a software upgrade package in response to the first software upgrade instruction; The emergency broadcast service platform is used to respond to the upgrade adapter selection instruction, determine the current adapter limit number according to the current platform state, and send the first software upgrade instruction to the current upgrade adapters with the current adapter limit number.
9. The method according to claim 8, characterized in that The step of determining a target upgrade adapter from the cascade upgrade adapters includes: Filtering candidate cascade upgrade adapters from each of the cascade upgrade adapters according to the software upgrade package download completion flag of the cascade upgrade adapter; Acquire second device association screening information of the candidate cascade upgrade adapter; Determine the target upgrade adapter from each of the candidate cascade upgrade adapters according to the second device association screening information; The second device-associated screening information includes at least one of the following: device communication distance, device communication quality, and a software package downloading method supported by the device.
10. A software upgrade method for an emergency broadcast terminal, characterized in that: include: The emergency broadcast service platform responds to the upgrade adapter selection instruction, determines the current adapter limit number according to the current platform state, and sends a first software upgrade instruction to the current upgrade adapters of the current adapter limit number; The current upgrade adapter, in response to the first software upgrade instruction, requests the emergency broadcast service platform to download a software upgrade package; The emergency broadcast terminal responds to the second software upgrade instruction sent by the emergency broadcast service platform or the upgrade adapter, determines the target upgrade adapter from the cascade upgrade adapters, requests the target upgrade adapter to download a software upgrade package, and performs software upgrade according to the software upgrade package.
11. A software upgrade system for an emergency broadcast terminal, characterized in that: It includes emergency broadcast service platform, upgrade adapter and emergency broadcast terminal, including: The emergency broadcast service platform is in communication connection with the upgrade adapter, and is used to respond to the upgrade adapter selection instruction, determine the current adapter limit number according to the current platform state, and send a first software upgrade instruction to the current upgrade adapter corresponding to the current adapter limit number; The current upgrade adapter is in communication connection with the emergency broadcast terminal, and is used to request the emergency broadcast service platform to download a software upgrade package in response to the first software upgrade instruction; The emergency broadcast terminal responds to the second software upgrade instruction sent by the emergency broadcast service platform or the upgrade adapter, determines the target upgrade adapter from the cascade upgrade adapters, and sends a software upgrade package request instruction to the target upgrade adapter to request the target upgrade adapter to download the software upgrade package, and performs software upgrade according to the software upgrade package.
12. A software upgrade device for an emergency broadcast terminal, characterized in that: Configured on the emergency broadcast service platform, including: a current adapter limit quantity determination module, configured to determine the current adapter limit quantity according to the current platform state in response to the upgrade adapter selection instruction; A first software upgrade instruction sending module, used for sending a first software upgrade instruction to a limited number of current upgrade adapters of the current adapters; The current upgrade adapter responds to the first software upgrade instruction by requesting the emergency broadcast service platform to download a software upgrade package, and responds to the software upgrade package request instruction sent by the cascade emergency broadcast terminal by transmitting the software upgrade package to the cascade emergency broadcast terminal.
13. A software upgrade device for an emergency broadcast terminal, characterized in that: Configured in upgrade adapter, including: A software upgrade package download request module, configured to request the emergency broadcast service platform to download the software upgrade package in response to a first software upgrade instruction sent by the emergency broadcast service platform; A software upgrade package transmission module, configured to transmit the software upgrade package to the cascade emergency broadcast terminal in response to a software upgrade package request instruction sent by the cascade emergency broadcast terminal; The emergency broadcast service platform is used to respond to the upgrade adapter selection instruction, determine the current adapter limit number according to the current platform state, and send the first software upgrade instruction to the current upgrade adapters with the current adapter limit number.
14. A software upgrade device for an emergency broadcast terminal, characterized in that: Configured on the emergency broadcast terminal, including: A target upgrade adapter determination module, configured to determine a target upgrade adapter from the cascade upgrade adapters in response to a second software upgrade instruction sent by the emergency broadcast service platform or the upgrade adapter; A software upgrade module, used for sending a software upgrade package request instruction to the target upgrade adapter to request the target upgrade adapter to download the software upgrade package, and perform software upgrade according to the software upgrade package; The target upgrade adapter is used to request the emergency broadcast service platform to download a software upgrade package in response to the first software upgrade instruction; The emergency broadcast service platform is used to respond to the upgrade adapter selection instruction, determine the current adapter limit number according to the current platform state, and send the first software upgrade instruction to the current upgrade adapters with the current adapter limit number.
