Firmware updating method and device for electronic whiteboard, equipment and storage medium

Through intelligent algorithms, the use behavior data and firmware information of electronic whiteboards are analyzed, and the target firmware is automatically determined and updated, which solves the problem of inconvenient update of electronic whiteboard firmware in the existing technology, and realizes an automated, convenient and secure firmware update experience.

CN119225767APending Publication Date: 2024-12-31GUANGZHOU LANGO ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411308479.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2024-12-31

AI Technical Summary

Technical Problem

The OTA firmware update of existing electronic whiteboards lacks intelligent management, and users need to manually select updates, which has poor update experience and does not meet actual needs.

Method used

Through intelligent algorithms, the firmware information, usage behavior data and the latest information of the electronic whiteboard, determine the target update firmware, and automatically download and update the firmware in the appropriate time period and network state, use the hash algorithm to verify integrity, and use the hash algorithm to verify the integrity and in the block Record update logs in the chain to ensure the security and convenience of updates.

Benefits of technology

It improves the user's firmware update experience, realizes automatic updates, is more in line with the actual needs of users, reduces unnecessary update frequency, and improves the convenience and security of updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119225767A_ABST
    Figure CN119225767A_ABST
Patent Text Reader

Abstract

The invention provides an electronic whiteboard firmware updating method and device, equipment and a storage medium, and the electronic whiteboard firmware updating method comprises the steps: determining the firmware information of an electronic whiteboard, the use behavior data of a user for the electronic whiteboard, and the latest firmware information in a firmware updating library; the firmware information, the use behavior data and the latest firmware information are analyzed through an intelligent algorithm, and the target update firmware is determined based on the use behavior data of the user, so that the actual update requirement of the user is better met, and the firmware update experience of the user is improved; and performing time period analysis on the use behavior data or detecting the use state of the electronic whiteboard to determine target update time, downloading target update firmware from a firmware update library, and transmitting the target update firmware to the electronic whiteboard at the target update time for the electronic whiteboard to perform firmware update. And automatic firmware updating is realized under the condition that the use of the electronic whiteboard by the user is not influenced, so that the method is more convenient, and the updating experience is better.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of electronic whiteboards, and in particular to a firmware updating method, device, equipment and storage medium for an electronic whiteboard. Background Art

[0002] With the widespread use of electronic whiteboards in education and business scenarios, users have higher and higher performance requirements for electronic whiteboards, so OTA firmware updates for electronic whiteboards have become an important issue. Existing OTA firmware updates often lack intelligent management and usually rely on users to update on their own or send prompts when any firmware can be updated. Then users need to manually select the updated firmware, which is very inconvenient. On the other hand, some firmware is actually used less frequently by users and does not actually require an update. Users need to search for their frequently used firmware in the prompt information to update it, which is time-consuming and labor-intensive, and the update experience is poor. Summary of the invention

[0003] The embodiments of the present application provide a method, device, equipment and storage medium for updating the firmware of an electronic whiteboard to solve at least one problem existing in the related art. The technical solution is as follows:

[0004] In a first aspect, an embodiment of the present application provides a method for updating the firmware of an electronic whiteboard, comprising:

[0005] Determine the firmware information of the electronic whiteboard, the user's usage behavior data of the electronic whiteboard, and the latest firmware information in the firmware update library;

[0006] Analyze the firmware information, the usage behavior data and the latest firmware information through an intelligent algorithm to determine the target firmware to be updated;

[0007] Performing time period analysis on the usage behavior data or detecting the usage status of the electronic whiteboard to determine a target update time;

[0008] The target update firmware is downloaded from the firmware update library and transmitted to the electronic whiteboard at the target update time for the electronic whiteboard to perform firmware update.

[0009] In one implementation, analyzing the firmware information, the usage behavior data, and the latest firmware information by an intelligent algorithm to determine the target firmware to be updated includes:

[0010] Analyze the usage behavior data through intelligent algorithms to determine firmware usage habits;

[0011] According to the firmware usage habits, determining the target firmware that needs to be updated;

[0012] Determining a firmware version of the target firmware according to the target firmware and the firmware information;

[0013] The firmware version of the target firmware is compared with the latest firmware information, and when the comparison results are different, the target update firmware corresponding to the target firmware is determined.

[0014] In one implementation, the performing time period analysis on the usage behavior data or detecting the usage status of the electronic whiteboard to determine the target update time includes:

