CN114675860A - Software upgrading method, server, processor and communication system - Google Patents

Software upgrading method, server, processor and communication system Download PDF

Info

Publication number
CN114675860A
CN114675860A CN202210356899.5A CN202210356899A CN114675860A CN 114675860 A CN114675860 A CN 114675860A CN 202210356899 A CN202210356899 A CN 202210356899A CN 114675860 A CN114675860 A CN 114675860A
Authority
CN
China
Prior art keywords
target
information
software
target information
server
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
CN202210356899.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 Power Co Ltd
Weifang Weichai Power Technology Co Ltd
Original Assignee
Weichai Power Co Ltd
Weifang Weichai Power 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 Power Co Ltd, Weifang Weichai Power Technology Co Ltd filed Critical Weichai Power Co Ltd
Priority to CN202210356899.5A priority Critical patent/CN114675860A/en
Publication of CN114675860A publication Critical patent/CN114675860A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The application provides a software upgrading method, a server, a processor and a communication system, wherein the upgrading method comprises the following steps: under the condition of communication with a PDM system, acquiring a plurality of target demand documents from the PDM system according to a plurality of unique identifications, wherein the unique identifications are the unique identifications of the target demand documents; analyzing the target demand documents to obtain a plurality of target information; and storing the plurality of target information so that the client acquires the plurality of target information from the server and upgrades the EOL software according to the plurality of target information, wherein the EOL software is software for monitoring the running state of the engine. According to the scheme, the target requirement document is automatically acquired from the PDM system and automatically analyzed, so that the high upgrading efficiency of the EOL software is guaranteed, the low labor cost and the low time cost are guaranteed, and the problem of low upgrading efficiency of the EOL software in the prior art is solved.

Description

