CN111917595A - System upgrading method and device, intelligent equipment and storage medium - Google Patents

System upgrading method and device, intelligent equipment and storage medium Download PDF

Info

Publication number
CN111917595A
CN111917595A CN202010819748.XA CN202010819748A CN111917595A CN 111917595 A CN111917595 A CN 111917595A CN 202010819748 A CN202010819748 A CN 202010819748A CN 111917595 A CN111917595 A CN 111917595A
Authority
CN
China
Prior art keywords
intelligent
equipment
slave
upgrading
master
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
CN202010819748.XA
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.)
Shenzhen Oribo Technology Co Ltd
Original Assignee
Shenzhen Oribo 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 Shenzhen Oribo Technology Co Ltd filed Critical Shenzhen Oribo Technology Co Ltd
Priority to CN202010819748.XA priority Critical patent/CN111917595A/en
Publication of CN111917595A publication Critical patent/CN111917595A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Abstract

The embodiment of the application provides a system upgrading method, a system upgrading device, intelligent equipment and a storage medium, wherein the system upgrading method is applied to the intelligent equipment, and the intelligent equipment comprises master control equipment and slave control equipment; the method comprises the steps that main control equipment receives system upgrading data; the master control equipment forwards the system upgrading data to the slave control equipment; and upgrading the master control equipment and the slave control equipment according to the system upgrading data. The system upgrading method provided by the embodiment can realize batch upgrading of the plurality of intelligent devices, a user does not need to manually operate the intelligent devices one by one, and time and energy of the user are saved.

Description