[0015] Performing time period analysis on the usage behavior data to determine an idle time period, and determining the idle time period as a target update time;

[0016] or,

[0017] The use state of the electronic whiteboard is detected, and the time when the use state is an idle state is determined as the target update time.

[0018] In one embodiment, the method further comprises:

[0019] When the target update time is determined, detecting a network status of the electronic whiteboard, wherein the network status includes bandwidth or stability;

[0020] When the bandwidth is greater than or equal to the bandwidth threshold, the target update time is used as the final target update time; when the bandwidth is less than the bandwidth threshold, the network status is continuously detected until the bandwidth is greater than or equal to the bandwidth threshold, the target update time is updated to the current time, and the final target update time is obtained;

[0021] or,

[0022] When the stability characterization is stable, the target update time is used as the final target update time. When the stability characterization is unstable, the network status is continuously detected until the stability characterization is stable, and the target update time is updated to the current time to obtain the final target update time.

[0023] In one embodiment, downloading the target update firmware from the firmware update library and transmitting it to the electronic whiteboard at the target update time for the electronic whiteboard to perform firmware update includes:

[0024] Downloading the target update firmware from the firmware update library, calculating an actual hash value of the target update firmware by using a hash algorithm, and comparing and verifying the actual hash value with a preset hash value of the firmware update library;

[0025] When the comparison verification is passed, transmitting the target update firmware to the electronic whiteboard at the target update time, and verifying the target update firmware received by the electronic whiteboard;

[0026] When the verification is passed, the electronic whiteboard uses the target update firmware to perform firmware update.

[0027] In one embodiment, the method further comprises:

[0028] When the comparison verification is passed, the actual hash value is stored in the blockchain, and the downloaded stage information, the transmitted stage information and the updated stage information are stored in the blockchain, and the actual hash value in the blockchain is used to verify the target updated firmware received by the electronic whiteboard;

[0029] In the blockchain, an update log is generated according to the downloaded stage information, the transmitted stage information, and the updated stage information.

[0030] In one embodiment, the method further comprises:

[0031] Detecting transmission anomalies during the transmission phase, when the transmission anomalies include the electronic whiteboard network being disconnected, waiting for the network to recover before performing breakpoint-resume transmission or retransmitting the target update firmware, and when the transmission anomalies include insufficient storage space of the electronic whiteboard, sending a prompt message;

[0032] Detect update anomalies during the update phase, and when the update anomalies include update failure or execution timeout, send a prompt message and perform a rollback operation.

[0033] In a second aspect, an embodiment of the present application provides a firmware update device for an electronic whiteboard, comprising:

[0034] A first determination module is used to determine the firmware information of the electronic whiteboard, the user's usage behavior data of the electronic whiteboard, and the latest firmware information in the firmware update library;

[0035] A second determination module is used to analyze the firmware information, the usage behavior data and the latest firmware information through an intelligent algorithm to determine a target firmware update;

[0036] A third determination module is used to perform time period analysis on the usage behavior data or detect the usage status of the electronic whiteboard to determine the target update time;

[0037] The update module is used to download the target update firmware from the firmware update library and transmit it to the electronic whiteboard at the target update time for the electronic whiteboard to perform firmware update.

[0038] In one implementation, the third determination module is further configured to:

[0039] When the target update time is determined, detecting a network status of the electronic whiteboard, wherein the network status includes bandwidth or stability;

[0040] When the bandwidth is greater than or equal to the bandwidth threshold, the target update time is used as the final target update time; when the bandwidth is less than the bandwidth threshold, the network status is continuously detected until the bandwidth is greater than or equal to the bandwidth threshold, the target update time is updated to the current time, and the final target update time is obtained;

[0041] or,

[0042] When the stability characterization is stable, the target update time is used as the final target update time. When the stability characterization is unstable, the network status is continuously detected until the stability characterization is stable, and the target update time is updated to the current time to obtain the final target update time.

[0043] In one embodiment, the update module is further used to:

[0044] When the comparison verification is passed, the actual hash value is stored in the blockchain, and the downloaded stage information, the transmitted stage information and the updated stage information are stored in the blockchain, and the actual hash value in the blockchain is used to verify the target updated firmware received by the electronic whiteboard;

[0045] In the blockchain, an update log is generated according to the downloaded stage information, the transmitted stage information, and the updated stage information.

[0046] In one embodiment, the update module is further used to:

