Machine type identification method for online program upgrading based on 4G module

By recording and comparing the program verification codes of the 4G module on the unit motherboard, the adaptability identification problem of 4G module and unit is solved, the fault tolerance and adaptability of multiple models is improved, and the failure rate and maintenance difficulty are reduced.

CN118916050APending Publication Date: 2024-11-08ZHEJIANG ZHONGGUANG ELECTRIC CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410836064.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

During the assembly process of unit, it is impossible to identify whether the 4G module has programs or its adaptability to the target unit, resulting in the failure to identify the model when pushing remote data of OTA, resulting in the low fault tolerance of the 4G module, and often errors in use or upgrade errors occur. The situation.

Method used

By recording the original program model verification code on the unit motherboard, automatically obtaining and comparing the program verification code stored in the 4G module, ensuring that the model matches and program upgrades are carried out. If it does not match, clear and push the latest program of the adaptive model. , until the verification is successful.

Benefits of technology

It improves the fault tolerance rate of 4G modules, avoids mixed use or upgrade errors, realizes the adaptation of multiple models of 4G modules, reduces the difficulty and failure rate of after-sales maintenance, and maintains the latest version of the unit program.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118916050A_ABST
    Figure CN118916050A_ABST
Patent Text Reader

Abstract

The invention discloses a model identification method for online program upgrading based on a 4G module, and the method comprises the steps: recording an original program model check code in a unit mainboard; after the unit is powered on, the 4G module automatically obtains and records an original program type check code of the installed unit mainboard; when the unit program needs to be upgraded, the specific steps are as follows: detecting whether a program is stored in the 4G module; if the 4G module does not store the program, waiting and receiving a remote push program, then implanting the remote push program into the 4G module, and then performing detection again; if yes, obtaining a 4G module storage program check code, and then comparing and checking the original program type check code of the mainboard with the 4G module storage program check code; if verification succeeds, it is judged that the machine type of the unit is matched with a program stored in the 4G module; and if the verification fails, judging that the machine type of the unit is not matched with the program stored in the 4G module. According to the arrangement, the situation that remote upgrading cannot be carried out or upgrading is wrong when the 4G modules are used in a mixed mode can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of real-time software update and configuration, and in particular to a model identification method for online program upgrade based on a 4G module. Background Art

[0002] During the assembly process, workers cannot identify whether the 4G module contains a program, nor can they determine whether the program in the 4G module is compatible with the unit to be assembled; for example, the 4G module of model A is installed on model B. Therefore, when using OTA for remote data push, the model cannot be identified, and the program is pushed remotely only by identifying the program version, resulting in a low fault tolerance rate for the 4G module, which often results in the module being unable to be used after being used incorrectly or the program being upgraded incorrectly. Summary of the invention

[0003] In order to solve the problems in the prior art, the purpose of the present invention is to provide a model identification method for online program upgrade based on a 4G module, which can improve the fault tolerance of the use of the 4G module and can automatically identify the model, thereby avoiding the situation where remote upgrades cannot be performed or upgrade errors occur when 4G modules are mixed.

[0004] In order to achieve the above-mentioned purpose, the present invention adopts the following technical scheme: a model identification method for online program upgrade based on 4G module, the original program model verification code is recorded in the unit motherboard; after the unit is powered on, the 4G module automatically obtains and records the original program model verification code of the unit motherboard on which it is installed; When the unit program needs to be upgraded, the specific steps are as follows: Check whether there is a program stored in the 4G module; if there is no program stored in the 4G module, wait and accept the remote push program, then implant the remote push program into the 4G module, and then re-check; if there is, obtain the 4G module storage program verification code, and then compare and verify the original program model verification code of the motherboard with the 4G module storage program verification code; If the verification is successful, it is determined that the unit model matches the program stored in the 4G module; if the verification fails, it is determined that the unit model does not match the program stored in the 4G module.

[0005] Preferably, after the verification is successful, the mainboard program version is obtained, the 4G module storage program version is obtained, and then a judgment is made as to whether the 4G module storage program version is greater than the mainboard program version; if the judgment is established, the mainboard program is upgraded, if not, the mainboard program is not upgraded.

[0006] As a preferred embodiment, it is not true that the program version stored in the 4G module is greater than the program version of the mainboard, and re-check whether the program is stored in the 4G module.

[0007] Preferably, after the verification fails, the program stored in the 4G module is cleared, and then the latest program of the adapted model is remotely pushed to the 4G module, and then the 4G module is re-checked to see if the program is stored until the verification succeeds.

[0008] Preferably, after the unit is powered on and initialized, it is determined whether there is remote push data; if so, the remote push program is received, and then the program is detected whether the program is stored in the 4G module; if not, the program is directly detected whether the program is stored in the 4G module.

