Model machine updating method and interaction system
By providing a prototype update method and interactive system, the problem of low prototype update efficiency in the prior art is solved, and efficient integrated update of control board software upgrade, temperature curve update and resistance temperature coefficient calibration for the update prototype are realized.
Patent Information
- Application Number
- CN202411881486.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-18
- Publication Date
- 2025-04-29
AI Technical Summary
The existing prototype update technology is inefficient, and multiple computers are required to cooperate to complete the software upgrade of the prototype control board, the update of the temperature curve and the calibration of the resistance temperature coefficient.
Provide a prototype update method and interactive system, which realizes an integrated update process by establishing a connection with the prototype to be updated, receiving upgrade instructions, and updating the temperature curve and calibration resistance temperature coefficient according to the pre-stored configuration file.
This method can realize software upgrade of the prototype control board to be updated, update of the temperature curve and calibration of the resistance temperature coefficient without the need for multiple host computers, thereby improving the efficiency of the prototype update.
Smart Images

Figure CN119902782A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of prototype updating, and in particular to a prototype updating method and an interactive system. Background Art
[0002] In the field of prototype updating technology, in order to update the prototype, at least two host computers are usually required to respectively upgrade the software of the control board in the updated prototype, burn the temperature curve, and calibrate the resistance temperature coefficient. There is a problem of low efficiency in prototype updating. Summary of the invention
[0003] Based on this, it is necessary to provide a prototype update method and an interactive system to address the above technical issues.
[0004] In a first aspect, the present application provides a prototype updating method, the method comprising:
[0005] When a connection is established with the prototype to be updated, receiving an upgrade instruction to perform a software upgrade on a control board in the prototype to be updated, so that the control board acquires a temperature control algorithm;
[0006] Updating the temperature curve of the prototype to be updated according to a pre-stored configuration file; the configuration file includes a project number, a temperature curve and a temperature calibration parameter corresponding to the prototype to be updated;
[0007] The temperature control algorithm is used to burn the temperature curve and calibrate the resistance temperature coefficient according to the temperature calibration parameters.
[0008] In one embodiment, the method further comprises:
[0009] A connection flag is sent to the prototype to be updated via the first serial port at preset intervals, and when the prototype to be updated replies with the flag, it is confirmed that a connection is established with the prototype to be updated.
[0010] In one of the embodiments, before calibrating the resistance temperature coefficient of the to-be-updated prototype according to the temperature calibration parameters, the method further includes:
[0011] Setting the function parameters of the prototype to be updated; the function parameters are used to configure the function of the prototype to be updated;
[0012] The functional parameters include display parameters for configuring the display screen of the prototype to be updated for display; the method further includes: sending upgrade progress information to the prototype to be updated, so that the prototype to be updated calls the display screen to display the software upgrade progress of the control panel according to the display parameters; and / or,
[0013] The functional parameters include indication parameters; the method further includes: sending an upgrade signal to the prototype to be updated, so that the prototype to be updated calls an indication module according to the indication parameters to instruct the control board to complete the software upgrade.
[0014] In one embodiment, the method further comprises:
[0015] Receiving calibration progress information from the prototype to be updated;
[0016] The corresponding calibration serial code is displayed according to the calibration progress information; the calibration serial code is used to characterize the progress of the calibration of the resistance temperature coefficient by the prototype to be updated according to the temperature calibration parameters.
[0017] In a second aspect, the present application further provides a prototype updating method, the method comprising:
[0018] When a connection is established with a host computer, the software of the control board is upgraded under the control of the host computer so that the control board acquires a temperature control algorithm;
[0019] Based on the temperature control algorithm, the temperature curve is burned according to the configuration file pre-stored in the host computer; the configuration file includes the project number, temperature curve and temperature calibration parameters corresponding to the prototype to be updated;
[0020] Based on the temperature control algorithm, the temperature coefficient of resistance is calibrated according to the temperature calibration parameters.
[0021] In one embodiment, the method further comprises:
[0022] The reply flag is fed back to the host computer via the second serial port to confirm the establishment of a connection with the host computer.
[0023] In one embodiment, before calibrating the temperature coefficient of resistance according to the temperature calibration parameter, the method further includes:
[0024] Configure corresponding functions according to the function parameters set by the host computer;
[0025] The function parameters include display parameters; the method further includes: receiving upgrade progress information, and calling the display screen to display the software upgrade progress of the control panel according to the display parameters; and / or,
[0026] The functional parameter includes an indication parameter; the method further includes:
[0027] An upgrade signal is received, and an indication module is called according to the indication parameter to instruct the control board to complete the software upgrade.
[0028] In one embodiment, the method further comprises:
[0029] The calibration progress information is sent to the host computer so that the host computer displays a corresponding calibration serial code according to the calibration progress information; the calibration serial code is used to characterize the progress of the calibration of the resistance temperature coefficient by the prototype to be updated according to the temperature calibration parameters.
[0030] In a third aspect, the present application also provides an interactive system, including a host computer and a prototype to be updated;
[0031] The host computer is configured with a first serial port;
[0032] The prototype to be updated is configured with a second serial port;
[0033] Wherein, the host computer executes the prototype updating method as described in the first aspect on the prototype to be updated through the first serial port and the second serial port;
[0034] The prototype to be updated is used to execute the prototype updating method as described in the second aspect.
[0035] In one of the embodiments, the host computer is further configured with interactive software, and the interactive software executes the prototype updating method as described in the first aspect on the prototype to be updated through the first serial port and the second serial port.
[0036] The above-mentioned prototype updating method and interactive system, when establishing a connection with the prototype to be updated, receives an upgrade instruction to perform a software upgrade on the control board in the prototype to be updated, so that the control board obtains a temperature control algorithm; updates the temperature curve of the prototype to be updated according to a pre-stored configuration file; the configuration file includes a project number, a temperature curve and a temperature calibration parameter corresponding to the prototype to be updated; wherein the temperature control algorithm is used to burn the temperature curve and calibrate the temperature coefficient of resistance according to the temperature calibration parameters. It can be seen that the prototype updating method of the present application can sequentially realize the software upgrade of the control board in the prototype to be updated, the update of the temperature curve in the prototype to be updated, and the calibration of the temperature coefficient of resistance of the prototype to be updated according to the temperature calibration parameters, without the need for the cooperation of multiple host computers, thereby improving the efficiency of updating the prototype to be updated. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0038] Figure 1is a schematic block diagram of an interactive system in an embodiment of the present application;
[0039] Figure 2 This is one of the flowcharts of the prototype updating method in one embodiment of the present application;
[0040] Figure 3 This is a second flow chart of a prototype updating method in an embodiment of the present application;
[0041] Figure 4 This is one of the schematic diagrams of the upper computer display interface in one embodiment of the present application;
[0042] Figure 5 This is a schematic diagram of the display content of the display screen in the lower computer in one embodiment of the present application;
[0043] Figure 6 This is a second schematic diagram of the upper computer display interface in an embodiment of the present application;
[0044] Figure 7 This is the third schematic diagram of the upper computer display interface in one embodiment of the present application;
[0045] Figure 8 This is a schematic diagram of the initial display interface of the host computer when the interactive software in one embodiment of the present application executes the corresponding prototype update method;
[0046] Fig. 9 1 is a diagram of the internal structure of a computer device in one embodiment of the present application. DETAILED DESCRIPTION
[0047] In order to make the above-mentioned purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are described in detail below in conjunction with the accompanying drawings. In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar improvements without violating the connotation of the present application, so the present application is not limited by the specific embodiments disclosed below.
[0048] In the description of the present application, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0049] 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 the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0050] In this application, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0051] The prototype updating method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the host computer 100 establishes a communication connection with the prototype to be updated 200 through the first serial port 110 and the second serial port 210 of the prototype to be updated 200, so as to transmit signals with the prototype to be updated 200, thereby realizing the prototype update method in this application. Among them, the host computer 100 can be but not limited to various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The prototype to be updated can be an atomization device, etc., but is not limited to this.
[0052] In one embodiment, see the attached Figure 2 , attached Figure 2 FIG. 1 shows one of the flow charts of the prototype updating method in this embodiment. Figure 1 The upper computer execution in is taken as an example to illustrate, including the following steps S201 to S202.
[0053] Step S201, when a connection is established with a prototype to be updated, an upgrade instruction is received to perform a software upgrade on a control board in the prototype to be updated, so that the control board acquires a temperature control algorithm.
[0054] The connection established with the prototype to be updated may be a physical connection or a wireless communication connection. For example, a connection may be established with the prototype to be updated through a serial port, thereby realizing information interaction with the prototype to be updated, for example, a physical connection is established through a first serial port and a second serial port of the prototype to be updated, the prototype to be updated is controlled to perform a display function, an indication function, send a signal to the prototype to be updated, receive a signal from the prototype to be updated, and so on.
[0055] Performing software upgrade on the control board in the updated prototype can be understood as upgrading the firmware of the updated prototype, so that the control board in the updated prototype can be upgraded with software, obtain the temperature control algorithm, and realize subsequent temperature curve burning and resistance temperature coefficient calibration.
[0056] Step S202: updating the temperature curve of the prototype to be updated according to the pre-stored configuration file.
[0057] The configuration file includes the project number, temperature curve and temperature calibration parameters corresponding to the prototype to be updated. Exemplarily, the configuration file can be a json (JavaScript Object Notation) document (a lightweight data exchange format). Different prototypes to be updated can be updated and upgraded by changing the project number, temperature curve and temperature calibration parameters in the configuration file.
[0058] The temperature control algorithm is used to burn the temperature curve and calibrate the resistance temperature coefficient according to the temperature calibration parameters.
[0059] The above-mentioned project number can be used to determine that the prototype to be updated is the prototype of the target batch, so as to avoid updating wrong temperature curves of prototypes of different batches and causing updating accidents.
[0060] The prototype update method in this embodiment can sequentially realize the software upgrade of the control board in the prototype to be updated, update the temperature curve in the prototype to be updated, and enable the prototype to be updated to calibrate the resistance temperature coefficient according to the temperature calibration parameters, without the need for the cooperation of multiple host computers, thereby improving the efficiency of updating the prototype to be updated.
[0061] In one embodiment, the prototype updating method in this embodiment further includes: sending a connection flag to the prototype to be updated via the first serial port at preset intervals, and confirming the establishment of a connection with the prototype to be updated when the prototype to be updated replies with the flag.
[0062] Exemplarily, a connection flag may be sent to the prototype to be updated every 1.5 seconds. When the prototype to be updated replies with the flag, it indicates that the connection is successful. After the connection is successful, a "connection successful" logo may be displayed to indicate confirmation of the connection with the prototype to be updated.
[0063] Among them, in order to make the first serial port have a faster transmission speed and achieve the update purpose of the updated prototype, the baud rate of the first serial port can be configured to 2400bit / s, 4800bit / s, 9600bit / s, 19200bit / s, 38400bit / s, 57600bit / s, 115200bit / s, etc.
[0064] In one embodiment, the baud rate of the first serial port is configured to be 115200 bit / s.
[0065] In this embodiment, the baud rate of the first serial port is configured to 115200 bit / s, which can improve the transmission speed of the first serial port on the basis of reducing the bit error rate, ensure the software upgrade of the control board in the updated prototype, so that the control board obtains the temperature control algorithm and realizes the subsequent temperature curve burning and resistance temperature coefficient calibration.
[0066] In one embodiment, before calibrating the resistance temperature coefficient of the prototype to be updated according to the temperature calibration parameters, the method further includes: setting function parameters of the prototype to be updated; the function parameters are used to configure the function of the prototype to be updated.
[0067] In this embodiment, the functional parameters of the prototype to be updated are set by the upper computer to achieve functional configuration of the prototype to be updated, and the functions of the prototype to be updated can be flexibly configured as needed.
[0068] In one embodiment, the functional parameters include display parameters used to configure the display screen of the prototype to be updated for display; the prototype update method in this embodiment also includes: sending upgrade progress information to the prototype to be updated, so that the prototype to be updated calls the software upgrade progress of the display screen display control panel according to the display parameters.
[0069] For example, the software upgrade progress of the control board may be represented by a percentage.
[0070] The display screen of the prototype to be updated is enabled by configuring display parameters, so that the prototype to be updated can display the software upgrade progress of the control panel when receiving the upgrade progress information, thereby improving the upgrade visualization.
[0071] In one embodiment, the functional parameters include indication parameters; the prototype updating method further includes: sending an upgrade signal to the prototype to be updated, so that the prototype to be updated calls the indication module according to the indication parameters to instruct the control board to complete the software upgrade.
[0072] Exemplarily, the indication module of the prototype to be updated, such as the vibration module, is started by setting the indication parameters. During the process of software upgrading of the control board in the prototype to be updated, the UPGRADE (upgrade) flag of the prototype to be updated is 0, and the vibration module does not work. When the control board completes the software upgrade, the UPGRADE (upgrade) flag of the prototype to be updated is 1, and the vibration module starts vibrating to prompt the control board to complete the software upgrade.
[0073] In one embodiment, the prototype update method further includes: receiving calibration progress information from the prototype to be updated; displaying a corresponding calibration serial code according to the calibration progress information; the calibration serial code is used to characterize the progress of the calibration of the resistance temperature coefficient of the prototype to be updated according to the temperature calibration parameters.
[0074] In this embodiment, when the prototype to be updated calibrates the resistance temperature coefficient according to the temperature calibration parameters, the prototype to be updated sends calibration progress information to the host computer, and the host computer displays the corresponding calibration serial code according to the calibration progress information to visualize the calibration progress.
[0075] Based on the same inventive concept, the embodiment of the present application also provides a prototype update method that can be executed by the prototype to be updated, which corresponds to the above-mentioned prototype update method that can be executed by the host computer. The implementation scheme for solving the problem provided by the prototype update method that can be executed by the prototype to be updated is similar to the implementation scheme recorded in the above-mentioned prototype update method that can be executed by the host computer. Therefore, the limitations of some of the same technical features in the embodiments of one or more prototype update methods that can be executed by the prototype to be updated provided below can refer to the above-mentioned limitations on the prototype update method that can be executed by the host computer, and will not be repeated here.
[0076] In one embodiment, a prototype updating method is also provided. Figure 3 , the prototype update method in this embodiment is passed Figure 1 The prototype updating method in this embodiment includes the following steps S301 to S303.
[0077] Step S301, when a connection is established with a host computer, the software of the control board is upgraded under the control of the host computer so that the control board acquires a temperature control algorithm.
[0078] Step S302, based on the temperature control algorithm, the temperature curve is burned according to the configuration file pre-stored in the host computer.
[0079] The configuration file includes a project number, a temperature curve, and temperature calibration parameters corresponding to the prototype to be updated.
[0080] Step S303: Calibrate the temperature coefficient of resistance according to the temperature calibration parameters based on the temperature control algorithm.
[0081] In one embodiment, the prototype updating method in this embodiment further includes: feeding back a reply flag bit to the upper computer via the second serial port to confirm the establishment of a connection with the upper computer.
[0082] In order to make the first serial port have a faster transmission speed and achieve the update purpose of the updated prototype, the baud rate of the first serial port can be configured to 2400bit / s, 4800bit / s, 9600bit / s, 19200bit / s, 38400bit / s, 57600bit / s, 115200bit / s, etc.
[0083] In one embodiment, the baud rate of the second serial port is configured to be 115200 bit / s.
[0084] In one embodiment, the prototype updating method in this embodiment further includes: configuring corresponding functions according to function parameters set by the host computer.
[0085] In one embodiment, the functional parameters include display parameters; the prototype update method in this embodiment further includes: receiving upgrade progress information, and calling the display screen to display the software upgrade progress of the control panel according to the display parameters.
[0086] In one embodiment, the functional parameter includes an indication parameter; the prototype updating method in this embodiment further includes: receiving an upgrade signal, and calling an indication module according to the indication parameter to instruct the control board to complete the software upgrade.
[0087] In one embodiment, a prototype updating method is provided, which includes: the upper computer sends a connection flag to the lower computer (such as the prototype to be updated) every 1.5 seconds, and when the lower computer (such as the prototype to be updated) establishes a physical connection with the upper computer through the serial port and replies to the flag to the upper computer, it indicates that the lower computer (such as the prototype to be updated) is successfully connected to the upper computer. After the connection is successful, refer to the attached Figure 4 One of the upper computer display interface diagrams shown in the figure, at this time the upper computer displays "Device has been connected". You can input the upgrade command through the input device, such as the upper computer keyboard, such as by tapping the "space" key on the keyboard to "upgrade the firmware" of the lower computer (such as the prototype to be updated). When "upgrading the firmware" of the lower computer (such as the prototype to be updated), the UPGRADE flag of the lower computer (such as the prototype to be updated) is reset to zero. Figure 5 The following is a schematic diagram of the display contents of the lower computer (such as the prototype to be updated). The display of the lower computer (such as the prototype to be updated) displays the software upgrade progress of the control board from 1% to 100% based on the upgrade progress information received from the upper computer. When the control board completes the software upgrade, the Upgrade flag position of the lower computer (such as the prototype to be updated) is 1, and the lower computer (such as the prototype to be updated) vibrates to prompt, and continues to refer to the attached Figure 4, the upper computer displays "Firmware upgrade successful". The upper computer automatically starts to update the temperature curve of the lower computer (such as the prototype to be updated) through the serial port according to the pre-stored configuration file. After the lower computer (such as the prototype to be updated) "burns the temperature curve", as shown in the attached figure Figure 6 The upper computer shows the second display interface diagram of the upper computer. The upper computer displays "curve programming successful". After completing the temperature curve update, set the function parameters of the lower computer (such as the prototype to be updated). Figure 7 The upper computer displays "Parameters set successfully" as shown in the third diagram of the upper computer display interface. After the setting is completed, continue to refer to the attached Figure 7 , the upper computer display screen keeps jumping the serial code to visualize the calibration progress. The lower computer (such as the prototype to be updated) automatically completes the calibration of the resistance temperature coefficient within the preset time (such as 4 minutes).
[0088] In one embodiment, the prototype update method in this embodiment also includes: sending calibration progress information to the host computer so that the host computer displays the corresponding calibration serial code according to the calibration progress information; the calibration serial code is used to characterize the progress of the updated prototype calibrating the resistance temperature coefficient according to the temperature calibration parameters.
[0089] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0090] In one embodiment, continue to refer to the attached Figure 1 The present application also provides an interactive system 10. The interactive system 10 in this embodiment includes a host computer 100 and a prototype to be updated 200. The host computer 100 is configured with a first serial port 110. The prototype to be updated 200 is configured with a second serial port 210.
[0091] The host computer 100 executes the prototype updating method in step S201 to step S202 on the prototype 200 to be updated through the first serial port 110 and the second serial port 210 .
[0092] The prototype machine 200 to be updated is used to execute the prototype updating method in step S301 to step S303 .
[0093] In one embodiment, see the attached Figure 1 The host computer 100 is also configured with interactive software, and the interactive software executes the prototype updating method such as step S201 to step S202 on the prototype 200 to be updated through the first serial port 110 and the second serial port 210.
[0094] For example, see the attached Figure 8 , attached Figure 8 FIG. 1 shows a schematic diagram of the initial display interface of the host computer 100 when the interactive software executes the corresponding prototype update method. The initial display interface of the host computer 100 when the interactive software executes the corresponding prototype update method will display the window name, such as the attached Figure 8 “ResAdj 0038 Ver24.08” is shown, where “ResAdj” represents the functions of the interactive software, namely, upgrading and calibration, “0038” represents the project number of the prototype 200 to be updated, and “Ver24.08” represents the version number of the interactive software.
[0095] The prototype machine 200 to be updated is used to execute the prototype updating method in step S301 to step S303 .
[0096] Exemplarily, the interactive software may also send a connection flag to the prototype 200 to be updated at preset intervals through the first serial port 110 and the second serial port 210 of the prototype 200 to be updated, and confirm the establishment of a connection with the prototype 200 to be updated when the prototype 200 to be updated replies with the flag.
[0097] Exemplarily, the interactive software can also set functional parameters of the prototype 200 to be updated through the first serial port 110 and the second serial port 210 of the prototype 200 to be updated; the functional parameters are used to configure the functions of the prototype 200 to be updated.
[0098] Exemplarily, the functional parameters include display parameters for configuring the display screen of the prototype to be updated 200 for display; the interactive software can also send upgrade progress information to the prototype to be updated 200 through the first serial port 110 and the second serial port 210 of the prototype to be updated 200, so that the prototype to be updated 200 calls the software upgrade progress of the display screen display control panel according to the display parameters.
[0099] Exemplarily, the functional parameters include indication parameters; the interactive software can also send an upgrade signal to the prototype 200 to be updated through the first serial port 110 and the second serial port 210 of the prototype 200 to be updated, so that the prototype 200 to be updated calls the indication module according to the indication parameters to instruct the control board to complete the software upgrade.
[0100] Exemplarily, the interactive software can also receive calibration progress information from the prototype to be updated 200 through the first serial port 110 and the second serial port 210 of the prototype to be updated 200; display the corresponding calibration serial code according to the calibration progress information; the calibration serial code is used to characterize the progress of the prototype to be updated 200 in calibrating the resistance temperature coefficient according to the temperature calibration parameters.
[0101] Correspondingly, illustratively, the prototype machine 200 to be updated may also feedback a reply flag bit to the host computer 100 through the second serial port 210 and the first serial port 110 of the host computer 100 to confirm the establishment of a connection with the host computer 100.
[0102] Exemplarily, the prototype machine 200 to be updated may also configure corresponding functions according to functional parameters set by the host computer 100 through the second serial port 210 and the first serial port 110 of the host computer 100 .
[0103] Exemplarily, the functional parameters include display parameters; the prototype 200 to be updated can also receive upgrade progress information through the second serial port 210 and the first serial port 110 of the host computer 100, and call the display screen to display the software upgrade progress of the control board according to the display parameters.
[0104] Exemplarily, the functional parameters include indication parameters; the prototype 200 to be updated can also receive an upgrade signal through the second serial port 210 and the first serial port 110 of the host computer 100, and call the indication module according to the indication parameter to instruct the control board to complete the software upgrade.
[0105] Exemplarily, the prototype to be updated 200 can also send calibration progress information to the host computer 100 through the second serial port 210 and the first serial port 110 of the host computer 100, so that the host computer 100 displays the corresponding calibration serial code according to the calibration progress information; the calibration serial code is used to characterize the progress of the prototype to be updated 200 in calibrating the resistance temperature coefficient according to the temperature calibration parameters.
[0106] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig. 9As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a prototype update method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0107] Those skilled in the art will understand that Fig. 9 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0108] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0109] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0110] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0111] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0112] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0113] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the application. It should be noted that, for a person of ordinary skill in the art, several variations and improvements may be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the attached claims.
Claims
1. A prototype updating method, characterized in that: The method comprises: When a connection is established with the prototype to be updated, receiving an upgrade instruction to perform a software upgrade on a control board in the prototype to be updated, so that the control board acquires a temperature control algorithm; Updating the temperature curve of the prototype to be updated according to a pre-stored configuration file; the configuration file includes a project number, a temperature curve and a temperature calibration parameter corresponding to the prototype to be updated; The temperature control algorithm is used to burn the temperature curve and calibrate the resistance temperature coefficient according to the temperature calibration parameters.
2. The prototype updating method according to claim 1, characterized in that: The method further comprises: A connection flag is sent to the prototype to be updated via the first serial port at preset intervals, and when the prototype to be updated replies with the flag, it is confirmed that a connection is established with the prototype to be updated.
3. The prototype updating method according to claim 1, characterized in that: Before calibrating the resistance temperature coefficient of the to-be-updated prototype according to the temperature calibration parameters, the method further includes: Setting the function parameters of the prototype to be updated; the function parameters are used to configure the function of the prototype to be updated; The functional parameters include display parameters for configuring the display screen of the prototype to be updated for display; the method further includes: sending upgrade progress information to the prototype to be updated, so that the prototype to be updated calls the display screen to display the software upgrade progress of the control panel according to the display parameters; and / or, The functional parameters include indication parameters; the method further includes: sending an upgrade signal to the prototype to be updated, so that the prototype to be updated calls an indication module according to the indication parameters to instruct the control board to complete the software upgrade.
4. The prototype updating method according to claim 1, characterized in that: The method further comprises: Receiving calibration progress information from the prototype to be updated; The corresponding calibration serial code is displayed according to the calibration progress information; the calibration serial code is used to characterize the progress of the calibration of the resistance temperature coefficient by the prototype to be updated according to the temperature calibration parameters.
5. A prototype updating method, characterized in that: The method comprises: When a connection is established with a host computer, the software of the control board is upgraded under the control of the host computer so that the control board acquires a temperature control algorithm; Based on the temperature control algorithm, the temperature curve is burned according to the configuration file pre-stored in the host computer; the configuration file includes the project number, temperature curve and temperature calibration parameters corresponding to the prototype to be updated; Based on the temperature control algorithm, the temperature coefficient of resistance is calibrated according to the temperature calibration parameters.
6. The prototype updating method according to claim 5, characterized in that: The method further comprises: The reply flag is fed back to the host computer via the second serial port to confirm the establishment of a connection with the host computer.
7. The prototype updating method according to claim 5, characterized in that: Before calibrating the temperature coefficient of resistance according to the temperature calibration parameters, the method further includes: Configure corresponding functions according to the function parameters set by the host computer; The function parameters include display parameters; the method further includes: receiving upgrade progress information, and calling the display screen to display the software upgrade progress of the control panel according to the display parameters; and / or, The functional parameter includes an indication parameter; the method further includes: An upgrade signal is received, and an indication module is called according to the indication parameter to instruct the control board to complete the software upgrade.
8. The prototype updating method according to claim 5, characterized in that: The method further comprises: Sending calibration progress information to the host computer so that the host computer displays a corresponding calibration serial code according to the calibration progress information; the calibration serial code is used to characterize the progress of the calibration of the resistance temperature coefficient by the prototype to be updated according to the temperature calibration parameters.
9. An interactive system, characterized in that: Including the host computer and the prototype to be updated; The host computer is configured with a first serial port; The prototype to be updated is configured with a second serial port; Wherein, the host computer executes the prototype updating method according to any one of claims 1 to 4 on the prototype to be updated through the first serial port and the second serial port; The prototype to be updated is used to execute the prototype updating method as described in any one of claims 5-8.
10. The interactive system according to claim 9, characterized in that: The host computer is further configured with interactive software, and the interactive software executes the prototype updating method as described in any one of items 1 to 4 on the prototype to be updated through the first serial port and the second serial port.