CN113064612A - System program upgrading method, system and storage medium for electric bed with communication unit - Google Patents

System program upgrading method, system and storage medium for electric bed with communication unit Download PDF

Info

Publication number
CN113064612A
CN113064612A CN202110294575.9A CN202110294575A CN113064612A CN 113064612 A CN113064612 A CN 113064612A CN 202110294575 A CN202110294575 A CN 202110294575A CN 113064612 A CN113064612 A CN 113064612A
Authority
CN
China
Prior art keywords
communication unit
upgrade
electric bed
file
upgrade file
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
CN202110294575.9A
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.)
Keeson Technology Corp Ltd
Original Assignee
Keeson Technology Corp 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 Keeson Technology Corp Ltd filed Critical Keeson Technology Corp Ltd
Priority to CN202110294575.9A priority Critical patent/CN113064612A/en
Publication of CN113064612A publication Critical patent/CN113064612A/en
Priority to PCT/CN2022/082050 priority patent/WO2022194301A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Landscapes

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

Abstract

The invention provides a system program upgrading method of an electric bed with a communication unit, which comprises the steps that the communication unit is configured to receive an inquiry command from an intelligent device, and correspondingly, a first upgrading file aiming at the communication unit and/or a second upgrading file aiming at a main controller are sequentially received from the intelligent device; verifying the received first upgrading file and the second upgrading file; and after the first upgrade file or the second upgrade file is verified, storing the first upgrade file or the second upgrade file into upgrade file storage areas respectively allocated to the first upgrade file or the second upgrade file. The invention can conveniently realize remote upgrade of all hardware unit firmware of the electric bed, does not need field operation of professional staff, and only updates the product firmware version prestored in the server, so that the mobile phone of a user can remind whether to upgrade, and the user confirms by one key, and all the upgrades are automatically completed. The application also discloses a quota corresponding system of the method.

Description