[0047] Detecting transmission anomalies during the transmission phase, when the transmission anomalies include the electronic whiteboard network being disconnected, waiting for the network to recover before performing breakpoint-resume transmission or retransmitting the target update firmware, and when the transmission anomalies include insufficient storage space of the electronic whiteboard, sending a prompt message;

[0048] Detect update anomalies during the update phase, and when the update anomalies include update failure or execution timeout, send a prompt message and perform a rollback operation.

[0049] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement a method in any one of the above-mentioned embodiments.

[0050] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed, the method in any one of the above-mentioned embodiments is implemented.

[0051] The beneficial effects of the above technical solution include at least:

[0052] By determining the firmware information of the electronic whiteboard, the user's usage behavior data of the electronic whiteboard and the latest firmware information in the firmware update library, the firmware information, usage behavior data and the latest firmware information are analyzed through an intelligent algorithm, and the target update firmware is determined based on the user's usage behavior data, which is more in line with the user's actual update needs and is conducive to improving the user's firmware update experience; the usage behavior data is analyzed for a time period or the usage status of the electronic whiteboard is detected to determine the target update time, the target update firmware is downloaded from the firmware update library, and transmitted to the electronic whiteboard at the target update time for the electronic whiteboard to perform a firmware update, so that automatic firmware updates can be achieved without affecting the user's use of the electronic whiteboard, which is more convenient and has a better update experience.

[0053] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present application will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.

[0055] Figure 1 This is a schematic diagram of the steps of a method for updating the firmware of an electronic whiteboard according to an embodiment of the present application;

[0056] Figure 2 This is a structural block diagram of a firmware update device for an electronic whiteboard according to an embodiment of the present application;

[0057] Figure 3 This is a structural block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0058] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.

[0059] Reference Figure 1 , a flowchart of a firmware update method of an electronic whiteboard according to an embodiment of the present application is shown. The firmware update method of the electronic whiteboard may at least include steps S100-S400:

[0060] S100: Determine the firmware information of the electronic whiteboard, the user's usage behavior data of the electronic whiteboard, and the latest firmware information in the firmware update library.

[0061] S200, analyzing firmware information, usage behavior data, and the latest firmware information through intelligent algorithms to determine a target firmware update.

[0062] S300: Analyze the usage behavior data for a certain period of time or detect the usage status of the electronic whiteboard to determine the target update time.

[0063] S400, downloading target update firmware from a firmware update library, and transmitting it to the electronic whiteboard at the target update time, so that the electronic whiteboard can perform firmware update.

[0064] The firmware update method of the electronic whiteboard in the embodiment of the present application can be executed through a terminal such as a computer, a mobile phone, a tablet, etc., or can be executed through a cloud server, collectively referred to as an execution end, which communicates with the electronic whiteboard and the server.

[0065] The technical solution of the embodiment of the present application determines the firmware information of the electronic whiteboard, the user's usage behavior data of the electronic whiteboard, and the latest firmware information in the firmware update library, analyzes the firmware information, usage behavior data and the latest firmware information through an intelligent algorithm, and determines the target update firmware based on the user's usage behavior data, which is more in line with the user's actual update needs and is conducive to improving the user's firmware update experience; performs time period analysis on the usage behavior data or detects the usage status of the electronic whiteboard to determine the target update time, downloads the target update firmware from the firmware update library, and transmits it to the electronic whiteboard at the target update time for the electronic whiteboard to perform firmware update, thereby realizing automatic firmware update without affecting the user's use of the electronic whiteboard, which is more convenient and has a better update experience.

[0066] In one implementation, in step S100, the firmware information, unique identification (ID) and network address of all registered electronic whiteboards can be stored in the device management database in advance, and the execution end can obtain the firmware information in the device management database or directly read the firmware information, unique identification and network address of the electronic whiteboard from the electronic whiteboard. At the same time, each time a user uses the electronic whiteboard, his / her usage behavior data can be recorded in the device management database.

