WO2019237438A1 - System, electronic device, and method for online firmware upgrading - Google Patents

System, electronic device, and method for online firmware upgrading Download PDF

Info

Publication number
WO2019237438A1
WO2019237438A1 PCT/CN2018/094334 CN2018094334W WO2019237438A1 WO 2019237438 A1 WO2019237438 A1 WO 2019237438A1 CN 2018094334 W CN2018094334 W CN 2018094334W WO 2019237438 A1 WO2019237438 A1 WO 2019237438A1
Authority
WO
WIPO (PCT)
Prior art keywords
electronic device
firmware
upgrade
server
terminal device
Prior art date
Application number
PCT/CN2018/094334
Other languages
French (fr)
Chinese (zh)
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 WO2019237438A1 publication Critical patent/WO2019237438A1/en

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
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/325Display of status information by lamps or LED's
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Definitions

  • the invention relates to the field of information transmission, in particular to a system, an electronic device and a method for upgrading firmware online.
  • each electronic device needs to be connected to the Internet one by one to download the latest firmware.
  • the number of electronic devices to be upgraded is large, it will cause The upgrade takes a long time, and it is easy to miss the upgrade of one or some electronic devices.
  • the technical problem to be solved by the present invention is to provide a system, an electronic device, and a method for upgrading firmware online, in view of the defects that the software is incompatible easily when upgrading firmware through third-party software manipulation in the prior art.
  • the technical solution adopted by the present invention to solve its technical problems is to construct a method for upgrading firmware online for upgrading the firmware of an electronic device, and perform the following steps:
  • it further comprises:
  • the present invention also constructs a method for upgrading firmware online for upgrading the firmware of an electronic device in the system.
  • the electronic device includes a first electronic device and a plurality of second electronic devices.
  • the first electronic device performs the following steps:
  • First pairing step pairing with at least one second electronic device
  • Display step receiving an upgrade interface entry instruction input by a user through a terminal device, and displaying the first electronic device and the second electronic device successfully paired with the first electronic device on the terminal device according to the upgrade interface entry instruction.
  • Device information including a local firmware version number and a server firmware version number, wherein the terminal device controls the embedded webpage of the first electronic device through a communication connection with the first electronic device ;
  • First upgrade step receiving, by the terminal device, the second electronic device to be upgraded determined by the user, and sending the server-side firmware version number corresponding to the second electronic device to be upgraded to the corresponding second electronic device, so that the first The two electronic devices download the corresponding version of the second electronic device firmware from the server.
  • the first upgrading step further includes:
  • the method further includes:
  • the first prompt step when the upgrade is successful, a prompt message is output.
  • the invention also constructs a method for upgrading firmware online, which is used to upgrade the firmware of an electronic device in the system.
  • the electronic device includes a first electronic device and a plurality of second electronic devices.
  • the second electronic device performs the following steps:
  • a second pairing step pairing with the first electronic device
  • Second upgrade step receiving the corresponding server-side firmware version number from the first electronic device, and downloading the corresponding version of the second electronic device firmware from the server, wherein the first electronic device receives the upgrade input by the user through the terminal device Interface entry instruction, and according to the upgrade interface entry instruction, display device information of the first electronic device and the second electronic device successfully paired with the first electronic device on the terminal device, and then receive the user's determination through the terminal device
  • the second electronic device to be upgraded and sends the server-side firmware version number corresponding to the second electronic device to be upgraded to the corresponding second electronic device, and the device information includes the local-side firmware version number and the server-side firmware A version number, the terminal device controls the embedded webpage of the first electronic device through a communication connection with the first electronic device;
  • it further comprises:
  • the second prompt step when the upgrade is successful, a prompt message is output.
  • the second pairing step includes:
  • the pairing document includes an SSID of the first electronic device
  • the pairing document further includes identification information and / or password information of the first electronic device
  • the AP accessing the first electronic device includes:
  • the receiving a paired document includes:
  • the present invention also constructs an electronic device including a first memory and a first processor.
  • the first memory stores a computer program
  • the first processor is configured to execute the computer program stored in the first memory and implement the above. The method described.
  • the present invention also constructs an electronic device including a second memory and a second processor.
  • the second memory stores a computer program
  • the second processor is configured to execute the computer program stored in the second memory and implement the above. The method described.
  • the present invention also constructs an electronic device including a third memory and a third processor.
  • the third memory stores a computer program
  • the third processor is configured to execute a computer stored in the third memory. Program and implement the method described above.
  • the present invention also constructs a system, which is characterized in that it includes a first electronic device and at least one second electronic device, and the first electronic device is the electronic device described above, and the second electronic device is the above device. Electronic device described above.
  • the embedded webpage in the electronic device is used to upgrade the firmware of the electronic device, and it is no longer necessary to upgrade by manipulating third-party software, thereby avoiding software compatibility problems.
  • FIG. 1 is a flowchart of a first embodiment of a method for upgrading firmware online according to the present invention
  • FIG. 2 is a flowchart of a second embodiment of a method for upgrading firmware online according to the present invention
  • FIG. 3 is a schematic diagram of an embedded webpage of a first electronic device of the present invention.
  • FIG. 5 is a flowchart of a third embodiment of a method for upgrading firmware online according to the present invention.
  • FIG. 6 is a flowchart of the first embodiment of step S31 in FIG. 5.
  • FIG. 1 is a flowchart of a first embodiment of a method for upgrading firmware online according to the present invention.
  • the method in this embodiment can upgrade the firmware of an electronic device.
  • the first description is that the electronic device has a network module and can be connected to the server. For example, , Get the latest firmware version number from the server, and download the latest firmware from the server.
  • the electronic device includes an embedded webpage, and one of the functions of the embedded webpage is firmware upgrade.
  • the user can connect the electronic device to other terminal devices (such as PC, smart phone, PAD, etc.) through the Ethernet network or wireless network, and use the terminal device to control the embedded webpage of the electronic device, thereby controlling the electronic device. Functions.
  • the method for upgrading firmware online includes the following steps:
  • S12 Receive an upgrade interface entry instruction input by a user through a terminal device, and display device information of the electronic device on the terminal device according to the upgrade interface entry instruction, where the device information includes a local firmware version number, a server side Firmware version number;
  • the embedded webpage in the electronic device is used to upgrade the firmware of the electronic device, and it is no longer necessary to upgrade by manipulating third-party software, thereby avoiding the problem of software compatibility.
  • an LED indicator can be set on the electronic device, and after downloading and updating the firmware is completed, the LED indicator can be controlled to blink.
  • the present invention also constructs an electronic device including a first memory and a first processor.
  • the first memory stores a computer program
  • the first processor is configured to execute the computer program stored in the first memory and implement the above-mentioned online firmware upgrade. method. It should be noted here that in a system including a first electronic device and a plurality of second electronic devices, both the first electronic device and the second electronic device may include a first memory and a first processor. .
  • FIG. 2 is a flowchart of a second embodiment of a method for upgrading firmware online according to the present invention.
  • the first description is that a system may include a first electronic device and a plurality of second electronic devices. For example, it is used for conference collaboration.
  • the projection system includes an RX device (first electronic device) and multiple TX devices (second electronic device).
  • the TX device sends image data to the RX device through a wireless network, and the RX device is responsible for receiving the image transmitted by the TX device.
  • the data is output to the projection device for playback.
  • the first electronic device includes an embedded webpage
  • the user can connect the first electronic device to other terminal devices (such as a PC, smartphone, PAD, etc.) through an Ethernet network or a wireless network, and use the terminal device to control the first electronic device.
  • An embedded webpage of an electronic device so that functions on the first electronic device and the second electronic device can be controlled.
  • One of the functions of the embedded webpage is firmware upgrade. Of course, it can also include other functions, such as: setting the webpage language; setting the resolution of the output image signal; changing the device name and password; and so on.
  • the first electronic device includes the following steps:
  • First pairing step pairing with at least one second electronic device
  • the device information includes the local firmware version number and the server firmware version number. Of course, it also includes device identification information. If it is a second electronic device, it also includes the IP of the second electronic device.
  • the terminal device controls the embedded webpage of the first electronic device through a communication connection with the first electronic device;
  • the first upgrade step receiving the second electronic device to be upgraded determined by the user through the terminal device, and sending the server-side firmware version number corresponding to the second electronic device to be upgraded to the corresponding second electronic device, so that all The second electronic device downloads the corresponding version of the second electronic device firmware from the server.
  • the user can click the corresponding electronic device Upgrade control for the device.
  • the user can click the corresponding upgrade controls one by one or click the all upgraded controls to upgrade the firmware of all the upgradeable electronic devices.
  • the first electronic device and the plurality of second electronic devices are first paired, and then the first electronic device may be used.
  • Embedded webpage to upgrade the firmware of the second electronic device, and it is no longer necessary to upgrade by manipulating third-party software, thereby avoiding software compatibility problems.
  • step S23 if the electronic device to be upgraded includes both the second electronic device and the first electronic device, the following steps may be performed in conjunction with FIG. 4:
  • S233 Receive the upgrade progress information returned by the second electronic device, and determine whether the upgrade of the second electronic device is successful;
  • the TX device (second electronic device) will report the upgrading progress to the first electronic device in real time during the upgrading process.
  • the upgrading progress may also be displayed in the form of a progress bar.
  • the embedded webpage in the first electronic device can be used to upgrade the firmware of the first electronic device and the second electronic device.
  • the network between the second electronic device and the first electronic device is interrupted, so that the second electronic device The firmware download is incomplete, so it is necessary to wait until the firmware download of the second electronic device is completed before updating the firmware of the first electronic device.
  • step S23 further includes:
  • an LED indicator can be set on the electronic device, and after downloading and updating the firmware is completed, the LED indicator can be controlled to blink.
  • FIG. 5 is a flowchart of a third embodiment of a method for upgrading firmware online according to the present invention.
  • the first description is that a system may include a first electronic device and a plurality of second electronic devices. For example, it is used for conference collaboration.
  • the projection system includes an RX device (first electronic device) and multiple TX devices (second electronic device).
  • the TX device sends image data to the RX device through a wireless network.
  • the RX device is responsible for receiving the image transmitted by the TX device.
  • the data is output to the projection device for playback.
  • the first electronic device includes an embedded webpage
  • the user can connect the first electronic device to other terminal devices (such as a PC, smartphone, PAD, etc.) through an Ethernet network or a wireless network, and use the terminal device to control the first electronic device.
  • An embedded webpage of an electronic device so that functions on the first electronic device and the second electronic device can be controlled.
  • One of the functions of the embedded webpage is firmware upgrade. Of course, it can also include other functions, such as: setting the webpage language; setting the resolution of the output image signal; changing the device name and password; and so on.
  • the second electronic device includes the following steps:
  • the second pairing step pairing with the first electronic device
  • Second upgrading step receiving the corresponding server-side firmware version number from the first electronic device, and downloading the corresponding version of the second electronic device firmware from the server side, wherein the first electronic device receives user input through the terminal device
  • the upgrade interface entry instruction and according to the upgrade interface entry instruction, display device information of the first electronic device and the second electronic device successfully paired with the first electronic device on the terminal device, and then receive through the terminal device
  • the user determines the second electronic device to be upgraded, and sends the server-side firmware version number corresponding to the second electronic device to be upgraded to the corresponding second electronic device, and the device information includes the local firmware version number, the server Terminal firmware version number, the terminal device controls the embedded webpage of the first electronic device through a communication connection with the first electronic device;
  • the first electronic device and the plurality of second electronic devices are first paired, and then the first electronic device may be used.
  • Embedded webpage to upgrade the firmware of the second electronic device, and it is no longer necessary to upgrade by manipulating third-party software, thereby avoiding software compatibility problems.
  • the second prompt step when the upgrade is successful, a prompt message is output.
  • an LED indicator can be set on the electronic device, and after downloading and updating the firmware is completed, the LED indicator can be controlled to blink.
  • step S31 includes the following steps:
  • the second electronic device receives the pairing document and obtains the SSID information of the first electronic device. Moreover, at startup, a WIFI scan is performed, and the scan result is compared with the SSID in the pairing document. If the match is successful, the AP of the first electronic device is connected to complete the pairing.
  • the pairing document further includes identification information and / or password information of the first electronic device.
  • the SSID matches successfully, it is further determined whether the identification information and / or password information in the pairing document match according to the scanning result. Only when the password information matches successfully, the AP of the first electronic device is accessed.
  • the paired document is received through a USB cable.
  • the USB cable on the second electronic device is directly connected to the USB port of the first electronic device.
  • the first electronic device After the first electronic device is powered on, it will first determine whether the connected USB device is a second electronic device. If so, a pairing file will be copied to the connected second electronic device.
  • the pairing file contains the first electronic device.
  • the device information of the device is specifically: category, uuid (unique identifier), device name, SSID, wireless encryption mechanism, encrypted online password, etc.
  • the second electronic device uses the wireless network to find whether there is a first electronic device with the same pairing document nearby in the wireless network when starting up, thereby completing the pairing of the first electronic device and the second electronic device.
  • the indicator on the second electronic device or the "Pairing" displayed on the OSD screen of the first electronic device turns OK, the pairing is completed.
  • the paired document is received through the mobile device.
  • the embedded webpage of the first electronic device has a function of downloading a paired document
  • the embedded webpage of the second electronic device has a function of uploading a paired document.
  • the terminal device is used to download the pairing file from the first electronic device, and then the AP of the second electronic device is turned on, and the terminal device is connected to the AP of the second electronic device to enable the embedding of the second electronic device.
  • Webpage enter the paired document upload interface, click upload control (upload), and upload the downloaded paired document in advance.
  • step S311 the paired document is received through a USB flash drive. Specifically: a USB flash drive is inserted into the first electronic device, and a function key is pressed. At this time, the paired document stored in advance in the first electronic device is copied to the USB flash drive. Then, insert the USB flash drive into the second electronic device and set the second electronic device as a slave device. At this time, the paired file stored in the USB flash drive is also copied to the second electronic device. When the pairing is completed, the indicator of the first electronic device will turn white.
  • step S311 the paired document is received through a USB flash drive.
  • a USB disk is inserted into a USB interface of a terminal device (for example, a PC).
  • the paired file can be downloaded to the USB disk through the embedded webpage of the first electronic device.
  • insert the U disk into the second electronic device the second electronic device downloads the pairing file from the U disk to complete the pairing.
  • step S31 may also be performed in the following manner: First, the second electronic device also includes an embedded webpage.
  • the user can connect the second electronic device to another terminal device (such as a PC, smartphone, PAD, etc.) through an Ethernet network or a wireless network, and enter the first electronic device in the second electronic device through the terminal device.
  • SSID and then enter the password if necessary to connect the second electronic device to the AP of the first electronic device to complete the pairing.
  • pairing is performed through WIFI.
  • pairing may also be performed through Bluetooth. Specifically: Press the pairing button on the first electronic device and enter the Bluetooth pairing mode, and then press the main + side button on the second electronic device to enter the pairing mode. Then, the second electronic device scans the first nearby device. Electronic device for Bluetooth connection.
  • the invention also constructs a system including a first electronic device and at least one second electronic device.
  • the present invention also constructs an electronic device.
  • the first electronic device in the system includes a second memory and a second processor.
  • the second memory stores a computer program
  • the second processor is configured to execute the second memory stored in the second memory.
  • the computer program implements the method for upgrading firmware online shown in FIG. 4 above.
  • the present invention also constructs an electronic device.
  • the second electronic device in the system includes a third memory and a third processor.
  • the third memory stores a computer program
  • the third processor is used for The method for executing the computer program stored in the third memory and implementing the online firmware upgrade shown in FIG. 5 above.

