Method and device for changing execution action associated with handle operation

文档序号:1091009 发布日期:2020-09-25 浏览:6次 中文

阅读说明:本技术 一种手柄操作关联的执行动作的更改方法及装置 (Method and device for changing execution action associated with handle operation ) 是由 马云飞 王祥祥 王彦森 于 2020-06-24 设计创作,主要内容包括:本申请涉及数据传输技术领域,尤其涉及一种手柄操作关联的执行动作的更改方法及装置。本申请根据接收目标用户通过显示器终端发送的将目标手柄操作关联的第一执行动作更换为第二执行动作的更改指令之后,从预设的通讯路径库中,查询出与第二执行动作关联存储的目标通讯路径和目标执行元件,并根据更改指令,将目标手柄操作通过目标通讯路径与目标执行元件建立关联。本申请通过更改目标手柄操作关联的通讯路径,实现更改目标手柄操作关联的执行动作,节约了更改目标手柄操作关联的执行动作的时间,提高了目标手柄操作关联的执行动作的更改效率。(The present application relates to the field of data transmission technologies, and in particular, to a method and an apparatus for changing an execution action associated with a handle operation. According to the method and the device, after a change instruction which is sent by a target user through a display terminal and used for changing a first execution action associated with target handle operation into a second execution action is received, a target communication path and a target execution element which are stored in association with the second execution action are inquired from a preset communication path library, and the target handle operation is associated with the target execution element through the target communication path according to the change instruction. According to the method and the device, the execution action associated with the target handle operation is changed by changing the communication path associated with the target handle operation, the time for changing the execution action associated with the target handle operation is saved, and the efficiency for changing the execution action associated with the target handle operation is improved.)

1. A method for modifying an execution action associated with a handle operation, the method comprising:

receiving a change instruction which is sent by a target user through a display terminal and used for changing a first execution action associated with the operation of a target handle into a second execution action;

inquiring a target communication path and a target execution element which are stored in association with the second execution action from a preset communication path library;

and establishing association between the target handle operation and the target execution element through the target communication path according to the change instruction.

2. The method of modifying of claim 1, wherein after said associating said target handle manipulation with said target implement through said target communication path, said method of modifying further comprises:

and controlling the target executing element to execute the second executing action in response to the target handle operation.

3. The method of claim 1, wherein the communication path library is created according to the following steps:

configuring a communication path for each execution action, and determining an execution element corresponding to the execution action;

and performing associated storage on each execution action and the communication path and the execution element corresponding to the execution action to generate the communication path library.

4. The method of modifying of claim 1, wherein after said associating said target handle manipulation with said target implement through said target communication path, said method of modifying further comprises:

updating the operation library; the operation library is stored with handle operation and execution action in an associated manner.

5. The modification method according to claim 1, wherein the target execution element includes the following:

a bucket cylinder, a stick cylinder, a boom cylinder, and a hydraulic motor.

6. The changing method according to claim 1, wherein the display terminal transmits the changing instruction through a controller area network.

7. A handle-operated linked action-performing modifying device, comprising:

the receiving module is used for receiving a change instruction which is sent by a target user through a display terminal and is used for changing a first execution action associated with the operation of a target handle into a second execution action;

the query module is used for querying a target communication path and a target execution element which are stored in association with the second execution action from a preset communication path library;

and the association module is used for establishing association between the target handle operation and the target execution element through the target communication path according to the change instruction.

8. The modifying apparatus of claim 7, further comprising:

and the control module is used for responding to the target handle operation and controlling the target execution element to execute the second execution action.

9. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is operating, the machine-readable instructions when executed by the processor performing the method of modifying a performance action associated with a handle operation of any of claims 1 to 6.

10. A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, which computer program, when being executed by a processor, performs a method of modifying a handle operation associated performance action according to any one of claims 1 to 6.

Technical Field

The present application relates to the field of data transmission technologies, and in particular, to a method and an apparatus for changing an execution action associated with a handle operation.

Background

