WO2020154937A1 - Method and device for controlling loads, and control apparatus - Google Patents

Method and device for controlling loads, and control apparatus Download PDF

Info

Publication number
WO2020154937A1
WO2020154937A1 PCT/CN2019/073811 CN2019073811W WO2020154937A1 WO 2020154937 A1 WO2020154937 A1 WO 2020154937A1 CN 2019073811 W CN2019073811 W CN 2019073811W WO 2020154937 A1 WO2020154937 A1 WO 2020154937A1
Authority
WO
WIPO (PCT)
Prior art keywords
load execution
load
execution information
information
target
Prior art date
Application number
PCT/CN2019/073811
Other languages
French (fr)
Chinese (zh)
Inventor
刘启明
陈超彬
Original Assignee
深圳市大疆创新科技有限公司
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 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201980004950.2A priority Critical patent/CN111247791B/en
Priority to CN202111161212.4A priority patent/CN113973176A/en
Priority to PCT/CN2019/073811 priority patent/WO2020154937A1/en
Publication of WO2020154937A1 publication Critical patent/WO2020154937A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B64AIRCRAFT; AVIATION; COSMONAUTICS
    • B64DEQUIPMENT FOR FITTING IN OR TO AIRCRAFT; FLIGHT SUITS; PARACHUTES; ARRANGEMENTS OR MOUNTING OF POWER PLANTS OR PROPULSION TRANSMISSIONS IN AIRCRAFT
    • B64D1/00Dropping, ejecting, releasing, or receiving articles, liquids, or the like, in flight
    • B64D1/16Dropping or releasing powdered, liquid, or gaseous matter, e.g. for fire-fighting
    • B64D1/18Dropping or releasing powdered, liquid, or gaseous matter, e.g. for fire-fighting by spraying, e.g. insecticides
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G5/00Traffic control systems for aircraft, e.g. air-traffic control [ATC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • H04N23/695Control of camera direction for changing a field of view, e.g. pan, tilt or based on tracking of objects

Definitions

  • the embodiments of the present invention relate to the technical field of mobile platforms, and in particular to a load control method, device and control equipment.
  • mobile platforms such as unmanned vehicles, unmanned aerial vehicles, etc.
  • mobile platforms are being widely used in more fields, such as surveying and mapping, agriculture, and inspection.
  • the operation task usually consists of two parts: route planning and load execution.
  • the route planning can specifically designate several waypoints to generate route planning information (such as position, speed, attitude, etc.);
  • the load execution can specifically set the load execution actions that need to be executed at each waypoint, such as taking photos, Video etc.
  • the mobile platform moves along the planned route, when it reaches the target waypoint, it executes the load execution action corresponding to the target waypoint.
  • the mobile platform is other mobile devices, such as self-driving cars or ships, when planning these mobile devices to perform corresponding tasks, adopt a similar method to that of an aircraft, and also need to perform corresponding load execution actions in conjunction with displacement points. It can be seen that the current task of the mobile platform to perform operations relies on the displacement points (such as waypoints) of the mobile platform, which severely limits the application range of the mobile platform.
  • the embodiment of the present invention provides a load control method, device, control equipment and storage medium, which can separate the current load execution task from the displacement point corresponding to the moving route, which is beneficial to expand the application range of the mobile platform and is beneficial to expand the mobile platform The scope of application.
  • an embodiment of the present invention provides a load control method.
  • a plurality of the loads are mounted on a mobile platform, and the method includes:
  • the current load execution task includes at least one load execution information
  • the load execution information represents a correspondence between a trigger event and load execution action information
  • the target load is determined from a plurality of loads based on the target load execution action information, and the target load execution information is any one of at least one of the load execution information
  • an embodiment of the present invention provides a load control device, a plurality of the loads are mounted on a mobile platform, and the control device includes:
  • An acquiring module configured to acquire a current load execution task of the mobile platform, the current load execution task includes at least one load execution information, and the load execution information characterizes the correspondence between a trigger event and load execution action information;
  • the processing module is used to control the target load to execute the action indicated by the target load execution action information corresponding to the target trigger event when the target trigger event in the target load execution information occurs;
  • the target load is determined from a plurality of loads based on the target load execution action information, and the target load execution information is any one of at least one of the load execution information.
  • an embodiment of the present invention provides a load control device, a plurality of the loads are mounted on a mobile platform, the control device includes a processor and a communication interface, and the processor and the communication interface are connected to each other, wherein:
  • the communication interface is controlled by the processor for sending and receiving instructions, and the processor is used for:
  • the current load execution task includes at least one load execution information
  • the load execution information represents a correspondence between a trigger event and load execution action information
  • the target load is determined from a plurality of loads based on the target load execution action information, and the target load execution information is any one of at least one of the load execution information.
  • an embodiment of the present invention provides a computer storage medium that stores computer program instructions, and when the computer program instructions are executed, they are used to implement the above-mentioned load control method.
  • the mobile platform can obtain the current load execution task including at least one load execution information, which represents the corresponding relationship between the trigger event and the load execution action information. Further, when the target trigger event in the target load execution information occurs, the target load can be controlled to execute the action indicated by the target load execution action information corresponding to the target trigger event. With the embodiment of the present invention, the execution of the action indicated by the target load execution action information depends on the occurrence of the target trigger event, and may not depend on the displacement point corresponding to the moving route of the mobile platform. In this way, the current load execution task can be separated from the displacement point corresponding to the moving route, which is beneficial to expand the application range of the mobile platform.
  • Figure 1a is a schematic structural diagram of a load control system provided by an embodiment of the present invention.
  • Figure 1b is a schematic structural diagram of a mobile platform provided by an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a load control method provided by an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of another load control method provided by an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of yet another load control method provided by an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of yet another load control method provided by an embodiment of the present invention.
  • Figure 6 is a schematic structural diagram of a control device provided by an embodiment of the present invention.
  • Fig. 7 is a schematic structural diagram of a control device provided by an embodiment of the present invention.
  • the embodiment of the present invention provides a load control method, and multiple loads may be mounted on a mobile platform.
  • the mobile platform can be a flying device flying in the sky, such as a drone, aerial photography aircraft, etc.; it can also be some mobile device that can move on the ground, such as autonomous vehicles, smart electric vehicles, scooters, Vehicles such as a balance car; it can also be a control device installed on these flying devices or mobile devices.
  • the load can be built into the mobile platform or externally placed on the mobile platform.
  • a communication port can be reserved on the mobile platform so that the user can mount a third-party load.
  • the basic system of the flying device includes: a frame, a power system, and an avionics system.
  • devices or modules that are connected to the mobile platform in various ways and can perform certain specific actions. These actions can ultimately produce valuable effects.
  • Such devices or modules can all be called loads.
  • the common ones are camera devices, pan-tilts, spraying devices, etc.
  • the specific actions performed by the load may be, for example, taking pictures by the camera device, video recording by the camera device, zooming of the camera device, rotation of the pan/tilt, spraying by the spray device, etc.
  • the mobile platform may be a flying device, and the flying device is equipped with a flight control system.
  • the flight device can issue the current load execution task to the flight control system, and the flight control system controls the flight device to fly along the route, and controls each load during the flight to complete the current load execution task.
  • the load control method can also be applied to a terminal, and the terminal can perform data interaction with the mobile platform, thereby realizing control of the load mounted on the mobile platform.
  • the embodiments of the present invention are described by taking an application on a mobile platform as an example.
  • the control system 10 includes a terminal 101 and a mobile platform 102.
  • the mobile platform 102 is mounted with a plurality of loads 103, and the terminal 101 can be used to transfer the load to the mobile platform.
  • 102 issues a current load execution task, the load execution task includes at least one piece of load execution information, and the load execution information represents a correspondence between a trigger event and load execution action information.
  • the mobile platform 102 obtains the current load execution task and detects that the target trigger event in the target load execution information occurs, it can control the target load to execute the target load execution action information corresponding to the target trigger event. action.
  • a target trigger event is that the mobile platform 102 moves to a designated area
  • the target load execution action information corresponding to the target trigger event includes the target load type and the target execution action type
  • the target load type is a camera device
  • the target execution action type is Take pictures.
  • the mobile platform detects that it has moved to the designated area during the movement, it can determine that the target trigger event in the target load execution information has occurred, and the camera device can be set based on the target load type and target execution action type. Determine as the target load, and control the camera to take pictures, that is, control the target load to perform the action indicated by the action information.
  • FIG. 1b shows a mobile platform 11 with a camera device 110 mounted thereon. It can be seen that the camera device 110 is fixed on the main structure of the mobile platform 11 and can be used to collect images (photographs, videos, etc.).
  • a plurality of load execution information is stored in the preset storage device of the mobile platform 11, and the load execution information is pre-configured and can represent the corresponding relationship between the trigger event and the load execution action information. Further, before the mobile platform 11 starts to move, at least one load execution information can be selected from the above multiple load execution information and assembled together to form a complete current load execution task during the current movement of the mobile platform.
  • the execution task includes at least one piece of load execution information.
  • the at least one piece of load execution information may be determined from the plurality of load execution information based on a user's selection, or may be determined from the plurality of load execution information based on task requirements input by the user.
  • the external device may display the multiple load execution information on the display screen for the user to select. Further, the mobile platform 11 may determine at least one load execution information from the foregoing multiple load execution information based on the user's selection, and assemble the determined at least one load execution information together to form the mobile platform 11 this time.
  • the external device may be, for example, a control device with a display function.
  • the user before the mobile platform 11 starts to move, the user can input task requirements to the mobile platform 11 through an external device, and the mobile platform 11 can determine the task requirements from the multiple load execution information based on the task requirements. At least one piece of load execution information that is required to match is assembled, and the determined at least one piece of load execution information is assembled together to form a current load execution task that needs to be executed during the current movement of the mobile platform 11.
  • the mobile platform may determine the load execution information corresponding to the spraying action to be the load execution information matching the spraying task.
  • the current load of the mobile platform can be obtained to perform tasks. Further, the mobile platform 11 can periodically detect various load execution information of the current load execution task according to a certain frequency during the movement. When the target trigger event in the target load execution information is detected, the target load is controlled to execute the target trigger event corresponding The target load performs the action indicated by the action information.
  • the target load execution information is any one of the foregoing at least one load execution information, and the target load is determined from multiple loads based on the target load execution action information. It can be seen that the execution of the action indicated by the target load execution action information depends on the occurrence of the target trigger event, and may not depend on the displacement point corresponding to the moving route. Therefore, in this way, the current load execution task can be separated from the displacement point corresponding to the moving route, which is beneficial to expand the application range of the mobile platform.
  • the target load execution action information includes a target load type and a target execution action type.
  • the target load type is the camera 110;
  • the target trigger event is when the mobile platform 110 moves between the displacement point A and the displacement point B,
  • An interval of time t triggers the execution of the corresponding target load execution action information
  • the target load type is the camera 110, and the target execution action corresponding to the target load type is photographing.
  • a timer can be started for timing. Every time t, it can be checked whether the current position of the mobile platform is between the displacement point A and the displacement point B. In the meantime, if it is, it can be determined that the target trigger time occurs, and then the camera device 110 is determined as the target load, and the camera device 110 is controlled to take pictures.
  • the mobile platform 11 in Figure 1b is only an example.
  • the mobile platform shown in Figure 1b can also be other mobile devices, and can also be mounted on competitive robots, drones, and unmanned vehicles.
  • the present invention does not limit this.
  • FIG. 2 is a schematic flowchart of a load control method provided by an embodiment of the present invention.
  • the method in the embodiment of the present invention may be executed by a mobile platform on which multiple loads are mounted.
  • the mobile platform may obtain the current load execution task of the mobile platform in S201, and the current load execution task includes at least one load execution information, and the load execution information represents a trigger event and a load execution action. Correspondence between information.
  • the above-mentioned load execution information is configured based on the expected load execution task of the mobile platform.
  • the expected load execution task is a load execution task that needs to be executed when the mobile platform moves along the planned route in advance.
  • the expected load execution task is used to instruct the mobile platform to spray while moving along the planned route, then the load execution information can be configured based on controlling the spraying device to spray.
  • the expected load execution task is used to instruct the mobile platform to perform inspections while moving along the planned route, and the load execution information can be configured based on controlling the camera device to shoot.
  • a preset identifier for indicating the load execution action may be added to each load execution information, and the preset identifier corresponding to each load execution information is different.
  • each preset identifier can uniquely identify the load execution information, that is, each preset identifier can uniquely identify the load execution action corresponding to the load execution information, and the mobile platform passes Recognizing the preset identifier can accurately distinguish the execution actions of each load, which is beneficial to improve the effectiveness of load control.
  • the mobile platform can store multiple load execution information that have been configured into a preset storage device. Before the mobile platform starts to move along the planned route, it can select at least one load execution information from the multiple load execution information to generate the current The load performs the task, and then obtains the current load to perform the task.
  • the acquisition time of the current load execution task may be before the mobile platform starts to move, or when the mobile platform starts to move, or may be determined based on a preset acquisition rule.
  • the preset acquisition rule may be, for example, s (s greater than 0) seconds after the mobile platform moves. In this case, the acquisition time is s seconds after the mobile platform moves.
  • the acquisition time of the current load execution task can also be determined in other ways, which is not specifically limited in the present invention.
  • one piece of load execution information includes at least one trigger event and at least one piece of load execution action information.
  • the execution of the load action depends on the displacement points in the moving route of the mobile platform, and complex actions cannot be performed, which severely limits the flexibility and scalability of the execution of the load action, thereby severely limiting the application range of the mobile platform.
  • one load execution information may include at least one trigger event and at least one load execution action information.
  • each load execution information is based on the corresponding trigger event and the load corresponding to the trigger event. The execution action information is determined. The length of each load execution information is not fixed.
  • the target load is As for the target action that needs to be executed under a specific event, even if the target action is more complicated, it can be divided and described according to the trigger event and the load execution action information. Therefore, the load execution information adopts the above-mentioned setting method, which can effectively increase the flexibility and scalability of the load execution information, thereby increasing the application range of the mobile platform.
  • one load execution action information corresponds to one or more trigger events.
  • the relationship represented by each load execution information may be as shown in Table 1-1.
  • the trigger event in each load execution information includes a trigger type and a trigger parameter corresponding to the trigger type.
  • the description of the trigger event can be referred to Table 1-2.
  • the load execution action information in each load execution information includes the load type and/or the communication port of the third-party load, the execution action type corresponding to the load type and/or the communication port, and the execution action parameter corresponding to the execution action type.
  • the load mounted on the mobile platform may be the load originally configured on the mobile platform, or it may be a third-party load that is not originally configured on the mobile platform, and the mobile platform reserves a communication port corresponding to the third-party load.
  • the mobile platform can exchange data with the third-party load through the communication port.
  • the load execution action information corresponding to the load of the mobile platform may be as shown in Table 1-3, for example.
  • the load may include, for example, a camera, a pan-tilt, and spraying. It can be seen that the load execution action information shown in Table 1-3 includes the load type, the execution action type corresponding to the load type, and the execution action parameter corresponding to the execution action type.
  • the load execution action information corresponding to the third-party load of the mobile platform may be as shown in Table 1-4.
  • the third-party load may be, for example, infrared detectors, searchlights, and other equipment that can be adapted to the mobile platform.
  • the load execution action information shown in Table 1-4 includes the load type and the communication port of the third-party load, the execution action type corresponding to the load type, and the execution action parameters corresponding to the execution action type.
  • the mobile platform of the present invention adds support for third-party loads. Since there are various application scenarios for mobile platforms (such as infrared detection, inspection, etc.), different application scenarios may have many different loads. Therefore, increasing support for third-party loads is conducive to further expanding the application range of mobile platforms .
  • the load execution information described in the present invention can target actions that the target load needs to execute under a specific event, according to the trigger event and the way the load executes the action information Splitting description can effectively increase the flexibility and scalability of load execution information, thereby increasing the application scope of the mobile platform.
  • the trigger parameter in a trigger type, includes one or more, and the trigger parameter is determined according to the trigger type.
  • the mobile platform is a drone, please refer to Table 1-5, which lists common trigger types and trigger parameters corresponding to each trigger type.
  • the execution action type in a load type, includes one or more, and the execution action parameter corresponding to the execution action type includes one or more.
  • the execution action parameter is determined according to the execution action type.
  • the above-mentioned execution action types may include multiple, and the execution order between at least two of the multiple execution action types is related.
  • a load type includes two execution action types, which are the first execution action type and the second action execution type, respectively.
  • the association relationship of the execution order between the first execution action type and the second execution action type may include the following: the first execution action type and the second execution action type are executed simultaneously; after the execution of the first execution action type ends, the first execution action type is executed. The execution of the second execution action type starts; after the execution of the second execution action type ends, the first execution action type starts execution.
  • the foregoing current load execution task is formed by at least one load execution information selected from a plurality of load execution information.
  • the preset identifier can uniquely identify the load execution action in a load execution task, the preset identifier corresponding to each load execution information is different, and the current load execution task may be based on the preset identifier. Multiple loads execute the selection operation in the information.
  • the preset storage device stores n (n is an integer greater than 1) load execution information, which are load execution information 1, load execution information 2, load execution information 3, load execution load execution information n.
  • the preset identification corresponding to the load execution information 1 is ID1
  • the preset identification corresponding to the load execution information 2 is ID2
  • the preset identification corresponding to the load execution information 3 is ID3.
  • the load execution information n corresponds to The preset identifier is IDn.
  • the mobile platform can obtain load execution information 1, load execution information 2 and load execution information 3 from n load execution information according to the selection operation, and based on the load execution information 1, load execution information 2 And load execution information 3 generate the current load execution task (that is, the current load execution task).
  • the foregoing current load execution task may also be obtained from the foregoing multiple load execution information based on the task requirements input by the user.
  • the user before the mobile platform starts to move, the user can input his own task requirements for the load execution task.
  • the mobile platform can determine at least one piece of load execution information that matches the task requirement from the foregoing multiple load execution information based on the task requirement, and assemble the determined at least one piece of load execution information together to obtain The current load execution tasks that the mobile platform needs to perform during this movement.
  • the mobile platform can determine the load execution information corresponding to the inspection actions (such as taking pictures, videos, etc.) as corresponding to the inspection Load execution information for task matching.
  • the plurality of load execution information stored in the foregoing preset storage device may be updated based on a designated operation instruction.
  • the designated operation instruction includes at least one of the following: deleting the first load execution information in the plurality of load execution information, replacing the second load execution information in the plurality of load execution information, and modifying the load execution information in the plurality of load execution information.
  • the third load execution information and the fourth load execution information are added to the multiple load execution information. In this way, it is possible to update the load execution information in the preset storage device, and increase the flexibility of load execution information storage.
  • the mobile platform can control the target load to execute the action indicated by the target load execution action information corresponding to the target trigger event when it detects that the target trigger event in the target load execution information occurs in step S202.
  • the target load is determined from multiple loads based on target load execution action information, and the target load execution information is any one of at least one load execution information.
  • the mobile platform may obtain its own movement route planning information, and in the process of controlling the movement of the mobile platform according to the movement route planning information, it is detected Whether the target trigger event occurs.
  • the movement route planning information includes multiple displacement points, and the target trigger event can be unrelated to the multiple displacement points.
  • the target trigger event includes a target trigger type and target trigger parameters corresponding to the target trigger type.
  • the target trigger type that is not associated with the displacement point may include timing trigger or designated area trigger, etc., where the specific meaning of the timing trigger or designated area trigger can be referred to the relevant description in Table 1-5 above. Repeat.
  • the trigger event in each load execution information includes a trigger type and a trigger parameter corresponding to the trigger type.
  • the trigger parameter includes one or more, and the trigger parameter is determined according to the trigger type.
  • the mobile platform can determine the corresponding detection parameters according to the above-mentioned trigger types, and according to the detection parameters and the trigger parameters, detect whether the trigger event corresponding to the load execution information in the current load execution task occurs.
  • the mobile platform may poll each load execution information in the current load execution task according to a predetermined frequency, and when any load execution information is polled,
  • the corresponding detection parameter can be determined according to the trigger type in the any load execution information, and according to the detection parameter and the trigger parameter, it is detected whether the trigger event corresponding to the any load execution information occurs.
  • the mobile platform detects the occurrence of a trigger event corresponding to any load execution information, it can determine any load execution information as target load execution information, and determine the trigger event corresponding to any load execution information as the target A trigger event, the load execution action information corresponding to any load execution information is determined as the target load execution action information, and then the target load is controlled to execute the action indicated by the target load execution action information corresponding to the target trigger event.
  • the detection parameters include at least one of time parameters, location parameters of the mobile platform, working state parameters of the mobile platform, and environmental parameters of the environment where the mobile platform is located.
  • the detection parameter is associated with the trigger type. For example, if the trigger type is a designated area trigger, and the trigger parameters corresponding to the designated area trigger are longitude ll, latitude l2, height h, and radius r, then the detection parameters corresponding to the trigger type may include the position parameters of the mobile platform and the mobile platform Working parameters.
  • the position parameter may include the longitude, latitude, and height of the current position of the mobile platform, and the distance from the point (l1, 12, h), and the working parameter is used to indicate whether the mobile platform is working normally.
  • the mobile platform is a drone, and load execution information 1 represents the corresponding relationship between trigger event 1 and load execution action information 1.
  • the trigger type included in trigger event 1 is timing trigger, and the trigger event 1 corresponds to the trigger It is described as when the UAV flies between the waypoint index1 and index2 to trigger the execution of the corresponding load execution action information at every time t.
  • the trigger parameters of this timing trigger are the waypoint index index1 and index2 and the time interval t.
  • the mobile platform polls the load execution information in the current load execution task according to a predetermined frequency. When the load execution information 1 is polled, it can be based on the load.
  • the trigger event in the execution information 1 determines that the trigger type is a timing trigger type, and the trigger parameters corresponding to the timing trigger type are waypoint index index1, index2 and time interval t, then the position parameters of the mobile platform and the work of the mobile platform can be obtained State parameters and time parameters (that is, the detection parameters corresponding to the timing trigger), based on the working state to determine whether the mobile platform is working normally, if so, compare the position parameters with the trigger parameters to determine whether the mobile platform is currently at waypoint index1 and Index2, and start the timer, every time t, check again whether the mobile platform is currently between index1 and index2. If it is, it is determined that the trigger event 1 corresponding to load execution information 1 occurs. At this time, you can The load execution information 1 is determined as the target load execution information.
  • the target load execution action information since the target load execution information represents the corresponding relationship between the target trigger event and the target load execution action information, the target load execution action information further includes the load type and/or the target communication port.
  • the mobile platform detects that the target trigger event in the target load execution information occurs, it can determine the target load type and/or target communication port in the target load execution action information corresponding to the target trigger event, and combine multiple The load corresponding to the target load type and/or the load corresponding to the target communication port is determined as the target load.
  • multiple loads pre-mounted on the mobile platform include cameras, pan-tilts, and spraying devices.
  • the target execution action information includes the load type as the pan-tilt, and the execution action type corresponding to the load type is Pitch 1, rotate the pitch angle ⁇ degrees on the current basis.
  • the mobile platform can first determine the target load execution action information based on the correspondence between the target trigger event in the target load execution information and the target load execution action information
  • the target load type in is PTZ.
  • the mobile platform can determine the pan/tilt as the target load from the pre-mounted cameras, pan/tilt, and spraying device, and then control the pan/tilt to rotate the pitch angle ⁇ degrees on the current basis, that is, control the target load to execute the target The load performs the action indicated by the action information.
  • the target load execution action information can be sent to the third-party load through the communication port of the third-party load, so as to control the third-party load to execute the target trigger
  • the target load corresponding to the event executes the action indicated by the action information.
  • the mobile platform can obtain the current load execution task including at least one load execution information, and the load execution information represents the corresponding relationship between the trigger event and the load execution action information. Further, when the target trigger event in the target load execution information occurs, the target load can be controlled to execute the action indicated by the target load execution action information corresponding to the target trigger event. With the embodiment of the present invention, the execution of the action indicated by the target load execution action information depends on the occurrence of the target trigger event, and may not depend on the displacement point corresponding to the moving route of the mobile platform. In this way, the current load execution task can be separated from the displacement point corresponding to the moving route, which is beneficial to expand the application range of the mobile platform.
  • FIG. 3 is a schematic flowchart of another load control method provided by an embodiment of the present invention.
  • the method in the embodiment of the present invention may be executed by a mobile platform that carries multiple loads.
  • the mobile platform may obtain the current load execution task of the mobile platform in S301, the current load execution task includes at least one load execution information, and the load execution information represents a trigger event and a load execution action Correspondence between information.
  • the load execution information represents a trigger event and a load execution action Correspondence between information.
  • the load execution information in the current load execution task may be arranged according to the execution order of the actions indicated by the load execution information.
  • the current load execution task includes load execution information 1, load execution information 2 and load execution information 3.
  • the execution order of the actions indicated by these three load execution information are: load execution information 2, load execution information 1, and load Execution information 3, then the above three load execution information can be sorted in the order of load execution information 2, load execution information 1, and load execution information 3 in the current load task according to the execution order of the action.
  • the action indicated by each load execution information in the current load execution task is executed at least once, and the load execution information in the current load execution task is arranged according to the first execution order of the actions indicated by the load execution information.
  • the actions indicated by each load execution information in the current load execution task are executed at least once, and the order of the load execution information in the current load execution task is the same as the first execution order of the actions indicated by the load execution information. For example, suppose that the current load execution task includes only load execution information 1, load execution information 2 and load execution information 3. The actions indicated by each load execution information in these 3 load execution information are executed at least once, and these 3 load execution information The first execution sequence of the indicated actions are: load execution information 2, load execution information 1, and load execution information 3.
  • the order of the various load execution information in the current load execution task is the same as the first execution order, which is still: load execution information 2, load execution information 1, and load execution information 3.
  • the mobile platform can continuously detect load execution information 2, load execution information 1, and load execution information 3, and then execute the actions indicated by load execution information 2, load execution information 1 and load execution information 3 in a loop.
  • the action indicated by each load execution information in the current load execution task is executed once, assuming that the current load execution task includes m1 (m1 is an integer greater than 2) * m2 (m2 is an integer greater than 1)
  • Load execution information the current load execution task is formed by repeatedly assembling m2 different load execution information m1 times.
  • m1 is 2 and m2 is 3
  • the m1*m2 load execution information included in the current load execution task may be as shown in Table 2-1. It can be seen from Table 2-1 that the current load execution task is formed by repeated assembly of load execution information 1, load execution information 2 and load execution information 3 twice.
  • the m1*m2 load execution information in the current load execution task can follow the actions indicated by each load execution information in the m2 load execution information The order of execution is sorted. In this way, when the mobile platform executes the current load execution task, the m2 pieces of load execution information can be sequentially detected m1 times, and then the actions indicated by the respective load execution information are repeatedly executed m1 times.
  • the current load execution task is shown in Table 2-1.
  • the current load execution task is formed by repeated assembly of load execution information 1, load execution information 2 and load execution information 3 twice.
  • the execution sequence of the actions indicated by the three load execution information are: load execution information 2, load execution information 1, and load execution information 3.
  • the mobile platform can use the execution order of the actions indicated by the load execution information 1, the load execution information 2 and the load execution information 3 as the sorting reference, and the load execution information 1, the load execution information 2 and the load execution information 3. Perform cyclic sorting.
  • the current load execution tasks after sorting can be seen in Table 2-1. .
  • the mobile platform executes the current load execution tasks as shown in Table 2-1, after the load execution information 1, load execution information 2 and load execution information 3 are detected for the first time, the load execution information 1 can be repeatedly detected again. Load execution information 2 and load execution information 3.
  • the mobile platform After the mobile platform obtains the current load execution task, it can detect whether the trigger event corresponding to the load execution information in the current load execution task occurs in S302 according to the preset order rule.
  • the preset order and the rule are pre-configured.
  • the preset sequence rule may be associated with the sequence of the various load execution information in the current load execution task.
  • the detection order of the load execution information indicated by the preset order rule may be the same as the arrangement order.
  • the current load execution task includes load execution information 1, load execution information 2 and load execution information 3.
  • the above three load execution information are divided into load execution information 2, load execution information 1 and load execution information 3.
  • the sort order is sorted.
  • the mobile platform can generate a preset order rule based on the arrangement order, and the detection order of each load execution information indicated by the preset order rule is still: load execution information 2, load execution information 1, and load execution information 3. .
  • the mobile platform may also divide the load execution information in the current load execution task based on a preset division principle to obtain at least one load execution information set, and each load execution information set includes at least one load execution information. Further, it is possible to detect whether a trigger event corresponding to the load execution information in the target load execution information set in the at least one load execution information set occurs according to the aforementioned preset order rule.
  • the load execution information in the current load execution task may be divided based on the correspondence between the displacement points in the moving route of the mobile platform and the load execution information to obtain at least one load execution information set.
  • different load execution information sets correspond to load execution information between different displacement points.
  • one displacement point may correspond to at least one load execution information.
  • the mobile platform divides the load execution information in the current load execution task, it may divide at least one load execution information corresponding to the same displacement point into the same load. The execution set, and then at least one load execution information set is obtained.
  • the mobile platform may determine the detection order of each load execution information set in the at least one load execution information set according to the movement sequence of each displacement point in the movement route.
  • displacement point A corresponds to load execution information set 01
  • displacement point B corresponds to load execution information set 02.
  • the load execution information set 01 is determined as the target load execution information set, and whether a trigger event corresponding to the load execution information in the load execution information set 01 occurs is detected.
  • the load execution information set 02 is determined as the target load execution information set, and it is detected whether a trigger event corresponding to the load execution information in the load execution information set 02 occurs.
  • the mobile platform may divide the load execution information in the current load execution task according to the time sequence of the actions indicated by the load execution information and the corresponding relationship between the load execution information to obtain at least one load execution information set.
  • different load execution information sets correspond to load execution information in different occurrence time sequences.
  • the occurrence time may be a time period
  • at least one piece of load execution information may be corresponding to the same time period
  • Table 2-2 Exemplarily, suppose the corresponding relationship between the occurrence time sequence of the actions indicated by the load execution information and the load execution information is shown in Table 2-2.
  • the load Divide execution information 1 and load execution information 2 into the first load execution information set, divide load execution information 3, load execution information 4, and load execution information 5 into the second load execution information set, and divide load execution information 6 and load execution information 7 is divided into the third load execution information set, and the load execution information 8 and the load execution information 9 are divided into the fourth load execution information set.
  • the mobile platform may also determine the detection sequence of each load execution information set in the at least one load execution information set according to the aforementioned time sequence of occurrence. Taking the first load execution information set, the second load execution information set, the third load execution information set, and the fourth load execution information set divided based on the corresponding relationship represented by Table 2-2 as an example, it can be based on The time sequence of occurrence shown in Table 2-2 determines the detection sequence of the four load execution information sets as: a load execution information set, a second load execution information set, a third load execution information set, and a fourth load execution information set. In this case, when the mobile platform starts to move, a timer can be started for timing.
  • the first load execution information set can be determined as the target load execution information set, and the first load can be detected Whether the trigger event corresponding to the load execution information in the execution information set occurs.
  • the duration corresponding to the timer is greater than 10 minutes and less than 20 minutes
  • the second load execution information set is determined as the target load execution information set, and whether a trigger event corresponding to the load execution information in the second load execution information set occurs is detected.
  • the subsequent third load execution information set and the fourth load execution information set can be deduced by analogy, which will not be repeated here.
  • step S303 After the mobile platform detects whether the trigger event corresponding to the load execution information in the current load execution task occurs according to the preset order rule, when the target trigger event in the target load execution information is detected in step S303, it can control the target load execution
  • the target load corresponding to the target trigger event performs the action indicated by the action information.
  • the action 1 indicated by the load execution information 1 is to control the camera to take pictures
  • the action 2 indicated by the load execution information 2 is to control the camera to take pictures.
  • the execution order of the two actions is different.
  • Action 1 is executed before Action 2.
  • the camera that executes Action 1 and Action 2 can be the same camera or two different cameras. In this case, when the mobile platform detects that the trigger event corresponding to load execution information 1 occurs, it can control the camera to take pictures. Further, when the mobile platform detects that the trigger event corresponding to the load execution information 2 occurs, it can control the camera to take pictures again.
  • the mobile platform can obtain the current load execution task including at least one load execution information, and the load execution information represents the corresponding relationship between the trigger event and the load execution action information. Further, according to the preset sequence rules, it is detected whether the trigger event corresponding to the load execution information in the current load execution task occurs. When the target trigger event in the target load execution information occurs, the target load can be controlled to execute the target corresponding to the target trigger event. The load performs the action indicated by the action information.
  • FIG. 4 is a schematic flowchart of another load control method provided by an embodiment of the present invention.
  • the method in the embodiment of the present invention may be executed by a mobile platform that has multiple loads mounted on the mobile platform.
  • the mobile platform may obtain the current load execution task of the mobile platform in S401.
  • the current load execution task at least two load execution information corresponding to the load execution action information indicate The execution time of the action is associated.
  • the mobile platform After acquiring the current load execution task, the mobile platform can control the target load to execute the action indicated by the target load execution action information corresponding to the target trigger event when it detects that the target trigger event in the target load execution information occurs.
  • the execution time of the action indicated by the target load execution information and the execution time of the action indicated by the other load execution information may exist among the first, second, third, and fourth associations. at least one.
  • the first association relationship is used to indicate that the action indicated by the target load execution information can be started when the action indicated by other load execution information starts to be executed
  • the second association relationship is used to indicate the action indicated by other load execution information When the execution ends, only the action indicated by the target load execution information can start execution
  • the third association is used to indicate that when the action indicated by other load execution information starts to execute, the execution of the action indicated by the target load execution information can end
  • the four-association relationship is used to indicate that when the action indicated by other load execution information ends, the execution of the action indicated by the target load execution information can end.
  • the mobile platform when the mobile platform detects that the target trigger event in the target load execution information occurs, it can detect the execution time of the action indicated by the target load execution information and the execution time of the action indicated by other load execution information. Whether there is a first association relationship or a second association relationship between. Further, if the mobile platform detects that there is a first correlation between the execution time of the action indicated by the target load execution information and the execution time of the action indicated by other load execution information, it can detect the execution time indicated by the other load execution information Whether the action starts to be executed, and if so, execute the step of controlling the target load to execute the action indicated by the action information by the target load corresponding to the target trigger event. If not, wait until the action indicated by the other load execution information starts to execute, and then execute the step of controlling the target load to execute the action indicated by the target load execution action information corresponding to the target trigger event.
  • the mobile platform detects that there is a second correlation between the execution time of the action indicated by the target load execution information and the execution time of the action indicated by other load execution information, it can detect the action indicated by the other load execution information Whether to end the execution, and if the execution has ended, execute the step of controlling the target load to execute the action indicated by the target load corresponding to the target trigger event. If the execution is not finished, wait until the action indicated by the other load execution information ends execution, and then execute the step of controlling the target load to execute the target load corresponding to the target trigger event to execute the action indicated by the action information.
  • the mobile platform after the mobile platform controls the target load to execute the action indicated by the target load corresponding to the target trigger event, it can detect the execution time of the action indicated by the target load execution information and the execution time indicated by other load execution information. Whether there is a third relationship or a fourth relationship between the execution times of the actions. If the mobile platform detects that there is a third correlation between the execution time of the action indicated by the target load execution information and the execution time of the action indicated by other load execution information, it can detect whether the action indicated by the other load execution information has started Execution, if the execution has started, the control target load is ended to execute the action indicated by the target load execution action information corresponding to the target trigger event. If the execution has not started, wait until the action indicated by the other load execution information starts to execute, and then stop controlling the target load to execute the action indicated by the target load corresponding to the target trigger event.
  • the mobile platform detects that there is a fourth correlation between the execution time of the action indicated by the target load execution information and the execution time of the action indicated by other load execution information, it can detect the action indicated by the other load execution information Whether to end the execution, if the execution has ended, the control target load will end to execute the action indicated by the target load execution action information corresponding to the target trigger event. If the execution has not ended, wait until the action indicated by the other load execution information ends execution, and then end the control target load to execute the action indicated by the target load corresponding to the target trigger event.
  • the load execution information 2 After the execution of the action indicated by the load execution information 1 ends, the load execution information 2 The indicated action can be executed.
  • the action indicated by the load execution information 1 is to control the tilt angle of the pan/tilt to rotate by ⁇ degrees, and the action indicated by the load execution information 2 is to control the camera to take pictures.
  • the mobile platform when the mobile platform detects that the trigger event of load execution information 2 occurs, it detects that the action execution time indicated by load execution information 2 and the action execution time indicated by load execution information 1 have the above-mentioned correlation, then It is detected whether the pitch angle of the control pan/tilt has been rotated by ⁇ degrees, and if so, it can be determined that the action indicated by the load execution information 1 has been executed. Further, the mobile platform may determine the camera as the target load based on the load execution information 1 and control the camera to take pictures.
  • the mobile platform may obtain the current load execution task including at least one load execution information.
  • the execution time of the action indicated by the load execution action information corresponding to the at least two load execution information is related United.
  • the target load can be controlled to execute the action indicated by the target load execution action information corresponding to the target trigger event.
  • the embodiment of the present invention increases the correlation between the execution time of the action indicated by the load execution action information.
  • the correlation execution of multiple actions can be automatically realized without user operation, which is beneficial to improve the intelligence of load control.
  • it can also increase the complexity of the mobile platform to control the target load to perform corresponding actions, which is beneficial to further expand the application range of the mobile platform.
  • FIG. 5 is a schematic flowchart of yet another load control method provided by an embodiment of the present invention.
  • the method in the embodiment of the present invention may be executed by a mobile platform with multiple loads mounted on the mobile platform.
  • the current load execution task including at least one load execution information may be acquired in S501.
  • step S501 reference may be made to the related description in step S201 in the foregoing embodiment, and details are not repeated here.
  • the mobile platform After the mobile platform obtains the current load execution task, it can detect whether the current load execution task is abnormal in S502. If there is no abnormality, when the target trigger event in the target load execution information occurs in S503, the target load is determined from multiple loads based on the target load execution action information corresponding to the target trigger event, and the target load is controlled to execute the target trigger event The corresponding target load performs the action indicated by the action information. If it is abnormal, execute the corresponding preset strategy according to the abnormal result. Wherein, in one embodiment, the preset strategy may be to output the abnormal result, so that the developer can handle the abnormal result in time after viewing the abnormal result. In another embodiment, the preset strategy may further include outputting abnormal prompt information, and the abnormal prompt information is used to prompt the user that the current load execution task is abnormal.
  • the current load execution task includes at least one load execution information.
  • the mobile platform can detect whether the load execution information in the current load execution task is abnormal, and if any load execution information is abnormal, it can determine that the current load execution task is abnormal.
  • the method of determining the abnormality of the load execution information includes at least one of the following: abnormal content of the load execution information, abnormal data format of the load execution information, incomplete load execution information, invalid load corresponding to the load execution information, and corresponding load execution information
  • the preset ID of is not unique.
  • the load execution information is incomplete, which may refer to the lack of load execution information, for example, the lack of a certain field (such as a preset identifier) in the load execution information, the lack of a certain trigger parameter, and so on.
  • the preset identifier corresponding to the load execution information is not unique, and may mean that there are multiple repeated preset identifiers in the current load execution task. For example, the preset identifier corresponding to load execution information 1 is the same as the preset identifier corresponding to load execution information 2.
  • the load corresponding to the load execution information is invalid, which may mean that the load corresponding to the load execution information is not mounted on the mobile platform or has no communication connection with the mobile platform.
  • the target load corresponding to the load execution information is a third-party load connected by the mobile platform through a communication port, the load corresponding to the load execution information is invalid, which can also mean that the communication port is abnormal (for example, the communication port fails) .
  • the method for determining abnormality of load execution information may further include at least one of the following: abnormal trigger type in load execution information, abnormal trigger parameter in load execution information, abnormal load type in load execution information , The execution action type in the load execution information is abnormal and the execution action parameter in the load execution information is abnormal.
  • the multiple loads mounted on the mobile platform include at least two loads of the same type.
  • the multiple loads mounted on the mobile platform may include two cameras.
  • trigger events corresponding to at least two load execution information are the same.
  • the trigger event corresponding to load execution information 1 is arrival at waypoint A
  • the load type corresponding to the load execution action information in the load execution information 1 is PTZ
  • the action indicated by the load execution action information is pitching based on the current basis.
  • Angle ⁇ degrees the trigger event corresponding to the load execution information 2 is also the arrival at waypoint A
  • the load type corresponding to the load execution action information in the load execution information 2 is a camera
  • the action indicated by the load execution action information is a photo.
  • the mobile platform detects that it has reached waypoint A, it can be determined that the trigger events corresponding to load execution information 1 and load execution information 2 have occurred, and the pan/tilt and camera are determined as the target load, and then the cloud is controlled
  • the station rotates the pitch angle ⁇ degrees on the current basis and controls the camera to take pictures.
  • the load execution action information corresponding to the at least two load execution information is the same.
  • the load execution action information corresponding to the at least two load execution information is the same, but the trigger events of the at least two load execution information are different.
  • the trigger event corresponding to the load execution information 1 is entering the designated area P1
  • the load type corresponding to the load execution action information 1 in the load execution information 1 is a camera
  • the action indicated by the load execution action information is a photo
  • load execution information 2 The corresponding trigger event is entering the designated area P2
  • the load execution action information in the load execution information 2 is the same as the load execution action information 1 described above.
  • the mobile platform enters the designated area P1 it can control the camera to take pictures, and when it enters the designated area P2, it can control the camera to take pictures again.
  • the mobile platform can detect whether the current load execution task is abnormal. If there is no abnormality, when the target trigger event in the target load execution information occurs, the target load execution action information corresponding to the target trigger event is obtained from multiple loads. Determine the target load and control the target load to perform the action indicated by the target load corresponding to the target trigger event. With the embodiment of the present invention, the abnormal detection of the current load execution task is increased, and the accuracy of the load control is ensured.
  • the embodiment of the present invention also provides a load control device as shown in FIG. 6.
  • the control device may be configured on but not limited to a mobile platform with multiple loads mounted on the mobile platform, and the control device includes:
  • the acquiring module 60 is configured to acquire the current load execution task of the mobile platform, the current load execution task includes at least one load execution information, and the load execution information represents the corresponding relationship between the trigger event and the load execution action information;
  • the processing module 61 is configured to, when the target trigger event in the target load execution information occurs, control the target load to execute the action indicated by the target load execution action information corresponding to the target trigger event;
  • the target load is determined from a plurality of loads based on the target load execution action information, and the target load execution information is any one of at least one of the load execution information.
  • the acquisition module 60 is further used to acquire the mobile platform planning information of the mobile platform; the processing module 61 is also used to control the movement of the mobile platform according to the mobile platform planning information. In the process, it is detected whether the target trigger event occurs.
  • the movement route planning information includes a plurality of displacement points, and the target trigger event can be unrelated to the plurality of displacement points.
  • the load execution information is configured based on expected load execution tasks of the mobile platform.
  • a plurality of load execution information is stored in the preset storage device, and the current load execution task is formed by at least one load execution information selected from the plurality of load execution information.
  • each of the load execution information has a preset identifier for indicating a load execution action, and each of the load execution information corresponds to a different preset identifier.
  • the current load execution task is obtained based on a selection operation of the preset identifier in the plurality of load execution information.
  • the plurality of load execution information stored in the preset storage device is updated based on a specified operation instruction.
  • the specified operation instruction includes at least one of the following: deleting the first load execution information in the plurality of load execution information, and replacing the second load execution information in the plurality of load execution information , Modify the third load execution information in the plurality of load execution information, and add the fourth load execution information to the plurality of load execution information.
  • one piece of load execution information includes at least one of the trigger events and at least one piece of load execution action information; wherein, one piece of the load execution action information corresponds to one or more of the trigger events.
  • the trigger event includes a trigger type and a trigger parameter corresponding to the trigger type.
  • the trigger parameters include one or more; the trigger parameters are determined according to the trigger type.
  • the processing module 61 is further configured to determine corresponding detection parameters according to the trigger type; according to the detection parameters and the trigger parameters, detect that the load execution information in the current load execution task corresponds to Whether the trigger event of the event occurs.
  • the detection parameters include at least one of time parameters, location parameters of the mobile platform, working state parameters of the mobile platform, and environmental parameters of the environment where the mobile platform is located.
  • the load execution action information includes the load type and/or the communication port of the third-party load, the load type and/or the execution action type corresponding to the communication port, and the execution corresponding to the execution action type Action parameters.
  • the execution action type includes one or more, and the execution action parameter corresponding to the execution action type includes one or more; the execution action parameter is based on the execution action type determine.
  • the execution action type includes multiple, and the execution order between at least two of the multiple execution action types is associated.
  • the processing module is further configured to determine the target load type and/or the target communication port in the target load execution action information corresponding to the target trigger event; The load type and/or the load corresponding to the target communication port is determined as the target load.
  • At least two trigger events corresponding to the load execution information are the same.
  • load execution action information corresponding to at least two pieces of load execution information is the same.
  • At least two execution times of the actions indicated by the load execution action information corresponding to the load execution information are associated.
  • the plurality of loads includes at least two loads of the same type.
  • the load execution information in the current load execution task is arranged according to the execution order of the actions indicated by the load execution information.
  • the action indicated by each load execution information in the current load execution task is executed at least once; the load execution information in the current load execution task is the first time according to the action indicated by the load execution information The order of execution.
  • the processing module 61 is further configured to detect whether a trigger event corresponding to the load execution information in the current load execution task occurs according to a preset order rule.
  • the processing module 61 is further configured to divide the load execution information in the current load execution task based on a preset division principle to obtain at least one load execution information set, and each load execution The information set includes at least one piece of the load execution information; the processing module 61 is specifically configured to detect a trigger corresponding to the load execution information in the target load execution information set in the at least one load execution information set according to the preset order rule Whether the event occurred.
  • the processing module 61 is further specifically configured to perform load execution information in the current load execution task based on the correspondence between the displacement points in the moving route of the mobile platform and the load execution information Divide to obtain at least one load execution information set.
  • different load execution information sets correspond to load execution information between different displacement points.
  • the processing module 61 is further configured to determine the detection sequence of each load execution information set in the at least one load execution information set according to the movement sequence of each displacement point in the movement route.
  • the processing module 61 is further specifically configured to perform the load in the current load according to the time sequence of the actions indicated by the load execution information and the corresponding relationship between the load execution information.
  • the execution information is divided to obtain at least one load execution information set.
  • different load execution information sets correspond to load execution information in different occurrence time sequences.
  • the processing module 61 is further configured to determine the detection sequence of each load execution information set in the at least one load execution information set according to the time sequence of occurrence.
  • the processing module 61 is also used to detect whether the current load execution task is abnormal; if there is no abnormality, execute the target trigger event in the target load execution information based on the target
  • the target load execution action information corresponding to the trigger event determines the step of the target load from the plurality of loads; if it is abnormal, the corresponding preset strategy is executed according to the abnormal result.
  • the processing module 61 is further specifically configured to detect whether the load execution information in the current load execution task is abnormal.
  • the method for determining that the load execution information is abnormal includes at least one of the following: the content of the load execution information is abnormal, the data format of the load execution information is abnormal, the load execution information is incomplete, The load corresponding to the load execution information is invalid, and the preset identifier corresponding to the load execution information is not unique.
  • FIG. 7 is a schematic block diagram of the structure of a load control device according to an embodiment of the present invention.
  • the control device may be configured on but not limited to a mobile platform, the mobile platform is mounted with multiple loads, the control device may include a processor 70, a communication interface 71 and a memory 72, the processor 70, the communication interface 71 It is connected to a memory 72 through a bus, and the memory 72 is used to store program instructions and load execution tasks.
  • the memory 72 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 72 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), solid-state drive (SSD), etc.; the memory 72 may also be a double-rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR); the memory 72 may also include a combination of the foregoing types of memories.
  • volatile memory volatile memory
  • non-volatile memory such as a flash memory (flash memory), solid-state drive (SSD), etc.
  • flash memory flash memory
  • SSD solid-state drive
  • DDR double-rate synchronous dynamic random access memory
  • the memory 72 is used to store a computer program
  • the computer program includes program instructions
  • the processor 70 is configured to execute when the program instructions are called: obtain the current load execution of the mobile platform Task, the current load execution task includes at least one load execution information, and the load execution information represents the corresponding relationship between the trigger event and the load execution action information; when the target trigger event in the target load execution information occurs, the target load is controlled Execute the action indicated by the target load execution action information corresponding to the target trigger event; wherein the target load is determined from a plurality of loads based on the target load execution action information, and the target load execution information is at least Any one of the load execution information.
  • the processor 70 is further configured to obtain the mobile platform planning information of the mobile platform; the processor 70 is further configured to control the movement of the mobile platform according to the mobile platform planning information. In the process, it is detected whether the target trigger event occurs.
  • the movement route planning information includes a plurality of displacement points, and the target trigger event can be unrelated to the plurality of displacement points.
  • the load execution information is configured based on expected load execution tasks of the mobile platform.
  • a plurality of load execution information is stored in the preset storage device, and the current load execution task is formed by at least one load execution information selected from the plurality of load execution information.
  • each of the load execution information has a preset identifier for indicating a load execution action, and each of the load execution information corresponds to a different preset identifier.
  • the current load execution task is obtained based on a selection operation of the preset identifier in the plurality of load execution information.
  • the plurality of load execution information stored in the preset storage device is updated based on a specified operation instruction.
  • the specified operation instruction includes at least one of the following: deleting the first load execution information in the plurality of load execution information, and replacing the second load execution information in the plurality of load execution information , Modify the third load execution information in the plurality of load execution information, and add the fourth load execution information to the plurality of load execution information.
  • one piece of load execution information includes at least one of the trigger events and at least one piece of load execution action information; wherein, one piece of the load execution action information corresponds to one or more of the trigger events.
  • the trigger event includes a trigger type and a trigger parameter corresponding to the trigger type.
  • the trigger parameters include one or more; the trigger parameters are determined according to the trigger type.
  • the processor 70 is further configured to determine corresponding detection parameters according to the trigger type; according to the detection parameters and the trigger parameters, detect that the load execution information in the current load execution task corresponds to Whether the trigger event of the event occurs.
  • the detection parameters include at least one of time parameters, location parameters of the mobile platform, working state parameters of the mobile platform, and environmental parameters of the environment where the mobile platform is located.
  • the load execution action information includes the load type and/or the communication port of the third-party load, the load type and/or the execution action type corresponding to the communication port, and the execution corresponding to the execution action type Action parameters.
  • the execution action type includes one or more, and the execution action parameter corresponding to the execution action type includes one or more; the execution action parameter is based on the execution action type determine.
  • the execution action type includes multiple, and the execution order between at least two of the multiple execution action types is associated.
  • the processing module is further configured to determine the target load type and/or the target communication port in the target load execution action information corresponding to the target trigger event; The load type and/or the load corresponding to the target communication port is determined as the target load.
  • At least two trigger events corresponding to the load execution information are the same.
  • load execution action information corresponding to at least two pieces of load execution information is the same.
  • At least two execution times of the actions indicated by the load execution action information corresponding to the load execution information are associated.
  • the plurality of loads includes at least two loads of the same type.
  • the load execution information in the current load execution task is arranged according to the execution order of the actions indicated by the load execution information.
  • the action indicated by each load execution information in the current load execution task is executed at least once; the load execution information in the current load execution task is the first time according to the action indicated by the load execution information The order of execution.
  • the processor 70 is further configured to detect whether a trigger event corresponding to the load execution information in the current load execution task occurs according to a preset order rule.
  • the processor 70 is further configured to divide the load execution information in the current load execution task based on a preset division principle to obtain at least one load execution information set, and each load execution The information set includes at least one piece of the load execution information; the processor 70 is specifically configured to detect a trigger corresponding to the load execution information in the target load execution information set in the at least one load execution information set according to the preset order rule Whether the event occurred.
  • the processor 70 is further specifically configured to perform load execution information in the current load execution task based on the corresponding relationship between the displacement point in the moving route of the mobile platform and the load execution information Divide to obtain at least one load execution information set.
  • different load execution information sets correspond to load execution information between different displacement points.
  • the processor 70 is further configured to determine the detection sequence of each load execution information set in the at least one load execution information set according to the movement sequence of each displacement point in the movement route.
  • the processor 70 is further specifically configured to perform the load in the current load according to the time sequence of the actions indicated by the load execution information and the corresponding relationship between the load execution information.
  • the execution information is divided to obtain at least one load execution information set.
  • different load execution information sets correspond to load execution information in different occurrence time sequences.
  • the processor 70 is further configured to determine the detection sequence of each load execution information set in the at least one load execution information set according to the time sequence of occurrence.
  • the processor 70 is further configured to detect whether the current load execution task is abnormal; if there is no abnormality, execute the target trigger event in the target load execution information based on the target The target load execution action information corresponding to the trigger event determines the step of the target load from the plurality of loads; if it is abnormal, the corresponding preset strategy is executed according to the abnormal result.
  • the processor 70 is further specifically configured to detect whether the load execution information in the current load execution task is abnormal.
  • the method for determining that the load execution information is abnormal includes at least one of the following: the content of the load execution information is abnormal, the data format of the load execution information is abnormal, the load execution information is incomplete, The load corresponding to the load execution information is invalid, and the preset identifier corresponding to the load execution information is not unique.
  • the specific implementation of the above-mentioned processor 70 may refer to the description of related content in the embodiment corresponding to FIG. 2, FIG. 3, FIG. 4, or FIG. 5.
  • the program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments.
  • the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.

