CN112698853A - Upgrade compatibility method, device and system for driver parameter file - Google Patents

Upgrade compatibility method, device and system for driver parameter file Download PDF

Info

Publication number
CN112698853A
CN112698853A CN202011523987.7A CN202011523987A CN112698853A CN 112698853 A CN112698853 A CN 112698853A CN 202011523987 A CN202011523987 A CN 202011523987A CN 112698853 A CN112698853 A CN 112698853A
Authority
CN
China
Prior art keywords
parameter
offline
attribute
file
parameter file
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
CN202011523987.7A
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.)
Shenzhen Leisai Software Technology Co ltd
Leadshine Technology Co Ltd
Original Assignee
Shenzhen Leisai Software Technology Co ltd
Leadshine 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 Shenzhen Leisai Software Technology Co ltd, Leadshine Technology Co Ltd filed Critical Shenzhen Leisai Software Technology Co ltd
Priority to CN202011523987.7A priority Critical patent/CN112698853A/en
Publication of CN112698853A publication Critical patent/CN112698853A/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

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)
  • Stored Programmes (AREA)

Abstract

The application discloses a driver parameter file upgrading compatibility method and device. Wherein, the method comprises the following steps: acquiring an offline parameter file, wherein the offline parameter file is a parameter file before driver upgrading; judging whether the offline parameters corresponding to the offline parameter file have the condition that the parameter attribute values are changed from the non-display attributes to the display attributes through the parameter attributes of the online driver, wherein the display attributes are used for representing that the offline parameters are usable, and the non-display attributes are used for representing that the offline parameters are unusable; and after the judgment is finished, taking the updated offline parameter file as an upgrading parameter file. The method solves the technical problems that the existing method for deploying the new driver on site is low in deployment efficiency and can cause compatibility failure.

Description