Various types and functions of excavating machines are widely applied to mechanized construction in industries such as industrial and civil buildings, transportation, hydraulic and electric power engineering, farmland transformation, mine excavation and modern military engineering, and in recent years, the excavating machines become one of the most main engineering machines in engineering construction, wherein the hydraulic excavating machines generally control a main control valve through two hydraulic pilot type operating handles, and then the main control valve controls a hydraulic oil cylinder and a hydraulic motor to execute corresponding actions.

However, the execution actions associated with the respective operations of the two operation handles are preset, however, different operators often have different operation habits in reality, so that when the operators operate different excavators, the operators need to replace the execution actions of the habits of the respective operations of the two operation handles.

Disclosure of Invention

In view of this, an object of the embodiments of the present application is to provide a method and an apparatus for changing an execution action associated with a handle operation, which implement to change an execution action associated with a target handle operation by changing a communication path associated with the target handle operation, save time for changing the execution action associated with the target handle operation, and improve efficiency for changing the execution action associated with the target handle operation.

Mainly comprises the following aspects:

in a first aspect, an embodiment of the present application provides a method for modifying an execution action associated with a handle operation, where the method for modifying includes:

receiving a change instruction which is sent by a target user through a display terminal and used for changing a first execution action associated with the operation of a target handle into a second execution action;

inquiring a target communication path and a target execution element which are stored in association with the second execution action from a preset communication path library;

and establishing association between the target handle operation and the target execution element through the target communication path according to the change instruction.

In a possible embodiment, after the associating the target handle operation with the target actuator through the target communication path, the modifying method further includes:

and controlling the target executing element to execute the second executing action in response to the target handle operation.

In one possible embodiment, the communication path library is created according to the following steps:

configuring a communication path for each execution action, and determining an execution element corresponding to the execution action;

and performing associated storage on each execution action and the communication path and the execution element corresponding to the execution action to generate the communication path library.

In a possible embodiment, after the associating the target handle operation with the target actuator through the target communication path, the modifying method further includes:

updating the operation library; the operation library is stored with handle operation and execution action in an associated manner.

In one possible embodiment, the target actuator includes the following:

a bucket cylinder, a stick cylinder, a boom cylinder, and a hydraulic motor.

In a possible embodiment, the display terminal sends the change instruction through a controller area network.

In a second aspect, embodiments of the present application further provide a device for modifying a performance action associated with a handle operation, where the device includes:

the receiving module is used for receiving a change instruction which is sent by a target user through a display terminal and is used for changing a first execution action associated with the operation of a target handle into a second execution action;

the query module is used for querying a target communication path and a target execution element which are stored in association with the second execution action from a preset communication path library;

and the association module is used for establishing association between the target handle operation and the target execution element through the target communication path according to the change instruction.

In a possible implementation, the modifying means further comprises:

and the control module is used for responding to the target handle operation and controlling the target execution element to execute the second execution action.

In one possible embodiment, the communication path library is created according to the following steps:

configuring a communication path for each execution action, and determining an execution element corresponding to the execution action;

and performing associated storage on each execution action and the communication path and the execution element corresponding to the execution action to generate the communication path library.

In a possible implementation, the modifying means further comprises:

the updating module is used for updating the operation library; the operation library is stored with handle operation and execution action in an associated manner.

In one possible embodiment, the target actuator includes the following:

a bucket cylinder, a stick cylinder, a boom cylinder, and a hydraulic motor.

In a possible embodiment, the display terminal sends the change instruction through a controller area network.

In a third aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, the processor and the memory communicate with each other through the bus when the electronic device is operated, and the machine-readable instructions are executed by the processor to perform the steps of the method for changing the execution actions associated with the handle operation described in the first aspect or any one of the possible embodiments of the first aspect.

In a fourth aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, performs the steps of performing the change of the action associated with the handle operation described in the first aspect or any one of the possible implementation manners of the first aspect.

In the embodiment of the application, the execution action related to the target handle operation is changed by changing the communication path related to the target handle operation, so that the time for changing the execution action related to the target handle operation is saved, and the efficiency for changing the execution action related to the target handle operation is improved.

In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.

Drawings

In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.

FIG. 1 is a flow chart illustrating a method for modifying an execution action associated with a handle operation provided by an embodiment of the present application;