Abstract

A method and device for controlling loads, and a control apparatus. A mobile platform is mounted with multiple loads. The method comprises: acquiring a current load execution task comprising at least one piece of load execution information, the load execution information expressing a correlation between a trigger event and load execution action information. Furthermore, when a target trigger event in target load execution information occurs, a target load can be controlled to execute an action indicated by target load execution action information corresponding to the target trigger event. With the employment of the embodiments of the present invention, the execution of the action indicated by the target load execution action information relies on the occurrence of the target trigger event and does not rely on displacement points corresponding to a path of movement of the mobile platform, thus favoring an expansion in the range of applications of the mobile platform.

Description

一种负载的控制方法、装置及控制设备Load control method, device and control equipment 技术领域Technical field
本发明实施例涉及移动平台技术领域,尤其涉及一种负载的控制方法、装置及控制设备。The embodiments of the present invention relate to the technical field of mobile platforms, and in particular to a load control method, device and control equipment.
背景技术Background technique
随着移动平台(如无人驾驶汽车、无人机等)对应移动技术的逐渐成熟,移动平台正在更多领域得到广泛应用,如测绘、农业、巡检等领域。As mobile platforms (such as unmanned vehicles, unmanned aerial vehicles, etc.) gradually mature in corresponding mobile technologies, mobile platforms are being widely used in more fields, such as surveying and mapping, agriculture, and inspection.
示例性地,假设移动平台为一种飞行器,在规划飞行器执行相应的作业任务时,该作业任务通常由两部分构成:航线规划和负载执行。其中,该航线规划具体可以为指定若干个航点,生成航线规划信息(如位置、速度、姿态等);该负载执行,具体可以为在各个航点设置需要执行的负载执行动作,如拍照、录像等。进一步地,移动平台沿着规划航线移动的过程中,当到达目标航点时,则执行该目标航点对应的负载执行动作。若移动平台为其他移动装置时,例如自动驾驶汽车或者船舶等,当规划这些移动装置执行相应的作业任务时,采用与飞行器相似的方式,同样需要结合位移点执行相应的负载执行动作。可以看出,目前移动平台执行作业任务依赖于移动平台的位移点(如航点),严重限制了移动平台的应用范围。Illustratively, assuming that the mobile platform is an aircraft, when planning the aircraft to perform a corresponding operation task, the operation task usually consists of two parts: route planning and load execution. Among them, the route planning can specifically designate several waypoints to generate route planning information (such as position, speed, attitude, etc.); the load execution can specifically set the load execution actions that need to be executed at each waypoint, such as taking photos, Video etc. Furthermore, when the mobile platform moves along the planned route, when it reaches the target waypoint, it executes the load execution action corresponding to the target waypoint. If the mobile platform is other mobile devices, such as self-driving cars or ships, when planning these mobile devices to perform corresponding tasks, adopt a similar method to that of an aircraft, and also need to perform corresponding load execution actions in conjunction with displacement points. It can be seen that the current task of the mobile platform to perform operations relies on the displacement points (such as waypoints) of the mobile platform, which severely limits the application range of the mobile platform.
发明内容Summary of the invention
本发明实施例提供了一种负载的控制方法、装置、控制设备及存储介质,可以使得当前负载执行任务与移动路线对应的位移点分离,有利于扩大移动平台的应用范围,有利于扩大移动平台的应用范围。The embodiment of the present invention provides a load control method, device, control equipment and storage medium, which can separate the current load execution task from the displacement point corresponding to the moving route, which is beneficial to expand the application range of the mobile platform and is beneficial to expand the mobile platform The scope of application.
一方面,本发明实施例提供了一种负载的控制方法,多个所述负载挂载于移动平台,该方法包括:On the one hand, an embodiment of the present invention provides a load control method. A plurality of the loads are mounted on a mobile platform, and the method includes:
获取所述移动平台的当前负载执行任务,所述当前负载执行任务包括至少一个负载执行信息,所述负载执行信息表征触发事件与负载执行动作信息之间的对应关系;Acquiring a current load execution task of the mobile platform, where the current load execution task includes at least one load execution information, and the load execution information represents a correspondence between a trigger event and load execution action information;
当目标负载执行信息中的目标触发事件发生时,控制目标负载执行所述目标触发事件对应的目标负载执行动作信息所指示的动作;When the target trigger event in the target load execution information occurs, control the target load to execute the action indicated by the target load execution action information corresponding to the target trigger event;
其中,所述目标负载为基于所述目标负载执行动作信息从多个所述负载中确定,所述目标负载执行信息为至少一个所述负载执行信息中的任一个The target load is determined from a plurality of loads based on the target load execution action information, and the target load execution information is any one of at least one of the load execution information
另一方面,本发明实施例提供了一种负载的控制装置,多个所述负载挂载于移动平台,该控制装置包括:On the other hand, an embodiment of the present invention provides a load control device, a plurality of the loads are mounted on a mobile platform, and the control device includes:
获取模块,用于获取所述移动平台的当前负载执行任务,所述当前负载执行任务包括至少一个负载执行信息,所述负载执行信息表征触发事件与负载执行动作信息之间的对应关系;An acquiring module, configured to acquire a current load execution task of the mobile platform, the current load execution task includes at least one load execution information, and the load execution information characterizes the correspondence between a trigger event and load execution action information;
处理模块,用于当目标负载执行信息中的目标触发事件发生时,控制目标负载执行所述目标触发事件对应的目标负载执行动作信息所指示的动作;The processing module is used to control the target load to execute the action indicated by the target load execution action information corresponding to the target trigger event when the target trigger event in the target load execution information occurs;
其中,所述目标负载为基于所述目标负载执行动作信息从多个所述负载中确定,所述目标负载执行信息为至少一个所述负载执行信息中的任一个。The target load is determined from a plurality of loads based on the target load execution action information, and the target load execution information is any one of at least one of the load execution information.
再一方面,本发明实施例提供了一种负载的控制设备,多个所述负载挂载于移动平台,该控制设备包括处理器和通信接口,所述处理器和通信接口相互连接,其中,所述通信接口受所述处理器的控制用于收发指令,所述处理器用于:In another aspect, an embodiment of the present invention provides a load control device, a plurality of the loads are mounted on a mobile platform, the control device includes a processor and a communication interface, and the processor and the communication interface are connected to each other, wherein: The communication interface is controlled by the processor for sending and receiving instructions, and the processor is used for:
获取所述移动平台的当前负载执行任务,所述当前负载执行任务包括至少一个负载执行信息,所述负载执行信息表征触发事件与负载执行动作信息之间的对应关系;Acquiring a current load execution task of the mobile platform, where the current load execution task includes at least one load execution information, and the load execution information represents a correspondence between a trigger event and load execution action information;
当目标负载执行信息中的目标触发事件发生时,控制目标负载执行所述目标触发事件对应的目标负载执行动作信息所指示的动作;When the target trigger event in the target load execution information occurs, control the target load to execute the action indicated by the target load execution action information corresponding to the target trigger event;
其中,所述目标负载为基于所述目标负载执行动作信息从多个所述负载中确定,所述目标负载执行信息为至少一个所述负载执行信息中的任一个。The target load is determined from a plurality of loads based on the target load execution action information, and the target load execution information is any one of at least one of the load execution information.
再一方面,本发明实施例提供一种计算机存储介质,该计算机存储介质存储有计算机程序指令,该计算机程序指令被执行时用于实现上述的负载的控制方法。In another aspect, an embodiment of the present invention provides a computer storage medium that stores computer program instructions, and when the computer program instructions are executed, they are used to implement the above-mentioned load control method.
本发明实施例中,移动平台可以获取包括至少一个负载执行信息的当前负载执行任务,该负载执行信息表征触发事件与负载执行动作信息之间的对应关 系。进一步地,当目标负载执行信息中的目标触发事件发生时,可以控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作。采用本发明实施例,目标负载执行动作信息所指示的动作的执行依赖于目标触发事件的发生,而可以不依赖于移动平台移动路线对应的位移点。这样的方式,可以使得当前负载执行任务与移动路线对应的位移点分离,有利于扩大移动平台的应用范围。In the embodiment of the present invention, the mobile platform can obtain the current load execution task including at least one load execution information, which represents the corresponding relationship between the trigger event and the load execution action information. Further, when the target trigger event in the target load execution information occurs, the target load can be controlled to execute the action indicated by the target load execution action information corresponding to the target trigger event. With the embodiment of the present invention, the execution of the action indicated by the target load execution action information depends on the occurrence of the target trigger event, and may not depend on the displacement point corresponding to the moving route of the mobile platform. In this way, the current load execution task can be separated from the displacement point corresponding to the moving route, which is beneficial to expand the application range of the mobile platform.
附图说明Description of the drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to explain the embodiments of the present invention or the technical solutions in the prior art more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1a是本发明实施例提供的一种负载的控制系统结构示意图;Figure 1a is a schematic structural diagram of a load control system provided by an embodiment of the present invention;
图1b是本发明实施例提供的一种移动平台的结构示意图;Figure 1b is a schematic structural diagram of a mobile platform provided by an embodiment of the present invention;
图2是本发明实施例提供的一种负载的控制方法的流程示意图;2 is a schematic flowchart of a load control method provided by an embodiment of the present invention;
图3是本发明实施例提供的另一种负载的控制方法的流程示意图;3 is a schematic flowchart of another load control method provided by an embodiment of the present invention;
图4是本发明实施例提供的又一种负载的控制方法的流程示意图;4 is a schematic flowchart of yet another load control method provided by an embodiment of the present invention;
图5是本发明实施例提供的又一种负载的控制方法的流程示意图;5 is a schematic flowchart of yet another load control method provided by an embodiment of the present invention;
图6是本发明实施例提供的一种控制装置的结构示意图;Figure 6 is a schematic structural diagram of a control device provided by an embodiment of the present invention;
图7是本发明实施例提供的一种控制设备的结构示意图。Fig. 7 is a schematic structural diagram of a control device provided by an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提出了一种负载的控制方法,可以有多个负载挂载于移动平台上。其中,该移动平台可以为在天空中飞行的飞行装置,例如,无人机、航拍飞行器等等;也可以为一些能够在地面移动的移动装置,例如自动驾驶车辆、智能电动车、滑板车、平衡车等车辆;还可以为安装在这些飞行装置或者移动装置上的控制装置。The embodiment of the present invention provides a load control method, and multiple loads may be mounted on a mobile platform. Among them, the mobile platform can be a flying device flying in the sky, such as a drone, aerial photography aircraft, etc.; it can also be some mobile device that can move on the ground, such as autonomous vehicles, smart electric vehicles, scooters, Vehicles such as a balance car; it can also be a control device installed on these flying devices or mobile devices.
在一个实施例中,负载可以内置于移动平台上,也可以外置于移动平台,同时,移动平台上可以预留通讯端口,以使得用户可以挂载第三方负载。示例 性地,当移动平台为一种飞行装置时,该飞行装置的基本系统包括:机架、动力系统、航电系统。除此之外,还有一些设备或模块通过各种方式连接到移动平台,且能够执行某些特定行为,这些行为能够最终产生有价值的效果,这样的一些设备或模块,均可以称为负载,常见的有摄像装置、云台、喷洒装置等。其中,负载所执行的特定行为,例如可以为:摄像装置拍照、摄像装置录像、摄像装置变焦,云台转动、喷洒装置喷洒等。在一个实施例中,移动平台可以为一种飞行装置,该飞行装置配置有飞控系统。这种情况下,飞行装置可以将当前负载执行任务下发至飞控系统,由飞控系统控制飞行装置沿着航线飞行,并在飞行过程中对各个负载进行控制,以完成当前负载执行任务。In one embodiment, the load can be built into the mobile platform or externally placed on the mobile platform. At the same time, a communication port can be reserved on the mobile platform so that the user can mount a third-party load. Exemplarily, when the mobile platform is a flying device, the basic system of the flying device includes: a frame, a power system, and an avionics system. In addition, there are some devices or modules that are connected to the mobile platform in various ways and can perform certain specific actions. These actions can ultimately produce valuable effects. Such devices or modules can all be called loads. , The common ones are camera devices, pan-tilts, spraying devices, etc. Among them, the specific actions performed by the load may be, for example, taking pictures by the camera device, video recording by the camera device, zooming of the camera device, rotation of the pan/tilt, spraying by the spray device, etc. In one embodiment, the mobile platform may be a flying device, and the flying device is equipped with a flight control system. In this case, the flight device can issue the current load execution task to the flight control system, and the flight control system controls the flight device to fly along the route, and controls each load during the flight to complete the current load execution task.
在一个实施例中,该负载的控制方法还可以应用于终端,该终端可以与移动平台进行数据交互,进而实现对移动平台挂载的负载的控制。为便于理解,本发明实施例以应用于移动平台为例进行说明。In an embodiment, the load control method can also be applied to a terminal, and the terminal can perform data interaction with the mobile platform, thereby realizing control of the load mounted on the mobile platform. For ease of understanding, the embodiments of the present invention are described by taking an application on a mobile platform as an example.
示例性地,参见图1a所示的一种负载的控制系统10,该控制系统10包括终端101和移动平台102,该移动平台102挂载了多个负载103,终端101可以用于向移动平台102下发当前负载执行任务,该负载执行任务包括至少一个负载执行信息,该负载执行信息表征触发事件与负载执行动作信息之间的对应关系。进一步地,当移动平台102获取到该当前负载执行任务后,检测到目标负载执行信息中的目标触发事件发生时,可以控制目标负载执行所述目标触发事件对应的目标负载执行动作信息所指示的动作。例如,目标触发事件为移动平台102移动至指定区域,该目标触发事件对应的目标负载执行动作信息中包括目标负载类型和目标执行动作类型,该目标负载类型为摄像装置,该目标执行动作类型为拍照。这种情况下,移动平台在移动过程中,若检测到移动到该指定区域,可以确定目标负载执行信息中的目标触发事件发生,则可以基于上述目标负载类型和目标执行动作类型,将摄像装置确定为目标负载,并控制该摄像装置进行拍照,即控制目标负载执行动作信息所指示的动作。Exemplarily, referring to a load control system 10 shown in FIG. 1a, the control system 10 includes a terminal 101 and a mobile platform 102. The mobile platform 102 is mounted with a plurality of loads 103, and the terminal 101 can be used to transfer the load to the mobile platform. 102 issues a current load execution task, the load execution task includes at least one piece of load execution information, and the load execution information represents a correspondence between a trigger event and load execution action information. Further, when the mobile platform 102 obtains the current load execution task and detects that the target trigger event in the target load execution information occurs, it can control the target load to execute the target load execution action information corresponding to the target trigger event. action. For example, a target trigger event is that the mobile platform 102 moves to a designated area, and the target load execution action information corresponding to the target trigger event includes the target load type and the target execution action type, the target load type is a camera device, and the target execution action type is Take pictures. In this case, if the mobile platform detects that it has moved to the designated area during the movement, it can determine that the target trigger event in the target load execution information has occurred, and the camera device can be set based on the target load type and target execution action type. Determine as the target load, and control the camera to take pictures, that is, control the target load to perform the action indicated by the action information.
图1b示出了一种移动平台11,该移动平台11挂载有一个摄像装置110。可以看出,该摄像装置110固定于移动平台11的主体结构上,可以用于采集图像(拍照、录像等)。在一个实施例中,移动平台11的预设存储装置中存储有多个负载执行信息,该负载执行信息是预先配置的,可以表征触发事件与负载执行动作信息之间的对应关系。进一步地,在移动平台11开始移动之前, 可以从上述多个负载执行信息中选择至少一个负载执行信息拼装在一起,即可形成移动平台本次移动过程中完整的当前负载执行任务,该当前负载执行任务包括至少一个负载执行信息。FIG. 1b shows a mobile platform 11 with a camera device 110 mounted thereon. It can be seen that the camera device 110 is fixed on the main structure of the mobile platform 11 and can be used to collect images (photographs, videos, etc.). In one embodiment, a plurality of load execution information is stored in the preset storage device of the mobile platform 11, and the load execution information is pre-configured and can represent the corresponding relationship between the trigger event and the load execution action information. Further, before the mobile platform 11 starts to move, at least one load execution information can be selected from the above multiple load execution information and assembled together to form a complete current load execution task during the current movement of the mobile platform. The execution task includes at least one piece of load execution information.
其中,上述至少一个负载执行信息可以是基于用户的选择从上述多个负载执行信息中确定出的,也可以是基于用户输入的任务要求从上述多个负载执行信息中确定出的。在一个实施例中,移动平台11在开始移动之前,外部设备可以在显示屏中显示该多个负载执行信息,以供用户进行选择。进一步地,移动平台11可以基于用户的选择从上述多个负载执行信息中确定出至少一个负载执行信息,并将确定出的该至少一个负载执行信息拼装在一起,进而形成移动平台11本次移动过程中所需执行的当前负载执行任务。其中,该外部设备,例如可以为一个具有显示功能的控制设备。Wherein, the at least one piece of load execution information may be determined from the plurality of load execution information based on a user's selection, or may be determined from the plurality of load execution information based on task requirements input by the user. In one embodiment, before the mobile platform 11 starts to move, the external device may display the multiple load execution information on the display screen for the user to select. Further, the mobile platform 11 may determine at least one load execution information from the foregoing multiple load execution information based on the user's selection, and assemble the determined at least one load execution information together to form the mobile platform 11 this time. The current load execution tasks that need to be executed during the process. Wherein, the external device may be, for example, a control device with a display function.
在另一个实施例中,在移动平台11在开始移动之前,用户可以通过外部设备向移动平台11输入任务要求,移动平台11可以基于该任务要求从上述多个负载执行信息中确定出与该任务要求匹配的至少一个负载执行信息,并将确定出的该至少一个负载执行信息拼装在一起,进而形成移动平台11本次移动过程中所需执行的当前负载执行任务。示例性地,假设任务要求用于指示移动平台11在移动过程中进行喷洒任务,那么,移动平台可以将用于执行喷洒动作对应的负载执行信息确定为与该喷洒任务匹配的负载执行信息。In another embodiment, before the mobile platform 11 starts to move, the user can input task requirements to the mobile platform 11 through an external device, and the mobile platform 11 can determine the task requirements from the multiple load execution information based on the task requirements. At least one piece of load execution information that is required to match is assembled, and the determined at least one piece of load execution information is assembled together to form a current load execution task that needs to be executed during the current movement of the mobile platform 11. Illustratively, assuming that the task requirement is used to instruct the mobile platform 11 to perform the spraying task during the movement, the mobile platform may determine the load execution information corresponding to the spraying action to be the load execution information matching the spraying task.
进一步地,在一个实施例中,移动平台11沿着预先规划的移动路线开始移动时,可以获取移动平台的当前负载执行任务。进一步地,移动平台11在移动过程中,可以按照一定频率循环检测当前负载执行任务的各个负载执行信息,当检测到目标负载执行信息中的目标触发事件发生时,控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作。其中,该目标负载执行信息为上述至少一个负载执行信息中的任一个,该目标负载为基于目标负载执行动作信息从多个负载中确定的。可以看出,目标负载执行动作信息所指示的动作的执行依赖于目标触发事件的发生,而可以无需依赖于移动路线对应的位移点。因此,采用这样的方式,可以使得当前负载执行任务与移动路线对应的位移点分离,有利于扩大移动平台的应用范围。Further, in one embodiment, when the mobile platform 11 starts to move along a pre-planned moving route, the current load of the mobile platform can be obtained to perform tasks. Further, the mobile platform 11 can periodically detect various load execution information of the current load execution task according to a certain frequency during the movement. When the target trigger event in the target load execution information is detected, the target load is controlled to execute the target trigger event corresponding The target load performs the action indicated by the action information. The target load execution information is any one of the foregoing at least one load execution information, and the target load is determined from multiple loads based on the target load execution action information. It can be seen that the execution of the action indicated by the target load execution action information depends on the occurrence of the target trigger event, and may not depend on the displacement point corresponding to the moving route. Therefore, in this way, the current load execution task can be separated from the displacement point corresponding to the moving route, which is beneficial to expand the application range of the mobile platform.
示例性地,该目标负载执行动作信息包括目标负载类型以及目标执行动作 类型,该目标负载类型为摄像装置110;目标触发事件为移动平台110在位移点A和位移点B之间移动时,每隔时间t触发相应的目标负载执行动作信息的执行,该目标负载类型为摄像装置110,该目标负载类型对应的目标执行动作为拍照。这种情况下,当移动平台在位移点A和位移点B之间移动时,可以开启计时器进行计时,每隔时间t,可以检测一次移动平台当前位置是否处于位移点A和位移点B之间,若是,则可以确定目标触发时间发生,进而将摄像装置110确定为目标负载,并控制该摄像装置110进行拍照。Exemplarily, the target load execution action information includes a target load type and a target execution action type. The target load type is the camera 110; the target trigger event is when the mobile platform 110 moves between the displacement point A and the displacement point B, An interval of time t triggers the execution of the corresponding target load execution action information, the target load type is the camera 110, and the target execution action corresponding to the target load type is photographing. In this case, when the mobile platform moves between the displacement point A and the displacement point B, a timer can be started for timing. Every time t, it can be checked whether the current position of the mobile platform is between the displacement point A and the displacement point B. In the meantime, if it is, it can be determined that the target trigger time occurs, and then the camera device 110 is determined as the target load, and the camera device 110 is controlled to take pictures.
其中,图1b中的移动平台11仅为举例说明,在其他例子中,图1b所示的移动平台也可以为其它移动设备,还可以为挂载在竞技机器人、无人机、无人驾驶汽车等移动设备上,本发明对此不作限定。Among them, the mobile platform 11 in Figure 1b is only an example. In other examples, the mobile platform shown in Figure 1b can also be other mobile devices, and can also be mounted on competitive robots, drones, and unmanned vehicles. On mobile devices, the present invention does not limit this.
参见图2,图2是本发明实施例提供的一种负载的控制方法的流程示意图,本发明实施例的所述方法可以由移动平台来执行,该移动平台挂载有多个负载。Referring to FIG. 2, FIG. 2 is a schematic flowchart of a load control method provided by an embodiment of the present invention. The method in the embodiment of the present invention may be executed by a mobile platform on which multiple loads are mounted.
在图2所示的负载的控制方法中,移动平台可以在S201中获取移动平台的当前负载执行任务,该当前负载执行任务包括至少一个负载执行信息,该负载执行信息表征触发事件与负载执行动作信息之间的对应关系。在一个实施例中,上述负载执行信息为基于移动平台的预期负载执行任务进行配置得到。其中,该预期负载执行任务为预先配置的移动平台沿着规划路线移动过程中需要执行的负载执行任务。例如,预期负载执行任务用于指示移动平台在沿着规划路线移动的过程中进行喷洒,那么该负载执行信息则可以基于控制喷洒装置进行喷洒来进行配置。又例如,预期负载执行任务用于指示移动平台在沿着规划路线移动的过程中进行巡检,那么该负载执行信息则可以基于控制摄像装置进行拍摄来进行配置。In the load control method shown in FIG. 2, the mobile platform may obtain the current load execution task of the mobile platform in S201, and the current load execution task includes at least one load execution information, and the load execution information represents a trigger event and a load execution action. Correspondence between information. In one embodiment, the above-mentioned load execution information is configured based on the expected load execution task of the mobile platform. Wherein, the expected load execution task is a load execution task that needs to be executed when the mobile platform moves along the planned route in advance. For example, the expected load execution task is used to instruct the mobile platform to spray while moving along the planned route, then the load execution information can be configured based on controlling the spraying device to spray. For another example, the expected load execution task is used to instruct the mobile platform to perform inspections while moving along the planned route, and the load execution information can be configured based on controlling the camera device to shoot.
其中,在负载执行信息配置的过程中,可以对每个负载执行信息添加用于指示负载执行动作的预设标识,每个负载执行信息对应的预设标识不同。采用这样的方式,在一次任务执行过程中,每一个预设标识均可以唯一标识该负载执行信息,也即,每一个预设标识均可以唯一标识负载执行信息对应的负载执行动作,移动平台通过识别该预设标识可以准确地对各个负载执行动作进行区分,有利于提高对负载进行控制的有效性。Among them, in the process of load execution information configuration, a preset identifier for indicating the load execution action may be added to each load execution information, and the preset identifier corresponding to each load execution information is different. In this way, during a task execution process, each preset identifier can uniquely identify the load execution information, that is, each preset identifier can uniquely identify the load execution action corresponding to the load execution information, and the mobile platform passes Recognizing the preset identifier can accurately distinguish the execution actions of each load, which is beneficial to improve the effectiveness of load control.
进一步地,移动平台可以将配置完成的多个负载执行信息存储至预设存储 装置中,当移动平台开始沿着规划路线移动之前,可以从多个负载执行信息中选择至少一个负载执行信息生成当前负载执行任务,进而获取该当前负载执行任务。其中,该当前负载执行任务的获取时间可以是在移动平台开始移动之前,也可以是在移动平台开始移动时,还可以是基于预设获取规则确定的。示例性地,该预设获取规则例如可以为移动平台移动后的s(s大于0)秒,这种情况下,该获取时间则为移动平台移动后的s秒。除此之外,当前负载执行任务的获取时间还可以有其他确定方式,本发明对此不作具体限定。Further, the mobile platform can store multiple load execution information that have been configured into a preset storage device. Before the mobile platform starts to move along the planned route, it can select at least one load execution information from the multiple load execution information to generate the current The load performs the task, and then obtains the current load to perform the task. Wherein, the acquisition time of the current load execution task may be before the mobile platform starts to move, or when the mobile platform starts to move, or may be determined based on a preset acquisition rule. Exemplarily, the preset acquisition rule may be, for example, s (s greater than 0) seconds after the mobile platform moves. In this case, the acquisition time is s seconds after the mobile platform moves. In addition, the acquisition time of the current load execution task can also be determined in other ways, which is not specifically limited in the present invention.
在一个实施例中,一个负载执行信息包括至少一个触发事件以及至少一个负载执行动作信息。目前,负载动作的执行依赖于移动平台的移动路线中的位移点,无法执行复杂的动作,严重限制了负载动作的执行的灵活性和扩展性,进而严重限制了移动平台的应用范围。而本发明描述的负载执行信息,一个负载执行信息可以包括至少一个触发事件以及至少一个负载执行动作信息,一方面,可以看出每一个负载执行信息是根据相应的触发事件以及触发事件对应的负载执行动作信息来确定,每一个负载执行信息的长度均不是固定的,可以根据具体的负载执行需求(即触发事件以及触发事件对应的负载执行动作信息)进行调整;另一方面,对目标负载在特定事件下需要执行的目标动作而言,即使该目标动作比较复杂,均可以按照触发事件以及负载执行动作信息的方式进行拆分描述。因此,负载执行信息采用上述这样的设置方式,可以有效增加负载执行信息的灵活性和扩展性,进而增加移动平台的应用范围。In one embodiment, one piece of load execution information includes at least one trigger event and at least one piece of load execution action information. At present, the execution of the load action depends on the displacement points in the moving route of the mobile platform, and complex actions cannot be performed, which severely limits the flexibility and scalability of the execution of the load action, thereby severely limiting the application range of the mobile platform. For the load execution information described in the present invention, one load execution information may include at least one trigger event and at least one load execution action information. On the one hand, it can be seen that each load execution information is based on the corresponding trigger event and the load corresponding to the trigger event. The execution action information is determined. The length of each load execution information is not fixed. It can be adjusted according to the specific load execution requirements (that is, the trigger event and the load execution action information corresponding to the trigger event); on the other hand, the target load is As for the target action that needs to be executed under a specific event, even if the target action is more complicated, it can be divided and described according to the trigger event and the load execution action information. Therefore, the load execution information adopts the above-mentioned setting method, which can effectively increase the flexibility and scalability of the load execution information, thereby increasing the application range of the mobile platform.
其中,一个负载执行动作信息与一个或以上的触发事件对应。示例性地,每个负载执行信息表征的关系可以如表1-1所示。Among them, one load execution action information corresponds to one or more trigger events. Exemplarily, the relationship represented by each load execution information may be as shown in Table 1-1.
表1-1Table 1-1
预设标识Preset logo 触发事件trigger event 负载执行动作信息Load execution information
其中,每一个负载执行信息中的触发事件包括触发类型以及该触发类型对应的触发参数。示例性,该触发事件的描述方式可以参见表1-2所示。Among them, the trigger event in each load execution information includes a trigger type and a trigger parameter corresponding to the trigger type. For example, the description of the trigger event can be referred to Table 1-2.
表1-2Table 1-2
Figure PCTCN2019073811-appb-000001
Figure PCTCN2019073811-appb-000001
其中,每一个负载执行信息中的负载执行动作信息包括负载类型和/或第三方负载的通讯端口、负载类型和/或通讯端口对应的执行动作类型以及执行动作类型对应的执行动作参数。Wherein, the load execution action information in each load execution information includes the load type and/or the communication port of the third-party load, the execution action type corresponding to the load type and/or the communication port, and the execution action parameter corresponding to the execution action type.
在一个实施例中,移动平台挂载的负载可以为移动平台原本配置的负载,也可以为移动平台中没有原本配置的第三方负载,而移动平台预留有该第三方负载对应的通讯端口,移动平台可以通过该通讯端口与该第三方负载进行数据交互。示例性地,移动平台的负载对应的负载执行动作信息例如可以如表1-3所示。其中,该负载例如可以包括相机、云台、喷洒等。可以看出,如表1-3所示的负载执行动作信息包括负载类型、负载类型对应的执行动作类型以及执行动作类型对应的执行动作参数。In one embodiment, the load mounted on the mobile platform may be the load originally configured on the mobile platform, or it may be a third-party load that is not originally configured on the mobile platform, and the mobile platform reserves a communication port corresponding to the third-party load. The mobile platform can exchange data with the third-party load through the communication port. Exemplarily, the load execution action information corresponding to the load of the mobile platform may be as shown in Table 1-3, for example. Among them, the load may include, for example, a camera, a pan-tilt, and spraying. It can be seen that the load execution action information shown in Table 1-3 includes the load type, the execution action type corresponding to the load type, and the execution action parameter corresponding to the execution action type.
表1-3Table 1-3
Figure PCTCN2019073811-appb-000002
Figure PCTCN2019073811-appb-000002
又例如,移动平台的第三方负载对应的负载执行动作信息可以如表1-4所示。其中,该第三方负载例如可以为红外探测器、探照灯等可以与移动平台适配的设备。可以看出,如表1-4所示的负载执行动作信息包括负载类型和第三方负载的通讯端口、负载类型对应的执行动作类型以及执行动作类型对应的执行动作参数。可以看出,本发明的移动平台,增加了对第三方负载的支持。由于移动平台存在多种多样的应用场景(如红外探测、巡检等),不同的应用场景可能存在很多不同的负载,因此,增加对第三方负载的支持,有利于进一步扩大移动平台的应用范围。For another example, the load execution action information corresponding to the third-party load of the mobile platform may be as shown in Table 1-4. Among them, the third-party load may be, for example, infrared detectors, searchlights, and other equipment that can be adapted to the mobile platform. It can be seen that the load execution action information shown in Table 1-4 includes the load type and the communication port of the third-party load, the execution action type corresponding to the load type, and the execution action parameters corresponding to the execution action type. It can be seen that the mobile platform of the present invention adds support for third-party loads. Since there are various application scenarios for mobile platforms (such as infrared detection, inspection, etc.), different application scenarios may have many different loads. Therefore, increasing support for third-party loads is conducive to further expanding the application range of mobile platforms .
表1-4Table 1-4
Figure PCTCN2019073811-appb-000003
Figure PCTCN2019073811-appb-000003
从表1-1~表1-4描述的内容可以看出,本发明中描述的负载执行信息,可以对目标负载在特定事件下需要执行的目标动作,按照触发事件以及负载执行动作信息的方式进行拆分描述,可以有效增加负载执行信息的灵活性和扩展性,进而增加移动平台的应用范围。From the contents described in Table 1-1 to Table 1-4, it can be seen that the load execution information described in the present invention can target actions that the target load needs to execute under a specific event, according to the trigger event and the way the load executes the action information Splitting description can effectively increase the flexibility and scalability of load execution information, thereby increasing the application scope of the mobile platform.
在一个实施例中,一个触发类型中,触发参数包括一个或以上,该触发参数为依据触发类型确定。示例性地,假设移动平台为一台无人机,请参见表1-5,该表列举了常见的触发类型以及各个触发类型对应的触发参数。In one embodiment, in a trigger type, the trigger parameter includes one or more, and the trigger parameter is determined according to the trigger type. Illustratively, assuming that the mobile platform is a drone, please refer to Table 1-5, which lists common trigger types and trigger parameters corresponding to each trigger type.
表1-5Table 1-5
Figure PCTCN2019073811-appb-000004
Figure PCTCN2019073811-appb-000004
在一个实施例中,一个负载类型中,执行动作类型包括一个或以上,执行 动作类型对应的执行动作参数包括一个或以上,该执行动作参数为依据执行动作类型确定。示例性地,以常见的负载对应的负载执行动作信息为例,如表1-6所示。可以看出,一个负载类型相机中,该相机对应的执行动作类型包括拍照、录像和录像等执行动作类型,每一个执行动作类型对应的执行动作参数包括一个或以上。In one embodiment, in a load type, the execution action type includes one or more, and the execution action parameter corresponding to the execution action type includes one or more. The execution action parameter is determined according to the execution action type. Illustratively, take the load execution action information corresponding to a common load as an example, as shown in Table 1-6. It can be seen that in a load type camera, the execution action types corresponding to the camera include the execution action types such as photographing, video recording, and video recording, and the execution action parameters corresponding to each execution action type include one or more.
表1-6Table 1-6
Figure PCTCN2019073811-appb-000005
Figure PCTCN2019073811-appb-000005
其中,在一个实施例中,一个负载类型中,上述执行动作类型可以包括多个,多个执行动作类型中的至少两个之间的执行顺序相关联。在一个实施例中,假设一个负载类型中包括两个执行动作类型,分别为第一执行动作类型和第二动作执行类型。该第一执行动作类型与第二执行动作类型之间的执行顺序的关联关系可以包括以下几种:第一执行动作类型与第二执行动作类型同时执行;第一执行动作类型执行结束后,第二执行动作类型开始执行;第二执行动作类型执行结束后,第一执行动作类型开始执行。Wherein, in one embodiment, in one load type, the above-mentioned execution action types may include multiple, and the execution order between at least two of the multiple execution action types is related. In an embodiment, it is assumed that a load type includes two execution action types, which are the first execution action type and the second action execution type, respectively. The association relationship of the execution order between the first execution action type and the second execution action type may include the following: the first execution action type and the second execution action type are executed simultaneously; after the execution of the first execution action type ends, the first execution action type is executed. The execution of the second execution action type starts; after the execution of the second execution action type ends, the first execution action type starts execution.
其中,上述当前负载执行任务为在多个负载执行信息中选择的至少一个负载执行信息形成的。在一个实施例中,由于在一次负载执行任务中,预设标识可以唯一标识负载执行动作,因此,每个负载执行信息对应的预设标识不同,上述当前负载执行任务可以为基于预设标识在多个负载执行信息中的选择操作得到。例如,预设存储装置中存储有n(n为大于1的整数)个负载执行信息,分别为负载执行信息1、负载执行信息2、负载执行信息3负载执负载执行信息n。其中,该负载执行信息1对应的预设标识为ID1、该负载执行信息 2对应的预设标识为ID2、该负载执行信息3对应的预设标识为ID3预..该负载执行信息n对应的预设标识为IDn。这种情况下,若开发人员想要选择负载执行信息1、负载执行信息2和负载执行信息3用于执行本次负载执行任务,则可以针对预设标识ID1、预设标识ID2和预设标识ID3输入选择操作,移动平台则可以根据该选择操作,从n个负载执行信息中获取到负载执行信息1、负载执行信息2和负载执行信息3,并基于该负载执行信息1、负载执行信息2和负载执行信息3生成本次的负载执行任务(即当前负载执行任务)。Wherein, the foregoing current load execution task is formed by at least one load execution information selected from a plurality of load execution information. In one embodiment, since the preset identifier can uniquely identify the load execution action in a load execution task, the preset identifier corresponding to each load execution information is different, and the current load execution task may be based on the preset identifier. Multiple loads execute the selection operation in the information. For example, the preset storage device stores n (n is an integer greater than 1) load execution information, which are load execution information 1, load execution information 2, load execution information 3, load execution load execution information n. Wherein, the preset identification corresponding to the load execution information 1 is ID1, the preset identification corresponding to the load execution information 2 is ID2, and the preset identification corresponding to the load execution information 3 is ID3.. The load execution information n corresponds to The preset identifier is IDn. In this case, if the developer wants to select load execution information 1, load execution information 2 and load execution information 3 for executing this load execution task, they can target the preset identification ID1, preset identification ID2, and preset identification ID3 input selection operation, the mobile platform can obtain load execution information 1, load execution information 2 and load execution information 3 from n load execution information according to the selection operation, and based on the load execution information 1, load execution information 2 And load execution information 3 generate the current load execution task (that is, the current load execution task).
示例性的,上述当前负载执行任务也可以为基于用户输入的任务要求从上述多个负载执行信息中得到。具体实现中,在移动平台开始移动之前,用户可以输入自身对本次负载执行任务的任务要求。这种情况下,移动平台可以基于该任务要求从上述多个负载执行信息中确定出与该任务要求匹配的至少一个负载执行信息,并将确定出的该至少一个负载执行信息拼装在一起,得到移动平台本次移动过程中所需执行的当前负载执行任务。示例性地,假设任务要求用于指示移动平台在移动过程中进行巡检,那么,移动平台可以将用于执行巡检动作(如拍照、录像等)对应的负载执行信息确定为与该巡检任务匹配的负载执行信息。Exemplarily, the foregoing current load execution task may also be obtained from the foregoing multiple load execution information based on the task requirements input by the user. In specific implementation, before the mobile platform starts to move, the user can input his own task requirements for the load execution task. In this case, the mobile platform can determine at least one piece of load execution information that matches the task requirement from the foregoing multiple load execution information based on the task requirement, and assemble the determined at least one piece of load execution information together to obtain The current load execution tasks that the mobile platform needs to perform during this movement. Exemplarily, assuming that the task requirements are used to instruct the mobile platform to perform inspections during the movement, the mobile platform can determine the load execution information corresponding to the inspection actions (such as taking pictures, videos, etc.) as corresponding to the inspection Load execution information for task matching.
在一个实施例中,上述预设存储装置中存储的多个负载执行信息可以基于指定操作指令进行更新。其中,该指定操作指令包括如下中的至少一种:删除多个负载执行信息中的第一负载执行信息、替换多个负载执行信息中的第二负载执行信息、修改多个负载执行信息中的第三负载执行信息、增加第四负载执行信息至多个负载执行信息中。采用这样的方式,可以实现对预设存储装置中负载执行信息的更新,增加负载执行信息存储的灵活性。In an embodiment, the plurality of load execution information stored in the foregoing preset storage device may be updated based on a designated operation instruction. Wherein, the designated operation instruction includes at least one of the following: deleting the first load execution information in the plurality of load execution information, replacing the second load execution information in the plurality of load execution information, and modifying the load execution information in the plurality of load execution information. The third load execution information and the fourth load execution information are added to the multiple load execution information. In this way, it is possible to update the load execution information in the preset storage device, and increase the flexibility of load execution information storage.
移动平台获取到当前负载执行任务之后,当在步骤S202中检测到目标负载执行信息中的目标触发事件发生时,可以控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作。其中,该目标负载为基于目标负载执行动作信息从多个负载中确定,该目标负载执行信息为至少一个负载执行信息中的任一个。After acquiring the current load execution task, the mobile platform can control the target load to execute the action indicated by the target load execution action information corresponding to the target trigger event when it detects that the target trigger event in the target load execution information occurs in step S202. The target load is determined from multiple loads based on target load execution action information, and the target load execution information is any one of at least one load execution information.
在一个实施例中,在目标负载为基于目标负载执行动作信息从多个负载中确定之前,移动平台可以获取自身的移动路线规划信息,在根据移动路线规划 信息控制移动平台的移动过程中,检测目标触发事件是否发生。其中,该移动路线规划信息包括多个位移点,目标触发事件能够与多个位移点不关联。该目标触发事件包括目标触发类型以及该目标触发类型对应的目标触发参数。在一个实施例中,当该目标触发类型与位移点不关联时,可以确定该目标触发事件与位移点不关联。示例性地,与位移点不关联的目标触发类型可以包括定时触发或者指定区域触发等,其中,该定时触发或者指定区域触发的具体含义可以参见上述表1-5的相关描述,此处不再赘述。In one embodiment, before the target load is determined from multiple loads based on the target load execution action information, the mobile platform may obtain its own movement route planning information, and in the process of controlling the movement of the mobile platform according to the movement route planning information, it is detected Whether the target trigger event occurs. Wherein, the movement route planning information includes multiple displacement points, and the target trigger event can be unrelated to the multiple displacement points. The target trigger event includes a target trigger type and target trigger parameters corresponding to the target trigger type. In one embodiment, when the target trigger type is not associated with the displacement point, it can be determined that the target trigger event is not associated with the displacement point. Exemplarily, the target trigger type that is not associated with the displacement point may include timing trigger or designated area trigger, etc., where the specific meaning of the timing trigger or designated area trigger can be referred to the relevant description in Table 1-5 above. Repeat.
在一个实施例中,每一个负载执行信息中的触发事件包括触发类型以及该触发类型对应的触发参数。其中,一个触发类型中,触发参数包括一个或以上,该触发参数为依据触发类型确定。移动平台可以根据上述触发类型确定相应的检测参数,并根据检测参数与触发参数,检测当前负载执行任务中的负载执行信息对应的触发事件是否发生。在一个实施例中,在根据移动路线规划信息控制移动平台的移动过程中,移动平台可以按照预定频率轮询当前负载执行任务中的各个负载执行信息,当轮询到任一负载执行信息时,可以根据该任一负载执行信息中的触发类型确定相应的检测参数,并根据检测参数与触发参数,检测该任一负载执行信息对应的触发事件是否发生。进一步地,若移动平台检测到该任一负载执行信息对应的触发事件发生,则可以将该任一负载执行信息确定为目标负载执行信息,该将任一负载执行信息对应的触发事件确定为目标触发事件,将该任一负载执行信息对应的负载执行动作信息确定为目标负载执行动作信息,进而控制目标负载执行该目标触发事件对应的目标负载执行动作信息所指示的动作。In one embodiment, the trigger event in each load execution information includes a trigger type and a trigger parameter corresponding to the trigger type. Among them, in a trigger type, the trigger parameter includes one or more, and the trigger parameter is determined according to the trigger type. The mobile platform can determine the corresponding detection parameters according to the above-mentioned trigger types, and according to the detection parameters and the trigger parameters, detect whether the trigger event corresponding to the load execution information in the current load execution task occurs. In one embodiment, in the process of controlling the movement of the mobile platform according to the movement route planning information, the mobile platform may poll each load execution information in the current load execution task according to a predetermined frequency, and when any load execution information is polled, The corresponding detection parameter can be determined according to the trigger type in the any load execution information, and according to the detection parameter and the trigger parameter, it is detected whether the trigger event corresponding to the any load execution information occurs. Further, if the mobile platform detects the occurrence of a trigger event corresponding to any load execution information, it can determine any load execution information as target load execution information, and determine the trigger event corresponding to any load execution information as the target A trigger event, the load execution action information corresponding to any load execution information is determined as the target load execution action information, and then the target load is controlled to execute the action indicated by the target load execution action information corresponding to the target trigger event.
其中,该检测参数包括时间参数、移动平台的位置参数、移动平台的工作状态参数和移动平台所在环境的环境参数中的至少一种。在一个实施例中,该检测参数与触发类型相关联。例如,若触发类型为指定区域触发,该指定区域触发对应的触发参数为经度ll、纬度l2、高度h、半径r,那么该触发类型对应的检测参数可以包括移动平台的位置参数以及移动平台的工作参数。其中,该位置参数可以包括移动平台当前位置的经度、维度,高度,以及距离点(l1,l2,h)的距离,该工作参数用于指示移动平台是否正常工作。Wherein, the detection parameters include at least one of time parameters, location parameters of the mobile platform, working state parameters of the mobile platform, and environmental parameters of the environment where the mobile platform is located. In one embodiment, the detection parameter is associated with the trigger type. For example, if the trigger type is a designated area trigger, and the trigger parameters corresponding to the designated area trigger are longitude ll, latitude l2, height h, and radius r, then the detection parameters corresponding to the trigger type may include the position parameters of the mobile platform and the mobile platform Working parameters. The position parameter may include the longitude, latitude, and height of the current position of the mobile platform, and the distance from the point (l1, 12, h), and the working parameter is used to indicate whether the mobile platform is working normally.
示例性地,移动平台为无人机,负载执行信息1表征触发事件1与负载执 行动作信息1之间的对应关系,该触发事件1包括的触发类型为定时触发,该触发事件1对应的触发描述为当无人机在航点index1和index2之间飞行时每隔时间t触发相应的负载执行动作信息的执行,该定时触发的触发参数为航点索引index1、index2和时间间隔t。这种情况下,在根据移动路线规划信息控制移动平台的移动过程中,移动平台按照预定频率轮询当前负载执行任务中的各个负载执行信息,当轮询到负载执行信息1时,可以根据负载执行信息1中的触发事件确定出触发类型为定时触发类型,该定时触发类型对应的触发参数为航点索引index1、index2和时间间隔t,则可以获取该移动平台的位置参数、移动平台的工作状态参数和时间参数(即该定时触发对应的检测参数),基于该工作状态确定移动平台是否正常工作,若是,则将该位置参数与触发参数进行对比,确定移动平台当前是否处于航点index1和index2之间,并开启计时器计时,每隔时间t,再次检测移动平台当前是否处于航点index1和index2之间,若是,则确定负载执行信息1对应的触发事件1发生,此时,则可以将负载执行信息1确定为目标负载执行信息。Exemplarily, the mobile platform is a drone, and load execution information 1 represents the corresponding relationship between trigger event 1 and load execution action information 1. The trigger type included in trigger event 1 is timing trigger, and the trigger event 1 corresponds to the trigger It is described as when the UAV flies between the waypoint index1 and index2 to trigger the execution of the corresponding load execution action information at every time t. The trigger parameters of this timing trigger are the waypoint index index1 and index2 and the time interval t. In this case, in the process of controlling the movement of the mobile platform according to the moving route planning information, the mobile platform polls the load execution information in the current load execution task according to a predetermined frequency. When the load execution information 1 is polled, it can be based on the load. The trigger event in the execution information 1 determines that the trigger type is a timing trigger type, and the trigger parameters corresponding to the timing trigger type are waypoint index index1, index2 and time interval t, then the position parameters of the mobile platform and the work of the mobile platform can be obtained State parameters and time parameters (that is, the detection parameters corresponding to the timing trigger), based on the working state to determine whether the mobile platform is working normally, if so, compare the position parameters with the trigger parameters to determine whether the mobile platform is currently at waypoint index1 and Index2, and start the timer, every time t, check again whether the mobile platform is currently between index1 and index2. If it is, it is determined that the trigger event 1 corresponding to load execution information 1 occurs. At this time, you can The load execution information 1 is determined as the target load execution information.
在一个实施例中,由于目标负载执行信息表征了目标触发事件与目标负载执行动作信息之间的对应关系,该目标负载执行动作信息又包括负载类型和/或目标通讯端口。这种情况下,当移动平台检测到目标负载执行信息中的目标触发事件发生时,可以确定目标触发事件对应的目标负载执行动作信息中的目标负载类型和/或目标通讯端口,并将多个负载中对应目标负载类型和/或目标通讯端口对应的负载确定为目标负载。示例性地,移动平台预先挂载的多个负载包括相机、云台和喷洒装置,在目标负载执行信息中,目标执行动作信息包括的负载类型为云台,该负载类型对应的执行动作类型为俯仰1,在当前基础上转动俯仰角θ度。这种情况下,当目标负载执行信息中的目标触发事件发生时,移动平台可以首先基于目标负载执行信息中目标触发事件与目标负载执行动作信息之间的对应关系,确定出目标负载执行动作信息中的目标负载类型为云台。进一步地,移动平台可以从预先挂载的相机、云台和喷洒装置中将云台确定为目标负载,进而控制该云台在当前基础上转动俯仰角θ度,也即,控制目标负载执行目标负载执行动作信息所指示的动作。In one embodiment, since the target load execution information represents the corresponding relationship between the target trigger event and the target load execution action information, the target load execution action information further includes the load type and/or the target communication port. In this case, when the mobile platform detects that the target trigger event in the target load execution information occurs, it can determine the target load type and/or target communication port in the target load execution action information corresponding to the target trigger event, and combine multiple The load corresponding to the target load type and/or the load corresponding to the target communication port is determined as the target load. Exemplarily, multiple loads pre-mounted on the mobile platform include cameras, pan-tilts, and spraying devices. In the target load execution information, the target execution action information includes the load type as the pan-tilt, and the execution action type corresponding to the load type is Pitch 1, rotate the pitch angle θ degrees on the current basis. In this case, when the target trigger event in the target load execution information occurs, the mobile platform can first determine the target load execution action information based on the correspondence between the target trigger event in the target load execution information and the target load execution action information The target load type in is PTZ. Further, the mobile platform can determine the pan/tilt as the target load from the pre-mounted cameras, pan/tilt, and spraying device, and then control the pan/tilt to rotate the pitch angle θ degrees on the current basis, that is, control the target load to execute the target The load performs the action indicated by the action information.
在一个实施例中,当目标负载为第三方负载时,可以通过连接该第三方负 载的通讯端口,将目标负载执行动作信息下发至该第三方负载,以便于控制该第三方负载执行目标触发事件对应的目标负载执行动作信息所指示的动作。In one embodiment, when the target load is a third-party load, the target load execution action information can be sent to the third-party load through the communication port of the third-party load, so as to control the third-party load to execute the target trigger The target load corresponding to the event executes the action indicated by the action information.
本发明实施例中,移动平台可以获取包括至少一个负载执行信息的当前负载执行任务,该负载执行信息表征触发事件与负载执行动作信息之间的对应关系。进一步地,当目标负载执行信息中的目标触发事件发生时,可以控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作。采用本发明实施例,目标负载执行动作信息所指示的动作的执行依赖于目标触发事件的发生,而可以不依赖于移动平台移动路线对应的位移点。这样的方式,可以使得当前负载执行任务与移动路线对应的位移点分离,有利于扩大移动平台的应用范围。In the embodiment of the present invention, the mobile platform can obtain the current load execution task including at least one load execution information, and the load execution information represents the corresponding relationship between the trigger event and the load execution action information. Further, when the target trigger event in the target load execution information occurs, the target load can be controlled to execute the action indicated by the target load execution action information corresponding to the target trigger event. With the embodiment of the present invention, the execution of the action indicated by the target load execution action information depends on the occurrence of the target trigger event, and may not depend on the displacement point corresponding to the moving route of the mobile platform. In this way, the current load execution task can be separated from the displacement point corresponding to the moving route, which is beneficial to expand the application range of the mobile platform.
参见图3,图3是本发明实施例提供的另一种负载的控制方法的流程示意图,本发明实施例的所述方法可以由移动平台来执行,该移动平台挂载有多个负载。Referring to FIG. 3, FIG. 3 is a schematic flowchart of another load control method provided by an embodiment of the present invention. The method in the embodiment of the present invention may be executed by a mobile platform that carries multiple loads.
在图3所示的负载的控制方法中,移动平台可以在S301中获取移动平台的当前负载执行任务,该当前负载执行任务包括至少一个负载执行信息,该负载执行信息表征触发事件与负载执行动作信息之间的对应关系。其中,步骤S301的具体实施方式,可以参见上述实施例中步骤S201的相关描述,此处不再赘述。In the load control method shown in FIG. 3, the mobile platform may obtain the current load execution task of the mobile platform in S301, the current load execution task includes at least one load execution information, and the load execution information represents a trigger event and a load execution action Correspondence between information. For the specific implementation of step S301, reference may be made to the related description of step S201 in the foregoing embodiment, which will not be repeated here.
在一个实施例中,当前负载执行任务中的负载执行信息可以为按照负载执行信息所指示的动作的执行顺序排列。例如,当前负载执行任务中包括负载执行信息1、负载执行信息2和负载执行信息3,这3个负载执行信息所指示的动作的执行顺序分别为:负载执行信息2、负载执行信息1和负载执行信息3,那么则可以依据该动作的执行顺序,在当前负载任务中将上述3个负载执行信息按照负载执行信息2、负载执行信息1和负载执行信息3的排列顺序进行排序。In an embodiment, the load execution information in the current load execution task may be arranged according to the execution order of the actions indicated by the load execution information. For example, the current load execution task includes load execution information 1, load execution information 2 and load execution information 3. The execution order of the actions indicated by these three load execution information are: load execution information 2, load execution information 1, and load Execution information 3, then the above three load execution information can be sorted in the order of load execution information 2, load execution information 1, and load execution information 3 in the current load task according to the execution order of the action.
在另一个实施例中,当前负载执行任务中的各个负载执行信息所指示的动作至少执行一次,该当前负载执行任务中的负载执行信息为按照负载执行信息所指示的动作的首次执行顺序排列。在一个实施例中,当前负载执行任务中的各个负载执行信息所指示的动作至少执行一次,当前负载执行任务中负载执行 信息的排列顺序与负载执行信息所指示的动作的首次执行顺序相同。例如,假设当前负载执行任务中只包括负载执行信息1、负载执行信息2和负载执行信息3,这3个负载执行信息中各个负载执行信息所指示的动作至少执行一次,这3个负载执行信息所指示的动作的首次执行顺序分别为:负载执行信息2、负载执行信息1和负载执行信息3。那么,在当前负载执行任务中各个负载执行信息的排列顺序与该首次执行顺序相同,依然为:负载执行信息2、负载执行信息1和负载执行信息3。这种情况下,移动平台可以不断循环检测负载执行信息2、负载执行信息1和负载执行信息3,进而循环执行负载执行信息2、负载执行信息1和负载执行信息3各自所指示的动作。In another embodiment, the action indicated by each load execution information in the current load execution task is executed at least once, and the load execution information in the current load execution task is arranged according to the first execution order of the actions indicated by the load execution information. In one embodiment, the actions indicated by each load execution information in the current load execution task are executed at least once, and the order of the load execution information in the current load execution task is the same as the first execution order of the actions indicated by the load execution information. For example, suppose that the current load execution task includes only load execution information 1, load execution information 2 and load execution information 3. The actions indicated by each load execution information in these 3 load execution information are executed at least once, and these 3 load execution information The first execution sequence of the indicated actions are: load execution information 2, load execution information 1, and load execution information 3. Then, the order of the various load execution information in the current load execution task is the same as the first execution order, which is still: load execution information 2, load execution information 1, and load execution information 3. In this case, the mobile platform can continuously detect load execution information 2, load execution information 1, and load execution information 3, and then execute the actions indicated by load execution information 2, load execution information 1 and load execution information 3 in a loop.
在一个实施例中,当前负载执行任务中的各个负载执行信息所指示的动作执行一次,假设当前负载执行任务中包括m1(m1为大于2的整数)*m2(m2为大于1的整数)个负载执行信息,该当前负载执行任务由m2个不同的负载执行信息重复拼装m1次形成。示例性地,假设m1为2,m2为3,当前负载执行任务中包括的m1*m2个负载执行信息可以如表2-1所示。从表2-1可以看出,该当前负载执行任务由负载执行信息1、负载执行信息2以及负载执行信息3重复拼装2次形成。In one embodiment, the action indicated by each load execution information in the current load execution task is executed once, assuming that the current load execution task includes m1 (m1 is an integer greater than 2) * m2 (m2 is an integer greater than 1) Load execution information, the current load execution task is formed by repeatedly assembling m2 different load execution information m1 times. Exemplarily, assuming that m1 is 2 and m2 is 3, the m1*m2 load execution information included in the current load execution task may be as shown in Table 2-1. It can be seen from Table 2-1 that the current load execution task is formed by repeated assembly of load execution information 1, load execution information 2 and load execution information 3 twice.
表2-1table 2-1
Figure PCTCN2019073811-appb-000006
Figure PCTCN2019073811-appb-000006
对于当前负载执行任务由m2个不同的负载执行信息重复拼装m1次形成的情况下,该当前负载执行任务中m1*m2个负载执行信息可以按照m2个负载执行信息中各个负载执行信息所指示动作的执行顺序进行排序。采用这样的方式,当移动平台执行当前负载执行任务时,可以顺序检测m1次该m2个负载执行信息,进而重复执行m1次各个负载执行信息所指示的动作。When the current load execution task is formed by repeatedly assembling m2 different load execution information m1 times, the m1*m2 load execution information in the current load execution task can follow the actions indicated by each load execution information in the m2 load execution information The order of execution is sorted. In this way, when the mobile platform executes the current load execution task, the m2 pieces of load execution information can be sequentially detected m1 times, and then the actions indicated by the respective load execution information are repeatedly executed m1 times.
示例性地,假设m1为2,m2为3,当前负载执行任务如表2-1所示,该当前负载执行任务由负载执行信息1、负载执行信息2以及负载执行信息3重复拼装2次形成,这三个负载执行信息所指示的动作的执行顺序分别为:负载执行信息2、负载执行信息1和负载执行信息3。这种情况下,移动平台可以以负载执行信息1、负载执行信息2和负载执行信息3所指示的动作的执行顺 序为排序基准,对该负载执行信息1、负载执行信息2和负载执行信息3进行循环排序,排序后的当前负载执行任务可以参见表2-1所示。。进一步地,当移动平台执行如表2-1所示的当前负载执行任务时,当首次检测完毕负载执行信息1、负载执行信息2和负载执行信息3后,可以再次重复检测负载执行信息1、负载执行信息2和负载执行信息3。Illustratively, suppose that m1 is 2 and m2 is 3. The current load execution task is shown in Table 2-1. The current load execution task is formed by repeated assembly of load execution information 1, load execution information 2 and load execution information 3 twice. , The execution sequence of the actions indicated by the three load execution information are: load execution information 2, load execution information 1, and load execution information 3. In this case, the mobile platform can use the execution order of the actions indicated by the load execution information 1, the load execution information 2 and the load execution information 3 as the sorting reference, and the load execution information 1, the load execution information 2 and the load execution information 3. Perform cyclic sorting. The current load execution tasks after sorting can be seen in Table 2-1. . Further, when the mobile platform executes the current load execution tasks as shown in Table 2-1, after the load execution information 1, load execution information 2 and load execution information 3 are detected for the first time, the load execution information 1 can be repeatedly detected again. Load execution information 2 and load execution information 3.
移动平台获取到当前负载执行任务之后,可以在S302中按照预设顺序规则,检测当前负载执行任务中的负载执行信息对应的触发事件是否发生。其中,该预设顺序该规则为预先配置的。在一个实施例中,该预设顺序规则可以与当前负载执行任务中各个负载执行信息的排列顺序相关联。示例性,该预设顺序规则所指示的负载执行信息的检测顺序可以与该排列顺序相同。例如,当前负载执行任务中包括负载执行信息1、负载执行信息2和负载执行信息3,在当前负载任务中将上述3个负载执行信息按照负载执行信息2、负载执行信息1和负载执行信息3的排列顺序进行排序。这种情况下,移动平台可以基于该排列顺序生成预设顺序规则,该预设顺序规则所指示的各个负载执行信息的检测顺序依然为:负载执行信息2、负载执行信息1和负载执行信息3。After the mobile platform obtains the current load execution task, it can detect whether the trigger event corresponding to the load execution information in the current load execution task occurs in S302 according to the preset order rule. Wherein, the preset order and the rule are pre-configured. In an embodiment, the preset sequence rule may be associated with the sequence of the various load execution information in the current load execution task. Exemplarily, the detection order of the load execution information indicated by the preset order rule may be the same as the arrangement order. For example, the current load execution task includes load execution information 1, load execution information 2 and load execution information 3. In the current load task, the above three load execution information are divided into load execution information 2, load execution information 1 and load execution information 3. The sort order is sorted. In this case, the mobile platform can generate a preset order rule based on the arrangement order, and the detection order of each load execution information indicated by the preset order rule is still: load execution information 2, load execution information 1, and load execution information 3. .
在一个实施例中,移动平台还可以基于预设划分原则,将当前负载执行任务中的负载执行信息进行划分,得到至少一个负载执行信息集合,每个负载执行信息集合包括至少一个负载执行信息。进一步地,可以按照上述预设顺序规则,检测至少一个负载执行信息集合中的目标负载执行信息集合中的负载执行信息对应的触发事件是否发生。In one embodiment, the mobile platform may also divide the load execution information in the current load execution task based on a preset division principle to obtain at least one load execution information set, and each load execution information set includes at least one load execution information. Further, it is possible to detect whether a trigger event corresponding to the load execution information in the target load execution information set in the at least one load execution information set occurs according to the aforementioned preset order rule.
在一个实施例中,可以基于移动平台的移动路线中的位移点与负载执行信息的对应关系,对当前负载执行任务中的负载执行信息进行划分,得到至少一个负载执行信息集合。其中,不同负载执行信息集合对应不同位移点之间的负载执行信息。在一个实施例中,一个位移点可以对应至少一个负载执行信息,移动平台在对当前负载执行任务中的负载执行信息进行划分时,可以将同一位移点对应的至少一个负载执行信息划分至同一负载执行集合,进而得到至少一个负载执行信息集合。In one embodiment, the load execution information in the current load execution task may be divided based on the correspondence between the displacement points in the moving route of the mobile platform and the load execution information to obtain at least one load execution information set. Among them, different load execution information sets correspond to load execution information between different displacement points. In one embodiment, one displacement point may correspond to at least one load execution information. When the mobile platform divides the load execution information in the current load execution task, it may divide at least one load execution information corresponding to the same displacement point into the same load. The execution set, and then at least one load execution information set is obtained.
其中,由于移动平台的移动路线是预先规划的,因此,移动路线中各个位移点的移动顺序也是预先确定的。在一个实施例中,移动平台可以依据移动路 线中各个位移点的移动顺序,确定至少一个负载执行信息集合中的各个负载执行信息集合的检测顺序。例如,位移点A对应负载执行信息集合01、位移点B对应负载执行信息集合02。这种情况下,当移动平台移动至位移点A时,将负载执行信息集合01确定为目标负载执行信息集合,并检测负载执行信息集合01中的负载执行信息对应的触发事件是否发生。进一步地,当移动平台移动至位移点B时,将负载执行信息集合02确定为目标负载执行信息集合,并检测负载执行信息集合02中的负载执行信息对应的触发事件是否发生。Among them, since the movement route of the mobile platform is planned in advance, the movement sequence of each displacement point in the movement route is also predetermined. In an embodiment, the mobile platform may determine the detection order of each load execution information set in the at least one load execution information set according to the movement sequence of each displacement point in the movement route. For example, displacement point A corresponds to load execution information set 01, and displacement point B corresponds to load execution information set 02. In this case, when the mobile platform moves to the displacement point A, the load execution information set 01 is determined as the target load execution information set, and whether a trigger event corresponding to the load execution information in the load execution information set 01 occurs is detected. Further, when the mobile platform moves to the displacement point B, the load execution information set 02 is determined as the target load execution information set, and it is detected whether a trigger event corresponding to the load execution information in the load execution information set 02 occurs.
在一个实施例中,移动平台可以根据负载执行信息所指示的动作的发生时间顺序和负载执行信息的对应关系,对当前负载执行任务中的负载执行信息进行划分,得到至少一个负载执行信息集合。其中,不同负载执行信息集合对应不同发生时间顺序的负载执行信息。在一个实施例中,该发生时间可以为一个时间段,在同一时间段内可以对应至少一个负载执行信息,一个时间段与另一时间段之间存在发生时间顺序。示例性地,假设负载执行信息所指示的动作的发生时间顺序和负载执行信息的对应关系如表2-2所示,这种情况下,基于如表2-2所示的对应关系,将负载执行信息1和负载执行信息2划分至第一负载执行信息集合,将负载执行信息3、负载执行信息4和负载执行信息5划分至第二负载执行信息集合,将负载执行信息6和负载执行信息7划分至第三负载执行信息集合,将负载执行信息8和负载执行信息9划分至第四负载执行信息集合。In one embodiment, the mobile platform may divide the load execution information in the current load execution task according to the time sequence of the actions indicated by the load execution information and the corresponding relationship between the load execution information to obtain at least one load execution information set. Among them, different load execution information sets correspond to load execution information in different occurrence time sequences. In one embodiment, the occurrence time may be a time period, at least one piece of load execution information may be corresponding to the same time period, and there is a time sequence of occurrence between one time period and another time period. Exemplarily, suppose the corresponding relationship between the occurrence time sequence of the actions indicated by the load execution information and the load execution information is shown in Table 2-2. In this case, based on the corresponding relationship shown in Table 2-2, the load Divide execution information 1 and load execution information 2 into the first load execution information set, divide load execution information 3, load execution information 4, and load execution information 5 into the second load execution information set, and divide load execution information 6 and load execution information 7 is divided into the third load execution information set, and the load execution information 8 and the load execution information 9 are divided into the fourth load execution information set.
表2-2Table 2-2
Figure PCTCN2019073811-appb-000007
Figure PCTCN2019073811-appb-000007
在一个实施例中,移动平台还可以依照上述发生时间顺序,确定至少一个 负载执行信息集合中的各个负载执行信息集合的检测顺序。以基于表2-2表征的对应关系,所划分得到的上述第一负载执行信息集合、第二负载执行信息集合、第三负载执行信息集合以及第四负载执行信息集合为例,则可以依据如表2-2所示的发生时间顺序,将这4个负载执行信息集合的检测顺序确定为:一负载执行信息集合、第二负载执行信息集合、第三负载执行信息集合和第四负载执行信息集合。这种情况下,当移动平台开始移动时,可以开启计时器进行计时,可以在计时器对应时长小于10分钟时,将第一负载执行信息集合确定为目标负载执行信息集合,并检测第一负载执行信息集中的负载执行信息对应的触发事件是否发生。在计时器对应的时长大于10分钟,小于20分钟时,将将第二负载执行信息集合确定为目标负载执行信息集合,并检测第二负载执行信息集中的负载执行信息对应的触发事件是否发生。后续的第三负载执行信息集合以及第四负载执行信息集合依次类推,此处不再赘述。In an embodiment, the mobile platform may also determine the detection sequence of each load execution information set in the at least one load execution information set according to the aforementioned time sequence of occurrence. Taking the first load execution information set, the second load execution information set, the third load execution information set, and the fourth load execution information set divided based on the corresponding relationship represented by Table 2-2 as an example, it can be based on The time sequence of occurrence shown in Table 2-2 determines the detection sequence of the four load execution information sets as: a load execution information set, a second load execution information set, a third load execution information set, and a fourth load execution information set. In this case, when the mobile platform starts to move, a timer can be started for timing. When the corresponding time of the timer is less than 10 minutes, the first load execution information set can be determined as the target load execution information set, and the first load can be detected Whether the trigger event corresponding to the load execution information in the execution information set occurs. When the duration corresponding to the timer is greater than 10 minutes and less than 20 minutes, the second load execution information set is determined as the target load execution information set, and whether a trigger event corresponding to the load execution information in the second load execution information set occurs is detected. The subsequent third load execution information set and the fourth load execution information set can be deduced by analogy, which will not be repeated here.
移动平台按照预设顺序规则,检测当前负载执行任务中的负载执行信息对应的触发事件是否发生之后,当在步骤S303中检测到目标负载执行信息中的目标触发事件发生时,可以控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作。其中,步骤S303的具体实现方式,可以参见上述实施例中步骤S202的相关描述,此处不再赘述。After the mobile platform detects whether the trigger event corresponding to the load execution information in the current load execution task occurs according to the preset order rule, when the target trigger event in the target load execution information is detected in step S303, it can control the target load execution The target load corresponding to the target trigger event performs the action indicated by the action information. For the specific implementation of step S303, reference may be made to the related description of step S202 in the foregoing embodiment, which will not be repeated here.
在一个实施例中,上述当前负载执行任务中存在至少两个负载执行信息所指示的动作相同且执行顺序不同。示例性地,假设负载执行信息1和负载执行信息所对应的目标负载均为相机,负载执行信息1所指示的动作1为控制相机拍照,负载执行信息2所指示的动作2也为控制相机拍照,两个动作的执行顺序不同,动作1先于动作2执行,其中,执行动作1与执行动作2的相机可以为同一个相机,也可以为两个不同的相机。这种情况下,当移动平台检测到负载执行信息1对应的触发事件发生时,可以控制相机拍照。进一步地,当移动平台检测到负载执行信息2对应的触发事件发生时,可以再次控制相机拍照。In one embodiment, there are at least two actions indicated by the load execution information in the current load execution task that are the same and have different execution orders. Exemplarily, suppose that the target load corresponding to the load execution information 1 and the load execution information are both cameras, the action 1 indicated by the load execution information 1 is to control the camera to take pictures, and the action 2 indicated by the load execution information 2 is to control the camera to take pictures. , The execution order of the two actions is different. Action 1 is executed before Action 2. The camera that executes Action 1 and Action 2 can be the same camera or two different cameras. In this case, when the mobile platform detects that the trigger event corresponding to load execution information 1 occurs, it can control the camera to take pictures. Further, when the mobile platform detects that the trigger event corresponding to the load execution information 2 occurs, it can control the camera to take pictures again.
本发明实施例中,移动平台可以获取包括至少一个负载执行信息的当前负载执行任务,该负载执行信息表征触发事件与负载执行动作信息之间的对应关系。进一步地,按照预设顺序规则,检测当前负载执行任务中的负载执行信息对应的触发事件是否发生,当目标负载执行信息中的目标触发事件发生时,可 以控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作。采用本发明实施例,可以按照预设顺序规则对当前负载执行任务中的各个负载执行信息进行轮询检测,有利于提高当前负载执行任务的执行效率。In the embodiment of the present invention, the mobile platform can obtain the current load execution task including at least one load execution information, and the load execution information represents the corresponding relationship between the trigger event and the load execution action information. Further, according to the preset sequence rules, it is detected whether the trigger event corresponding to the load execution information in the current load execution task occurs. When the target trigger event in the target load execution information occurs, the target load can be controlled to execute the target corresponding to the target trigger event. The load performs the action indicated by the action information. By adopting the embodiment of the present invention, it is possible to poll and detect each load execution information in the current load execution task according to the preset order rule, which is beneficial to improve the execution efficiency of the current load execution task.
参见图4,图4是本发明实施例提供的又一种负载的控制方法的流程示意图,本发明实施例的所述方法可以由移动平台来执行,该移动平台挂载有多个负载。Referring to FIG. 4, FIG. 4 is a schematic flowchart of another load control method provided by an embodiment of the present invention. The method in the embodiment of the present invention may be executed by a mobile platform that has multiple loads mounted on the mobile platform.
在图4所示的负载的控制方法中,移动平台可以在S401中获取移动平台的当前负载执行任务,在该当前负载执行任务中,至少两个负载执行信息对应的负载执行动作信息所指示的动作的执行时间相关联。In the load control method shown in FIG. 4, the mobile platform may obtain the current load execution task of the mobile platform in S401. In the current load execution task, at least two load execution information corresponding to the load execution action information indicate The execution time of the action is associated.
在一个实施例中,假设负载执行信息1所指示的动作的执行时间与负载执行信息2所指示的动作的执行时间之间存在关联关系,该关联关系如表3-1所示,可以看出,负载执行信息1所指示的动作的执行时间与负载执行信息2所指示的动作的执行时间之间可以存在多种关联关系。In one embodiment, it is assumed that there is an association relationship between the execution time of the action indicated by the load execution information 1 and the execution time of the action indicated by the load execution information 2. The association relationship is shown in Table 3-1, which can be seen There may be multiple associations between the execution time of the action indicated by the load execution information 1 and the execution time of the action indicated by the load execution information 2.
表3-1Table 3-1
Figure PCTCN2019073811-appb-000008
Figure PCTCN2019073811-appb-000008
移动平台获取到当前负载执行任务之后,当检测到目标负载执行信息中的目标触发事件发生时,可以在步骤S402中控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作。After acquiring the current load execution task, the mobile platform can control the target load to execute the action indicated by the target load execution action information corresponding to the target trigger event when it detects that the target trigger event in the target load execution information occurs.
其中,目标负载执行信息所指示的动作的执行时间与其他负载执行信息所指示的动作的执行时间之间可以存在第一关联关系、第二关联关系、第三关联关系和第四关联关系中的至少一个。其中,第一关联关系用于指示其他负载执行信息所指示的动作开始执行时,上述目标负载执行信息所指示的动作的才能开始执行;第二关联关系用于指示其他负载执行信息所指示的动作结束执行时,目标负载执行信息所指示的动作的才能开始执行;第三关联关系用于指示其他负载执行信息所指示的动作开始执行时,目标负载执行信息所指示的动作的才能结束执行;第四关联关系用于指示其他负载执行信息所指示的动作结束执行时,目标负载执行信息所指示的动作的才能结束执行。Among them, the execution time of the action indicated by the target load execution information and the execution time of the action indicated by the other load execution information may exist among the first, second, third, and fourth associations. at least one. Wherein, the first association relationship is used to indicate that the action indicated by the target load execution information can be started when the action indicated by other load execution information starts to be executed; the second association relationship is used to indicate the action indicated by other load execution information When the execution ends, only the action indicated by the target load execution information can start execution; the third association is used to indicate that when the action indicated by other load execution information starts to execute, the execution of the action indicated by the target load execution information can end; The four-association relationship is used to indicate that when the action indicated by other load execution information ends, the execution of the action indicated by the target load execution information can end.
在一个实施例中,当移动平台检测到目标负载执行信息中的目标触发事件发生时,可以检测该目标负载执行信息所指示的动作的执行时间与其他负载执行信息所指示的动作的执行时间之间是否存在第一关联关系或者第二关联关系。进一步地,若移动平台检测到目标负载执行信息所指示的动作的执行时间与其他负载执行信息所指示的动作的执行时间之间存在第一关联关系,则可以检测该其他负载执行信息所指示的动作是否开始执行,若是,则执行控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作的步骤。若否,则等待到该其他负载执行信息所指示的动作开始执行时,再执行控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作的步骤。In one embodiment, when the mobile platform detects that the target trigger event in the target load execution information occurs, it can detect the execution time of the action indicated by the target load execution information and the execution time of the action indicated by other load execution information. Whether there is a first association relationship or a second association relationship between. Further, if the mobile platform detects that there is a first correlation between the execution time of the action indicated by the target load execution information and the execution time of the action indicated by other load execution information, it can detect the execution time indicated by the other load execution information Whether the action starts to be executed, and if so, execute the step of controlling the target load to execute the action indicated by the action information by the target load corresponding to the target trigger event. If not, wait until the action indicated by the other load execution information starts to execute, and then execute the step of controlling the target load to execute the action indicated by the target load execution action information corresponding to the target trigger event.
或者,若移动平台检测到目标负载执行信息所指示的动作的执行时间与其他负载执行信息所指示的动作的执行时间之间存在第二关联关系,则可以检测该其他负载执行信息所指示的动作是否结束执行,若已结束执行,则执行控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作的步骤。若未结束执行,则等待到该其他负载执行信息所指示的动作结束执行时,再执行控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作的步骤。Or, if the mobile platform detects that there is a second correlation between the execution time of the action indicated by the target load execution information and the execution time of the action indicated by other load execution information, it can detect the action indicated by the other load execution information Whether to end the execution, and if the execution has ended, execute the step of controlling the target load to execute the action indicated by the target load corresponding to the target trigger event. If the execution is not finished, wait until the action indicated by the other load execution information ends execution, and then execute the step of controlling the target load to execute the target load corresponding to the target trigger event to execute the action indicated by the action information.
在一个实施例中,当移动平台控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作之后,可以检测目标负载执行信息所指示的动作的执行时间与其他负载执行信息所指示的动作的执行时间之间是否存在第三关联关系或者第四关联关系。若移动平台检测到目标负载执行信息所指示的 动作的执行时间与其他负载执行信息所指示的动作的执行时间之间存在第三关联关系,则可以检测该其他负载执行信息所指示的动作是否开始执行,若已开始执行,则结束控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作。若未开始执行,则等待到该其他负载执行信息所指示的动作开始执行时,再结束控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作。In one embodiment, after the mobile platform controls the target load to execute the action indicated by the target load corresponding to the target trigger event, it can detect the execution time of the action indicated by the target load execution information and the execution time indicated by other load execution information. Whether there is a third relationship or a fourth relationship between the execution times of the actions. If the mobile platform detects that there is a third correlation between the execution time of the action indicated by the target load execution information and the execution time of the action indicated by other load execution information, it can detect whether the action indicated by the other load execution information has started Execution, if the execution has started, the control target load is ended to execute the action indicated by the target load execution action information corresponding to the target trigger event. If the execution has not started, wait until the action indicated by the other load execution information starts to execute, and then stop controlling the target load to execute the action indicated by the target load corresponding to the target trigger event.
或者,若移动平台检测到目标负载执行信息所指示的动作的执行时间与其他负载执行信息所指示的动作的执行时间之间存在第四关联关系,则可以检测该其他负载执行信息所指示的动作是否结束执行,若已结束执行,则结束控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作。若未结束执行,则等待到该其他负载执行信息所指示的动作结束执行时,再结束控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作。Or, if the mobile platform detects that there is a fourth correlation between the execution time of the action indicated by the target load execution information and the execution time of the action indicated by other load execution information, it can detect the action indicated by the other load execution information Whether to end the execution, if the execution has ended, the control target load will end to execute the action indicated by the target load execution action information corresponding to the target trigger event. If the execution has not ended, wait until the action indicated by the other load execution information ends execution, and then end the control target load to execute the action indicated by the target load corresponding to the target trigger event.
示例性地,假设负载执行信息1所指示的动作的执行时间与负载执行信息2所指示的动作的执行时间之间存在关联关系为:负载执行信息1所指示的动作结束执行后,负载执行信息2所指示的动作才能开始执行。其中,负载执行信息1所指示的动作为控制云台俯仰角转动θ度,负载执行信息2所指示的动作为控制相机拍照。这种情况下,当移动平台检测到负载执行信息2的触发事件发生时,检测到负载执行信息2所指示的动作执行时间与负载执行信息1所指示的动作执行时间存在上述关联关系,则可以检测控制云台俯仰角是否已经转动θ度,若是,则可以确定负载执行信息1所指示的动作已执行结束。进一步地,移动平台可以基于负载执行信息1将相机确定为目标负载,并控制相机拍照。Exemplarily, assuming that there is an association between the execution time of the action indicated by the load execution information 1 and the execution time of the action indicated by the load execution information 2: After the execution of the action indicated by the load execution information 1 ends, the load execution information 2 The indicated action can be executed. The action indicated by the load execution information 1 is to control the tilt angle of the pan/tilt to rotate by θ degrees, and the action indicated by the load execution information 2 is to control the camera to take pictures. In this case, when the mobile platform detects that the trigger event of load execution information 2 occurs, it detects that the action execution time indicated by load execution information 2 and the action execution time indicated by load execution information 1 have the above-mentioned correlation, then It is detected whether the pitch angle of the control pan/tilt has been rotated by θ degrees, and if so, it can be determined that the action indicated by the load execution information 1 has been executed. Further, the mobile platform may determine the camera as the target load based on the load execution information 1 and control the camera to take pictures.
本发明实施例中,移动平台可以获取包括至少一个负载执行信息的当前负载执行任务,在该当前负载执行任务中,至少两个负载执行信息对应的负载执行动作信息所指示的动作的执行时间相关联。进一步地,当目标负载执行信息中的目标触发事件发生时,可以控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作。采用本发明实施例,增加了负载执行动作信息所指示的动作的执行时间之间的关联关系,一方面,可以自动实现多个动作的关联执行,而无需用户操作,有利于提高负载控制的智能性;另一方面,还可 以增加移动平台控制目标负载执行相应动作的复杂性,有利于进一步扩大移动平台的应用范围。In the embodiment of the present invention, the mobile platform may obtain the current load execution task including at least one load execution information. In the current load execution task, the execution time of the action indicated by the load execution action information corresponding to the at least two load execution information is related United. Further, when the target trigger event in the target load execution information occurs, the target load can be controlled to execute the action indicated by the target load execution action information corresponding to the target trigger event. The embodiment of the present invention increases the correlation between the execution time of the action indicated by the load execution action information. On the one hand, the correlation execution of multiple actions can be automatically realized without user operation, which is beneficial to improve the intelligence of load control. On the other hand, it can also increase the complexity of the mobile platform to control the target load to perform corresponding actions, which is beneficial to further expand the application range of the mobile platform.
参见图5,图5是本发明实施例提供的又一种负载的控制方法的流程示意图,本发明实施例的所述方法可以由移动平台来执行,该移动平台挂载有多个负载。Referring to FIG. 5, FIG. 5 is a schematic flowchart of yet another load control method provided by an embodiment of the present invention. The method in the embodiment of the present invention may be executed by a mobile platform with multiple loads mounted on the mobile platform.
在图5所示的负载的控制方法中,可以在S501中获取包括至少一个负载执行信息的当前负载执行任务。其中,步骤S501的具体实施方式,可以参见上述实施例中步骤S201中的相关描述,此处不再赘述。In the load control method shown in FIG. 5, the current load execution task including at least one load execution information may be acquired in S501. For the specific implementation of step S501, reference may be made to the related description in step S201 in the foregoing embodiment, and details are not repeated here.
移动平台获取到当前负载执行任务之后,可以在S502中检测当前负载执行任务是否异常。若无异常,则在S503中当目标负载执行信息中的目标触发事件发生时,基于目标触发事件对应的目标负载执行动作信息从多个负载中确定出目标负载,并控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作。若异常,则根据异常结果执行相应的预设策略。其中,在一个实施例中,该预设策略可以为输出该异常结果,以便于开发人员查看该异常结果后,及时处理。在另一个实施例中,该预设策略还可以包括输出异常提示信息,该异常提示信息用于提示用户当前负载执行任务异常。After the mobile platform obtains the current load execution task, it can detect whether the current load execution task is abnormal in S502. If there is no abnormality, when the target trigger event in the target load execution information occurs in S503, the target load is determined from multiple loads based on the target load execution action information corresponding to the target trigger event, and the target load is controlled to execute the target trigger event The corresponding target load performs the action indicated by the action information. If it is abnormal, execute the corresponding preset strategy according to the abnormal result. Wherein, in one embodiment, the preset strategy may be to output the abnormal result, so that the developer can handle the abnormal result in time after viewing the abnormal result. In another embodiment, the preset strategy may further include outputting abnormal prompt information, and the abnormal prompt information is used to prompt the user that the current load execution task is abnormal.
在一个实施例中,当前负载执行任务中包括至少一个负载执行信息。这种情况下,移动平台可以检测当前负载执行任务中的负载执行信息是否异常,若任一负载执行信息异常,则可以确定当前负载执行任务异常。In one embodiment, the current load execution task includes at least one load execution information. In this case, the mobile platform can detect whether the load execution information in the current load execution task is abnormal, and if any load execution information is abnormal, it can determine that the current load execution task is abnormal.
其中,确定负载执行信息异常的方式包括如下中的至少一种:负载执行信息的内容异常、负载执行信息的数据格式异常、负载执行信息不完整、负载执行信息对应的负载无效、负载执行信息对应的预设标识不唯一。在一个实施例中,该负载执行信息不完整,可以指负载执行信息存在缺失,例如负载执行信息中的缺少某一字段(如预设标识),缺少某一触发参数等等。该负载执行信息对应的预设标识不唯一,可以指在当前负载执行任务中,存在多个重复的预设标识。例如,负载执行信息1对应的预设标识与负载执行信息2对应的预设标识相同。Wherein, the method of determining the abnormality of the load execution information includes at least one of the following: abnormal content of the load execution information, abnormal data format of the load execution information, incomplete load execution information, invalid load corresponding to the load execution information, and corresponding load execution information The preset ID of is not unique. In one embodiment, the load execution information is incomplete, which may refer to the lack of load execution information, for example, the lack of a certain field (such as a preset identifier) in the load execution information, the lack of a certain trigger parameter, and so on. The preset identifier corresponding to the load execution information is not unique, and may mean that there are multiple repeated preset identifiers in the current load execution task. For example, the preset identifier corresponding to load execution information 1 is the same as the preset identifier corresponding to load execution information 2.
在一个实施例中,负载执行信息对应的负载无效,可以指负载执行信息对应的负载未挂载在移动平台上或者与移动平台没有通信连接。在另一个实施例 中,若负载执行信息对应的目标负载为移动平台通过通讯端口连接的第三方负载,该负载执行信息对应的负载无效,还可以指上述通讯端口异常(如该通讯端口失效)。In one embodiment, the load corresponding to the load execution information is invalid, which may mean that the load corresponding to the load execution information is not mounted on the mobile platform or has no communication connection with the mobile platform. In another embodiment, if the target load corresponding to the load execution information is a third-party load connected by the mobile platform through a communication port, the load corresponding to the load execution information is invalid, which can also mean that the communication port is abnormal (for example, the communication port fails) .
在一个实施例中,该确定负载执行信息异常的方式还可以包括如下中的至少一种:负载执行信息中的触发类型异常、负载执行信息中的触发参数异常、负载执行信息中的负载类型异常、负载执行信息中的执行动作类型异常和负载执行信息中的执行动作参数异常。In one embodiment, the method for determining abnormality of load execution information may further include at least one of the following: abnormal trigger type in load execution information, abnormal trigger parameter in load execution information, abnormal load type in load execution information , The execution action type in the load execution information is abnormal and the execution action parameter in the load execution information is abnormal.
在一个实施例中,移动平台挂载的多个负载中包括至少两个相同类型的负载。例如,移动平台挂载的多个负载中可以包括两个相机。In one embodiment, the multiple loads mounted on the mobile platform include at least two loads of the same type. For example, the multiple loads mounted on the mobile platform may include two cameras.
在一个实施例中,在上述当前负载执行任务中,至少两个负载执行信息对应的触发事件相同。例如,负载执行信息1对应的触发事件为到达航点A,该负载执行信息1中负载执行动作信息对应的负载类型为云台,该负载执行动作信息所指示的动作为在当前基础上转动俯仰角θ度;负载执行信息2对应的触发事件同样也为到达航点A,该负载执行信息2中负载执行动作信息对应的负载类型为相机,该负载执行动作信息所指示的动作为拍照。这种情况下,当移动平台检测到到达航点A时,可以确定负载执行信息1和负载执行信息2各自对应的触发事件均发生,并将云台和相机均确定为目标负载,进而控制云台在当前基础上转动俯仰角θ度,并控制相机拍照。In one embodiment, in the foregoing current load execution task, trigger events corresponding to at least two load execution information are the same. For example, the trigger event corresponding to load execution information 1 is arrival at waypoint A, the load type corresponding to the load execution action information in the load execution information 1 is PTZ, and the action indicated by the load execution action information is pitching based on the current basis. Angle θ degrees; the trigger event corresponding to the load execution information 2 is also the arrival at waypoint A, the load type corresponding to the load execution action information in the load execution information 2 is a camera, and the action indicated by the load execution action information is a photo. In this case, when the mobile platform detects that it has reached waypoint A, it can be determined that the trigger events corresponding to load execution information 1 and load execution information 2 have occurred, and the pan/tilt and camera are determined as the target load, and then the cloud is controlled The station rotates the pitch angle θ degrees on the current basis and controls the camera to take pictures.
在一个实施例中,在上述当前负载执行任务中,至少两个负载执行信息对应的负载执行动作信息相同。其中,在一个实施例中,至少两个负载执行信息对应的负载执行动作信息相同,但该至少两个负载执行信息的触发事件不同。例如,负载执行信息1对应的触发事件为进入指定区域P1,该负载执行信息1中负载执行动作信息1对应的负载类型为相机,该负载执行动作信息所指示的动作为拍照;负载执行信息2对应的触发事件为进入指定区域P2,该负载执行信息2中的负载执行动作信息与上述负载执行动作信息1相同。这种情况下,当移动平台进入指定区域P1时,可以控制相机拍照,当进入指定区域P2时,可以再次控制相机拍照。In one embodiment, in the foregoing current load execution task, the load execution action information corresponding to the at least two load execution information is the same. Wherein, in one embodiment, the load execution action information corresponding to the at least two load execution information is the same, but the trigger events of the at least two load execution information are different. For example, the trigger event corresponding to the load execution information 1 is entering the designated area P1, the load type corresponding to the load execution action information 1 in the load execution information 1 is a camera, and the action indicated by the load execution action information is a photo; load execution information 2 The corresponding trigger event is entering the designated area P2, and the load execution action information in the load execution information 2 is the same as the load execution action information 1 described above. In this case, when the mobile platform enters the designated area P1, it can control the camera to take pictures, and when it enters the designated area P2, it can control the camera to take pictures again.
本发明实施例中,移动平台可以检测当前负载执行任务是否异常,若无异常,则当目标负载执行信息中的目标触发事件发生时,基于目标触发事件对应 的目标负载执行动作信息从多个负载中确定出目标负载,并控制目标负载执行目标触发事件对应的目标负载执行动作信息所指示的动作。采用本发明实施例,增加了对当前负载执行任务的异常检测,保证了对负载进行控制的准确性。In the embodiment of the present invention, the mobile platform can detect whether the current load execution task is abnormal. If there is no abnormality, when the target trigger event in the target load execution information occurs, the target load execution action information corresponding to the target trigger event is obtained from multiple loads. Determine the target load and control the target load to perform the action indicated by the target load corresponding to the target trigger event. With the embodiment of the present invention, the abnormal detection of the current load execution task is increased, and the accuracy of the load control is ensured.
基于上述方法实施例的描述,在一个实施例中,本发明实施例还提供了一种如图6所示的负载的控制装置。其中,所述控制装置可以配置于但不限于移动平台,该移动平台挂载有多个负载,所述控制装置包括:Based on the description of the foregoing method embodiment, in one embodiment, the embodiment of the present invention also provides a load control device as shown in FIG. 6. Wherein, the control device may be configured on but not limited to a mobile platform with multiple loads mounted on the mobile platform, and the control device includes:
获取模块60,用于获取所述移动平台的当前负载执行任务,所述当前负载执行任务包括至少一个负载执行信息,所述负载执行信息表征触发事件与负载执行动作信息之间的对应关系;The acquiring module 60 is configured to acquire the current load execution task of the mobile platform, the current load execution task includes at least one load execution information, and the load execution information represents the corresponding relationship between the trigger event and the load execution action information;
处理模块61,用于当目标负载执行信息中的目标触发事件发生时,控制目标负载执行所述目标触发事件对应的目标负载执行动作信息所指示的动作;The processing module 61 is configured to, when the target trigger event in the target load execution information occurs, control the target load to execute the action indicated by the target load execution action information corresponding to the target trigger event;
其中,所述目标负载为基于所述目标负载执行动作信息从多个所述负载中确定,所述目标负载执行信息为至少一个所述负载执行信息中的任一个。The target load is determined from a plurality of loads based on the target load execution action information, and the target load execution information is any one of at least one of the load execution information.
在一个实施例中,所述获取模块60,还用于获取所述移动平台的移动路线规划信息;所述处理模块61,还用于在根据所述移动路线规划信息控制所述移动平台的移动过程中,检测所述目标触发事件是否发生。In one embodiment, the acquisition module 60 is further used to acquire the mobile platform planning information of the mobile platform; the processing module 61 is also used to control the movement of the mobile platform according to the mobile platform planning information. In the process, it is detected whether the target trigger event occurs.
在一个实施例中,所述移动路线规划信息包括多个位移点,所述目标触发事件能够与多个所述位移点不关联。In an embodiment, the movement route planning information includes a plurality of displacement points, and the target trigger event can be unrelated to the plurality of displacement points.
在一个实施例中,所述负载执行信息为基于所述移动平台的预期负载执行任务进行配置得到。In one embodiment, the load execution information is configured based on expected load execution tasks of the mobile platform.
在一个实施例中,预设存储装置中存储有多个所述负载执行信息,所述当前负载执行任务为在多个所述负载执行信息中选择的至少一个所述负载执行信息形成。In one embodiment, a plurality of load execution information is stored in the preset storage device, and the current load execution task is formed by at least one load execution information selected from the plurality of load execution information.
在一个实施例中,每个所述负载执行信息具有用于指示负载执行动作的预设标识,每个所述负载执行信息对应的预设标识不同。In one embodiment, each of the load execution information has a preset identifier for indicating a load execution action, and each of the load execution information corresponds to a different preset identifier.
在一个实施例中,所述当前负载执行任务为基于所述预设标识在多个所述负载执行信息中的选择操作得到。In an embodiment, the current load execution task is obtained based on a selection operation of the preset identifier in the plurality of load execution information.
在一个实施例中,所述预设存储装置中存储的多个负载执行信息为基于指定操作指令进行更新。In an embodiment, the plurality of load execution information stored in the preset storage device is updated based on a specified operation instruction.
在一个实施例中,所述指定操作指令包括如下中的至少一种:删除多个所述负载执行信息中的第一负载执行信息、替换多个所述负载执行信息中的第二负载执行信息、修改多个所述负载执行信息中的第三负载执行信息、增加第四负载执行信息至多个所述负载执行信息中。In an embodiment, the specified operation instruction includes at least one of the following: deleting the first load execution information in the plurality of load execution information, and replacing the second load execution information in the plurality of load execution information , Modify the third load execution information in the plurality of load execution information, and add the fourth load execution information to the plurality of load execution information.
在一个实施例中,一个所述负载执行信息包括至少一个所述触发事件以及至少一个所述负载执行动作信息;其中,一个所述负载执行动作信息与一个或以上的所述触发事件对应。In one embodiment, one piece of load execution information includes at least one of the trigger events and at least one piece of load execution action information; wherein, one piece of the load execution action information corresponds to one or more of the trigger events.
在一个实施例中,所述触发事件包括触发类型以及所述触发类型对应的触发参数。In an embodiment, the trigger event includes a trigger type and a trigger parameter corresponding to the trigger type.
在一个实施例中,一个所述触发类型中,所述触发参数包括一个或以上;所述触发参数为依据所述触发类型确定。In one embodiment, in one of the trigger types, the trigger parameters include one or more; the trigger parameters are determined according to the trigger type.
在一个实施例中,所述处理模块61,还用于根据所述触发类型确定相应的检测参数;根据所述检测参数与所述触发参数,检测所述当前负载执行任务中的负载执行信息对应的触发事件是否发生。In one embodiment, the processing module 61 is further configured to determine corresponding detection parameters according to the trigger type; according to the detection parameters and the trigger parameters, detect that the load execution information in the current load execution task corresponds to Whether the trigger event of the event occurs.
在一个实施例中,所述检测参数包括时间参数、所述移动平台的位置参数、所述移动平台的工作状态参数、所述移动平台所在环境的环境参数中的至少一种。In one embodiment, the detection parameters include at least one of time parameters, location parameters of the mobile platform, working state parameters of the mobile platform, and environmental parameters of the environment where the mobile platform is located.
在一个实施例中,所述负载执行动作信息包括负载类型和/或第三方负载的通讯端口、所述负载类型和/或所述通讯端口对应的执行动作类型以及所述执行动作类型对应的执行动作参数。In one embodiment, the load execution action information includes the load type and/or the communication port of the third-party load, the load type and/or the execution action type corresponding to the communication port, and the execution corresponding to the execution action type Action parameters.
在一个实施例中,一个所述负载类型中,所述执行动作类型包括一个或以上,所述执行动作类型对应的执行动作参数包括一个或以上;所述执行动作参数为依据所述执行动作类型确定。In one embodiment, in one of the load types, the execution action type includes one or more, and the execution action parameter corresponding to the execution action type includes one or more; the execution action parameter is based on the execution action type determine.
在一个实施例中,一个所述负载类型中,所述执行动作类型包括多个,多个所述执行动作类型中的至少两个之间的执行顺序相关联。In one embodiment, in one load type, the execution action type includes multiple, and the execution order between at least two of the multiple execution action types is associated.
在一个实施例中,所述处理模块,还用于确定所述目标触发事件对应的目标负载执行动作信息中的目标负载类型和/或目标通讯端口;将多个所述负载中对应所述目标负载类型和/或所述目标通讯端口对应的负载确定为所述目标负载。In an embodiment, the processing module is further configured to determine the target load type and/or the target communication port in the target load execution action information corresponding to the target trigger event; The load type and/or the load corresponding to the target communication port is determined as the target load.
在一个实施例中,在所述当前负载执行任务中,至少两个所述负载执行信息对应的触发事件相同。In one embodiment, in the current load execution task, at least two trigger events corresponding to the load execution information are the same.
在一个实施例中,在所述当前负载执行任务中,至少两个所述负载执行信息对应的负载执行动作信息相同。In one embodiment, in the current load execution task, load execution action information corresponding to at least two pieces of load execution information is the same.
在一个实施例中,在所述当前负载执行任务中,至少两个所述负载执行信息对应的负载执行动作信息所指示的动作的执行时间相关联。In one embodiment, in the current load execution task, at least two execution times of the actions indicated by the load execution action information corresponding to the load execution information are associated.
在一个实施例中,多个所述负载中包括至少两个相同类型的负载。In one embodiment, the plurality of loads includes at least two loads of the same type.
在一个实施例中,所述当前负载执行任务中的负载执行信息为按照所述负载执行信息所指示的动作的执行顺序排列。In an embodiment, the load execution information in the current load execution task is arranged according to the execution order of the actions indicated by the load execution information.
在一个实施例中,所述当前负载执行任务中的各个负载执行信息所指示的动作至少执行一次;所述当前负载执行任务中的负载执行信息为按照所述负载执行信息所指示的动作的首次执行顺序排列。In one embodiment, the action indicated by each load execution information in the current load execution task is executed at least once; the load execution information in the current load execution task is the first time according to the action indicated by the load execution information The order of execution.
在一个实施例中,所述当前负载执行任务中存在至少两个所述负载执行信息所指示的动作相同且执行顺序不同。In an embodiment, there are at least two actions indicated by the load execution information in the current load execution task that are the same and have different execution orders.
在一个实施例中,所述处理模块61,还用于按照预设顺序规则,检测所述当前负载执行任务中的负载执行信息对应的触发事件是否发生。In one embodiment, the processing module 61 is further configured to detect whether a trigger event corresponding to the load execution information in the current load execution task occurs according to a preset order rule.
在一个实施例中,所述处理模块61,还用于基于预设划分原则,将所述当前负载执行任务中的负载执行信息进行划分,得到至少一个负载执行信息集合,每个所述负载执行信息集合包括至少一个所述负载执行信息;所述处理模块61,具体用于按照所述预设顺序规则,检测至少一个负载执行信息集合中的目标负载执行信息集合中的负载执行信息对应的触发事件是否发生。In one embodiment, the processing module 61 is further configured to divide the load execution information in the current load execution task based on a preset division principle to obtain at least one load execution information set, and each load execution The information set includes at least one piece of the load execution information; the processing module 61 is specifically configured to detect a trigger corresponding to the load execution information in the target load execution information set in the at least one load execution information set according to the preset order rule Whether the event occurred.
在一个实施例中,所述处理模块61,还具体用于基于所述移动平台的移动路线中的位移点与所述负载执行信息的对应关系,对所述当前负载执行任务中的负载执行信息进行划分,得到至少一个负载执行信息集合。In one embodiment, the processing module 61 is further specifically configured to perform load execution information in the current load execution task based on the correspondence between the displacement points in the moving route of the mobile platform and the load execution information Divide to obtain at least one load execution information set.
在一个实施例中,不同负载执行信息集合对应不同位移点之间的负载执行信息。In one embodiment, different load execution information sets correspond to load execution information between different displacement points.
在一个实施例中,所述处理模块61,还用于依照所述移动路线中的各个位移点的移动顺序,确定所述至少一个负载执行信息集合中的各个负载执行信息集合的检测顺序。In one embodiment, the processing module 61 is further configured to determine the detection sequence of each load execution information set in the at least one load execution information set according to the movement sequence of each displacement point in the movement route.
在一个实施例中,所述处理模块61,还具体用于根据所述负载执行信息所指示的动作的发生时间顺序和所述负载执行信息的对应关系,对所述当前负载执行任务中的负载执行信息进行划分,得到至少一个负载执行信息集合。In one embodiment, the processing module 61 is further specifically configured to perform the load in the current load according to the time sequence of the actions indicated by the load execution information and the corresponding relationship between the load execution information. The execution information is divided to obtain at least one load execution information set.
在一个实施例中,不同负载执行信息集合对应不同发生时间顺序的负载执行信息。In one embodiment, different load execution information sets correspond to load execution information in different occurrence time sequences.
在一个实施例中,所述处理模块61,还用于依照发生时间顺序,确定至少一个所述负载执行信息集合中的各个负载执行信息集合的检测顺序。In an embodiment, the processing module 61 is further configured to determine the detection sequence of each load execution information set in the at least one load execution information set according to the time sequence of occurrence.
在一个实施例中,所述处理模块61,还用于检测所述当前负载执行任务是否异常;若无异常,则执行所述当目标负载执行信息中的目标触发事件发生时,基于所述目标触发事件对应的目标负载执行动作信息从多个所述负载中确定出目标负载的步骤;若异常,则根据异常结果执行相应的预设策略。In one embodiment, the processing module 61 is also used to detect whether the current load execution task is abnormal; if there is no abnormality, execute the target trigger event in the target load execution information based on the target The target load execution action information corresponding to the trigger event determines the step of the target load from the plurality of loads; if it is abnormal, the corresponding preset strategy is executed according to the abnormal result.
在一个实施例中,所述处理模块61,还具体用于检测所述当前负载执行任务中的负载执行信息是否异常。In an embodiment, the processing module 61 is further specifically configured to detect whether the load execution information in the current load execution task is abnormal.
在一个实施例中,确定所述负载执行信息异常的方式包括如下中的至少一种:所述负载执行信息的内容异常、所述负载执行信息的数据格式异常、所述负载执行信息不完整、所述负载执行信息对应的负载无效、所述负载执行信息对应的预设标识不唯一。In one embodiment, the method for determining that the load execution information is abnormal includes at least one of the following: the content of the load execution information is abnormal, the data format of the load execution information is abnormal, the load execution information is incomplete, The load corresponding to the load execution information is invalid, and the preset identifier corresponding to the load execution information is not unique.
在本发明实施例中,上述各个模块的具体实现可参考前述附图2、图3、图4或者图5所对应的实施例中相关内容的描述。In the embodiment of the present invention, for the specific implementation of the above-mentioned modules, reference may be made to the description of related content in the embodiment corresponding to FIG. 2, FIG. 3, FIG. 4 or FIG. 5.
请参见图7,是本发明实施例提供的一种负载的控制设备的结构示意性框图。其中,所述控制设备可以配置于但不限于移动平台,所述移动平台挂载有多个负载,所述控制设备可包括处理器70、通信接口71和存储器72,处理器70、通信接口71和存储器72通过总线相连接,所述存储器72用于存储程序指令和负载执行任务。Refer to FIG. 7, which is a schematic block diagram of the structure of a load control device according to an embodiment of the present invention. Wherein, the control device may be configured on but not limited to a mobile platform, the mobile platform is mounted with multiple loads, the control device may include a processor 70, a communication interface 71 and a memory 72, the processor 70, the communication interface 71 It is connected to a memory 72 through a bus, and the memory 72 is used to store program instructions and load execution tasks.
所述存储器72可以包括易失性存储器(volatile memory),如随机存取存储器(random-access memory,RAM);存储器72也可以包括非易失性存储器(non-volatile memory),如快闪存储器(flash memory),固态硬盘(solid-state drive,SSD)等;存储器72也可以是双倍速率同步动态随机存储器(Double Data Rate SDRAM,DDR);存储器72还可以包括上述种类的存储器的组合。The memory 72 may include a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 72 may also include a non-volatile memory (non-volatile memory), such as a flash memory (flash memory), solid-state drive (SSD), etc.; the memory 72 may also be a double-rate synchronous dynamic random access memory (Double Data Rate SDRAM, DDR); the memory 72 may also include a combination of the foregoing types of memories.
本发明实施例中,所述存储器72用于存储计算机程序,所述计算机程序包括程序指令,所述处理器70被配置用于调用所述程序指令时执行:获取所述移动平台的当前负载执行任务,所述当前负载执行任务包括至少一个负载执行信息,所述负载执行信息表征触发事件与负载执行动作信息之间的对应关系;当目标负载执行信息中的目标触发事件发生时,控制目标负载执行所述目标触发事件对应的目标负载执行动作信息所指示的动作;其中,所述目标负载为基于所述目标负载执行动作信息从多个所述负载中确定,所述目标负载执行信息为至少一个所述负载执行信息中的任一个。In the embodiment of the present invention, the memory 72 is used to store a computer program, the computer program includes program instructions, and the processor 70 is configured to execute when the program instructions are called: obtain the current load execution of the mobile platform Task, the current load execution task includes at least one load execution information, and the load execution information represents the corresponding relationship between the trigger event and the load execution action information; when the target trigger event in the target load execution information occurs, the target load is controlled Execute the action indicated by the target load execution action information corresponding to the target trigger event; wherein the target load is determined from a plurality of loads based on the target load execution action information, and the target load execution information is at least Any one of the load execution information.
在一个实施例中,所述处理器70,还用于获取所述移动平台的移动路线规划信息;所述处理器70,还用于在根据所述移动路线规划信息控制所述移动平台的移动过程中,检测所述目标触发事件是否发生。In one embodiment, the processor 70 is further configured to obtain the mobile platform planning information of the mobile platform; the processor 70 is further configured to control the movement of the mobile platform according to the mobile platform planning information. In the process, it is detected whether the target trigger event occurs.
在一个实施例中,所述移动路线规划信息包括多个位移点,所述目标触发事件能够与多个所述位移点不关联。In an embodiment, the movement route planning information includes a plurality of displacement points, and the target trigger event can be unrelated to the plurality of displacement points.
在一个实施例中,所述负载执行信息为基于所述移动平台的预期负载执行任务进行配置得到。In one embodiment, the load execution information is configured based on expected load execution tasks of the mobile platform.
在一个实施例中,预设存储装置中存储有多个所述负载执行信息,所述当前负载执行任务为在多个所述负载执行信息中选择的至少一个所述负载执行信息形成。In one embodiment, a plurality of load execution information is stored in the preset storage device, and the current load execution task is formed by at least one load execution information selected from the plurality of load execution information.
在一个实施例中,每个所述负载执行信息具有用于指示负载执行动作的预设标识,每个所述负载执行信息对应的预设标识不同。In one embodiment, each of the load execution information has a preset identifier for indicating a load execution action, and each of the load execution information corresponds to a different preset identifier.
在一个实施例中,所述当前负载执行任务为基于所述预设标识在多个所述负载执行信息中的选择操作得到。In an embodiment, the current load execution task is obtained based on a selection operation of the preset identifier in the plurality of load execution information.
在一个实施例中,所述预设存储装置中存储的多个负载执行信息为基于指定操作指令进行更新。In an embodiment, the plurality of load execution information stored in the preset storage device is updated based on a specified operation instruction.
在一个实施例中,所述指定操作指令包括如下中的至少一种:删除多个所述负载执行信息中的第一负载执行信息、替换多个所述负载执行信息中的第二负载执行信息、修改多个所述负载执行信息中的第三负载执行信息、增加第四负载执行信息至多个所述负载执行信息中。In an embodiment, the specified operation instruction includes at least one of the following: deleting the first load execution information in the plurality of load execution information, and replacing the second load execution information in the plurality of load execution information , Modify the third load execution information in the plurality of load execution information, and add the fourth load execution information to the plurality of load execution information.
在一个实施例中,一个所述负载执行信息包括至少一个所述触发事件以及 至少一个所述负载执行动作信息;其中,一个所述负载执行动作信息与一个或以上的所述触发事件对应。In an embodiment, one piece of load execution information includes at least one of the trigger events and at least one piece of load execution action information; wherein, one piece of the load execution action information corresponds to one or more of the trigger events.
在一个实施例中,所述触发事件包括触发类型以及所述触发类型对应的触发参数。In an embodiment, the trigger event includes a trigger type and a trigger parameter corresponding to the trigger type.
在一个实施例中,一个所述触发类型中,所述触发参数包括一个或以上;所述触发参数为依据所述触发类型确定。In one embodiment, in one of the trigger types, the trigger parameters include one or more; the trigger parameters are determined according to the trigger type.
在一个实施例中,所述处理器70,还用于根据所述触发类型确定相应的检测参数;根据所述检测参数与所述触发参数,检测所述当前负载执行任务中的负载执行信息对应的触发事件是否发生。In one embodiment, the processor 70 is further configured to determine corresponding detection parameters according to the trigger type; according to the detection parameters and the trigger parameters, detect that the load execution information in the current load execution task corresponds to Whether the trigger event of the event occurs.
在一个实施例中,所述检测参数包括时间参数、所述移动平台的位置参数、所述移动平台的工作状态参数、所述移动平台所在环境的环境参数中的至少一种。In one embodiment, the detection parameters include at least one of time parameters, location parameters of the mobile platform, working state parameters of the mobile platform, and environmental parameters of the environment where the mobile platform is located.
在一个实施例中,所述负载执行动作信息包括负载类型和/或第三方负载的通讯端口、所述负载类型和/或所述通讯端口对应的执行动作类型以及所述执行动作类型对应的执行动作参数。In one embodiment, the load execution action information includes the load type and/or the communication port of the third-party load, the load type and/or the execution action type corresponding to the communication port, and the execution corresponding to the execution action type Action parameters.
在一个实施例中,一个所述负载类型中,所述执行动作类型包括一个或以上,所述执行动作类型对应的执行动作参数包括一个或以上;所述执行动作参数为依据所述执行动作类型确定。In one embodiment, in one of the load types, the execution action type includes one or more, and the execution action parameter corresponding to the execution action type includes one or more; the execution action parameter is based on the execution action type determine.
在一个实施例中,一个所述负载类型中,所述执行动作类型包括多个,多个所述执行动作类型中的至少两个之间的执行顺序相关联。In one embodiment, in one load type, the execution action type includes multiple, and the execution order between at least two of the multiple execution action types is associated.
在一个实施例中,所述处理模块,还用于确定所述目标触发事件对应的目标负载执行动作信息中的目标负载类型和/或目标通讯端口;将多个所述负载中对应所述目标负载类型和/或所述目标通讯端口对应的负载确定为所述目标负载。In an embodiment, the processing module is further configured to determine the target load type and/or the target communication port in the target load execution action information corresponding to the target trigger event; The load type and/or the load corresponding to the target communication port is determined as the target load.
在一个实施例中,在所述当前负载执行任务中,至少两个所述负载执行信息对应的触发事件相同。In one embodiment, in the current load execution task, at least two trigger events corresponding to the load execution information are the same.
在一个实施例中,在所述当前负载执行任务中,至少两个所述负载执行信息对应的负载执行动作信息相同。In one embodiment, in the current load execution task, load execution action information corresponding to at least two pieces of load execution information is the same.
在一个实施例中,在所述当前负载执行任务中,至少两个所述负载执行信 息对应的负载执行动作信息所指示的动作的执行时间相关联。In one embodiment, in the current load execution task, at least two execution times of the actions indicated by the load execution action information corresponding to the load execution information are associated.
在一个实施例中,多个所述负载中包括至少两个相同类型的负载。In one embodiment, the plurality of loads includes at least two loads of the same type.
在一个实施例中,所述当前负载执行任务中的负载执行信息为按照所述负载执行信息所指示的动作的执行顺序排列。In an embodiment, the load execution information in the current load execution task is arranged according to the execution order of the actions indicated by the load execution information.
在一个实施例中,所述当前负载执行任务中的各个负载执行信息所指示的动作至少执行一次;所述当前负载执行任务中的负载执行信息为按照所述负载执行信息所指示的动作的首次执行顺序排列。In one embodiment, the action indicated by each load execution information in the current load execution task is executed at least once; the load execution information in the current load execution task is the first time according to the action indicated by the load execution information The order of execution.
在一个实施例中,所述当前负载执行任务中存在至少两个所述负载执行信息所指示的动作相同且执行顺序不同。In an embodiment, there are at least two actions indicated by the load execution information in the current load execution task that are the same and have different execution orders.
在一个实施例中,所述处理器70,还用于按照预设顺序规则,检测所述当前负载执行任务中的负载执行信息对应的触发事件是否发生。In one embodiment, the processor 70 is further configured to detect whether a trigger event corresponding to the load execution information in the current load execution task occurs according to a preset order rule.
在一个实施例中,所述处理器70,还用于基于预设划分原则,将所述当前负载执行任务中的负载执行信息进行划分,得到至少一个负载执行信息集合,每个所述负载执行信息集合包括至少一个所述负载执行信息;所述处理器70,具体用于按照所述预设顺序规则,检测至少一个负载执行信息集合中的目标负载执行信息集合中的负载执行信息对应的触发事件是否发生。In one embodiment, the processor 70 is further configured to divide the load execution information in the current load execution task based on a preset division principle to obtain at least one load execution information set, and each load execution The information set includes at least one piece of the load execution information; the processor 70 is specifically configured to detect a trigger corresponding to the load execution information in the target load execution information set in the at least one load execution information set according to the preset order rule Whether the event occurred.
在一个实施例中,所述处理器70,还具体用于基于所述移动平台的移动路线中的位移点与所述负载执行信息的对应关系,对所述当前负载执行任务中的负载执行信息进行划分,得到至少一个负载执行信息集合。In one embodiment, the processor 70 is further specifically configured to perform load execution information in the current load execution task based on the corresponding relationship between the displacement point in the moving route of the mobile platform and the load execution information Divide to obtain at least one load execution information set.
在一个实施例中,不同负载执行信息集合对应不同位移点之间的负载执行信息。In one embodiment, different load execution information sets correspond to load execution information between different displacement points.
在一个实施例中,所述处理器70,还用于依照所述移动路线中的各个位移点的移动顺序,确定所述至少一个负载执行信息集合中的各个负载执行信息集合的检测顺序。In an embodiment, the processor 70 is further configured to determine the detection sequence of each load execution information set in the at least one load execution information set according to the movement sequence of each displacement point in the movement route.
在一个实施例中,所述处理器70,还具体用于根据所述负载执行信息所指示的动作的发生时间顺序和所述负载执行信息的对应关系,对所述当前负载执行任务中的负载执行信息进行划分,得到至少一个负载执行信息集合。In one embodiment, the processor 70 is further specifically configured to perform the load in the current load according to the time sequence of the actions indicated by the load execution information and the corresponding relationship between the load execution information. The execution information is divided to obtain at least one load execution information set.
在一个实施例中,不同负载执行信息集合对应不同发生时间顺序的负载执行信息。In one embodiment, different load execution information sets correspond to load execution information in different occurrence time sequences.
在一个实施例中,所述处理器70,还用于依照发生时间顺序,确定至少一个所述负载执行信息集合中的各个负载执行信息集合的检测顺序。In an embodiment, the processor 70 is further configured to determine the detection sequence of each load execution information set in the at least one load execution information set according to the time sequence of occurrence.
在一个实施例中,所述处理器70,还用于检测所述当前负载执行任务是否异常;若无异常,则执行所述当目标负载执行信息中的目标触发事件发生时,基于所述目标触发事件对应的目标负载执行动作信息从多个所述负载中确定出目标负载的步骤;若异常,则根据异常结果执行相应的预设策略。In one embodiment, the processor 70 is further configured to detect whether the current load execution task is abnormal; if there is no abnormality, execute the target trigger event in the target load execution information based on the target The target load execution action information corresponding to the trigger event determines the step of the target load from the plurality of loads; if it is abnormal, the corresponding preset strategy is executed according to the abnormal result.
在一个实施例中,所述处理器70,还具体用于检测所述当前负载执行任务中的负载执行信息是否异常。In an embodiment, the processor 70 is further specifically configured to detect whether the load execution information in the current load execution task is abnormal.
在一个实施例中,确定所述负载执行信息异常的方式包括如下中的至少一种:所述负载执行信息的内容异常、所述负载执行信息的数据格式异常、所述负载执行信息不完整、所述负载执行信息对应的负载无效、所述负载执行信息对应的预设标识不唯一。In one embodiment, the method for determining that the load execution information is abnormal includes at least one of the following: the content of the load execution information is abnormal, the data format of the load execution information is abnormal, the load execution information is incomplete, The load corresponding to the load execution information is invalid, and the preset identifier corresponding to the load execution information is not unique.
在本发明实施例中,上述处理器70的具体实现可参考前述附图2、图3、图4或者图5所对应的实施例中相关内容的描述。In the embodiment of the present invention, the specific implementation of the above-mentioned processor 70 may refer to the description of related content in the embodiment corresponding to FIG. 2, FIG. 3, FIG. 4, or FIG. 5.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through a computer program. The program can be stored in a computer readable storage medium. During execution, it may include the procedures of the above-mentioned method embodiments. Wherein, the storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
以上所揭露的仅为本发明的部分实施例而已,当然不能以此来限定本发明之权利范围,本领域普通技术人员可以理解实现上述实施例的全部或部分流程,并依本发明权利要求所作的等同变化,仍属于发明所涵盖的范围。The above-disclosed are only part of the embodiments of the present invention. Of course, the scope of rights of the present invention cannot be limited by this. Those of ordinary skill in the art can understand all or part of the processes for implementing the above-mentioned embodiments and make them in accordance with the claims of the present invention. The equivalent changes of is still within the scope of the invention.

