CN116560686A - Update method, device, equipment and storage medium of frequency converter keyboard - Google Patents

Update method, device, equipment and storage medium of frequency converter keyboard Download PDF

Info

Publication number
CN116560686A
CN116560686A CN202310484349.6A CN202310484349A CN116560686A CN 116560686 A CN116560686 A CN 116560686A CN 202310484349 A CN202310484349 A CN 202310484349A CN 116560686 A CN116560686 A CN 116560686A
Authority
CN
China
Prior art keywords
frequency converter
target
function code
keyboard
attribute information
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
CN202310484349.6A
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.)
Suzhou Weichuang Electrical Technology Co ltd
Original Assignee
Suzhou Weichuang Electrical 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 Suzhou Weichuang Electrical Technology Co ltd filed Critical Suzhou Weichuang Electrical Technology Co ltd
Priority to CN202310484349.6A priority Critical patent/CN116560686A/en
Publication of CN116560686A publication Critical patent/CN116560686A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

The embodiment of the invention relates to a method, a device, equipment and a storage medium for updating a frequency converter keyboard, wherein the method comprises the following steps: acquiring first attribute information of a target frequency converter, wherein a frequency converter keyboard is in communication connection with at least one frequency converter; acquiring second attribute information from a first target address of the frequency converter keyboard; when the first attribute information and the second attribute information are different, updating the second function code information in the frequency converter keyboard according to the first function code information in the target frequency converter, so that the information in the frequency converter keyboard can be updated quickly according to the connected frequency converter, the frequency converter software version does not need to be matched with the frequency converter keyboard software version in a forced way, and the maintenance and management cost is greatly reduced; the frequency converter can be quickly connected into the frequency converter keyboard, new development work is not needed by the frequency converter keyboard, and the efficiency of new product development and product iteration update is improved.

Description