[0067] In one embodiment, before the firmware information of the electronic whiteboard needs to be analyzed or updated, the execution end detects whether the electronic whiteboard is online by sending a network request and regularly sending a heartbeat packet (Heartbeat) or a PING request, and obtains the status information and firmware information of each electronic whiteboard, including online status, power and other data; the firmware information includes but is not limited to the firmware version. Then, the execution end performs a connection initialization operation on the electronic whiteboard in the online state to ensure that the electronic whiteboard can receive subsequent firmware update instructions, and at the same time, a stable communication channel is established between the execution end and the electronic whiteboard to ensure that data and instructions can be transmitted in both directions. The communication channel is the basis for all subsequent operations. In addition, the execution end decides whether to establish a connection based on the online status of the electronic whiteboard. If the device is not online, the online status is recorded as offline and the timestamp and the unique identifier of the electronic whiteboard are recorded, and the electronic whiteboard is retried to connect after the electronic whiteboard is online, and the online status detection is performed until it is online. In the embodiment of the present application, the execution end periodically detects the status of the electronic whiteboard again. If it is detected that the electronic whiteboard is online, the system will automatically retry to establish a connection and resume the previously interrupted operation.

[0068] In one implementation, the execution end may obtain the latest firmware information, ie, the latest version of the firmware, from a firmware update library. The firmware update library and the device management database may both be set in a server.

[0069] In one implementation, step S200 includes steps S210-S240:

[0070] S210. Analyze the usage behavior data through an intelligent algorithm to determine firmware usage habits.

[0071] Optionally, the execution end in the embodiment of the present application is provided with a pre-trained neural network model, and the usage behavior data is analyzed through the intelligent algorithm of the neural network model to determine the firmware usage habits.

[0072] S220: Determine target firmware that has an update requirement based on firmware usage habits.

[0073] Optionally, firmware usage habits may include firmware involved in functions frequently used by users, for example, a total frequency of use within a certain period of time is greater than a frequency threshold, or a frequency of use in certain time periods is higher than a frequency threshold, etc. In this case, the frequently used and involved firmware can be used as the target firmware for the update requirement, which can more accurately determine the target firmware and avoid upgrading firmware that is basically not used by some users, wasting space and traffic, which is more in line with the actual needs of users and is conducive to improving update efficiency.

[0074] S230: Determine a firmware version of the target firmware according to the target firmware and the firmware information.

[0075] Optionally, after the target firmware is determined, the current version of the target firmware, ie, the firmware version of the target firmware, is determined from the acquired firmware information.

[0076] S240: Compare the firmware version of the target firmware with the latest firmware information, and when the comparison results are different, determine the target update firmware corresponding to the target firmware.

[0077] Optionally, the firmware version of the target firmware is compared with the latest firmware information, that is, the firmware version of the target firmware is compared with the latest version of the target firmware. If the comparison results are different, it is determined that the latest version corresponding to the target firmware is the target update firmware and needs to be updated.

[0078] In one implementation, step S300 includes step S310 or S320:

[0079] S310: Analyze the usage behavior data in a time period, determine an idle time period, and determine the idle time period as a target update time.

[0080] Optionally, the usage behavior data is analyzed by the above-mentioned intelligent algorithm to determine the usage time period and the idle time period. The idle time period can be, for example, an idle or dormant time period, so that the idle time period is determined as the target update time. If the electronic whiteboard is in the usage time period, the execution end chooses to postpone the update, re-detects and determines the idle time to avoid affecting the normal use of the user, and determines the idle time period as the target update time, which is conducive to updating without affecting the normal use of the user.

[0081] S320: Detect the usage status of the electronic whiteboard, and determine the time when the usage status is in an idle state as the target update time.

[0082] Optionally, the use state of the electronic whiteboard may be directly detected. When the use state is detected to be an idle state, the current idle state time is determined as the target update time. The idle state may be the time when the user does not perform any operation within a certain period of time.

[0083] In one implementation, in order to further improve the accuracy of determining the target update time, steps S330 and S340 or S350 may also be included:

[0084] S330: When the target update time is determined, the network status of the electronic whiteboard is detected, where the network status includes bandwidth or stability.

[0085] Optionally, when determining the target update time, since network conditions and the like may also affect the update process, the network status of the electronic whiteboard is further detected. For example, the network status includes bandwidth or stability.

[0086] S340. When the bandwidth is greater than or equal to the bandwidth threshold, the target update time is used as the final target update time. When the bandwidth is less than the bandwidth threshold, the network status is continuously detected until the bandwidth is greater than or equal to the bandwidth threshold, and the target update time is updated to the current time to obtain the final target update time.

