CN111327646A - Indoor unit upgrading method and system - Google Patents

Indoor unit upgrading method and system Download PDF

Info

Publication number
CN111327646A
CN111327646A CN201811523552.5A CN201811523552A CN111327646A CN 111327646 A CN111327646 A CN 111327646A CN 201811523552 A CN201811523552 A CN 201811523552A CN 111327646 A CN111327646 A CN 111327646A
Authority
CN
China
Prior art keywords
upgraded
indoor unit
software version
indoor units
indoor
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811523552.5A
Other languages
Chinese (zh)
Inventor
应鹏魁
康卫昌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou Hikvision Digital Technology Co Ltd
Original Assignee
Hangzhou Hikvision Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Hikvision Digital Technology Co Ltd filed Critical Hangzhou Hikvision Digital Technology Co Ltd
Priority to CN201811523552.5A priority Critical patent/CN111327646A/en
Publication of CN111327646A publication Critical patent/CN111327646A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

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

Abstract

The invention provides an indoor unit upgrading method and system, wherein the method comprises the following steps: when the central platform determines that the indoor units need to be upgraded, indoor units to be upgraded, of which the current software versions are lower than the latest software version, of a first preset number are selected from the system, and the indoor units to be upgraded are upgraded to the latest software version; the method comprises the steps of receiving an auxiliary upgrading request sent when any indoor unit is successfully upgraded to the latest software version or a second preset number of indoor units to be upgraded, which are distributed to any indoor unit, are successfully upgraded to the latest software version, distributing a second preset number of indoor units to be upgraded, of which the current software versions are lower than the latest software version, to any indoor unit, and returning information of the second preset number of indoor units to be upgraded to any indoor unit so that any indoor unit can upgrade the second preset number of indoor units to be upgraded to the latest software version. The invention can accelerate the upgrading efficiency of the indoor unit and reduce the time cost of the indoor unit upgrading.

Description