Update method, device, equipment and storage medium of frequency converter keyboard
Technical Field
The embodiment of the invention relates to the technical field of electrical equipment, in particular to a method, a device, equipment and a storage medium for updating a frequency converter keyboard.
Background
The frequency converter keyboard is used as an important tool for configuring and monitoring parameters of the frequency converter, and a function code table used by the frequency converter keyboard needs to be completely matched with the frequency converter, otherwise, the frequency converter keyboard has the phenomenon of incorrect configuration and parameter monitoring. For the management of the frequency converter software, the frequency converter keyboard software and the function code table version, great cost is required to be consumed, and the frequency converter software, the frequency converter keyboard software and the function code table version are required to be matched with each other.
When the frequency converter supports new function codes, in addition to the software upgrade of the frequency converter itself, the software of the frequency converter keyboard, or the function code table file, also needs to be upgraded to support the new frequency converter function codes. Meanwhile, under the condition that the types of frequency converters are more and more, the keyboard software functions or the function code table files are required to be continuously upgraded and iterated, so that different frequency converters can be supported. The number of frequency converters supported is also limited by the size of the storage space inside the frequency converter keyboard. Therefore, how to quickly access a plurality of different frequency converters to a frequency converter keyboard is a problem to be solved.
Disclosure of Invention
In view of the above, in order to solve the above technical problems or some of the technical problems, embodiments of the present invention provide a method, an apparatus, a device, and a storage medium for updating a frequency converter keyboard.
In a first aspect, an embodiment of the present invention provides a method for updating a frequency converter keyboard, which is applied to the frequency converter keyboard, and the method includes:
acquiring first attribute information of a target frequency converter, wherein a frequency converter keyboard is in communication connection with at least one frequency converter;
acquiring second attribute information from a first target address of the frequency converter keyboard;
and when the first attribute information and the second attribute information are different, updating the second function code information in the frequency converter keyboard according to the first function code information in the target frequency converter.
In one possible implementation manner, the obtaining the first attribute information of the target frequency converter includes:
when a target instruction sent by the target frequency converter is received, acquiring a first name, a first software version, a first function code version and a first fault code version of the target frequency converter as the first attribute information;
the obtaining second attribute information from the first target address of the frequency converter keyboard includes:
and acquiring a second name, a second software version, a second function code version and a second fault code version of the non-target frequency converter currently stored by the frequency converter keyboard from a first target address in the flash memory of the frequency converter keyboard as the second attribute information.
In one possible implementation manner, the updating the second function code information in the frequency converter keyboard according to the first function code information in the target frequency converter includes:
deleting second function code information stored in a second target address in a flash memory of the frequency converter keyboard;
taking the function code group information, the function code attribute and the function code character string in the target frequency converter as the first function code information;
and storing the first function code information to the second target address.
In one possible implementation manner, after the updating of the second function code information in the frequency converter keyboard according to the first function code information in the target frequency converter, the method further includes:
in a preset time period, when a new frequency converter is detected to be connected with the frequency converter keyboard, storing the first function code information to a target storage position;
when the target frequency converter is detected to be connected with the frequency converter keyboard again, acquiring the first function code information from the target storage position;
deleting the function code information currently stored in the second target address;
and storing the first function code information to the second target address.
In one possible implementation manner, when the first attribute information and the second attribute information are different, the method further includes:
deleting the second attribute information stored in the first target address;
storing the first attribute information to the first target address.
In one possible implementation manner, before the obtaining the first attribute information of the target frequency converter, the method further includes:
judging whether the communication protocol stack of the target frequency converter is a target communication protocol stack or not;
and when the judgment result is that the target communication protocol stack is obtained, establishing communication connection with the target frequency converter through the target communication protocol stack.
In one possible implementation manner, after the updating of the second function code information in the frequency converter keyboard according to the first function code information in the target frequency converter, the method further includes:
and controlling a target display area corresponding to the frequency converter keyboard according to the updated frequency converter keyboard so as to control the target display area to display the first function code information.
In a second aspect, an embodiment of the present invention further provides an updating apparatus for a frequency converter keyboard, including:
the acquisition module is used for acquiring first attribute information of a target frequency converter, and the frequency converter keyboard is in communication connection with at least one frequency converter;
the acquisition module is further used for acquiring second attribute information from the first target address of the frequency converter keyboard;
and the updating module is used for updating the second function code information in the frequency converter keyboard according to the first function code information in the target frequency converter when the first attribute information and the second attribute information are different.
In a third aspect, an embodiment of the present invention further provides an apparatus, including: the method for updating the frequency converter keyboard according to the first aspect comprises a processor and a memory, wherein the processor is used for executing an updating program of the frequency converter stored in the memory so as to realize the updating method of the frequency converter keyboard according to any one of the first aspect.
In a fourth aspect, an embodiment of the present invention further provides a storage medium, where one or more programs are stored, where the one or more programs are executable by one or more processors to implement the method for updating a frequency converter keyboard according to any one of the first aspect.
According to the updating scheme of the frequency converter keyboard, the first attribute information of the target frequency converter is acquired, and the frequency converter keyboard is in communication connection with at least one frequency converter; acquiring second attribute information from a first target address of the frequency converter keyboard; when the first attribute information and the second attribute information are different, updating the second function code information in the frequency converter keyboard according to the first function code information in the target frequency converter, so that the information in the frequency converter keyboard can be updated quickly according to the connected frequency converter, the frequency converter software version does not need to be matched with the frequency converter keyboard software version in a forced way, and the maintenance and management cost is greatly reduced; the frequency converter can be quickly connected into the frequency converter keyboard, new development work is not needed by the frequency converter keyboard, and the efficiency of new product development and product iteration update is improved.
Drawings
Fig. 1 is a flow chart of a method for updating a frequency converter keyboard according to an embodiment of the present invention;
fig. 2 is a flow chart of another method for updating a keyboard of a frequency converter according to an embodiment of the present invention;
fig. 3 is a flowchart of another method for updating a keyboard of a frequency converter according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a keyboard of a frequency converter shared by multiple frequency converters according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another keyboard of a frequency converter shared by multiple frequency converters according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an updating device for a frequency converter keyboard according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an apparatus according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
For the purpose of facilitating an understanding of the embodiments of the present invention, reference will now be made to the following description of specific embodiments, taken in conjunction with the accompanying drawings, which are not intended to limit the embodiments of the invention.
Fig. 1 is a flow chart of a method for updating a frequency converter keyboard according to an embodiment of the present invention, as shown in fig. 1, where the method specifically includes:
s11, acquiring first attribute information of a target frequency converter, wherein the frequency converter keyboard is in communication connection with at least one frequency converter.
The method for updating the frequency converter keyboard is applied to the frequency converter keyboard, the frequency converter keyboard is in communication connection with the frequency converter, the connection mode can be wired connection, and the function code information in the frequency converter keyboard is updated by acquiring the function code information stored in the frequency converter.
In this embodiment, at least one frequency converter may be in communication connection with a frequency converter keyboard, the target frequency converter is a frequency converter that needs to be currently communicated in at least one frequency converter, the frequency converter and the frequency converter keyboard both use a preset same set of communication protocol stack, and communication is performed through the communication protocol stack, the communication protocol stack can enable the frequency converter keyboard to automatically identify different frequency converters, and when a plurality of frequency converters exist, only the frequency converter uses the communication protocol stack to be in communication connection with the frequency converter keyboard.
The first attribute information is pre-stored in the target frequency converter, and is the platform information of the target frequency converter, and may include, but is not limited to: product name, software version number, function code version, fault code version, etc. When the target frequency converter and the frequency converter keyboard establish communication for the first time, first attribute information is acquired from the target frequency converter through a communication protocol stack.
S12, acquiring second attribute information from the first target address of the frequency converter keyboard.
In this embodiment, the second attribute information is a product name, a software version number, a function code version, a fault code version, and the like of a certain frequency converter currently stored in the frequency converter keyboard, where the certain frequency converter is the frequency converter connected to the frequency converter keyboard last time, and the frequency converter may be a target frequency converter or any frequency converter other than the target frequency converter, and since the frequency converter keyboard may be connected to another frequency converter before the target frequency converter is connected, the second attribute information of the certain frequency converter is prestored in the frequency converter keyboard, or the second attribute information is information prestored in the frequency converter keyboard.
The first target address is a preset address in Flash inside the frequency converter keyboard, and the first target address is stored after the frequency converter keyboard acquires the attribute information. Therefore, after the first attribute information of the target frequency converter is acquired by the frequency converter keyboard, the second attribute information stored currently is acquired from the first target address.
And S13, when the first attribute information and the second attribute information are different, updating the second function code information in the frequency converter keyboard according to the first function code information in the target frequency converter.
In this embodiment, the Flash of the frequency converter keyboard further stores second function code information of a certain frequency converter in advance, where a certain frequency converter is the last frequency converter connected with the frequency converter keyboard. The first function code information is function code information stored in the target frequency converter. The function code information includes, but is not limited to: function code parameter attribute definition, function code character definition, fault code character definition, warning code character definition, function code group information, function code attribute, function code character string and the like. When the first attribute information and the second attribute information are different, the target frequency converter is different from the frequency converter connected with the frequency converter keyboard last time, so that the first function code information and the second function code information are different, and the second function code information needs to be updated according to the first function code information.
Specifically, whether each piece of information in the first attribute information and the second attribute information is the same is sequentially judged, when any piece of information in the first attribute information and the second attribute information is different, the second function code information stored in Flash of the frequency converter keyboard is deleted, the first function code information is obtained from the target frequency converter through a communication protocol stack, the first function code information is written into the Flash, updating of the second function code information is achieved, and after updating is finished, the frequency converter keyboard is normally used for controlling the target frequency converter.
In one possible embodiment, when the first attribute information and the second attribute information are the same, the target frequency converter is the same as the frequency converter connected with the frequency converter keyboard last time, so that the first function code information and the second function code information are the same, and the second function code information is not required to be updated, and the target frequency converter can be controlled directly through the current frequency converter keyboard.
According to the updating scheme of the frequency converter keyboard, the first attribute information of the target frequency converter is acquired, and the frequency converter keyboard is in communication connection with at least one frequency converter; acquiring second attribute information from a first target address of the frequency converter keyboard; when the first attribute information and the second attribute information are different, updating the second function code information in the frequency converter keyboard according to the first function code information in the target frequency converter, so that the information in the frequency converter keyboard can be updated quickly according to the connected frequency converter, the frequency converter software version does not need to be matched with the frequency converter keyboard software version in a forced way, and the maintenance and management cost is greatly reduced; the frequency converter can be quickly connected into the frequency converter keyboard, new development work is not needed by the frequency converter keyboard, and the efficiency of new product development and product iteration update is improved.
Fig. 2 is a flow chart of another method for updating a keyboard of a frequency converter according to an embodiment of the present invention, as shown in fig. 2, the method specifically includes:
and S21, when a target instruction sent by the target frequency converter is received, acquiring a first name, a first software version, a first function code version and a first fault code version of the target frequency converter as the first attribute information.
In this embodiment, the target command is a command that the target frequency converter requests to connect to the frequency converter keyboard, the frequency converter keyboard establishes communication connection with the target frequency converter after receiving the target command, and the frequency converter keyboard sends a query command to the target frequency converter, where the query command is used to read, as the first attribute information, a first product name (target frequency converter name), a first software version (software version number used by the target frequency converter), a first function code version (function code version number currently used by the target frequency converter), and a first fault code version (fault code version number currently used by the target frequency converter) stored in the target frequency converter.
In one possible implementation manner, a target communication protocol stack is preset and is used for connection communication between the frequency converter and the frequency converter keyboard, before the first attribute information is acquired, the frequency converter keyboard judges whether the communication protocol stack used by the target frequency converter is the target communication protocol stack, when the judgment result is the target communication protocol stack, communication connection is established between the frequency converter and the target frequency converter through the target communication protocol stack, and further, the frequency converter keyboard acquires the first attribute information of the target frequency converter through the target communication protocol stack.
S22, acquiring a second name, a second software version, a second function code version and a second fault code version of a non-target frequency converter currently stored by the frequency converter keyboard from a first target address in a flash memory of the frequency converter keyboard as the second attribute information.
In this embodiment, a first target address is preset in Flash of the frequency converter keyboard, and is used for storing attribute information of any frequency converter. The non-target frequency converter is the last frequency converter connected with the frequency converter keyboard, the second attribute information is attribute information of the non-target frequency converter, and the attribute information is used for representing the type of the frequency converter, the type of the function code, the type of the frequency converter software and the like, and can comprise: a second name of the frequency converter, a second software version, a second function code version and a second fault code version. When the non-target frequency converter is connected with the frequency converter keyboard, the second attribute information is stored in the first target address, and the second attribute information is still stored in the first target address after the non-target frequency converter is disconnected, so that the second attribute information stored currently is acquired from the first target address.
In one possible embodiment, the last frequency converter connected to the frequency converter keyboard may be the target frequency converter, that is, the non-target frequency converter is the same as the target frequency converter, where the first attribute information is the same as the second attribute information, or the second attribute information may be any attribute information preset in the first target address by the developer.
S23, deleting second function code information stored in a second target address in a flash memory of the frequency converter keyboard when the first attribute information and the second attribute information are different; taking the function code group information, the function code attribute and the function code character string in the target frequency converter as the first function code information; and storing the first function code information to the second target address.
In this embodiment, a second target address is preset in Flash of the frequency converter keyboard, and is used for storing function code information of any frequency converter. The frequency converter, attribute information and function code information are in one-to-one correspondence, the second function code information is the function code information of a non-target frequency converter, namely the function code information of the last frequency converter connected with the frequency converter keyboard, when the non-target frequency converter is connected with the frequency converter keyboard, the frequency converter keyboard acquires the second function code information and stores the second function code information into a second target address, when the non-target frequency converter is disconnected with the frequency converter keyboard, the second function code information is still stored in the second target address, and the function code information comprises: functional code group information, functional code attributes, functional code strings, etc. of the frequency converter.
Judging whether the first attribute information and the second attribute information are identical, and deleting the second function code information currently stored in the second target address when any information is different. Further, the first function code information of the target frequency converter is obtained through the target communication protocol stack, where the first function code information may include: functional code group information, functional code attributes, functional code strings, functional code parameter attribute definitions, functional code character definitions, fault code character definitions, warning code character definitions, and the like, and is stored at a second target address in a predetermined format. So as to update the second function code information in the frequency converter keyboard according to the first function code information in the target frequency converter.
In one possible implementation, when the first attribute information and the second attribute information are different, deleting the second attribute information stored in the first target address, and storing the first attribute information to the first target address, so as to update the second attribute information in the frequency converter keyboard according to the first attribute information of the target frequency converter.
In one possible implementation manner, after the second function code information is updated, the frequency converter keyboard can be used normally, the target frequency converter is controlled according to the updated frequency converter keyboard, and the target display area corresponding to the frequency converter keyboard is controlled so as to be used for displaying the first function code information.
And S24, storing the first function code information to a target storage position when the fact that the new frequency converter is connected with the frequency converter keyboard is detected in a preset time period.
In this embodiment, a preset time period is set, and in the preset time period, the target frequency converter is disconnected from the frequency converter keyboard, or when a new frequency converter is detected to be connected with the frequency converter keyboard, it is indicated that the situation that the target frequency converter is possibly disconnected by mistake is also indicated, and the frequency converter keyboard is also connected again, because the frequency converter keyboard can only be connected with one frequency converter at a time, a corresponding relation between the first function code information and the first attribute information is generated, and the corresponding relation, the first attribute information and the first function code information are stored in a target storage position in Flash, where the target storage position is any preset position. At this time, if a new transducer is connected to the transducer keyboard, the first function code information and the first attribute information are backed up and stored in the target storage location even if the first function code information in the second target address and the first attribute information in the first target address are deleted.
S25, when the fact that the target frequency converter is connected with the frequency converter keyboard again is detected, acquiring the first function code information from the target storage position; deleting the function code information currently stored in the second target address; and storing the first function code information to the second target address.
In this embodiment, when the frequency converter keyboard detects that the target frequency converter needs communication connection again, the first attribute information of the target frequency converter is acquired, then a corresponding relation is extracted from the target storage position, first function code information corresponding to the first attribute information is determined from the corresponding relation, and the function code information currently stored in the second target address is deleted; the first function code information is stored to the second destination address. The method and the device have the advantages that the function code information of the connected frequency converter is stored in a backup mode, the first function code information is not required to be acquired from the frequency converter when the frequency converter is connected again, communication times are reduced, and connection efficiency is improved.
As an example, fig. 3 is a flow chart illustrating a method for updating a frequency converter keyboard according to an embodiment of the present invention, as shown in fig. 5, S100, the identifying process starts, and the frequency converter keyboard is established in communication with the frequency converter; s101, a frequency converter keyboard sends a query command to a frequency converter in a communication mode, reads and receives information of the frequency converter; s102, comparing the received attribute information of the frequency converter with the attribute information stored in the keyboard Flash, and judging whether the information of the keyboard Flash needs to be updated. If yes, executing S103, otherwise executing S106; s103, erasing the content of attribute information and function code information in Flash used for storing the information part of the frequency converter in the frequency converter keyboard; s104, continuously sending a command to the frequency converter by the frequency converter keyboard, and reading information such as function code group information, function code attributes, function code character strings and the like in the frequency converter; s105, after reading all the frequency converter information, writing new attribute information and function code information in the position of the frequency converter keyboard for storing the attribute information and the function code information of the frequency converter; s106, finishing the update of the information of the frequency converter, and normally using the keyboard.
As an example, fig. 4 is a schematic structural diagram of a keyboard of a frequency converter shared by a plurality of frequency converters according to an embodiment of the present invention, and 200a and 200b represent software versions of the frequency converter defined by two different function code information. 100 represents a frequency converter keyboard, and 100a and 100b represent display contents corresponding to different function code information. The method comprises the steps that a frequency converter keyboard obtains a current frequency converter in a communication mode of a target communication protocol stack, when the frequency converter keyboard detects attribute information of the frequency converter and the attribute information stored in an internal Flash, the software version of the frequency converter is different from that stored in the frequency converter keyboard, at the moment, definition of function code information defined in the frequency converter software is read again, and different function code information and corresponding display content are switched.
As an example, fig. 5 is a schematic structural diagram of another keyboard of a frequency converter shared by a plurality of frequency converters according to an embodiment of the present invention, and 200a, 200b, and 200c represent three different types of frequency converters. 100, wherein the frequency converter and the frequency converter keyboard are connected by adopting the same communication protocol stack as a communication mode, and only one type of frequency converter and the frequency converter keyboard are communicated at the same time. 100a, 100b, 100c represent different function code display interfaces for different transducer types. The keyboard is handheld equipment, power supply is provided by the frequency converter, when different frequency converters are switched, the frequency converter keyboard can be electrified again and reconnected with the frequency converter, and whether the attribute information stored in the keyboard Flash is the same as the attribute information of the current frequency converter is checked again. If the function code information is different, the corresponding function code information is switched, so that when the frequency converters are switched back and forth for use, the program of the frequency converter keyboard itself does not need to be updated, and the function code information of the currently connected frequency converter can be directly updated.
According to the updating method of the frequency converter keyboard, when a target instruction sent by a target frequency converter is received, first attribute information of the target frequency converter is obtained; acquiring second attribute information of a non-target frequency converter currently stored by a frequency converter keyboard from a first target address in a flash memory of the frequency converter keyboard; deleting second function code information stored in a second target address in a flash memory of the frequency converter keyboard when the first attribute information and the second attribute information are different; taking the function code group information, the function code attribute and the function code character string in the target frequency converter as first function code information; storing the first function code information to a second target address; in a preset time period, when the fact that the new frequency converter is connected with the frequency converter keyboard is detected, storing first function code information to a target storage position; when the target frequency converter is detected to be connected with the frequency converter keyboard again, acquiring first function code information from a target storage position; deleting the function code information currently stored in the second target address; the first function code information is stored to the second destination address. Therefore, the frequency converter keyboard can identify and be compatible with all frequency converters supporting the target communication protocol stack, and the quality of the types supported by the frequency converters is improved; the software version of the frequency converter does not need to be forcibly matched with the software version of the frequency converter keyboard, so that the maintenance and management cost is greatly reduced; the new frequency converter can be quickly connected into the frequency converter keyboard, new development work is not needed by the frequency converter keyboard, and the efficiency of new product development and product iteration update is improved.
Fig. 6 is a schematic structural diagram of an updating device for a frequency converter keyboard according to an embodiment of the present invention, as shown in fig. 6, the device includes:
an obtaining module 61, configured to obtain first attribute information of a target frequency converter, where the frequency converter keyboard is connected to at least one frequency converter in a communication manner;
the obtaining module 61 is further configured to obtain second attribute information from the first target address of the transducer keyboard;
and the updating module 62 is configured to update the second function code information in the frequency converter keyboard according to the first function code information in the target frequency converter when the first attribute information and the second attribute information are different.
In a possible implementation manner, the obtaining module is specifically configured to obtain, when receiving a target instruction sent by the target frequency converter, a first name, a first software version, a first function code version, and a first fault code version of the target frequency converter as the first attribute information;
and acquiring a second name, a second software version, a second function code version and a second fault code version of the non-target frequency converter currently stored by the frequency converter keyboard from a first target address in the flash memory of the frequency converter keyboard as the second attribute information.
In a possible implementation manner, the updating module is specifically configured to delete the second function code information stored in the second target address in the flash memory of the frequency converter keyboard;
taking the function code group information, the function code attribute and the function code character string in the target frequency converter as the first function code information;
and storing the first function code information to the second target address.
In a possible implementation manner, the storage module 63 is configured to store the first function code information to a target storage location when it is detected that a new frequency converter is connected to the frequency converter keyboard within a preset period of time;
the acquisition module is specifically configured to acquire the first function code information from the target storage location when it is detected that the target frequency converter is connected to the frequency converter keyboard again;
the updating module is specifically configured to delete function code information currently stored in the second target address;
and storing the first function code information to the second target address.
In a possible implementation manner, the updating module is further configured to delete the second attribute information stored in the first target address;
storing the first attribute information to the first target address.
In one possible implementation, the judging module 64 is configured to judge whether the communication protocol stack of the target frequency converter is a target communication protocol stack;
and the communication module 65 is configured to establish communication connection with the target frequency converter through the target communication protocol stack when the determination result is that the target communication protocol stack is determined.
In a possible implementation manner, the control module 66 is configured to control, according to the updated inverter keyboard, a target display area corresponding to the inverter keyboard, so as to control the target display area to display the first function code information.
The updating device of the frequency converter keyboard provided in this embodiment may be a device as shown in fig. 6, and may perform all steps of the updating method of the frequency converter keyboard as shown in fig. 1-3, so as to achieve the technical effects of the updating method of the frequency converter keyboard as shown in fig. 1-3, and the details of the updating method are specifically described with reference to fig. 1-3, and are not repeated herein for brevity.
Fig. 7 is a schematic structural diagram of an apparatus according to an embodiment of the present invention, and an apparatus 700 shown in fig. 7 includes: at least one processor 701, memory 702, at least one network interface 704, and other user interfaces 703. The various components in device 700 are coupled together by a bus system 705. It is appreciated that the bus system 705 is used to enable connected communications between these components. The bus system 705 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration, the various buses are labeled as bus system 705 in fig. 7.
The user interface 703 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, a trackball, a touch pad, or a touch screen, etc.).
It is to be appreciated that memory 702 in embodiments of the invention may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM) which acts as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (Double Data Rate SDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), and Direct memory bus RAM (DRRAM). The memory 702 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some implementations, the memory 702 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system 7021 and application programs 7022.
The operating system 7021 contains various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application programs 7022 include various application programs such as a Media Player (Media Player), a Browser (Browser), and the like for realizing various application services. A program for implementing the method of the embodiment of the present invention may be contained in the application program 7022.
In the embodiment of the present invention, the processor 701 is configured to execute the method steps provided by the method embodiments by calling a program or an instruction stored in the memory 702, specifically, a program or an instruction stored in the application program 7022, for example, including:
acquiring first attribute information of a target frequency converter, wherein a frequency converter keyboard is in communication connection with at least one frequency converter;
acquiring second attribute information from a first target address of the frequency converter keyboard;
and when the first attribute information and the second attribute information are different, updating the second function code information in the frequency converter keyboard according to the first function code information in the target frequency converter.
The method disclosed in the above embodiment of the present invention may be applied to the processor 701 or implemented by the processor 701. The processor 701 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 701 or by instructions in the form of software. The processor 701 described above may be a general purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), an off-the-shelf programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components. The disclosed methods, steps, and logic blocks in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be embodied directly in the execution of a hardware decoding processor, or in the execution of a combination of hardware and software elements in a decoding processor. The software elements may be located in a random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory 702, and the processor 701 reads information in the memory 702 and performs the steps of the method in combination with its hardware.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or a combination thereof. For a hardware implementation, the processing units may be implemented within one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processors (Digital Signal Processing, DSP), digital signal processing devices (dspev, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field-Programmable Gate Array, FPGA), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units designed to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units that perform the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
The device provided in this embodiment may be the device shown in fig. 7, and may perform all steps of the method for updating the frequency converter keyboard shown in fig. 1-3, so as to achieve the technical effects of the method for updating the frequency converter keyboard shown in fig. 1-3, and the description is specifically referred to in fig. 1-3, and is omitted herein for brevity.
The embodiment of the invention also provides a storage medium (computer readable storage medium). The storage medium here stores one or more programs. Wherein the storage medium may comprise volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid state disk; the memory may also comprise a combination of the above types of memories.
When one or more programs in the storage medium are executable by one or more processors, the above method for updating the keyboard of the frequency converter executed on the device side is implemented.
The processor is used for executing the update program of the frequency converter keyboard stored in the memory so as to realize the following steps of the update method of the frequency converter keyboard executed on the equipment side:
acquiring first attribute information of a target frequency converter, wherein a frequency converter keyboard is in communication connection with at least one frequency converter;
acquiring second attribute information from a first target address of the frequency converter keyboard;
and when the first attribute information and the second attribute information are different, updating the second function code information in the frequency converter keyboard according to the first function code information in the target frequency converter.
Those of skill would further appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative elements and steps are described above generally in terms of function in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, in a software module executed by a processor, or in a combination of the two. The software modules may be disposed in Random Access Memory (RAM), memory, read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The foregoing description of the embodiments has been provided for the purpose of illustrating the general principles of the invention, and is not meant to limit the scope of the invention, but to limit the invention to the particular embodiments, and any modifications, equivalents, improvements, etc. that fall within the spirit and principles of the invention are intended to be included within the scope of the invention.