Software upgrading method, server, processor and communication system
Technical Field
The present application relates to the field of software upgrading, and in particular, to a software upgrading method, a server, a computer-readable storage medium, a processor, and a communication system.
Background
The EOL software is complex in demand realization process, after a demand document is uploaded to a PDM system, the corresponding document needs to be manually acquired from the PDM system according to a part number, the corresponding document is manually analyzed, required information is stored in a local configuration table, the EOL software completes demand development by calling the information in the configuration table, and the efficiency during demand development is low and the error rate is high.
The above information disclosed in this background section is only for enhancement of understanding of the background of the technology described herein and, therefore, certain information may be included in the background that does not form the prior art that is already known in this country to a person of ordinary skill in the art.
Disclosure of Invention
The present application mainly aims to provide a software upgrading method, a server, a computer-readable storage medium, a processor, and a communication system, so as to solve the problem in the prior art that the efficiency of upgrading EOL software is low.
According to one aspect of the present application, there is provided a software upgrading method applied in a server, the upgrading method including: under the condition of communicating with a PDM system, acquiring a plurality of target demand documents from the PDM system according to a plurality of unique identifications, wherein the unique identifications are the unique identifications of the target demand documents; analyzing the target requirement documents to obtain target information; and storing a plurality of target information so that a client acquires the plurality of target information from the server and upgrades EOL software according to the plurality of target information, wherein the EOL software is software for monitoring the running state of an engine.
Optionally, the target requirement documents include an offline function calibration requirement document, an A2L document, and a communication service interface description document, the target information includes initialization information, system information, data flow information, parameter adjustment information, and test run completion information, and the target requirement documents are analyzed to obtain a plurality of target information, including: analyzing the offline function calibration requirement document and the A2L document to obtain the initialization information, the parameter adjustment information and the test run completion information; and analyzing the A2L document and the communication service interface description document to obtain the system information and the data flow information.
Optionally, storing a plurality of pieces of the target information, so that the client acquires the plurality of pieces of the target information from the server, includes: receiving a first script, and downloading the target information to a local database according to the first script, so that the client obtains the target information from a server, wherein the local database is a database of the client, and the first script is a document containing an instruction for downloading the target information.
Optionally, before receiving the first script, the upgrading method further includes: and receiving a second script, and operating the second script to push upgrading information to the client.
Optionally, running the second script to push upgrade information to the client includes: and running the second script within a preset time period to push the upgrading information to the client.
Optionally, before obtaining a plurality of target requirement documents from the PDM system according to a plurality of unique identifiers, the upgrade method further includes: uploading a requirement table to the PDM system, wherein the requirement table comprises a plurality of unique identifiers.
According to another aspect of the present application, there is provided a server, including: the system comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for acquiring a plurality of target demand documents from a PDM system according to a plurality of unique identifications under the condition of communication with the PDM system, and the unique identifications are the unique identifications of the target demand documents; the analysis unit is used for analyzing the target requirement documents to obtain a plurality of target information; and the upgrading unit is used for storing the target information so as to enable the client to acquire the target information from the server and upgrade EOL software according to the target information, wherein the EOL software is software for monitoring the running state of the engine.
According to yet another aspect of the present application, there is provided a computer-readable storage medium comprising a stored program, wherein the program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform any one of the upgrade methods.
According to still another aspect of the present application, there is provided a processor for executing a program, wherein the program executes any one of the upgrading methods.
According to an aspect of the present application, there is provided a communication system including: a PDM system for storing and managing a plurality of target demand documents; the server is communicated with the PDM system and used for executing any one of the upgrading methods; and the client is used for installing EOL software and monitoring the running state of the engine.
According to the technical scheme, in the software upgrading method, firstly, under the condition of communication with a PDM system, a plurality of target requirement documents are obtained from the PDM system according to a plurality of unique identifiers; then, analyzing the obtained multiple target requirement documents to obtain multiple target information; and finally, storing the obtained plurality of target information so as to enable the client to obtain the plurality of target information from the server and upgrade the EOL software according to the plurality of target information, wherein the EOL software is software for monitoring the running state of the engine. Compared with the prior art that a plurality of target demand documents are downloaded from a PDM system manually and analyzed manually, under the condition that a server communicates with the PDM system, the method has the advantages that the server acquires the corresponding target demand documents from the PDM system according to the unique identification of the target demand documents and analyzes the acquired target demand documents, namely, the method realizes the automatic acquisition of the target demand documents from the PDM system and the automatic analysis of the acquired target demand documents, and finally, a client acquires a plurality of target information from the server and upgrades the EOL software according to the plurality of target information, and as the method realizes the automatic acquisition of the target demand documents from the PDM system and the automatic analysis of the acquired target demand documents, the method ensures high upgrading efficiency of the EOL software, small labor cost and small time cost, therefore, the problem that the efficiency of upgrading the EOL software is low in the prior art is solved. According to the scheme, the target demand document is automatically analyzed, so that the problem of high error rate caused by manually analyzing the target demand document in the prior art is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
FIG. 1 shows a flow diagram of a method of upgrading software according to an embodiment of the application;
fig. 2 shows a schematic structural diagram of an upgrading device of software according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
As mentioned in the background, the efficiency of upgrading EOL software in the prior art is low, and in order to solve the above problems, in an exemplary embodiment of the present application, a software upgrading method, a server, a computer-readable storage medium, a processor, and a communication system are provided.
According to an embodiment of the application, a software upgrading method is provided.
Fig. 1 is a flowchart of a software upgrading method according to an embodiment of the present application. As shown in fig. 1, the upgrading method is applied in a server, and the upgrading method includes the following steps:
step S101, under the condition of communicating with a PDM system, acquiring a plurality of target requirement documents from the PDM system according to a plurality of unique identifications, wherein the unique identifications are the unique identifications of the target requirement documents;
step S102, analyzing a plurality of target requirement documents to obtain a plurality of target information;
step S103, storing a plurality of pieces of the target information, so that the client obtains the plurality of pieces of the target information from the server and upgrades the EOL software according to the plurality of pieces of the target information, where the EOL software is software that monitors the operating state of the engine.
In the software upgrading method, firstly, under the condition of communication with a PDM system, a plurality of target requirement documents are obtained from the PDM system according to a plurality of unique identifiers; then, analyzing the obtained multiple target requirement documents to obtain multiple target information; and finally, storing the obtained target information to enable the client to obtain the target information from the server and upgrade the EOL software according to the target information, wherein the EOL software is software for monitoring the running state of the engine. Compared with the prior art that a plurality of target demand documents are downloaded from a PDM system manually and analyzed manually, under the condition that a server communicates with the PDM system, the method has the advantages that the server acquires the corresponding target demand documents from the PDM system according to the unique identification of the target demand documents and analyzes the acquired target demand documents, namely, the method realizes the automatic acquisition of the target demand documents from the PDM system and the automatic analysis of the acquired target demand documents, and finally, a client acquires a plurality of target information from the server and upgrades the EOL software according to the plurality of target information, and as the method realizes the automatic acquisition of the target demand documents from the PDM system and the automatic analysis of the acquired target demand documents, the method ensures high upgrading efficiency of the EOL software, small labor cost and small time cost, therefore, the problem that the efficiency of upgrading the EOL software is low in the prior art is solved. According to the scheme, the target demand document is automatically analyzed, so that the problem of high error rate caused by manually analyzing the target demand document in the prior art is solved.
Specifically, the PDM system is a Product Data Management (Product Data Management) system, and the PDM system of the present application is used for managing and storing a plurality of target requirement documents.
Specifically, the EOL (End of Line, abbreviated as EOL) software is engine offline software and is used to monitor an operating state of an engine, and of course, the EOL software may also adjust or write internal data of an engine or an ECU (Electronic Control Unit, abbreviated as ECU) of a whole vehicle.
In a specific embodiment of the application, after the client acquires the plurality of target information from the server, the target information can be packaged into an installation package to obtain a target installation package, and the EOL software is upgraded through the target installation package.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
In order to further ensure that the obtained target information is more accurate and comprehensive, in an embodiment of the present application, the target requirement documents include an offline function calibration requirement document, an A2L document, and a communication service interface description document, the target information includes initialization information, system information, data stream information, parameter adjustment information, and test run completion information, and the target requirement documents are analyzed to obtain a plurality of target information, including: analyzing the offline function calibration requirement document and the A2L document to obtain the initialization information, the parameter adjustment information and the test run completion information; the A2L document and the communication service interface description document are analyzed to obtain the system information and the data stream information.
Specifically, the offline function calibration document is a document for calibrating relevant parameter information of the engine, and the communication service interface description document is a document of a communication interface relevant to the engine. In addition, the initialization information, the system information, the data flow information, the parameter adjustment information and the test completion information all comprise a plurality of sub-steps, and calibration and reading of the relevant parameters of the engine can be completed through each sub-step.
Specifically, the initialization information includes a name of a variable specified by an internal data Unit of an ECU (Electronic Control Unit, abbreviated as ECU), an operation on the variable (for example, reading, specifying, or writing), a manner of operating the variable (for example, operating the variable by means of DID or an address), a Protocol used when operating the variable (for example, Universal Measurement and Calibration Protocol, Universal Diagnostic Services Protocol, J1939 Protocol), a type of the variable (for example, a specified amount or a measured amount), a specified value (for example, a value specified by the variable in the case of specifying or writing), an address of the variable (for example, an address of the variable in the case of reading, specifying, or writing the variable by an address), a DID value of the variable (for example, in the case of reading or specifying the variable by DID, DID value of the variable), byte length of the variable (e.g., 1 byte, 2 bytes, 4 bytes, etc.), conversion method of physical value of the variable to internal value; the system information comprises information names (such as an engine number, an order number, a vehicle VIN number and the like) to be read, a mode (such as DID or address mode reading) for reading the information (such as the engine number, the order number, the vehicle VIN number and the like), protocols (XCP protocol, UDS protocol and J1939 protocol) used, and a conversion method for converting variable internal values into physical values; the data flow information includes information names of required data flows (for example, oil temperature, oil pressure, water outlet temperature, and the like), ways for reading the information (for example, reading through DID or address), protocols used (XCP protocol, UDS protocol, J1939 protocol), and conversion methods for converting variable internal values into physical values; the parameter adjustment information includes the name of the variable concerned, the operation (e.g., reading, calibrating or writing) on the variable, the address of the variable, the protocol used (XCP protocol, UDS protocol, J1939 protocol), the type of the variable (calibrating quantity, measuring quantity), the value calibrated or written, the byte length of the variable (1 byte, 2 bytes, 4 bytes), and the conversion method from the physical value of the variable to the internal value of the variable; the test run completion information includes a name of a variable concerned, an operation (for example, reading, scaling, or flashing) on the variable, a manner of operating on the variable (for example, operating on the variable by means of a DID or address), a protocol used (XCP protocol, UDS protocol, 1939 protocol), a type of the variable (scaling amount, measurement amount), a scaled value (that is, a value of scaling the variable if the variable is scaled or flashed), an address of the variable (for example, an address of the variable if the variable is read, scaled, or flashed by the address), a DID value of the variable (for example, a DID value of the variable if the variable is read or scaled by the DID), a byte length of the variable (for example, 1 byte, 2 bytes, 4 bytes), and a conversion method of a physical value of the variable to an internal value.
In another embodiment of the present application, storing a plurality of pieces of the target information, so that a client obtains the plurality of pieces of the target information from the server includes: and receiving a first script, and downloading the target information to a local database according to the first script so that the client acquires the target information from a server, wherein the local database is a database of the client, and the first script is a document containing an instruction for downloading the target information. In this embodiment, the plurality of target information are downloaded to the local database of the client according to the first script, so that it is ensured that the plurality of target information can be downloaded more conveniently and efficiently, it is further ensured that the subsequent upgrading efficiency of the EOL software is higher, and it is further ensured that the labor cost and the time cost are saved more.
In a specific embodiment of the present application, the client may communicate with the server, and the client may directly obtain a plurality of the target information from the server when the client communicates with the server.
In an actual application process, under the condition that a client communicates with a server, if an abnormality occurs in a network, the client is difficult to timely and accurately acquire a plurality of pieces of target information stored in the server, and therefore in order to ensure that the client can acquire the plurality of pieces of target information relatively timely, the plurality of pieces of target information are downloaded to a local database through the first script, and therefore the reliability that the client acquires the plurality of pieces of target information is high.
Since the client and the server do not communicate with each other, and the client does not know when the plurality of pieces of target information can be obtained, in another embodiment of the present application, before receiving the first script, the upgrading method further includes: and receiving a second script, and operating the second script to push upgrading information to the client, so that the client can know when to acquire a plurality of target information from the server in time.
Because the EOL software may occupy relatively resources in the upgrading process, in order to relatively save resources, in another embodiment of the present application, the second script is run to push upgrading information to the client, including: and operating the second script within a preset time period to push the upgrade information to the client, further realizing the timing upgrade of the EOL software, and further ensuring that the monitoring of the operating state of the engine is more accurate.
In an actual application process, the predetermined time period may be flexibly adjusted according to specific use requirements, and is not limited in this application.
In order to conveniently manage a plurality of unique identifiers, in an embodiment of the present application, before acquiring a plurality of target requirement documents from the PDM system according to a plurality of unique identifiers, the upgrading method further includes: and uploading a requirement table to the PDM system, wherein the requirement table comprises a plurality of unique identifiers.
The embodiment of the present application further provides a software upgrading apparatus, and it should be noted that the software upgrading apparatus according to the embodiment of the present application may be used to execute the software upgrading method according to the embodiment of the present application. The following describes an upgrading apparatus for software provided in an embodiment of the present application.
Fig. 2 is a schematic structural diagram of an upgrading apparatus for software according to an embodiment of the present application. As shown in fig. 2, the upgrade apparatus includes:
an obtaining unit 10, configured to obtain a plurality of target requirement documents from a PDM system according to a plurality of unique identifiers in a case of communicating with the PDM system, where the unique identifiers are unique identifiers of the target requirement documents;
an analyzing unit 20, configured to analyze a plurality of target requirement documents to obtain a plurality of target information;
the upgrading unit 30 is configured to store a plurality of pieces of the target information, so that the client obtains the plurality of pieces of the target information from the server and upgrades the EOL software according to the plurality of pieces of the target information, where the EOL software is software that monitors an operating state of the engine.
In the software upgrading device, the obtaining unit is configured to obtain a plurality of target requirement documents from a PDM system according to a plurality of unique identifiers in a case of communicating with the PDM system, where the unique identifiers are unique identifiers of the target requirement documents; the analysis unit is used for analyzing the target requirement documents to obtain a plurality of target information; the upgrading unit is used for storing a plurality of target information, so that the client acquires the plurality of target information from the server and upgrades EOL software according to the plurality of target information, wherein the EOL software is software for monitoring the running state of the engine. Compared with the prior art that a plurality of target demand documents are downloaded from a PDM system manually and analyzed manually, under the condition that a server communicates with the PDM system, the method has the advantages that the server acquires the corresponding target demand documents from the PDM system according to the unique identification of the target demand documents and analyzes the acquired target demand documents, namely, the method realizes the automatic acquisition of the target demand documents from the PDM system and the automatic analysis of the acquired target demand documents, and finally, a client acquires a plurality of target information from the server and upgrades the EOL software according to the plurality of target information, and as the method realizes the automatic acquisition of the target demand documents from the PDM system and the automatic analysis of the acquired target demand documents, the method ensures high upgrading efficiency of the EOL software, small labor cost and small time cost, therefore, the problem that the efficiency of upgrading the EOL software is low in the prior art is solved. According to the scheme, the target demand document is automatically analyzed, so that the problem of high error rate caused by manually analyzing the target demand document in the prior art is solved.
Specifically, the PDM system is a Product Data Management (Product Data Management) system, and the PDM system of the present application is used for managing and storing a plurality of target requirement documents.
Specifically, the EOL (End of Line, abbreviated as EOL) software is engine offline software and is used to monitor an operating state of an engine, and of course, the EOL software may also adjust or write internal data of an engine or an ECU (Electronic Control Unit, abbreviated as ECU) of a whole vehicle.
In a specific embodiment of the application, after the client acquires the plurality of target information from the server, the target information can be packaged into an installation package to obtain a target installation package, and the EOL software is upgraded through the target installation package.
In order to further ensure that the obtained target information is accurate and comprehensive, in an embodiment of the present application, a plurality of target requirement documents include an offline function calibration requirement document, an A2L document, and a communication service interface description document, the target information includes initialization information, system information, data stream information, parameter adjustment information, and test run completion information, and the parsing unit includes a first parsing module and a second parsing module, where the first parsing module is configured to parse the offline function calibration requirement document and the A2L document to obtain the initialization information, the parameter adjustment information, and the test run completion information; the second parsing module is configured to parse the A2L document and the communication service interface description document to obtain the system information and the data stream information.
Specifically, the offline function calibration document is a document for calibrating relevant parameter information of the engine, and the communication service interface description document is a document of a communication interface relevant to the engine. In addition, the initialization information, the system information, the data flow information, the parameter adjustment information and the test completion information all comprise a plurality of sub-steps, and calibration and reading of the relevant parameters of the engine can be completed through each sub-step.
Specifically, the initialization information includes a name of a variable specified by an internal data Unit of an ECU (Electronic Control Unit, abbreviated as ECU), an operation on the variable (for example, reading, specifying, or writing), a manner of operating the variable (for example, operating the variable by means of DID or an address), a Protocol used when operating the variable (for example, Universal Measurement and Calibration Protocol, Universal Diagnostic Services Protocol, J1939 Protocol), a type of the variable (for example, a specified amount or a measured amount), a specified value (for example, a value specified by the variable in the case of specifying or writing), an address of the variable (for example, an address of the variable in the case of reading, specifying, or writing the variable by an address), a DID value of the variable (for example, in the case of reading or specifying the variable by DID, DID value of the variable), byte length of the variable (e.g., 1 byte, 2 bytes, 4 bytes, etc.), conversion method of physical value of the variable to internal value; the system information comprises information names (such as an engine number, an order number, a vehicle VIN number and the like) to be read, a mode (such as DID or address mode reading) for reading the information (such as the engine number, the order number, the vehicle VIN number and the like), protocols (XCP protocol, UDS protocol and J1939 protocol) used, and a conversion method for converting variable internal values into physical values; the data flow information includes information names of required data flows (for example, oil temperature, oil pressure, water outlet temperature, etc.), ways for reading the information (oil temperature, oil pressure, water outlet temperature, etc.) (for example, reading by DID or address), protocols used (XCP protocol, UDS protocol, J1939 protocol), conversion methods of variable internal values to physical values; the parameter adjustment information includes the name of the variable concerned, the operation on the variable (for example, reading, calibrating or writing), the address of the variable, the protocol used (XCP protocol, UDS protocol, J1939 protocol), the type of the variable (calibrating quantity, measuring quantity), the value calibrated or written, the byte length of the variable (1 byte, 2 bytes, 4 bytes), and the conversion method from the physical value of the variable to the internal value; the test run completion information includes a name of a variable concerned, an operation (for example, reading, scaling, or flashing) on the variable, a manner of operating on the variable (for example, operating on the variable by means of a DID or address), a protocol used (XCP protocol, UDS protocol, 1939 protocol), a type of the variable (scaling amount, measurement amount), a scaled value (that is, a value of scaling the variable if the variable is scaled or flashed), an address of the variable (for example, an address of the variable if the variable is read, scaled, or flashed by the address), a DID value of the variable (for example, a DID value of the variable if the variable is read or scaled by the DID), a byte length of the variable (for example, 1 byte, 2 bytes, 4 bytes), and a conversion method of a physical value of the variable to an internal value.
In another embodiment of the application, the upgrade unit includes a receiving module, configured to receive a first script, and download a plurality of pieces of the target information to a local database according to the first script, so that the client obtains the plurality of pieces of the target information from a server, where the local database is a database of the client, and the first script is a document including an instruction for downloading the plurality of pieces of the target information. In this embodiment, the plurality of target information are downloaded to the local database of the client according to the first script, so that it is ensured that the plurality of target information can be downloaded more conveniently and efficiently, it is further ensured that the subsequent upgrade efficiency for the EOL software is higher, and it is further ensured that the labor cost and the time cost are saved more.
In a specific embodiment of the present application, the client may perform communication with the server, and the client may directly obtain a plurality of pieces of the target information from the server when the client performs communication with the server.
In an actual application process, under the condition that a client communicates with a server, if an abnormality occurs in a network, the client is difficult to timely and accurately acquire a plurality of pieces of target information stored in the server, and therefore in order to ensure that the client can acquire the plurality of pieces of target information relatively timely, the plurality of pieces of target information are downloaded to a local database through the first script, and therefore the reliability that the client acquires the plurality of pieces of target information is high.
Since the client and the server do not communicate with each other, the client does not know when the plurality of pieces of target information can be obtained, and in yet another embodiment of the present application, the upgrade apparatus further includes a receiving unit configured to receive a second script before receiving the first script and run the second script to push upgrade information to the client, so as to ensure that the client can timely know when the plurality of pieces of target information can be obtained from the server.
In order to save more resources, in another embodiment of the present application, the receiving unit includes an operation module, configured to operate the second script within a predetermined time period, so as to push the upgrade information to the client, thereby further implementing timing upgrade of the EOL software, and further ensuring that the monitoring of the operation state of the engine is more accurate.
In an actual application process, the predetermined time period may be flexibly adjusted according to specific use requirements, and is not limited in this application.
In order to manage a plurality of unique identifiers more conveniently, in an embodiment of the present application, the upgrade apparatus further includes an execution unit, configured to upload a requirement table to the PDM system before acquiring a plurality of target requirement documents from the PDM system according to the plurality of unique identifiers, where the requirement table includes the plurality of unique identifiers.
The software upgrading device comprises a processor and a memory, the acquisition unit, the analysis unit, the upgrading unit and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to be one or more than one, and the problem of low efficiency of EOL software upgrading in the prior art is solved by adjusting kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM), including at least one memory chip.
The embodiment of the invention provides a computer-readable storage medium, which comprises a stored program, wherein when the program runs, the device where the computer-readable storage medium is located is controlled to execute the software upgrading method.
The embodiment of the invention provides a processor, which is used for running a program, wherein the software upgrading method is executed when the program runs.
In an exemplary embodiment of the present application, a communication system is further provided, where the communication system includes a PDM system, a server and a client, where the PDM system is configured to store and manage a plurality of target requirement documents, the server is in communication with the PDM system, the server is configured to execute any one of the above upgrade methods, and the client is configured to install EOL software and monitor an operating state of an engine.
The communication system comprises a PDM system, a server and a client, wherein the server can execute any one of the upgrading methods, and in the upgrading method, firstly, under the condition of communication with the PDM system, a plurality of target requirement documents are obtained from the PDM system according to a plurality of unique identifiers; then, analyzing the obtained multiple target requirement documents to obtain multiple target information; and finally, storing the obtained target information to enable the client to obtain the target information from the server and upgrade the EOL software according to the target information, wherein the EOL software is software for monitoring the running state of the engine. Compared with the prior art that a plurality of target demand documents are downloaded from a PDM system manually and analyzed manually, under the condition that a server communicates with the PDM system, the method has the advantages that the server acquires the corresponding target demand documents from the PDM system according to the unique identification of the target demand documents and analyzes the acquired target demand documents, namely, the method realizes the automatic acquisition of the target demand documents from the PDM system and the automatic analysis of the acquired target demand documents, and finally, a client acquires a plurality of target information from the server and upgrades the EOL software according to the plurality of target information, and as the method realizes the automatic acquisition of the target demand documents from the PDM system and the automatic analysis of the acquired target demand documents, the method ensures high upgrading efficiency of the EOL software, small labor cost and small time cost, therefore, the problem that the efficiency of upgrading the EOL software is low in the prior art is solved. According to the scheme, the target demand document is automatically analyzed, so that the problem of high error rate caused by manually analyzing the target demand document in the prior art is solved.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein when the processor executes the program, at least the following steps are realized:
step S101, under the condition of communicating with a PDM system, acquiring a plurality of target requirement documents from the PDM system according to a plurality of unique identifications, wherein the unique identifications are the unique identifications of the target requirement documents;
step S102, analyzing a plurality of target requirement documents to obtain a plurality of target information;
step S103, storing a plurality of pieces of the target information, so that the client obtains the plurality of pieces of the target information from the server and upgrades the EOL software according to the plurality of pieces of the target information, where the EOL software is software that monitors the operating state of the engine.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program of initializing at least the following method steps when executed on a data processing device:
step S101, under the condition of communicating with a PDM system, acquiring a plurality of target requirement documents from the PDM system according to a plurality of unique identifications, wherein the unique identifications are the unique identifications of the target requirement documents;
step S102, analyzing a plurality of target requirement documents to obtain a plurality of target information;
step S103, storing a plurality of pieces of the target information, so that the client obtains the plurality of pieces of the target information from the server and upgrades the EOL software according to the plurality of pieces of the target information, where the EOL software is software that monitors the operating state of the engine.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit may be stored in a computer-readable storage medium if it is implemented in the form of a software functional unit and sold or used as a separate product. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the above methods according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
From the above description, it can be seen that the above-described embodiments of the present application achieve the following technical effects:
1) in the software upgrading method, firstly, under the condition of communication with a PDM system, a plurality of target requirement documents are obtained from the PDM system according to a plurality of unique identifiers; then, analyzing the obtained multiple target requirement documents to obtain multiple target information; and finally, storing the obtained target information to enable the client to obtain the target information from the server and upgrade the EOL software according to the target information, wherein the EOL software is software for monitoring the running state of the engine. Compared with the prior art that a plurality of target demand documents are downloaded from a PDM system manually and analyzed manually, under the condition that a server communicates with the PDM system, the method has the advantages that the server acquires the corresponding target demand documents from the PDM system according to the unique identification of the target demand documents and analyzes the acquired target demand documents, namely, the method realizes the automatic acquisition of the target demand documents from the PDM system and the automatic analysis of the acquired target demand documents, and finally, a client acquires a plurality of target information from the server and upgrades the EOL software according to the plurality of target information, and as the method realizes the automatic acquisition of the target demand documents from the PDM system and the automatic analysis of the acquired target demand documents, the method ensures high upgrading efficiency of the EOL software, small labor cost and small time cost, therefore, the problem that the efficiency of upgrading the EOL software is low in the prior art is solved. According to the scheme, the target demand document is automatically analyzed, so that the problem of high error rate caused by manually analyzing the target demand document in the prior art is solved.
2) In the software upgrading device, an obtaining unit is used for obtaining a plurality of target requirement documents from a PDM system according to a plurality of unique identifiers under the condition of communication with the PDM system, wherein the unique identifiers are unique identifiers of the target requirement documents; the analysis unit is used for analyzing the target requirement documents to obtain a plurality of target information; and the upgrading unit is used for storing a plurality of pieces of target information so as to enable the client to acquire the plurality of pieces of target information from the server and upgrade EOL software according to the plurality of pieces of target information, wherein the EOL software is software for monitoring the running state of the engine. Compared with the prior art that a plurality of target demand documents are downloaded from a PDM system manually and analyzed manually, under the condition that a server communicates with the PDM system, the method has the advantages that the server acquires the corresponding target demand documents from the PDM system according to the unique identification of the target demand documents and analyzes the acquired target demand documents, namely, the method realizes the automatic acquisition of the target demand documents from the PDM system and the automatic analysis of the acquired target demand documents, and finally, a client acquires a plurality of target information from the server and upgrades the EOL software according to the plurality of target information, and as the method realizes the automatic acquisition of the target demand documents from the PDM system and the automatic analysis of the acquired target demand documents, the method ensures high upgrading efficiency of the EOL software, small labor cost and small time cost, therefore, the problem that the efficiency of upgrading the EOL software is low in the prior art is solved. According to the scheme, the target demand document is automatically analyzed, so that the problem of high error rate caused by manually analyzing the target demand document in the prior art is solved.
3) The communication system comprises a PDM system, a server and a client, wherein the server can execute any one of the upgrading methods, and in the upgrading method, firstly, under the condition of communication with the PDM system, a plurality of target requirement documents are obtained from the PDM system according to a plurality of unique identifiers; then, analyzing the obtained multiple target requirement documents to obtain multiple target information; and finally, storing the obtained target information to enable the client to obtain the target information from the server and upgrade the EOL software according to the target information, wherein the EOL software is software for monitoring the running state of the engine. Compared with the prior art that a plurality of target demand documents are downloaded from a PDM system manually and analyzed manually, under the condition that a server communicates with the PDM system, the scheme acquires corresponding target demand documents from the PDM system according to the unique identification of the target demand documents and analyzes the acquired target demand documents, namely, the scheme realizes automatic acquisition of the target demand documents from the PDM system and automatic analysis of the acquired target demand documents, and finally, a client acquires a plurality of target information from the server and upgrades the EOL software according to the plurality of target information, and as the scheme realizes automatic acquisition of the target demand documents from the PDM system and automatic analysis of the acquired target demand documents, the scheme ensures high upgrading efficiency of the EOL software, small labor cost and small time cost, therefore, the problem that the efficiency of upgrading the EOL software is low in the prior art is solved. According to the scheme, the target demand document is automatically analyzed, so that the problem of high error rate caused by manually analyzing the target demand document in the prior art is solved.
The above description is only a preferred embodiment of the present application and is not intended to limit the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A software upgrading method is applied to a server side, and the upgrading method comprises the following steps:
under the condition of communicating with a PDM system, acquiring a plurality of target demand documents from the PDM system according to a plurality of unique identifications, wherein the unique identifications are the unique identifications of the target demand documents;
analyzing the target requirement documents to obtain target information;
and storing a plurality of target information so that a client acquires the plurality of target information from the server and upgrades EOL software according to the plurality of target information, wherein the EOL software is software for monitoring the running state of an engine.
2. The upgrading method according to claim 1, wherein a plurality of the target requirement documents include a offline function calibration requirement document, an A2L document and a communication service interface description document, the target information includes initialization information, system information, data flow information, parameter adjustment information and commissioning completion information,
analyzing the plurality of target requirement documents to obtain a plurality of target information, wherein the target information comprises:
analyzing the offline function calibration requirement document and the A2L document to obtain the initialization information, the parameter adjustment information and the test run completion information;
and analyzing the A2L document and the communication service interface description document to obtain the system information and the data flow information.
3. The upgrading method according to claim 1, wherein storing a plurality of the target information so that a client obtains a plurality of the target information from the server comprises:
receiving a first script, and downloading the target information to a local database according to the first script, so that the client acquires the target information from a server, wherein the local database is a database of the client, and the first script is a document containing an instruction for downloading the target information.
4. The upgrade method according to claim 3, wherein, prior to receiving the first script, the upgrade method further comprises:
and receiving a second script, and operating the second script to push upgrading information to the client.
5. The upgrade method according to claim 4, wherein executing the second script to push upgrade information to the client comprises:
and running the second script within a preset time period to push the upgrading information to the client.
6. The upgrading method according to any one of claims 1 to 5, wherein before obtaining a plurality of target requirement documents from the PDM system according to a plurality of unique identifications, the upgrading method further comprises:
uploading a requirement table to the PDM system, wherein the requirement table comprises a plurality of unique identifiers.
7. A server, comprising:
the system comprises an acquisition unit, a storage unit and a processing unit, wherein the acquisition unit is used for acquiring a plurality of target demand documents from a PDM system according to a plurality of unique identifications under the condition of communication with the PDM system, and the unique identifications are the unique identifications of the target demand documents;
the analysis unit is used for analyzing the target requirement documents to obtain a plurality of target information;
and the upgrading unit is used for storing the target information so as to enable the client to acquire the target information from the server and upgrade EOL software according to the target information, wherein the EOL software is software for monitoring the running state of the engine.
8. A computer-readable storage medium, comprising a stored program, wherein the program, when executed, controls an apparatus in which the computer-readable storage medium is located to perform the upgrade method according to any one of claims 1 to 6.
9. A processor configured to run a program, wherein the program when running performs the upgrade method of any one of claims 1 to 6.
10. A communication system, comprising:
a PDM system for storing and managing a plurality of target demand documents;
a server in communication with the PDM system, the server configured to perform the upgrade method of any one of claims 1 to 6;
and the client is used for installing EOL software and monitoring the running state of the engine.
CN202210356899.5A 2022-04-06 2022-04-06 Software upgrading method, server, processor and communication system Pending CN114675860A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210356899.5A CN114675860A (en) 2022-04-06 2022-04-06 Software upgrading method, server, processor and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210356899.5A CN114675860A (en) 2022-04-06 2022-04-06 Software upgrading method, server, processor and communication system