System upgrading method and device, intelligent equipment and storage medium
Technical Field
The application relates to the technical field of smart home, in particular to a system upgrading method and device, smart equipment and a storage medium.
Background
Along with the progress of science and technology, smart home is also popularized in people's daily life, and more users can all select to use smart home to promote the quality of life of oneself.
The control functions of different intelligent devices in a family can be uniformly integrated in the intelligent control panel, and a user can monitor different intelligent devices through the intelligent control panel, so that the intelligent devices are conveniently used. Because an intelligent device manufacturer usually occasionally upgrades an intelligent device produced by the intelligent device manufacturer, accordingly, the intelligent control panel also needs to be upgraded and updated for the control function of the upgraded intelligent device.
However, a plurality of smart control panels are installed at the same time in a home to control a plurality of smart devices. At present, when a plurality of intelligent control panels are upgraded, a user needs to operate each intelligent control panel respectively to complete the upgrading, the operation is complex, and the time and energy of the user are wasted.
Disclosure of Invention
In view of the foregoing problems, embodiments of the present application provide a system upgrade method, apparatus, smart device, and storage medium to solve the foregoing technical problems.
The embodiment of the application is realized by adopting the following technical scheme:
in a first aspect, some embodiments of the present application provide a system upgrade method, which is applied to an intelligent device, where the intelligent device includes a master control device and a slave control device; the method comprises the steps that main control equipment receives system upgrading data; the master control equipment forwards the system upgrading data to the slave control equipment; and upgrading the master control equipment and the slave control equipment according to the system upgrading data.
In a second aspect, some embodiments of the present application further provide a control apparatus for an intelligent device, which is applied to the intelligent device, where the intelligent device includes a master control device and a slave control device, and the apparatus includes a receiving module, a forwarding module, and an upgrading module: the receiving module is used for receiving system upgrading data by the main control equipment; the forwarding module is used for the master control equipment to forward the system upgrading data to the slave control equipment; the upgrading module is used for upgrading the master control equipment and the slave control equipment according to the system upgrading data.
In a third aspect, an embodiment of the present application further provides an intelligent device, which includes a processor and a memory, where the memory stores program instructions, and the program instructions, when called by the processor, execute the system upgrade method.
In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium storing program codes, where the system upgrade method is performed when the program codes are executed by a processor.
The system upgrading method is applied to intelligent equipment, wherein the intelligent equipment comprises main control equipment and slave control equipment, and the method receives system upgrading data through the main control equipment; the system upgrading data are forwarded to the slave control equipment through the master control equipment; and then, the master control equipment and the slave control equipment are upgraded according to the system upgrading data, so that batch upgrading of the plurality of intelligent equipment is realized, a user does not need to manually operate the intelligent equipment one by one, and the time and energy of the user are saved.
These and other aspects of the present application will be more readily apparent from the following description of the embodiments.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a schematic diagram of an intelligent device control system provided in an embodiment of the present application.
Fig. 2 shows a flowchart of a system upgrade method provided in an embodiment of the present application.
Fig. 3 shows a schematic flowchart of another system upgrading method provided in the embodiment of the present application.
Fig. 4 shows a block diagram of a system upgrade apparatus according to an embodiment of the present application.
Fig. 5 shows a block diagram of modules of an intelligent device according to an embodiment of the present application.
FIG. 6 illustrates a block diagram of modules of a computer storage medium provided by an embodiment of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
Along with the progress of science and technology, smart home is also popularized in people's daily life, and more users can all select to use smart home to promote the quality of life of oneself. The control functions of different intelligent devices in a family can be uniformly integrated in the intelligent control panel, and a user can monitor different intelligent devices through the intelligent control panel, so that the intelligent devices are conveniently used. Because an intelligent device manufacturer usually occasionally upgrades an intelligent device produced by the intelligent device manufacturer, accordingly, the intelligent control panel also needs to be upgraded and updated for the control function of the upgraded intelligent device. However, a plurality of smart control panels are installed at the same time in a home to control a plurality of smart devices. At present, when a plurality of intelligent control panels are upgraded, a user needs to operate each intelligent control panel respectively to complete the upgrading, the operation is complex, and the time and energy of the user are wasted.
The inventor provides a system upgrading method, a device, intelligent equipment and a storage medium through long-term research, wherein the system upgrading method is applied to the intelligent equipment, the intelligent equipment comprises main control equipment and slave control equipment, and the method receives system upgrading data through the main control equipment; the system upgrading data are forwarded to the slave control equipment through the master control equipment; and then, the master control equipment and the slave control equipment are upgraded according to the system upgrading data, so that batch upgrading of the plurality of intelligent equipment is realized, a user does not need to manually operate the intelligent equipment one by one, and the time and energy of the user are saved.
As shown in fig. 1, fig. 1 is a schematic structural diagram of an intelligent device control system 10 according to an embodiment of the present disclosure. The intelligent device control system 10 includes a server 11, an intelligent gateway 12, a mobile terminal 13, and an intelligent device 14, where the number of the intelligent devices 14 may be multiple.
The server 11 may be a traditional server cluster, or may be a cloud server. The intelligent gateway 12 may not only have a data information summarizing function, but also have a data analysis and processing capability, and implement unified management on the intelligent device by performing centralized analysis on the acquired data. The intelligent gateway 12 is not only a data summarizing module, but also a network module, a device accessing the intelligent gateway 12 belongs to a local area network, and the intelligent gateway 12 is a bridge for data interaction between the device in the local area network and an external network. The mobile terminal 13 may be a mobile phone, a tablet, a notebook computer, etc., which is not limited in this embodiment of the application.
In the embodiment of the present application, the smart device 14 may include, but is not limited to, a smart control panel, a smart gateway, and a smart appliance. When the intelligent device 14 is an intelligent control panel, the intelligent device 14 can access the home internal network through the intelligent gateway 12, and the data transmitted by the mobile terminal 13 can be sent to the intelligent gateway through the server and then sent to the intelligent device 14 through the intelligent gateway 12. Illustratively, the data interaction between the mobile terminal 13 and the intelligent gateway 12 may be implemented based on Wi-Fi (wireless fidelity) signals, and similarly, the data interaction between the intelligent gateway 12 and the intelligent device 14 may also be implemented based on Wi-Fi signals. In this case, the above-mentioned wireless local area network signal may be understood as a Wi-Fi signal.
Similarly, the intelligent device 14 in this embodiment of the present application may also be an intelligent control panel including a router function and a gateway function, and implement local area network networking or communication between a local area network and a wide area network through mutual cooperation among a plurality of intelligent control panels.
In addition, the plurality of smart devices 14 may communicate with each other via ZigBee (ZigBee protocol) or via bluetooth.
Meanwhile, the user may send a control instruction to the intelligent gateway 12 through the mobile terminal 13, and the intelligent gateway 12 forwards the control instruction to the corresponding intelligent device 14, so as to control the intelligent device.
As shown in fig. 2, fig. 2 is a schematic flowchart illustrating a system upgrade method 100 provided in this embodiment of the application, where the system upgrade method 100 may be applied to the smart device in the smart device control system 10. In the embodiment of the present application, the smart device is only exemplified by a smart control panel. In fact, the smart device may not only be limited to a smart control panel, but also be, but not limited to, a smart gateway, a smart appliance, and the like. It is understood that the protection scope of the present application does not include any substantial improvement made on the basis of the present application.
In this embodiment, the intelligent device may include a master control device and a slave control device. The system upgrade method 100 may include the following steps S110 to S130.
Step S110: the master control device receives system upgrade data.
In this embodiment, the master control device may directly communicate with the intelligent gateway to obtain the system upgrade data sent by the server. Specifically, the server may receive an upgrade request sent by a user through the mobile terminal, and then send system upgrade data to the main control device. In some embodiments, the server may also receive an upgrade request sent by a user through the master control device, and then send system upgrade data to the master control device. In some embodiments, the server may further receive an upgrade request sent by the user through another slave device, and then send the system upgrade data to the master device. In other embodiments, the server may further receive an upgrade request automatically sent by the master control device or the slave control device, and further send the system upgrade data to the master control device.
Step S120: and the master control equipment forwards the system upgrading data to the slave control equipment.
In this embodiment, the master control device may perform local cascade connection with the slave control device, that is, the slave control device is connected to the master control device through a wired or wireless local area network, and the master control device may forward the instruction issued by the server to the slave control device through the local area network. Specifically, the master control device and the slave control device can communicate with each other through ZigBee, Bluetooth and wifi networks.
Further, the slave control device may not directly communicate with the intelligent gateway, and the master control device may forward the system upgrade data issued by the server to each slave control device through the local area network. Therefore, the slave control equipment can receive the system upgrading data without occupying an uplink channel and a downlink channel of a network, and the communication efficiency is improved.
Step S130: and upgrading the master control equipment and the slave control equipment according to the system upgrading data.
In this embodiment, after receiving the system upgrade data sent by the server, the main control device may perform system upgrade according to the system upgrade data, and complete the update. Similarly, after receiving the system upgrade data forwarded by the master control device, the slave control device may also perform system upgrade according to the system upgrade data to complete the update. Based on this, need not the user and operate intelligent device one by one and come to upgrade a plurality of intelligent device to realize the automatic batch upgrading of a plurality of intelligent device, save user's time energy.
The system upgrading method provided by the embodiment of the application is applied to intelligent equipment, the intelligent equipment comprises a main control device and at least two slave control devices, and the method receives system upgrading data through the main control device; the system upgrading data are forwarded to the slave control equipment through the master control equipment; and then, the master control equipment and the slave control equipment are upgraded according to the system upgrading data, so that batch upgrading of the plurality of intelligent equipment is realized, a user does not need to manually operate the intelligent equipment one by one, and the time and energy of the user are saved.
As shown in fig. 3, fig. 3 is a schematic flowchart illustrating another system upgrading method 200 provided in this embodiment, where the system upgrading method 200 may also be applied to the smart device in the smart device control system 10. Further, the system upgrade method 200 may include the following steps S210 to S320.
Step S210: device information of a plurality of smart devices is obtained.
The device information may include, but is not limited to, a target version to which the smart device needs to be upgraded, a device identification, and the like. In this embodiment, each intelligent device may obtain device information of a plurality of intelligent devices from the intelligent gateway. In some embodiments, the smart device may not obtain the device information through the gateway, but may obtain the device information mutually among a plurality of smart devices. It is understood that each smart device may correspond to a piece of device information.
Step S220: and determining a plurality of target intelligent devices which need to be upgraded to the same target version in the plurality of intelligent devices according to the device information.
In multiple smart devices, the target version of the upgrade required for each smart device may be different, and even some smart devices may not need to be upgraded. In this embodiment, according to the device information of the smart device, the smart device may determine, from among the plurality of smart devices, a plurality of target smart devices that need to be upgraded to the same target version. Specifically, the smart devices with the same target version may be determined as the target smart devices according to the device identifiers.
For example, in a plurality of smart devices (smart device 1, smart device 2, smart device 3, smart device 4, smart device 5, and smart device 6), if the target versions to be upgraded for the smart device 1, the smart device 2, and the smart device 3 are the same, the smart device 1, the smart device 2, and the smart device 3 may be determined as a first group of target smart devices; meanwhile, if the target versions to be upgraded of the intelligent device 4, the intelligent device 5 and the intelligent device 6 are the same, the intelligent device 4, the intelligent device 5 and the intelligent device 6 may also be determined as a second group of target intelligent devices.
Further, in the plurality of target smart devices, a master device and a slave device may be determined. Specifically, in each group of target smart devices, a master device and a slave device may be determined. In this embodiment, the master device and the slave device may be implemented through the following steps S230 to S240.
Step S230: and acquiring master control identifications of the intelligent devices.
The master identity may identify a category of the smart device. Specifically, the intelligent device is identified as a master control device.
As an embodiment, the master identity may be generated according to a transmission rate of the smart device. Assuming that a group of target intelligent devices includes a first intelligent device, a second intelligent device and a third intelligent device, the first intelligent device may acquire a transmission rate between itself and the intelligent gateway, and may also acquire transmission rates between the second intelligent device and the intelligent gateway and between the third intelligent device and the intelligent gateway, respectively; similarly, the second intelligent device may obtain the transmission rate between itself and the intelligent gateway, and may also obtain the transmission rates between the first intelligent device and the intelligent gateway, and between the third intelligent device and the intelligent gateway, respectively; similarly, the third intelligent device may obtain the transmission rate between itself and the intelligent gateway, and may also obtain the transmission rates between the first intelligent device and the intelligent gateway, and between the second intelligent device and the intelligent gateway, respectively. Among the plurality of intelligent devices, the intelligent device with the fastest transmission rate can generate the master control identifier. In some embodiments, the transmission rate with each intelligent device may also be obtained through the gateway, and then the master identity is generated, where the master identity is used to mark the intelligent device with the fastest transmission rate.
As another embodiment, the master identity may be generated based on the signal strength of the smart device. Assuming that a group of target intelligent devices includes a first intelligent device, a second intelligent device and a third intelligent device, the first intelligent device may acquire signal strength between itself and the intelligent gateway, and may also acquire signal strength between the second intelligent device and the intelligent gateway and between the third intelligent device and the intelligent gateway respectively; similarly, the second intelligent device can acquire the signal strength between the second intelligent device and the intelligent gateway, and simultaneously can also acquire the signal strength between the first intelligent device and the intelligent gateway and the signal strength between the third intelligent device and the intelligent gateway respectively; similarly, the third intelligent device may acquire the signal strength between itself and the intelligent gateway, and may also acquire the signal strength between the first intelligent device and the intelligent gateway and the signal strength between the second intelligent device and the intelligent gateway, respectively. Among the plurality of intelligent devices, the intelligent device with the fastest signal strength can generate the master control identifier. In some embodiments, the gateway may also obtain the signal strength between the gateway and each smart device, and then generate a master identifier, where the master identifier is used to mark the smart device with the strongest signal strength.
As another implementation, multiple network parameters of each smart device may be considered comprehensively, and a master identifier may be generated according to the result of the comprehensive consideration, where the master identifier is used to identify the smart device with the optimal result. Specifically, the various network parameters may include, but are not limited to, signal strength, transmission rate, communication delay time, and packet loss rate of the smart device. And weighting all or part of the multiple network parameters by a certain weight to further obtain the network score of each intelligent device, wherein the weight of each network parameter can be preset, and the master control identification can be the intelligent device with the highest marked network score.
Step S240: and determining the master control equipment and the slave control equipment according to the master control identification.
In this embodiment, the master identifier is used to identify the playing network optimization of the corresponding smart device. According to the master control device, the intelligent device corresponding to the master control identifier may be determined as the master control device. And determining the rest intelligent devices except the master control device in the plurality of target intelligent devices as slave control devices.
Further, when the smart device is determined to be the master device, the following steps may be continuously performed.
Step S250: the master control device receives system upgrade data.
In this embodiment, the step S250 may specifically refer to the step S120, and is not described again.
Further, the number of the slave control devices may be at least two, and after receiving the system upgrade data, the master control device may forward the system upgrade data to the slave control devices in the same group, where a forwarding priority of at least two slave control devices may be determined according to a distance parameter between each slave control device and the master control device; the transfer priority can be specifically realized by the following steps S260 to S270.
Step S260: the master device obtains the relative distance to each slave device.
In this embodiment, the master device may obtain the relative distance between itself and each slave device. Specifically, the master device may acquire a relative distance to each slave device through the distance sensor. In some embodiments, the location information of each slave control device may be obtained by locating each slave control device, and the distance between the master control device and each slave control device may be obtained according to the location information.
In some embodiments, the relative distance between the master control device and each slave control device may be obtained through the intelligent gateway, and then the obtained information is sent to the master control device through the intelligent gateway, so that the master control device may obtain the relative distance between itself and each slave control device.
Step S270: and sequencing the relative distances to determine the forwarding priority of at least two slave control devices.
In this embodiment, the master device may rank the distances between itself and each slave device, so as to determine the forwarding priority of each slave device. Specifically, the smaller the distance between the slave control device and the master control device is, the higher the forwarding priority of the slave control device is; the larger the distance between the slave device and the master device, the lower the forwarding priority of the slave device.
Step S280: and forwarding the system upgrading data to the slave control equipment according to the forwarding priority.
In this embodiment, after the forwarding priority is determined, the system upgrade data may be forwarded to the slave device according to the forwarding priority. The higher the forwarding priority of the slave control equipment is, the more the master control equipment forwards the system upgrading data to the slave control equipment; the lower the forwarding priority of the slave control equipment is, the more the master control equipment forwards the system upgrade data to the slave control equipment, so that network congestion caused by simultaneous data transmission is avoided, and the transmission efficiency is improved.
Further, after the master control device forwards the system upgrade data to the slave control device, the master control device and the slave control device may perform system upgrade according to the system upgrade data, specifically, may perform upgrade through the following steps S290 to S310.
Step S290: whether the intelligent device has idle time currently is detected.
The intelligent device may include a master device and a slave device. Each smart device may detect whether it has idle time itself, respectively. And the idle time is used for representing the upgrading time corresponding to the system upgrading data. Detecting whether the intelligent equipment has idle time currently, namely detecting whether the intelligent equipment can be upgraded in a complete time currently, if yes, executing step S300, and upgrading the intelligent equipment according to the system upgrading data; if not, step S310 may be executed, and the smart device performs upgrading according to the system upgrading data at the next idle time.
For example, assuming that the upgrade time required for upgrading the data of the system is T, it is detected whether the intelligent device can maintain the idle state within the following time T, actually, the time for the intelligent device to maintain the idle state needs to be greater than or equal to the required upgrade time, and if the intelligent device can maintain the idle state within the following time T, it indicates that the intelligent device currently has the idle time; if the intelligent device cannot keep the idle state within the later time T, the intelligent device does not have the idle time currently.
Further, detecting whether the intelligent device has idle time currently can be achieved by detecting whether the current working state of the intelligent device is idle and whether reserved work exists within preset time. Wherein, the preset time is the upgrading time corresponding to the system upgrading data. It will be appreciated that the upgrade time corresponding to system upgrade data for upgrading to a different version may be different, and thus the preset time may actually vary according to different system upgrade data.
Specifically, whether the current working state of the smart device is idle is detected, that is, whether the smart device is currently executing a task is detected, and in some embodiments, it may also be understood that whether a user is currently operating the smart device or the smart device is controlled by the smart device. If the intelligent device is not currently executing the task, the current working state of the intelligent device can be considered to be idle.
Further, whether the intelligent device has the reserved work within the preset time is detected, that is, a reserved work task closest to the current time can be searched in a reserved task list of the intelligent device, and then a time interval between the reservation starting time of the closest reserved work task and the current time is acquired, and if the time interval is greater than the preset time, the intelligent device can be considered to have no reserved work within the preset time. For example, if the current time is 9:00, the upgrade time required by system upgrade data is 30 minutes (that is, the preset time is 30 minutes), and if it is detected that the reservation time of the latest reserved work task of the intelligent device is 9: 20-9: 40, and the time interval between the latest reserved work task and the current time is 20 minutes and less than the preset time, it indicates that the intelligent device has reserved work within the preset time; if the fact that the reservation time of the latest reserved work task of the intelligent equipment is 9: 40-10: 00 and the time interval from the current time to the current time is 40 minutes and is larger than the preset time is detected, the intelligent equipment does not have reserved work within the preset time.
When the current working state of the intelligent device is idle and no reservation work exists within the preset time, it can be shown that the intelligent device currently has idle time, and at this time, the intelligent device can complete the upgrade according to the system upgrade data within the complete time. Thus, step S300 may be performed.
When any one of the conditions that the current working state of the intelligent device is idle and no reserved work is available within the preset time is not met, it can be shown that the intelligent device does not have idle time, and the intelligent device cannot be upgraded according to the system upgrading data within the complete time. Thus, step S310 may be performed.
Step S290: and the intelligent equipment is upgraded according to the system upgrading data.
In this embodiment, if the master control device and the slave control device detect that the master control device and the slave control device have idle time, both the master control device and the slave control device may perform upgrading according to the system upgrading data.
Step S300: and the intelligent equipment is upgraded according to the system upgrading data in the next idle time.
In this embodiment, when the master control device and the slave control device detect that they do not have idle time currently, the master control device and the slave control device may perform upgrading according to the system upgrade data at the next idle time.
Specifically, the interval time between each reserved work task can be searched in the reserved task list of the intelligent device, and the system upgrade data is forwarded to the slave control device in the latest time interval in which the interval time is greater than the preset time. It will be appreciated that the most recent time interval greater than the preset time is also the next idle time as described above.
For example, a list of scheduled tasks for a smart device may be as shown in table 1 below.
Reserving work tasks Appointment time
Reservation task 1 9:20-9:30
Reservation task 2 10:50-11:00
Reservation task 3 11:40-12:00
Reservation task 4 12:40-13:00
TABLE 1
Assume that the current time is 9:00 and the upgrade time required for upgrading the data is 30 minutes (i.e., the preset time is 30 minutes). The interval time between the reservation task 1 and the reservation task 2 is 20 minutes and less than the preset time, the interval time between the reservation task 2 and the reservation task 3 is 40 minutes and more than the preset time, and the interval time between the reservation task 3 and the reservation task 4 is 40 minutes and more than the preset time; therefore, the interval time closest to the current time is the time interval between the reserved task 2 and the reserved task 3, namely 11: 00-11: 40; therefore, the intelligent equipment can be upgraded between 11:00 and 11:40 according to the system upgrading data.
The system upgrading method provided by the embodiment of the application is applied to intelligent equipment, and equipment information of a plurality of intelligent equipment is obtained; determining a plurality of target intelligent devices needing to be upgraded to the same target version in the plurality of intelligent devices according to the device information; acquiring master control identifications of the intelligent devices; then, determining master control equipment and slave control equipment according to the master control identification; receiving system upgrading data through the main control equipment; acquiring the relative distance between each slave control device and the master control device; then sequencing the relative distances to determine the forwarding priority of at least two slave control devices; according to the forwarding priority, forwarding the system upgrading data to the slave control equipment; detecting whether the intelligent equipment has idle time at present; if the intelligent equipment has idle time currently, the intelligent equipment is upgraded according to the system upgrading data; if the intelligent equipment does not have the idle time currently, the intelligent equipment is upgraded according to the system upgrading data in the next idle time, so that batch upgrading of the intelligent equipment is achieved, the intelligent equipment is guaranteed to have complete upgrading time in the upgrading process, the upgrading process is prevented from being interrupted, the system upgrading method does not need a user to manually operate the intelligent equipment one by one, and time and energy of the user can be saved.
As shown in fig. 4, fig. 4 shows a system upgrade apparatus 300 provided in this embodiment of the present application, which is applied to an intelligent device, where the intelligent device includes a master device and at least two slave devices. The system upgrading apparatus 300 includes a receiving module 310, a forwarding module 320, and an upgrading module 330. The receiving module 310 is configured to receive system upgrade data; the forwarding module 320 is configured to forward the system upgrade data to the slave device; the upgrade module 330 is configured to upgrade the master control device and the slave control device according to the system upgrade data.
In some embodiments, the forwarding module 320 includes a distance acquisition unit 321, a priority determination unit 322, and a forwarding unit 323. The distance acquiring unit 321 is configured to acquire a relative distance from each slave device; the priority determining unit 322 is configured to rank the relative distances to determine forwarding priorities of at least two slave devices; the forwarding unit 323 is configured to forward the system upgrade data to the slave device according to the forwarding priority.
In some embodiments, the upgrade module 330 includes an idle detection unit 331, a first upgrade unit 332, and a second upgrade unit 333. The idle detection unit 331 is configured to detect whether the smart device currently has idle time; the first upgrade unit 332 is configured to upgrade according to the system upgrade data; the second upgrade unit 333 is used to upgrade according to the system upgrade data at the next idle time.
In some embodiments, the system upgrade apparatus 300 further includes a first obtaining module 340, a targeting module 350, a second obtaining module 360, a device determining module 370, and an idle detection module 380. The first obtaining module 340 is configured to obtain device information of a plurality of smart devices; the target determining module 350 is configured to determine, according to the device information, a plurality of target smart devices that need to be upgraded to the same target version among the plurality of smart devices; the second obtaining module 360 is configured to obtain master control identifiers of a plurality of intelligent devices; the device determining module 370 is configured to determine a master device and a slave device according to the master identifier.
The system upgrading device provided by the embodiment is applied to a plurality of intelligent devices, wherein the plurality of intelligent devices comprise a main control device and at least two slave control devices, and the device receives system upgrading data through the main control device; the system upgrading data are forwarded to the slave control equipment through the master control equipment; and then, the master control equipment and the slave control equipment are upgraded according to the system upgrading data, so that batch upgrading of the plurality of intelligent equipment is realized, a user does not need to manually operate the intelligent equipment one by one, and the time and energy of the user are saved.
As shown in fig. 5, fig. 5 illustrates a block diagram of a smart device 400 according to an embodiment of the present application, where the smart device 400 includes a processor 410 and a memory 420, and the memory 420 stores program instructions, and the program instructions implement the system upgrade method described above when executed by the processor 410.
Processor 410 may include one or more processing cores. The processor 410 interfaces with various components within the overall battery management system using various interfaces and lines to perform various functions of the battery management system and to process data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 420 and invoking data stored in the memory 420. Alternatively, the processor 410 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 410 may integrate one or more of a Central Processing Unit (CPU) 410, a Graphics Processing Unit (GPU) 410, a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing display content; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 410, but may be implemented by a communication chip.
The Memory 420 may include a Random Access Memory (RAM) 420 or a Read-Only Memory (Read-Only Memory) 420. The memory 420 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 420 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing various method embodiments described below, and the like. The storage data area can also store data (such as a phone book, audio and video data, chatting record data) created by the electronic device map in use and the like.
As shown in fig. 6, an embodiment of the present application further provides a computer-readable storage medium 500, where computer program instructions 510 are stored in the computer-readable storage medium 500, and the computer program instructions 510 can be called by a processor to execute the method described in the above embodiment.
The computer-readable storage medium may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read only memory), an EPROM, a hard disk, or a ROM. Alternatively, the computer-readable storage medium includes a non-volatile computer-readable storage medium. The computer-readable storage medium 600 has storage space for program code for performing any of the method steps described above. The program code can be read from or written to one or more computer program products. The program code may be compressed, for example, in a suitable form.
Although the present application has been described with reference to the preferred embodiments, it is to be understood that the present application is not limited to the disclosed embodiments, but rather, the present application is intended to cover various modifications, equivalents and alternatives falling within the spirit and scope of the present application.

