Functional configuration method, functional configuration device, readable storage medium and industrial equipment
Patent Information
- Application Number
- CN202310840015.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-10
- Publication Date
- 2026-08-18
- Estimated Expiration
- 2043-07-10
AI Technical Summary
[0003]本发明旨在至少解决现有技术或相关技术中存在的配置步骤繁琐,配置效率低等技术问题
[0022] Additional aspects and advantages of the invention will become apparent in the following description or may be learned by practice of the invention.
Smart Images

Figure CN116971836B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of equipment control technology, and more specifically, to a function configuration method, a function configuration device, a readable storage medium, and industrial equipment. Background Technology
[0002] In fully mechanized coal mining faces, the hydraulic support controller is the most critical technical equipment, and the use of various functions of the hydraulic support controller system is the most crucial aspect of the automated operation of the working face. When configuring and updating the functions of the controller system for industrial equipment such as hydraulic supports, it is necessary to update the system program, generate system files, and re-burn the firmware. This results in current configuration methods being cumbersome and inefficient. Summary of the Invention
[0003] The present invention aims to at least solve the technical problems of cumbersome configuration steps and low configuration efficiency in the prior art or related technologies.
[0004] Therefore, the first aspect of the present invention is to provide a method for configuring functions.
[0005] A second aspect of the invention is to propose an alternative method for configuring functions.
[0006] A third aspect of the present invention is to provide a functional configuration device.
[0007] A fourth aspect of the invention is to provide another functional configuration device.
[0008] The fifth aspect of the invention is to provide another functional configuration device.
[0009] The sixth aspect of the present invention is to provide a readable storage medium.
[0010] The seventh aspect of the present invention is to provide an industrial device.
[0011] In view of this, according to a first aspect of the present invention, a function configuration method is proposed for the controller end of an industrial device. The function configuration method includes: when a target function is to be added to the industrial device, determining a target function module from a plurality of pre-stored function modules according to the target function, and sending a function request of the target function module to the host computer end of the industrial device, wherein the controller end is used to control the industrial device and the host computer end is used to update the function of the industrial device; receiving a function activation instruction from the host computer end, and activating the target function module according to the function activation instruction, wherein the function activation instruction is an instruction determined by the host computer end in response to the function request.
[0012] The function configuration method in this technical solution, when a target function needs to be added to an industrial device, determines the target function module from a set of pre-stored function modules based on the target function, determines the function request of the target function module, and sends the function request to the host computer of the industrial device. After receiving the function activation command from the host computer, the target function module is activated according to the function activation command. This greatly simplifies the function configuration steps of the industrial device, improves the efficiency of function configuration, and ensures the accuracy of function configuration.
[0013] According to a second aspect of the present invention, a function configuration method is proposed for a host computer terminal of an industrial device. The function configuration method includes: receiving a function request sent by a controller terminal of the industrial device; determining a function activation instruction based on the function request if the request permission of the function request is allowed; wherein the controller terminal is used to control the industrial device, the host computer terminal is used to update the functions of the industrial device, and the function request is a request corresponding to a target function module pre-stored on the controller terminal; and sending the function activation instruction to the controller terminal.
[0014] The function configuration method in this technical solution receives function requests sent by the controller of the industrial equipment from the host computer. If the request permission is allowed, the function activation instruction is determined according to the function request and sent to the controller. This greatly simplifies the function configuration steps of the industrial equipment, improves the efficiency of function configuration, and ensures the accuracy of function configuration.
[0015] According to a third aspect of the present invention, a function configuration device is provided for use on the controller side of an industrial device. The function configuration device includes: a first processing module, configured to, when a target function is to be added to the industrial device, determine a target function module from a plurality of pre-stored function modules according to the target function, and send a function request of the target function module to a host computer of the industrial device, wherein the controller side is used to control the industrial device, and the host computer is used to update the function of the industrial device; the first processing module is further configured to receive a function activation command from the host computer, and activate the target function module according to the function activation command, wherein the function activation command is an instruction determined by the host computer in response to the function request.
[0016] The function configuration device in this technical solution, when a target function needs to be added to industrial equipment, determines the target function module from a set of pre-stored function modules based on the target function, determines the function request of the target function module, and sends the function request to the host computer of the industrial equipment. After receiving the function activation command from the host computer, the target function module is activated according to the function activation command. This greatly simplifies the function configuration steps of industrial equipment, improves the efficiency of function configuration of industrial equipment, and ensures the accuracy of function configuration of industrial equipment.
[0017] According to a fourth aspect of the present invention, another function configuration device is provided for use on a host computer terminal of an industrial device. The function configuration device includes: a second processing module, configured to receive a function request sent by a controller terminal of the industrial device, and, if the request permission of the function request is allowed, determine a function activation instruction according to the function request, wherein the controller terminal is used to control the industrial device, the host computer terminal is used to update the functions of the industrial device, and the function request is a request corresponding to a target function module pre-stored on the controller terminal; the second processing module is further configured to send the function activation instruction to the controller terminal.
[0018] The function configuration device in this technical solution receives function requests sent by the controller of the industrial equipment through the host computer. If the request permission is allowed, the device determines the function activation command based on the function request and sends the function activation command to the controller. This greatly simplifies the function configuration steps of the industrial equipment, improves the efficiency of function configuration, and ensures the accuracy of function configuration.
[0019] According to a fifth aspect of the present invention, another functional configuration apparatus is proposed, comprising a processor and a memory, wherein the memory stores a program or instructions, which, when executed by the processor, implement the steps of the functional configuration method as described in any of the above-described technical solutions. Therefore, this functional configuration apparatus possesses all the beneficial effects of the functional configuration methods in any of the above-described technical solutions, and will not be elaborated further here.
[0020] According to a sixth aspect of the present invention, a readable storage medium is provided on which a program or instructions are stored, which, when executed by a processor, implement the functional configuration method as described in any of the above-described technical solutions. Therefore, this readable storage medium possesses all the beneficial effects of the functional configuration method in any of the above-described technical solutions, and will not be elaborated further here.
[0021] According to a seventh aspect of the present invention, an industrial device is provided, comprising: a functional configuration device as defined in the third aspect above, or a functional configuration device as defined in the fourth aspect above, or a functional configuration device as defined in the fifth aspect above, and / or a readable storage medium as defined in the sixth aspect above, thereby having all the beneficial technical effects of the functional configuration device as defined in the third aspect above, or a functional configuration device as defined in the fourth aspect above, or a functional configuration device as defined in the fifth aspect above, and / or a readable storage medium as defined in the sixth aspect above, which will not be elaborated further here.
[0022] Additional aspects and advantages of the invention will become apparent in the following description or may be learned by practice of the invention. Attached Figure Description
[0023] The above and / or additional aspects and advantages of the present invention will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which: Figure 1 This is a schematic flowchart illustrating one embodiment of the functional configuration method provided by the present invention; Figure 2 The second schematic flowchart illustrates a functional configuration method according to an embodiment of the present invention. Figure 3 The third schematic flowchart illustrates a functional configuration method according to an embodiment of the present invention; Figure 4 The fourth flowchart illustrates a functional configuration method according to an embodiment of the present invention. Figure 5 The fifth illustration shows a flowchart of a functional configuration method according to an embodiment of the present invention; Figure 6 The sixth illustration shows a flowchart of a functional configuration method according to an embodiment of the present invention; Figure 7 The seventh illustration shows a flowchart of a functional configuration method according to an embodiment of the present invention; Figure 8 This is illustrated as a flowchart of a functional configuration method according to an embodiment of the present invention (Figure 8). Figure 9 This diagram shows one of the structural block diagrams of a functional configuration device according to an embodiment of the present invention; Figure 10 A second structural block diagram of a functional configuration device according to an embodiment of the present invention is shown; Figure 11 A schematic diagram of a functional configuration device according to an embodiment of the present invention is shown; Figure 12The third structural block diagram of a functional configuration device according to an embodiment of the present invention is shown. Detailed Implementation
[0024] To better understand the above-mentioned objectives, features, and advantages of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments of the present invention and the features thereof can be combined with each other.
[0025] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be practiced in other ways different from those described herein, and therefore the scope of protection of the invention is not limited to the specific embodiments disclosed below.
[0026] The following is combined Figures 1 to 12 The present application provides a detailed description of the functional configuration method, functional configuration device, readable storage medium, and industrial equipment through specific embodiments and application scenarios.
[0027] In some embodiments, optionally, such as Figure 1 As shown, a function configuration method is proposed, which includes: Step 102: If a target function is to be added to an industrial device, determine the target function module among the multiple pre-stored function modules according to the target function, and send the function request of the target function module to the host computer of the industrial device. Step 104: Receive the function activation command from the host computer and activate the target function module according to the function activation command.
[0028] In this embodiment, a function configuration method is provided for the controller end of industrial equipment, wherein the industrial equipment is an operating device in the industry, and the controller end is the control terminal of the industrial equipment.
[0029] For example, industrial equipment can be specifically a tunneling machine.
[0030] For example, industrial equipment may specifically be a hydraulic support.
[0031] When a target function needs to be added to an industrial device, the controller determines the target function module from a set of pre-stored function modules based on the target function. The target function is the function that needs to be updated on the industrial device, the multiple function modules are the modules corresponding to the pre-stored programs in the controller, and the target function module is the function module corresponding to the target function.
[0032] For example, multiple functional modules may specifically include functional modules corresponding to functions such as hydraulic support pushing, moving, side guard plate, telescopic beam, spraying, backwashing, rear conveying, coal discharge, automatic pressure replenishment, inertial navigation straightening, personnel interlocking, etc.
[0033] The controller determines the function request of the target function module and sends the function request to the host computer of the industrial equipment. The function request is the communication request corresponding to the target function module.
[0034] It should be noted that the controller is a device used to control industrial equipment, while the host computer is a device used to update the functions of industrial equipment.
[0035] For example, the controller end can be specifically the controller of the hydraulic support, and the host computer end can be specifically the host computer of the hydraulic support.
[0036] After receiving the function activation command from the host computer, the controller activates the target function module according to the function activation command. The function activation command is the command issued by the host computer in response to the function request.
[0037] For example, after the target function module is activated on the controller side, the industrial equipment can be controlled to complete the target function.
[0038] In this embodiment, the function configuration method, when a target function needs to be added to an industrial device, determines the target function module from a set of pre-stored function modules based on the target function, determines the function request of the target function module, and sends the function request to the host computer of the industrial device. After receiving the function activation command from the host computer, the target function module is activated according to the function activation command. This greatly simplifies the function configuration steps of the industrial device, improves the efficiency of function configuration, and ensures the accuracy of function configuration.
[0039] In some embodiments, optionally, such as Figure 2 As shown, a function configuration method is proposed, which includes: Step 202: When a target function is to be added to an industrial device, the target function module is determined from a number of pre-stored function modules according to the target function, the function number of the target function module is obtained, a function request is generated according to the function number, and the function request is sent to the host computer. Step 204: Receive the function activation command from the host computer and activate the target function module according to the function activation command.
[0040] In this embodiment, the controller obtains the function number corresponding to the target function module, generates a function request based on the function number, and sends the function request to the host computer. The function number is the program number corresponding to the target function module.
[0041] For example, the controller can determine the function number corresponding to the target function module according to the CAN (Controller Area Network) protocol.
[0042] The function configuration method in this embodiment obtains the function number corresponding to the target function module, generates a function request based on the function number, and sends the function request to the host computer, thus ensuring the accuracy of the function request data and thereby ensuring the accuracy of the function configuration of the industrial equipment.
[0043] In some embodiments, optionally, such as Figure 3 As shown, a function configuration method is proposed, which includes: Step 302: If a target function is to be added to an industrial device, determine the target function module among the multiple pre-stored function modules according to the target function, and send the function request of the target function module to the host computer of the industrial device. Step 304: Receive the function activation command from the host computer and activate the target function module according to the function activation command; Step 306: Obtain the preset function modules on the controller side, and restore the initial state of the controller side by enabling the preset function modules and disabling the target function modules.
[0044] In this embodiment, the controller acquires a preset functional module, wherein the preset functional module is a preset enabled functional module among multiple functional modules.
[0045] For example, the preset functional modules can be specifically the functional modules configured at the factory of the controller.
[0046] The controller restores its initial state by enabling preset function modules and disabling target function modules. The initial state refers to the initial configuration state of the controller.
[0047] For example, the initial state can be specifically the factory configuration state of the controller.
[0048] The function configuration method in this embodiment restores the initial state of the controller by enabling preset function modules and disabling target function modules, thereby expanding the functionality of the controller.
[0049] In some embodiments, optionally, such as Figure 4 As shown, a function configuration method is proposed, which includes: Step 402: If a target function is to be added to an industrial device, determine the target function module among the multiple pre-stored function modules according to the target function, and send the function request of the target function module to the host computer of the industrial device. Step 404: Receive the function activation command from the host computer and activate the target function module according to the function activation command; Step 406: Control the industrial equipment to operate the target function according to the target function module.
[0050] In this embodiment, the controller controls the industrial equipment to complete the target function according to the target functional module.
[0051] For example, the target functional module can be specifically the push-slide functional module of the hydraulic support, and the controller controls the industrial equipment to complete the push-slide action according to the target functional module.
[0052] The functional configuration method in this embodiment controls the industrial equipment to complete the target function according to the target functional module, ensuring that the industrial equipment can complete the target function and at the same time ensuring the operational stability of the industrial equipment.
[0053] In some embodiments, optionally, such as Figure 5 As shown, a function configuration method is proposed, which includes: Step 502: Receive a function request sent by the controller of the industrial equipment. If the permission for the function request is allowed, determine the function activation instruction according to the function request. Step 504: Send the function activation command to the controller.
[0054] In this embodiment, a function configuration method is provided for the host computer of an industrial device. The host computer receives a function request sent by the controller of the industrial device. If the permission of the function request is allowed, the host computer determines a function activation instruction based on the function request. The permission request is the permission corresponding to the function request, and the function activation instruction is the activation instruction corresponding to the function request.
[0055] For example, a permission request can be specifically set to allow or disallow.
[0056] The host computer sends the function activation command to the controller.
[0057] For example, the host computer can send a function enable command to the controller via the CAN protocol.
[0058] The function configuration method in this embodiment receives function requests sent by the controller of the industrial equipment from the host computer. If the request permission of the function request is allowed, the function activation instruction is determined according to the function request and sent to the controller. This greatly simplifies the function configuration steps of the industrial equipment, improves the function configuration efficiency of the industrial equipment, and ensures the accuracy of the function configuration of the industrial equipment.
[0059] In some embodiments, optionally, such as Figure 6 As shown, a function configuration method is proposed, which includes: Step 602: Receive a function request sent by the controller of the industrial equipment. If the request permission of the function request is allowed, obtain the communication protocol between the controller and the host computer. According to the communication protocol, parse the function request to obtain the function number corresponding to the function request. Step 604: Encapsulate the function number into data to obtain the function activation instruction of the target function module; Step 606: Send the function activation command to the controller.
[0060] In this embodiment, the host computer obtains the communication protocol for communication with the controller, and performs information parsing on the function request according to the communication protocol to obtain the function number corresponding to the function request. The communication protocol is the protocol for communication between the controller and the host computer.
[0061] The host computer encapsulates the function sequence number to obtain the function activation instruction for the target function module.
[0062] For example, the communication protocol may specifically be the CAN protocol.
[0063] The function configuration method in this embodiment obtains the communication protocol between the host computer and the controller, parses the function request according to the communication protocol, encapsulates the function number into data, and obtains the function activation instruction of the target function module. This ensures the data accuracy of the function activation instruction and thus ensures the accuracy of the function configuration of the industrial equipment.
[0064] In some embodiments, optionally, such as Figure 7 As shown, a function configuration method is proposed, which includes: Step 702: Receive a function request sent by the controller of the industrial equipment. If the request permission of the function request is allowed, obtain the communication protocol between the controller and the host computer. According to the communication protocol, parse the function request to obtain the function number corresponding to the function request. Step 704: Obtain the instruction template of the communication protocol, and add the function number into the instruction template to obtain the function activation instruction; Step 706: Send the function activation command to the controller.
[0065] In this embodiment, the host computer obtains the instruction template of the communication protocol, adds the function number into the instruction template, and then determines the function activation instruction. The instruction template is a preset template corresponding to the function activation instruction.
[0066] For example, the instruction template can be specifically the template shown in Table 1.
[0067] Table 1
[0068] The function configuration method in this embodiment obtains the instruction template of the communication protocol, adds the function number into the instruction template, and then determines the function activation instruction, thus ensuring the data accuracy of the function activation instruction and the accuracy of the function configuration of the industrial equipment.
[0069] In some embodiments, optionally, such as Figure 8 As shown, a function configuration method is proposed, which includes: Step 802: Receive a function request sent by the controller of the industrial equipment. If the permission for the function request is allowed, determine the function activation instruction according to the function request. Step 804: Send the function activation command to the controller. Step 806: If the permission for the function request is not allowed, reject the function request and send the function prohibition instruction to the controller.
[0070] In this embodiment, if the permission for a function request is not allowed, the host computer rejects the function request and sends a function prohibition instruction to the controller. The function prohibition instruction is an instruction generated after rejecting the function request.
[0071] For example, the host computer can determine the function prohibition instruction based on the function request.
[0072] In this embodiment, when the permission for a function request is not allowed, the host computer rejects the function request and sends a function prohibition instruction to the controller, thereby enriching the functions of the host computer and improving its performance.
[0073] like Figure 9 As shown, an embodiment of the present invention provides a function configuration device 900, which includes: The first processing module 902 is used to determine the target function module among a number of pre-stored function modules when a target function is to be added to the industrial equipment, and send the function request of the target function module to the host computer of the industrial equipment. The controller is used to control the industrial equipment, and the host computer is used to update the function of the industrial equipment. The first processing module 902 is also used to receive the function activation instruction from the host computer, and activate the target function module according to the function activation instruction. The function activation instruction is the instruction determined by the host computer in response to the function request.
[0074] In this embodiment, a function configuration device 900 is provided for the controller end of industrial equipment, wherein the industrial equipment is an operating device in the industry, and the controller end is the control terminal of the industrial equipment.
[0075] For example, industrial equipment may specifically be a hydraulic support.
[0076] When a target function needs to be added to an industrial device, the controller determines the target function module from a set of pre-stored function modules based on the target function. The target function is the function that needs to be updated on the industrial device, the multiple function modules are the modules corresponding to the pre-stored programs in the controller, and the target function module is the function module corresponding to the target function.
[0077] For example, multiple functional modules may specifically include functional modules corresponding to functions such as hydraulic support pushing, moving, side guard plate, telescopic beam, spraying, backwashing, rear conveying, coal discharge, automatic pressure replenishment, inertial navigation straightening, and personnel interlocking.
[0078] The controller determines the function request of the target function module and sends the function request to the host computer of the industrial equipment. The function request is the communication request corresponding to the target function module.
[0079] It should be noted that the controller is a device used to control industrial equipment, while the host computer is a device used to update the functions of industrial equipment.
[0080] For example, the controller end can be specifically the controller of the hydraulic support, and the host computer end can be specifically the host computer of the hydraulic support.
[0081] After receiving the function activation command from the host computer, the controller activates the target function module according to the function activation command. The function activation command is the command issued by the host computer in response to the function request.
[0082] For example, after the target function module is activated on the controller side, the industrial equipment can be controlled to complete the target function.
[0083] In this embodiment, when a target function needs to be added to an industrial device, the function configuration device 900 determines the target function module from a set of pre-stored function modules, identifies the function request of the target function module, and sends the function request to the host computer of the industrial device. After receiving the function activation command from the host computer, the device activates the target function module according to the function activation command. This greatly simplifies the function configuration steps of the industrial device, improves the efficiency of function configuration, and ensures the accuracy of function configuration.
[0084] In some embodiments, the function configuration device 900 may optionally further include: The first processing module 902 is also used to obtain the function number of the target function module, generate a function request based on the function number, and send the function request to the host computer.
[0085] In this embodiment, the function configuration device 900 obtains the function number corresponding to the target function module, generates a function request based on the function number, and sends the function request to the host computer, thus ensuring the accuracy of the function request data and thereby ensuring the accuracy of the function configuration of the industrial equipment.
[0086] In some embodiments, the function configuration device 900 may optionally further include: The first processing module 902 is also used to obtain the preset function modules on the controller side, and restore the initial state of the controller side by enabling the preset function modules and disabling the target function modules. The preset function modules are the preset enabled function modules among multiple function modules.
[0087] In this embodiment, the function configuration device 900 restores the initial state of the controller by enabling preset function modules and disabling target function modules, thereby expanding the functionality of the controller.
[0088] In some embodiments, the function configuration device 900 may optionally further include: The first processing module 902 is also used to control the industrial equipment to operate the target function according to the target function module.
[0089] For example, the controller can display the menu bar shown in Table 2.
[0090] Table 2
[0091] For example, the controller can display the menu bar shown in Table 3.
[0092] Table 3
[0093] For example, the controller can be configured with functions according to factory settings, displaying the menu bar shown in Table 4.
[0094] Table 4
[0095] In this embodiment, the function configuration device 900 controls the industrial equipment to complete the target function according to the target function module, ensuring that the industrial equipment can complete the target function and at the same time ensuring the operational stability of the industrial equipment.
[0096] like Figure 10 As shown, an embodiment of the present invention provides a function configuration device 1000, which includes: The second processing module 1002 is used to obtain the communication protocol between the controller and the host computer, and to parse the function request according to the communication protocol to obtain the function number corresponding to the function request. The second processing module 1002 is also used to encapsulate the function number into data to obtain the function activation instruction of the target function module.
[0097] In this embodiment, a function configuration device 1000 is provided for the host computer of an industrial device. The host computer receives a function request sent by the controller of the industrial device. If the permission of the function request is allowed, the host computer determines a function activation instruction according to the function request. The requested permission is the permission corresponding to the function request, and the function activation instruction is the activation instruction corresponding to the function request.
[0098] For example, a permission request can be specifically set to allow or disallow.
[0099] The host computer sends the function activation command to the controller.
[0100] For example, the host computer can send a function enable command to the controller via the CAN protocol.
[0101] In this embodiment, the function configuration device 1000 receives function requests sent by the controller of the industrial equipment through the host computer. If the request permission of the function request is allowed, the device determines the function activation instruction according to the function request and sends the function activation instruction to the controller. This greatly simplifies the function configuration steps of the industrial equipment, improves the function configuration efficiency of the industrial equipment, and ensures the accuracy of the function configuration of the industrial equipment.
[0102] In some embodiments, the function configuration device 1000 may optionally further include: The second processing module 1002 is also used to obtain the communication protocol between the controller and the host computer, and to parse the function request according to the communication protocol to obtain the function number corresponding to the function request. The second processing module 1002 is also used to encapsulate the function number into data to obtain the function activation instruction of the target function module.
[0103] In this embodiment, the function configuration device 1000 obtains the communication protocol between the host computer and the controller, parses the function request according to the communication protocol, encapsulates the function number into data, and obtains the function activation instruction of the target function module, thus ensuring the data accuracy of the function activation instruction and thereby ensuring the accuracy of the function configuration of the industrial equipment.
[0104] In some embodiments, the function configuration device 1000 may optionally further include: The second processing module 1002 is also used to obtain the instruction template of the communication protocol, and add the function number into the instruction template to obtain the function activation instruction.
[0105] In this embodiment, the function configuration device 1000 obtains the instruction template of the communication protocol, adds the function number to the instruction template, and then determines the function activation instruction, thereby ensuring the data accuracy of the function activation instruction and thus ensuring the accuracy of the function configuration of the industrial equipment.
[0106] In some embodiments, the function configuration device 1000 may optionally further include: The second processing module 1002 is also used to reject the function request and send the function prohibition instruction of the function request to the controller if the request permission is not allowed.
[0107] For example, such as Figure 11 As shown, industrial equipment can be a hydraulic support. The hydraulic support controller is started, the configured function parameters are read, and the required functions are displayed in the menu bar. It can initialize the function configuration parameters, use the displayed functions, and change the function configuration parameters through the CAN protocol, and then save the configured function parameters.
[0108] In this embodiment, when the permission for a function request is not allowed, the host computer rejects the function request and sends a function prohibition instruction to the controller, thereby enriching the functions of the host computer and improving its performance.
[0109] In some embodiments, optionally, such as Figure 12 As shown, a function configuration device 1200 is proposed. The function configuration device 1200 includes a processor 1202 and a memory 1204. The memory 1204 stores a program or instructions. When the program or instructions are executed by the processor 1202, they implement the steps of the function configuration method as described in any of the above-described technical solutions. Therefore, the function configuration device 1200 possesses all the beneficial effects of the function configuration method in any of the above-described technical solutions, which will not be elaborated further here.
[0110] In some embodiments, optionally, a readable storage medium is provided. Those skilled in the art will understand that all or part of the steps in the methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a readable storage medium of any computer. When executed, the program implements the functional configuration method as described in any of the above embodiments. The readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0111] In some embodiments, an industrial device is optionally provided, comprising: a functional configuration device as described in any of the above embodiments, and / or a readable storage medium as described in any of the above embodiments, thus having all the beneficial technical effects of the functional configuration device and / or the readable storage medium as described in any of the above embodiments, which will not be elaborated further here.
[0112] In some embodiments, the industrial equipment may optionally be any of the following: a hydraulic support, a tunneling machine, an excavator, or a transport vehicle.
[0113] It should be clarified that in the claims, description, and accompanying drawings of this invention, the term "plural" refers to two or more. Unless otherwise explicitly defined, the terms "upper," "lower," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing the invention and simplifying the description process, not to indicate or imply that the device or element referred to must have the described specific orientation, or be constructed and operated in a specific orientation. Therefore, these descriptions should not be construed as limiting the invention. The terms "connection," "installation," "fixing," etc., should be interpreted broadly. For example, "connection" can be a fixed connection between multiple objects, a detachable connection between multiple objects, or an integral connection; it can be a direct connection between multiple objects or an indirect connection between multiple objects through an intermediate medium. For those skilled in the art, the specific meaning of the above terms in this invention can be understood based on the specific circumstances of the above data.
[0114] In the claims, description, and accompanying drawings of this invention, the terms "one embodiment," "some embodiments," "specific embodiment," etc., refer to a specific feature, structure, material, or characteristic described in connection with that embodiment or example, which is included in at least one embodiment or example of the invention. In the claims, description, and accompanying drawings of this invention, illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0115] The above are merely preferred embodiments of the present invention and are not intended to limit the present invention. Various modifications and variations can be made to the present invention by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A functional configuration method, characterized by, The function configuration method is used on the controller side of industrial equipment, and the function configuration method includes: When a target function is to be added to the industrial equipment, the target function module is determined from a plurality of pre-stored function modules according to the target function, and the function request of the target function module is sent to the host computer of the industrial equipment. The controller is used to control the industrial equipment, and the host computer is used to update the function of the industrial equipment. Receive the function activation command from the host computer, and activate the target function module according to the function activation command. The function activation command is the command determined by the host computer in response to the function request. Sending the function request of the target functional module to the host computer of the industrial equipment specifically includes: Obtain the function number of the target function module, generate the function request based on the function number, and send the function request to the host computer. The host computer is used to receive function requests sent by the controller of the industrial equipment. If the permission of the function request is allowed, the host computer determines the function activation instruction according to the function request. The step of determining the function activation instruction based on the function request specifically includes: The communication protocol between the controller and the host computer is obtained, and the function request is parsed according to the communication protocol to obtain the function number corresponding to the function request. The function number is encapsulated to obtain the function activation instruction of the target function module; The process of encapsulating the function number to obtain the function activation instruction of the target function module specifically includes: Obtain the instruction template of the communication protocol, and add the function number into the instruction template to obtain the function activation instruction.
2. The function configuration method according to claim 1, characterized in that, After activating the target function module according to the function activation instruction, the process further includes: The controller acquires a preset function module and restores its initial state by enabling the preset function module and disabling the target function module. The preset function module is a preset function module that is enabled among the plurality of function modules.
3. The function configuration method according to claim 1, characterized in that, After activating the target function module according to the function activation instruction, the process further includes: Based on the target functional module, control the industrial equipment to operate the target function.
4. A function configuration method, characterized in that, The function configuration method is used on the host computer of industrial equipment, and the function configuration method includes: The system receives a function request sent by the controller of the industrial equipment. If the permission of the function request is allowed, the system determines a function activation instruction based on the function request. The controller is used to control the industrial equipment, and the host computer is used to update the functions of the industrial equipment. The function request is a request corresponding to a target function module pre-stored by the controller. Send the function activation command to the controller. When a target function is to be added to the industrial equipment, the controller is used to determine the target function module among a plurality of pre-stored function modules according to the target function, and send the function request of the target function module to the host computer of the industrial equipment. The controller is also used to receive a function activation command from the host computer and activate the target function module according to the function activation command. The function activation command is an instruction determined by the host computer in response to the function request. Sending the function request of the target functional module to the host computer of the industrial equipment specifically includes: Obtain the function number of the functional module, and generate the function request based on the function number; The step of determining the function activation instruction based on the function request specifically includes: The communication protocol between the controller and the host computer is obtained, and the function request is parsed according to the communication protocol to obtain the function number corresponding to the function request. The function number is encapsulated to obtain the function activation instruction of the target function module; The process of encapsulating the function number to obtain the function activation instruction of the target function module specifically includes: Obtain the instruction template of the communication protocol, and add the function number into the instruction template to obtain the function activation instruction.
5. The functional configuration method according to claim 4, characterized in that, After receiving the function request sent by the controller of the industrial equipment, the method further includes: If the permission for the requested function is not allowed, the function request is rejected, and a function prohibition instruction for the requested function is sent to the controller.
6. A functional configuration device, characterized in that, The function configuration device is used on the controller side of industrial equipment to implement the function configuration method as described in any one of claims 1 to 3, and the function configuration device includes: The first processing module is used to determine the target function module among a plurality of pre-stored function modules according to the target function when the target function is to be added to the industrial equipment, and to send the function request of the target function module to the host computer terminal of the industrial equipment. The controller terminal is used to control the industrial equipment, and the host computer terminal is used to update the function of the industrial equipment. The first processing module is further configured to receive a function activation instruction from the host computer, and activate the target function module according to the function activation instruction, wherein the function activation instruction is an instruction determined by the host computer in response to the function request.
7. A functional configuration device, characterized in that, The function configuration device is used on the host computer of industrial equipment to implement the function configuration method as described in claim 4 or 5, and the function configuration device includes: The second processing module is used to receive a function request sent by the controller of the industrial equipment. If the request permission of the function request is allowed, the module determines a function activation instruction according to the function request. The controller is used to control the industrial equipment, and the host computer is used to update the functions of the industrial equipment. The function request is a request corresponding to a target function module pre-stored by the controller. The second processing module is also used to send the function activation command to the controller.
8. A functional configuration device, characterized in that, include: processor; A memory storing programs or instructions, wherein the processor, when executing the programs or instructions in the memory, implements the steps of the function configuration method as described in any one of claims 1 to 3 or the function configuration method as described in claim 4 or 5.
9. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the functional configuration method as described in any one of claims 1 to 3 or the functional configuration method as described in claim 4 or 5.
10. An industrial device, characterized in that, The industrial equipment includes: The function configuration device as described in any one of claims 6 to 8; and / or The readable storage medium as described in claim 9.
Citation Information
Patent Citations
Control code generation method and device
CN112034765A
Operation updating method and device of gateway equipment, storage medium and electronic device
CN115174380A