WO2020073615A1 - 设备软件的升级方法、数据转化器及可读存储介质 - Google Patents

设备软件的升级方法、数据转化器及可读存储介质 Download PDF

Info

Publication number
WO2020073615A1
WO2020073615A1 PCT/CN2019/078840 CN2019078840W WO2020073615A1 WO 2020073615 A1 WO2020073615 A1 WO 2020073615A1 CN 2019078840 W CN2019078840 W CN 2019078840W WO 2020073615 A1 WO2020073615 A1 WO 2020073615A1
Authority
WO
WIPO (PCT)
Prior art keywords
software
upgrade
software upgrade
jump
home appliance
Prior art date
Application number
PCT/CN2019/078840
Other languages
English (en)
French (fr)
Inventor
骆恒
Original Assignee
广东美的制冷设备有限公司
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 广东美的制冷设备有限公司 filed Critical 广东美的制冷设备有限公司
Publication of WO2020073615A1 publication Critical patent/WO2020073615A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Definitions

  • the present application relates to the field of household appliances, and in particular, to a device software upgrade method, a data converter, and a computer-readable storage medium.
  • smart home refers to the interconnection between home appliances, and for the purpose of interconnection and interconnection between home appliances, the network topology with a data converter as the intermediate node is generally adopted, that is, the data converter is the intermediate node , Connect the home appliance and the server, and the server can be connected to the control terminal, so as to realize the interconnection between the home appliances and the purpose of controlling multiple different home appliances through the same control terminal.
  • the main purpose of the present application is to provide a method for upgrading equipment software, a data converter and a storage medium, which solves the technical problems in the prior art that the development of equipment software is difficult and the cost of development is high, and reduces the development difficulty of equipment software And the technical effects of development costs.
  • the present application provides a method for upgrading equipment software.
  • the method for upgrading equipment software includes the following steps:
  • the software upgrade package insert a jump condition and a jump link into the device software of the data converter, so that when the jump condition is satisfied, the jump link jumps to execute the update content according to the jump link .
  • the step of obtaining the software upgrade package when receiving the software upgrade instruction includes:
  • the step of determining the current upgrade mode according to the software upgrade instruction includes:
  • the current upgrade mode is determined according to the information of the sending end.
  • the sending end information includes the sending end's IP address and / or Mac address.
  • the step of obtaining the software upgrade package when receiving the software upgrade instruction includes:
  • the online upgrade obtains the software upgrade package through a server; the offline upgrade obtains the software upgrade package through a control terminal.
  • the upgrade instruction is sent by the control terminal.
  • the method before the step of obtaining the software upgrade package when receiving the software upgrade instruction, the method further includes:
  • Version information is periodically sent to the server for the server to determine whether the current version is the latest version according to the version information.
  • the method further includes:
  • the step of acquiring the software upgrade package when the software upgrade instruction is received is performed.
  • the database is an SO library.
  • a jump condition and a jump link are inserted into the device software of the data converter, so that when the jump condition is satisfied, the jump execution location is jumped according to the jump link
  • the configuration information includes a protocol type, port number, baud rate, and home appliance address of the home appliance;
  • the configuration information includes protocol type, port number, address and / or baud rate.
  • the method before the step of establishing a connection with the currently accessed home appliance through the access channel, the method further includes:
  • the method further includes:
  • a jump condition and a jump link are inserted into the device software of the data converter, so that when the jump condition is satisfied, the jump execution location is jumped according to the jump link
  • the prompt message that the device software upgrade is completed is output.
  • the present application also provides a data converter, wherein the data converter includes: a memory, a processor, and an upgrade program of device software stored on the memory and executable on the processor When the device software upgrade program is executed by the processor, the steps of the device software upgrade method described above are implemented.
  • the present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores an upgrade program of device software, and the upgrade program of the device software is implemented by the processor as described above The steps of the device software upgrade method described above.
  • the data converter When the data converter receives the software upgrade instruction, it first obtains the software upgrade package, then determines the update content according to the software package, and saves the update content in the preset database, and finally in the device software of the data converter Insert the jump condition and jump link, so that when the device software determines that the jump condition is satisfied at the current time, the update content is executed according to the jump link jump. Since the device software is updated, only the corresponding update content needs to be added to its pre Set up the database, and then "insert" in the main program to update the device software, so that when the device software is developed, there is no need to re-develop the entire device software, thereby reducing the difficulty and cost of device software development.
  • the software upgrade package can be directly obtained through the control terminal, so that the data switch can upgrade the software in a networkless environment, thereby expanding the applicable environment of the data converter.
  • the access channel can be automatically set according to the configuration information of the currently-connected home appliance, and a connection is established with the home appliance through the channel, the purpose of applying the "new protocol" home appliance to the smart home network is achieved.
  • the home appliance access progress can be displayed in real time, the user can learn the home appliance access progress according to the access progress, thereby avoiding termination of home appliance access due to misoperation.
  • the user can determine whether the home appliance is successfully accessed through the prompt message, and input control commands for the home appliance through the control interface.
  • the upgrade prompt information can be output, the user can judge whether the upgrade is successful according to the upgrade completion prompt information.
  • FIG. 1 is a schematic diagram of a terminal structure of a hardware operating environment involved in an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a first embodiment of a method for upgrading device software of this application
  • FIG. 3 is a schematic diagram of a second embodiment of a method for upgrading device software of the present application and a detailed process for obtaining a software upgrade package;
  • FIG. 4 is a schematic diagram of a third embodiment of a method for upgrading device software of the present application and a detailed flow of obtaining a software upgrade package;
  • FIG. 5 is a schematic diagram of a process of accessing home appliance equipment in this application.
  • FIG. 6 is a schematic diagram of the flow of the application for outputting the progress of home appliance access
  • FIG. 7 is a schematic diagram of the process of outputting the access result and the control interface of the application.
  • Figure 8 is a schematic diagram of the process of outputting the software upgrade completion notification of the application.
  • FIG. 9 is a topology diagram of a network structure involved in an embodiment of the present application.
  • the main solution of the embodiment of the present application is to obtain a software upgrade package when receiving a software upgrade instruction
  • a jump condition and a jump link are inserted into the device software of the data converter, so that when the jump condition is satisfied, the update content is jump-executed according to the jump link.
  • the data converter When the data converter receives the software upgrade instruction, it first obtains the software upgrade package, then determines the update content according to the software package, and saves the update content in a preset database, and finally inserts a jump in the device software of the data converter Transfer conditions and jump links, so that when the device software determines that the jump condition is satisfied at the current time, the update content is jumped according to the jump link. Since the device software is updated, only the corresponding update content needs to be added to its preset database In the middle, and then "insert" in the main program, you can update the device software, so that when the device software is developed, there is no need to re-develop the entire device software, thereby reducing the difficulty and cost of device software development.
  • the data converter may be as shown in FIG. 1.
  • the embodiment of the present application relates to a data converter.
  • the data converter includes: a processor 1001, such as a CPU, a memory 1002, and a communication bus 1003.
  • the communication bus 1003 is configured to implement connection communication between the components in the terminal.
  • the memory 1002 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as disk storage.
  • the memory 1002 may optionally be a storage data converter independent of the foregoing processor 1001.
  • FIG. 1 does not constitute a limitation on the terminal in the embodiments of the present application, and may include more or fewer components than those illustrated, or a combination of certain components, or different components. Layout.
  • the processor 1001 may be configured to call the device software upgrade program stored in the memory 1005 and perform the following operations:
  • a jump condition and a jump link are inserted into the device software of the data converter, so that when the jump condition is satisfied, the update content is jump-executed according to the jump link.
  • processor 1001 may be configured to call the device software upgrade program stored in the memory 1005 and perform the following operations:
  • processor 1001 may be configured to call the device software upgrade program stored in the memory 1005 and perform the following operations:
  • the current upgrade mode is determined according to the information of the sending end.
  • processor 1001 may be configured to call the device software upgrade program stored in the memory 1005 and perform the following operations:
  • processor 1001 may be configured to call the device software upgrade program stored in the memory 1005 and perform the following operations:
  • Version information is periodically sent to the server for the server to determine whether the current version is the latest version according to the version information.
  • processor 1001 may be configured to call the device software upgrade program stored in the memory 1005 and perform the following operations:
  • the step of acquiring the software upgrade package when the software upgrade instruction is received is performed.
  • the processor 1001 may be configured to call the device software upgrade program stored in the memory 1005 and perform the following operations:
  • the configuration information includes the protocol type, port number, baud rate, and home appliance address of the home appliance;
  • processor 1001 may be configured to call the device software upgrade program stored in the memory 1005 and perform the following operations:
  • processor 1001 may be configured to call the device software upgrade program stored in the memory 1005 and perform the following operations:
  • processor 1001 may be configured to call the device software upgrade program stored in the memory 1005 and perform the following operations:
  • the prompt message that the device software upgrade is completed is output.
  • the data converter when the data converter receives the software upgrade instruction, it first obtains the software upgrade package, then determines the update content according to the software package, and saves the update content in a preset database, and finally converts The jump condition and jump link are inserted into the device software of the device, so that when the device software determines that the jump condition is satisfied at the current time, the update content is jumped according to the jump link. Since the device software is updated, only the corresponding update is required. The content is added to its preset database, and then "inserted" in the main program, that is, the device software can be updated, so that when the device software is developed, there is no need to re-develop the entire device software, thereby reducing the development of device software Difficulty and development cost.
  • a first embodiment of a control method of an air conditioner of the present application includes the following steps:
  • Step S10 When receiving a software upgrade instruction, obtain a software upgrade package
  • the data converter may communicate with the control terminal through the server, or may directly communicate with the control terminal through the connection medium.
  • the control terminal may send a software upgrade instruction to the data converter.
  • the control terminal may be a smart phone, a PC and / or a tablet computer, but the control terminal is not limited to this.
  • the link medium may be a network cable, WiFi, and / or Bluetooth, etc., which is not limited in this embodiment.
  • the data converter When the data converter receives the software upgrade instruction, it judges the current upgrade mode according to the software upgrade instruction. When the data converter detects the current software upgrade instruction as the software upgrade instruction sent to it by the control terminal through the server, the data converter obtains the software upgrade package through the server. When the data converter detects that the current software upgrade instruction is a software upgrade instruction sent by a control terminal directly connected thereto, the software upgrade package may be obtained through the control terminal.
  • the data converter can also periodically send the current device software version information to the server.
  • the server detects that the current device software version of the data converter is lower than the version of the device software saved in the server, the server Send a software upgrade instruction to the data converter.
  • a software upgrade package is stored in the server, and when the data converter is connected to the server, the data converter can download the software upgrade package through the server.
  • the data converter may also directly download the software upgrade package through the control terminal.
  • Step S20 Save the update content in the software upgrade package to a preset database
  • the software upgrade package is set as a data package that controls the data converter to perform an upgrade operation.
  • the software upgrade includes the upgrade content of this upgrade and a control program that controls the insertion of jump links and the setting of transfer conditions in the main program of the device converter.
  • the update content may be a program file with the suffix .
  • the preset database is a local database of the data converter, and may be an SO library, and the preset database is set to store the update content and the main program call Library file.
  • the execution system of the library file may be a Linux system. Among them, the
  • Step S30 Insert a jump condition and a jump link into the device software of the data converter according to the software upgrade package, so that when the jump condition is satisfied, the update content is jumped according to the jump link .
  • the software update package when the software upgrade package is obtained, the software update package is parsed, update content is obtained, and the update content is added to a preset database.
  • the preset database has a data directory, and the data directory is associated with a library file stored in the preset database.
  • the main program of the data converter can query and call the library file according to the data directory to implement the library The function corresponding to the file.
  • a jump link and a jump condition are inserted into the main program of the data converter, that is, the device software, wherein the jump
  • the transfer condition is a judgment condition, and when the judgment condition is satisfied, the update content is jumped according to the jump link.
  • the directory may be a pointer, and the data file stored in the corresponding storage location may be read according to the pointer.
  • the jump condition may be a judgment condition, and the judgment content may be a judgment received control instruction. For example, if the control protocol compatible with appliance A is B and the control protocol corresponding to the update content is B, then when the control command corresponding to appliance A is received, it is determined that the jump condition is satisfied and the jump is performed according to the jump link The update content is executed.
  • the data converter first obtains the software update package, and then saves the update content in the software update package to a preset database, and adds a jump link corresponding to the update content in the main program to pass the The updated content realizes the corresponding function.
  • the device software update method described in this application because only the update content needs to be added to the preset database during the update, and then the jump link is added in the main program, it will not affect the original function of the device software and open the program During development, only the updated content needs to be developed and designed, and the entire program does not need to be re-developed, thus reducing development difficulty and saving development costs.
  • a second embodiment of the method for upgrading device software of the present application based on the first embodiment described above, the step S10 includes:
  • Step S11 When receiving the software upgrade instruction, determine the current upgrade mode according to the software upgrade instruction
  • Step S12 When the current upgrade method is online upgrade, download the software upgrade package through the server.
  • the current upgrade mode is determined according to the software upgrade instruction, where the upgrade mode may include online upgrade and offline upgrade.
  • the offline upgrade refers to an upgrade method that does not require Internet connection
  • the online upgrade refers to an upgrade method that needs to be dependent on the Internet.
  • the source of the software upgrade instruction is judged, that is, the sender of the software upgrade instruction is identified.
  • the source of the software upgrade instruction it may be determined by identifying the upper-level IP, routing information, and / or Mac address corresponding to the currently received software upgrade instruction.
  • the sending end of the software upgrade instruction is a server, it is determined that the current upgrade mode is online upgrade.
  • a software upgrade package download request is sent to the server, where the software upgrade package download request includes version information of the software upgrade package requested to be downloaded. Further, the software upgrade package corresponding to the version number fed back by the server is received.
  • the data converter can periodically send the version information of the local device software to the server.
  • the server detects that the version of the local device software sent by the data converter is lower than the highest version of the device software stored in the server, it can send data to the data.
  • the converter sends software upgrade instructions.
  • the device software upgrade method further includes a corresponding http software upgrade webpage.
  • the user can log in to the software upgrade webpage through the terminal, and send the software upgrade instruction to the data converter through the software upgrade network cable control server.
  • the device software upgrade method also includes a corresponding software upgrade application that can be installed and run on the smart terminal, and the user can send the software upgrade to the data converter through the software upgrade application control server installed on the smart terminal instruction.
  • the current upgrade method is judged according to the software upgrade instruction, and then when the current upgrade method is judged to be online upgrade, the software upgrade package is downloaded through the server.
  • the server downloads the software upgrade package, which makes the device software upgrade process more convenient.
  • a third embodiment of the method for upgrading device software of the present application based on the first to second embodiments described above, the step S10 includes:
  • Step S13 When receiving the software upgrade instruction, determine the current upgrade mode according to the software upgrade instruction
  • Step S14 When the current upgrade mode is offline upgrade, download the software upgrade package through a directly connected control terminal, where the control terminal is set to control the data converter to perform offline upgrade.
  • the current upgrade mode is determined according to the software upgrade instruction, where the upgrade mode may include online upgrade and offline upgrade.
  • the offline upgrade refers to an upgrade method that does not require Internet connection
  • the online upgrade refers to an upgrade method that needs to be dependent on the Internet.
  • the source of the software upgrade instruction is judged, that is, the sender of the software upgrade instruction is identified.
  • the source of the software upgrade instruction it may be determined by identifying the upper-level IP, routing information, and / or Mac address corresponding to the currently received software upgrade instruction.
  • the sending end of the software upgrade instruction is a directly connected control terminal (for example, a PC), it is determined that the current upgrade mode is offline upgrade.
  • the data converter is provided with an interface configured to connect to the control terminal, wherein the interface may be a network port, a USB interface, and / or a WiFi interface.
  • the current upgrade method is determined according to the software upgrade instruction, and then when the current upgrade method is offline upgrade, the software upgrade package is downloaded through a directly connected control terminal,
  • the software upgrade package can be directly obtained through the control terminal, which enables the data switch to upgrade the software in a networkless environment, thereby expanding the applicable environment of the data converter.
  • the fourth embodiment of the method for upgrading device software of the present application further includes:
  • Step S40 Obtain the configuration information of the currently accessed home appliance, and set the access channel according to the configuration information, where the configuration information includes the protocol type, port number, baud rate, and home appliance address of the home appliance;
  • Step S50 Establish a connection with the home appliance through the access channel.
  • the home appliance device corresponding to the updated content may be connected to the smart home network corresponding to the data converter.
  • the physical connection between the home appliance and the data converter is first completed.
  • the physical connection between the data converter and the household electrical appliance can be achieved through communication cable connection (eg, network cable, coaxial cable, etc.), WiFi, Bluetooth, and / or radar connection.
  • the home appliance can send a connection request like a data converter, and the data converter can obtain the configuration information of the currently accessed home appliance according to the connection request, and set the corresponding A logical channel, and then corresponding the logical channel to a physical channel to generate an access channel, and establish a connection with the household appliance according to the joining, so as to achieve the purpose of controlling the household appliance through the data converter.
  • the configuration information may include a protocol type, for example, a private protocol or a master-slave protocol; a port number; an address; a baud rate, etc.
  • the data converter first obtains the configuration information of the currently connected home appliance, and then sets an access channel according to the configuration information, and establishes a connection with the home appliance through the access channel. Since the access channel can be automatically set according to the configuration information of the currently-connected home appliance, and a connection is established with the home appliance through the channel, the purpose of applying the “new protocol” to the home appliance accessing the smart home network is achieved.
  • the fifth embodiment of the method for upgrading device software of the present application further includes:
  • Step S60 Output the access progress of the home appliance.
  • the steps to be performed in the home appliance access process may be assigned different percentages in chronological order.
  • the access progress is obtained in real time, and the home appliance access percentage is displayed according to the progress.
  • the access progress of the home appliance is output in real time. Since the access progress of the home appliance can be displayed in real time, the user can learn the access progress of the home appliance according to the access progress, thereby avoiding the home appliance access due to misoperation termination.
  • the sixth embodiment of the method for upgrading device software of the present application further includes:
  • Step S70 When a connection is established with the home appliance through the access channel, a prompt message that the access is completed and a control interface of the home appliance are output.
  • a prompt message that the access is completed and a control interface of the home appliance are output.
  • the topology of the smart home network may be as shown in FIG. 9 of the specification.
  • the data converter is connected to the control terminal through the server. When the home appliance access is completed, the data converter may output the prompt message and the completion of access through the control terminal The control interface of the home appliance.
  • a prompt message of completion of access and a control interface of the home appliance are output. Since the prompt message for completing the access and the control interface of the home appliance can be output, the user can determine whether the home appliance is successfully accessed through the prompt message, and input a control instruction for the home appliance through the control interface.
  • the seventh embodiment of the method for upgrading device software of the present application further includes:
  • Step S80 Output a prompt message that the device software upgrade is completed.
  • the prompt message that the device software upgrade is completed can be output through a directly connected control terminal.
  • the control terminal connected to the server may be controlled by the server to output the prompt message that the device software upgrade is completed.
  • the data converter may be provided with an output device, such as a speaker, a buzzer, and / or a display, etc.
  • the data converter may output a prompt message that the device software upgrade is completed through its own output device.
  • a prompt message indicating that the device software upgrade is completed is output. Since the upgrade prompt message can be output, the user can judge whether the upgrade is successful according to the upgrade completion message.
  • An embodiment of the present application further proposes a data converter including: a memory, a processor, and an upgrade program of device software stored on the memory and capable of running on the processor, the device software When the upgrade program is executed by the processor, the steps of the device software upgrade method described in the above embodiments are implemented.
  • An embodiment of the present application also proposes a computer-readable storage medium on which an upgrade program of device software is stored.
  • the upgrade program of device software is executed by a processor, the device software described in the above embodiments is implemented. Upgrade method steps.
  • the methods in the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware, but in many cases the former is better Implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or part that contributes to the existing technology, and the computer software product is stored in a storage medium (such as ROM / RAM) , Magnetic disks, optical disks), including several instructions to enable a terminal device (which can be an intelligent mobile terminal, computer, server, or network device, etc.) to perform the methods described in various embodiments of the present application.