Claims (74)

  1. 一种负载的控制方法,多个所述负载挂载于移动平台,其特征在于,该方法包括:A load control method, wherein a plurality of the loads are mounted on a mobile platform, characterized in that the method includes:
    获取所述移动平台的当前负载执行任务,所述当前负载执行任务包括至少一个负载执行信息,所述负载执行信息表征触发事件与负载执行动作信息之间的对应关系;Acquiring a current load execution task of the mobile platform, where the current load execution task includes at least one load execution information, and the load execution information represents a correspondence between a trigger event and load execution action information;
    当目标负载执行信息中的目标触发事件发生时,控制目标负载执行所述目标触发事件对应的目标负载执行动作信息所指示的动作;When the target trigger event in the target load execution information occurs, control the target load to execute the action indicated by the target load execution action information corresponding to the target trigger event;
    其中,所述目标负载为基于所述目标负载执行动作信息从多个所述负载中确定,所述目标负载执行信息为至少一个所述负载执行信息中的任一个。The target load is determined from a plurality of loads based on the target load execution action information, and the target load execution information is any one of at least one of the load execution information.
  2. 根据权利要求1所述的方法,其特征在于,在所述目标负载为基于所述目标负载执行动作信息从多个所述负载中确定之前,所述方法还包括:The method according to claim 1, characterized in that, before the target load is determined from a plurality of loads based on the execution action information of the target load, the method further comprises:
    获取所述移动平台的移动路线规划信息;Acquiring mobile route planning information of the mobile platform;
    在根据所述移动路线规划信息控制所述移动平台的移动过程中,检测所述目标触发事件是否发生。In the process of controlling the movement of the mobile platform according to the movement route planning information, it is detected whether the target trigger event occurs.
  3. 根据权利要求2所述的方法,其特征在于,所述移动路线规划信息包括多个位移点,所述目标触发事件能够与多个所述位移点不关联。The method according to claim 2, wherein the moving route planning information includes a plurality of displacement points, and the target trigger event can be unrelated to the plurality of displacement points.
  4. 根据权利要求1所述的方法,其特征在于,所述负载执行信息为基于所述移动平台的预期负载执行任务进行配置得到。The method according to claim 1, wherein the load execution information is configured based on the expected load execution task of the mobile platform.
  5. 根据权利要求4所述的方法,其特征在于,预设存储装置中存储有多个所述负载执行信息,所述当前负载执行任务为在多个所述负载执行信息中选择的至少一个所述负载执行信息形成。The method according to claim 4, wherein a plurality of load execution information is stored in a preset storage device, and the current load execution task is at least one selected from the plurality of load execution information Load execution information is formed.
  6. 根据权利要求5所述的方法,其特征在于,每个所述负载执行信息具 有用于指示负载执行动作的预设标识,每个所述负载执行信息对应的预设标识不同。The method according to claim 5, wherein each of the load execution information has a preset identifier for indicating the load execution action, and each of the load execution information corresponds to a different preset identifier.
  7. 根据权利要求6所述的方法,其特征在于,所述当前负载执行任务为基于所述预设标识在多个所述负载执行信息中的选择操作得到。The method according to claim 6, wherein the current load execution task is obtained based on a selection operation of the preset identifier in the plurality of load execution information.
  8. 根据权利要求5所述的方法,其特征在于,所述预设存储装置中存储的多个负载执行信息为基于指定操作指令进行更新。The method according to claim 5, wherein the plurality of load execution information stored in the preset storage device is updated based on a designated operation instruction.
  9. 根据权利要求8所述的方法,其特征在于,所述指定操作指令包括如下中的至少一种:The method according to claim 8, wherein the designated operation instruction includes at least one of the following:
    删除多个所述负载执行信息中的第一负载执行信息、替换多个所述负载执行信息中的第二负载执行信息、修改多个所述负载执行信息中的第三负载执行信息、增加第四负载执行信息至多个所述负载执行信息中。Delete the first load execution information in the plurality of load execution information, replace the second load execution information in the plurality of load execution information, modify the third load execution information in the plurality of load execution information, and add the first load execution information. Four load execution information into a plurality of said load execution information.
  10. 根据权利要求1所述的方法,其特征在于,一个所述负载执行信息包括至少一个所述触发事件以及至少一个所述负载执行动作信息;The method according to claim 1, wherein one piece of load execution information includes at least one of the trigger events and at least one piece of load execution action information;
    其中,一个所述负载执行动作信息与一个或以上的所述触发事件对应。Wherein, one piece of load execution action information corresponds to one or more of the trigger events.
  11. 根据权利要求10所述的方法,其特征在于,所述触发事件包括触发类型以及所述触发类型对应的触发参数。The method according to claim 10, wherein the trigger event includes a trigger type and a trigger parameter corresponding to the trigger type.
  12. 根据权利要求11所述的方法,其特征在于,一个所述触发类型中,所述触发参数包括一个或以上;所述触发参数为依据所述触发类型确定。The method according to claim 11, wherein in one of the trigger types, the trigger parameters include one or more; the trigger parameters are determined according to the trigger type.
  13. 根据权利要求11所述的方法,其特征在于,所述方法还包括:The method according to claim 11, wherein the method further comprises:
    根据所述触发类型确定相应的检测参数;Determine corresponding detection parameters according to the trigger type;
    根据所述检测参数与所述触发参数,检测所述当前负载执行任务中的负载执行信息对应的触发事件是否发生。According to the detection parameter and the trigger parameter, detect whether a trigger event corresponding to the load execution information in the current load execution task occurs.
  14. 根据权利要求13所述的方法,其特征在于,所述检测参数包括时间参数、所述移动平台的位置参数、所述移动平台的工作状态参数、所述移动平台所在环境的环境参数中的至少一种。The method according to claim 13, wherein the detection parameters include at least one of time parameters, location parameters of the mobile platform, working status parameters of the mobile platform, and environmental parameters of the environment where the mobile platform is located. One kind.
  15. 根据权利要求10所述的方法,其特征在于,所述负载执行动作信息包括负载类型和/或第三方负载的通讯端口、所述负载类型和/或所述通讯端口对应的执行动作类型以及所述执行动作类型对应的执行动作参数。The method according to claim 10, wherein the load execution action information includes a load type and/or a communication port of a third-party load, the load type and/or the execution action type corresponding to the communication port, and all Describe the execution action parameters corresponding to the execution action type.
  16. 根据权利要求15所述的方法,其特征在于,一个所述负载类型中,所述执行动作类型包括一个或以上,所述执行动作类型对应的执行动作参数包括一个或以上;所述执行动作参数为依据所述执行动作类型确定。The method according to claim 15, wherein in one load type, the execution action type includes one or more, and the execution action parameter corresponding to the execution action type includes one or more; the execution action parameter It is determined based on the type of execution action.
  17. 根据权利要求16所述的方法,其特征在于,一个所述负载类型中,所述执行动作类型包括多个,多个所述执行动作类型中的至少两个之间的执行顺序相关联。The method according to claim 16, wherein in one load type, the execution action type includes multiple, and the execution order between at least two of the multiple execution action types is related.
  18. 根据权利要求14所述的方法,其特征在于,所述目标负载为基于所述目标负载执行动作信息从多个所述负载中确定,包括:The method according to claim 14, wherein the target load is determined from a plurality of loads based on information about the execution of the target load, and comprises:
    确定所述目标触发事件对应的目标负载执行动作信息中的目标负载类型和/或目标通讯端口;Determine the target load type and/or target communication port in the target load execution action information corresponding to the target trigger event;
    将多个所述负载中对应所述目标负载类型和/或所述目标通讯端口对应的负载确定为所述目标负载。Determine the load corresponding to the target load type and/or the target communication port among the plurality of loads as the target load.
  19. 根据权利要求1所述的方法,其特征在于,在所述当前负载执行任务中,至少两个所述负载执行信息对应的触发事件相同。The method according to claim 1, wherein in the current load execution task, trigger events corresponding to at least two of the load execution information are the same.
  20. 根据权利要求1所述的方法,其特征在于,在所述当前负载执行任务中,至少两个所述负载执行信息对应的负载执行动作信息相同。The method according to claim 1, wherein in the current load execution task, load execution action information corresponding to at least two of the load execution information is the same.
  21. 根据权利要求1所述的方法,其特征在于,在所述当前负载执行任务中,至少两个所述负载执行信息对应的负载执行动作信息所指示的动作的执行时间相关联。The method according to claim 1, wherein in the current load execution task, at least two execution times of the action indicated by the load execution action information corresponding to the load execution information are associated.
  22. 根据权利要求1所述的方法,其特征在于,多个所述负载中包括至少两个相同类型的负载。The method of claim 1, wherein the plurality of loads includes at least two loads of the same type.
  23. 根据权利要求1所述的方法,其特征在于,所述当前负载执行任务中的负载执行信息为按照所述负载执行信息所指示的动作的执行顺序排列。The method according to claim 1, wherein the load execution information in the current load execution task is arranged according to the execution order of the actions indicated by the load execution information.
  24. 根据权利要求23所述的方法,其特征在于,所述当前负载执行任务中的各个负载执行信息所指示的动作至少执行一次;The method according to claim 23, wherein the actions indicated by each load execution information in the current load execution task are executed at least once;
    所述当前负载执行任务中的负载执行信息为按照所述负载执行信息所指示的动作的首次执行顺序排列。The load execution information in the current load execution task is arranged according to the first execution order of the actions indicated by the load execution information.
  25. 根据权利要求23所述的方法,其特征在于,所述当前负载执行任务中存在至少两个所述负载执行信息所指示的动作相同且执行顺序不同。The method according to claim 23, wherein there are at least two actions indicated by the load execution information in the current load execution task that are the same and have different execution orders.
  26. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, wherein the method further comprises:
    按照预设顺序规则,检测所述当前负载执行任务中的负载执行信息对应的触发事件是否发生。According to a preset sequence rule, it is detected whether a trigger event corresponding to the load execution information in the current load execution task occurs.
  27. 根据权利要求26所述的方法,其特征在于,所述方法还包括:The method of claim 26, wherein the method further comprises:
    基于预设划分原则,将所述当前负载执行任务中的负载执行信息进行划分,得到至少一个负载执行信息集合,每个所述负载执行信息集合包括至少一个所述负载执行信息;Based on a preset division principle, divide the load execution information in the current load execution task to obtain at least one load execution information set, and each load execution information set includes at least one load execution information;
    所述按照预设顺序规则,检测所述当前负载执行任务中的负载执行信息对应的触发事件是否发生,包括:The detecting whether a trigger event corresponding to the load execution information in the current load execution task occurs according to a preset order rule includes:
    按照所述预设顺序规则,检测至少一个负载执行信息集合中的目标负载执 行信息集合中的负载执行信息对应的触发事件是否发生。According to the preset order rule, it is detected whether a trigger event corresponding to the load execution information in the target load execution information set in the at least one load execution information set occurs.
  28. 根据权利要求27所述的方法,其特征在于,所述基于预设划分规则对所述当前负载执行任务中的负载执行信息进行划分,得到至少一个负载执行信息集合,包括:The method according to claim 27, wherein the dividing the load execution information in the current load execution task based on a preset dividing rule to obtain at least one load execution information set comprises:
    基于所述移动平台的移动路线中的位移点与所述负载执行信息的对应关系,对所述当前负载执行任务中的负载执行信息进行划分,得到至少一个负载执行信息集合。Based on the corresponding relationship between the displacement points in the moving route of the mobile platform and the load execution information, the load execution information in the current load execution task is divided to obtain at least one load execution information set.
  29. 根据权利要求28所述的方法,其特征在于,不同负载执行信息集合对应不同位移点之间的负载执行信息。The method according to claim 28, wherein different load execution information sets correspond to load execution information between different displacement points.
  30. 根据权利要求27或28所述的方法,其特征在于,在所述按照所述预设顺序规则,检测至少一个负载执行信息集合中的目标负载执行信息集合中的负载执行信息对应的触发事件是否发生之前,所述方法还包括:The method according to claim 27 or 28, characterized in that, according to the preset order rule, it is detected whether the trigger event corresponding to the load execution information in the target load execution information set in the at least one load execution information set is Before it happens, the method also includes:
    依照所述移动路线中的各个位移点的移动顺序,确定所述至少一个负载执行信息集合中的各个负载执行信息集合的检测顺序。According to the movement sequence of each displacement point in the moving route, the detection sequence of each load execution information set in the at least one load execution information set is determined.
  31. 根据权利要求27所述的方法,其特征在于,所述基于预设划分规则对所述当前负载执行任务中的负载执行信息进行划分,得到至少一个负载执行信息集合,包括:The method according to claim 27, wherein the dividing the load execution information in the current load execution task based on a preset dividing rule to obtain at least one load execution information set comprises:
    根据所述负载执行信息所指示的动作的发生时间顺序和所述负载执行信息的对应关系,对所述当前负载执行任务中的负载执行信息进行划分,得到至少一个负载执行信息集合。According to the occurrence time sequence of the actions indicated by the load execution information and the corresponding relationship between the load execution information, the load execution information in the current load execution task is divided to obtain at least one load execution information set.
  32. 根据权利要求31所述的方法,其特征在于,不同负载执行信息集合对应不同发生时间顺序的负载执行信息。The method according to claim 31, wherein different load execution information sets correspond to load execution information of different occurrence time sequences.
  33. 根据权利要求31或32所述的方法,其特征在于,在所述按照所述预 设顺序规则,检测至少一个负载执行信息集合中的目标负载执行信息集合中的负载执行信息对应的触发事件是否发生之前,所述方法还包括:The method according to claim 31 or 32, wherein, in accordance with the preset order rule, it is detected whether the trigger event corresponding to the load execution information in the target load execution information set in the at least one load execution information set is Before it happens, the method also includes:
    依照发生时间顺序,确定至少一个所述负载执行信息集合中的各个负载执行信息集合的检测顺序。According to the sequence of occurrence time, the detection sequence of each load execution information set in at least one load execution information set is determined.
  34. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1, wherein the method further comprises:
    检测所述当前负载执行任务是否异常;Detecting whether the current load execution task is abnormal;
    若无异常,则执行所述当目标负载执行信息中的目标触发事件发生时,基于所述目标触发事件对应的目标负载执行动作信息从多个所述负载中确定出目标负载的步骤;If there is no abnormality, execute the step of determining a target load from a plurality of loads based on the target load execution action information corresponding to the target trigger event when the target trigger event in the target load execution information occurs;
    若异常,则根据异常结果执行相应的预设策略。If it is abnormal, execute the corresponding preset strategy according to the abnormal result.
  35. 根据权利要求34所述的方法,其特征在于,所述检测所述当前负载执行任务是否异常,包括:The method according to claim 34, wherein the detecting whether the current load execution task is abnormal comprises:
    检测所述当前负载执行任务中的负载执行信息是否异常。It is detected whether the load execution information in the current load execution task is abnormal.
  36. 根据权利要求34所述的方法,其特征在于,确定所述负载执行信息异常的方式包括如下中的至少一种:The method according to claim 34, wherein the method of determining that the load execution information is abnormal comprises at least one of the following:
    所述负载执行信息的内容异常、所述负载执行信息的数据格式异常、所述负载执行信息不完整、所述负载执行信息对应的负载无效、所述负载执行信息对应的预设标识不唯一。The content of the load execution information is abnormal, the data format of the load execution information is abnormal, the load execution information is incomplete, the load corresponding to the load execution information is invalid, and the preset identifier corresponding to the load execution information is not unique.
  37. 一种负载的控制装置,多个所述负载挂载于移动平台,其特征在于,该控制装置包括:A load control device, a plurality of said loads are mounted on a mobile platform, characterized in that the control device includes:
    获取模块,用于获取所述移动平台的当前负载执行任务,所述当前负载执行任务包括至少一个负载执行信息,所述负载执行信息表征触发事件与负载执行动作信息之间的对应关系;An acquiring module, configured to acquire a current load execution task of the mobile platform, the current load execution task includes at least one load execution information, and the load execution information characterizes the correspondence between a trigger event and load execution action information;
    处理模块,用于当目标负载执行信息中的目标触发事件发生时,控制目标负载执行所述目标触发事件对应的目标负载执行动作信息所指示的动作;The processing module is used to control the target load to execute the action indicated by the target load execution action information corresponding to the target trigger event when the target trigger event in the target load execution information occurs;
    其中,所述目标负载为基于所述目标负载执行动作信息从多个所述负载中确定,所述目标负载执行信息为至少一个所述负载执行信息中的任一个。The target load is determined from a plurality of loads based on the target load execution action information, and the target load execution information is any one of at least one of the load execution information.
  38. 一种负载的控制设备,多个所述负载挂载于移动平台,其特征在于,该控制设备包括处理器和通信接口,所述处理器和通信接口相互连接,其中,所述通信接口受所述处理器的控制用于收发指令,所述处理器用于:A load control device, a plurality of said loads are mounted on a mobile platform, characterized in that the control device includes a processor and a communication interface, the processor and the communication interface are connected to each other, wherein the communication interface is The control of the processor is used to send and receive instructions, and the processor is used to:
    获取所述移动平台的当前负载执行任务,所述当前负载执行任务包括至少一个负载执行信息,所述负载执行信息表征触发事件与负载执行动作信息之间的对应关系;Acquiring a current load execution task of the mobile platform, where the current load execution task includes at least one load execution information, and the load execution information represents a correspondence between a trigger event and load execution action information;
    当目标负载执行信息中的目标触发事件发生时,控制目标负载执行所述目标触发事件对应的目标负载执行动作信息所指示的动作;When the target trigger event in the target load execution information occurs, control the target load to execute the action indicated by the target load execution action information corresponding to the target trigger event;
    其中,所述目标负载为基于所述目标负载执行动作信息从多个所述负载中确定,所述目标负载执行信息为至少一个所述负载执行信息中的任一个。The target load is determined from a plurality of loads based on the target load execution action information, and the target load execution information is any one of at least one of the load execution information.
  39. 根据权利要求38所述的控制设备,其特征在于,所述处理器还用于:The control device according to claim 38, wherein the processor is further configured to:
    获取所述移动平台的移动路线规划信息;Acquiring mobile route planning information of the mobile platform;
    在根据所述移动路线规划信息控制所述移动平台的移动过程中,检测所述目标触发事件是否发生。In the process of controlling the movement of the mobile platform according to the movement route planning information, it is detected whether the target trigger event occurs.
  40. 根据权利要求39所述的控制设备,其特征在于,所述移动路线规划信息包括多个位移点,所述目标触发事件能够与多个所述位移点不关联。The control device according to claim 39, wherein the movement route planning information includes a plurality of displacement points, and the target trigger event can be unrelated to the plurality of displacement points.
  41. 根据权利要求38所述的控制设备,其特征在于,所述负载执行信息为基于所述移动平台的预期负载执行任务进行配置得到。The control device according to claim 38, wherein the load execution information is configured based on expected load execution tasks of the mobile platform.
  42. 根据权利要求41所述的控制设备,其特征在于,预设存储装置中存储有多个所述负载执行信息,所述当前负载执行任务为在多个所述负载执行信息中选择的至少一个所述负载执行信息形成。The control device according to claim 41, wherein a plurality of the load execution information is stored in the preset storage device, and the current load execution task is at least one selected from the plurality of load execution information. The load execution information is formed.
  43. 根据权利要求42所述的控制设备,其特征在于,每个所述负载执行信息具有用于指示负载执行动作的预设标识,每个所述负载执行信息对应的预设标识不同。The control device according to claim 42, wherein each of the load execution information has a preset identifier for indicating a load execution action, and each of the load execution information corresponds to a different preset identifier.
  44. 根据权利要求43所述的控制设备,其特征在于,所述当前负载执行任务为基于所述预设标识在多个所述负载执行信息中的选择操作得到。The control device according to claim 43, wherein the current load execution task is obtained based on a selection operation of the preset identifier in the plurality of load execution information.
  45. 根据权利要求42所述的控制设备,其特征在于,所述预设存储装置中存储的多个负载执行信息为基于指定操作指令进行更新。The control device according to claim 42, wherein the plurality of load execution information stored in the preset storage device is updated based on a designated operation instruction.
  46. 根据权利要求45所述的控制设备,其特征在于,所述指定操作指令包括如下中的至少一种:The control device according to claim 45, wherein the designated operation instruction includes at least one of the following:
    删除多个所述负载执行信息中的第一负载执行信息、替换多个所述负载执行信息中的第二负载执行信息、修改多个所述负载执行信息中的第三负载执行信息、增加第四负载执行信息至多个所述负载执行信息中。Delete the first load execution information in the plurality of load execution information, replace the second load execution information in the plurality of load execution information, modify the third load execution information in the plurality of load execution information, and add the first load execution information. Four load execution information into a plurality of said load execution information.
  47. 根据权利要求38所述的控制设备,其特征在于,一个所述负载执行信息包括至少一个所述触发事件以及至少一个所述负载执行动作信息;The control device according to claim 38, wherein one piece of load execution information includes at least one of the trigger events and at least one piece of load execution action information;
    其中,一个所述负载执行动作信息与一个或以上的所述触发事件对应。Wherein, one piece of load execution action information corresponds to one or more of the trigger events.
  48. 根据权利要求47所述的控制设备,其特征在于,所述触发事件包括触发类型以及所述触发类型对应的触发参数。The control device according to claim 47, wherein the trigger event includes a trigger type and a trigger parameter corresponding to the trigger type.
  49. 根据权利要求48所述的控制设备,其特征在于,一个所述触发类型中,所述触发参数包括一个或以上;所述触发参数为依据所述触发类型确定。The control device according to claim 48, wherein in one of the trigger types, the trigger parameters include one or more; the trigger parameters are determined according to the trigger type.
  50. 根据权利要求48所述的控制设备,其特征在于,所述处理器还用于:The control device according to claim 48, wherein the processor is further configured to:
    根据所述触发类型确定相应的检测参数;Determine corresponding detection parameters according to the trigger type;
    根据所述检测参数与所述触发参数,检测所述当前负载执行任务中的负载 执行信息对应的触发事件是否发生。According to the detection parameter and the trigger parameter, detect whether a trigger event corresponding to the load execution information in the current load execution task occurs.
  51. 根据权利要求50所述的控制设备,其特征在于,所述检测参数包括时间参数、所述移动平台的位置参数、所述移动平台的工作状态参数、所述移动平台所在环境的环境参数中的至少一种。The control device according to claim 50, wherein the detection parameters include time parameters, position parameters of the mobile platform, working status parameters of the mobile platform, and environmental parameters of the environment where the mobile platform is located. At least one.
  52. 根据权利要求47所述的控制设备,其特征在于,所述负载执行动作信息包括负载类型和/或第三方负载的通讯端口、所述负载类型和/或所述通讯端口对应的执行动作类型以及所述执行动作类型对应的执行动作参数。The control device according to claim 47, wherein the load execution action information includes a load type and/or a communication port of a third-party load, the load type and/or the execution action type corresponding to the communication port, and The execution action parameter corresponding to the execution action type.
  53. 根据权利要求52所述的控制设备,其特征在于,一个所述负载类型中,所述执行动作类型包括一个或以上,所述执行动作类型对应的执行动作参数包括一个或以上;所述执行动作参数为依据所述执行动作类型确定。The control device according to claim 52, wherein in one load type, the execution action type includes one or more, and the execution action parameter corresponding to the execution action type includes one or more; the execution action The parameters are determined according to the type of execution action.
  54. 根据权利要求53所述的控制设备,其特征在于,一个所述负载类型中,所述执行动作类型包括多个,多个所述执行动作类型中的至少两个之间的执行顺序相关联。The control device according to claim 53, wherein in one load type, the execution action type includes multiple, and the execution order between at least two of the multiple execution action types is related.
  55. 根据权利要求51所述的控制设备,其特征在于,所述处理器,具体用于:The control device according to claim 51, wherein the processor is specifically configured to:
    确定所述目标触发事件对应的目标负载执行动作信息中的目标负载类型和/或目标通讯端口;Determine the target load type and/or target communication port in the target load execution action information corresponding to the target trigger event;
    将多个所述负载中对应所述目标负载类型和/或所述目标通讯端口对应的负载确定为所述目标负载。Determine the load corresponding to the target load type and/or the target communication port among the plurality of loads as the target load.
  56. 根据权利要求38所述的控制设备,其特征在于,在所述当前负载执行任务中,至少两个所述负载执行信息对应的触发事件相同。The control device according to claim 38, wherein in the current load execution task, trigger events corresponding to at least two of the load execution information are the same.
  57. 根据权利要求38所述的控制设备,其特征在于,在所述当前负载执 行任务中,至少两个所述负载执行信息对应的负载执行动作信息相同。The control device according to claim 38, wherein in the current load execution task, load execution action information corresponding to at least two of the load execution information is the same.
  58. 根据权利要求38所述的控制设备,其特征在于,在所述当前负载执行任务中,至少两个所述负载执行信息对应的负载执行动作信息所指示的动作的执行时间相关联。The control device according to claim 38, wherein in the current load execution task, at least two execution times of the actions indicated by the load execution action information corresponding to the load execution information are associated.
  59. 根据权利要求38所述的控制设备,其特征在于,多个所述负载中包括至少两个相同类型的负载。The control device according to claim 38, wherein the plurality of loads includes at least two loads of the same type.
  60. 根据权利要求38所述的控制设备,其特征在于,所述当前负载执行任务中的负载执行信息为按照所述负载执行信息所指示的动作的执行顺序排列。The control device according to claim 38, wherein the load execution information in the current load execution task is arranged according to the execution order of the actions indicated by the load execution information.
  61. 根据权利要求60所述的控制设备,其特征在于,所述当前负载执行任务中的各个负载执行信息所指示的动作至少执行一次;The control device according to claim 60, wherein the action indicated by each load execution information in the current load execution task is executed at least once;
    所述当前负载执行任务中的负载执行信息为按照所述负载执行信息所指示的动作的首次执行顺序排列。The load execution information in the current load execution task is arranged according to the first execution order of the actions indicated by the load execution information.
  62. 根据权利要求60所述的控制设备,其特征在于,所述当前负载执行任务中存在至少两个所述负载执行信息所指示的动作相同且执行顺序不同。The control device according to claim 60, wherein there are at least two actions indicated by the load execution information in the current load execution task that are the same and have different execution sequences.
  63. 根据权利要求38所述的控制设备,其特征在于,所述处理器还用于:The control device according to claim 38, wherein the processor is further configured to:
    按照预设顺序规则,检测所述当前负载执行任务中的负载执行信息对应的触发事件是否发生。According to a preset sequence rule, it is detected whether a trigger event corresponding to the load execution information in the current load execution task occurs.
  64. 根据权利要求63所述的控制设备,其特征在于,所述处理器还用于:The control device according to claim 63, wherein the processor is further configured to:
    基于预设划分原则,将所述当前负载执行任务中的负载执行信息进行划分,得到至少一个负载执行信息集合,每个所述负载执行信息集合包括至少一个所述负载执行信息;Based on a preset division principle, divide the load execution information in the current load execution task to obtain at least one load execution information set, and each load execution information set includes at least one load execution information;
    所述按照预设顺序规则,检测所述当前负载执行任务中的负载执行信息对应的触发事件是否发生,包括:The detecting whether a trigger event corresponding to the load execution information in the current load execution task occurs according to a preset order rule includes:
    按照所述预设顺序规则,检测至少一个负载执行信息集合中的目标负载执行信息集合中的负载执行信息对应的触发事件是否发生。According to the preset sequence rule, it is detected whether a trigger event corresponding to the load execution information in the target load execution information set in the at least one load execution information set occurs.
  65. 根据权利要求64所述的控制设备,其特征在于,所述处理器,具体用于:The control device according to claim 64, wherein the processor is specifically configured to:
    基于所述移动平台的移动路线中的位移点与所述负载执行信息的对应关系,对所述当前负载执行任务中的负载执行信息进行划分,得到至少一个负载执行信息集合。Based on the corresponding relationship between the displacement points in the moving route of the mobile platform and the load execution information, the load execution information in the current load execution task is divided to obtain at least one load execution information set.
  66. 根据权利要求65所述的控制设备,其特征在于,不同负载执行信息集合对应不同位移点之间的负载执行信息。The control device according to claim 65, wherein different load execution information sets correspond to load execution information between different displacement points.
  67. 根据权利要求64或65所述的控制设备,其特征在于,所述处理器还用于:The control device according to claim 64 or 65, wherein the processor is further configured to:
    依照所述移动路线中的各个位移点的移动顺序,确定所述至少一个负载执行信息集合中的各个负载执行信息集合的检测顺序。According to the movement sequence of each displacement point in the moving route, the detection sequence of each load execution information set in the at least one load execution information set is determined.
  68. 根据权利要求64所述的控制设备,其特征在于,所述处理器,具体用于:The control device according to claim 64, wherein the processor is specifically configured to:
    根据所述负载执行信息所指示的动作的发生时间顺序和所述负载执行信息的对应关系,对所述当前负载执行任务中的负载执行信息进行划分,得到至少一个负载执行信息集合。According to the occurrence time sequence of the actions indicated by the load execution information and the corresponding relationship between the load execution information, the load execution information in the current load execution task is divided to obtain at least one load execution information set.
  69. 根据权利要求68所述的控制设备,其特征在于,不同负载执行信息集合对应不同发生时间顺序的负载执行信息。The control device according to claim 68, wherein different load execution information sets correspond to load execution information in different occurrence time sequences.
  70. 根据权利要求68或69所述的控制设备,其特征在于,所述处理器还 用于:The control device according to claim 68 or 69, wherein the processor is further configured to:
    依照发生时间顺序,确定至少一个所述负载执行信息集合中的各个负载执行信息集合的检测顺序。According to the sequence of occurrence time, the detection sequence of each load execution information set in at least one load execution information set is determined.
  71. 根据权利要求38所述的控制设备,其特征在于,所述处理器还用于:The control device according to claim 38, wherein the processor is further configured to:
    检测所述当前负载执行任务是否异常;Detecting whether the current load execution task is abnormal;
    若无异常,则执行所述当目标负载执行信息中的目标触发事件发生时,基于所述目标触发事件对应的目标负载执行动作信息从多个所述负载中确定出目标负载的步骤;If there is no abnormality, execute the step of determining a target load from a plurality of loads based on the target load execution action information corresponding to the target trigger event when the target trigger event in the target load execution information occurs;
    若异常,则根据异常结果执行相应的预设策略。If it is abnormal, execute the corresponding preset strategy according to the abnormal result.
  72. 根据权利要求71所述的控制设备,其特征在于,所述处理器,具体用于:The control device according to claim 71, wherein the processor is specifically configured to:
    检测所述当前负载执行任务中的负载执行信息是否异常。It is detected whether the load execution information in the current load execution task is abnormal.
  73. 根据权利要求71所述的控制设备,其特征在于,确定所述负载执行信息异常的方式包括如下中的至少一种:The control device according to claim 71, wherein the manner of determining that the load execution information is abnormal comprises at least one of the following:
    所述负载执行信息的内容异常、所述负载执行信息的数据格式异常、所述负载执行信息不完整、所述负载执行信息对应的负载无效、所述负载执行信息对应的预设标识不唯一。The content of the load execution information is abnormal, the data format of the load execution information is abnormal, the load execution information is incomplete, the load corresponding to the load execution information is invalid, and the preset identifier corresponding to the load execution information is not unique.
  74. 一种计算机存储介质,其特征在于,该计算机存储介质中存储有程序指令,该程序指令被执行时,用于实现如权利要求1-36任一项所述的方法。A computer storage medium, wherein the computer storage medium stores program instructions, and when the program instructions are executed, they are used to implement the method according to any one of claims 1-36.