System program upgrading method, system and storage medium for electric bed with communication unit
Technical Field
The application relates to a method and a system for updating programs of an electric bed system, in particular to a method and a system for remotely updating firmware programs of the electric bed system.
Background
An electric bed generally includes a main controller, sensors provided at certain structural positions of the electric bed and communicating with the main controller to transmit information of the electric bed, such as posture information, to the main controller, and a motor assembly communicating with the main controller to adjust the posture of the electric bed. The electric bed may further include a communication unit communicatively connected to the main controller to receive instructions and data from an external device, such as a smart terminal, a remote controller, and the like. The communication unit may be a wireless communication unit, which may be, for example, an infrared unit, a unit based on the bluetooth protocol, a unit based on the WIFI protocol, or a unit based on the 3g,4g,5g wireless communication protocol. Can establish wireless communication through wireless communication unit and intelligent control equipment, for example cell-phone, panel computer, indoor intelligent control terminal, smart television, even other intelligent equipment etc. and connect to realize the control to the beddo.
However, the control program of the main controller of the electric bed and the embedded control programs (also called firmware) of the sensor unit, the communication unit and other units are all cured in advance when the electric bed leaves the factory, and if the product needs to be upgraded because of the functions, a company needs to send a professional worker, use a professional tool, or even disassemble the device to upgrade the firmware, so that after-sale maintenance is very troublesome, and the cost is very high.
A common upgrading method in the prior art is shown in fig. 1, and includes using an intelligent terminal, typically a PC, for example, a notebook computer, to connect a main controller and/or a sensor of an electric bed through a flat cable by using a professional upgrading device, so as to upgrade firmware of components such as a control program and/or the sensor in the main controller. In the upgrading step, shells of a main control box or a sensor and the like are generally required to be opened, a flat cable is used for connecting an interface of an object to be upgraded with a professional upgrading tool, the professional upgrading tool is connected with a PC through a USB, and professional upgrading software of the PC is opened to upgrade the product.
However, this upgrading method is very inconvenient, and besides the non-professional personnel being unable to operate, even professional personnel need to visit the site in person to upgrade the electric bed, which causes huge workload for later maintenance of the electric bed and causes huge cost.
With the development of electric beds, electric beds having a bluetooth communication unit have appeared, which can communicate with any smart device having a bluetooth function, and receive a control instruction transmitted through a control program installed on the smart device. By replacing the traditional infrared-based remote controller with the Bluetooth communication unit, the control distance of the electric bed is prolonged. However, in this mode, the problem of upgrading the electric bed is still not solved, and the user of the electric bed is still unable to upgrade the control program of the electric bed and the firmware of each unit of each electric bed at will.
Disclosure of Invention
In order to solve the above problems, the present application proposes a method and a system for remotely upgrading a control program of an electric bed and firmware of each unit.
To this end, one aspect of the present application provides a system program upgrade method for an electric bed having a communication unit through which the electric bed is communicatively connected with a smart device that can control the electric bed, wherein the communication unit is configured to: receiving an inquiry command from the smart device and performing a one-by-one inquiry of hardware units of the electric bed including the communication unit and a main controller of the electric bed in response to the inquiry command to acquire version information of the hardware units; sending the version information to the intelligent equipment; sequentially receiving a first upgrade file for the communication unit and/or a second upgrade file for the main controller from the smart device, wherein the first upgrade file and the second upgrade file are downloaded from a server by the smart device; verifying the received first upgrading file and the second upgrading file; and after the first upgrade file or the second upgrade file is verified, storing the first upgrade file or the second upgrade file into upgrade file storage areas respectively allocated to the first upgrade file or the second upgrade file.
Another aspect of the present application provides a system program upgrade method for an electric bed having a communication unit, the electric bed being communicatively connected to a smart device that can control the electric bed through the communication unit, wherein the smart device is configured to: sending an inquiry command to the communication unit to start the inquiry of the hardware units of the electric bed one by one to acquire the version information of the hardware units, wherein the hardware units of the electric bed comprise the communication unit and a main controller connected with the communication unit; receiving the version information; determining whether an available upgrade file exists in the hardware unit based on the version information and compatibility information of the upgradable file obtained from a server communicatively connected to the smart device; requesting the server to download an upgrade file needing to be upgraded; and sequentially transmitting the downloaded upgrade files to the communication unit and receiving a response that the verification is completed; and after the verification of each upgrade file is finished, storing each upgrade file in a storage area respectively allocated to the upgrade file.
Yet another aspect of the present application provides a system program upgrade method for an electric bed having a communication unit, the electric bed being communicatively connected to a smart device that can control the electric bed through the communication unit, wherein the smart device is further communicatively connected to a server, wherein the server is configured to: providing the latest software version information set of all hardware units of the electric bed to the intelligent device after establishing communication connection with the intelligent device; providing an upgrade file corresponding to the software version number included in the downloading request to the intelligent equipment based on the downloading request of the intelligent equipment; wherein the download request is generated by the smart device based on the version information of the hardware unit of the electric bed obtained from the communication unit and the judgment of the latest software version information set.
Yet another aspect of the present application provides a system program upgrade method for an electric bed having a communication unit, the electric bed being communicatively connected to a smart device that can control the electric bed through the communication unit, the smart device being communicatively connected to a server, wherein: the communication unit is configured to: receiving an inquiry command from the smart device and performing a one-by-one inquiry of a hardware unit including the communication unit and a main controller of the electric bed in response to the inquiry command to acquire version information of the communication unit and the main controller; sending the version information to the intelligent equipment; sequentially receiving a first upgrade file corresponding to the communication unit and/or a second upgrade file corresponding to the main controller, which are judged to be available, from the smart device, wherein the first upgrade file and the second upgrade file are downloaded from a server by the smart device; verifying the received first upgrading file and the second upgrading file; after the first upgrade file or the second upgrade file is verified, saving the first upgrade file or the second upgrade file to an upgrade file storage area allocated to the first upgrade file or the second upgrade file;
the smart device is configured to: sending an inquiry command to the communication unit to initiate a one-by-one inquiry of a hardware unit including the communication unit and a main controller connected to the communication unit to acquire version information of the communication unit and the main controller; receiving the version information; determining whether an available upgrade file exists in the hardware unit based on the version information and compatibility information of the upgradable file obtained from a server communicatively connected to the smart device; requesting the server to download an upgrade file needing to be upgraded; sequentially transmitting the downloaded upgrade files to the communication unit and receiving a response of completion of verification;
and the server is configured to: providing the latest software version information set to the intelligent device after establishing communication connection with the intelligent device; providing an upgrade file corresponding to the software version number included in the downloading request to the intelligent equipment based on the downloading request of the intelligent equipment; wherein the download request is generated for the smart device based on the version information obtained from the communication unit and the determination of the set of latest software version information.
Corresponding systems and storage media are also disclosed.
The method and system of the present application have the following advantages over conventional wiring: the invention can conveniently realize remote upgrade of all hardware unit firmware of the electric bed, does not need field operation of professional staff, and only updates the product firmware version prestored in the server, so that the mobile phone of a user can remind whether to upgrade, and the user confirms by one key, and all the upgrades are automatically completed.
Drawings
Fig. 1 is a schematic diagram of the principle of program upgrade of an electric bed system according to the prior art;
fig. 2 is a schematic diagram of the electric bed system program upgrade principle according to an embodiment of the present application;
fig. 3 is a schematic diagram of the electric bed system program upgrade principle according to an embodiment of the present application;
FIG. 4 is an interaction flow diagram of portions of the present application.
Detailed Description
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel, concurrently, or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
The term "server" in this context refers to an intelligent electronic device that can perform predetermined processes such as numerical calculation and/or logic calculation by executing predetermined programs or instructions, and may include a processor and a memory, wherein the predetermined processes are performed by the processor executing program instructions prestored in the memory, or the predetermined processes are performed by hardware such as ASIC, FPGA, DSP, or a combination thereof.
Wherein the user equipment includes but is not limited to smart phones, PDAs, PCs, notebook computers, etc.; the network device includes, but is not limited to, a single network server, a server group consisting of a plurality of network servers, or a Cloud Computing (Cloud Computing) based Cloud consisting of a large number of computers or network servers, wherein Cloud Computing is one of distributed Computing, a super virtual computer consisting of a collection of loosely coupled computers. The computer equipment can be independently operated to realize the application, and can also be accessed into a network to realize the application through the interactive operation with other computer equipment in the network. The network in which the computer device is located includes, but is not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, and the like.
It should be noted that the user equipment, the network device, the network, etc. are only examples, and other existing or future computer devices or networks may also be included in the scope of the present application, if applicable, and are included by reference.
The methodologies discussed hereinafter, some of which are illustrated by flow diagrams, may be implemented by hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to perform the necessary tasks may be stored in a machine or computer readable medium such as a storage medium. The processor(s) may perform the necessary tasks.
Specific structural and functional details disclosed herein are merely representative and are provided for purposes of describing example embodiments of the present application. This application may, however, be embodied in many alternate forms and should not be construed as limited to only the embodiments set forth herein.
It will be understood that, although the terms first, second, etc. may be used herein to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, a first element may be termed a second element, and, similarly, a second element may be termed a first element, without departing from the scope of example embodiments. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of example embodiments. As used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used herein, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be noted that, in some alternative implementations, the functions/acts noted may occur out of the order noted in the figures. For example, two figures shown in succession may, in fact, be executed substantially concurrently, or the figures may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
The present invention is described in further detail below with reference to the attached drawing figures.
Fig. 2 shows a schematic diagram of a control unit of an electric bed according to an embodiment of the present application, and hardware units of the control unit include a bluetooth communication unit 110, a master controller 120 connected with the bluetooth communication unit through a communication line 150, a lift motor control unit directly connected with the master controller 120, a massager control unit, a bus interface unit 140, and an extension unit communicatively connected with the master controller 120 through a general interface unit. Wherein the main control box 1 is composed of a Bluetooth communication unit 120, a main controller 120 connected with the Bluetooth communication unit through a communication line 150, and a bus interface unit 140 communicatively connected with the main controller 120 through a communication line 151. The main control box is communicatively connected to the expansion units 31, 32 via a bus 141 and a splitter 142. The bluetooth communication unit 110 may be connected to the main controller 120 through a duplex serial communication line, the bus interface unit 140 is connected to the bus 141, and the bus 141 finally connects all the extension units 31, 32, etc. to the main control box 10 through the splitter 142. The main controller may here be a processor based on any architecture, for example a processor based on the ARM architecture, the bluetooth communication unit may be a bluetooth 2.0, 3.0, 4.0, 5.0 compatible communication unit, and the extension units 31, 32 may be one or more of a sleep sensor unit, a light strip controller unit, a voice controller unit, an aromatherapy controller unit, a heat blanket controller unit.
Fig. 3 shows a schematic diagram of the physical architecture of an electric bed system software automatic upgrade system according to another embodiment of the present application. According to fig. 3, the bluetooth communication unit 110 is communicatively connected to a control program P201 for the electric bed running on the smart device 200 running a control program, which may be software, an applet, or an Application (APP), via a bluetooth communication protocol, and the control program P301 is configured to be communicatively connected to a remotely deployed server 300, for example, via internet communication, based on one of a plurality of network protocols such as WIFI, TCP/IP, 3G,4G,5 communication protocols, etc. In this embodiment, the main control box 10 of the electric bed further includes a lifting motor control unit 121 for controlling the lifting motor 21, and a massager control unit 122 for controlling the massager 22, wherein the massager control unit 122 for controlling the massager 22 is directly connected to the main controller 120. A memory 130 may also be included, communicatively coupled to the master controller 120 via a communication line. The memory provides additional storage space for the master controller 120, such as storage space for upgrade files for the master controller 120.
The control program P201 of the electric bed is configured to establish a communication connection with the server 300 upon start-up of the control program, step S21, and send a request to the control program P301 of the server 300 for obtaining a latest software version information set of the current electric bed, the information set including a version number of the latest software and hardware version information compatible with the version number of each latest software, step S22. The reason why it is necessary to provide the hardware version information compatible with each latest software version number is that the smart device can control a plurality of electric beds, and the hardware version of each electric bed may be different.
Thereafter or simultaneously, an inquiry command for starting the bluetooth control unit to collect its own version information, collecting the version information directly to other hardware units, for example, collecting the version information to the main controller 120, and optionally collecting the version information of each extension unit 31, 32, 33, 34 by the main controller 120 to obtain the version information of all hardware units is sent to the bluetooth control unit 110, step S23. Similarly, the version information includes current software version information as well as hardware version information. The version information of each hardware unit may include identification information of the hardware unit, for example, information identifying that the hardware unit is a master controller, a bluetooth communication unit, and any one of the extension units, so that the smart device control software P201 performs comparison according to the identification information.
The smart device control software P201 is configured to wait and receive the latest software version information set from the server and the version information from the bluetooth communication unit 110, step S24; after receiving the information set and the version information, comparing the information set and the version information for each hardware unit, wherein whether the current software version information is equal to the version information in the latest software version information set is judged, and step S251; if the same, no available upgrade is prompted, if different, the hardware information part is compared to determine whether the hardware version information is included in the hardware compatible information in the latest software version information set, if yes, the hardware unit is prompted to have an upgradable upgrade file, if no, no available upgrade is prompted, and step S2521. For example, the latest version of software provided by the server of the light strip controller unit is VF3.5, which supports hardware version VH2.0 or more, but the current software version VF2.3 of the light strip controller is hardware version VH1.5, so that the software is judged as unable to be upgraded or not to be upgraded because the hardware version is too low. It should be understood that in the comparison, the hardware version information may be compared first, then the software version information may be compared, and then a prompt indicating that an upgrade is available may or may not be generated according to similar logic based on the comparison result.
The prompt of the available upgrade may be displayed on the display screen of the smart device by the smart device control software P201 and set an operable object for the smart device to receive an operation of the user on whether to download the available upgrade, for example, a selection button may be provided, when the user selects to download the available upgrade through the input unit of the smart device, step S2522, the control software P201 sends a request for downloading an upgrade file corresponding to the available upgrade to the control software P301 of the server, step S2523, if there are multiple available upgrades, the multiple available upgrades may be simultaneously prompted, an operable object for the multiple available upgrades is set, an operation of the user on whether to download the multiple available upgrades is received, and a request for downloading the upgrade file is sent to the server correspondingly.
Optionally, after determining that a certain hardware unit has an available upgrade, the control software P201 does not prompt that an available upgrade exists, but directly requests the server control software P301 to download an upgrade file corresponding to the available upgrade, or does not prompt that an available upgrade exists through the control software P201, but directly requests the server control software P301 to download an upgrade file corresponding to all available upgrades after the judgment on whether all the hardware units have available upgrades is completed, step S253.
Thereafter, the smart device control software P201 waits for the start of the download process and receives the upgrade file of the available upgrade, for example, after the start of the download process, step S26. When it is determined that all upgrade files, for example, all upgrade files available or selected upgrade files available, are downloaded, step S27, transmission to the bluetooth communication unit is started, step S28.
The upgrade program P101 operated by the bluetooth communication unit 110 as described above collects the current version information of each hardware unit upon receiving the inquiry command, step S11, and provides it to the smart device control program P201 after the collection is completed, step S12. The collection according to the inquiry command may be performed only for the bluetooth communication unit, or only for the bluetooth communication unit 110 and the main controller 120, optionally may be performed for each extension unit by the main controller. For example, the collection of the version information of the bluetooth communication unit comprises collecting the current firmware version information and collecting the hardware version information; the collection of the master controller 120 includes collecting firmware version information thereof and collecting hardware version information thereof. Optionally, the information acquisition of the drive unit controlled by the master controller may be realized by the master controller. For example: the main controller is used for collecting version information of the control unit 121 of the lifting motor 21 of the electric bed and collecting version information of the control unit 122 of the massage unit 22 of the electric bed.
In some embodiments, in response to the inquiry command, the version information of the bluetooth communication unit 110, the main controller 120, and the extension units 31, 32, 33, 34 may be inquired at the same process.
The bluetooth communication unit 110 then waits for the upgrade file of the available upgrade to occur for the smart device, and may end the process if the upgrade file of the available upgrade is not received for a period of time.
The upgrade file available for upgrade is sent from the smart device 120 to the bluetooth communication unit 110 in the form of a data packet, where the start data packet may include a transmission start flag, and the end data packet includes a transmission end flag, step 13, where the bluetooth communication unit 110 verifies each received data packet, and optionally verifies the upgrade file as a whole again after receiving the end data packet, step S131.
After receiving an upgrade file, the deployment logic of the upgrade file is as follows:
the bluetooth communication unit 110 determines whether the received upgrade file is an upgrade file for the own bluetooth firmware, step S14;
if yes, after receiving the upgrade file, the bluetooth communication unit 110 automatically completes the firmware upgrade of itself S141;
the bluetooth communication unit 110 determines that the received upgrade file is not the bluetooth firmware upgrade of the bluetooth communication unit, and then the bluetooth communication unit transmits the upgrade file to the main controller unit S142 through the duplex serial communication line, and the main controller unit deploys the upgrade file.
After receiving an upgrade file, the main controller unit judges whether the upgrade file is the upgrade file of the main controller unit or the extension unit according to the flag information of the upgrade file, step S151, if the upgrade file is the upgrade file of the main controller unit, automatically completing the program upgrade of the main controller unit, and step S152; if the upgrade file is the upgrade file of the extension unit, the firmware is sent to the corresponding extension unit through the bus, and the corresponding extension unit automatically completes the program upgrade of the extension unit, step S153.
The deployment may be performed after each upgrade file is received or after all upgrade files have been transmitted.
The upgrading file of the main controller and the upgrading file storage area of the Bluetooth communication unit are respectively positioned in the designated area of the memory in communication connection with the main controller, and the main controller gives a signal allowing storage.
After all the upgrade files are received, the corresponding upgrade files are sent to the devices needing to be upgraded one by one. Or after receiving each upgrade file, the corresponding upgrade file is sent to the device needing to be upgraded.
In some embodiments, after receiving all the upgrade files, the main controller sends the corresponding upgrade files to the devices to be upgraded one by one. In some embodiments, after receiving each upgrade file, the main controller sends the corresponding upgrade file to the extension unit that needs to be upgraded.
In some embodiments, if the upgrade file corresponds to the bluetooth communication unit, storing the upgrade file in an application storage area of the bluetooth communication unit; if the upgrade file corresponds to the main controller, storing the upgrade file in an application storage area of a memory which is in communication connection with the main controller; and if the upgrading file corresponds to the extension unit, storing the upgrading file into an application storage area of the extension unit.
The application storage area is separated from the storage area of the initial firmware program of each hardware unit. This arrangement allows the hardware unit to be restored to the original firmware program if required. So as to avoid the unavailability of hardware units caused by problems in the upgrading process.
The application storage area may be located in the memory 130 communicatively connected to the main controller for the main controller and, for example, the bluetooth communication unit, and different storage areas may be allocated to the hardware units in the memory 130.
In the embodiment of the application, after each hardware unit receives the upgrade file of the device sent by the main control box through the bus, the upgrade file is stored in the upgrade application area of the program, after the storage is finished and the verification is correct, the program jumps to the upgrade application area, and the upgraded program is run.
Each hardware unit of the electric bed described in the present application may have a firmware version solidified when leaving a factory, and after installing a firmware program for upgrading, a user may restore the device to the solidified version when leaving the factory through the APP of the intelligent device 200; if the user wants to restore the factory application version, a command for restoring the factory program of a certain hardware unit can be sent through the mobile phone APP, and after the corresponding hardware unit receives the command, the application program can modify the application starting address into a factory firmware address, so that the effect of skipping from the upgrading application area to the factory application area is achieved, and the factory program is operated.
The server side control software P301 is configured to: the request of the smart device is received after establishing a communication connection with the smart device, step S311, and the latest software version information set is provided to the smart device, step S312. The latest software version information set comprises the version number of the latest software and hardware version information corresponding to the version number of each latest software. Thereafter, the server waits and provides the upgrade file corresponding to the software version number included in the download request to the intelligent device based on the download request of the intelligent device, step S32; wherein the download request is generated for the smart device based on the version information obtained from the communication unit and the determination of the set of latest software version information.
In an embodiment of the present application, each of the upgrade files may include a firmware program for upgrade and a boot program for upgrade, where the boot program for upgrade and the firmware program for upgrade are stored separately, and the boot program for upgrade is stored in a read area of an initial boot area of each of the hardware units so that the hardware units enter the boot program for upgrade after initial boot to call the firmware program for upgrade. Preferably, the firmware program for upgrade and the boot program for upgrade are stored in separate storage spaces. In other embodiments, such as those in which an existing firmware program of a hardware unit is replaced with a firmware program for upgrade, the upgrade files each include only the firmware program for upgrade.
In the above embodiment, the bluetooth communication unit communicates based on a bluetooth communication protocol, and may also replace the bluetooth communication unit with another communication unit, for example, a communication unit based on an NFC near field communication protocol, a bluetooth communication protocol including bluetooth 2.0, 3.0, 4.0, 5.0, a Zigbee protocol, and a local area network communication protocol including WIFI is adopted; the server 300 is remotely deployed with the intelligent device 200, and communication is realized through one or more combinations of various mobile network communication protocols based on 3G/4G/5G, TCP/IP protocol and Internet protocol.
In the embodiment described above, the latest software version information set is pushed by the server 300 after establishing a communication connection with the server 300; the latest set of software version information may also be requested from the server 300 after establishing a communication connection with the smart device 200.
In some embodiments, the upgrade file is transmitted in the form of a data packet, and the data packet includes information on whether the data packet is the last data packet. The server may comprise a file server.
In some embodiments, verifying each received upgrade file includes verifying each received data packet, storing it in a temporary storage area after judging correct transmission, and providing a response to the intelligent device to request sending of a next data packet, and requesting resending if the received data packet is incorrect; when the received data packet is judged to be the last data packet, the data packet is verified, the data packet is stored without errors, then the whole upgrade file is verified, the data packet is stored in the temporary storage area without errors, then a response request is sent to the intelligent device control program P201 to send the next upgrade file, and the verified upgrade file is stored in the corresponding storage area after the upgrade file is verified.
In some embodiments, the latest set of software version information from the server is received after establishing a communication connection with the server. Wherein the server may be configured to push the latest set of software version information after establishing a communication connection with the server; or configured to request the set of updated software version information from the server upon establishing a communication connection with the smart device.
In the above embodiment, the firmware upgrade control program P101 of the electric bed end may be deployed in the bluetooth communication unit, the firmware upgrade control program P201 of the smart device end may be deployed in the smart device end, and the firmware upgrade control program P301 of the server may be deployed in the server, which may interact with each other to implement various functions of the method and system described in this application. The three may also be stored in corresponding memory areas in the form of computer program code, which is executed when necessary to implement the various functions of the method and system described herein. The firmware upgrade control program P101, the firmware upgrade control program P201 of the smart device side, and the firmware upgrade control program P301 of the server may also be regarded as components of an overall firmware upgrade control program, and jointly constitute the firmware upgrade control program.
If the smart device actively discovers or is notified to a server, for example, a collected control software such as APP, that a beddo company has a new firmware update of a beddo product deployed on the cloud server, the smart device prompts a client whether to upgrade firmware according to software and hardware version information of each hardware unit of the beddo obtained from the beddo, where the hardware unit of the firmware may be bluetooth communication unit firmware, main controller unit firmware, or other extension unit firmware. After the user clicks to confirm the upgrade, the APP on the mobile phone downloads the firmware from the server to the mobile phone.
It should be understood by those skilled in the art that the above-mentioned function options and their corresponding firmware update applications of the electric bed are only examples for the purpose of explaining the present application, and should not be construed as any limitation to the present application, and other existing or future function options and their corresponding live broadcast applications, as applicable to the present application, should be included in the scope of patent protection of the present application.
It should be noted that the processing portions of the present application may be implemented in software and/or a combination of software and hardware, for example, using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Program instructions which invoke the methods of the present application may be stored on a fixed or removable recording medium and/or transmitted via a data stream on a broadcast or other signal-bearing medium and/or stored within a working memory of a computer device operating in accordance with the program instructions. An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
Specifically, the present application may be implemented by the following examples:
1. a system program upgrading method for an electric bed having a communication unit, the electric bed being in communication connection with a smart device that can control the electric bed through the communication unit, the method comprising: the communication unit is configured to:
receiving an inquiry command from the smart device and performing a one-by-one inquiry of hardware units of the electric bed including the communication unit and a main controller of the electric bed in response to the inquiry command to acquire version information of the hardware units;
sending the version information to the intelligent equipment;
sequentially receiving a first upgrade file for the communication unit and/or a second upgrade file for the main controller from the smart device, wherein the first upgrade file and the second upgrade file are downloaded from a server by the smart device;
verifying the received first upgrading file and the second upgrading file; and
and after the first upgrade file or the second upgrade file is verified, storing the first upgrade file or the second upgrade file into upgrade file storage areas respectively allocated to the first upgrade file or the second upgrade file.
2. A system program upgrading method of an electric bed with a communication unit according to example 1, characterized in that: and the upgrading file storage areas of the first upgrading file and the second upgrading file are respectively positioned in the appointed area of a memory which is in communication connection with the main controller.
3. A system program upgrading method of an electric bed with a communication unit according to example 1, characterized in that: further comprising in response to the query command, performing an inquiry to at least one expansion unit communicatively coupled to the host controller to obtain version information for the expansion units, and sequentially receiving from the smart device an expansion unit upgrade file for at least one of the expansion units when it is determined that the expansion unit is upgradable, wherein the expansion unit upgrade file is downloaded by the smart device from a server; verifying the received upgrade file of each expansion unit; and storing the upgrading file of the extension unit into the corresponding storage area of the extension unit after the upgrading file of the extension unit is verified.
4. A system program upgrading method of an electric bed with a communication unit according to example 3, characterized in that: and responding to the query command, and querying the version information of the communication unit, the main controller and the extension unit in the same process.
5. A system program upgrading method of an electric bed with a communication unit according to example 3, characterized in that: wherein each of the first upgrade file, the second upgrade file, and the extension upgrade file includes a firmware program for upgrade and a boot program for upgrade.
6. A system program upgrading method of an electric bed with a communication unit according to example 5, characterized in that: the firmware program for upgrade and the boot program for upgrade are stored in separate storage spaces.
7. A system program upgrading method of an electric bed with a communication unit according to example 3, characterized in that: wherein each of the first upgrade file, the second upgrade file, and the extension upgrade file includes only firmware programs for upgrade.
8. A system program upgrading method of an electric bed with a communication unit according to example 1, characterized in that: the version information includes current software version information and hardware version information for the hardware unit.
9. A system program upgrading method of an electric bed with a communication unit according to example 1, characterized in that: the communication unit is used for communication based on a first communication protocol, the server is remotely deployed with the intelligent equipment and is connected with the intelligent equipment in a communication mode based on a second communication protocol; the first communication protocol comprises an NFC (near field communication) near field communication protocol, a Bluetooth communication protocol, a Zigbee protocol and a local area network communication protocol comprising WIFI (wireless fidelity); the second communication lower protocol comprises one or more of various mobile network communication protocols based on 3G/4G/5G, TCP/IP protocol and Internet protocol.
10. A system program upgrading method of an electric bed with a communication unit according to example 3, characterized in that: the first upgrade file, the second upgrade file, and/or the extension upgrade file sequentially received from the smart device are available upgrade files selected by a user at the smart device.
11. A system program upgrading method of an electric bed with a communication unit according to example 3, characterized in that: the first upgrade file, the second upgrade file and/or the extension upgrade file received from the smart device sequentially are all available upgrade files.
12. A system program upgrading method of an electric bed with a communication unit according to example 3, characterized in that: and the first upgrading file, the second upgrading file and/or the extension upgrading file are/is transmitted in the form of data packets, and the data packets comprise information whether the data packets are the last data packets or not.
13. A system program upgrading method of an electric bed with a communication unit according to example 3, characterized in that: verifying each received first upgrade file, second upgrade file and/or extension upgrade file, including verifying each received data packet, storing the data packet in a temporary storage area after judging correct transmission, providing a response to the intelligent device to request to send the next data packet, and requesting to resend the data packet if the received data packet is wrong; and when the received data packet is judged to be the last data packet, verifying the data packet, storing the data packet without errors, then verifying the whole upgrade file, storing the upgrade file into the temporary storage area without errors, sending a response request to the intelligent equipment control program to send the next upgrade file, and storing the verified upgrade file in the corresponding storage area after the upgrade file is verified.
14. A system program upgrading method of an electric bed with a communication unit according to example 1, characterized in that: when the first upgrade file is judged, saving the first upgrade file into an application storage area of the communication unit; and when the upgrade file is judged not to be the first upgrade file, storing the received upgrade file into an application storage area of a memory which is in communication connection with the main controller.
15. A system program upgrading method of an electric bed with a communication unit according to example 3, characterized in that: and after receiving all the upgrading files, sending the corresponding upgrading files to the equipment needing upgrading one by one.
16. A system program upgrading method of an electric bed with a communication unit according to example 3, characterized in that: and after receiving each upgrade file, sending the corresponding upgrade file to the equipment needing to be upgraded.
17. A system program upgrading method for an electric bed having a communication unit, the electric bed being in communication connection with a smart device that can control the electric bed through the communication unit, the method comprising:
the smart device is configured to:
sending an inquiry command to the communication unit to start the inquiry of the hardware units of the electric bed one by one to acquire the version information of the hardware units, wherein the hardware units of the electric bed comprise the communication unit and a main controller connected with the communication unit;
receiving the version information;
determining whether an available upgrade file exists in the hardware unit based on the version information and compatibility information of the upgradable file obtained from a server communicatively connected to the smart device;
requesting the server to download an upgrade file needing to be upgraded; and
sequentially transmitting the downloaded upgrade files to the communication unit and receiving a response of completion of verification; and after the verification of each upgrade file is finished, storing each upgrade file in a storage area respectively allocated to the upgrade file.
18. A system program upgrading method of an electric bed with a communication unit according to example 17, characterized in that: sending a query command to the communication unit to start the inquiry of expansion units which are in communication connection with the main controller one by one to acquire the version information of the expansion units and receiving the version information of the expansion units; whether an available upgrade file exists in each extension unit is judged based on the version information of the extension unit and compatibility information of an extension unit upgradable file obtained from a server in communication connection with the intelligent equipment; downloading an upgrading file of an extension unit to be upgraded from the server; sequentially sending the upgrade files of the extension units to the communication unit and receiving a response of the verification completion; and after the verification of the upgrading file of each extension unit is finished, storing the upgrading file of each extension unit in a storage area of each extension unit, which is allocated to the upgrading file of each extension unit.
19. The system program upgrading method of an electric bed with a communication unit according to example 17 or 18, characterized in that: the version information includes hardware version information and current software version information of the hardware unit corresponding to the version information.
20. A system program upgrading method of an electric bed with a communication unit according to example 17, characterized in that: the query command includes a query of version information of the communication unit, the main controller, and the extension unit.
21. The system program upgrading method of an electric bed with a communication unit according to example 17 or 18, characterized in that: wherein each of the upgrade files includes a firmware program for upgrade and a boot program for upgrade.
22. The system program upgrading method of an electric bed with a communication unit according to example 17 or 18, characterized in that: the firmware program for upgrade and the boot program for upgrade are stored in separate storage spaces.
23. The system program upgrading method of an electric bed with a communication unit according to example 17 or 18, characterized in that: wherein each upgrade file includes only firmware programs for upgrade.
24. A system program upgrading method of an electric bed with a communication unit according to example 17, characterized in that: the communication unit is used for communication based on a first communication protocol, the server is remotely deployed with the intelligent equipment and is connected with the intelligent equipment in a communication mode based on a second communication protocol; the first communication protocol comprises an NFC near field communication protocol, a Bluetooth communication protocol, a Zigbee protocol and a local area network communication protocol comprising WIFI; the second communication lower protocol comprises one or more of various mobile network communication protocols based on 3G/4G/5G, TCP/IP protocol and Internet protocol.
25. The system program upgrading method of an electric bed with a communication unit according to example 17 or 18, characterized in that: the upgrade file is transmitted in the form of a data packet, and the data packet contains information on whether the upgrade file is the last data packet.
26. A system program upgrading method of an electric bed with a communication unit according to example 17, characterized in that: receiving the latest software version information set from the server after establishing a communication connection with the server.
27. The system program upgrading method of an electric bed with a communication unit according to example 17 or 18, characterized in that: pushing the latest software version information set by the server after establishing communication connection with the server; or requesting the latest software version information set from the server after establishing communication connection with the intelligent equipment.
28. The system program upgrading method of an electric bed with a communication unit according to example 17 or 18, characterized in that: the latest software version information set comprises the version number of the latest software and hardware version information corresponding to the version number of each latest software.
29. The system program upgrading method of an electric bed with a communication unit according to example 17 or 18, characterized in that: the intelligent device is configured to compare hardware version information corresponding to the version number of each piece of latest software with hardware version information of the electric bed received from the communication unit to judge whether the hardware version information belongs to the hardware version information corresponding to the version number of the latest software; comparing the version number of the latest software with the current software version information received from the communication unit to judge whether the version number of the latest software is the same as the current software version information; and determining the upgrading file corresponding to the version information of which the hardware version information is judged to belong to the hardware version information corresponding to the version number of the latest software and the software version information is different from the version number of the latest software as an available upgrading file.
30. The system program upgrading method of an electric bed with a communication unit according to example 17 or 18, characterized in that: the upgrade files to be upgraded are available upgrade files selected at the intelligent device.
31. A system program upgrading method of an electric bed with a communication unit according to example 30, characterized in that: the intelligent equipment provides a plurality of operation objects corresponding to the available upgrade files for a user respectively, and generates a request of downloading the available upgrade files corresponding to the server according to the operation of the user on the operation objects.
32. The system program upgrading method of an electric bed with a communication unit according to example 17 or 18, characterized in that: the upgrade files needing to be upgraded are all available upgrade files. Wherein the smart device directly generates a download request to the server based on all of the upgrade files determined to be available.
33. A system program upgrade method for an electric bed having a communication unit, the electric bed being communicatively connected to a smart device capable of controlling the electric bed via the communication unit, wherein the smart device is further communicatively connected to a server, the method comprising: the server is configured to: after establishing communication connection with the intelligent equipment, providing the latest software version information set of all hardware units of the electric bed to the intelligent equipment; providing an upgrade file corresponding to the software version number included in the downloading request to the intelligent equipment based on the downloading request of the intelligent equipment; wherein the download request is generated by the smart device based on the version information of the hardware unit of the electric bed obtained from the communication unit and the judgment of the latest software version information set.
34. A system program upgrading method of an electric bed with a communication unit according to example 31, characterized in that: the latest software version information set comprises the version number of the latest software and hardware version information corresponding to the version number of each latest software.
35. A system program upgrading method of an electric bed with a communication unit according to example 31, characterized in that: wherein each of the upgrade files includes a firmware program for upgrade and a boot program for upgrade.
36. A system program upgrading method of an electric bed with a communication unit according to example 31, characterized in that: the method is characterized in that: wherein each upgrade file includes only firmware programs for upgrade.
37. A system program upgrading method of an electric bed with a communication unit according to example 31, characterized in that: the communication unit is used for communication based on a first communication protocol, the server is remotely deployed with the intelligent equipment and is connected with the intelligent equipment in a communication mode based on a second communication protocol; the first communication protocol comprises an NFC (near field communication) near field communication protocol, a Bluetooth communication protocol, a Zigbee protocol and a local area network communication protocol comprising WIFI (wireless fidelity); the second communication lower protocol comprises one or more of various mobile network communication protocols based on 3G/4G/5G, TCP/IP protocol and Internet protocol.
38. A system program upgrading method of an electric bed with a communication unit according to example 31, characterized in that: pushing the latest software version information set by the server after establishing communication connection with the server; or requesting the latest software version information set from the server after establishing communication connection with the intelligent equipment.
39. A system program upgrading method of an electric bed with a communication unit according to example 31, characterized in that: the intelligent equipment provides a plurality of operation objects corresponding to the available upgrading files for the user respectively, and generates a request of downloading the available upgrading files corresponding to the server according to the operation of the user on the operation objects.
40. A system program upgrading method of an electric bed with a communication unit according to example 31, characterized in that: the intelligent device directly generates a download request to the server based on all the upgrade files determined to be available.
41. A system program upgrading method of an electric bed with a communication unit according to example 31, characterized in that: the upgrade file is transmitted in the form of a data packet, and the data packet contains information on whether the upgrade file is the last data packet.
42. A system program upgrading method of an electric bed with a communication unit according to example 31, characterized in that: the server is a file server.
43. A system program upgrade method for an electric bed having a communication unit, the electric bed being communicatively connected to a smart device capable of controlling the electric bed via the communication unit, the smart device being communicatively connected to a server, the system program upgrade method comprising: the communication unit is configured to:
receiving an inquiry command from the smart device and performing a one-by-one inquiry of a hardware unit including the communication unit and a main controller of the electric bed in response to the inquiry command to acquire version information of the communication unit and the main controller; sending the version information to the intelligent equipment; sequentially receiving a first upgrade file corresponding to the communication unit and/or a second upgrade file corresponding to the main controller, which are judged to be available, from the smart device, wherein the first upgrade file and the second upgrade file are downloaded from a server by the smart device; verifying the received first upgrading file and the second upgrading file; after the first upgrade file or the second upgrade file is verified, saving the first upgrade file or the second upgrade file to an upgrade file storage area allocated to the first upgrade file or the second upgrade file;
the smart device is configured to: sending an inquiry command to the communication unit to initiate a one-by-one inquiry of a hardware unit including the communication unit and a main controller connected to the communication unit to acquire version information of the communication unit and the main controller; receiving the version information; determining whether an available upgrade file exists in the hardware unit based on the version information and compatibility information of the upgradable file obtained from a server communicatively connected to the smart device; requesting the server to download an upgrade file needing to be upgraded; sequentially transmitting the downloaded upgrade files to the communication unit and receiving a response of completion of verification;
and the server is configured to: providing the latest software version information set to the intelligent device after establishing communication connection with the intelligent device; providing an upgrade file corresponding to the software version number included in the downloading request to the intelligent equipment based on the downloading request of the intelligent equipment; wherein the download request is generated for the smart device based on the version information obtained from the communication unit and the determination of the set of latest software version information.
44. A firmware upgrade system for an electric bed having a communication unit configured to execute computer executable code to implement the method of any one of examples 1 to 43.
45. A storage medium storing computer-executable code that, when executed, may implement the method of any of examples 1 to 43.