Landscapes

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

Abstract

本申请公开了一种设备软件的升级方法,包括以下步骤:在接收到软件升级指令时,获取软件升级包;将所述软件升级包中的更新内容保存至预设数据库中;根据所述软件升级包,在数据转化器的设备软件中插入跳转条件和跳转链接,以在满足所述跳转条件时,根据所述跳转链接跳转执行所述更新内容。本申请还公开了一种数据转化器及计算机可读存储介质。本申请解决了设备软件研发成本高、难度大的技术问题问题。

Description

设备软件的升级方法、数据转化器及可读存储介质
相关申请
本申请要求2018年10月09日申请的,申请号为201811176558.X,名称为“设备软件的升级方法、数据转化器及可读存储介质”的中国专利申请的优先权,在此将其全文引入作为参考。
技术领域
本申请涉及家用电器领域,尤其涉及一种设备软件的升级方法、数据转化器及计算机可读存储介质。
背景技术
随着通信技术的日益发展,通信水平的提高,以及电子技术的进步,智能家居逐步得到普及。在家电技术领域中,智能家居是指家电之间可以互联互通,而为实现家电之间互联互通的目的,一般采用以数据转化器为中间节点的网络拓扑结构,即以数据转化器为中间节点,连接家电和服务器,而服务器可以连接控制终端,从而实现家电之间的互联互通,以及通过同一控制终端控制多个不同家电的目的。
在现有技术中,不同的家电可以采用不同的控制协议,当有使用新协议的家电需要加入当前智能家居网络时,数据转化器的设备软件需要对应升级。当要对设备软件进行升级时,需要重新开发一个兼容新协议和旧协议的设备软件。从而导致设备软件的开发难度大,开发成本高。
发明内容
本申请的主要目的在于提供一种设备软件的升级方法、数据转化器及存储介质,解决了现有技术中设备软件的开发难度大,开发成本高的技术问题,实现了降低设备软件的开发难度及开发成本的技术效果。
为实现上述目的,本申请提供一种设备软件的升级方法,所述设备软件的升级方法包括以下步骤:
在接收到软件升级指令时,获取软件升级包;
将所述软件升级包中的更新内容保存至预设数据库中;
根据所述软件升级包,在数据转化器的设备软件中插入跳转条件和跳转链接,以在满足所述跳转条件时,跳转链接根据所述跳转链接跳转执行所述更新内容。
可选地,所述在接收到软件升级指令时,获取软件升级包的步骤包括:
在接收到所述软件升级指令时,根据所述软件升级指令判断当前升级方式;以及
在当前升级方式为在线升级时,通过服务器下载所述软件升级包。
可选地,所述根据所述软件升级指令判断当前升级方式的步骤包括:
获取所述软件升级指令的发送端信息;以及
根据所述发送端信息确定所述当前升级方式。
可选地,所述发送端信息包括发送端的IP地址及/或Mac地址。
可选地,所述在接收到软件升级指令时,获取软件升级包的步骤包括:
在接收到所述软件升级指令时,根据所述软件升级指令判断当前升级方式;以及
在当前升级方式为离线升级时,通过直连的控制终端下载所述软件升级包,其中,所述控制终端设置为控制数据转化器进行离线升级。
可选地,所述在线升级通过服务器获取所述软件升级包;所述离线升级通过控制终端获取所述软件升级包。
可选地,所述升级指令由控制终端发送。
可选地,所述在接收到软件升级指令时,获取软件升级包的步骤之前,还包括:
定时向服务器发送版本信息,以供服务器根据所述版本信息判定当前版本是否为最新版本。
可选地,所述定时向服务器发送版本信息的步骤之后,还包括:
通过网页输出所述版本信息,其中,所述网页还包括更新控件;以及
在所述更新控件被触发时,执行所述在接收到软件升级指令时,获取软件升级包的步骤。
可选地,所述数据库为SO库。
可选地,所述根据所述软件升级包,在数据转化器的设备软件中插入跳转条件和跳转链接,以在满足所述跳转条件时,根据所述跳转链接跳转执行所述更新内容的步骤之后,还包括:
获取当前接入的家电的配置信息,根据所述配置信息设置接入通道,其中,所述配置信息包括协议类型、端口号、波特率及所述家电的家电地址;以及
通过所述接入通道与所述家电建立连接。
可选地,所述配置信息包括协议类型、端口号、地址及/或波特率。
可选地,所述通过所述接入通道与所述当前接入的家电建立连接的步骤之前,还包括:
输出所述家电的接入进度。
可选地,所述通过所述接入通道与所述当前接入的家电建立连接的步骤之后,还包括:
当通过所述接入通道与所述家电建立连接时,输出接入完成的提示信息及所述家电的控制界面。
可选地,在接收到所述家电对应的控制指令时,判定满足所述跳转条件。
可选地,所述根据所述软件升级包,在数据转化器的设备软件中插入跳转条件和跳转链接,以在满足所述跳转条件时,根据所述跳转链接跳转执行所述更新内容的步骤之后,还包括:
输出所述设备软件升级完成的提示信息。
为实现上述目的,本申请还提供一种数据转化器,其中,所述数据转化器包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的设备软件的升级程序,所述设备软件的升级程序被所述处理器执行时实现如上所述的设备软件的升级方法的步骤。
为实现上述目的,本申请还提供一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有设备软件的升级程序,所述设备软件的升级程序被处理器执行时实现如上所述的设备软件的升级方法的步骤。
本申请实施例中提供的一个或多个技术方案,至少具有如下技术效果或优点:
1、由于数据转化器在接收到软件升级指令时,先获取软件升级包,然后根据所述软件包确定更新内容,并将更新内容保存至预设数据库中,最后在数据转化器的设备软件中插入跳转条件和跳转链接,使得在设备软件判定当前时刻满足跳转条件时,根据跳转链接跳转执行更新内容,由于设备软件在更新时,只需要将对应的更新内容添加进其预设数据库中,然后在主程序中“插桩”,即可以实现设备软件的更新,这样在设备软件开发时,无需对整个设备软件进行重新开发,从而降低了设备软件的开发难度和开发成本。
2、由于在当前升级方式为离线升级时,可以通过控制控制终端直接获取软件升级包,这样使得数据交换器可以在无网络环境下进行软件升级,从而扩大了数据转化器的适用环境。
3、由于可以根据当前接入的家电的配置信息自动设置接入通道,并通过所述通道与所述家电建立连接,使得实现了适用“新协议”的家电接入智能家居网络的目的。
4、由于可以实时显示家电接入进度,使得用户可以根据所述接入进度获悉家电接入进度,从而避免因误操作而导致家电接入终止。
5、由于可以输出接入完成的提示信息及所述家电的控制界面,使得用户可以通过所述提示信息确定家电是否接入成功,及通过所述控制界面输入对家电的控制指令。
6、由于可以输出升级提示信息,使得用户可以根据升级完成提示信息判断是否升级成功。
附图说明
图1是本申请实施例方案涉及的硬件运行环境的终端结构示意图;
图2为本申请设备软件的升级方法第一实施例的流程示意图;
图3为本申请设备软件的升级方法第二实施例及获取软件升级包的细化流程示意图;
图4为本申请设备软件的升级方法第三实施例及获取软件升级包的细化流程示意图;
图5为本申请接入家电设备的流程示意图;
图6为本申请输出家电接入进度的流程示意图;
图7为本申请输出接出接入结果及控制界面的流程示意图;
图8为本申请输出软件升级完成提示的流程示意图;
图9本申请实施例涉及的网络结构拓扑图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请实施例的主要解决方案是:在接收到软件升级指令时,获取软件升级包;
将所述软件升级包中的更新内容保存至预设数据库中;
根据所述软件升级包,在数据转化器的设备软件中插入跳转条件和跳转链接,以在满足所述跳转条件时,根据所述跳转链接跳转执行所述更新内容。
由于数据转化器在接收到软件升级指令时,先获取软件升级包,然后根据所述软件包确定更新内容,并将更新内容保存至预设数据库中,最后在数据转化器的设备软件中插入跳转条件和跳转链接,使得在设备软件判定当前时刻满足跳转条件时,根据跳转链接跳转执行更新内容,由于设备软件在更新时,只需要将对应的更新内容添加进其预设数据库中,然后在主程序中“插桩”,即可以实现设备软件的更新,这样在设备软件开发时,无需对整个设备软件进行重新开发,从而降低了设备软件的开发难度和开发成本。
作为一种实现方案,数据转化器可以如图1所示。
本申请实施例方案涉及的是数据转化器,数据转化器包括:处理器1001,例如CPU,存储器1002,通信总线1003。其中,通信总线1003设置为实现该终端中各组成部件之间的连接通信。存储器1002可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1002可选的还可以是独立于前述处理器1001的存储数据转化器。
本领域技术人员可以理解,图1中示出的终端的结构并不构成对本申请实施例终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
而处理器1001可以设置为调用存储器1005中存储的设备软件升级程序,并执行以下操作:
在接收到软件升级指令时,获取软件升级包;
将所述软件升级包中的更新内容保存至预设数据库中;以及
根据所述软件升级包,在数据转化器的设备软件中插入跳转条件和跳转链接,以在满足所述跳转条件时,根据所述跳转链接跳转执行所述更新内容。
进一步地,处理器1001可以设置为调用存储器1005中存储的设备软件升级程序,并执行以下操作:
在接收到所述软件升级指令时,根据所述软件升级指令判断当前升级方式;以及
在当前升级方式为在线升级时,通过服务器下载所述软件升级包。
进一步地,处理器1001可以设置为调用存储器1005中存储的设备软件升级程序,并执行以下操作:
获取所述软件升级指令的发送端信息;以及
根据所述发送端信息确定所述当前升级方式。
进一步地,处理器1001可以设置为调用存储器1005中存储的设备软件升级程序,并执行以下操作:
在接收到所述软件升级指令时,根据所述软件升级指令判断当前升级方式;以及
在当前升级方式为离线升级时,通过直连的控制终端下载所述软件升级包,其中,所述控制终端设置为控制数据转化器进行离线升级。
进一步地,处理器1001可以设置为调用存储器1005中存储的设备软件升级程序,并执行以下操作:
定时向服务器发送版本信息,以供服务器根据所述版本信息判定当前版本是否为最新版本。
进一步地,处理器1001可以设置为调用存储器1005中存储的设备软件升级程序,并执行以下操作:
通过网页输出所述版本信息,其中,所述网页还包括更新控件;以及
在所述更新控件被触发时,执行所述在接收到软件升级指令时,获取软件升级包的步骤。进一步地,处理器1001可以设置为调用存储器1005中存储的设备软件升级程序,并执行以下操作:
获取当前接入的家电的配置信息,根据所述配置信息设置接入通道,其中,所述配置信息包括协议类型、端口号、波特率及所述家电的家电地址;
通过所述接入通道与所述家电建立连接。
进一步地,处理器1001可以设置为调用存储器1005中存储的设备软件升级程序,并执行以下操作:
输出所述家电的接入进度。
进一步地,处理器1001可以设置为调用存储器1005中存储的设备软件升级程序,并执行以下操作:
当通过所述接入通道与所述家电建立连接时,输出接入完成的提示信息及所述家电的控制界面。
进一步地,处理器1001可以设置为调用存储器1005中存储的设备软件升级程序,并执行以下操作:
输出所述设备软件升级完成的提示信息。
本实施例根据上述方案,由于数据转化器在接收到软件升级指令时,先获取软件升级包,然后根据所述软件包确定更新内容,并将更新内容保存至预设数据库中,最后在数据转化器的设备软件中插入跳转条件和跳转链接,使得在设备软件判定当前时刻满足跳转条件时,根据跳转链接跳转执行更新内容,由于设备软件在更新时,只需要将对应的更新内容添加进其预设数据库中,然后在主程序中“插桩”,即可以实现设备软件的更新,这样在设备软件开发时,无需对整个设备软件进行重新开发,从而降低了设备软件的开发难度和开发成本。
基于上述空调器的硬件构架,提出本申请空调器的控制方法的实施例。
参照图2,本申请空调器的控制方法的第一实施例,所述空调器的控制方法包括以下步骤:
步骤S10、在接收到软件升级指令时,获取软件升级包;
在本实施例中,数据转化器可以通过服务器与控制终端联通,也可以直接通过连接媒介联通控制终端。所述控制终端可以向所述数据转化器发送软件升级指令。其中,所述控制终端可以为智能手机、PC机及/或平板电脑,但所述控制终端并不仅限于此。所述链接媒介可以是网线、WiFi及/或蓝牙等,本实施例对此不作限定。
当所述数据转化器接收到软件升级指令时,根据所述软件升级指令判断当前升级方式。在数据转化器检测到当前软件升级指令为,控制终端通过服务器向其发送的软件升级指令时,数据转化器通过服务器获取所述软件升级包。当所述数据转化器检测当前软件升级指令为与其直连的控制终端发送的软件升级指令时,可以通过所述控制终端获取所述软件升级包。
需要说明的是,所述数据转化器也可以定时向服务器发送当前设备软件的版本信息,当服务器检测到数据转化器的当前设备软件版本低于服务器中保存的设备软件的版本时,可以由服务器向所述数据转化器发送软件升级指令。另外,所述服务器中保存有软件升级包,当数据转化器与所述服务器连通时,数据转化器可以通过服务器下载所述软件升级包。
在所述控制终端与所述数据转化器直连时,数据转化器也可以直接通过所述控制终端下载软件升级包。
步骤S20、将所述软件升级包中的更新内容保存至预设数据库中;
在本实施例中,所述软件升级包设置为控制所述数据转化器进行升级操作的数据包。所述软件升级包括本次升级的升级内容和控制在设备转化器主程序中插入跳转链接和设置调转条件的控制程序。
具体地,所述更新内容可以是一个后缀为.SO的程序文件,所述预设数据库是数据转化器的本地数据库,可以为SO库,所述预设数据库设置为存储更新内容和主程序调用的库文件。所述库文件的执行系统可以是Linux系统。其中,所述
步骤S30、根据所述软件升级包,在数据转化器的设备软件中插入跳转条件和跳转链接,以在满足所述跳转条件时,根据所述跳转链接跳转执行所述更新内容。
在本实施例中,在获取到所述软件升级包时,解析所述软件更新包,获取更新内容,并将所述更新内容添加至预设数据库。所述预设数据库有数据目录,所述数据目录关联所述预设数据库中保存的库文件,数据转化器的主程序可以根据所述数据目录查询并调用所述库文件,以实现所述库文件对应的功能。
进一步地,将更新内容保存至预设数据库,并更新所述预设数据对应的数据目录后,在数据转化器的主程序即设备软件中插入跳转链接和跳转条件,其中,所述跳转条件为一判断条件,在满足所述判断条件时,根据所述跳转链接跳转执行所述更新内容.
具体的,所述目录可以是指针,根据所述指针可以读取对应存储位置存储的数据文件。所述跳转条件可以是判断条件,其判断内容可以是判断接收到的控制指令。例如,家电A兼容的控制协议为B,所述更新内容对应的控制协议为B,则在接收到所述家电A对应的控制指令时,判定满足跳转条件,根据所述跳转链接跳转执行所述更新内容。
在本实施例中,数据转换器先获取软件更新包,然后将软件更新包中的更新内容保存至预设数据库,并在主程序中添加所述更新内容对应的跳转链接,以通过执行所述更新内容实现对应的功能。采用本申请记载的设备软件更新方法,由于在更新时只需要将更新内容添加进预设数据库,然后在主程序中添加跳转链接,因此不会对设备软件原来的功能产生影响,并且开程序开发时,只需要开发设计所述更新内容,无需对整个程序重新进行开发,因此降低了开发难度,节约了开发成本。
进一步地,参照图3,本申请设备软件的升级方法第二实施例,基于上述第一实施例,所述步骤S10包括:
步骤S11、在接收到所述软件升级指令时,根据所述软件升级指令判断当前升级方式;
步骤S12、在当前升级方式为在线升级时,通过服务器下载所述软件升级包。
在本实施例中,在接收到所述软件升级指令时,根据所述软件升级指令判断当前的升级方式,其中,所述升级方式可以包括在线升级和离线升级。所述离线升级是指无需链接互联网的升级方式,所述在线升级是指需要依赖互联网才能实现的升级方式。在当前升级方式为在线升级时,通过服务器下载所述软件升级包。
具体地,在接收到所述软件升级指令时,判断所述软件升级指令的来源,即识别所述软件升级指令的发送端。其中,在判定所述软件升级指令的来源时,可以通过识别当前接收到的软件升级指令对应的上一级IP、路由信息及/或Mac地址等进行判定。当所述软件升级指令的发送端为服务器时,判定当前升级方式为在线升级。此时,向服务器发送软件升级包下载请求,其中,所述软件升级包下载请求包括请求下载的软件升级包的版本信息。进一步的,接收服务器反馈的对应版本号的软件升级包。
需要说明的是,数据转化器可以定时向服务器发送本地设备软件的版本信息,在服务器检测到数据转化器发送的本地设备软件的版本低于服务器中保存的设备软件的最高版本时,可以向数据转化器发送软件升级指令。
另外,所述设备软件升级方法还包括对应的http软件升级网页,用户可以通过终端登录所述软件升级网页,通过所述软件升级网线控制服务器向所述数据转化器发送所述软件升级指令。
另外,所述设备软件升级方法还包括对应的,可以在智能终端上安装并运行的软件升级应用,用户可以通过智能终端上安装的所述软件升级应用控制服务器向所述数据转化器发送软件升级指令。
在本实施例中,在接收到所述软件升级指令时,根据所述软件升级指令判断当前升级方式,进而在判定当前升级方式为在线升级时,通过服务器下载所述软件升级包,由于可以通过服务器下载软件升级包,因此使得设备软件的升级过程更加便捷。
进一步地,参照图4,本申请设备软件的升级方法第三实施例,基于上述第一至第二实施例,所述步骤S10包括:
步骤S13、在接收到所述软件升级指令时,根据所述软件升级指令判断当前升级方式;
步骤S14、在当前升级方式为离线升级时,通过直连的控制终端下载所述软件升级包,其中,所述控制终端设置为控制数据转化器进行离线升级。
在本实施例中,在接收到所述软件升级指令时,根据所述软件升级指令判断当前的升级方式,其中,所述升级方式可以包括在线升级和离线升级。所述离线升级是指无需链接互联网的升级方式,所述在线升级是指需要依赖互联网才能实现的升级方式。在当前升级方式为离线升级时,通过直连的控制终端下载所述软件升级包。
具体地,在接收到所述软件升级指令时,判断所述软件升级指令的来源,即识别所述软件升级指令的发送端。其中,在判定所述软件升级指令的来源时,可以通过识别当前接收到的软件升级指令对应的上一级IP、路由信息及/或Mac地址等进行判定。当所述软件升级指令的发送端为直连控制终端(例如,PC机)时,判定当前升级方式为离线升级。
在离线升级时,先判断本地数据库中是否已保存所述软件升级指令对应的软件升级包。如果是,则直接根据所述软件升级包进行离线升级,如果否,则向所述控制终端发送软件升级包下载请求。当所述控制终端接收到所述软件升级包下载请求时,可以输出提示页面,设置为提示用户向数据转化器发送软件升级包。在接收到所述直连控制终端发送的软件升级包时,根据接收到软件升级包进行离线升级。
需要说明的是,所述数据转化器设置有设置为连接控制终端的接口,其中所述接口可以是网口、USB接口及/或WiFi接口。
在本实施例中,在接收到所述软件升级指令时,根据所述软件升级指令判断当前升级方式,进而在当前升级方式为离线升级时,通过直连的控制终端下载所述软件升级包,由于在当前升级方式为离线升级时,可以通过控制控制终端直接获取软件升级包,这样使得数据交换器可以在无网络环境下进行软件升级,从而扩大了数据转化器的适用环境。
进一步地,参照图5,本申请设备软件的升级方法第四实施例,基于上述第一至第三实施例,所述步骤S30之后,还包括:
步骤S40、获取当前接入的家电的配置信息,根据所述配置信息设置接入通道,其中,所述配置信息包括协议类型、端口号、波特率及所述家电的家电地址;
步骤S50、通过所述接入通道与所述家电建立连接。
在本实施例中,在所述设备软件升级完成后,可以在所述数据转化器对应的智能家居网络中,接入更新内容对应的家电设备。在所述家电设备进行接入时,先完成所述家电设备与所述数据转化器之间的物理连接。实现所述数据转化器与家电设备之间的物理连接可以通过通信线缆连接(例如:网线、同轴电缆等)、WiFi、蓝牙及/或雷达等连接方式连接实现物理连接。在所述物理连接建立以后,家电设备可以像数据转化器发送连接请求,数据转化器根据所述连接请求获取当前接入的家电的配置信息,并根据所述配置信息设置所述家电设备对应的逻辑通道,然后将所述逻辑通道与物理通道对应,生成接入通道,根据所述加入与所述家电设备建立连接,以实现通过所述数据转化器控制所述家电设备的目的。
需要说明的是,所述配置信息可以包括协议类型,例如,私有协议或主从协议;端口号;地址;波特率等。
在本实施例中,数据转化器先获取当前接入的家电的配置信息,然后,根据所述配置信息设置接入通道,并通过所述接入通道与所述家电建立连接。由于可以根据当前接入的家电的配置信息自动设置接入通道,并通过所述通道与所述家电建立连接,使得实现了适用“新协议”的家电接入智能家居网络的目的。
进一步地,参照图6,本申请设备软件的升级方法第五实施例,基于上述第一至第三实施例,所述步骤S50之前,还包括:
步骤S60、输出所述家电的接入进度。
在本实施例中,可以将家电接入过程所要执行的步骤按照时间顺序分配不同的百分比。在家电接入过程中,实时获取接入进度,根据所述进度显示家电接入百分比。
在本实施例中,实时输出所述家电的接入进度,由于可以实时显示家电接入进度,使得用户可以根据所述接入进度获悉家电接入进度,从而避免因误操作而导致家电接入终止。
进一步地,参照图7,本申请设备软件的升级方法第六实施例,基于上述第一至第五实施例,所述步骤S50之后,还包括:
步骤S70、当通过所述接入通道与所述家电建立连接时,输出接入完成的提示信息及所述家电的控制界面。
在本实施例中,在家电设备通过所述接入通道完成接入,即通过所述接入通道与所述家电建立连接时,输出接入完成的提示信息及所述家电的控制界面。
具体地,智能家居网络的拓扑结构可以如说明书附图9所示,数据转化器通过服务器连接有控制终端,数据转化器在家电接入完成时,可以通过控制终端输出接入完成的提示信息及所述家电的控制界面。
在本实施例中,当通过所述接入通道与所述家电建立连接时,输出接入完成的提示信息及所述家电的控制界面。由于可以输出接入完成的提示信息及所述家电的控制界面,使得用户可以通过所述提示信息确定家电是否接入成功,及通过所述控制界面输入对家电的控制指令。
进一步地,参照图8,本申请设备软件的升级方法第七实施例,基于上述第一至第六实施例,所述步骤S30之后,还包括:
步骤S80、输出所述设备软件升级完成的提示信息。
在本实施例中,在当前升级方式为离线升级时,可以通过直连的控制终端输出所述设备软件升级完成的提示信息。在当前升级方式为在线升级时,可以通过服务器控制与服务器相连接的控制终端输出所述设备软件升级完成的提示信息。
另外,所述数据转化器可以设置输出设备,例如音箱、蜂鸣器及/或显示器等,数据转化器可以通过自带的输出设备输出所述设备软件升级完成的提示信息。
在本实施例中,在所述设备软件升级完成时,输出所述设备软件升级完成的提示信息,由于可以输出升级提示信息,使得用户可以根据升级完成提示信息判断是否升级成功。
本申请实施例还提出一种数据转化器,所述数据转化器包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的设备软件的升级程序,所述设备软件的升级程序被所述处理器执行时实现如上各个实施例所述的设备软件的升级方法的步骤。
本申请实施例还提出一种计算机可读存储介质,所述存储介质上存储有设备软件的升级程序,所述设备软件的升级程序被处理器执行时实现如上各个实施例所述的设备软件的升级方法的步骤。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是智能移动端,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (19)

  1. 一种设备软件的升级方法,其中,所述设备软件的升级方法包括以下步骤:
    在接收到软件升级指令时,获取软件升级包;
    将所述软件升级包中的更新内容保存至预设数据库中;以及
    根据所述软件升级包,在数据转化器的设备软件中插入跳转条件和跳转链接,以在满足所述跳转条件时,根据所述跳转链接跳转执行所述更新内容。
  2. 如权利要求1所述的设备软件的升级方法,其中,所述在接收到软件升级指令时,获取软件升级包的步骤包括:
    在接收到所述软件升级指令时,根据所述软件升级指令判断当前升级方式;以及
    在当前升级方式为在线升级时,通过服务器下载所述软件升级包。
  3. 如权利要求2所述的设备软件的升级方法,其中,所述根据所述软件升级指令判断当前升级方式的步骤包括:
    获取所述软件升级指令的发送端信息;以及
    根据所述发送端信息确定所述当前升级方式。
  4. 如权利要求3所述的设备软件的升级方法,其中,所述发送端信息包括发送端的IP地址及/或Mac地址。
  5. 如权利要求1所述的设备软件的升级方法,其中,所述在接收到软件升级指令时,获取软件升级包的步骤包括:
    在接收到所述软件升级指令时,根据所述软件升级指令判断当前升级方式;以及
    在当前升级方式为离线升级时,通过直连的控制终端下载所述软件升级包,其中,所述控制终端设置为控制数据转化器进行离线升级。
  6. 如权利要求2和5所述的设备软件的升级方法,其中,所述在线升级通过服务器获取所述软件升级包;所述离线升级通过控制终端获取所述软件升级包。
  7. 如权利要求1所述的设备软件的升级方法,其中,所述升级指令由控制终端发送。
  8. 如权利要求1所述的设备软件的升级方法,其中,所述在接收到软件升级指令时,获取软件升级包的步骤之前,还包括:
    定时向服务器发送版本信息,以供服务器根据所述版本信息判定当前版本是否为最新版本。
  9. 如权利要求8所述的设备软件的升级方法,其中,所述定时向服务器发送版本信息的步骤之后,还包括:
    通过网页输出所述版本信息,其中,所述网页还包括更新控件;以及
    在所述更新控件被触发时,执行所述在接收到软件升级指令时,获取软件升级包的步骤。
  10. 如权利要求1所述的设备软件的升级方法,其中,所述数据库为SO库。
  11. 如权利要求1所述的设备软件的升级方法,其中,所述根据所述软件升级包,在数据转化器的设备软件中插入跳转条件和跳转链接,以在满足所述跳转条件时,根据所述跳转链接跳转执行所述更新内容的步骤之后,还包括:
    获取当前接入的家电的配置信息,根据所述配置信息设置接入通道,其中,所述配置信息包括协议类型、端口号、波特率及所述家电的家电地址;以及
    通过所述接入通道与所述家电建立连接。
  12. 如权利要求11所述的设备软件的升级方法,其中,所述配置信息包括协议类型、端口号、地址及/或波特率。
  13. 如权利要求11所述的设备软件的升级方法,其中,所述通过所述接入通道与所述当前接入的家电建立连接的步骤之前,还包括:
    输出所述家电的接入进度。
  14. 如权利要求11所述的设备软件的升级方法,其中,所述通过所述接入通道与所述当前接入的家电建立连接的步骤之后,还包括:
    当通过所述接入通道与所述家电建立连接时,输出接入完成的提示信息及所述家电的控制界面。
  15. 如权利要求11所述的设备软件的升级方法,其中,在接收到所述家电对应的控制指令时,判定满足所述跳转条件。
  16. 如权利要求1所述的设备软件的升级方法,其中,所述根据所述软件升级包,在数据转化器的设备软件中插入跳转条件和跳转链接,以在满足所述跳转条件时,根据所述跳转链接跳转执行所述更新内容的步骤之后,还包括:
    输出所述设备软件升级完成的提示信息。
  17. 一种数据转化器,其中,所述数据转化器包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的设备软件的升级程序,所述设备软件的升级程序被所述处理器执行时实现以下步骤:
    在接收到软件升级指令时,获取软件升级包;
    将所述软件升级包中的更新内容保存至预设数据库中;以及
    根据所述软件升级包,在数据转化器的设备软件中插入跳转条件和跳转链接,以在满足所述跳转条件时,根据所述跳转链接跳转执行所述更新内容。
  18. 如权利要求17所述的数据转化器,其中,所述数据转化器还设置有家电接口,所述数据转化器通过所述家电接口与家电连接,设置为所述数据转化器与所述家电进行通信。
  19. 一种计算机可读存储介质,其中,所述计算机可读存储介质介质上存储有设备软件的升级程序,所述设备软件的升级程序被处理器执行时实现以下步骤:
    在接收到软件升级指令时,获取软件升级包;
    将所述软件升级包中的更新内容保存至预设数据库中;以及
    根据所述软件升级包,在数据转化器的设备软件中插入跳转条件和跳转链接,以在满足所述跳转条件时,根据所述跳转链接跳转执行所述更新内容。