Upgrade compatibility method, device and system for driver parameter file
Technical Field
The present application relates to the field of drivers, and in particular, to a method, an apparatus, and a system for compatible upgrade of a driver parameter file.
Background
As the demand of industrial field users increases and drive products are updated iteratively, the drive hardware, firmware version changes with it. In the same industrial field, application scenes of multiple versions of the same series of drivers exist. In the deployment of new products in the same automation line, the debugged parameter file of the old driver is exported and imported into the new driver. Since the newly added parameter values of the new drive are not represented in the parameter file of the old drive or default to zero, the new drive firmware is incompatible with the old drive file in the deployment of the new drive. Such abnormal conditions may cause drive failures to fail, reduce deployment efficiency, and even cause safety accidents.
In order to solve the problem that the new driver is incompatible with the old driver parameter file, a field engineer can import the old parameter file into the new driver, repair and debug the newly added parameters, and export the new parameter file for the deployment of the new driver later. Because different parameter files need to be imported differently for new and old drivers on the same site, the workload of site deployment is increased, and the deployment efficiency is reduced. The old parameter file is imported into the new driver without paying a little attention, which may cause the new driver not to alarm and not work, and even cause adverse effects such as safety accidents.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the application provides a method, a device and a system for upgrading and compatible driver parameter files, so as to solve at least the technical problems that the existing method for deploying a new driver on site is low in deployment efficiency and possibly causes compatibility faults.
According to an aspect of an embodiment of the present application, there is provided an upgrade compatible method for a driver parameter file, including: acquiring an offline parameter file, wherein the offline parameter file is a parameter file before driver upgrading; judging whether the offline parameters corresponding to the offline parameter file have the condition that the parameter attribute values are changed from the non-display attributes to the display attributes through the parameter attributes of the online driver, wherein the display attributes are used for representing that the offline parameters are usable, and the non-display attributes are used for representing that the offline parameters are unusable; and after the judgment is finished, taking the updated offline parameter file as an upgrading parameter file.
Optionally, the determining, by using the parameter attribute of the online driver, whether there is a case where the parameter attribute value of the offline parameter corresponding to the offline parameter file is changed from the non-display attribute to the display attribute, includes: judging whether the parameter attribute in the off-line parameter file is inconsistent with the parameter attribute corresponding to the on-line driver; if so, judging whether the parameter attribute of the offline parameter corresponding to the offline parameter file is a non-display attribute; and if the parameter attribute of the offline parameter corresponding to the offline parameter file is judged to be the non-display attribute, judging whether the parameter attribute of the parameter corresponding to the online driver is the display attribute.
Optionally, the determining whether the parameter attribute of the parameter corresponding to the online driver is a display attribute includes: if the judgment result is yes, setting the parameter as a target parameter, setting the default value of the online driver as the numerical value of the target parameter, and updating the corresponding parameter in the offline parameter file by using the target parameter; if the judgment result is no, the value of the parameter of the offline parameter file is set as the value of the parameter corresponding to the online driver.
Optionally, the determining whether the parameter attribute of the offline parameter corresponding to the offline parameter file is a non-display attribute or whether the parameter attribute in the offline parameter file is inconsistent with the parameter attribute corresponding to the online driver includes: if the judgment result is no, the value of the parameter of the offline parameter file is set as the value of the parameter corresponding to the online driver.
Optionally, after the updated offline parameter file is used as the upgrade parameter file, the method further includes: and loading the upgrade parameter file into a driver for operation.
According to another aspect of the embodiments of the present application, there is also provided an upgrade compatible apparatus for a driver parameter file, including: the acquisition module is used for acquiring an offline parameter file, wherein the offline parameter file is a parameter file before driver upgrading; the judging module is used for judging whether the offline parameters corresponding to the offline parameter file have the condition that the parameter attribute values are changed from the non-display attributes to the display attributes through the parameter attributes of the online driver, wherein the display attributes are used for representing that the offline parameters are usable, and the non-display attributes are used for representing that the offline parameters are unusable; and the setting module is used for taking the updated offline parameter file as an upgrading parameter file after the judgment is finished.
Optionally, the determining module includes: the first judging unit is used for judging whether the parameter attribute in the off-line parameter file is inconsistent with the parameter attribute corresponding to the on-line driver; the second judging unit is used for judging whether the parameter attribute of the off-line parameter corresponding to the off-line parameter file is a non-display attribute or not under the condition that the judging result is yes; and the third judging unit is used for judging whether the parameter attribute of the parameter corresponding to the online driver is the display attribute or not under the condition that the parameter attribute of the offline parameter corresponding to the offline parameter file is judged to be the non-display attribute.
According to another aspect of the embodiments of the present application, there is also provided an upgrade compatible system for a driver parameter file, including: the device to be upgraded comprises a device to be upgraded and a computer device, wherein an offline parameter file is stored in the device to be upgraded and is a parameter file before a driver is upgraded; the method comprises the steps that an online driver file is stored in computer equipment, the online driver file is a parameter file after a driver is upgraded and is used for obtaining an offline parameter file, and whether the condition that a parameter attribute value of an offline parameter corresponding to the offline parameter file is changed from a non-display attribute to a display attribute exists or not is judged according to the parameter attribute of the online driver, wherein the display attribute is used for representing that the offline parameter is available, and the non-display attribute is used for representing that the offline parameter is unavailable; and after the judgment is finished, taking the updated offline parameter file as an upgrading parameter file.
According to still another aspect of the embodiments of the present application, there is provided a non-volatile storage medium including a stored program, wherein, when the program runs, a device in which the non-volatile storage medium is located is controlled to execute the above upgrade compatibility method for the drive parameter file.
According to yet another aspect of the embodiments of the present application, there is also provided a processor for executing a program stored in a memory, wherein the program executes the above upgrade compatibility method for a driver parameter file.
In the embodiment of the application, an offline parameter file is obtained, wherein the offline parameter file is a parameter file before driver upgrading; judging whether the offline parameters corresponding to the offline parameter file have the condition that the parameter attribute values are changed from the non-display attributes to the display attributes through the parameter attributes of the online driver, wherein the display attributes are used for representing that the offline parameters are usable, and the non-display attributes are used for representing that the offline parameters are unusable; after the judgment is finished, the updated offline parameter file is used as a mode for upgrading the parameter file, the parameter attribute value added by the new driver is marked through the comparison of the attribute values of the offline parameter file and the online driver parameter, and the effective default value of the parameter replaces the invalid value in the offline file, so that the purpose that the old parameter file is compatible with the new driver is achieved, the compatibility fault of the new driver deployment on site is avoided, the technical effect of the efficiency of the site deployment is improved, and the technical problems that the deployment efficiency is low and the compatibility fault is possibly caused in the existing method for deploying the new driver on site are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
FIG. 1 is a flow chart of a method for upgrade compatibility of a drive parameter file according to an embodiment of the present application;
FIG. 2 is a flow chart of another method for upgrade compatibility of drive parameter files according to an embodiment of the present application;
FIG. 3 is a block diagram of an upgrade compatible device for a drive parameter file according to an embodiment of the present application;
fig. 4 is a block diagram of a system for upgrade compatibility of a drive parameter file according to an embodiment of the present application.
Detailed Description
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 is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. 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.
In accordance with an embodiment of the present application, there is provided an embodiment of a method for upgrade compatibility of drive parameter files, it being noted that the steps illustrated in the flowchart of the drawings 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 flowchart, in some cases the steps illustrated or described may be performed in an order different than that presented herein.
First, some terms or terms appearing in the description of the embodiments of the present application are applicable to the following explanations:
a driver: a driver broadly refers to driver hardware that drives a certain type of device. In the computer field, a drive refers to a disk drive. A storage area formatted by a file system and having a drive number. The storage area may be a floppy disk, CD, hard disk, or other type of disk.
Fig. 1 is a flowchart of a method for compatibility with upgrade of a driver parameter file according to an embodiment of the present application, as shown in fig. 1, the method includes the following steps:
step S102, obtaining an off-line parameter file, wherein the off-line parameter file is a parameter file before driver upgrading;
it should be noted that the offline parameter file refers to an old parameter file before the drive is upgraded.
Step S104, judging whether the offline parameters corresponding to the offline parameter file have the condition that the parameter attribute values are changed from the non-display attributes to the display attributes through the parameter attributes of the online driver, wherein the display attributes are used for representing that the offline parameters are available, and the non-display attributes are used for representing that the offline parameters are unavailable;
it should be noted that the parameter value corresponding to the address space in the old parameter file is invalid, and is generally zero. If the value of the parameter file is directly issued to the new driver, the new driver cannot operate, and an alarm appears.
When a new drive is connected online, the attributes and default values of all parameters of the new drive online can be obtained. The attribute value comparison can mark the newly added parameter attribute value, and the newly added parameter attribute value (the effective default value of the online driver) is replaced by the invalid value in the offline parameter file, so that the driver can normally operate.
And step S106, after the judgment is finished, the updated offline parameter file is used as an upgrading parameter file.
Through the steps, the new parameter attribute value added by the new driver is marked through the comparison of the parameter attribute values of the offline parameter file and the online driver, and the effective default value of the parameter is used for replacing the invalid value in the offline file, so that the aim of enabling the old parameter file to be compatible with the new driver is fulfilled, the compatibility fault of the field new driver deployment is avoided, and the technical effect of improving the field deployment efficiency is achieved.
According to an alternative embodiment of the present application, step S104 is implemented by: judging whether the parameter attribute in the off-line parameter file is inconsistent with the parameter attribute corresponding to the on-line driver; if so, judging whether the parameter attribute of the offline parameter corresponding to the offline parameter file is a non-display attribute; and if the parameter attribute of the offline parameter corresponding to the offline parameter file is judged to be the non-display attribute, judging whether the parameter attribute of the parameter corresponding to the online driver is the display attribute.
According to another alternative embodiment of the present application, the determining whether the parameter attribute of the parameter corresponding to the online driver is the display attribute comprises the following steps: if the judgment result is yes, setting the parameter as a target parameter, setting the default value of the online driver as the numerical value of the target parameter, and updating the corresponding parameter in the offline parameter file by using the target parameter; if the judgment result is no, the value of the parameter of the offline parameter file is set as the value of the parameter corresponding to the online driver.
In another optional embodiment of the present application, determining whether a parameter attribute of an offline parameter corresponding to the offline parameter file is a non-display attribute or determining whether a parameter attribute in the offline parameter file is inconsistent with a parameter attribute corresponding to the online driver is implemented by the following method: if the judgment result is no, the value of the parameter of the offline parameter file is set as the value of the parameter corresponding to the online driver.
In this step, the parameter attribute value of the offline parameter file is compared with the parameter attribute value inside the online drive, and since the unused reserved parameter attribute is defined as illegal, the newly added parameter attribute value is a meaningful and visible attribute value, so the newly added parameter attribute value can be marked by the comparison.
The parameter attribute value corresponding to the parameter attribute value newly added by the online driver in the offline file is covered by the default value of the online driver instead of the invalid value in the offline parameter file, so that the new driver can safely and effectively operate after the old parameter file is imported.
In another alternative embodiment of the present application, after the step S106 is completed, the upgrade parameter file needs to be loaded into the driver for operation.
In another alternative embodiment of the present application, after the step S106 is completed, the newly added attribute values are presented in a list.
In this step, a list mode is used to show the new parameter attribute value processed by the compatibility operation to the user, and the user is prompted to export a new parameter file for later compatibility use.
Fig. 2 is a flowchart of another method for upgrading a driver parameter file according to an embodiment of the present application, and as shown in fig. 2, the method includes the following steps:
step S201, start;
step S202, importing a parameter file;
step S203, comparing the parameter attribute in the off-line parameter file with the parameter attribute of the on-line driver;
step S204, judging whether the newly added parameter attribute value exists in the linear driver, if so, executing step S205, and if not, executing step S207;
step S205, the newly added parameter attribute value (adopting the default value of the online driver) is used for replacing the original initial value in the offline parameter file;
step S206, displaying the newly added parameter attribute values in a list form;
and step S207, ending.
The invention can mark the parameter attribute value added by the new driver by comparing the parameter attribute values of the off-line parameter file and the on-line driver, and can replace the invalid value in the off-line parameter file with the effective default value of the parameter, thereby achieving the purpose that the old parameter file is compatible with the new driver. The compatibility fault of field new driver deployment is avoided, and the field deployment efficiency is improved.
Fig. 3 is a block diagram of an upgrade compatible apparatus for a drive parameter file according to an embodiment of the present application, as shown in fig. 3, the apparatus including:
an obtaining module 30, configured to obtain an offline parameter file, where the offline parameter file is a parameter file before driver upgrade;
the judging module 32 is configured to judge, according to the parameter attribute of the online driver, whether the offline parameter corresponding to the offline parameter file has a condition that a parameter attribute value is changed from a non-display attribute to a display attribute, where the display attribute is used to represent that the offline parameter is available, and the non-display attribute is used to represent that the offline parameter is unavailable;
and the setting module 34 is configured to use the updated offline parameter file as an upgrade parameter file after the judgment is completed.
It should be noted that, reference may be made to the description related to the embodiment shown in fig. 1 for a preferred implementation of the embodiment shown in fig. 3, and details are not described here again.
According to an alternative embodiment of the present application, the determining module 32 includes: the first judging unit is used for judging whether the parameter attribute in the off-line parameter file is inconsistent with the parameter attribute corresponding to the on-line driver; the second judging unit is used for judging whether the parameter attribute of the off-line parameter corresponding to the off-line parameter file is a non-display attribute or not under the condition that the judging result is yes; and the third judging unit is used for judging whether the parameter attribute of the parameter corresponding to the online driver is the display attribute or not under the condition that the parameter attribute of the offline parameter corresponding to the offline parameter file is judged to be the non-display attribute.
The parameter attribute value of the off-line parameter file is compared with the parameter attribute value in the on-line driver, and the newly added parameter attribute value can be marked through comparison because the unused reserved parameter attribute is defined as illegal and the newly added parameter attribute value is meaningful and visible.
The parameter attribute value corresponding to the parameter attribute value newly added by the online driver in the offline file is covered by the default value of the online driver instead of the invalid value in the offline parameter file, so that the new driver can safely and effectively operate after the old parameter file is imported.
Fig. 4 is a block diagram of a system for upgrading a driver parameter file according to an embodiment of the present application, as shown in fig. 4, the system includes: a device to be upgraded 40 and a computer device 42; wherein the content of the first and second substances,
the device to be upgraded 40 stores an offline parameter file, which is a parameter file before the driver is upgraded;
according to an alternative embodiment of the present application, the device to be upgraded 40 is a drive to be upgraded.
The computer device 42 stores an online driver file, where the online driver file is a parameter file after driver upgrade, and is used to obtain an offline parameter file, and determine, according to a parameter attribute of the online driver, whether an offline parameter corresponding to the offline parameter file has a condition that a parameter attribute value is changed from a non-display attribute to a display attribute, where the display attribute is used to represent that the offline parameter is available, and the non-display attribute is used to represent that the offline parameter is unavailable; and after the judgment is finished, taking the updated offline parameter file as an upgrading parameter file.
It should be noted that, reference may be made to the description related to the embodiment shown in fig. 1 for a preferred implementation of the embodiment shown in fig. 4, and details are not described here again.
The embodiment of the application also provides a nonvolatile storage medium, wherein the nonvolatile storage medium comprises a stored program, and the device where the nonvolatile storage medium is located is controlled to execute the upgrade compatibility method of the driver parameter file when the program runs.
The nonvolatile storage medium is used for storing a program for executing the following functions: acquiring an offline parameter file, wherein the offline parameter file is a parameter file before driver upgrading; judging whether the offline parameters corresponding to the offline parameter file have the condition that the parameter attribute values are changed from the non-display attributes to the display attributes through the parameter attributes of the online driver, wherein the display attributes are used for representing that the offline parameters are usable, and the non-display attributes are used for representing that the offline parameters are unusable; and after the judgment is finished, taking the updated offline parameter file as an upgrading parameter file.
The embodiment of the application also provides a processor, and the processor is used for running the program stored in the memory, wherein the program runs and executes the upgrade compatibility method of the driver parameter file.
The processor is for processing a program for performing the following functions: acquiring an offline parameter file, wherein the offline parameter file is a parameter file before driver upgrading; judging whether the offline parameters corresponding to the offline parameter file have the condition that the parameter attribute values are changed from the non-display attributes to the display attributes through the parameter attributes of the online driver, wherein the display attributes are used for representing that the offline parameters are usable, and the non-display attributes are used for representing that the offline parameters are unusable; and after the judgment is finished, taking the updated offline parameter file as an upgrading parameter file.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, 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 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 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 place, 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 application 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, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several 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 method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a read-Only Memory (ROM), a random access Memory (rlsznmm), a removable hard disk, a magnetic or optical disk, and various media that can store program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A method for upgrade compatibility of a drive parameter file, comprising:
acquiring an offline parameter file, wherein the offline parameter file is a parameter file before driver upgrading;
judging whether the offline parameter corresponding to the offline parameter file has a condition that a parameter attribute value is changed from a non-display attribute to a display attribute through the parameter attribute of an online driver, wherein the display attribute is used for representing that the offline parameter is available, and the non-display attribute is used for representing that the offline parameter is unavailable;
and after the judgment is finished, taking the updated offline parameter file as an upgrading parameter file.
2. The method of claim 1, wherein determining whether the offline parameter corresponding to the offline parameter file has a condition that the parameter attribute value is changed from a non-display attribute to a display attribute according to the parameter attribute of the online driver comprises:
judging whether the parameter attribute in the off-line parameter file is inconsistent with the parameter attribute corresponding to the on-line driver;
if so, judging whether the parameter attribute of the offline parameter corresponding to the offline parameter file is a non-display attribute;
and if the parameter attribute of the offline parameter corresponding to the offline parameter file is judged to be the non-display attribute, judging whether the parameter attribute of the parameter corresponding to the online driver is the display attribute.
3. The method of claim 2, wherein determining whether the parameter attribute of the parameter corresponding to the online driver is a display attribute comprises:
if the judgment result is yes, setting the parameter as a target parameter, setting the default value of the online driver as the numerical value of the target parameter, and updating the corresponding parameter in the offline parameter file by using the target parameter;
if the judgment result is negative, the value of the parameter of the offline parameter file is set as the value of the parameter corresponding to the online driver.
4. The method of claim 2, wherein determining whether the parameter attribute of the offline parameter corresponding to the offline parameter file is a non-display attribute or whether the parameter attribute in the offline parameter file is inconsistent with the parameter attribute corresponding to the online driver further comprises:
if the judgment result is negative, the value of the parameter of the offline parameter file is set as the value of the parameter corresponding to the online driver.
5. The method of claim 1, wherein after the updated offline parameter file is used as an upgraded parameter file, the method further comprises:
and loading the upgrade parameter file into the driver for operation.
6. An upgrade compatible apparatus for a drive parameter file, comprising:
the acquisition module is used for acquiring an offline parameter file, wherein the offline parameter file is a parameter file before driver upgrading;
the judging module is used for judging whether the offline parameters corresponding to the offline parameter files have the condition that parameter attribute values are changed from non-display attributes to display attributes or not through the parameter attributes of the online driver, wherein the display attributes are used for representing that the offline parameters are usable, and the non-display attributes are used for representing that the offline parameters are unusable;
and the setting module is used for taking the updated offline parameter file as an upgrading parameter file after the judgment is finished.
7. The apparatus of claim 6, wherein the determining module comprises:
the first judging unit is used for judging whether the parameter attribute in the offline parameter file is inconsistent with the parameter attribute corresponding to the online driver;
the second judging unit is used for judging whether the parameter attribute of the off-line parameter corresponding to the off-line parameter file is a non-display attribute or not under the condition that the judging result is yes;
and the third judging unit is used for judging whether the parameter attribute of the parameter corresponding to the online driver is a display attribute or not under the condition that the parameter attribute of the offline parameter corresponding to the offline parameter file is judged to be a non-display attribute.
8. An upgrade compatible system for a drive parameter file, comprising: a device to be upgraded and a computer device, wherein,
the equipment to be upgraded is stored with an offline parameter file, wherein the offline parameter file is a parameter file before driver upgrading;
the computer equipment stores an online driver file, wherein the online driver file is a parameter file obtained after the driver is upgraded and is used for acquiring the offline parameter file, and judging whether an offline parameter corresponding to the offline parameter file has a condition that a parameter attribute value is changed from a non-display attribute to a display attribute according to a parameter attribute of the online driver, wherein the display attribute is used for representing that the offline parameter is available, and the non-display attribute is used for representing that the offline parameter is unavailable; and after the judgment is finished, taking the updated offline parameter file as an upgrading parameter file.
9. A non-volatile storage medium, comprising a stored program, wherein a device on which the non-volatile storage medium is located is controlled to perform the upgrade compatibility method of a drive parameter file according to any one of claims 1 to 5 when the program is executed.
10. A processor for executing a program stored in a memory, wherein the program when executed performs the upgrade compatibility method of a drive parameter file according to any one of claims 1 to 5.
CN202011523987.7A 2020-12-21 2020-12-21 Upgrade compatibility method, device and system for driver parameter file Pending CN112698853A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011523987.7A CN112698853A (en) 2020-12-21 2020-12-21 Upgrade compatibility method, device and system for driver parameter file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011523987.7A CN112698853A (en) 2020-12-21 2020-12-21 Upgrade compatibility method, device and system for driver parameter file