PCT/CN2019/073811 2019-01-30 2019-01-30 Method and device for controlling loads, and control apparatus WO2020154937A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201980004950.2A CN111247791B (en) 2019-01-30 2019-01-30 Load control method and device and control equipment
CN202111161212.4A CN113973176A (en) 2019-01-30 2019-01-30 Load control method and device and control equipment
PCT/CN2019/073811 WO2020154937A1 (en) 2019-01-30 2019-01-30 Method and device for controlling loads, and control apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/073811 WO2020154937A1 (en) 2019-01-30 2019-01-30 Method and device for controlling loads, and control apparatus

Publications (1)

Publication Number Publication Date
WO2020154937A1 true WO2020154937A1 (en) 2020-08-06

Family

ID=70877345

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/073811 WO2020154937A1 (en) 2019-01-30 2019-01-30 Method and device for controlling loads, and control apparatus

Country Status (2)

Country Link
CN (2) CN113973176A (en)
WO (1) WO2020154937A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111752948A (en) * 2020-06-24 2020-10-09 深圳市道通智能航空技术有限公司 Navigation point task information storage method, navigation point task information reading method and unmanned aerial vehicle

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108401450A (en) * 2017-04-28 2018-08-14 深圳市大疆创新科技有限公司 Terminal device and its control method, unmanned plane and its control method and control device
EP3396494A1 (en) * 2017-04-24 2018-10-31 Kinpo Electronics, Inc. Electronic device and method for executing interactive functions
CN108897282A (en) * 2018-05-03 2018-11-27 顺丰科技有限公司 Multitask modularization robot and schedule management method, device and its storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104828256B (en) * 2015-04-21 2016-09-28 杨珊珊 A kind of intelligent multi-control flight capture apparatus and flight control method thereof
US10110880B2 (en) * 2015-09-25 2018-10-23 Amazon Technologies, Inc. Selective colorization using monochromic imagery
CN106249761A (en) * 2016-08-11 2016-12-21 零度智控(北京)智能科技有限公司 Ground cloud platform control method, device and ground The Cloud Terrace
CN106454069B (en) * 2016-08-31 2019-11-08 歌尔股份有限公司 A kind of method, apparatus and wearable device of the shooting of control unmanned plane
CN107077152A (en) * 2016-11-30 2017-08-18 深圳市大疆创新科技有限公司 Control method, equipment, system, unmanned plane and moveable platform
CN107172404A (en) * 2017-07-20 2017-09-15 清华大学深圳研究生院 A kind of unmanned plane image-pickup method and system
EP3514682B1 (en) * 2017-11-24 2021-09-29 Autel Robotics Co., Ltd. Task execution method and apparatus, movable object, and computer readable storage medium
WO2019119282A1 (en) * 2017-12-19 2019-06-27 深圳市大疆创新科技有限公司 Method and device for associating image and location information, and movable platform

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3396494A1 (en) * 2017-04-24 2018-10-31 Kinpo Electronics, Inc. Electronic device and method for executing interactive functions
CN108401450A (en) * 2017-04-28 2018-08-14 深圳市大疆创新科技有限公司 Terminal device and its control method, unmanned plane and its control method and control device
CN108897282A (en) * 2018-05-03 2018-11-27 顺丰科技有限公司 Multitask modularization robot and schedule management method, device and its storage medium