PCT/CN2019/078840 2018-10-09 2019-03-20 设备软件的升级方法、数据转化器及可读存储介质 WO2020073615A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811176558.X 2018-10-09
CN201811176558.XA CN109408090B (zh) 2018-10-09 2018-10-09 设备软件的升级方法、数据转化器及可读存储介质

Publications (1)

Publication Number Publication Date
WO2020073615A1 true WO2020073615A1 (zh) 2020-04-16

Family

ID=65466909

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/078840 WO2020073615A1 (zh) 2018-10-09 2019-03-20 设备软件的升级方法、数据转化器及可读存储介质

Country Status (2)

Country Link
CN (1) CN109408090B (zh)
WO (1) WO2020073615A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109408090B (zh) * 2018-10-09 2021-05-28 广东美的制冷设备有限公司 设备软件的升级方法、数据转化器及可读存储介质
CN110262822B (zh) * 2019-06-17 2020-11-24 珠海格力电器股份有限公司 多联机系统及其升级方法和装置
CN110532011A (zh) * 2019-09-02 2019-12-03 珠海格力电器股份有限公司 数据转换器版本升级方法、装置及数据通信系统
CN111290773B (zh) * 2020-03-12 2024-01-19 深圳Tcl新技术有限公司 系统升级方法、设备及可读存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929920A (zh) * 2012-09-19 2013-02-13 北京奇虎科技有限公司 基于Web信息抽取的软件更新信息的监控方法和装置
CN103248641A (zh) * 2012-02-07 2013-08-14 腾讯科技(深圳)有限公司 网络下载方法、装置及系统
CN106250192A (zh) * 2016-08-04 2016-12-21 芯讯通无线科技(上海)有限公司 上位机的软件升级方法及系统
CN107589952A (zh) * 2016-07-06 2018-01-16 中兴通讯股份有限公司 智能升级方法、装置和系统
CN109408090A (zh) * 2018-10-09 2019-03-01 广东美的制冷设备有限公司 设备软件的升级方法、数据转化器及可读存储介质

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20030016984A (ko) * 2001-08-23 2003-03-03 엘지전자 주식회사 통신 단말기의 소프트웨어 버전 업그레이드 장치 및 방법
KR20080066228A (ko) * 2007-01-11 2008-07-16 삼성전자주식회사 임베디드 기기의 업그레이드 시스템 및 업그레이드 방법
CN103685495B (zh) * 2013-12-05 2019-08-16 金蝶软件(中国)有限公司 软件的升级方法和系统
CN104750506B (zh) * 2013-12-30 2018-04-17 海尔集团公司 一种智能家电wifi模块软件自动升级方法
CN104111848B (zh) * 2014-06-27 2017-04-26 华中科技大学 一种基于异步检查点的多线程软件动态升级方法
CN105897652A (zh) * 2014-10-21 2016-08-24 北京京航计算通讯研究所 一种基于标准协议的异构终端动态接入方法
CN105491600A (zh) * 2015-12-30 2016-04-13 青岛海尔智能家电科技有限公司 一种家电设备的入网方法、装置及相关设备
CN108427570A (zh) * 2018-03-06 2018-08-21 珠海格力电器股份有限公司 一种智能家电主控程序升级系统及升级方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248641A (zh) * 2012-02-07 2013-08-14 腾讯科技(深圳)有限公司 网络下载方法、装置及系统
CN102929920A (zh) * 2012-09-19 2013-02-13 北京奇虎科技有限公司 基于Web信息抽取的软件更新信息的监控方法和装置
CN107589952A (zh) * 2016-07-06 2018-01-16 中兴通讯股份有限公司 智能升级方法、装置和系统
CN106250192A (zh) * 2016-08-04 2016-12-21 芯讯通无线科技(上海)有限公司 上位机的软件升级方法及系统
CN109408090A (zh) * 2018-10-09 2019-03-01 广东美的制冷设备有限公司 设备软件的升级方法、数据转化器及可读存储介质