Landscapes

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

Abstract

A system, an electronic device, and a method for online firmware upgrading. The method for online firmware upgrading comprises: commucatively connecting with a terminal device, thus allowing the terminal device to control an embedded webpage of the electronic device (S11); receiving via the terminal device an upgrade interface entering instruction inputted by a user and displaying device information of the electronic device on the terminal device on the basis of the upgrade interface entering instruction, the device information comprising a local-side firmware version number and a server-side firmware version number (S12); receiving via the terminal device an upgrade instruction inputted by the user and downloading a corresponding version of electronic device firmware from a server side on the basis of the upgrade instruction (S13). With the method implemented, the embedded webpage in the electronic device is utilized to upgrade the firmware of the electronic device, and the need to control third-party software for an upgrade is obviated, thus avoiding the problem of software incompatibility.

Description

系统、电子设备及在线升级固件的方法System, electronic equipment and method for upgrading firmware online 技术领域Technical field
本发明涉及信息传输领域,尤其涉及一种系统、电子设备及在线升级固件的方法。The invention relates to the field of information transmission, in particular to a system, an electronic device and a method for upgrading firmware online.
背景技术Background technique
由于对电子设备可靠性、更新换代等要求的提高,电子设备在使用过程中需要对其固件进行升级,以满足电子设备新的需求或解决使用过程中出现的问题。Due to the increased requirements for the reliability and updating of electronic equipment, the firmware of electronic equipment needs to be upgraded during use to meet new requirements of electronic equipment or to solve problems that occur during use.
在现有技术中,电子设备需要通过第三方软件的操控来升级固件,但这样的话,不但需要用户安装额外的第三方软件,而且,由于每台电子设备上的OS类型/版本并不完全相同,并无法预知第三方软件会安装在什么电子设备上,因此,有极大可能发生软件无法安装或不支持的情况,从而出现软件兼容的问题。In the prior art, electronic devices need to be controlled by third-party software to upgrade the firmware, but in this case, not only does the user need to install additional third-party software, but because the OS type / version on each electronic device is not exactly the same , It is impossible to predict what electronic device the third-party software will be installed on. Therefore, there is a great possibility that the software cannot be installed or is not supported, resulting in a software compatibility problem.
而且,当一个系统中有多个电子设备都需要进行固件升级时,需要将每台电子设备逐一连接因特网去下载最新版本的固件,这样的话,如果需升级的电子设备的数量较多,将导致升级的耗时较长,而且,很容易漏掉某个或某些电子设备的升级。In addition, when multiple electronic devices in a system need to be upgraded, each electronic device needs to be connected to the Internet one by one to download the latest firmware. In this case, if the number of electronic devices to be upgraded is large, it will cause The upgrade takes a long time, and it is easy to miss the upgrade of one or some electronic devices.
发明内容Summary of the Invention
本发明要解决的技术问题在于,针对现有技术中存在通过第三方软件操控来升级固件时容易出现软件不兼容的缺陷,提供一种系统、电子设备及在线升级固件的方法。The technical problem to be solved by the present invention is to provide a system, an electronic device, and a method for upgrading firmware online, in view of the defects that the software is incompatible easily when upgrading firmware through third-party software manipulation in the prior art.
本发明解决其技术问题所采用的技术方案是:构造一种在线升级固件的方法,用于对电子设备的固件进行升级,进行以下步骤:The technical solution adopted by the present invention to solve its technical problems is to construct a method for upgrading firmware online for upgrading the firmware of an electronic device, and perform the following steps:
与终端设备通讯连接,以使所述终端设备可对所述电子设备的嵌入式网页进行操控;Communicate with a terminal device so that the terminal device can control the embedded webpage of the electronic device;
通过终端设备接收用户输入的升级界面进入指令,并根据所述升级界面进入指令在所述终端设备上显示所述电子设备的设备信息,所述设备信息包括本地端固件版本号、服务器端固件版本号;Receive an upgrade interface entry instruction input by a user through a terminal device, and display device information of the electronic device on the terminal device according to the upgrade interface entry instruction, where the device information includes a local firmware version number and a server firmware version number;
通过终端设备接收用户输入的升级指令,并根据所述升级指令从服务器端下载相应版本的电子设备固件。Receive the upgrade instruction input by the user through the terminal device, and download the corresponding version of the electronic device firmware from the server according to the upgrade instruction.
优选地,还包括:Preferably, it further comprises:
在升级成功时,输出提示信息。When the upgrade is successful, a prompt message is output.
本发明还构造一种在线升级固件的方法,用于对系统中的电子设备的固件进行升级,所述电子设备包括第一电子设备及多个第二电子设备,第一电子设备进行以下步骤:The present invention also constructs a method for upgrading firmware online for upgrading the firmware of an electronic device in the system. The electronic device includes a first electronic device and a plurality of second electronic devices. The first electronic device performs the following steps:
第一配对步骤:与至少一个第二电子设备进行配对;First pairing step: pairing with at least one second electronic device;
显示步骤:通过终端设备接收用户输入的升级界面进入指令,并根据所述升级界面进入指令在所述终端设备上显示第一电子设备及与所述第一电子设备配对成功的第二电子设备的设备信息,所述设备信息包括本地端固件版本号、服务器端固件版本号,其中,所述终端设备通过与所述第一电子设备通讯连接来对所述第一电子设备的嵌入式网页进行操控;Display step: receiving an upgrade interface entry instruction input by a user through a terminal device, and displaying the first electronic device and the second electronic device successfully paired with the first electronic device on the terminal device according to the upgrade interface entry instruction. Device information, the device information including a local firmware version number and a server firmware version number, wherein the terminal device controls the embedded webpage of the first electronic device through a communication connection with the first electronic device ;
第一升级步骤:通过终端设备接收用户确定的待升级的第二电子设备,并将待升级的第二电子设备所对应的服务器端固件版本号发送至相应第二电子设备,以使所述第二电子设备从服务器端下载相应版本的第二电子设备固件。First upgrade step: receiving, by the terminal device, the second electronic device to be upgraded determined by the user, and sending the server-side firmware version number corresponding to the second electronic device to be upgraded to the corresponding second electronic device, so that the first The two electronic devices download the corresponding version of the second electronic device firmware from the server.
优选地,所述第一升级步骤还包括:Preferably, the first upgrading step further includes:
通过终端设备接收用户确定的待升级的第一电子设备及第二电子设备;Receiving the first electronic device and the second electronic device to be upgraded determined by the user through a terminal device;
将待升级的第二电子设备所对应的服务器端固件版本号发送至相应第二电子设备,以使所述第二电子设备从服务器端下载相应版本的第二电子设备固件;Sending the server-side firmware version number corresponding to the second electronic device to be upgraded to the corresponding second electronic device, so that the second electronic device downloads the corresponding version of the second electronic device firmware from the server;
接收所述第二电子设备返回的升级进度信息,并判断所述第二电子设备是否升级成功;Receiving the upgrade progress information returned by the second electronic device, and determining whether the upgrade of the second electronic device is successful;
若所确定的所有第二电子设备都升级成功,则从服务器端下载相应版本的第一电子设备固件。If all the determined second electronic devices are successfully upgraded, download the corresponding version of the first electronic device firmware from the server.
优选地,在所述第一升级步骤之后,还包括:Preferably, after the first upgrading step, the method further includes:
第一提示步骤:在升级成功时,输出提示信息。The first prompt step: when the upgrade is successful, a prompt message is output.
本发明还构造一种在线升级固件的方法,用于对系统中的电子设备的固件进行升级,所述电子设备包括第一电子设备及多个第二电子设备,第二电子设备进行以下步骤:The invention also constructs a method for upgrading firmware online, which is used to upgrade the firmware of an electronic device in the system. The electronic device includes a first electronic device and a plurality of second electronic devices. The second electronic device performs the following steps:
第二配对步骤:与第一电子设备进行配对;A second pairing step: pairing with the first electronic device;
第二升级步骤:从所述第一电子设备接收所对应的服务器端固件版本号,并从服务器端下载相应版本的第二电子设备固件,其中,第一电子设备通过终端设备接收用户输入的升级界面进入指令,并根据所述升级界面进入指令在所述终端设备上显示第一电子设备及与所述第一电子设备配对成功的第二 电子设备的设备信息,然后,通过终端设备接收用户确定的待升级的第二电子设备,并将待升级的第二电子设备所对应的服务器端固件版本号发送至相应第二电子设备,而且,所述设备信息包括本地端固件版本号、服务器端固件版本号,所述终端设备通过与所述第一电子设备通讯连接来对所述第一电子设备的嵌入式网页进行操控;Second upgrade step: receiving the corresponding server-side firmware version number from the first electronic device, and downloading the corresponding version of the second electronic device firmware from the server, wherein the first electronic device receives the upgrade input by the user through the terminal device Interface entry instruction, and according to the upgrade interface entry instruction, display device information of the first electronic device and the second electronic device successfully paired with the first electronic device on the terminal device, and then receive the user's determination through the terminal device The second electronic device to be upgraded, and sends the server-side firmware version number corresponding to the second electronic device to be upgraded to the corresponding second electronic device, and the device information includes the local-side firmware version number and the server-side firmware A version number, the terminal device controls the embedded webpage of the first electronic device through a communication connection with the first electronic device;
返回步骤:将升级进度信息返回至所述第一电子设备。Returning step: returning the upgrade progress information to the first electronic device.
优选地,还包括:Preferably, it further comprises:
第二提示步骤:在升级成功时,输出提示信息。The second prompt step: when the upgrade is successful, a prompt message is output.
优选地,所述第二配对步骤包括:Preferably, the second pairing step includes:
接收配对文档,所述配对文档包括第一电子设备的SSID;Receiving a pairing document, where the pairing document includes an SSID of the first electronic device;
进行WIFI扫描,并将扫描结果与所述配对文档中的SSID进行匹配;Perform a WIFI scan, and match the scan result with the SSID in the paired document;
若匹配成功,则接入所述第一电子设备的AP,以完成配对。If the matching is successful, access the AP of the first electronic device to complete pairing.
优选地,所述配对文档还包括第一电子设备的标识信息和/或密码信息,而且,所述接入所述第一电子设备的AP包括:Preferably, the pairing document further includes identification information and / or password information of the first electronic device, and the AP accessing the first electronic device includes:
根据扫描结果判断所述配对文档中的标识信息和/或密码信息是否匹配;Determining whether the identification information and / or the password information in the paired document match according to the scan result;
若匹配成功,则接入所述第一电子设备的AP。If the matching is successful, access the AP of the first electronic device.
优选地,所述接收配对文档,包括:Preferably, the receiving a paired document includes:
通过USB线缆、U盘或终端设备接收配对文档。Receive paired documents via USB cable, USB flash drive, or terminal device.
本发明还构造一种电子设备,包括第一存储器和第一处理器,所述第一存储器存储有计算机程序,所述第一处理器用于执行所述第一存储器中存储的计算机程序并实现以上所述的方法。The present invention also constructs an electronic device including a first memory and a first processor. The first memory stores a computer program, and the first processor is configured to execute the computer program stored in the first memory and implement the above. The method described.
本发明还构造一种电子设备,包括第二存储器和第二处理器,所述第二存储器存储有计算机程序,所述第二处理器用于执行所述第二存储器中存储 的计算机程序并实现以上所述的方法。The present invention also constructs an electronic device including a second memory and a second processor. The second memory stores a computer program, and the second processor is configured to execute the computer program stored in the second memory and implement the above. The method described.
本发明还构造一种电子设备,包括第三存储器和第三处理器,所述第三存储器存储有计算机程序,其特征在于,所述第三处理器用于执行所述第三存储器中存储的计算机程序并实现以上所述的方法。The present invention also constructs an electronic device including a third memory and a third processor. The third memory stores a computer program, and the third processor is configured to execute a computer stored in the third memory. Program and implement the method described above.
本发明还构造一种系统,其特征在于,包括第一电子设备及至少一个第二电子设备,而且,所述第一电子设备为以上所述的电子设备,所述第二电子设备为以上所述的电子设备。The present invention also constructs a system, which is characterized in that it includes a first electronic device and at least one second electronic device, and the first electronic device is the electronic device described above, and the second electronic device is the above device. Electronic device described above.
实施本发明的技术方案,利用电子设备中的嵌入式网页来对电子设备的固件进行升级,不再需通过操控第三方软件来升级,从而可避免软件兼容性的问题。By implementing the technical solution of the present invention, the embedded webpage in the electronic device is used to upgrade the firmware of the electronic device, and it is no longer necessary to upgrade by manipulating third-party software, thereby avoiding software compatibility problems.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本发明实施例,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。附图中:In order to explain the embodiments of the present invention more clearly, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. Technical personnel can obtain other drawings based on these drawings without paying creative labor. In the drawings:
图1是本发明在线升级固件的方法实施例一的流程图;FIG. 1 is a flowchart of a first embodiment of a method for upgrading firmware online according to the present invention; FIG.
图2是本发明在线升级固件的方法实施例二的流程图;2 is a flowchart of a second embodiment of a method for upgrading firmware online according to the present invention;
图3是本发明第一电子设备的嵌入式网页的示意图;3 is a schematic diagram of an embedded webpage of a first electronic device of the present invention;
图4是图2中步骤S23实施例一的流程图;4 is a flowchart of Embodiment 1 of step S23 in FIG. 2;
图5是本发明在线升级固件的方法实施例三的流程图;5 is a flowchart of a third embodiment of a method for upgrading firmware online according to the present invention;
图6是图5中步骤S31实施例一的流程图。FIG. 6 is a flowchart of the first embodiment of step S31 in FIG. 5.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In the following, the technical solutions in the embodiments of the present invention will be clearly and completely described with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
图1是本发明在线升级固件的方法实施例一的流程图,该实施例的方法可对电子设备的固件进行升级,首先说明的是,电子设备具有网络模块,可与服务器端通讯连接,例如,从服务器端获取最新的固件版本号,而且,可从服务器端下载最新版本的固件。另外,电子设备内包括嵌入式网页,该嵌入式网页的其中一项功能为固件升级。而且,用户可将该电子设备通过以太网络或者无线网络连上其它的终端设备(例如PC、智能手机、PAD等),并利用该终端设备操控电子设备的嵌入式网页,从而可控制电子设备上的功能。在该实施例中,在线升级固件的方法包括以下步骤:FIG. 1 is a flowchart of a first embodiment of a method for upgrading firmware online according to the present invention. The method in this embodiment can upgrade the firmware of an electronic device. The first description is that the electronic device has a network module and can be connected to the server. For example, , Get the latest firmware version number from the server, and download the latest firmware from the server. In addition, the electronic device includes an embedded webpage, and one of the functions of the embedded webpage is firmware upgrade. Moreover, the user can connect the electronic device to other terminal devices (such as PC, smart phone, PAD, etc.) through the Ethernet network or wireless network, and use the terminal device to control the embedded webpage of the electronic device, thereby controlling the electronic device. Functions. In this embodiment, the method for upgrading firmware online includes the following steps:
S11.与终端设备通讯连接,以使所述终端设备可对所述电子设备的嵌入式网页进行操控;S11. Communicate with the terminal device, so that the terminal device can control the embedded webpage of the electronic device;
S12.通过终端设备接收用户输入的升级界面进入指令,并根据所述升级界面进入指令在所述终端设备上显示所述电子设备的设备信息,所述设备信息包括本地端固件版本号、服务器端固件版本号;S12. Receive an upgrade interface entry instruction input by a user through a terminal device, and display device information of the electronic device on the terminal device according to the upgrade interface entry instruction, where the device information includes a local firmware version number, a server side Firmware version number;
S13.通过终端设备接收用户输入的升级指令,并根据所述升级指令从服务器端下载相应版本的电子设备固件。S13. Receive the upgrade instruction input by the user through the terminal device, and download the corresponding version of the electronic device firmware from the server according to the upgrade instruction.
通过实施该实施例的技术方案,利用电子设备中的嵌入式网页来对电子设备的固件进行升级,不再需通过操控第三方软件来升级,从而可避免软件兼容性的问题。By implementing the technical solution of this embodiment, the embedded webpage in the electronic device is used to upgrade the firmware of the electronic device, and it is no longer necessary to upgrade by manipulating third-party software, thereby avoiding the problem of software compatibility.
在一个可选实施例中,进一步地,还包括:In an optional embodiment, further comprising:
在升级成功时,输出提示信息。When the upgrade is successful, a prompt message is output.
在该实施例中,可在电子设备上设置LED指示灯,当完成固件的下载和更新后,可控制该LED指示灯进行闪烁。In this embodiment, an LED indicator can be set on the electronic device, and after downloading and updating the firmware is completed, the LED indicator can be controlled to blink.
另外,本发明还构造一种电子设备,包括第一存储器和第一处理器,第一存储器存储有计算机程序,第一处理器用于执行第一存储器中存储的计算机程序并实现上述在线升级固件的方法。在此需说明的是,在一包含一个第一电子设备及多个第二电子设备的系统中,不管是第一电子设备,还是第二电子设备,都可包括第一存储器和第一处理器。In addition, the present invention also constructs an electronic device including a first memory and a first processor. The first memory stores a computer program, and the first processor is configured to execute the computer program stored in the first memory and implement the above-mentioned online firmware upgrade. method. It should be noted here that in a system including a first electronic device and a plurality of second electronic devices, both the first electronic device and the second electronic device may include a first memory and a first processor. .
图2是本发明在线升级固件的方法实施例二的流程图,首先说明的是,在一个系统中,可包括有一个第一电子设备及多个第二电子设备,例如,在用于会议协作的投影系统中,包括有RX设备(第一电子设备)和多个TX设备(第二电子设备),而且,TX设备通过无线网络发送影像数据给RX设备,RX设备负责接收TX设备传送的影像数据并输出至投影设备进行播放。另外,第一电子设备内包括嵌入式网页,用户可将该第一电子设备通过以太网络或者无线网络连上其它的终端设备(例如PC、智能手机、PAD等),并利用该终端设备操控第一电子设备的嵌入式网页,从而可控制第一电子设备和第二电子设备上的功能。该嵌入式网页的其中一项功能为固件升级,当然,还可包括其它功能,例如:设置网页语言;设置输出影像信号的分辨率;修改设备名称、密码;等等。FIG. 2 is a flowchart of a second embodiment of a method for upgrading firmware online according to the present invention. The first description is that a system may include a first electronic device and a plurality of second electronic devices. For example, it is used for conference collaboration. The projection system includes an RX device (first electronic device) and multiple TX devices (second electronic device). In addition, the TX device sends image data to the RX device through a wireless network, and the RX device is responsible for receiving the image transmitted by the TX device. The data is output to the projection device for playback. In addition, the first electronic device includes an embedded webpage, and the user can connect the first electronic device to other terminal devices (such as a PC, smartphone, PAD, etc.) through an Ethernet network or a wireless network, and use the terminal device to control the first electronic device. An embedded webpage of an electronic device, so that functions on the first electronic device and the second electronic device can be controlled. One of the functions of the embedded webpage is firmware upgrade. Of course, it can also include other functions, such as: setting the webpage language; setting the resolution of the output image signal; changing the device name and password; and so on.
在该实施例的在线升级固件的方法中,第一电子设备包括以下步骤:In the method for upgrading firmware online in this embodiment, the first electronic device includes the following steps:
S21.第一配对步骤:与至少一个第二电子设备进行配对;S21. First pairing step: pairing with at least one second electronic device;
S22.显示步骤:通过终端设备接收用户输入的升级界面进入指令,并根据 所述升级界面进入指令在所述终端设备上显示第一电子设备及与所述第一电子设备配对成功的第二电子设备的设备信息,所述设备信息包括本地端固件版本号、服务器端固件版本号,当然,还包括有设备标识信息,如果是第二电子设备,还包括有该第二电子设备的IP,其中,所述终端设备通过与所述第一电子设备通讯连接来对所述第一电子设备的嵌入式网页进行操控;S22. Display step: receiving an upgrade interface entry instruction input by a user through a terminal device, and displaying the first electronic device and the second electronic device successfully paired with the first electronic device on the terminal device according to the upgrade interface entry instruction. The device information of the device. The device information includes the local firmware version number and the server firmware version number. Of course, it also includes device identification information. If it is a second electronic device, it also includes the IP of the second electronic device. , The terminal device controls the embedded webpage of the first electronic device through a communication connection with the first electronic device;
S23.第一升级步骤:通过终端设备接收用户确定的待升级的第二电子设备,并将待升级的第二电子设备所对应的服务器端固件版本号发送至相应第二电子设备,以使所述第二电子设备从服务器端下载相应版本的第二电子设备固件。S23. The first upgrade step: receiving the second electronic device to be upgraded determined by the user through the terminal device, and sending the server-side firmware version number corresponding to the second electronic device to be upgraded to the corresponding second electronic device, so that all The second electronic device downloads the corresponding version of the second electronic device firmware from the server.
在该步骤中,对于某个电子设备,若其本地端固件版本号与服务器端固件版本号不一致,则可确定该电子设备有必要进行固件升级,此时,结合图3,用户可点击相应电子设备的升级控件(Upgrade)。当有多个电子设备都需要进行固件升级时,用户可逐一点击相应的升级控件,也可点击全部升级的控件,以对所有可升级的电子设备进行固件升级。In this step, for an electronic device, if the local firmware version number of the electronic device is inconsistent with the server firmware version number, it can be determined that the electronic device needs a firmware upgrade. At this time, in conjunction with FIG. 3, the user can click the corresponding electronic device Upgrade control for the device. When there are multiple electronic devices that need to be upgraded, the user can click the corresponding upgrade controls one by one or click the all upgraded controls to upgrade the firmware of all the upgradeable electronic devices.
实施该实施例的技术方案,在一个包含第一电子设备及多个第二电子设备的系统中,首先将第一电子设备及多个第二电子设备进行配对,然后可利用第一电子设备中的嵌入式网页来对第二电子设备的固件进行升级,不再需通过操控第三方软件来升级,从而可避免软件兼容性的问题。To implement the technical solution of this embodiment, in a system including a first electronic device and a plurality of second electronic devices, the first electronic device and the plurality of second electronic devices are first paired, and then the first electronic device may be used. Embedded webpage to upgrade the firmware of the second electronic device, and it is no longer necessary to upgrade by manipulating third-party software, thereby avoiding software compatibility problems.
在一个优选实施例中,在步骤S23中,若需要升级的电子设备既包括第二电子设备又包括第一电子设备,则可结合图4进行以下步骤:In a preferred embodiment, in step S23, if the electronic device to be upgraded includes both the second electronic device and the first electronic device, the following steps may be performed in conjunction with FIG. 4:
S231.通过终端设备接收用户确定的待升级的第一电子设备及第二电子设备;S231. Receive the first electronic device and the second electronic device to be upgraded determined by the user through the terminal device;
S232.将待升级的第二电子设备所对应的服务器端固件版本号发送至相应 第二电子设备,以使所述第二电子设备从服务器端下载相应版本的第二电子设备固件;S232. Send the server-side firmware version number corresponding to the second electronic device to be upgraded to the corresponding second electronic device, so that the second electronic device downloads the corresponding version of the second electronic device firmware from the server;
S233.接收所述第二电子设备返回的升级进度信息,并判断所述第二电子设备是否升级成功;S233. Receive the upgrade progress information returned by the second electronic device, and determine whether the upgrade of the second electronic device is successful;
在该步骤中,结合图3,TX设备(第二电子设备)在升级的过程中,会实时向第一电子设备汇报升级进度(Updating),当然,也可用进度条的形式展示升级进度。In this step, in conjunction with FIG. 3, the TX device (second electronic device) will report the upgrading progress to the first electronic device in real time during the upgrading process. Of course, the upgrading progress may also be displayed in the form of a progress bar.
S234.若所确定的所有第二电子设备都升级成功,则从服务器端下载相应版本的第一电子设备固件。S234. If all the determined second electronic devices are successfully upgraded, download the corresponding version of the first electronic device firmware from the server.
实施该实施例的技术方案,当第一电子设备及多个第二电子设备进行配对后,可利用第一电子设备中的嵌入式网页来对第一电子设备及第二电子设备的固件进行升级。另外,由于每个电子设备在升级后会进行强制重启,为避免第一电子设备因升级成功后的重启而导致第二电子设备与第一电子设备之间的网络中断,从而使得第二电子设备的固件下载不全,所以,必需等第二电子设备的固件下载完成后才开始更新第一电子设备的固件。After implementing the technical solution of this embodiment, after the first electronic device and a plurality of second electronic devices are paired, the embedded webpage in the first electronic device can be used to upgrade the firmware of the first electronic device and the second electronic device. . In addition, since each electronic device is forcibly restarted after the upgrade, in order to prevent the first electronic device from being restarted after the upgrade is successful, the network between the second electronic device and the first electronic device is interrupted, so that the second electronic device The firmware download is incomplete, so it is necessary to wait until the firmware download of the second electronic device is completed before updating the firmware of the first electronic device.
在一个可选实施例中,进一步地,步骤S23还包括:In an optional embodiment, step S23 further includes:
在升级成功时,输出提示信息。When the upgrade is successful, a prompt message is output.
在该实施例中,可在电子设备上设置LED指示灯,当完成固件的下载和更新后,可控制该LED指示灯进行闪烁。In this embodiment, an LED indicator can be set on the electronic device, and after downloading and updating the firmware is completed, the LED indicator can be controlled to blink.
图5是本发明在线升级固件的方法实施例三的流程图,首先说明的是,在一个系统中,可包括有一个第一电子设备及多个第二电子设备,例如,在用于会议协作的投影系统中,包括有RX设备(第一电子设备)和多个TX设备(第二电子设备),而且,TX设备通过无线网络发送影像数据给RX设备, RX设备负责接收TX设备传送的影像数据并输出至投影设备进行播放。而且,第一电子设备内包括嵌入式网页,用户可将该第一电子设备通过以太网络或者无线网络连上其它的终端设备(例如PC、智能手机、PAD等),并利用该终端设备操控第一电子设备的嵌入式网页,从而可控制第一电子设备和第二电子设备上的功能。该嵌入式网页的其中一项功能为固件升级,当然,还可包括其它功能,例如:设置网页语言;设置输出影像信号的分辨率;修改设备名称、密码;等等。FIG. 5 is a flowchart of a third embodiment of a method for upgrading firmware online according to the present invention. The first description is that a system may include a first electronic device and a plurality of second electronic devices. For example, it is used for conference collaboration. The projection system includes an RX device (first electronic device) and multiple TX devices (second electronic device). In addition, the TX device sends image data to the RX device through a wireless network. The RX device is responsible for receiving the image transmitted by the TX device. The data is output to the projection device for playback. Moreover, the first electronic device includes an embedded webpage, and the user can connect the first electronic device to other terminal devices (such as a PC, smartphone, PAD, etc.) through an Ethernet network or a wireless network, and use the terminal device to control the first electronic device. An embedded webpage of an electronic device, so that functions on the first electronic device and the second electronic device can be controlled. One of the functions of the embedded webpage is firmware upgrade. Of course, it can also include other functions, such as: setting the webpage language; setting the resolution of the output image signal; changing the device name and password; and so on.
在该实施例的在线升级固件的方法中,第二电子设备包括以下步骤:In the method for upgrading firmware online in this embodiment, the second electronic device includes the following steps:
S31.第二配对步骤:与第一电子设备进行配对;S31. The second pairing step: pairing with the first electronic device;
S32.第二升级步骤:从所述第一电子设备接收所对应的服务器端固件版本号,并从服务器端下载相应版本的第二电子设备固件,其中,第一电子设备通过终端设备接收用户输入的升级界面进入指令,并根据所述升级界面进入指令在所述终端设备上显示第一电子设备及与所述第一电子设备配对成功的第二电子设备的设备信息,然后,通过终端设备接收用户确定的待升级的第二电子设备,并将待升级的第二电子设备所对应的服务器端固件版本号发送至相应第二电子设备,而且,所述设备信息包括本地端固件版本号、服务器端固件版本号,所述终端设备通过与所述第一电子设备通讯连接来对所述第一电子设备的嵌入式网页进行操控;S32. Second upgrading step: receiving the corresponding server-side firmware version number from the first electronic device, and downloading the corresponding version of the second electronic device firmware from the server side, wherein the first electronic device receives user input through the terminal device The upgrade interface entry instruction, and according to the upgrade interface entry instruction, display device information of the first electronic device and the second electronic device successfully paired with the first electronic device on the terminal device, and then receive through the terminal device The user determines the second electronic device to be upgraded, and sends the server-side firmware version number corresponding to the second electronic device to be upgraded to the corresponding second electronic device, and the device information includes the local firmware version number, the server Terminal firmware version number, the terminal device controls the embedded webpage of the first electronic device through a communication connection with the first electronic device;
S33.返回步骤:将升级进度信息返回至所述第一电子设备。S33. Returning step: returning the upgrade progress information to the first electronic device.
实施该实施例的技术方案,在一个包含第一电子设备及多个第二电子设备的系统中,首先将第一电子设备及多个第二电子设备进行配对,然后可利用第一电子设备中的嵌入式网页来对第二电子设备的固件进行升级,不再需通过操控第三方软件来升级,从而可避免软件兼容性的问题。To implement the technical solution of this embodiment, in a system including a first electronic device and a plurality of second electronic devices, the first electronic device and the plurality of second electronic devices are first paired, and then the first electronic device may be used. Embedded webpage to upgrade the firmware of the second electronic device, and it is no longer necessary to upgrade by manipulating third-party software, thereby avoiding software compatibility problems.
在一个可选实施例中,进一步地,还包括:In an optional embodiment, further comprising:
第二提示步骤:在升级成功时,输出提示信息。The second prompt step: when the upgrade is successful, a prompt message is output.
在该实施例中,可在电子设备上设置LED指示灯,当完成固件的下载和更新后,可控制该LED指示灯进行闪烁。In this embodiment, an LED indicator can be set on the electronic device, and after downloading and updating the firmware is completed, the LED indicator can be controlled to blink.
在一个可选实施例中,结合图6,步骤S31包括以下步骤:In an optional embodiment, in conjunction with FIG. 6, step S31 includes the following steps:
S311.接收配对文档,所述配对文档包括第一电子设备的SSID;S311. Receive a pairing document, where the pairing document includes an SSID of the first electronic device;
S312.进行WIFI扫描,并将扫描结果与所述配对文档中的SSID进行匹配;S312. Perform a WIFI scan, and match the scan result with the SSID in the paired document;
S313.若匹配成功,则接入所述第一电子设备的AP,以完成配对。S313. If the matching is successful, access the AP of the first electronic device to complete pairing.
在该实施例中,第二电子设备通过接收配对文档并获取第一电子设备的SSID信息。而且,在启动时,会做WIFI扫描,将扫描结果与配对文档中的SSID做比对,如果匹配成功,则接入第一电子设备的AP,以完成配对。In this embodiment, the second electronic device receives the pairing document and obtains the SSID information of the first electronic device. Moreover, at startup, a WIFI scan is performed, and the scan result is compared with the SSID in the pairing document. If the match is successful, the AP of the first electronic device is connected to complete the pairing.
进一步地,配对文档还包括第一电子设备的标识信息和/或密码信息,在SSID匹配成功时,还根据扫描结果判断配对文档中的标识信息和/或密码信息是否匹配,只有在标识信息和/或密码信息匹配成功时,才接入所述第一电子设备的AP。Further, the pairing document further includes identification information and / or password information of the first electronic device. When the SSID matches successfully, it is further determined whether the identification information and / or password information in the pairing document match according to the scanning result. Only when the password information matches successfully, the AP of the first electronic device is accessed.
在一个可选实施例中,在步骤S311中,通过USB线缆接收配对文档。具体为:将第二电子设备上的USB线缆直接接上第一电子设备的USB端口。第一电子设备在通电后,会先判断接上来的USB装置是否为第二电子设备,若是,会将一份配对文档复制到所连接的第二电子设备中,配对文档里面包括有第一电子设备的设备信息,具体为:类别、uuid(唯一标识符)、设备名称、SSID、无线加密机制、加密后的联机密码等。第二电子设备凭着这份配对文档,在启动的时候通过无线网络去寻找附近是否有相同配对文档的第一电子设备,从而完成第一电子设备与第二电子设备的配对。而且,当第二电子设 备上的指示灯或第一电子设备的OSD画面上所显示的“Pairing”转为OK,即代表配对完成。In an optional embodiment, in step S311, the paired document is received through a USB cable. Specifically, the USB cable on the second electronic device is directly connected to the USB port of the first electronic device. After the first electronic device is powered on, it will first determine whether the connected USB device is a second electronic device. If so, a pairing file will be copied to the connected second electronic device. The pairing file contains the first electronic device. The device information of the device is specifically: category, uuid (unique identifier), device name, SSID, wireless encryption mechanism, encrypted online password, etc. Based on the pairing document, the second electronic device uses the wireless network to find whether there is a first electronic device with the same pairing document nearby in the wireless network when starting up, thereby completing the pairing of the first electronic device and the second electronic device. Moreover, when the indicator on the second electronic device or the "Pairing" displayed on the OSD screen of the first electronic device turns OK, the pairing is completed.
在一个可选实施例中,在步骤S311中,通过移动设备接收配对文档。具体为:首先说明的是,第一电子设备的嵌入式网页具有配对文档下载的功能,第二电子设备的嵌入式网页具有配对文档上传的功能。当需要配对时,通过操控终端设备从第一电子设备上下载该配对文档,然后,将第二电子设备的AP开启,通过终端设备连上第二电子设备的AP,开启第二电子设备的嵌入式网页,进入配对文档上传界面,点选上传控件(upload),从而上传事先下载好的配对文档。In an optional embodiment, in step S311, the paired document is received through the mobile device. Specifically, it is first explained that the embedded webpage of the first electronic device has a function of downloading a paired document, and the embedded webpage of the second electronic device has a function of uploading a paired document. When pairing is needed, the terminal device is used to download the pairing file from the first electronic device, and then the AP of the second electronic device is turned on, and the terminal device is connected to the AP of the second electronic device to enable the embedding of the second electronic device. Webpage, enter the paired document upload interface, click upload control (upload), and upload the downloaded paired document in advance.
在一个可选实施例中,在步骤S311中,通过U盘接收配对文档。具体地:将U盘插入第一电子设备,并按下功能键,此时,第一电子设备中预先存储的配对文档会复制到U盘中。然后,再将U盘插入第二电子设备,并将第二电子设备设置为从设备,此时,U盘中存储的配对文档也会复制到第二电子设备中。当配对完成时,第一电子设备的指示灯会变成白色。In an optional embodiment, in step S311, the paired document is received through a USB flash drive. Specifically: a USB flash drive is inserted into the first electronic device, and a function key is pressed. At this time, the paired document stored in advance in the first electronic device is copied to the USB flash drive. Then, insert the USB flash drive into the second electronic device and set the second electronic device as a slave device. At this time, the paired file stored in the USB flash drive is also copied to the second electronic device. When the pairing is completed, the indicator of the first electronic device will turn white.
在一个可选实施例中,在步骤S311中,通过U盘接收配对文档。具体地:将U盘插入终端设备(例如PC)的USB接口,当PC与第一电子设备连接后,可通过第一电子设备的嵌入式网页来将配对文档下载到U盘中。然后,将该U盘插入第二电子设备,此时,第二电子设备便会从U盘中下载该配对文档,从而完成配对。In an optional embodiment, in step S311, the paired document is received through a USB flash drive. Specifically, a USB disk is inserted into a USB interface of a terminal device (for example, a PC). After the PC is connected to the first electronic device, the paired file can be downloaded to the USB disk through the embedded webpage of the first electronic device. Then, insert the U disk into the second electronic device. At this time, the second electronic device downloads the pairing file from the U disk to complete the pairing.
当然,在其它实施例中,步骤S31也可通过以下方式在进行配对:首先,第二电子设备内也包括嵌入式网页。在配对时,用户可将该第二电子设备通过以太网络或者无线网络连上其它的终端设备(例如PC、智能手机、PAD等),并通过终端设备在第二电子设备中输入第一电子设备的SSID,必要时再输入 密码,从而将第二电子设备接入第一电子设备的AP,以完成配对。Of course, in other embodiments, step S31 may also be performed in the following manner: First, the second electronic device also includes an embedded webpage. When pairing, the user can connect the second electronic device to another terminal device (such as a PC, smartphone, PAD, etc.) through an Ethernet network or a wireless network, and enter the first electronic device in the second electronic device through the terminal device. SSID, and then enter the password if necessary to connect the second electronic device to the AP of the first electronic device to complete the pairing.
以上几个实施例都是通过WIFI进行配对,在另一些实施例中,还可通过蓝牙进行配对。具体地:按下第一电子设备上的配对按键并进入蓝牙配对模式,再按下第二电子设备上的主+侧按键并进入配对模式,然后,第二电子设备会扫描周围附近的第一电子设备,从而进行蓝牙连接。In the above embodiments, pairing is performed through WIFI. In other embodiments, pairing may also be performed through Bluetooth. Specifically: Press the pairing button on the first electronic device and enter the Bluetooth pairing mode, and then press the main + side button on the second electronic device to enter the pairing mode. Then, the second electronic device scans the first nearby device. Electronic device for Bluetooth connection.
本发明还构造一种系统,包括第一电子设备及至少一个第二电子设备。The invention also constructs a system including a first electronic device and at least one second electronic device.
本发明还构造一种电子设备,例如,上述系统中的第一电子设备,包括第二存储器和第二处理器,第二存储器存储有计算机程序,第二处理器用于执行第二存储器中存储的计算机程序并实现以上图4所示的在线升级固件的方法。The present invention also constructs an electronic device. For example, the first electronic device in the system includes a second memory and a second processor. The second memory stores a computer program, and the second processor is configured to execute the second memory stored in the second memory. The computer program implements the method for upgrading firmware online shown in FIG. 4 above.
本发明还构造一种电子设备,例如,上述系统中的第二电子设备,包括第三存储器和第三处理器,所述第三存储器存储有计算机程序,其特征在于,所述第三处理器用于执行所述第三存储器中存储的计算机程序并实现以上图5所示的在线升级固件的方法。The present invention also constructs an electronic device. For example, the second electronic device in the system includes a third memory and a third processor. The third memory stores a computer program, and the third processor is used for The method for executing the computer program stored in the third memory and implementing the online firmware upgrade shown in FIG. 5 above.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何纂改、等同替换、改进等,均应包含在本发明的权利要求范围之内。The above descriptions are merely preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall be included in the scope of the claims of the present invention.