Publications (1)

Publication Number Publication Date
CN114675860A true CN114675860A (en) 2022-06-28

Family

ID=82078808

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210356899.5A Pending CN114675860A (en) 2022-04-06 2022-04-06 Software upgrading method, server, processor and communication system

Country Status (1)

Country Link
CN (1) CN114675860A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114880002A (en) * 2022-07-12 2022-08-09 江铃汽车股份有限公司 OTA data flashing method and system
CN115291588A (en) * 2022-07-26 2022-11-04 中国第一汽车股份有限公司 Full-vehicle type functional platform adaptation system and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114880002A (en) * 2022-07-12 2022-08-09 江铃汽车股份有限公司 OTA data flashing method and system
CN114880002B (en) * 2022-07-12 2022-09-06 江铃汽车股份有限公司 OTA data flashing method and system
CN115291588A (en) * 2022-07-26 2022-11-04 中国第一汽车股份有限公司 Full-vehicle type functional platform adaptation system and method

Similar Documents

Publication Publication Date Title
CN114675860A (en) Software upgrading method, server, processor and communication system
CN108829593B (en) Code coverage rate calculation and analysis method, device, equipment and storage medium
US7353073B2 (en) Method for managing appliances
CN112286170B (en) Vehicle ECU (electronic control Unit) flashing method, device and equipment and storage medium
US7739078B2 (en) System for managing appliances
CN110515522B (en) Access method and device of equipment data, computer equipment and storage medium
CN111917772B (en) Adaptive charging pile communication protocol method and device
CN109684219A (en) System performance testing method, apparatus and storage medium
CN111813622A (en) Equipment monitoring method and device
CN112729868A (en) Vehicle diagnosis method, device, equipment and medium
CN103491522A (en) Terminal adaption method and device
CN109002309A (en) A kind of HardwareUpgring method and relevant apparatus
CN112436974B (en) CDN data resource consistency detection method and device and computer equipment
CN115343049A (en) Control method and control device for engine data acquisition
CN104065527A (en) Method And Device For Testing Broadband Network Performance
CN112817953A (en) Data verification method and device, computer equipment and computer-readable storage medium
CN107133166A (en) A kind of Remote configuration and management method of Android test systems
CN112859808A (en) CAN bus terminal resistor adaptation method, system and diagnosis equipment
CN114661328B (en) OTA (over the air) upgrading method and device for equipment file program and electronic equipment
CN108984603A (en) Isomeric data acquisition method, equipment, storage medium and system
CN116339782A (en) ECU upgrading method, upgrading device and electronic equipment
CN102984017A (en) Data synchronization method for network management system
CN118118473A (en) Intelligent equipment file downloading method and communication management equipment
CN108334344B (en) Client upgrading method and device
CN116887335A (en) Sensitivity information acquisition method and device and electronic equipment

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