Indoor unit upgrading method and system
Technical Field
The invention relates to the technical field of artificial intelligence, in particular to an indoor unit upgrading method and system.
Background
The indoor unit is a device which is installed in a household (user) room in the visual intercom system and provides a visual intercom function and an alarm function.
The building intercom indoor unit is building intercom equipment which is most widely applied and has the largest quantity in apartment houses in China, and almost every family of every cell is provided with one building intercom indoor unit.
When a user has a problem with the indoor unit in use or needs to support a new function, a new program needs to be updated for the indoor unit. The existing upgrading method mainly adopts remote upgrading, the upgrading mode is serial, the upgrading efficiency is not high, and when the number of equipment is large, the time cost spent on upgrading is very large. For example, 2 minutes is needed to upgrade one indoor unit, and when 1000 indoor units are available in one cell, 2000 minutes is needed for serial upgrade, and the upgrade is completed in nearly half a day. In future, the scenes that the indoor intercom units are adopted in the whole areas such as intelligent communities, intelligent towns and the like are more and more, and the existing upgrading technical scheme can catch the witness.
Disclosure of Invention
In view of this, the present invention provides an indoor unit upgrading method and system, which can accelerate the indoor unit upgrading efficiency and reduce the time cost for upgrading the indoor unit.
In order to achieve the purpose, the invention provides the following technical scheme:
an indoor unit upgrading method is applied to a system comprising a central platform and a plurality of indoor units, wherein the indoor units are connected with the central platform and any two indoor units, and the method is applied to the central platform and comprises the following steps:
when the indoor units are determined to be upgraded, indoor units to be upgraded, the current software versions of which the first preset number are lower than the latest software version, are selected from the system, and the indoor units to be upgraded, the first preset number, which are selected, are upgraded to the latest software version;
the method comprises the steps of receiving an auxiliary upgrading request sent when any indoor unit is successfully upgraded to the latest software version or indoor units to be upgraded, which are distributed to any indoor unit, are successfully upgraded to the latest software version, distributing a second preset number of indoor units to be upgraded, of which the current software versions are lower than the latest software version, to any indoor unit, and returning information of the second preset number of indoor units to be upgraded to any indoor unit, so that any indoor unit can upgrade the second preset number of indoor units to be upgraded to the latest software version.
Another indoor unit upgrading method is applied to a system comprising a central platform and a plurality of indoor units, wherein the indoor units are connected with the central platform and any two indoor units, and the method is applied to any indoor unit and comprises the following steps:
when any indoor unit is successfully upgraded to the latest software version or a second preset number of indoor units to be upgraded, which are distributed to any indoor unit, are successfully upgraded to the latest software version, an auxiliary upgrading request is sent to the central platform;
and if the information of the indoor unit to be upgraded, which is returned by the central platform and is distributed to any indoor unit, of which the current software version is lower than the latest software version, is received, the indoor unit to be upgraded is upgraded to the latest software version based on the information of the indoor unit to be upgraded.
An indoor unit upgrading system comprises a central platform and a plurality of indoor units, wherein the indoor units are connected with the central platform and any two indoor units;
the central platform is used for selecting indoor units to be upgraded, the current software versions of which the first preset number are lower than the latest software version, when the indoor units need to be upgraded, and upgrading the selected indoor units to be upgraded, the first preset number, to be upgraded, to the latest software version; the system comprises a plurality of indoor units, a software version updating module and a software version updating module, wherein the software version updating module is used for receiving an auxiliary updating request sent by any indoor unit, distributing a second preset number of indoor units to be updated with current software versions lower than the latest software version to any indoor unit, and returning the second preset number of indoor units to be updated to any indoor unit;
and the indoor units are used for sending an auxiliary upgrading request to the central platform when the indoor units to be upgraded are successfully upgraded to the latest software version or the indoor units to be upgraded, which are distributed to the indoor units, in a second preset number are successfully upgraded to the latest software version, and if the indoor unit information to be upgraded, which is returned by the central platform and has the current software version lower than the second preset number of the latest software version, is received, the indoor units to be upgraded in the second preset number are upgraded to the latest software version based on the indoor unit information to be upgraded in the second preset number.
A non-transitory computer readable storage medium storing instructions that, when executed by a processor, cause the processor to perform the steps in the indoor unit upgrade method as applied to a central platform.
Another non-transitory computer readable storage medium storing instructions, characterized in that the instructions, when executed by a processor, cause the processor to perform the steps of the indoor unit upgrade method as applied to any indoor unit as described above.
According to the technical scheme, when the indoor units need to be upgraded, the central platform selects a preset number of indoor units for upgrading, and then the central platform allocates the indoor units to be upgraded to the upgraded indoor units based on the request of the upgraded indoor units, so that the upgraded indoor units perform upgrading on the allocated indoor units to be upgraded. Because the upgraded indoor units are increased in number of stages, the indoor units to be upgraded, which can be distributed by the upgraded indoor units and are responsible for upgrading, are also increased in number of stages, the upgrading efficiency of the indoor units can be greatly improved, and the time cost for upgrading the indoor units in the whole system can be further reduced.
Drawings
FIG. 1 is a system architecture diagram provided by an embodiment of the present invention;
fig. 2 is a flowchart of an indoor unit upgrading method according to fig. 1 according to an embodiment of the present invention;
FIG. 3 is a flowchart of an indoor unit upgrading method according to an embodiment of the present invention;
FIG. 4 is a flowchart of an upgrade method for an indoor unit according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an indoor unit upgrading system according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention are described in detail below with reference to the accompanying drawings according to embodiments.
The invention is applied to a system comprising a central platform and a plurality of indoor units, and firstly introduces the basic functions of the indoor units and the central platform:
indoor set: generally, the intelligent interphone is installed in a user home, and functions of visual talkback, upgrading other indoor units and the like can be realized by one user. In the invention, after the installation is finished, the IP address of the central platform is configured for each indoor unit, the IP address is used for feeding back the information of the updated latest software version to the central platform after the latest software version is updated, and simultaneously, the IP address can also be used for sending an auxiliary updating request to the central platform when the auxiliary updating condition is met, so as to request the information of the indoor unit to be updated to the central platform, and then the updating of the indoor unit to be updated is executed.
A central platform: generally, the indoor unit is installed in the center of a property or an area to realize the functions of managing and upgrading the indoor unit. Usually, a central platform is installed in a cell, and after installation is completed, indoor unit information in the same system can be imported to the central platform in batches, wherein the indoor unit information includes an IP address and a port of an indoor unit, current software version information (version number) of the indoor unit, a user name and a password for logging in the indoor unit, and the like. After the indoor unit information is imported into the central platform, the central platform can maintain the information of each indoor unit and realize remote upgrade of the indoor units. Meanwhile, the central platform also provides functions of receiving the latest software version information fed back by the indoor unit successfully upgraded to the latest software version, distributing low-version indoor unit information to be upgraded for the indoor unit successfully upgraded to the latest program version and the like.
In the invention, when indoor units in the system need to be upgraded, a first preset number of indoor units are selected by the central platform, and the indoor units selected by the first preset number are upgraded to the latest software version; after the indoor units are successfully upgraded to the latest software version, requesting the central platform to distribute a second preset number of indoor units to be upgraded, and upgrading the requested second preset number of indoor units to be upgraded to the latest software version; secondly, the indoor units of the second preset number, which are requested, to be upgraded are successfully upgraded to the latest software version, and the indoor units of the second preset number, which are requested, are together requested to distribute the indoor units of the second preset number, which are requested, to be upgraded to the latest software version to the central platform, and the indoor units of the second preset number, which are requested, are upgraded to the latest software version; and repeating the steps until all the indoor units with the low software versions are upgraded to the latest software version.
In practical implementation, the values of the first preset number and the second preset number are positive integers, and preferably, the values of the first preset number and the second preset number are both 1. When the value of the first preset number is not 1, the central platform needs to realize the upgrade of the indoor units to be upgraded in a serial manner when upgrading the indoor units to be upgraded of the first preset number. Similarly, when the value of the second preset number is not 1, and the upgraded indoor units upgrade the indoor units to be upgraded of the second preset number allocated to the central platform by the upgraded indoor units, the indoor units to be upgraded also need to be upgraded in a serial manner.
The following description will be made on the implementation principle of the present invention with reference to fig. 1 and 2, taking the values of the first preset number and the second preset number as 1:
referring to fig. 1, fig. 1 is a system architecture diagram according to an embodiment of the present invention, as shown in fig. 1, the system includes 8 indoor units, i.e., a1, a2, A3, a4, a5, a6, a7, and A8, in which the center platform and the indoor units, as well as any two indoor units, are interconnected (connections are shown in the drawing). In the prior art, when the central platform needs to upgrade the 8 indoor units to the latest software version, the 8 indoor units need to be upgraded one by one, and if the upgrade time of 1 indoor unit is 2 minutes, the central platform needs to spend 16 minutes to complete the upgrade of the 8 indoor units.
Referring to fig. 2, fig. 2 is a flowchart of an indoor unit upgrading method according to an embodiment of the present invention and based on fig. 1, where a connection line with an arrow in fig. 1 shows an indoor unit upgrading process implemented by applying the method shown in fig. 2, and a text on the connection line with the arrow indicates an upgrading batch and a controlling party and a controlled party of the upgrading process, for example, "2) a1 upgrade a 2" indicates that the upgrading process is an upgrade of an indoor unit in a second batch, where the controlling party of the upgrading process is a1, and the controlled party is a 2.
Turning now to fig. 2 in more detail, as shown in fig. 2, the method comprises the steps of:
step 201, importing the upgrade package into a central platform.
When the indoor unit in the system needs to be upgraded, the upgrade package of the latest software version is imported into the central platform, and the central platform can acquire the information of the latest software version from the upgrade package and determine that the indoor unit in the system to which the central platform belongs needs to be upgraded. For convenience of description, the latest software version information is denoted as Ver 1.
Step 202, the central platform upgrades the indoor unit A1.
The central platform finds out an indoor unit A1 with a current software low version lower than the latest software version from the system, and remotely upgrades the indoor unit A1 to the latest software version.
And after the indoor unit A1 finishes upgrading and is restarted, the software is successfully upgraded to the latest software version.
Step 203, the indoor unit a1 feeds back the latest software version information to the central platform, and requests the indoor unit a2 with a low version.
After the indoor unit a1 feeds back the latest software version information to the central platform, the central platform updates the current software version information of the indoor unit a1 to be maintained as the latest software version information.
The indoor unit a2 of the low version is the indoor unit to be upgraded.
The specific process of the indoor unit a1 requesting the low version indoor unit a2 from the central platform is as follows:
the indoor unit A1 sends an auxiliary upgrading request to the central platform;
the central platform allocates an indoor unit a2 with a current software low version lower than the latest software version to the indoor unit a1 (it is only assumed here that the found indoor unit with a low version is a2, and actually, other indoor units such as A3, a4 and the like are possible, and not necessarily a2), and returns the information of the indoor unit a2 to the indoor unit a 1.
When the central platform returns the information of the indoor unit a2 to the indoor unit a1, the upgrade state of the indoor unit a2 needs to be set to be upgraded, so that the central platform can be prevented from allocating the indoor unit a2 to other upgraded indoor units.
The central platform maintains the current software version information of all the indoor units, so that the indoor units with the current software versions lower than the latest software version can be found by comparing the current software version information of the indoor units maintained by the central platform with the latest software version information.
And step 204, the indoor unit A1 upgrades the indoor unit A2 to the latest software version.
The indoor unit a1 upgrades the indoor unit a2 to the latest software version based on the information of the indoor unit a2 (including information such as the IP address and port of the indoor unit a2) received from the center deck.
And after the indoor unit A2 finishes upgrading and is restarted, the software is successfully upgraded to the latest software version.
In step 205a, the indoor unit a1 requests the indoor unit A3 of the low version from the center deck.
The implementation principle of the step 205a is the same as that of the indoor unit a1 requesting the indoor unit a2 from the central platform in the step 203.
Step 205b, the indoor unit a2 feeds back the latest software version information to the central platform, and requests the indoor unit a4 with a low version.
The implementation principle of the above step 205b is the same as that of the above step 203.
And step 206a, the indoor unit A1 upgrades the indoor unit A3 to the latest software version.
And step 206b, the indoor unit A2 upgrades the indoor unit A4 to the latest software version.
The implementation principle of the steps 206a and 206b is the same as that of the step 204.
In step 207aa, the indoor unit a1 requests the indoor unit a5 from the central platform.
In step 207ba, the indoor unit a2 requests the indoor unit a6 from the central platform.
The implementation principle of the above steps 207aa and 207ba is the same as that of the indoor unit a1 requesting the indoor unit a2 from the central platform in step 203.
In step 207ab, the indoor unit A3 feeds back the latest software version information to the central platform, and requests the indoor unit a7 with a low version.
In step 207bb, the indoor unit a4 feeds back the latest software version information to the central platform, and requests the indoor unit A8 with a low version.
The implementation principle of the above steps 207ab and 207bb is the same as that of the above step 203.
And step 208aa, the indoor unit A1 upgrades the indoor unit A5 to the latest software version.
And step 208ba, the indoor unit A2 upgrades the indoor unit A6 to the latest software version.
And step 208ab, the indoor unit A3 upgrades the indoor unit A7 to the latest software version.
And step 208bb, the indoor unit A4 upgrades the indoor unit A8 to the latest software version.
The implementation principle of the above steps 208aa, 208ba, 208ab, and 208bb is the same as the implementation principle of the indoor unit a1 upgrading the indoor unit a2 to the latest software version in the above step 203.
And step 209, all the indoor units A1 to A8 request the central platform that all the indoor units to be upgraded fail, and the indoor unit upgrading process is finished.
In this step, indoor units a1, a2, A3, a4, A5, A6, a7, and A8 all request allocation of indoor units to be upgraded to the central platform, however, since there is no low-version indoor unit in the system, the central platform returns an auxiliary upgrade rejection response to indoor units a1, a2, A3, a4, A5, A6, a7, and A8, and indoor units a1, a2, A3, a4, A5, A6, a7, and A8 receive the auxiliary upgrade rejection response returned from the central platform, and it is determined that there is no indoor unit to be upgraded in the system, and therefore, there is no request allocation of indoor units to be upgraded to the central platform, and the whole indoor unit upgrade process ends.
In this step 209, the indoor units a5, a6, a7, and A8 request the central platform for the indoor units to be upgraded, and since the indoor units are just successfully upgraded to the latest software version, the latest software version information needs to be fed back to the central platform, so that the central platform updates the current software version information of the indoor units a5, a6, a7, and A8 to the latest software version information.
As can be seen from the above upgrading process, the time for upgrading the indoor unit a1 of the central platform is 2 minutes, the process for upgrading the indoor unit a2 of the indoor unit a1 is 2 minutes, the indoor units a1, a2 upgrade the indoor units A3, a4 are executed in parallel, the upgrading process is 2 minutes, the indoor units a1, a2, A3, a4 upgrade the indoor units a5, A6, a7, A8 are also executed in parallel, and the upgrading process is 2 minutes, so that the time of the whole upgrading process is 8 minutes, and compared with the prior art, the general upgrading time is saved. Moreover, because the upgrading number of the indoor units is increased in stages, the time is saved by applying the upgrading method of the invention compared with the existing serial upgrading method when the number of the indoor units is larger.
So far, all indoor units in the system are successfully upgraded to the latest software version. As can be seen from the above description of fig. 2, the central platform upgrades the indoor unit a 1; after the indoor unit A1 is upgraded, requesting information of the indoor unit A2 with the software version number lower than A1 from the central platform, and upgrading the indoor unit A2; after the upgrading of the A2 is completed, the indoor unit A1 and the indoor unit A2 request the information of the indoor units A3 and A4 with version numbers lower than those of the indoor units A1 and A2 from the central platform, the indoor units A1 and A2 perform upgrading on the indoor units A3 and A4, and the like until all the indoor units with low versions are upgraded to new software versions. According to the scheme, 1 device is upgraded through 1 device, 2 devices are upgraded through 2 devices, and 4 devices are upgraded through 4 devices … …, so that the rapid upgrade of a large number of devices can be completed in a short time, the maintenance time and the maintenance cost can be effectively reduced, and the user experience is improved.
The above description details the implementation principle of the indoor unit upgrading method according to the embodiment of the present invention, and based on the above principle, the present invention provides an indoor unit upgrading method applied to a central platform and an indoor unit upgrading method applied to an indoor unit, and the following description details with reference to fig. 3 and 4.
Referring to fig. 3, fig. 3 is a flowchart of an indoor unit upgrading method according to an embodiment of the present invention, and the method is applied to a system including a central platform and a plurality of indoor units, where the indoor units are connected to the central platform and any two indoor units are connected to each other, and the method is specifically applied to the central platform, and includes the following steps:
301, when it is determined that indoor units need to be upgraded, selecting indoor units to be upgraded, of which the current software versions are lower than the latest software version, in the system in a first preset number, and upgrading the selected indoor units to be upgraded, of the first preset number, to the latest software version;
step 302, receiving an auxiliary upgrade request sent when any indoor unit is successfully upgraded to the latest software version or a second preset number of indoor units to be upgraded, which are allocated to any indoor unit, are successfully upgraded to the latest software version, allocating indoor units to be upgraded, of which the current software versions are lower than the latest software version, of the second preset number to any indoor unit, and returning information of the indoor units to be upgraded, of the second preset number, to any indoor unit, so that any indoor unit can upgrade the indoor units to be upgraded, of the second preset number, to the latest software version.
In the method shown in figure 3 of the drawings,
after receiving the auxiliary upgrade request sent by any indoor unit, if the indoor unit to be upgraded, the current software version of which is lower than the latest software version, is allocated to any indoor unit fails, an auxiliary upgrade rejection response is returned to any indoor unit, so that any indoor unit stops sending the auxiliary upgrade request to the central platform.
The method of fig. 3 further comprises:
and receiving the latest software version information sent when any indoor unit is successfully upgraded to the latest software version, and updating the maintained current software version information of any indoor unit to the latest software version information received from any indoor unit.
In the method shown in figure 3 of the drawings,
when the information of the indoor units to be upgraded of the second preset number is returned to any indoor unit, the upgrading states of the indoor units to be upgraded of the second preset number are further set to be upgrading;
the method for distributing the indoor units with the second preset number of current software versions lower than the latest software version to any indoor unit comprises the following steps:
if the indoor units to be upgraded do not exist in the system, wherein the current software version is lower than the latest software version and the upgrade state is not the upgrading indoor unit, determining that the indoor units to be upgraded, which are allocated to any indoor unit, fail to have the current software version lower than the latest software version and the upgrade state is not the upgrading indoor unit;
if the current software version in the system is lower than the latest software version and the upgrading state is not the number of the indoor units being upgraded is smaller than a second preset number, all the indoor units in the system, the current software version of which is lower than the latest software version and the upgrading state is not being upgraded, are taken as indoor units to be upgraded and are distributed to any indoor unit;
otherwise, finding out an indoor unit of which the current software version is lower than the latest software version and the upgrading state is not upgrading from the system, and allocating the found indoor unit as an indoor unit to be upgraded to any indoor unit.
Referring to fig. 4, fig. 4 is a flowchart of an upgrading method for a second indoor unit according to an embodiment of the present invention, and the upgrading method is applied to a system including a central platform and a plurality of indoor units, where the indoor units are connected to the central platform and any two indoor units are connected to each other, and the method is specifically applied to any indoor unit, and includes the following steps:
step 401, when any indoor unit is successfully upgraded to the latest software version or a second preset number of indoor units to be upgraded, which are distributed to any indoor unit, are successfully upgraded to the latest software version, an auxiliary upgrade request is sent to a central platform;
step 402, if the information of the indoor units to be upgraded, which is returned by the central platform and is allocated to any indoor unit, is received, wherein the current software version of the indoor units to be upgraded is lower than the second preset number of the latest software version of the indoor units to be upgraded, the indoor units to be upgraded in the second preset number are upgraded to the latest software version based on the information of the indoor units to be upgraded in the second preset number.
In the method shown in figure 4 of the drawings,
and after the indoor unit sends the auxiliary upgrading request to the central platform, if the auxiliary upgrading refusing response returned by the central platform is received, the indoor unit stops sending the auxiliary upgrading request to the central platform.
In the method shown in figure 4 of the drawings,
and when any indoor unit is successfully upgraded to the latest software version, the latest software version information of any indoor unit is sent to the central platform, so that the central platform updates the maintained current software version information of any indoor unit to the received latest software version information.
The invention also provides an indoor unit upgrading system, which is described in detail below with reference to fig. 5:
referring to fig. 5, fig. 5 is a schematic diagram of an architecture of an indoor unit upgrading system according to an embodiment of the present invention, and as shown in fig. 5, the system includes a central platform and a plurality of indoor units, where the indoor units are connected to the central platform and any two indoor units;
the central platform is used for selecting indoor units to be upgraded, the current software versions of which the first preset number are lower than the latest software version, when the indoor units need to be upgraded, and upgrading the selected indoor units to be upgraded, the first preset number, to be upgraded, to the latest software version; the system comprises a plurality of indoor units, a software version updating module and a software version updating module, wherein the software version updating module is used for receiving an auxiliary updating request sent by any indoor unit, distributing a second preset number of indoor units to be updated with current software versions lower than the latest software version to any indoor unit, and returning the second preset number of indoor units to be updated to any indoor unit;
and the indoor units are used for sending an auxiliary upgrading request to the central platform when the indoor units to be upgraded are successfully upgraded to the latest software version or the indoor units to be upgraded, which are distributed to the indoor units, in a second preset number are successfully upgraded to the latest software version, and if the indoor unit information to be upgraded, which is returned by the central platform and has the current software version lower than the second preset number of the latest software version, is received, the indoor units to be upgraded in the second preset number are upgraded to the latest software version based on the indoor unit information to be upgraded in the second preset number.
In the system shown in figure 5 of the drawings,
after receiving the auxiliary upgrade request sent by any indoor unit, the central platform returns an auxiliary upgrade rejection response to any indoor unit if the indoor unit to be upgraded, of which the current software version is lower than the latest software version, is allocated to the indoor unit fails;
and any indoor unit is used for stopping sending the auxiliary upgrading request to the central platform if an auxiliary upgrading refusal response returned by the central platform is received after the auxiliary upgrading request is sent to the central platform.
In the system shown in figure 5 of the drawings,
when any indoor unit is successfully upgraded to the latest software version, the latest software version information is sent to the central platform;
and the central platform is used for receiving the latest software version information sent by any indoor unit and updating the maintained current software version information of any indoor unit into the latest software version information received from any indoor unit.
In the system shown in figure 5 of the drawings,
when the central platform returns the information of the indoor units to be upgraded of the second preset number to any indoor unit, the central platform further sets the upgrading states of the indoor units to be upgraded of the second preset number to be upgraded to be upgrading;
the central platform is used for allocating a second preset number of indoor units to be upgraded, of which the current software versions are lower than the latest software version, to any indoor unit:
if the indoor units to be upgraded do not exist in the system, wherein the current software version is lower than the latest software version and the upgrade state is not the upgrading indoor unit, determining that the indoor units to be upgraded, which are allocated to any indoor unit, fail to have the current software version lower than the latest software version and the upgrade state is not the upgrading indoor unit;
if the current software version in the system is lower than the latest software version and the upgrading state is not the number of the indoor units being upgraded is smaller than a second preset number, all the indoor units in the system, the current software version of which is lower than the latest software version and the upgrading state is not being upgraded, are taken as indoor units to be upgraded and are distributed to any indoor unit;
otherwise, finding out an indoor unit of which the current software version is lower than the latest software version and the upgrading state is not upgrading from the system, and allocating the found indoor unit as an indoor unit to be upgraded to any indoor unit.
An embodiment of the present invention further provides a non-transitory computer-readable storage medium, which stores instructions that, when executed by a processor, cause the processor to perform the steps in the indoor unit upgrading method shown in fig. 3.
An embodiment of the present invention further provides a non-transitory computer-readable storage medium, which stores instructions that, when executed by a processor, cause the processor to perform the steps in the indoor unit upgrading method shown in fig. 4.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (13)