[0087] Optionally, the bandwidth threshold is set based on actual conditions without specific limitations; when the bandwidth is greater than or equal to the bandwidth threshold, it means that the network condition is good at this time and the update is likely to proceed smoothly, so the above target update time is directly used as the final target update time; and when the bandwidth is less than the bandwidth threshold, it means that the network condition is poor at this time and the update is easily affected. At this time, the network status is continuously detected until the bandwidth is greater than or equal to the bandwidth threshold, and the target update time is updated to the current time to obtain the final target update time.

[0088] S350. When the stability characterization is stable, the target update time is used as the final target update time. When the stability characterization is unstable, the network status is continuously detected until the stability characterization is stable, and the target update time is updated to the current time to obtain the final target update time.

[0089] Optionally, stability can be determined based on network delay and packet loss rate. When the network delay is less than the delay threshold and the packet loss rate is lower than the preset threshold, the stability is characterized as stable. When the stability is characterized as stable, it means that the network is in good condition and the update is likely to proceed smoothly. Therefore, the above target update time is directly used as the final target update time. When the stability is characterized as unstable, it means that the network is in poor condition and the update is easily affected. At this time, the network status is continuously detected until the stability is characterized as stable, and the target update time is updated to the current time to obtain the final target update time.

[0090] In one implementation, step S400 includes steps S410-S430:

[0091] S410: Download the target update firmware from the firmware update library, calculate the actual hash value of the target update firmware by using a hash algorithm, and compare and verify the actual hash value with the preset hash value of the firmware update library.

[0092] Optionally, after the target update firmware is determined, the execution end downloads the target update firmware from the firmware update library, and calculates the actual hash value of the target update firmware through a hash algorithm (such as the SHA-256 algorithm). It should be noted that each latest version of the firmware in the firmware update library has a preset hash value calculated in advance by a hash algorithm, and the actual hash value calculated by the execution end is compared and verified with the preset hash value to ensure that the target update firmware has not been tampered with.

[0093] S420: When the comparison and verification is passed, the target update firmware is transmitted to the electronic whiteboard at the target update time, and the target update firmware received by the electronic whiteboard is verified.

[0094] Optionally, when the comparison result of the actual hash value and the preset hash value is the same, it indicates that the comparison verification has passed. When the comparison verification passes, the execution end transmits the target update firmware at the target update time and decompresses it to the temporary storage space of the electronic whiteboard, and sends an update instruction to the electronic whiteboard, so that the electronic whiteboard receives the target update firmware and verifies it. Similarly, the electronic whiteboard can calculate the hash value of the received target update firmware through a hash algorithm. If the calculated hash value is the same as the actual hash value, it is considered that the verification has passed. In addition, after decompression, the execution end can compare the content of the decompressed target update firmware with the preset list of the server to determine whether there is any missing; when the verification fails, the execution end re-downloads the target update firmware; and if the decompression or transmission fails, the execution end will re-decompress or transmit. After multiple failures, the execution end terminates the update and notifies the administrator.

[0095] In an embodiment of the present application, the electronic whiteboard can also feed back the size of the received target update firmware and verification information such as hash value to the execution end, and the execution end compares this information to confirm that the target update firmware is successfully transmitted; if the execution end verifies the file size and hash value in the feedback information, if there is a mismatch, it will be retransmitted.

[0096] S430: When the verification is passed, the target firmware is updated through the electronic whiteboard.

[0097] Optionally, when the verification is passed, the firmware is updated by using the target update firmware through the electronic whiteboard.

[0098] In one implementation, the firmware update method of the electronic whiteboard in the embodiment of the present application may further include steps S510-S520:

[0099] S510. When the comparison verification passes, the actual hash value is stored in the blockchain, and the downloaded stage information, the transmitted stage information, and the updated stage information are stored in the blockchain.

[0100] Optionally, when the actual hash value is compared and verified with the preset hash value of the firmware update library and passes, the execution end stores the actual hash value in the blockchain, and the execution end stores the stage information of the download of the target update firmware, the stage information of the target update firmware transmitting the electronic whiteboard, and the stage information of the electronic whiteboard updating in the blockchain. It should be noted that the actual hash value in the blockchain can be used to verify the target update firmware received by the electronic whiteboard. Before each step of the operation, the execution end uses the information recorded in the blockchain, such as the actual hash value, to verify the hash value calculated in the previous step to ensure that the data has not been tampered with; if the blockchain verification fails, the execution end will terminate the operation and notify the administrator.

[0101] S520: In the blockchain, an update log is generated according to the downloaded stage information, the transmitted stage information, and the updated stage information.