Claims (10)

1. The system upgrading method is applied to intelligent equipment, wherein the intelligent equipment comprises master control equipment and slave control equipment; the method comprises the following steps:
the master control equipment receives system upgrading data;
the master control equipment forwards the system upgrading data to the slave control equipment; and
and upgrading the master control equipment and the slave control equipment according to the system upgrading data.
2. The system upgrade method according to claim 1, wherein the number of the slave devices is at least two, and the master device forwards the system upgrade data to the slave devices, including:
the master control device determines the forwarding priority of at least two slave control devices according to the distance parameter between the master control device and each slave control device; and
and forwarding the system upgrading data to the slave control equipment according to the forwarding priority.
3. The system upgrade method according to claim 2, wherein the determining, by the master device, the forwarding priorities of at least two slave devices according to the distance parameter between the master device and each slave device includes:
the master control device acquires the relative distance to each slave control device; and
and sequencing the relative distances to determine the forwarding priority of at least two slave control devices.
4. The system upgrade method according to claim 2, wherein the upgrading the master device and the slave device according to the system upgrade data includes:
detecting whether the intelligent equipment has idle time currently or not, wherein the idle time is used for representing upgrading time corresponding to the system upgrading data;
if so, upgrading the intelligent equipment according to the system upgrading data;
if not, the intelligent equipment is upgraded according to the system upgrading data in the next idle time.
5. The system upgrade method of claim 4, wherein said detecting whether the smart device currently has idle time comprises:
detecting whether the current working state of the intelligent equipment is idle or not and whether reserved work exists within preset time or not, wherein the preset time is upgrading time corresponding to the system upgrading data;
if the current working state is idle and no reservation work exists within the preset time, determining that the intelligent equipment has the idle time;
and if at least one of the current action state is idle and no preset work is not met in the preset time, determining that the intelligent device does not have the idle time.
6. The system upgrade method according to any one of claims 1 to 5, wherein before the master device receives the system upgrade data, the method further comprises:
acquiring equipment information of a plurality of intelligent equipment;
determining a plurality of target intelligent devices needing to be upgraded to the same target version in the plurality of intelligent devices according to the device information; and
determining the master device and the slave device in the plurality of smart devices.
7. The system upgrade method of claim 6, wherein the determining the master device and the slave device among the plurality of smart devices comprises:
acquiring master control identifications of the intelligent devices;
determining the master control equipment and the slave control equipment according to the master control identification; the master control device is an intelligent device carrying a master control identifier in the plurality of intelligent devices, and the slave control devices are the rest of the plurality of intelligent devices except the master control device.
8. The utility model provides a system upgrading device which characterized in that is applied to intelligent equipment, intelligent equipment includes master control equipment and slave control equipment, includes:
the receiving module is used for receiving system upgrading data by the main control equipment;
the forwarding module is used for the master control equipment to forward the system upgrading data to the slave control equipment; and
and the upgrading module is used for upgrading the master control equipment and the slave control equipment according to the system upgrading data.
9. An intelligent device comprising a processor and a memory, the memory storing computer program instructions which, when invoked by the processor, perform the system upgrade method of any one of claims 1 to 7.
10. A computer-readable storage medium storing program code, wherein the program code when executed by a processor performs the system upgrade method of any one of claims 1 to 7.
CN202010819748.XA 2020-08-14 2020-08-14 System upgrading method and device, intelligent equipment and storage medium Pending CN111917595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010819748.XA CN111917595A (en) 2020-08-14 2020-08-14 System upgrading method and device, intelligent equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010819748.XA CN111917595A (en) 2020-08-14 2020-08-14 System upgrading method and device, intelligent equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111917595A true CN111917595A (en) 2020-11-10