Also Published As

Publication number Publication date
CN113973176A (en) 2022-01-25
CN111247791B (en) 2021-10-26
CN111247791A (en) 2020-06-05

Similar Documents

Publication Publication Date Title
EP3397554B1 (en) System and method for utilization of multiple-camera network to capture static and/or motion scenes
US11073389B2 (en) Hover control
WO2017211029A1 (en) Method and device for planning flight path for unmanned aerial vehicle
WO2019113966A1 (en) Obstacle avoidance method and device, and unmanned aerial vehicle
US11079242B2 (en) System and method for determining autonomous vehicle location using incremental image analysis
US20200271269A1 (en) Method of controlling gimbal, gimbal, and unmanned aerial vehicle
WO2018120351A1 (en) Method and device for positioning unmanned aerial vehicle
WO2021098453A1 (en) Target tracking method and unmanned aerial vehicle
WO2019104641A1 (en) Unmanned aerial vehicle, control method therefor and recording medium
WO2018076372A1 (en) Waypoint editing method, apparatus, device and aircraft
WO2019080113A1 (en) Patrol planning method for unmanned aerial vehicle, control terminal, unmanned aerial vehicle, and unmanned aerial vehicle system
WO2020233682A1 (en) Autonomous circling photographing method and apparatus and unmanned aerial vehicle
US20230058405A1 (en) Unmanned aerial vehicle (uav) swarm control
US20220084415A1 (en) Flight planning method and related apparatus
WO2023036260A1 (en) Image acquisition method and apparatus, and aerial vehicle and storage medium
US20210357620A1 (en) System, moving object, and information processing apparatus
WO2020154937A1 (en) Method and device for controlling loads, and control apparatus
WO2021217408A1 (en) Unmanned aerial vehicle system, and control method and device therefor
WO2022016534A1 (en) Flight control method of unmanned aerial vehicle and unmanned aerial vehicle
JP2023157917A (en) Imaging method
US20200066168A1 (en) Movable object application framework
WO2020225979A1 (en) Information processing device, information processing method, program, and information processing system
WO2022000211A1 (en) Photography system control method, device, movable platform, and storage medium
CN114185360B (en) House census method and device based on unmanned aerial vehicle
Brockers et al. Computer vision for micro air vehicles

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19912540

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19912540

Country of ref document: EP

Kind code of ref document: A1