Claims (45)

1. A system program upgrading method for an electric bed with a communication unit, wherein the electric bed is in communication connection with an intelligent device capable of controlling the electric bed through the communication unit,
the method is characterized in that: the communication unit is configured to:
receiving an inquiry command from the smart device and performing a one-by-one inquiry of hardware units of the electric bed including the communication unit and a main controller of the electric bed in response to the inquiry command to acquire version information of the hardware units;
sending the version information to the intelligent equipment;
sequentially receiving a first upgrade file for the communication unit and/or a second upgrade file for the main controller from the smart device, wherein the first upgrade file and the second upgrade file are downloaded from a server by the smart device;
verifying the received first upgrading file and the second upgrading file; and
and after the first upgrade file or the second upgrade file is verified, storing the first upgrade file or the second upgrade file into upgrade file storage areas respectively allocated to the first upgrade file or the second upgrade file.
2. A system program upgrading method of an electric bed with a communication unit according to claim 1, characterized in that: and the upgrading file storage areas of the first upgrading file and the second upgrading file are respectively positioned in the appointed area of a memory which is in communication connection with the main controller.
3. A system program upgrading method of an electric bed with a communication unit according to claim 1, characterized in that: further comprising in response to the query command, performing an inquiry to at least one expansion unit communicatively coupled to the host controller to obtain version information for the expansion units, and sequentially receiving from the smart device an expansion unit upgrade file for at least one of the expansion units when it is determined that the expansion unit is upgradable, wherein the expansion unit upgrade file is downloaded by the smart device from a server; verifying the received upgrade file of each expansion unit; and storing the upgrading file of the extension unit into the corresponding storage area of the extension unit after the upgrading file of the extension unit is verified.
4. A system program upgrading method of an electric bed with a communication unit according to claim 3, characterized in that: and responding to the query command, and querying the version information of the communication unit, the main controller and the extension unit in the same process.
5. A system program upgrading method of an electric bed with a communication unit according to claim 3, characterized in that: wherein each of the first upgrade file, the second upgrade file, and the extension upgrade file includes a firmware program for upgrade and a boot program for upgrade.
6. The system program upgrading method of an electric bed with a communication unit according to claim 5, characterized in that: the firmware program for upgrade and the boot program for upgrade are stored in separate storage spaces.
7. A system program upgrading method of an electric bed with a communication unit according to claim 3, characterized in that: wherein each of the first upgrade file, the second upgrade file, and the extension upgrade file includes only firmware programs for upgrade.
8. A system program upgrading method of an electric bed with a communication unit according to claim 1, characterized in that: the version information includes current software version information and hardware version information for the hardware unit.
9. A system program upgrading method of an electric bed with a communication unit according to claim 1, characterized in that: the communication unit is used for communication based on a first communication protocol, the server is remotely deployed with the intelligent equipment and is connected with the intelligent equipment in a communication mode based on a second communication protocol; the first communication protocol comprises an NFC (near field communication) near field communication protocol, a Bluetooth communication protocol, a Zigbee protocol and a local area network communication protocol comprising WIFI (wireless fidelity); the second communication lower protocol comprises one or more of various mobile network communication protocols based on 3G/4G/5G, TCP/IP protocol and Internet protocol.
10. A system program upgrading method of an electric bed with a communication unit according to claim 3, characterized in that: the first upgrade file, the second upgrade file, and/or the extension upgrade file sequentially received from the smart device are available upgrade files selected by a user at the smart device.
11. A system program upgrading method of an electric bed with a communication unit according to claim 3, characterized in that: the first upgrade file, the second upgrade file and/or the extension upgrade file received from the smart device sequentially are all available upgrade files.
12. A system program upgrading method of an electric bed with a communication unit according to claim 3, characterized in that: and the first upgrading file, the second upgrading file and/or the extension upgrading file are/is transmitted in the form of data packets, and the data packets comprise information whether the data packets are the last data packets or not.
13. A system program upgrading method of an electric bed with a communication unit according to claim 3, characterized in that: verifying each received first upgrade file, second upgrade file and/or extension upgrade file, including verifying each received data packet, storing the data packet in a temporary storage area after judging correct transmission, providing a response to the intelligent device to request to send the next data packet, and requesting to resend the data packet if the received data packet is wrong; and when the received data packet is judged to be the last data packet, verifying the data packet, storing the data packet without errors, then verifying the whole upgrade file, storing the upgrade file into the temporary storage area without errors, sending a response request to the intelligent equipment control program to send the next upgrade file, and storing the verified upgrade file in the corresponding storage area after the upgrade file is verified.
14. A system program upgrading method of an electric bed with a communication unit according to claim 1, characterized in that: when the first upgrade file is judged, saving the first upgrade file into an application storage area of the communication unit; and when the upgrade file is judged not to be the first upgrade file, storing the received upgrade file into an application storage area of a memory which is in communication connection with the main controller.
15. A system program upgrading method of an electric bed with a communication unit according to claim 3, characterized in that: and after receiving all the upgrading files, sending the corresponding upgrading files to the equipment needing upgrading one by one.
16. A system program upgrading method of an electric bed with a communication unit according to claim 3, characterized in that: and after receiving each upgrade file, sending the corresponding upgrade file to the equipment needing to be upgraded.
17. A system program upgrading method for an electric bed with a communication unit, wherein the electric bed is in communication connection with an intelligent device capable of controlling the electric bed through the communication unit,
the method is characterized in that:
the smart device is configured to:
sending an inquiry command to the communication unit to start the inquiry of the hardware units of the electric bed one by one to acquire the version information of the hardware units, wherein the hardware units of the electric bed comprise the communication unit and a main controller connected with the communication unit;
receiving the version information;
determining whether an available upgrade file exists in the hardware unit based on the version information and compatibility information of the upgradable file obtained from a server communicatively connected to the smart device;
requesting the server to download an upgrade file needing to be upgraded; and
sequentially transmitting the downloaded upgrade files to the communication unit and receiving a response of completion of verification; and after the verification of each upgrade file is finished, storing each upgrade file in a storage area respectively allocated to the upgrade file.
18. The system program upgrading method of an electric bed with a communication unit according to claim 17, characterized in that: sending a query command to the communication unit to start the inquiry of expansion units which are in communication connection with the main controller one by one to acquire the version information of the expansion units and receiving the version information of the expansion units; whether an available upgrade file exists in each extension unit is judged based on the version information of the extension unit and compatibility information of an extension unit upgradable file obtained from a server in communication connection with the intelligent equipment; downloading an upgrading file of an extension unit to be upgraded from the server; sequentially sending the upgrade files of the extension units to the communication unit and receiving a response of the verification completion; and after the verification of the upgrading file of each extension unit is finished, storing the upgrading file of each extension unit in a storage area of each extension unit, which is allocated to the upgrading file of each extension unit.
19. A system program upgrading method for an electric bed with a communication unit according to claim 17 or 18, characterized in that: the version information includes hardware version information and current software version information of the hardware unit corresponding to the version information.
20. The system program upgrading method of an electric bed with a communication unit according to claim 17, characterized in that: the query command includes a query of version information of the communication unit, the main controller, and the extension unit.
21. A system program upgrading method for an electric bed with a communication unit according to claim 17 or 18, characterized in that: wherein each of the upgrade files includes a firmware program for upgrade and a boot program for upgrade.
22. A system program upgrading method for an electric bed with a communication unit according to claim 17 or 18, characterized in that: the firmware program for upgrade and the boot program for upgrade are stored in separate storage spaces.
23. A system program upgrading method for an electric bed with a communication unit according to claim 17 or 18, characterized in that: wherein each upgrade file includes only firmware programs for upgrade.
24. The system program upgrading method of an electric bed with a communication unit according to claim 17, characterized in that: the communication unit is used for communication based on a first communication protocol, the server is remotely deployed with the intelligent equipment and is connected with the intelligent equipment in a communication mode based on a second communication protocol; the first communication protocol comprises an NFC near field communication protocol, a Bluetooth communication protocol, a Zigbee protocol and a local area network communication protocol comprising WIFI; the second communication lower protocol comprises one or more of various mobile network communication protocols based on 3G/4G/5G, TCP/IP protocol and Internet protocol.
25. A system program upgrading method for an electric bed with a communication unit according to claim 17 or 18, characterized in that: the upgrade file is transmitted in the form of a data packet, and the data packet contains information on whether the upgrade file is the last data packet.
26. The system program upgrading method of an electric bed with a communication unit according to claim 17, characterized in that: receiving the latest software version information set from the server after establishing a communication connection with the server.
27. A system program upgrading method for an electric bed with a communication unit according to claim 17 or 18, characterized in that: pushing the latest software version information set by the server after establishing communication connection with the server; or requesting the latest software version information set from the server after establishing communication connection with the intelligent equipment.
28. A system program upgrading method for an electric bed with a communication unit according to claim 17 or 18, characterized in that: the latest software version information set comprises the version number of the latest software and hardware version information corresponding to the version number of each latest software.
29. A system program upgrading method for an electric bed with a communication unit according to claim 17 or 18, characterized in that: the intelligent device is configured to compare hardware version information corresponding to the version number of each piece of latest software with hardware version information of the electric bed received from the communication unit to judge whether the hardware version information belongs to the hardware version information corresponding to the version number of the latest software; comparing the version number of the latest software with the current software version information received from the communication unit to judge whether the version number of the latest software is the same as the current software version information; and determining the upgrading file corresponding to the version information of which the hardware version information is judged to belong to the hardware version information corresponding to the version number of the latest software and the software version information is different from the version number of the latest software as an available upgrading file.
30. A system program upgrading method for an electric bed with a communication unit according to claim 17 or 18, characterized in that: the upgrade files to be upgraded are available upgrade files selected at the intelligent device.
31. A system program upgrading method for an electric bed with a communication unit according to claim 30, characterized in that: the intelligent equipment provides a plurality of operation objects corresponding to the available upgrade files for a user respectively, and generates a request of downloading the available upgrade files corresponding to the server according to the operation of the user on the operation objects.
32. A system program upgrading method for an electric bed with a communication unit according to claim 17 or 18, characterized in that: the upgrade files needing to be upgraded are all available upgrade files. Wherein the smart device directly generates a download request to the server based on all of the upgrade files determined to be available.
33. A system program upgrade method for an electric bed having a communication unit, the electric bed being communicatively connected to a smart device capable of controlling the electric bed via the communication unit, wherein the smart device is further communicatively connected to a server, the method comprising: the server is configured to: providing the latest software version information set of all hardware units of the electric bed to the intelligent device after establishing communication connection with the intelligent device; providing an upgrade file corresponding to the software version number included in the downloading request to the intelligent equipment based on the downloading request of the intelligent equipment; wherein the download request is generated by the smart device based on the version information of the hardware unit of the electric bed obtained from the communication unit and the judgment of the latest software version information set.
34. A system program upgrading method for an electric bed with a communication unit according to claim 31, characterized in that: the latest software version information set comprises the version number of the latest software and hardware version information corresponding to the version number of each latest software.
35. A system program upgrading method for an electric bed with a communication unit according to claim 31, characterized in that: wherein each of the upgrade files includes a firmware program for upgrade and a boot program for upgrade.
36. A system program upgrading method for an electric bed with a communication unit according to claim 31, characterized in that: the method is characterized in that: wherein each upgrade file includes only firmware programs for upgrade.
37. A system program upgrading method for an electric bed with a communication unit according to claim 31, characterized in that: the communication unit is used for communication based on a first communication protocol, the server is remotely deployed with the intelligent equipment and is connected with the intelligent equipment in a communication mode based on a second communication protocol; the first communication protocol comprises an NFC (near field communication) near field communication protocol, a Bluetooth communication protocol, a Zigbee protocol and a local area network communication protocol comprising WIFI (wireless fidelity); the second communication lower protocol comprises one or more of various mobile network communication protocols based on 3G/4G/5G, TCP/IP protocol and Internet protocol.
38. A system program upgrading method for an electric bed with a communication unit according to claim 31, characterized in that: pushing the latest software version information set by the server after establishing communication connection with the server; or requesting the latest software version information set from the server after establishing communication connection with the intelligent equipment.
39. A system program upgrading method for an electric bed with a communication unit according to claim 31, characterized in that: the intelligent equipment provides a plurality of operation objects corresponding to the available upgrading files for the user respectively, and generates a request of downloading the available upgrading files corresponding to the server according to the operation of the user on the operation objects.
40. A system program upgrading method for an electric bed with a communication unit according to claim 31, characterized in that: the intelligent device directly generates a download request to the server based on all the upgrade files determined to be available.
41. A system program upgrading method for an electric bed with a communication unit according to claim 31, characterized in that: the upgrade file is transmitted in the form of a data packet, and the data packet contains information on whether the upgrade file is the last data packet.
42. A system program upgrading method for an electric bed with a communication unit according to claim 31, characterized in that: the server is a file server.
43. A system program upgrade method for an electric bed having a communication unit, the electric bed being communicatively connected to a smart device capable of controlling the electric bed via the communication unit, the smart device being communicatively connected to a server, the system program upgrade method comprising: the communication unit is configured to:
receiving an inquiry command from the smart device and performing a one-by-one inquiry of a hardware unit including the communication unit and a main controller of the electric bed in response to the inquiry command to acquire version information of the communication unit and the main controller; sending the version information to the intelligent equipment; sequentially receiving a first upgrade file corresponding to the communication unit and/or a second upgrade file corresponding to the main controller, which are judged to be available, from the smart device, wherein the first upgrade file and the second upgrade file are downloaded from a server by the smart device; verifying the received first upgrading file and the second upgrading file; after the first upgrade file or the second upgrade file is verified, saving the first upgrade file or the second upgrade file to an upgrade file storage area allocated to the first upgrade file or the second upgrade file;
the smart device is configured to: sending an inquiry command to the communication unit to initiate a one-by-one inquiry of a hardware unit including the communication unit and a main controller connected to the communication unit to acquire version information of the communication unit and the main controller; receiving the version information; determining whether an available upgrade file exists in the hardware unit based on the version information and compatibility information of the upgradable file obtained from a server communicatively connected to the smart device; requesting the server to download an upgrade file needing to be upgraded; sequentially transmitting the downloaded upgrade files to the communication unit and receiving a response of completion of verification;
and the server is configured to: providing the latest software version information set to the intelligent device after establishing communication connection with the intelligent device; providing an upgrade file corresponding to the software version number included in the downloading request to the intelligent equipment based on the downloading request of the intelligent equipment; wherein the content of the first and second substances,
the download request is generated for the smart device based on the version information obtained from the communication unit and the determination of the set of latest software version information.
44. A firmware upgrade system for an electric bed having a communication unit configured to execute computer executable code to implement the method of any one of claims 1 to 43.
45. A storage medium storing computer executable code which when executed performs the method of any one of claims 1 to 43.
CN202110294575.9A 2021-03-19 2021-03-19 System program upgrading method, system and storage medium for electric bed with communication unit Pending CN113064612A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110294575.9A CN113064612A (en) 2021-03-19 2021-03-19 System program upgrading method, system and storage medium for electric bed with communication unit
PCT/CN2022/082050 WO2022194301A1 (en) 2021-03-19 2022-03-21 System program upgrade method and system for electric bed having communication unit, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110294575.9A CN113064612A (en) 2021-03-19 2021-03-19 System program upgrading method, system and storage medium for electric bed with communication unit