Claims (10)

1. A method for updating a frequency converter keypad, the method comprising:
acquiring first attribute information of a target frequency converter, wherein a frequency converter keyboard is in communication connection with at least one frequency converter;
acquiring second attribute information from a first target address of the frequency converter keyboard;
and when the first attribute information and the second attribute information are different, updating the second function code information in the frequency converter keyboard according to the first function code information in the target frequency converter.
2. The method of claim 1, wherein the obtaining the first attribute information of the target frequency converter comprises:
when a target instruction sent by the target frequency converter is received, acquiring a first name, a first software version, a first function code version and a first fault code version of the target frequency converter as the first attribute information;
the obtaining second attribute information from the first target address of the frequency converter keyboard includes:
and acquiring a second name, a second software version, a second function code version and a second fault code version of the non-target frequency converter currently stored by the frequency converter keyboard from a first target address in the flash memory of the frequency converter keyboard as the second attribute information.
3. The method of claim 1, wherein updating the second function code information in the frequency converter keypad based on the first function code information in the target frequency converter comprises:
deleting second function code information stored in a second target address in a flash memory of the frequency converter keyboard;
taking the function code group information, the function code attribute and the function code character string in the target frequency converter as the first function code information;
and storing the first function code information to the second target address.
4. A method according to claim 3, wherein after the updating of the second function code information in the frequency converter keypad according to the first function code information in the target frequency converter, the method further comprises:
in a preset time period, when a new frequency converter is detected to be connected with the frequency converter keyboard, storing the first function code information to a target storage position;
when the target frequency converter is detected to be connected with the frequency converter keyboard again, acquiring the first function code information from the target storage position;
deleting the function code information currently stored in the second target address;
and storing the first function code information to the second target address.
5. The method of claim 1, wherein when the first attribute information and the second attribute information are different, the method further comprises:
deleting the second attribute information stored in the first target address;
storing the first attribute information to the first target address.
6. The method of claim 1, wherein prior to the obtaining the first attribute information of the target frequency converter, the method further comprises:
judging whether the communication protocol stack of the target frequency converter is a target communication protocol stack or not;
and when the judgment result is that the target communication protocol stack is obtained, establishing communication connection with the target frequency converter through the target communication protocol stack.
7. The method of claim 1, wherein after updating the second function code information in the frequency converter keypad according to the first function code information in the target frequency converter, the method further comprises:
and controlling a target display area corresponding to the frequency converter keyboard according to the updated frequency converter keyboard so as to control the target display area to display the first function code information.
8. An update apparatus for a frequency converter keyboard, comprising:
the acquisition module is used for acquiring first attribute information of a target frequency converter, and the frequency converter keyboard is in communication connection with at least one frequency converter;
the acquisition module is further used for acquiring second attribute information from the first target address of the frequency converter keyboard;
and the updating module is used for updating the second function code information in the frequency converter keyboard according to the first function code information in the target frequency converter when the first attribute information and the second attribute information are different.
9. An apparatus, comprising: a processor and a memory, the processor being configured to execute an update program of the frequency converter stored in the memory, to implement the method for updating a frequency converter keyboard according to any one of claims 1 to 7.
10. A storage medium storing one or more programs executable by one or more processors to implement the method of updating a transducer keyboard of any of claims 1-7.
CN202310484349.6A 2023-04-28 2023-04-28 Update method, device, equipment and storage medium of frequency converter keyboard Pending CN116560686A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310484349.6A CN116560686A (en) 2023-04-28 2023-04-28 Update method, device, equipment and storage medium of frequency converter keyboard

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310484349.6A CN116560686A (en) 2023-04-28 2023-04-28 Update method, device, equipment and storage medium of frequency converter keyboard