Family

ID=73284046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010819748.XA Pending CN111917595A (en) 2020-08-14 2020-08-14 System upgrading method and device, intelligent equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111917595A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615204A (en) * 2022-02-17 2022-06-10 三一汽车起重机械有限公司 Over-the-air upgrading method and system and crane
CN116088912A (en) * 2023-04-11 2023-05-09 瑞纳智能设备股份有限公司 Application system, method and computer readable storage medium for upgrading user terminal equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170163787A1 (en) * 2015-12-07 2017-06-08 Le Holdings (Beijing) Co., Ltd. Method and electronic device for upgrading or downgrading system
CN107104836A (en) * 2017-05-04 2017-08-29 深圳市欧瑞博电子有限公司 The firmware upgrade method and device of Zigbee equipment
CN107248936A (en) * 2017-06-19 2017-10-13 深圳市盛路物联通讯技术有限公司 A kind of method and forward node by adjacent node control terminal device upgrade
CN107682197A (en) * 2017-10-17 2018-02-09 锐捷网络股份有限公司 Device updating method, the network equipment and server
WO2018053963A1 (en) * 2016-09-20 2018-03-29 深圳Tcl数字技术有限公司 Method and apparatus for upgrading system of smart television
CN109417691A (en) * 2018-09-17 2019-03-01 深圳市汇顶科技股份有限公司 A kind of blue tooth cluster online upgrading method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170163787A1 (en) * 2015-12-07 2017-06-08 Le Holdings (Beijing) Co., Ltd. Method and electronic device for upgrading or downgrading system
WO2018053963A1 (en) * 2016-09-20 2018-03-29 深圳Tcl数字技术有限公司 Method and apparatus for upgrading system of smart television
CN107104836A (en) * 2017-05-04 2017-08-29 深圳市欧瑞博电子有限公司 The firmware upgrade method and device of Zigbee equipment
CN107248936A (en) * 2017-06-19 2017-10-13 深圳市盛路物联通讯技术有限公司 A kind of method and forward node by adjacent node control terminal device upgrade
CN107682197A (en) * 2017-10-17 2018-02-09 锐捷网络股份有限公司 Device updating method, the network equipment and server
CN109417691A (en) * 2018-09-17 2019-03-01 深圳市汇顶科技股份有限公司 A kind of blue tooth cluster online upgrading method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114615204A (en) * 2022-02-17 2022-06-10 三一汽车起重机械有限公司 Over-the-air upgrading method and system and crane
CN116088912A (en) * 2023-04-11 2023-05-09 瑞纳智能设备股份有限公司 Application system, method and computer readable storage medium for upgrading user terminal equipment
CN116088912B (en) * 2023-04-11 2023-06-27 瑞纳智能设备股份有限公司 Application system, method and computer readable storage medium for upgrading user terminal equipment