Publications (1)

Publication Number Publication Date
CN113064612A true CN113064612A (en) 2021-07-02

Family

ID=76562278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110294575.9A Pending CN113064612A (en) 2021-03-19 2021-03-19 System program upgrading method, system and storage medium for electric bed with communication unit

Country Status (2)

Country Link
CN (1) CN113064612A (en)
WO (1) WO2022194301A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114936037A (en) * 2022-07-21 2022-08-23 天津七一二移动通信有限公司 Clamp implementation method compatible with multi-model railway CIR program upgrading
WO2022194301A1 (en) * 2021-03-19 2022-09-22 麒盛科技股份有限公司 System program upgrade method and system for electric bed having communication unit, and storage medium
CN115153246A (en) * 2022-06-28 2022-10-11 宁波乐歌舒蔓卫浴科技有限公司 Electric bed control system and electric bed system
CN115185566A (en) * 2022-09-07 2022-10-14 北京智芯半导体科技有限公司 Installation and upgrade method and device for platform area-oriented intelligent convergence terminal application program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106681766A (en) * 2016-12-26 2017-05-17 广东芬尼克兹节能设备有限公司 Remote firmware upgrading controlling method and system
CN107025783A (en) * 2016-02-02 2017-08-08 麒盛科技股份有限公司 A kind of intelligent electric bed system
CN108597561A (en) * 2018-02-01 2018-09-28 南京滕健医疗科技有限公司 Wisdom ward interactive system
CN110782981A (en) * 2018-07-27 2020-02-11 希尔-罗姆服务公司 Apparatus and method for updating software in a patient support device using a memory switch

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11410771B2 (en) * 2017-06-01 2022-08-09 Stryker Corporation Patient care devices with open communication
CN111796849A (en) * 2020-07-14 2020-10-20 深圳市智莱科技股份有限公司 Firmware remote upgrading method and device
CN113064612A (en) * 2021-03-19 2021-07-02 麒盛科技股份有限公司 System program upgrading method, system and storage medium for electric bed with communication unit

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107025783A (en) * 2016-02-02 2017-08-08 麒盛科技股份有限公司 A kind of intelligent electric bed system
CN106681766A (en) * 2016-12-26 2017-05-17 广东芬尼克兹节能设备有限公司 Remote firmware upgrading controlling method and system
CN108597561A (en) * 2018-02-01 2018-09-28 南京滕健医疗科技有限公司 Wisdom ward interactive system
CN110782981A (en) * 2018-07-27 2020-02-11 希尔-罗姆服务公司 Apparatus and method for updating software in a patient support device using a memory switch

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022194301A1 (en) * 2021-03-19 2022-09-22 麒盛科技股份有限公司 System program upgrade method and system for electric bed having communication unit, and storage medium
CN115153246A (en) * 2022-06-28 2022-10-11 宁波乐歌舒蔓卫浴科技有限公司 Electric bed control system and electric bed system
CN114936037A (en) * 2022-07-21 2022-08-23 天津七一二移动通信有限公司 Clamp implementation method compatible with multi-model railway CIR program upgrading
CN115185566A (en) * 2022-09-07 2022-10-14 北京智芯半导体科技有限公司 Installation and upgrade method and device for platform area-oriented intelligent convergence terminal application program
CN115185566B (en) * 2022-09-07 2023-01-20 北京智芯半导体科技有限公司 Installation and upgrade method and device for platform area-oriented intelligent convergence terminal application program