1. An indoor unit upgrading method is applied to a system comprising a central platform and a plurality of indoor units, and is characterized in that the indoor units are connected with the central platform and any two indoor units, and the method is applied to the central platform and comprises the following steps:
when the indoor units are determined to be upgraded, indoor units to be upgraded, the current software versions of which the first preset number are lower than the latest software version, are selected from the system, and the indoor units to be upgraded, the first preset number, which are selected, are upgraded to the latest software version;
the method comprises the steps of receiving an auxiliary upgrading request sent when any indoor unit is successfully upgraded to the latest software version or a second preset number of indoor units to be upgraded, which are distributed to any indoor unit, are successfully upgraded to the latest software version, distributing a second preset number of indoor units to be upgraded, of which the current software versions are lower than the latest software version, to any indoor unit, and returning information of the second preset number of indoor units to be upgraded to any indoor unit so that any indoor unit can upgrade the second preset number of indoor units to be upgraded to the latest software version.
2. The method of claim 1,
after receiving the auxiliary upgrade request sent by any indoor unit, if the indoor unit to be upgraded, the current software version of which is lower than the latest software version, is allocated to any indoor unit fails, an auxiliary upgrade rejection response is returned to any indoor unit, so that any indoor unit stops sending the auxiliary upgrade request to the central platform.
3. The method of claim 1, further comprising:
and receiving the latest software version information sent when any indoor unit is successfully upgraded to the latest software version, and updating the maintained current software version information of any indoor unit to the latest software version information received from any indoor unit.
4. The method of claim 3,
when the information of the indoor units to be upgraded of the second preset number is returned to any indoor unit, the upgrading states of the indoor units to be upgraded of the second preset number are further set to be upgrading;
the method for distributing the indoor units with the second preset number of current software versions lower than the latest software version to any indoor unit comprises the following steps:
if the indoor units to be upgraded do not exist in the system, wherein the current software version is lower than the latest software version and the upgrade state is not the upgrading indoor unit, determining that the indoor units to be upgraded, which are allocated to any indoor unit, fail to have the current software version lower than the latest software version and the upgrade state is not the upgrading indoor unit;
if the current software version in the system is lower than the latest software version and the upgrading state is not the number of the indoor units being upgraded is smaller than a second preset number, all the indoor units in the system, the current software version of which is lower than the latest software version and the upgrading state is not being upgraded, are taken as indoor units to be upgraded and are distributed to any indoor unit;
otherwise, finding out indoor units of which the current software versions are lower than the latest software versions and the upgrading state is not the upgrading state from the system, and distributing the found indoor units of the second preset number to any indoor unit as indoor units to be upgraded.
5. An indoor unit upgrading method is applied to a system comprising a central platform and a plurality of indoor units, and is characterized in that the indoor units are connected with the central platform and any two indoor units, and the method is applied to any indoor unit and comprises the following steps:
when any indoor unit is successfully upgraded to the latest software version or a second preset number of indoor units to be upgraded, which are distributed to any indoor unit, are successfully upgraded to the latest software version, an auxiliary upgrading request is sent to the central platform;
and if the information of the indoor units to be upgraded, which is returned by the central platform and is distributed to any indoor unit, of the second preset number is lower than the latest software version, the indoor units to be upgraded of the second preset number are upgraded to the latest software version based on the information of the indoor units to be upgraded of the second preset number.
6. The method of claim 5,
and after the indoor unit sends the auxiliary upgrading request to the central platform, if the auxiliary upgrading refusing response returned by the central platform is received, the indoor unit stops sending the auxiliary upgrading request to the central platform.
7. The method of claim 5,
and when any indoor unit is successfully upgraded to the latest software version, the latest software version information of any indoor unit is sent to the central platform, so that the central platform updates the maintained current software version information of any indoor unit to the received latest software version information.
8. An indoor unit upgrading system is characterized by comprising a central platform and a plurality of indoor units, wherein the indoor units are connected with the central platform and any two indoor units;
the central platform is used for selecting indoor units to be upgraded, the current software versions of which the first preset number are lower than the latest software version, when the indoor units need to be upgraded, and upgrading the selected indoor units to be upgraded, the first preset number, to be upgraded, to the latest software version; the system comprises a plurality of indoor units, a software version updating module and a software version updating module, wherein the software version updating module is used for receiving an auxiliary updating request sent by any indoor unit, distributing a second preset number of indoor units to be updated with current software versions lower than the latest software version to any indoor unit, and returning the second preset number of indoor units to be updated to any indoor unit;
and the indoor units are used for sending an auxiliary upgrading request to the central platform when the indoor units to be upgraded are successfully upgraded to the latest software version or the indoor units to be upgraded, which are distributed to the indoor units, in a second preset number are successfully upgraded to the latest software version, and if the indoor unit information to be upgraded, which is returned by the central platform and has the current software version lower than the second preset number of the latest software version, is received, the indoor units to be upgraded in the second preset number are upgraded to the latest software version based on the indoor unit information to be upgraded in the second preset number.
9. The system of claim 8,
after receiving the auxiliary upgrade request sent by any indoor unit, the central platform returns an auxiliary upgrade rejection response to any indoor unit if the indoor unit to be upgraded, of which the current software version is lower than the latest software version, is allocated to the indoor unit fails;
and any indoor unit is used for stopping sending the auxiliary upgrading request to the central platform if an auxiliary upgrading refusal response returned by the central platform is received after the auxiliary upgrading request is sent to the central platform.
10. The system of claim 9,
when any indoor unit is successfully upgraded to the latest software version, the latest software version information is sent to the central platform;
and the central platform is used for receiving the latest software version information sent by any indoor unit and updating the maintained current software version information of any indoor unit into the latest software version information received from any indoor unit.
11. The system of claim 10,
when the central platform returns the information of the indoor units to be upgraded of the second preset number to any indoor unit, the central platform further sets the upgrading states of the indoor units to be upgraded of the second preset number to be upgraded to be upgrading;
the central platform is used for allocating a second preset number of indoor units to be upgraded, of which the current software versions are lower than the latest software version, to any indoor unit:
if the indoor units to be upgraded do not exist in the system, wherein the current software version is lower than the latest software version and the upgrade state is not the upgrading indoor unit, determining that the indoor units to be upgraded, which are allocated to any indoor unit, fail to have the current software version lower than the latest software version and the upgrade state is not the upgrading indoor unit;
if the current software version in the system is lower than the latest software version and the upgrading state is not the number of the indoor units being upgraded is smaller than a second preset number, all the indoor units in the system, the current software version of which is lower than the latest software version and the upgrading state is not being upgraded, are taken as indoor units to be upgraded and are distributed to any indoor unit;
otherwise, finding out indoor units of which the current software versions are lower than the latest software versions and the upgrading state is not the upgrading state from the system, and distributing the found indoor units of the second preset number to any indoor unit as indoor units to be upgraded.
12. A non-transitory computer readable storage medium storing instructions that, when executed by a processor, cause the processor to perform the steps in the indoor unit upgrade method of any one of claims 1 to 4.
13. A non-transitory computer readable storage medium storing instructions that, when executed by a processor, cause the processor to perform the steps in the indoor unit upgrade method of any one of claims 5 to 7.
CN201811523552.5A 2018-12-13 2018-12-13 Indoor unit upgrading method and system Pending CN111327646A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811523552.5A CN111327646A (en) 2018-12-13 2018-12-13 Indoor unit upgrading method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811523552.5A CN111327646A (en) 2018-12-13 2018-12-13 Indoor unit upgrading method and system