[0009] The beneficial effects of the technical solution of the present invention are: it can improve the use tolerance of the 4G module, and can automatically identify the model, thereby avoiding the situation where remote upgrading cannot be performed or upgrading errors occur when 4G modules are mixed; and the present invention can achieve the purpose of using one 4G module for multiple models. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] Figure 1 This is a control flow chart of the model identification method for online program upgrade based on 4G module. DETAILED DESCRIPTION

[0011] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0012] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "clockwise", "counterclockwise" 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 invention and simplifying the description, rather than indicating or implying 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 limiting the present invention.

[0013] 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, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, "plurality" means two or more, unless otherwise clearly specified.

[0014] In the present invention, 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 it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0015] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply indicates that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly below and obliquely below the second feature, or simply indicates that the first feature is lower in level than the second feature. Example

[0016] like Figure 1 The model identification method based on 4G module for online program upgrade is shown. The original program model verification code is recorded in the unit motherboard. After the unit is powered on, the 4G module automatically obtains and records the original program model verification code of the unit motherboard on which it is installed. When the unit program needs to be upgraded, the specific steps are as follows: check whether the program is stored in the 4G module; if the 4G module does not store the program, wait for and accept the remote push program, and then implant the remotely pushed program into the 4G module, and then re-check; if it exists, obtain the 4G module storage program verification code, and then compare and verify the original program model verification code of the motherboard and the 4G module storage program verification code; if the verification is successful, it is determined that the unit model matches the program stored in the 4G module; if the verification fails, it is determined that the unit model does not match the program stored in the 4G module.

[0017] Such a setting can improve the fault tolerance of the use of 4G modules. It can automatically identify the model, thereby avoiding the situation where remote upgrade cannot be performed or upgrade errors occur when 4G modules are mixed. It can also achieve the purpose of using one 4G module for multiple models. At the same time, it can also avoid the problem of the unit being unusable due to the after-sales staff using the wrong 4G module, reduce the difficulty of after-sales maintenance, and reduce the failure rate of the unit.

[0018] In this embodiment, after the verification is successful, the mainboard program version is obtained, the 4G module storage program version is obtained, and then the 4G module storage program version is judged whether it is greater than the mainboard program version; if the judgment is established, the mainboard program is upgraded, and if not, the mainboard program is not upgraded. Further, if the 4G module storage program version is greater than the mainboard program version, it is not established, and the 4G module is re-checked to see if the program is stored.

[0019] Such a setting can keep the control program of the unit at the latest version, thereby improving the stability of the unit operation.

[0020] In this embodiment, after the verification fails, the program stored in the 4G module is cleared, and then the latest program of the adapted model is remotely pushed to the 4G module, and then the 4G module is re-detected to see if the program is stored until the verification succeeds.

[0021] In this embodiment, after the unit is powered on and initialized, it is determined whether there is remote push data; if so, the remote push program is received, and then it is detected whether the program is stored in the 4G module; if not, it is directly detected whether the program is stored in the 4G module.

[0022] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", 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 invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0023] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations on the present invention. A person skilled in the art may change, modify, replace and modify the above embodiments within the scope of the present invention without departing from the principles and intent of the present invention.

Claims

1. A model identification method for online program upgrade based on 4G module, Features: The original program model verification code is recorded in the unit mainboard; After the unit is powered on, the 4G module automatically obtains and records the original program model verification code of the unit motherboard on which it is installed; When the unit program needs to be upgraded, the specific steps are as follows: Check whether there is a program stored in the 4G module; if there is no program stored in the 4G module, wait and accept the remote push program, then implant the remote push program into the 4G module, and then re-check; if there is, obtain the 4G module storage program verification code, and then compare and verify the original program model verification code of the motherboard with the 4G module storage program verification code; If the verification is successful, it is determined that the unit model matches the program stored in the 4G module; if the verification fails, it is determined that the unit model does not match the program stored in the 4G module.

2. According to claim 1, a model identification method for online program upgrade based on 4G module, Features: After the verification is successful, the mainboard program version is obtained, the 4G module storage program version is obtained, and then a judgment is made as to whether the 4G module storage program version is greater than the mainboard program version; if the judgment is established, the mainboard program is upgraded, otherwise the mainboard program is not upgraded.

3. According to claim 2, a model identification method for online program upgrade based on 4G module, Features: The program version stored in the 4G module is greater than the program version of the mainboard. Recheck whether the program is stored in the 4G module.

4. According to claim 1, a method for identifying a model of a device for performing online program upgrade based on a 4G module, Features: After the verification fails, clear the program stored in the 4G module, and then remotely push the latest program of the adapted model to the 4G module, and then re-check whether the program is stored in the 4G module until the verification succeeds.

5. According to claim 1, a method for identifying a model of a device for performing online program upgrade based on a 4G module, Features: After the unit is powered on and initialized, it determines whether there is remote push data; if so, it receives the remote push program and then detects whether the program is stored in the 4G module; if not, it directly detects whether the program is stored in the 4G module.

Citation Information

Cited By

  • Parameter matching method and display device

    CN119832834A