Also Published As

Publication number Publication date
WO2022194301A1 (en) 2022-09-22

Similar Documents

Publication Publication Date Title
CN113064612A (en) System program upgrading method, system and storage medium for electric bed with communication unit
KR100571140B1 (en) Communication control apparatus, communication control method, and computer readable medium
US9198039B2 (en) Method and device for updating firmware based on device management command
KR101256547B1 (en) Air conditioner, method for controlling outdoor units of the air conditioner, and central control system having the same
JP2006106974A (en) Network household electric appliance control system
US9235405B2 (en) Apparatus, system and method for upgrading firmware of energy metering device
US20070150589A1 (en) Context-awareness based system supporting autonomous system construction and method of operating the system
EP3216196B1 (en) Method for dynamic and automatic creation of user interfaces
JP2009133549A (en) Communication adaptor for air conditioner and control program updating system for air conditioner
KR20080085934A (en) Remote management system having automatic update function
WO2013175617A1 (en) Device for collecting information for display and hmi system
JP4120798B2 (en) Home network system and communication adapter and home controller used therefor
US20200374149A1 (en) Systems and methods for the implementation of an ai/iot hub in the control of electrical devices, electronics and appliances
CN110673864A (en) Upgrading monitoring method and system for vehicle-mounted software
JP2012069088A (en) Medical information processor and software distribution system
JP2019128653A (en) Repeater and hot water supplier
TW201427337A (en) Device management system and method
JP2002034026A (en) Remote monitor system
KR20100130913A (en) System and method for providing uniting remocon having automatic activation function for plurality of interfaces
US11442720B2 (en) Communication adapter and program update method for communication adapter
CN112596763A (en) Method, device and equipment for wireless upgrading of intelligent household equipment
JP2009017252A (en) Connection system for wireless network household electric appliance
CN104516671A (en) Communication apparatus, communication system, communication method, server apparatus, and program
JP6749493B2 (en) Management device, information transfer method and program
KR20130077733A (en) Information service system and method based on the information exchange protocol among the milti-devices

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