[0102] Optionally, in the blockchain, a complete update log is formed based on the downloaded stage information, the transmitted stage information, and the updated stage information to ensure data security and authenticity.

[0103] In one implementation, the firmware update method of the electronic whiteboard in the embodiment of the present application may further include steps S610-S620:

[0104] S610, detecting transmission anomalies during the transmission phase. When the transmission anomaly includes the electronic whiteboard network being disconnected, wait for the network to recover before resuming the transmission or retransmitting the target firmware update. When the transmission anomaly includes insufficient storage space of the electronic whiteboard, sending a prompt message.

[0105] Optionally, in order to improve the success rate of the update, further detect the transmission anomaly in the transmission stage, that is, the stage of transmitting the target update firmware from the execution end to the electronic whiteboard. If the transmission anomaly represents an abnormality, and the transmission anomaly includes the disconnection of the electronic whiteboard network, wait for the network to recover and then resume the transmission or retransmit the target update firmware; and if the transmission anomaly includes insufficient storage space on the electronic whiteboard, send a prompt message to let the user change the default receiving location or clear the space.

[0106] S620: Detect update anomalies during the update phase. When the update anomalies include update failure or execution timeout, send a prompt message and perform a rollback operation.

[0107] Similarly, the update anomaly and update progress percentage during the update phase are detected. When the update anomaly indicates an anomaly, and the update anomaly includes update failure or execution timeout (exceeding the time threshold), a prompt message is sent to the user for the user to take measures, and a rollback operation is performed at the same time to ensure that the version of the target firmware is the previous version and does not affect the normal use of the user; at the same time, the fault cause and the corresponding recovery and solution strategies can also be determined through the fault detection algorithm.

[0108] In the embodiment of the present application, if the update is confirmed to be successful, the execution end verifies whether the current firmware version of the electronic whiteboard is consistent with the version of the target updated firmware, confirms that the update has been successfully applied, and then sends a restart command, and the electronic whiteboard executes the restart to load the new firmware. In addition, after the restart, the execution end detects the status of the electronic whiteboard again to ensure that the electronic whiteboard is operating normally and there are no abnormal logs; if the firmware version after the update does not match, the execution end will restart the update process and return to step S200. If the electronic whiteboard fails to restart, the execution end will notify the administrator to intervene.

[0109] In the embodiment of the present application, it can also be used to install applications. Similar to firmware updates, the execution end retrieves the required application from the application library of the server and prepares to install it on the electronic whiteboard. The execution end sends a silent installation instruction through the communication channel, and the electronic whiteboard automatically installs the application without interrupting the current task. Among them, for the installation of applications that require user interaction, the execution end displays the installation interface through the remote interface, and the user can confirm it on the electronic whiteboard. If the installation fails, the execution end records the error log and notifies the administrator to handle it. If the installation is successful, the execution end updates the application list of the electronic whiteboard.

[0110] In an embodiment of the present application, server nodes can be deployed in different geographical locations in advance, and the execution end can select the nearest optimal server node for the electronic whiteboard based on the address of the electronic whiteboard, and obtain the latest firmware information and target update firmware and other information from the optimal server node. When there are multiple electronic whiteboards, the execution end can push the corresponding target update firmware to multiple electronic whiteboards at the same time, and achieve load balancing through a distributed architecture to improve update efficiency. Among them, the execution end monitors the load of the server node in real time, dynamically adjusts the allocation of update tasks, and ensures that each server node runs efficiently. For example, the execution end monitors the CPU, memory, and network load of each server node in real time, uses monitoring tools to obtain real-time data, and then performs dynamic task allocation: According to the monitoring data, the execution end dynamically adjusts the allocation of update tasks to ensure that the tasks are load balanced among the servers. When a server node is overloaded, the execution end will transfer some update tasks to other server nodes with lighter loads to ensure efficient operation of each server node and reduce the risk of failure. At the same time, the execution end dynamically adjusts the server node connected to the electronic whiteboard according to network delay and load conditions to ensure efficient updates. The execution end measures the network delay between the electronic whiteboard and the server node in real time, and uses tools such as ping to monitor the network status. If it detects that the delay of the currently connected server node is too high or the load is too heavy, the execution end will automatically switch to other server nodes with lower delays or lighter loads. During the switching process, the execution end ensures data consistency and connection stability to avoid update interruptions caused by switching.