Publications (1)

Publication Number Publication Date
CN111327646A true CN111327646A (en) 2020-06-23

Family

ID=71170538

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811523552.5A Pending CN111327646A (en) 2018-12-13 2018-12-13 Indoor unit upgrading method and system

Country Status (1)

Country Link
CN (1) CN111327646A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070294684A1 (en) * 2006-06-15 2007-12-20 Fujitsu Limited Computer program and apparatus for updating installed software programs
CN103516771A (en) * 2012-09-27 2014-01-15 深圳市友讯达科技发展有限公司 Method for upgrading child node operational software and information collection system
CN104581044A (en) * 2014-12-03 2015-04-29 上海伟视清数字技术有限公司 Information pushing system and method based on building interphone
CN107995044A (en) * 2017-12-18 2018-05-04 宁波三星医疗电气股份有限公司 A kind of upgrade method for power collection systems terminal
CN108259578A (en) * 2017-12-29 2018-07-06 北京元心科技有限公司 The upgrade method and device of clustered node

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070294684A1 (en) * 2006-06-15 2007-12-20 Fujitsu Limited Computer program and apparatus for updating installed software programs
CN103516771A (en) * 2012-09-27 2014-01-15 深圳市友讯达科技发展有限公司 Method for upgrading child node operational software and information collection system
CN104581044A (en) * 2014-12-03 2015-04-29 上海伟视清数字技术有限公司 Information pushing system and method based on building interphone
CN107995044A (en) * 2017-12-18 2018-05-04 宁波三星医疗电气股份有限公司 A kind of upgrade method for power collection systems terminal
CN108259578A (en) * 2017-12-29 2018-07-06 北京元心科技有限公司 The upgrade method and device of clustered node