FIG. 2 is a schematic diagram illustrating a structure of a handle operation and display screen provided by an embodiment of the present application;

FIG. 3 is a schematic structural diagram of a modifying device for executing an action in connection with a handle operation provided by an embodiment of the present application;

fig. 4 shows a second schematic structural diagram of a device for modifying an execution action associated with a handle operation according to an embodiment of the present application;

fig. 5 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.

Detailed Description

To make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it should be understood that the drawings in the present application are for illustrative and descriptive purposes only and are not used to limit the scope of protection of the present application. Additionally, it should be understood that the schematic drawings are not necessarily drawn to scale. The flowcharts used in this application illustrate operations implemented according to some embodiments of the present application. It should be understood that the operations of the flow diagrams may be performed out of order, and that steps without logical context may be performed in reverse order or concurrently. One skilled in the art, under the guidance of this application, may add one or more other operations to, or remove one or more operations from, the flowchart.

In addition, the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.

It is worth noting that before the application is provided, the execution actions associated with the operations of the two operation handles in the existing scheme are preset, however, different operators often have different operation habits in reality, so that the operators need to replace the execution actions of the habits of the operations of the two operation handles when operating different excavators, in the prior art, the replacement of the execution actions associated with the operations of the operation handles is completed by detaching the handles and modifying other hardware, the process is complicated, and the efficiency of changing the execution actions associated with the operation of the handles is reduced.

In view of the above problems, the embodiment of the application realizes the change of the execution action associated with the target handle operation by changing the communication path associated with the target handle operation, saves the time for changing the execution action associated with the target handle operation, and improves the efficiency for changing the execution action associated with the target handle operation.

For the convenience of understanding of the present application, the technical solutions provided in the present application will be described in detail below with reference to specific embodiments.

Fig. 1 is a flowchart of a method for modifying an execution action associated with a handle operation according to an embodiment of the present application. The method for changing the execution action associated with the handle operation comprises the following steps:

s101: and receiving a change instruction which is sent by the target user through the display terminal and used for changing the first execution action associated with the target handle operation into the second execution action.

In the step, the target user sets the target handle operation from the originally associated first execution action to the second execution action through the display terminal, after the display terminal receives the setting of the target user, the change instruction of the first execution action associated with the target handle operation to the second execution action is sent to the main controller, and the main controller receives the change instruction sent by the display terminal.

It should be noted that, referring to fig. 2, fig. 2 shows a schematic structural diagram of a handle operation and a display screen provided in an embodiment of the present application, where the handle is divided into a left handle and a right handle, each handle corresponds to four operations in different directions, and the display terminal is preset with eight different actions, that is, there are eight optional actions under the operation of each handle, so if a target user wants to replace a second execution action of the target handle operation, the display terminal can select to change the corresponding execution action under the target handle operation.

S102: and inquiring a target communication path and a target execution element which are stored in association with the second execution action from a preset communication path library.

In this step, after a change instruction for changing the first execution action associated with the operation of the target handle to the second execution action is received, the target communication path and the target execution element stored in association with the second execution action are searched from a preset communication path library according to the second execution action.

The communication path, i.e. the communication protocol, provides communication support for the internet connecting different operating systems and different hardware architectures, and is a network universal language, i.e. a convention for data transmission control by both communication parties, the convention includes making unified provisions for the problems of data format, synchronization mode, transmission speed, transmission step, error detection and correction mode, control character definition, etc., both communication parties must comply together, so that the execution action of the handle operation and the setting on the display screen can be kept consistent through different communication protocols.

Further, the communication path library stores the execution actions, the communication path associated with each execution action, and the execution element associated with each execution action.

S103: and establishing association between the target handle operation and the target execution element through the target communication path according to the change instruction.

In the step, after the target communication path associated with the second execution action is inquired, the originally associated communication path operated by the target handle is changed into the target communication path, and the originally associated execution element operated by the target handle is changed into the target execution element, at this time, the target handle operation establishes association with the target execution element through the target communication path.

In the embodiment of the application, the execution action related to the target handle operation is changed by changing the communication path related to the target handle operation, so that the time for changing the execution action related to the target handle operation is saved, and the efficiency for changing the execution action related to the target handle operation is improved.