[0111] In the embodiment of the present application, the user's usage behavior data is analyzed, and the interface layout and function order can be automatically adjusted based on the firmware usage habits to provide a personalized management interface; the execution end regularly analyzes the feedback data from users and continuously optimizes the layout and functions of the adaptive interface; at the same time, when generating the adaptive interface, the execution end gives priority to the user's commonly used functions and operating habits.

[0112] Reference Figure 2 , shows a structural block diagram of a firmware update device for an electronic whiteboard according to an embodiment of the present application, and the device may include:

[0113] A first determination module is used to determine the firmware information of the electronic whiteboard, the user's usage behavior data of the electronic whiteboard, and the latest firmware information in the firmware update library;

[0114] The second determination module is used to analyze the firmware information, usage behavior data and the latest firmware information through an intelligent algorithm to determine the target firmware to be updated;

[0115] The third determination module is used to perform time period analysis on the usage behavior data or detect the usage status of the electronic whiteboard to determine the target update time;

[0116] The update module is used to download the target update firmware from the firmware update library and transmit it to the electronic whiteboard at the target update time for the electronic whiteboard to perform firmware update.

[0117] In one implementation, the third determination module is further configured to:

[0118] When the target update time is determined, the network status of the electronic whiteboard is detected, and the network status includes bandwidth or stability;

[0119] When the bandwidth is greater than or equal to the bandwidth threshold, the target update time is used as the final target update time. When the bandwidth is less than the bandwidth threshold, the network status is continuously detected until the bandwidth is greater than or equal to the bandwidth threshold, and the target update time is updated to the current time to obtain the final target update time; or,

[0120] When the stability representation is stable, the target update time is used as the final target update time. When the stability representation is unstable, the network status is continuously detected until the stability representation is stable, and the target update time is updated to the current time to obtain the final target update time.

[0121] In one embodiment, the update module is further configured to:

[0122] When the comparison verification is passed, the actual hash value is stored in the blockchain, and the downloaded stage information, the transmitted stage information and the updated stage information are stored in the blockchain. The actual hash value in the blockchain is used to verify the target updated firmware received by the electronic whiteboard;

[0123] In the blockchain, an update log is generated based on the downloaded stage information, the transmitted stage information, and the updated stage information.

[0124] In one embodiment, the update module is further configured to:

[0125] Detect transmission anomalies during the transmission phase. When the transmission anomaly includes the electronic whiteboard network being disconnected, wait for the network to recover before resuming the transmission or retransmitting the target firmware update. When the transmission anomaly includes the electronic whiteboard having insufficient storage space, send a prompt message.

[0126] Detect update anomalies during the update phase. When an update anomaly occurs, including update failure or execution timeout, send a prompt message and perform a rollback operation.

[0127] The functions of each module in each device in the embodiments of the present application can be found in the corresponding description in the above method, and will not be repeated here.

[0128] Reference Figure 3, shows a structural block diagram of an electronic device according to an embodiment of the present application, the electronic device includes: a memory 310 and a processor 320, the memory 310 stores instructions that can be run on the processor 320, and the processor 320 loads and executes the instructions to implement the firmware update method of the electronic whiteboard in the above embodiment. The number of the memory 310 and the processor 320 can be one or more.

[0129] In one embodiment, the electronic device also includes a communication interface 330 for communicating with external devices and performing data exchange transmission. If the memory 310, the processor 320 and the communication interface 330 are implemented independently, the memory 310, the processor 320 and the communication interface 330 can be interconnected through a bus and complete mutual communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 3 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0130] Optionally, in a specific implementation, if the memory 310, the processor 320 and the communication interface 330 are integrated on a chip, the memory 310, the processor 320 and the communication interface 330 can communicate with each other through an internal interface.

[0131] An embodiment of the present application provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the firmware update method of the electronic whiteboard provided in the above embodiment is implemented.

[0132] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present application.

[0133] An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the application.

[0134] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.

[0135] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).

[0136] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.

[0137] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example" or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the described specific features, structures, materials or characteristics may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.

[0138] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0139] Any process or method description in the flow chart or otherwise described herein can be understood to represent a module, fragment or portion of a code including one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.

[0140] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.

[0141] It should be understood that the various parts of the present application can be implemented with hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium, and when the program is executed, it includes one of the steps of the method embodiment or a combination thereof.

[0142] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.