Similar Documents

Publication Publication Date Title
KR100725066B1 (en) A system server for data communication with multiple clients and a data processing method
CN108683718B (en) Data increment synchronization method and device, electronic equipment and storage medium
CN105808274A (en) Software upgrading method and system as well as corresponding clients and servers
CN109152061B (en) Channel allocation method, device, server and storage medium
US10191909B2 (en) File system creating and deleting apparatus and driving method thereof
US20170085633A1 (en) Method and apparatus for saving cloud service traffic using peer-to-peer connection
CN111356607B (en) Controlling electric vehicle charging current
CN109976924A (en) Interface call method and device
CN112650812A (en) Data fragment storage method and device, computer equipment and storage medium
CN110417876B (en) Session method, node server in distributed system and master control equipment
CN109981737A (en) A kind of processing method of network request, device, terminal and storage medium
CN105812843A (en) Method and system of intelligent TV upgrade
CN112202602B (en) Charging pile remote upgrading system and method based on CAN bus
CN111327646A (en) Indoor unit upgrading method and system
CN110798349B (en) Configuration distribution and receiving method, equipment and computer readable storage medium
CN116743824A (en) Control method and device of centralized control equipment
CN105939384A (en) Network request processing method and system
CN106534372A (en) Terminal device and terminal management system remote communication interaction and management method
CN115550427A (en) Equipment upgrading method, device, equipment and storage medium
CN113727138A (en) HLS intranet source returning method
CN107807619A (en) Intelligent home control system and its method of work based on virtual server module
CN109787888B (en) System and method for supporting multi-device message distribution and storage medium
CN113660353A (en) Method, device, equipment and medium for managing Provisioner address based on Bluetooth Mesh
CN117319851B (en) PON-based FTTR bandwidth management method and device
CN117978566A (en) Intelligent device networking method and device, electronic device and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20200623

RJ01 Rejection of invention patent application after publication