Similar Documents

Publication Publication Date Title
US8973005B2 (en) Information processing apparatus, information processing method, recording medium and information processing system
EP2822236B1 (en) Network bandwidth distribution method and terminal
CN107547745B (en) Resource allocation method and related product
CN109450747B (en) Method and device for awakening smart home equipment and computer storage medium
CN111917595A (en) System upgrading method and device, intelligent equipment and storage medium
CN105337822B (en) A kind of selection method and relevant device of main playback equipment
CN108901077A (en) Antenna accounting setting method, device, user equipment and storage medium
KR100931260B1 (en) Method and system for seamless server access and service connectivity for supporting user terminal's mobility on sbc environments
CN112714426B (en) Intelligent upgrading method and device of Bluetooth equipment, electronic equipment and medium
CN110677462A (en) Access processing method, system, device and storage medium for multi-block chain network
WO2022037176A1 (en) Inter-core communication method and apparatus, electronic assembly, and electronic device
CN104243266A (en) Method and device for network access
CN105392086A (en) Information processing method and play equipment
CN109871498A (en) Back end interface response method, device, electronic equipment and storage medium
CN112671572B (en) Method and device for intelligent equipment network distribution, storage medium and electronic device
CN112600897B (en) Multi-user access control method and device for intelligent equipment
CN106851685B (en) Method and system for controlling bandwidth of mobile terminal
US8855693B2 (en) Method and apparatus for controlling wireless devices
CN112968793A (en) Equipment upgrading method, device, equipment and storage medium based on Internet of things
CN112039736A (en) Intelligent equipment upgrading method and device, intelligent home system and electronic equipment
CN108055660B (en) Method for transmitting data in network channel and Internet of things terminal
CN113068161A (en) Bluetooth low-energy-consumption communication method, device and system and storage medium
CN115457955A (en) Distributed awakening decision method and device, storage medium and electronic device
JP2007221522A (en) Polling device, terminal device, polling method and program
CN113703334A (en) Intelligent scene updating method and device

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