Claims (14)

  1. 一种在线升级固件的方法,用于对电子设备的固件进行升级,其特征在于,进行以下步骤:A method for upgrading firmware online for upgrading firmware of an electronic device, which is characterized by performing the following steps:
    与终端设备通讯连接,以使所述终端设备可对所述电子设备的嵌入式网页进行操控;Communicate with a terminal device so that the terminal device can control the embedded webpage of the electronic device;
    通过终端设备接收用户输入的升级界面进入指令,并根据所述升级界面进入指令在所述终端设备上显示所述电子设备的设备信息,所述设备信息包括本地端固件版本号、服务器端固件版本号;Receive an upgrade interface entry instruction input by a user through a terminal device, and display device information of the electronic device on the terminal device according to the upgrade interface entry instruction, where the device information includes a local firmware version number and a server firmware version number;
    通过终端设备接收用户输入的升级指令,并根据所述升级指令从服务器端下载相应版本的电子设备固件。Receive the upgrade instruction input by the user through the terminal device, and download the corresponding version of the electronic device firmware from the server according to the upgrade instruction.
  2. 根据权利要求1所述的在线升级固件的方法,其特征在于,还包括:The method for upgrading firmware online according to claim 1, further comprising:
    在升级成功时,输出提示信息。When the upgrade is successful, a prompt message is output.
  3. 一种在线升级固件的方法,用于对系统中的电子设备的固件进行升级,所述电子设备包括第一电子设备及多个第二电子设备,其特征在于,第一电子设备进行以下步骤:A method for upgrading firmware online is used to upgrade the firmware of an electronic device in the system. The electronic device includes a first electronic device and a plurality of second electronic devices. The first electronic device performs the following steps:
    第一配对步骤:与至少一个第二电子设备进行配对;First pairing step: pairing with at least one second electronic device;
    显示步骤:通过终端设备接收用户输入的升级界面进入指令,并根据所述升级界面进入指令在所述终端设备上显示第一电子设备及与所述第一电子设备配对成功的第二电子设备的设备信息,所述设备信息包括本地端固件版本号、服务器端固件版本号,其中,所述终端设备通过与所述第一电子设备通讯连接来对所述第一电子设备的嵌入式网页进行操控;Display step: receiving an upgrade interface entry instruction input by a user through a terminal device, and displaying the first electronic device and the second electronic device successfully paired with the first electronic device on the terminal device according to the upgrade interface entry instruction. Device information, the device information including a local firmware version number and a server firmware version number, wherein the terminal device controls the embedded webpage of the first electronic device through a communication connection with the first electronic device ;
    第一升级步骤:通过终端设备接收用户确定的待升级的第二电子设备, 并将待升级的第二电子设备所对应的服务器端固件版本号发送至相应第二电子设备,以使所述第二电子设备从服务器端下载相应版本的第二电子设备固件。First upgrade step: receiving, by a terminal device, a second electronic device to be upgraded determined by a user, and sending a server-side firmware version number corresponding to the second electronic device to be upgraded to a corresponding second electronic device, so that the first The two electronic devices download the corresponding version of the second electronic device firmware from the server.
  4. 根据权利要求3所述的在线升级固件的方法,其特征在于,所述第一升级步骤还包括:The method for upgrading firmware online according to claim 3, wherein the first upgrading step further comprises:
    通过终端设备接收用户确定的待升级的第一电子设备及第二电子设备;Receiving the first electronic device and the second electronic device to be upgraded determined by the user through a terminal device;
    将待升级的第二电子设备所对应的服务器端固件版本号发送至相应第二电子设备,以使所述第二电子设备从服务器端下载相应版本的第二电子设备固件;Sending the server-side firmware version number corresponding to the second electronic device to be upgraded to the corresponding second electronic device, so that the second electronic device downloads the corresponding version of the second electronic device firmware from the server;
    接收所述第二电子设备返回的升级进度信息,并判断所述第二电子设备是否升级成功;Receiving the upgrade progress information returned by the second electronic device, and determining whether the upgrade of the second electronic device is successful;
    若所确定的所有第二电子设备都升级成功,则从服务器端下载相应版本的第一电子设备固件。If all the determined second electronic devices are successfully upgraded, download the corresponding version of the first electronic device firmware from the server.
  5. 根据权利要求4所述的在线升级固件的方法,其特征在于,在所述第一升级步骤之后,还包括:The method for upgrading firmware online according to claim 4, wherein after the first upgrading step, further comprising:
    第一提示步骤:在升级成功时,输出提示信息。The first prompt step: when the upgrade is successful, a prompt message is output.
  6. 一种在线升级固件的方法,用于对系统中的电子设备的固件进行升级,所述电子设备包括第一电子设备及多个第二电子设备,其特征在于,第二电子设备进行以下步骤:A method for upgrading firmware online is used to upgrade the firmware of an electronic device in the system. The electronic device includes a first electronic device and a plurality of second electronic devices. The second electronic device performs the following steps:
    第二配对步骤:与第一电子设备进行配对;A second pairing step: pairing with the first electronic device;
    第二升级步骤:从所述第一电子设备接收所对应的服务器端固件版本号,并从服务器端下载相应版本的第二电子设备固件,其中,第一电子设备通过终端设备接收用户输入的升级界面进入指令,并根据所述升级界面进入指令 在所述终端设备上显示第一电子设备及与所述第一电子设备配对成功的第二电子设备的设备信息,然后,通过终端设备接收用户确定的待升级的第二电子设备,并将待升级的第二电子设备所对应的服务器端固件版本号发送至相应第二电子设备,而且,所述设备信息包括本地端固件版本号、服务器端固件版本号,所述终端设备通过与所述第一电子设备通讯连接来对所述第一电子设备的嵌入式网页进行操控;Second upgrade step: receiving the corresponding server-side firmware version number from the first electronic device, and downloading the corresponding version of the second electronic device firmware from the server, wherein the first electronic device receives the upgrade input by the user through the terminal device Interface entry instruction, and according to the upgrade interface entry instruction, display device information of the first electronic device and the second electronic device successfully paired with the first electronic device on the terminal device, and then receive the user's determination through the terminal device The second electronic device to be upgraded, and sends the server-side firmware version number corresponding to the second electronic device to be upgraded to the corresponding second electronic device, and the device information includes the local-side firmware version number and the server-side firmware A version number, the terminal device controls the embedded webpage of the first electronic device through a communication connection with the first electronic device;
    返回步骤:将升级进度信息返回至所述第一电子设备。Returning step: returning the upgrade progress information to the first electronic device.
  7. 根据权利要求6所述的在线升级固件的方法,其特征在于,还包括:The method for upgrading firmware online according to claim 6, further comprising:
    第二提示步骤:在升级成功时,输出提示信息。The second prompt step: when the upgrade is successful, a prompt message is output.
  8. 根据权利要求6所述的在线升级固件的方法,其特征在于,所述第二配对步骤包括:The method according to claim 6, wherein the second pairing step comprises:
    接收配对文档,所述配对文档包括第一电子设备的SSID;Receiving a pairing document, where the pairing document includes an SSID of the first electronic device;
    进行WIFI扫描,并将扫描结果与所述配对文档中的SSID进行匹配;Perform a WIFI scan, and match the scan result with the SSID in the paired document;
    若匹配成功,则接入所述第一电子设备的AP,以完成配对。If the matching is successful, access the AP of the first electronic device to complete pairing.
  9. 根据权利要求8所述的在线升级固件的方法,其特征在于,所述配对文档还包括第一电子设备的标识信息和/或密码信息,而且,所述接入所述第一电子设备的AP包括:The method for upgrading firmware online according to claim 8, wherein the pairing document further comprises identification information and / or password information of the first electronic device, and the AP accessing the first electronic device include:
    根据扫描结果判断所述配对文档中的标识信息和/或密码信息是否匹配;Determining whether the identification information and / or the password information in the paired document match according to the scan result;
    若匹配成功,则接入所述第一电子设备的AP。If the matching is successful, access the AP of the first electronic device.
  10. 根据权利要求8所述的在线升级固件的方法,其特征在于,所述接收配对文档,包括:The method for upgrading firmware online according to claim 8, wherein the receiving a paired file comprises:
    通过USB线缆、U盘或终端设备接收配对文档。Receive paired documents via USB cable, USB flash drive, or terminal device.
  11. 一种电子设备,包括第一存储器和第一处理器,所述第一存储器存 储有计算机程序,其特征在于,所述第一处理器用于执行所述第一存储器中存储的计算机程序并实现权利要求1-2中任意一项所述的方法。An electronic device includes a first memory and a first processor. The first memory stores a computer program, and the first processor is configured to execute a computer program stored in the first memory and implement rights. The method according to any one of claims 1-2.
  12. 一种电子设备,包括第二存储器和第二处理器,所述第二存储器存储有计算机程序,其特征在于,所述第二处理器用于执行所述第二存储器中存储的计算机程序并实现权利要求3-5中任意一项所述的方法。An electronic device includes a second memory and a second processor. The second memory stores a computer program, and the second processor is configured to execute the computer program stored in the second memory and implement rights. The method according to any one of claims 3-5 is required.
  13. 一种电子设备,包括第三存储器和第三处理器,所述第三存储器存储有计算机程序,其特征在于,所述第三处理器用于执行所述第三存储器中存储的计算机程序并实现权利要求6-10中任意一项所述的方法。An electronic device includes a third memory and a third processor. The third memory stores a computer program, and the third processor is configured to execute the computer program stored in the third memory and implement rights. The method according to any one of claims 6 to 10.
  14. 一种系统,其特征在于,包括第一电子设备及至少一个第二电子设备,而且,所述第一电子设备为权利要求12所述的电子设备,所述第二电子设备为权利要求13所述的电子设备。A system includes a first electronic device and at least one second electronic device, and the first electronic device is the electronic device according to claim 12, and the second electronic device is the device according to claim 13. Electronic device described above.