[0143] The above are only specific implementations of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for updating the firmware of an electronic whiteboard, characterized in that: include: Determine the firmware information of the electronic whiteboard, the user's usage behavior data of the electronic whiteboard, and the latest firmware information in the firmware update library; Analyze the firmware information, the usage behavior data and the latest firmware information through an intelligent algorithm to determine the target firmware to be updated; Performing time period analysis on the usage behavior data or detecting the usage status of the electronic whiteboard to determine a target update time; The target update firmware is downloaded from the firmware update library and transmitted to the electronic whiteboard at the target update time for the electronic whiteboard to perform firmware update.

2. The method for updating the firmware of the electronic whiteboard according to claim 1, characterized in that: The step of analyzing the firmware information, the usage behavior data, and the latest firmware information by using an intelligent algorithm to determine the target firmware to be updated includes: Analyze the usage behavior data through intelligent algorithms to determine firmware usage habits; According to the firmware usage habits, determining the target firmware that needs to be updated; Determining a firmware version of the target firmware according to the target firmware and the firmware information; The firmware version of the target firmware is compared with the latest firmware information, and when the comparison results are different, the target update firmware corresponding to the target firmware is determined.

3. The method for updating the firmware of the electronic whiteboard according to claim 1 or 2, characterized in that: The performing time period analysis on the usage behavior data or detecting the usage status of the electronic whiteboard to determine the target update time includes: Performing time period analysis on the usage behavior data to determine an idle time period, and determining the idle time period as a target update time; or, The use state of the electronic whiteboard is detected, and the time when the use state is an idle state is determined as the target update time.

4. The method for updating the firmware of the electronic whiteboard according to claim 3, characterized in that: The method further comprises: When the target update time is determined, detecting a network status of the electronic whiteboard, wherein the network status includes bandwidth or stability; When the bandwidth is greater than or equal to the bandwidth threshold, the target update time is used as the final target update time; when the bandwidth is less than the bandwidth threshold, the network status is continuously detected until the bandwidth is greater than or equal to the bandwidth threshold, the target update time is updated to the current time, and the final target update time is obtained; or, When the stability characterization is stable, the target update time is used as the final target update time. When the stability characterization is unstable, the network status is continuously detected until the stability characterization is stable, and the target update time is updated to the current time to obtain the final target update time.

5. The method for updating the firmware of the electronic whiteboard according to claim 1 or 2, characterized in that: The downloading of the target update firmware from the firmware update library and transmitting it to the electronic whiteboard at the target update time for the electronic whiteboard to perform firmware update comprises: Downloading the target update firmware from the firmware update library, calculating an actual hash value of the target update firmware by using a hash algorithm, and comparing and verifying the actual hash value with a preset hash value of the firmware update library; When the comparison verification passes, transmitting the target update firmware to the electronic whiteboard at the target update time, and verifying the target update firmware received by the electronic whiteboard; When the verification is passed, the electronic whiteboard uses the target update firmware to perform firmware update.

6. The method for updating the firmware of the electronic whiteboard according to claim 5, characterized in that: The method further comprises: When the comparison verification is passed, the actual hash value is stored in the blockchain, and the downloaded stage information, the transmitted stage information and the updated stage information are stored in the blockchain, and the actual hash value in the blockchain is used to verify the target updated firmware received by the electronic whiteboard; In the blockchain, an update log is generated according to the downloaded stage information, the transmitted stage information, and the updated stage information.

7. The method for updating the firmware of the electronic whiteboard according to claim 5, characterized in that: The method further comprises: Detecting transmission anomalies during the transmission phase, when the transmission anomalies include the electronic whiteboard network being disconnected, waiting for the network to be restored to resume transmission or retransmit the target update firmware, and when the transmission anomalies include insufficient storage space of the electronic whiteboard, sending a prompt message; Detect update anomalies during the update phase, and when the update anomalies include update failure or execution timeout, send a prompt message and perform a rollback operation.

8. A firmware update device for an electronic whiteboard, characterized in that: include: A first determination module is used to determine the firmware information of the electronic whiteboard, the user's usage behavior data of the electronic whiteboard, and the latest firmware information in the firmware update library; A second determination module is used to analyze the firmware information, the usage behavior data and the latest firmware information through an intelligent algorithm to determine a target firmware update; A third determination module is used to perform time period analysis on the usage behavior data or detect the usage status of the electronic whiteboard to determine the target update time; The update module is used to download the target update firmware from the firmware update library and transmit it to the electronic whiteboard at the target update time for the electronic whiteboard to perform firmware update.

9. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.