Publications (1)

Publication Number Publication Date
CN116560686A true CN116560686A (en) 2023-08-08

Family

ID=87493937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310484349.6A Pending CN116560686A (en) 2023-04-28 2023-04-28 Update method, device, equipment and storage medium of frequency converter keyboard

Country Status (1)

Country Link
CN (1) CN116560686A (en)

Similar Documents

Publication Publication Date Title
US9454356B2 (en) Method of and terminal for updating library file in system application
US8037198B2 (en) Firmware upgrade for thin clients using one or more servers
JP5500999B2 (en) Information processing apparatus, control method thereof, and program
CN103092665A (en) Immediate updating device and immediate updating method
JPWO2009078285A1 (en) Wireless terminal, non-volatile memory of wireless terminal, and fail-safe storage method of diagnostic information
CN103136027A (en) Immediate updating device and immediate updating method
JP4602644B2 (en) Communication terminal device and application program
CN113656005B (en) Application component library construction method, application component configuration method and related devices
CN109032617B (en) Control method and control device for automatically deleting installation package
CN112199109B (en) Firmware upgrading method, device, equipment and medium
CN111786825B (en) Method, device, system and storage medium for dynamically configuring interface service
CN116560686A (en) Update method, device, equipment and storage medium of frequency converter keyboard
CN106648578A (en) Desktop layout sharing method, sending terminal and receiving terminal
CN110806891A (en) Method and device for generating software version of embedded equipment
CN100484038C (en) Network element version switching method and device
CN113849198A (en) Method, device, equipment and medium for uninstalling application program
JP4788128B2 (en) Execution environment maintenance system, execution environment maintenance device, and execution environment maintenance method
CN113326052A (en) Method and device for upgrading service component, computer equipment and storage medium
JP2005092708A (en) Software update system and method, and computer program
JP2018077690A (en) Installation considering compatibility depending on difference in application execution environment, and firmware update method
CN113422791A (en) Cloud service configuration method and device, electronic equipment and computer-readable storage medium
KR100538627B1 (en) Method for partupgrading sofrware of wireless terminal
WO2017076180A1 (en) Virtual machine upgrading method and device
US7702890B2 (en) Information processing apparatus and program
CN113641449B (en) Mirror image downloading control method and device, equipment and storage medium

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