In a possible implementation, after S103, the modifying method further includes:

and controlling the target executing element to execute the second executing action in response to the target handle operation.

Further, after the target handle operation is associated with the target executive component through the target communication path, the target communication path associated with the target handle operation is acquired after the target handle operation is responded, the target communication path is analyzed, and the target executive component is controlled by controlling the electric control main valve after the target communication path is analyzed, wherein the executive component comprises a hydraulic oil cylinder and a hydraulic motor, and a second executive action is executed by controlling the target executive component.

In one possible embodiment, the communication path library is created according to the following steps:

step (1): and configuring a communication path for each execution action, and determining an execution element corresponding to the execution action.

Step (2): and performing associated storage on each execution action and the communication path and the execution element corresponding to the execution action to generate the communication path library.

Furthermore, a related communication path is configured for each execution action in advance, an execution element needing to be mobilized is determined according to the execution action, and the communication path and the execution element corresponding to the execution action are related and stored to generate a communication path library.

In one example, it is assumed that for the execution action of "bucket excavation", the actuator is determined to be a bucket hydraulic cylinder, and a communication path corresponding to the bucket excavation is configured, so that the communication path corresponding to the execution actions of "bucket excavation" and the bucket hydraulic cylinder are stored in association with each other, and the communication path and the actuator associated with the execution action of "bucket excavation" are formed in the communication path library.

In a possible implementation manner, after S103, the method further includes:

updating the operation library; the operation library is stored with handle operation and execution action in an associated manner.

Further, after the execution action of the target handle operation is modified, each operation of the handle and the execution action corresponding to each handle operation are updated, so that a subsequent user can inquire the execution action corresponding to each handle operation and modify the execution action corresponding to each handle operation.

In an example, assuming that a left handle is divided into 4 handle operations, a handle operation 1 corresponds to an execution action 1, a handle operation 2 corresponds to an execution action 2, a handle operation 3 corresponds to an execution action 3, and a handle operation 4 corresponds to an execution action 4, at this time, the execution action 1 corresponding to the handle operation 1 is modified to be the execution action 2, and the execution action 2 corresponding to the handle operation 2 is modified to be the execution action 1, then, after the modification is completed, the execution actions corresponding to the handle operations of the left handle are updated, and at this time, an operation library stores the association: handle operation 1 corresponds to performing action 2, handle operation 2 corresponds to performing action 1, handle operation 3 corresponds to performing action 3, and handle operation 4 corresponds to performing action 4.

In one possible embodiment, the target actuator includes the following:

a bucket cylinder, a stick cylinder, a boom cylinder, and a hydraulic motor.

Further, the actuator corresponding to the boom lowering and the boom raising for the performing operation is a boom cylinder, the actuator corresponding to the bucket excavating and the bucket unloading for the performing operation is a bucket cylinder, the actuator corresponding to the arm excavating and the arm unloading for the performing operation is an arm cylinder, and the actuator corresponding to the left and right swing for the performing operation is a hydraulic motor.

In a possible embodiment, the display terminal sends the change instruction through a controller area network.

Further, the display terminal is connected with the main Controller through a Controller Area Network (CAN), the handle is also connected with the main Controller through a CAN bus, the display terminal sends a change instruction to the main Controller through the CAN bus, the main Controller receives the change instruction through the CAN bus, modifies a target communication path associated with the second execution action, responds to the target handle operation and sends a signal of the handle operation to the main Controller through the CAN bus, the main Controller receives the target handle operation signal through the CAN bus and analyzes according to the modified target communication path, determines a target execution element corresponding to the second execution action, and controls the target execution element to execute the second execution action by controlling the electric control main valve.

It should be noted that the handle signal may also be an analog signal, and at this time, the setting may be completed by changing the definition of the signal interface of the controller.

Based on the same application concept, the embodiment of the present application further provides a device for changing the execution action associated with the handle operation, which corresponds to the method for changing the execution action associated with the handle operation provided by the above embodiment, and as the principle of solving the problem of the device in the embodiment of the present application is similar to the method for changing the execution action associated with the handle operation provided by the above embodiment of the present application, the implementation of the device may refer to the implementation of the method, and repeated parts are not repeated.