Also Published As

Publication number Publication date
CN109408090A (zh) 2019-03-01
CN109408090B (zh) 2021-05-28

Similar Documents

Publication Publication Date Title
WO2020073615A1 (zh) 设备软件的升级方法、数据转化器及可读存储介质
WO2018076841A1 (zh) 数据分享方法、装置、存储介质及服务器
WO2014071755A1 (zh) 实现移动终端应用程序下载的方法及移动终端
WO2014007516A1 (ko) 단일 인증 서비스 시스템 및 이의 운용 방법
WO2020155359A1 (zh) 家电设备的控制方法、服务器、家电设备及存储介质
WO2020155360A1 (zh) 家电设备的配网方法、家电设备、移动终端及存储介质
WO2018201774A1 (zh) 数据审批方法、装置、设备和计算机可读存储介质
WO2018120681A1 (zh) 数据同步方法、装置、系统、数据处理服务器和存储介质
WO2020199332A1 (zh) 家电设备的联网控制方法、模块、控制终端、终端及介质
WO2018076889A1 (zh) 数据备份的方法、装置、系统、存储介质及服务器
WO2018076840A1 (zh) 数据分享方法、装置、存储介质及服务器
WO2019156506A1 (en) System and method for providing conversational contents
WO2020133741A1 (zh) 控制外设的方法、电视及可读存储介质
WO2011129635A2 (ko) 이동통신 시스템에서 응용 서비스를 제공하는 방법 및 장치
WO2010147362A2 (en) Widget activation and communication method
WO2020052247A1 (zh) 网络资源批量加载方法、智能电视、存储介质及装置
WO2017148142A1 (zh) 桌面图标文件夹的名称切换方法、装置及电子设备
WO2016183721A1 (zh) 一种终端设备刷机方法、装置和设备
WO2019223600A1 (zh) 蓝牙音频传输方法、装置及计算机可读存储介质
WO2020253125A1 (zh) 日志管理方法、装置、设备及存储介质
WO2018076873A1 (zh) 数据分享方法、装置、介质、电子设备及系统
WO2017185647A1 (zh) 基于SoftSIM的IMSI号码管理及呼叫方法、服务器及网络侧设备
WO2013183944A1 (en) Apparatus and method for transmitting and receiving files in general purpose device
WO2016065878A1 (zh) 电子玩具的控制系统和方法、电子设备内容更新方法
WO2017020620A1 (zh) 标签页同步方法、电子设备及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19870327

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19870327

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 20.08.2021)