Publications (1)

Publication Number Publication Date
CN112698853A true CN112698853A (en) 2021-04-23

Family

ID=75509877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011523987.7A Pending CN112698853A (en) 2020-12-21 2020-12-21 Upgrade compatibility method, device and system for driver parameter file

Country Status (1)

Country Link
CN (1) CN112698853A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040230963A1 (en) * 2003-05-12 2004-11-18 Rothman Michael A. Method for updating firmware in an operating system agnostic manner
CN105653340A (en) * 2015-12-31 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Parameter upgrading method, device and electronic equipment
CN112099826A (en) * 2020-09-14 2020-12-18 徐州徐工挖掘机械有限公司 Parameter upgrade control method, controller, electronic equipment and excavator

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040230963A1 (en) * 2003-05-12 2004-11-18 Rothman Michael A. Method for updating firmware in an operating system agnostic manner
CN105653340A (en) * 2015-12-31 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Parameter upgrading method, device and electronic equipment
CN112099826A (en) * 2020-09-14 2020-12-18 徐州徐工挖掘机械有限公司 Parameter upgrade control method, controller, electronic equipment and excavator

Similar Documents

Publication Publication Date Title
CN103064712B (en) A kind of method of Reconfigurations parameter, device and terminal device
CN102637144B (en) System fault processing method and device
CN107122364A (en) Data manipulation method and data management server
CN106648787A (en) Resource updating method and terminal
US20130124926A1 (en) System health and performance care of computing devices
JP3629517B2 (en) A boot device switching method for an information processing apparatus.
CN104866391A (en) Terminal information backup method and apparatus based on incremental information system
CN112596672B (en) Storage processing method and device of main control chip, processor and electronic equipment
CN110781026A (en) Embedded equipment data storage and repair method and device and embedded equipment
CN113672340A (en) Incremental backup method, system and device of virtual machine and readable storage medium
CN109582332A (en) The method for upgrading system and device of internet video camera
CN105868047A (en) Repairing method and device of data partition, and terminal
CN113190256B (en) Upgrading method, device and equipment
CN107341074B (en) A kind of abnormal restorative procedure of upgrading upgrades abnormal prosthetic device and intelligent terminal
CN112698853A (en) Upgrade compatibility method, device and system for driver parameter file
CN104317645B (en) A kind of method and device of Application Instance listening port
CN110990177A (en) Fault repairing method, device, system, storage medium and electronic equipment
CN111158769A (en) Method and device for checking and modifying BIOS (basic input output System) options
CN110968456A (en) Method and device for processing fault disk in distributed storage system
CN114328158A (en) Abnormity monitoring method and device, electronic equipment and storage medium
CN114153503A (en) BIOS control method, device and medium
CN111124730A (en) Error positioning method and device for server and computer storage medium
CN111857783A (en) Method, device, equipment and storage medium for remotely refreshing BMC (baseboard management controller) firmware
CN112463438B (en) Configuration information generation method and device of storage product and readable storage medium
CN111897583A (en) Equipment starting method and embedded 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