Referring to fig. 3, a first schematic structural diagram of an apparatus 300 for modifying a handle operation related execution action provided in an embodiment of the present application is shown, and referring to fig. 4, a second schematic structural diagram of an apparatus 300 for modifying a handle operation related execution action provided in an embodiment of the present application is shown, wherein as shown in fig. 3 and fig. 4, the apparatus 300 for modifying a handle operation related execution action provided in an embodiment of the present application includes:

a receiving module 301, configured to receive a change instruction, sent by a target user through a display terminal, for changing a first execution action associated with a target handle operation into a second execution action;

a query module 302, configured to query a target communication path and a target execution element stored in association with the second execution action from a preset communication path library;

and the association module 303 is configured to establish association between the target handle operation and the target execution element through the target communication path according to the change instruction.

According to the method, after a change instruction which is sent by a target user through a display terminal and used for changing a first execution action associated with target handle operation into a second execution action is received by a receiving module 301, a target communication path and a target execution element which are stored in association with the second execution action are inquired from a preset communication path library according to an inquiring module 302, and association is established between the target handle operation and the target execution element through the target communication path according to the change instruction and an association module 303. According to the method and the device, the execution action associated with the target handle operation is changed by changing the communication path associated with the target handle operation, the time for changing the execution action associated with the target handle operation is saved, and the efficiency for changing the execution action associated with the target handle operation is improved.

In a possible implementation, the modifying means further comprises:

a control module 304, configured to control the target execution element to execute the second execution action in response to the target handle operation.

In one possible embodiment, the communication path library is created according to the following steps:

configuring a communication path for each execution action, and determining an execution element corresponding to the execution action;

and performing associated storage on each execution action and the communication path and the execution element corresponding to the execution action to generate the communication path library.

In a possible implementation, the modifying means further comprises:

an update module 305 for updating the operation library; the operation library is stored with handle operation and execution elements in an associated mode.

In one possible embodiment, the target actuator includes the following:

a bucket cylinder, a stick cylinder, a boom cylinder, and a hydraulic motor.

In a possible embodiment, the display terminal sends the change instruction through a controller area network.

Based on the same application concept, referring to fig. 5, a schematic structural diagram of an electronic device 500 provided in the embodiment of the present application includes: a processor 510, a memory 520, and a bus 530, wherein the memory 520 stores machine-readable instructions executable by the processor 510, wherein when the electronic device 500 is operated, the processor 510 and the memory 520 communicate via the bus 530, and wherein the machine-readable instructions are executed by the processor 510 to perform the steps of the method of modifying a performance action associated with a handle operation as described in any of the above embodiments.

In particular, the machine readable instructions, when executed by the processor 510, may perform the following:

receiving a change instruction which is sent by a target user through a display terminal and used for changing a first execution action associated with the operation of a target handle into a second execution action;

inquiring a target communication path and a target execution element which are stored in association with the second execution action from a preset communication path library;

and establishing association between the target handle operation and the target execution element through the target communication path according to the change instruction.

In the embodiment of the application, after a change instruction of changing a first execution action associated with target handle operation into a second execution action sent by a target user through a display terminal is received, a target communication path and a target execution element stored in association with the second execution action are inquired from a preset communication path library, and the target handle operation is associated with the target execution element through the target communication path according to the change instruction. According to the method and the device, the execution action associated with the target handle operation is changed by changing the communication path associated with the target handle operation, the time for changing the execution action associated with the target handle operation is saved, and the efficiency for changing the execution action associated with the target handle operation is improved.

Based on the same application concept, the embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program is executed by a processor to execute the steps of the method for changing the execution action associated with the handle operation provided in the above implementation.

It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.

In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.

The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.

In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.

The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.

The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

14页详细技术资料下载
上一篇:一种医用注射器针头装配设备
下一篇:显示器及电竞组件

网友询问留言

已有0条留言

还没有人留言评论。精彩留言会获得点赞!

精彩留言,会给你点赞!

技术分类