CN117407024A - TBOX software parameter upgrading method and device, electronic equipment and medium - Google Patents

TBOX software parameter upgrading method and device, electronic equipment and medium Download PDF

Info

Publication number
CN117407024A
CN117407024A CN202311383391.5A CN202311383391A CN117407024A CN 117407024 A CN117407024 A CN 117407024A CN 202311383391 A CN202311383391 A CN 202311383391A CN 117407024 A CN117407024 A CN 117407024A
Authority
CN
China
Prior art keywords
parameter
software
tbox
upgrading
new
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202311383391.5A
Other languages
Chinese (zh)
Inventor
王金良
赵建国
周立锋
李龙
张婷婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Weichai Lovol Intelligent Agricultural Technology Co Ltd
Original Assignee
Weichai Lovol Intelligent Agricultural Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Weichai Lovol Intelligent Agricultural Technology Co Ltd filed Critical Weichai Lovol Intelligent Agricultural Technology Co Ltd
Priority to CN202311383391.5A priority Critical patent/CN117407024A/en
Publication of CN117407024A publication Critical patent/CN117407024A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • H04W8/245Transfer of terminal data from a network towards a terminal
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to a TBOX software parameter upgrading method, a TBOX software parameter upgrading device, electronic equipment and a TBOX software parameter upgrading medium, wherein the TBOX software parameter upgrading method comprises the following steps: acquiring a parameter upgrading instruction and a new parameter, wherein the new parameter is a parameter of a software parameter for upgrading TBOX software; and comparing the new parameter with the current software parameter of the TBOX software according to the parameter upgrading instruction, judging whether the current software parameter is changed relative to the new parameter, and if so, modifying the current software parameter according to the new parameter to realize the upgrading of the current software parameter. By the method, the new parameters and the current software parameters are compared, and the independent updating of the software parameters of the TBOX software is completed, so that the updating and the expandability of the TBOX software are greatly enhanced.

Description