PCT/CN2018/094334 2018-06-15 2018-07-03 System, electronic device, and method for online firmware upgrading WO2019237438A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810616936.5 2018-06-15
CN201810616936.5A CN109086060A (en) 2018-06-15 2018-06-15 The method of system, electronic equipment and online upgrading firmware

Publications (1)

Publication Number Publication Date
WO2019237438A1 true WO2019237438A1 (en) 2019-12-19

Family

ID=64839657

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/094334 WO2019237438A1 (en) 2018-06-15 2018-07-03 System, electronic device, and method for online firmware upgrading

Country Status (2)

Country Link
CN (1) CN109086060A (en)
WO (1) WO2019237438A1 (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109819286A (en) * 2018-12-28 2019-05-28 深圳市金锐显数码科技有限公司 Multi-model software synchronization upgrade method, device and terminal device
CN110045967B (en) * 2019-04-03 2023-03-24 昆仑太科(北京)技术股份有限公司 Serial graphical interface interaction method and device of firmware layer
CN110096299A (en) * 2019-04-08 2019-08-06 广州视源电子科技股份有限公司 Updating method of operating system, terminal device and storage medium
CN110442358A (en) * 2019-08-12 2019-11-12 北京百佑科技有限公司 Intelligent talk back equipment firmware burning method, apparatus and intelligent talk back equipment
CN113641375A (en) * 2020-04-27 2021-11-12 瑞昱半导体股份有限公司 Method for automatically upgrading firmware over the air and wireless node

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105045611A (en) * 2015-06-24 2015-11-11 深圳市兰丁科技有限公司 Upgrading method and apparatus
CN105262627A (en) * 2015-10-30 2016-01-20 Tcl集团股份有限公司 Firmware upgrade method, device and system
CN105988843A (en) * 2015-02-15 2016-10-05 腾讯科技(深圳)有限公司 Firmware upgrade method and firmware upgrade device for mobile terminal
CN106557339A (en) * 2015-09-28 2017-04-05 腾讯科技(深圳)有限公司 The upgrade method and device of equipment firmware

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090271780A1 (en) * 2008-04-24 2009-10-29 Moschip Semiconductor Technology Limited Automatic complete firmware upgrade
CN106980511B (en) * 2017-05-09 2020-12-11 深圳市乐得瑞科技有限公司 Firmware upgrading method, device and system
CN107301077B (en) * 2017-06-28 2021-02-12 浙江国自机器人技术股份有限公司 Embedded equipment firmware upgrading system
CN107945498B (en) * 2017-10-24 2020-11-17 北京臻迪科技股份有限公司 Remote controller test method and device and test terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105988843A (en) * 2015-02-15 2016-10-05 腾讯科技(深圳)有限公司 Firmware upgrade method and firmware upgrade device for mobile terminal
CN105045611A (en) * 2015-06-24 2015-11-11 深圳市兰丁科技有限公司 Upgrading method and apparatus
CN106557339A (en) * 2015-09-28 2017-04-05 腾讯科技(深圳)有限公司 The upgrade method and device of equipment firmware
CN105262627A (en) * 2015-10-30 2016-01-20 Tcl集团股份有限公司 Firmware upgrade method, device and system

Also Published As

Publication number Publication date
CN109086060A (en) 2018-12-25

Similar Documents

Publication Publication Date Title
WO2019237438A1 (en) System, electronic device, and method for online firmware upgrading
US10194297B2 (en) Information processing apparatus, information processing method, and non-transitory computer readable medium
US9928053B2 (en) Joint acquisition of update software for multiple devices
JP5307276B2 (en) USB device remote control method and system for executing the same
JP2014063450A (en) Mobile terminal, information processing apparatus, and information processing method
US20180074810A1 (en) Portable electronic device and data updating method
US10375142B2 (en) Apparatus, system, and method of providing screen data
US20160231997A1 (en) Communication apparatus, communication system, communication method, and recording medium
US10412564B2 (en) Apparatus, method, and system for displaying antenna location of communication terminal, and recording medium
US10609092B2 (en) Image display system
JP2017167661A (en) System, portable terminal, information processing apparatus, information processing method, and program
US10205852B2 (en) System, apparatus, and method for allowing a program to cache user information
JP2019153031A (en) Application program
EP3748492A1 (en) Downloading and launching an app on a second device from a first device
US11334300B2 (en) Non-transitory storage medium storing program readable by computer of information processing apparatus, non-transitory storage medium storing program set, and information processing apparatus
WO2020010655A1 (en) Computer control system and method
US10868935B2 (en) Information processing device, information processing method, non-transitory recording medium, and image forming system
CN108733382A (en) A kind of application software installation method, apparatus and system
JP2021196906A (en) Information processing apparatus, method for controlling the same, and program
US20230142794A1 (en) Image display method of display device
TWI851475B (en) Display device pairing method and display device management system
TWI602066B (en) Method and system for automatically downloading program
CN115442353B (en) Application upgrading method and device based on Internet of things equipment
US11966656B2 (en) Server, electronic device, server communication method, device communication method, and communication system
TWI792147B (en) Management system and device operation method with preloaded user interface

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: 18922919

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: 18922919

Country of ref document: EP

Kind code of ref document: A1