TBOX software parameter upgrading method and device, electronic equipment and medium
Technical Field
The invention relates to the technical field of agricultural machinery, in particular to a TBOX software parameter upgrading method, a TBOX software parameter upgrading device, electronic equipment and a TBOX software parameter upgrading medium.
Background
The agricultural machinery has a plurality of operation types and very large application scene difference, so after the TBOX is installed, a plurality of parameters are required to be configured according to specific conditions, and the specific setting of the parameters reflects the difference between the operation types of the agricultural machinery and different application scenes. The parameters of the program are the basis of the correct operation of the program, and the error in parameter extraction during the operation of the program can cause abnormal operation and even breakdown of TBOX software, so that the configuration of the software parameters is crucial to the normal operation of the program.
Because TBOX software often has upgrading requirements, if parameters cannot be updated in time, the updating and upgrading of the software are limited, and because a parameter area of the TBOX software is stored in EEProm of the TBOX, the parameters of the software cannot be upgraded when the TBOX software program is upgraded, and the normal use of the TBOX software is affected.
Disclosure of Invention
The invention aims to solve at least one technical problem by providing a TBOX software parameter upgrading method, a TBOX software parameter upgrading device, electronic equipment and a TBOX software parameter upgrading medium.
In a first aspect, the present invention solves the above technical problems by providing the following technical solutions: a method of TBOX software parameter upgrade, the method comprising:
acquiring a parameter upgrading instruction and a new parameter, wherein the new parameter is a parameter of a software parameter for upgrading TBOX software;
and comparing the new parameter with the current software parameter of the TBOX software according to the parameter upgrading instruction, judging whether the current software parameter is changed relative to the new parameter, and if so, modifying the current software parameter according to the new parameter to realize the upgrading of the current software parameter.
The beneficial effects of the invention are as follows: according to the scheme, the software parameters of the TBOX software are independently updated through comparison of the new parameters and the current software parameters, so that the updating and expandability of the TBOX software are greatly enhanced.
On the basis of the technical scheme, the invention can be improved as follows.
Further, modifying the current software parameter according to the new parameter to upgrade the current software parameter includes:
and modifying the current software parameters according to the new parameters, judging whether the current software parameters are modified, if so, upgrading the current software parameters, and if not, modifying the current software parameters according to the new parameters until the modification is completed, and upgrading the current software parameters.
The adoption of the further scheme has the beneficial effects that in the upgrading process, if some errors are encountered to influence the upgrading, the current software parameters can be modified again according to the new parameters, so that the upgrading of the current software parameters is ensured.
Further, the new parameters are represented by the form of a parameter conversion table, and the current software parameters are represented by the form of a parameter conversion table;
the step of comparing the new parameter with the current software parameter of the TBOX software according to the parameter upgrading instruction comprises the following steps:
and comparing the parameter conversion table corresponding to the new parameter with the parameter conversion table corresponding to the current software parameter according to the parameter upgrading instruction.
The adoption of the further scheme has the beneficial effects that the software parameters are updated in the form of the parameter conversion table, so that the current software parameters of the TBOX software can be redefined according to the parameter conversion table corresponding to the new parameters, and the problem of software operation faults caused by errors in the parameter updating process is avoided.
Further, the current software parameter corresponds to a first version number, and the new parameter corresponds to a second version number;
the step of comparing the new parameter with the current software parameter of the TBOX software according to the parameter upgrading instruction comprises the following steps:
and comparing the first version number with the second version number according to the parameter upgrading instruction.
The method has the advantages that the software parameters are identified through the version numbers, and when judging whether the current software parameters need to be upgraded, whether the current software parameters need to be upgraded or not can be judged by comparing the first version numbers with the second version numbers, so that the data processing capacity is reduced.
Further, after the upgrading, the method further includes:
and feeding the upgrade state back to the remote control platform.
The further scheme has the beneficial effects that the upgrade state is fed back to the platform in time, so that the update condition of the software can be known in time, and the running faults of the software can be reduced.
In a second aspect, the present invention further provides a method for upgrading a TBOX software parameter, where the method includes:
and sending a parameter upgrading instruction and a new parameter to the TBOX terminal, so that the TBOX terminal compares the new parameter with the current software parameter of TBOX software according to the parameter upgrading instruction, judges whether the current software parameter is changed relative to the new parameter, and modifies the current software parameter according to the new parameter if the current software parameter is changed, thereby realizing the upgrading of the current software parameter, wherein the new parameter is a parameter of the software parameter for upgrading TBOX software.
The beneficial effects of the invention are as follows: according to the scheme, the software parameters of the TBOX software are independently updated through comparison of the new parameters and the current software parameters, so that the updating and expandability of the TBOX software are greatly enhanced.
In a third aspect, the present invention further provides a TBOX software parameter upgrading apparatus for solving the above technical problem, where the apparatus includes:
the acquisition module is used for acquiring a parameter upgrading instruction and a new parameter, wherein the new parameter is a parameter of a software parameter for upgrading TBOX software;
and the first upgrading module is used for comparing the new parameter with the current software parameter of the TBOX software according to the parameter upgrading instruction, judging whether the current software parameter is changed relative to the new parameter, and if so, modifying the current software parameter according to the new parameter to realize upgrading of the current software parameter.
In a fourth aspect, the present invention further provides a TBOX software parameter upgrading apparatus for solving the above technical problem, where the apparatus includes:
and the second upgrading module is used for sending a parameter upgrading instruction and a new parameter to the TBOX terminal so that the TBOX terminal can compare the new parameter with the current software parameter of TBOX software according to the parameter upgrading instruction, judging whether the current software parameter is changed relative to the new parameter, and if so, modifying the current software parameter according to the new parameter to realize the upgrading of the current software parameter, wherein the new parameter is the parameter of the software parameter for upgrading TBOX software.
In a fifth aspect, the present invention further provides an electronic device, where the electronic device includes a memory, a processor, and a computer program stored on the memory and capable of running on the processor, and the processor implements a TBOX software parameter upgrading method of the present application when executing the computer program.
In a sixth aspect, the present invention further provides a computer readable storage medium, where a computer program is stored, where the computer program is executed by a processor to implement a TBOX software parameter upgrading method of the present application.
Additional aspects and advantages of the application will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that are required to be used in the description of the embodiments of the present invention will be briefly described below.
FIG. 1 is a schematic flow chart of a TBOX software parameter upgrade method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of physical connection between a TBOX terminal and a service platform according to an embodiment of the present invention;
fig. 3 is a schematic diagram of a communication flow between a TBOX terminal and a remote control platform according to another embodiment of the present invention;
FIG. 4 is a flowchart of another method for upgrading TBOX software parameters according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a TBOX software parameter upgrade apparatus according to one embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The principles and features of the present invention are described below with examples given for the purpose of illustration only and are not intended to limit the scope of the invention.
The following describes the technical scheme of the present invention and how the technical scheme of the present invention solves the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present invention will be described below with reference to the accompanying drawings.
The scheme provided by the embodiment of the invention can be suitable for application scenes for upgrading the software parameters of TBOX software.
The embodiment of the invention provides a possible implementation manner, as shown in fig. 1, a flow chart of a TBOX software parameter upgrading method is provided, and an execution subject of the method can be a TBOX terminal or a remote control platform. In this embodiment, a method provided by an embodiment of the present invention will be described by taking a TBOX terminal as an execution body, and the method may include the following steps as shown in a flowchart in fig. 1:
step S110, acquiring a parameter upgrading instruction and new parameters, wherein the new parameters are parameters of software parameters for upgrading TBOX software;
and step S120, comparing the new parameter with the current software parameter of the TBOX software according to the parameter upgrading instruction, judging whether the current software parameter is changed relative to the new parameter, and if so, modifying the current software parameter according to the new parameter to realize the upgrading of the current software parameter.
According to the method, the software parameters of the TBOX software are independently updated through comparison of the new parameters and the current software parameters, so that the updating and expandability of the TBOX software are greatly enhanced.
The following description of the solution of the present invention is further described with reference to the following specific embodiment, in this embodiment, the execution body of the method may be a TBOX terminal, or may be a remote control platform, or may be understood as a service platform where the remote control platform is located, and specifically, reference may be made to a physical connection diagram between a TBOX terminal and a service platform shown in fig. 2; the TBOX terminal and the remote control platform may communicate with each other, specifically referring to a flow chart shown in fig. 3, and in combination with fig. 2 and fig. 3, the method for upgrading a TBOX software parameter provided in this embodiment may include the following steps:
step S110, acquiring a parameter upgrading instruction and new parameters, wherein the new parameters are parameters of software parameters for upgrading TBOX software; wherein, the TBOX terminal refers to a terminal running TBOX software, and the parameter upgrading instruction refers to an instruction of a software parameter of the TBOX software to be upgraded, and the instruction is generated by a remote control platform and issued to the TBOX terminal. The new parameters refer to software parameters of new version of TBOX software, which are also issued to the TBOX terminal by the remote control platform, and may include parameters required by multiple TBOX software operations.
Alternatively, the TBOX terminal may be stored in the TBOX terminal after receiving the new parameters.
And step S120, comparing the new parameter with the current software parameter of the TBOX software according to the parameter upgrading instruction, judging whether the current software parameter is changed (namely, is consistent with the new parameter) or not, and if so, modifying the current software parameter according to the new parameter, namely, modifying the current software parameter to be upgraded into the new parameter, thereby realizing the upgrading of the current software parameter.
The specific implementation manner of comparing the new parameter with the current software parameter of the TBOX software is to compare whether the new parameter is consistent with the current software parameter, the inconsistent parameter represents that the inconsistent parameter is the parameter to be upgraded, and the consistent parameter represents that the consistent parameter is the parameter not to be upgraded when the inconsistent parameter is consistent.
The upgrade process described above may also be referred to as an OTA (Over-the-Air Technology) upgrade.
Alternatively, the new parameter may be represented by a form of a parameter conversion table, and the current software parameter may also be represented by a form of a parameter conversion table; i.e. the parameters are represented in tabular form.
Comparing the new parameter with the current software parameter of the TBOX software according to the parameter upgrading instruction, including: and comparing the parameter conversion table corresponding to the new parameter with the parameter conversion table corresponding to the current software parameter according to the parameter upgrading instruction. Specifically, the essence of comparing the parameter conversion table corresponding to the new parameter with the parameter conversion table corresponding to the current software parameter is to compare each parameter in the two conversion tables one by one. The software parameters are updated in the form of the parameter conversion table, so that the current software parameters of the TBOX software can be redefined according to the parameter conversion table corresponding to the new parameters, and the problem of software operation faults caused by errors in the parameter updating process is avoided.
Optionally, the current software parameter corresponds to a first version number, and the new parameter corresponds to a second version number; identifying the software parameters through the version numbers, comparing the new parameters with the current software parameters of the TBOX software according to the parameter upgrading instruction, wherein the method comprises the following steps: and comparing the first version number with the second version number according to the parameter upgrading instruction so as to judge whether the current software parameter is required to be upgraded, wherein different version numbers generally represent software parameters of different versions, if the two version numbers are different, the software parameters are required to be upgraded, and when the two version numbers are different, the software parameters corresponding to the two version numbers can be further compared so as to finish upgrading, and if the two version numbers are the same, the software parameters are not required to be upgraded, the upgrading can be stopped, and thus the data processing amount can be reduced.
Based on the foregoing description, the new parameter may be represented by a form of a parameter conversion table, and the current software parameter may also be represented by a form of a parameter conversion table, and then the two version numbers may be compared first, and in case that the two version numbers are different, the two conversion tables are compared again, so as to implement upgrading of the current software parameter.
Optionally, modifying the current software parameter according to the new parameter to implement upgrading of the current software parameter includes:
and modifying the current software parameters according to the new parameters, judging whether the current software parameters are modified, if so, upgrading the current software parameters, and if not, modifying the current software parameters according to the new parameters until the modification is completed, and upgrading the current software parameters.
It will be appreciated that in the actual upgrade process, if some problem is encountered, which may affect the upgrade, the current software parameters may be modified again according to the new parameters, so as to ensure the upgrade of the current software parameters. At this time, if some parameters are already upgraded before the problem is encountered, when the problem is encountered, the upgraded parameters can be upgraded again, that is, all the parameters needing to be upgraded are upgraded once, so that missing of some parameters is avoided. In another implementation manner, only the parameter which is not updated can be modified continuously according to the new parameter, so that the parameter which is not updated is updated, and the data processing amount is reduced.
Optionally, after the upgrading, the method further includes:
and feeding the upgrade state back to the remote control platform. The upgrade status refers to whether the status description of the current software parameter upgrade is completed, and may be that the upgrade is completed or that the upgrade is not completed. The upgrade state is timely fed back to the platform, so that the update condition of the software can be timely known, and the software can be timely updated, so that the running faults of the software can be reduced.
Optionally, the method may further include: and redefining and reconstructing a data structure corresponding to the current software parameters, so that the TBOX software updating and expandability are greatly enhanced.
The upgrade process is a scheme described by taking a TBOX terminal as an execution subject, and the scheme is further described by taking a remote control platform as the execution subject, and the method comprises the following steps:
step S210, a parameter upgrading instruction and a new parameter are sent to a TBOX terminal, so that the TBOX terminal compares the new parameter with a current software parameter of TBOX software (software running on the TBOX terminal) according to the parameter upgrading instruction, judges whether the current software parameter is changed relative to the new parameter, and if so, modifies the current software parameter according to the new parameter to upgrade the current software parameter, wherein the new parameter is a parameter of the software parameter for upgrading the TBOX software.
To enhance the understanding of the present application, the following further describes the present application with reference to the flowchart shown in fig. 4:
step 1, a platform (remote control platform) issues an upgrade parameter area instruction (parameter upgrade instruction) and a parameter conversion table (parameter conversion table corresponding to new parameters);
step 2, a TBOX (TBOX terminal) receives the parameter upgrading instruction and stores a parameter conversion table;
step 3, comparing the version numbers corresponding to the new parameters with the version numbers corresponding to the current software parameters; the new parameter area version refers to a version number corresponding to the new parameter, and the old parameter area version refers to a version number corresponding to the current software parameter;
step 4, if the version number corresponding to the current software parameter is changed, namely the version number corresponding to the current software parameter is inconsistent with the version number corresponding to the new parameter, the current software parameter is required to be upgraded, step 5 is executed, and otherwise, the process is ended;
step 5, modifying the current TBOX parameter area according to the new parameter conversion table (the parameter conversion table corresponding to the new parameter);
and step 6, judging whether the modification of the parameters of the current TBOX parameter area is completed, ending the flow if the modification is completed, otherwise, returning to the step 5 until the modification is completed.
The beneficial effect of this scheme is:
1. the scheme can independently upgrade the parameter area (current software parameters) of the TBOX software program, and the original data structure of the parameter area can be redefined and rebuilt, so that the TBOX software updating and expandability are greatly enhanced.
2. The software parameter area is updated in the form of the parameter conversion table, so that the TBOX original parameter area (current software parameter) can be redefined according to the conversion table, and the problem of software operation failure caused by errors in the parameter updating process is avoided.
Based on the same principle as the method shown in fig. 1, the embodiment of the present invention further provides a TBOX software parameter upgrade apparatus 20, as shown in fig. 5, the TBOX software parameter upgrade apparatus 20 may include an acquisition module 210 and a first upgrade module 220, wherein:
an obtaining module 210, configured to obtain a parameter upgrade instruction and a new parameter, where the new parameter is a parameter of a software parameter for upgrading TBOX software;
the first upgrade module 220 is configured to compare the new parameter with a current software parameter of the TBOX software according to the parameter upgrade instruction, determine whether the current software parameter is changed with respect to the new parameter, and if so, modify the current software parameter according to the new parameter to implement upgrade of the current software parameter.
Optionally, when modifying the current software parameter according to the new parameter, the first upgrade module 220 is specifically configured to:
and modifying the current software parameters according to the new parameters, judging whether the current software parameters are modified, if so, upgrading the current software parameters, and if not, modifying the current software parameters according to the new parameters until the modification is completed, and upgrading the current software parameters.
Optionally, the new parameter is represented by a form of a parameter conversion table, and the current software parameter is represented by a form of a parameter conversion table;
the first upgrade module 220 is specifically configured to, when comparing the new parameter with the current software parameter of the TBOX software according to the parameter upgrade instruction:
and comparing the parameter conversion table corresponding to the new parameter with the parameter conversion table corresponding to the current software parameter according to the parameter upgrading instruction.
Optionally, the current software parameter corresponds to a first version number, and the new parameter corresponds to a second version number; the first upgrade module 220 is specifically configured to, when comparing the new parameter with the current software parameter of the TBOX software according to the parameter upgrade instruction:
and comparing the first version number with the second version number according to the parameter upgrading instruction.
Optionally, after the upgrading, the device further includes:
and the feedback module is used for feeding the upgrading state back to the remote control platform.
Based on the same principle as the method performed by the remote control platform as the execution body, the embodiment of the present invention further provides a TBOX software parameter upgrade apparatus 30, where the TBOX software parameter upgrade apparatus 30 may include a second upgrade module 310, where:
and the second upgrade module 310 is configured to send a parameter upgrade instruction and a new parameter to the TBOX terminal, so that the TBOX terminal compares the new parameter with a current software parameter of TBOX software according to the parameter upgrade instruction, determines whether the current software parameter is changed relative to the new parameter, and modifies the current software parameter according to the new parameter if the current software parameter is changed, so as to upgrade the current software parameter, where the new parameter is a parameter of a software parameter for upgrading TBOX software.
The TBOX software parameter upgrading device of the embodiment of the present invention may execute the TBOX software parameter upgrading method provided by the embodiment of the present invention, and its implementation principle is similar, and actions executed by each module and unit in the TBOX software parameter upgrading device of each embodiment of the present invention correspond to steps in the TBOX software parameter upgrading method of each embodiment of the present invention, and detailed functional descriptions of each module of the TBOX software parameter upgrading device may be referred to the descriptions in the corresponding TBOX software parameter upgrading method shown in the foregoing, which are not repeated herein.
The TBOX software parameter upgrading device may be a computer program (including program code) running in a computer device, for example, the TBOX software parameter upgrading device is an application software; the device can be used for executing corresponding steps in the method provided by the embodiment of the invention.
In some embodiments, the TBOX software parameter upgrade apparatus provided by the embodiments of the present invention may be implemented by combining software and hardware, and by way of example, the TBOX software parameter upgrade apparatus provided by the embodiments of the present invention may be a processor in the form of a hardware decoding processor that is programmed to perform the TBOX software parameter upgrade method provided by the embodiments of the present invention, for example, the processor in the form of a hardware decoding processor may employ one or more application specific integrated circuits (ASIC, application Specific Integrated Circuit), DSP, programmable logic device (PLD, programmable Logic Device), complex programmable logic device (CPLD, complex Programmable Logic Device), field programmable gate array (FPGA, field-Programmable Gate Array), or other electronic components.
In other embodiments, the TBOX software parameter updating apparatus provided in the embodiments of the present invention may be implemented in a software manner, and fig. 5 shows the TBOX software parameter updating apparatus stored in a memory, which may be software in the form of a program, a plug-in, or the like, and includes a series of modules including an acquisition module 210 and a first updating module 220, or includes a second updating module 310, for implementing the TBOX software parameter updating method provided in the embodiments of the present invention.
The modules involved in the embodiments of the present invention may be implemented in software or in hardware. The name of a module does not in some cases define the module itself.
Based on the same principles as the methods shown in the embodiments of the present invention, there is also provided in the embodiments of the present invention an electronic device, which may include, but is not limited to: a processor and a memory; a memory for storing a computer program; a processor for executing the method according to any of the embodiments of the invention by invoking a computer program.
In an alternative embodiment, an electronic device is provided, as shown in fig. 6, the electronic device 4000 shown in fig. 6 includes: a processor 4001 and a memory 4003. Wherein the processor 4001 is coupled to the memory 4003, such as via a bus 4002. Optionally, the electronic device 4000 may further comprise a transceiver 4004, the transceiver 4004 may be used for data interaction between the electronic device and other electronic devices, such as transmission of data and/or reception of data, etc. It should be noted that, in practical applications, the transceiver 4004 is not limited to one, and the structure of the electronic device 4000 is not limited to the embodiment of the present invention.
The processor 4001 may be a CPU (Central Processing Unit ), general purpose processor, DSP (Digital Signal Processor, data signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic device, transistor logic device, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules and circuits described in connection with this disclosure. The processor 4001 may also be a combination that implements computing functionality, e.g., comprising one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
Bus 4002 may include a path to transfer information between the aforementioned components. Bus 4002 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture ) bus, or the like. The bus 4002 can be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 6, but not only one bus or one type of bus.
Memory 4003 may be, but is not limited to, ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, RAM (Random Access Memory ) or other type of dynamic storage device that can store information and instructions, EEPROM (Electrically Erasable Programmable Read Only Memory ), CD-ROM (Compact Disc Read Only Memory, compact disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 4003 is used for storing application program codes (computer programs) for executing the present invention and is controlled to be executed by the processor 4001. The processor 4001 is configured to execute application program codes stored in the memory 4003 to realize what is shown in the foregoing method embodiment.
The electronic device shown in fig. 6 is only an example, and should not impose any limitation on the functions and application scope of the embodiment of the present invention.
Embodiments of the present invention provide a computer-readable storage medium having a computer program stored thereon, which when run on a computer, causes the computer to perform the corresponding method embodiments described above.
According to another aspect of the present invention, there is also provided a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the methods provided in the implementation of the various embodiments described above.
Computer program code for carrying out operations of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
It should be appreciated that the flow charts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The computer readable storage medium according to embodiments of the present invention may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The computer-readable storage medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the methods shown in the above-described embodiments.
The above description is only illustrative of the preferred embodiments of the present invention and of the principles of the technology employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in the present invention is not limited to the specific combinations of technical features described above, but also covers other technical features formed by any combination of the technical features described above or their equivalents without departing from the spirit of the disclosure. Such as the above-mentioned features and the technical features disclosed in the present invention (but not limited to) having similar functions are replaced with each other.

Claims (10)

1. A method for upgrading a TBOX software parameter, comprising the steps of:
acquiring a parameter upgrading instruction and a new parameter, wherein the new parameter is a parameter of a software parameter for upgrading TBOX software;
and comparing the new parameter with the current software parameter of the TBOX software according to the parameter upgrading instruction, judging whether the current software parameter is changed relative to the new parameter, and if so, modifying the current software parameter according to the new parameter to realize the upgrading of the current software parameter.
2. The method of claim 1, wherein modifying the current software parameters according to the new parameters to effect an upgrade to the current software parameters comprises:
and modifying the current software parameters according to the new parameters, judging whether the current software parameters are modified, if so, upgrading the current software parameters, and if not, modifying the current software parameters according to the new parameters until the modification is completed, and upgrading the current software parameters.
3. The method of claim 1, wherein the new parameters are represented by a form of a parameter conversion table and the current software parameters are represented by a form of a parameter conversion table;
the step of comparing the new parameter with the current software parameter of the TBOX software according to the parameter upgrading instruction comprises the following steps:
and comparing the parameter conversion table corresponding to the new parameter with the parameter conversion table corresponding to the current software parameter according to the parameter upgrading instruction.
4. The method of claim 1, wherein the current software parameter corresponds to a first version number and the new parameter corresponds to a second version number;
the step of comparing the new parameter with the current software parameter of the TBOX software according to the parameter upgrading instruction comprises the following steps:
and comparing the first version number with the second version number according to the parameter upgrading instruction.
5. A method according to any one of claims 1 to 3, wherein after upgrading, the method further comprises:
and feeding the upgrade state back to the remote control platform.
6. A method for upgrading a TBOX software parameter, comprising the steps of:
and sending a parameter upgrading instruction and a new parameter to the TBOX terminal, so that the TBOX terminal compares the new parameter with the current software parameter of TBOX software according to the parameter upgrading instruction, judges whether the current software parameter is changed relative to the new parameter, and modifies the current software parameter according to the new parameter if the current software parameter is changed, thereby realizing the upgrading of the current software parameter, wherein the new parameter is a parameter of the software parameter for upgrading TBOX software.
7. A TBOX software parameter upgrade apparatus comprising:
the acquisition module is used for acquiring a parameter upgrading instruction and a new parameter, wherein the new parameter is a parameter of a software parameter for upgrading TBOX software;
and the first upgrading module is used for comparing the new parameter with the current software parameter of the TBOX software according to the parameter upgrading instruction, judging whether the current software parameter is changed relative to the new parameter, and if so, modifying the current software parameter according to the new parameter to realize upgrading of the current software parameter.
8. A TBOX software parameter upgrade apparatus comprising:
and the second upgrading module is used for sending a parameter upgrading instruction and a new parameter to the TBOX terminal so that the TBOX terminal can compare the new parameter with the current software parameter of TBOX software according to the parameter upgrading instruction, judging whether the current software parameter is changed relative to the new parameter, and if so, modifying the current software parameter according to the new parameter to realize the upgrading of the current software parameter, wherein the new parameter is the parameter of the software parameter for upgrading TBOX software.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of any one of claims 1-6 when the computer program is executed.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the method of any of claims 1-6.
CN202311383391.5A 2023-10-24 2023-10-24 TBOX software parameter upgrading method and device, electronic equipment and medium Pending CN117407024A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311383391.5A CN117407024A (en) 2023-10-24 2023-10-24 TBOX software parameter upgrading method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311383391.5A CN117407024A (en) 2023-10-24 2023-10-24 TBOX software parameter upgrading method and device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN117407024A true CN117407024A (en) 2024-01-16

Family

ID=89493929

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311383391.5A Pending CN117407024A (en) 2023-10-24 2023-10-24 TBOX software parameter upgrading method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN117407024A (en)

Similar Documents

Publication Publication Date Title
CN109814524B (en) Vehicle diagnosis method, device and system
CN108874825B (en) Abnormal data verification method and device
CN111666088A (en) Pod replacement method and device, electronic equipment and computer-readable storage medium
CN111722857A (en) Updating method and device of software development kit, electronic equipment and storage medium
CN111291443B (en) Automatic generation method, device and equipment for I/O module model of vehicle control unit software
CN109032612B (en) Interface calling method and device of hybrid application and computer readable storage medium
CN114895935A (en) Method and device for flashing vehicle ECU, electronic equipment and storage medium
CN110968339B (en) Method and device for front-end building tool and electronic equipment
CN110688320B (en) Global variable detection method and device and terminal equipment
CN116775086A (en) Partition upgrading method and related device of android device
CN117407024A (en) TBOX software parameter upgrading method and device, electronic equipment and medium
CN115755867A (en) Vehicle diagnosis method and related device
CN113608831B (en) Plug-in instance management method, system, storage medium and equipment
CN115016836A (en) Component version management method and device, electronic equipment and system
CN112328288A (en) Method, system, equipment and storage medium for updating server component
CN110825406A (en) Software upgrading method and related equipment
CN108415814B (en) Method for automatically recording field change, application server and computer readable storage medium
CN112732332B (en) Software package management method and device suitable for koji management system and electronic equipment
CN103761247A (en) Processing method and device for error files
CN113448605B (en) Software updating method and device, electronic equipment and storage medium
CN110231953B (en) Method and system for executing remote code by APP
CN113608817B (en) Method and system for processing bullet frame
CN113301062B (en) Data model synchronization method, communication equipment and device with storage function
CN110098963B (en) Server operation and maintenance management and control method and system
CN115665271A (en) Industrial bus data parsing and escaping method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination