WO2019178863A1 - Control method, control device, control system, and computer readable storage medium - Google Patents

Control method, control device, control system, and computer readable storage medium Download PDF

Info

Publication number
WO2019178863A1
WO2019178863A1 PCT/CN2018/080305 CN2018080305W WO2019178863A1 WO 2019178863 A1 WO2019178863 A1 WO 2019178863A1 CN 2018080305 W CN2018080305 W CN 2018080305W WO 2019178863 A1 WO2019178863 A1 WO 2019178863A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
map
controlled device
identifier
selection area
Prior art date
Application number
PCT/CN2018/080305
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 CN201880011996.2A priority Critical patent/CN110462574A/en
Priority to PCT/CN2018/080305 priority patent/WO2019178863A1/en
Publication of WO2019178863A1 publication Critical patent/WO2019178863A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Definitions

  • the present application relates to the field of control technology, and in particular, to a control method, a control device, a control system, and a computer readable storage medium.
  • the current remote control robot can only achieve one-to-one control, for example, a remote control establishes a communication connection with a robot, the user operates on the remote controller to generate a control signal, and the remote controller sends a control signal to the robot. Receiving a control signal of the remote controller and performing an action according to the control signal.
  • the user can only control one robot through a remote controller, and the control efficiency is low.
  • the application provides a control method, a control device, a control system, and a computer readable storage medium.
  • a control method which is applied to a control device, and the method includes:
  • the map being configured to display an identifier of the at least one controlled device, where the identifier is used to correspond to location information transmitted by the at least one of the controlled devices;
  • the target identifier selecting a target identifier that satisfies a preset relationship with the selected area, where the target identifier is used to indicate a target controlled device in at least one of the controlled devices.
  • a control device including a processor, where the processor is configured to perform the following steps:
  • the map being configured to display an identifier of the at least one controlled device, the identifier being used to correspond to location information transmitted by the at least one of the controlled devices;
  • the target identifier selecting a target identifier that satisfies a preset relationship with the selected area, where the target identifier is used to indicate a target controlled device in at least one of the controlled devices.
  • a control system comprising a control device and at least one controlled device, at least one of the controlled devices for transmitting location information to the control device;
  • the control device is configured to generate a selection area according to a first operation in a map, where the map is used to display an identifier of at least one controlled device, where the identifier is used to correspond to location information transmitted by at least one of the controlled devices;
  • the control device is configured to select, in the identifier, a target identifier that meets a preset relationship with the selected area, where the target identifier is used to indicate a target controlled device in at least one of the controlled devices.
  • a computer readable storage medium having stored therein program instructions, when executed by a processor, for performing the above described first aspect method.
  • the selected area is generated by performing the first operation in the map displayed on the screen, and whether the controlled device corresponding to the identifier is selected according to the relationship between the identifier and the selected area in the map may be determined.
  • the multiple selected identifiers and the selected area can satisfy the preset relationship at the same time, so that multiple controlled devices corresponding to the plurality of identifiers can be selected by generating the selected area, and then the selected controlled device can be controlled according to requirements, so that the user Multiple controlled devices can be controlled by one control device, improving control efficiency.
  • the user can be intuitively determined to determine the location of the controlled device and the positional relationship between the different controlled devices, so that the user can subsequently access the controlled device. Take control.
  • FIG. 1 is a schematic flow chart of a control method according to an embodiment of the present application.
  • FIG. 2 is a schematic flow chart showing generation of a selection area according to a first operation in a map, according to an embodiment of the present application
  • FIG. 3A is a schematic flow chart showing generation of a selection area according to a start position and an end position, according to an embodiment of the present application
  • 3B and 3C are schematic diagrams showing a generation selection region according to an embodiment of the present application.
  • 4A is a schematic flow chart showing another generation of a selection area according to a start position and an end position, according to an embodiment of the present application;
  • FIGS. 4B and 4C are schematic diagrams showing another generation selection region according to an embodiment of the present application.
  • 5A is a schematic flow chart showing another generation of a selection area according to a first operation in a map, according to an embodiment of the present application
  • 5B and 5C are schematic diagrams showing still another generation selection region according to an embodiment of the present application.
  • FIG. 6 is a schematic flow chart of another control method according to an embodiment of the present application.
  • FIG. 7 is a schematic flow chart showing transmission of a control command to a target controlled device according to a second operation, according to an embodiment of the present application.
  • FIG. 8 is a schematic flow chart showing transmission of a control command to a target controlled device according to a second operation in a map, according to an embodiment of the present application;
  • FIG. 9 is a schematic flow chart showing determining a target position of movement of the target controlled device according to a second operation in the map, according to an embodiment of the present application.
  • FIG. 10 is a hardware configuration diagram of a control device according to an embodiment of the present application.
  • control method can be applied to a control device, which can be used to control a controlled device.
  • the controlled device may be a robot, an unmanned aerial vehicle, etc., and the control device may be a remote controller, a mobile terminal, or the like.
  • control method may include the following steps:
  • Step S1 Generate a selection area according to a first operation in the map, the map is used to display an identifier of at least one controlled device, and the identifier is used to correspond to location information transmitted by at least one of the controlled devices.
  • a display screen may be provided on the control device, and a map may be displayed in the display screen.
  • the map may be generated by a controlled device, and the controlled device transmits the map to the control device after generating the map, for example, a laser sensor is disposed on the controlled device, and the environment of the controlled device is scanned by the laser sensor, and the generated device may generate A map of the environment.
  • a laser sensor is disposed on the controlled device, and the environment of the controlled device is scanned by the laser sensor, and the generated device may generate A map of the environment.
  • the map may also be acquired by the control device from the server.
  • the server pre-stores a map of multiple areas, and the control device may acquire the location of the controlled device, transmit the location of the controlled device to the server, and the server according to the location of the controlled device.
  • the area in which the controlled device is located is determined, and the map of the area is transmitted to the control device.
  • the first operation may be an operation of clicking a virtual button in the map, or a touch operation in the map, such as a click operation or a sliding operation.
  • the first operation may be performed by the user directly through the finger, or may be performed by a mouse, or may be performed by other touch objects (such as a stylus).
  • touch objects such as a stylus.
  • the following embodiments are mainly used by the user through the finger in the first operation. An exemplary description is made in the case of performing touch execution.
  • the first operation is an operation of clicking a virtual button in the map
  • the map may be composed of a plurality of blocks, each block corresponding to a different number, and a virtual button corresponding to the block number may be displayed in the map by clicking one or A plurality of numbers may use a block corresponding to the number as a selection area.
  • the first operation is a sliding operation in the map
  • the sliding operation of the user can be sensed by the touch sensor in the display screen to determine the starting point and the ending point of the sliding operation, and a quadrilateral with the starting point and the ending point as the diagonal point is generated as the selection area.
  • the following embodiments are mainly exemplified in the case where the first operation is a slide operation or a click operation.
  • the controlled device may transmit its own location information to the control device, and the control device may generate an identifier corresponding to the location information in the map according to the location information of the controlled device.
  • the generated identifier may be a point having no area, or may be an aread figure, for example, a figure corresponding to the edge shape of the controlled device when viewed from the side or from the controlled device.
  • the user can intuitively determine the location where the controlled device is located, and the positional relationship between the different controlled devices, so that the user can subsequently control the controlled device.
  • the shapes, colors, photoelectric information, and the like between the respective identifiers may be different, and the identification information of the controlled devices is sufficiently indicated by having various representation forms.
  • the corresponding logos of each competing robot can be marked with different colors, such as A team robot is red, B pair robot is blue
  • the robots with the same function can perform the same mark change on the basis of the color. For example, a certain function of the A team robot can be displayed in red. And flashes.
  • Step S2 In the identifier, select a target identifier that satisfies a preset relationship with the selected area, where the target identifier is used to indicate a target controlled device in at least one of the controlled devices.
  • control device may determine the relationship between the identifier and the selected area according to the location of the identifier in the display screen, for example, may determine the position of the displayed first pixel in the screen, and determine the boundary of the selected area. The position of the second pixel in the screen, and further determining the relationship between the identification and the selection area according to the relationship between the first pixel and the second pixel.
  • control device may determine the relationship between the identifier and the selected area according to the map coordinates identified in the map, for example, may determine the first map coordinate of the displayed identifier, and determine the second map coordinate corresponding to the boundary of the selected area. And determining a relationship between the identifier and the selection area according to the relationship between the first map coordinate and the second map coordinate.
  • control device may determine the relationship between the identifier and the selected area according to the environment coordinate corresponding to the actual environment in which the controlled device is located, for example, may determine that the displayed identifier corresponds to the first physical environment where the controlled device is located.
  • the environment coordinates, and determining the boundary of the selected area corresponds to the second environment coordinate of the actual environment in which the controlled device is located, and determining the relationship between the identifier and the selected area according to the relationship between the first environment coordinate and the second environment coordinate.
  • control device may determine the relationship between the identifier and the selected area according to the overlapping relationship between the graphic corresponding to the location and the selected area, for example, may determine the first boundary coordinate of the graphic corresponding to the displayed identifier, and determine the selected area. The boundary corresponding to the second boundary coordinate, and further determining the relationship between the identifier and the selection region according to the overlapping relationship between the first boundary coordinate and the second boundary coordinate.
  • the relationship between the identifier and the selected area may include at least one of the following: the identifiers are all located in the selection area, the identifiers are all located outside the selection area, and the identification part is located in the selection area, A preset portion of the logo is located within the selection area, and a preset portion of the logo is located outside the selection area.
  • the default relationship can be selected from the above relationships as needed.
  • the preset relationship is that the identifiers are all located in the selection area
  • the identifier and the selected area satisfy a preset relationship, that is, the identifier is a target identifier, and the target identifier is used for A target controlled device among at least one of the controlled devices is indicated, so selection of the target controlled device can be achieved by selecting the target identifier.
  • the target identifier may include one or more, and each of the target identifiers may correspond to one target controlled device.
  • a selection area may be generated by performing a first operation in a map displayed on the screen, and determining, according to the relationship between the identifier in the map and the selection area, whether the controlled device corresponding to the identifier is selected, because At the same time, the multiple identifiers and the selected area meet the preset relationship, so that multiple controlled devices corresponding to multiple identifiers can be selected by generating the selected area, and then the selected controlled device can be controlled according to requirements, so that the user can Controlling multiple controlled devices through one control device improves control efficiency.
  • the user can be intuitively determined to determine the location of the controlled device and the positional relationship between the different controlled devices, so that the user can subsequently access the controlled device. Take control.
  • the one or more controlled devices may not be controlled, for example, the one or more controlled devices may be notified. Give other controlled devices to initiate corresponding actions to the one or more controlled devices by other controlled devices.
  • the preset relationship includes at least one of the following:
  • the identifiers are all located in the selection area, the identifiers are all located outside the selection area, the identification part is located in the selection area, and the preset part of the identifier is located in the selection area, the identifier The preset portion is located outside the selection area.
  • the relationship between the identifier and the selected area is that the identifier is all located in the selected area and the identifier is all located outside the selected area, and the preset relationship may be Choose between these two situations.
  • the situation may be attributed to the fact that the identifier is all located in the selected area or the identifier is all located outside the selected area.
  • the identifying the relationship with the selected area may include identifying the presets all located in the selected area, the identifiers are all located outside the selected area, the identification portion is located in the selected area, and the identifier is preset.
  • the five parts are located in the selected area, and the preset part of the logo is located outside the selected area, and the preset relationship can be selected from the five situations as needed.
  • the identifier portion is located in the selection area and the preset portion of the identifier is located in the selection area.
  • the identifier portion is located in the selection area, meaning that any part of the identifier is located in the selection area, and the preset part of the identifier is located.
  • the selected area means that the specified part of the logo (which can be preset) is located in the selected area.
  • the preset portion of the identifier is located in the selection area and the preset portion of the identifier is outside the selection area
  • specifically determining which part of the identifier is located in the selection area or outside the selection area may be preset according to requirements, for example, a preset part.
  • the center of the identification it can be determined whether the center of the identification is within the selection area.
  • the preset relationship may be at least one of identifying that all of the identifiers are located in the selection area, the identification portion is located in the selection area, and the preset portion of the identifier is located in the selection area.
  • the preset relationship may be that the identifier is located outside the selected area or the preset portion of the identifier is located outside the selected area.
  • FIG. 2 is a schematic flow diagram of generating a selection area based on a first operation in a map, according to an embodiment of the present application.
  • the generating a selection area according to the first operation in the map includes:
  • Step S11 determining a start position and an end position of the first operation in the map
  • Step S12 generating a selection area according to the start position and the end position.
  • the first operation can be sensed by a touch sensor in the display screen of the control device and the start and end positions of the first operation are recorded.
  • the first operation is a sliding operation, then the position where the user's finger touches the display screen is the starting position, and the position where the finger leaves the display screen is the ending position; for example, the first operation is a click operation, then the position where the user first clicks the display screen is The starting position, the last time (for example, the user clicks on the screen twice, then the last time is the second time), the position of the display screen is the end position.
  • a selection area of a rectangle may be generated as a diagonal point with a start position and an end position, for example, a start position to an end may be used.
  • the position is a selection area in which the diameter produces a circle. The specific choice of which method to generate the selection area can be set in advance as needed.
  • FIG. 3A is a schematic flow chart showing generation of a selection area based on a start position and an end position, according to an embodiment of the present application.
  • the generating a selection area according to the start position and the end position includes:
  • Step S121 generating a selection area in which the start position and the end position are diagonal points.
  • 3B and 3C are schematic diagrams of generating a selection region, according to an embodiment of the present application.
  • the first operation is a touch operation
  • the screen displaying the map can identify the start position and the end position of the touch operation.
  • a selection area in which the start position and the end position are diagonal points can be generated. It should be noted that the selection area is not limited to the rectangular shape as shown in FIG. 3C, and may be other diamond shapes, or even hexagonal shapes and octagon shapes, and a specific selection region of which shape is generated, and may be set as needed.
  • FIG. 4A is a schematic flow chart showing another generation of a selection area based on a start position and an end position, according to an embodiment of the present application.
  • the generating a selection area according to the start position and the end position includes:
  • Step S122 generating a selection area having a diameter from the start position to the end position.
  • FIG. 4B and 4C are schematic diagrams showing another generation selection region, according to an embodiment of the present application.
  • the first operation is a touch operation
  • the screen displaying the map can identify the start position and the end position of the touch operation.
  • a selection area that is a diameter from the start position to the end position may be generated. It should be noted that the selection area is not limited to the circular shape as shown in FIG. 4C, and may be other semicircular or even fan-shaped, and the selected area of the specific shape may be set as needed.
  • the manner of generating the selected area is not limited to the manner described in the foregoing embodiment, and the specific manner may be flexibly set as needed.
  • FIG. 5A is a schematic flow diagram showing another generation of a selection region based on a first operation in a map, according to an embodiment of the present application.
  • the generating a selection area according to the first operation in the map includes:
  • Step S13 determining an operation trajectory of the first operation in the map
  • step S14 the area formed by the operation track is a selection area.
  • the area formed by the operation track may be determined as the selected area.
  • the embodiment shown in FIG. 5A can be combined with the embodiment shown in FIG. 2, and the touch sensor in the display screen can record the start position and the end position of the first operation, and can also record the first An operation trajectory of an operation, for example, when the start position and the end position are not coincident, a selection area is generated according to the start position and the end position, for example, the start position and the end position coincide, and the selection area is generated according to the operation trajectory.
  • the selection area comprises a closed area formed around the operational trajectory itself, or a closed area formed around the boundary of the map with the operational trajectory.
  • the closed area formed by the boundary between the operation track and the map may be used as the selection area by the first operation and the boundary of the map, thereby simplifying the operation mode of generating the selected area.
  • the operation trajectory may be formed by a continuous sliding operation, or may be formed by a breakpoint operation within a preset duration, for example, connecting a plurality of breakpoints to form an operation trajectory, which is not specifically limited herein.
  • FIG. 5B and 5C are schematic diagrams showing still another generation selection region, according to an embodiment of the present application.
  • the first operation is a touch operation
  • the screen displaying the map can identify the operation trajectory of the touch operation, thereby determining whether the operation trajectory intersects the boundary of the map.
  • the operation trajectory intersects the boundary of the map
  • the closed area formed by the boundary of the operation trajectory and the map may be used as the selection area.
  • FIG. 6 is a schematic flow chart of another control method according to an embodiment of the present application. As shown in FIG. 6, on the basis of the embodiment shown in FIG. 1, the control method further includes:
  • Step S3 transmitting a control instruction to the target controlled device according to the second operation.
  • the user can implement the second operation in various manners, for example, by clicking a certain location in the map; for example, the second operation can be implemented by clicking a physical button on the control device; for example, The second operation is implemented by inputting corresponding content, which may include, but is not limited to, gestures, voices, characters.
  • the relationship between the control command and the second operation may be preset, for example, different control commands may be generated according to different second operations, for example, the same control command may be generated according to different second operations.
  • the generated control commands can be various.
  • the control commands can be used to instruct the controlled device to move to a certain position.
  • the control command can be used to indicate that the controlled device is started or shut down.
  • FIG. 7 is a schematic flow chart showing transmission of a control command to a target controlled device according to a second operation, according to an embodiment of the present application.
  • the transmitting, by the second operation, the control instruction to the target controlled device includes:
  • Step S31 transmitting a control instruction to the target controlled device according to a second operation in the map.
  • the second operation in the map may include a click operation, a slide operation, and the like.
  • the starting position of the sliding operation may be the selected target identifier
  • the corresponding path in the actual environment is the moving path in the trajectory of the sliding operation
  • the ending position of the sliding operation is the target position in the actual environment.
  • a control instruction is used to indicate that the target controlled device moves from the current location to the target location according to the motion path.
  • the motion path of the target controlled device may not be the corresponding path of the trajectory of the sliding operation in the actual environment, for example, the motion path may be based on sliding
  • the start position and end position of the operation are generated, and are not specifically limited herein.
  • control instruction is not limited to controlling the movement of the controlled device, for example, the controlled device can be controlled to start, shut down, and the like.
  • the manner of transmitting the control command may be wired transmission or wireless transmission, wherein the wireless transmission may include infrared, Bluetooth, WiFi, Near Field Communication (NFC), and the like.
  • FIG. 8 is a schematic flow chart showing transmission of control instructions to a target controlled device according to a second operation in a map, according to an embodiment of the present application. As shown in FIG. 8, on the basis of the embodiment shown in FIG. 7, the transmitting the control instruction to the target controlled device according to the second operation in the map includes:
  • Step S311 determining a target location of the target controlled device motion according to a second operation in the map
  • Step S312 transmitting a control instruction to the target controlled device to move to the target position.
  • the second operation in the map may include a click operation, a slide operation, and the like.
  • the position corresponding to the position of the click operation in the actual environment may be the target position, and a motion path starting from the current position of the target controlled device and ending with the target position may be generated, and the control instruction is used to indicate The target controlled device moves from its current location to the target location in accordance with the motion path.
  • the motion path with the target location of the target controlled device as the starting point and the target location as the starting point may be directly indicated to the target controlled device, or may be generated by the target controlled device according to the current location and the target location.
  • the operation location in the map may also be transmitted to the target controlled device, and the target controlled device is indicated to the map.
  • the operation position movement in the middle that is, after receiving the operation position in the map, the target controlled device can convert the operation position into a corresponding position in the actual environment, and corresponding to the actual environment according to its current location. Position movement.
  • FIG. 9 is a schematic flow diagram showing determining a target location of movement of a target controlled device based on a second operation in the map, in accordance with an embodiment of the present application.
  • the determining a target location of the target controlled device motion according to a second operation in the map includes:
  • Step S3111 detecting an operation position of the second operation in the map
  • Step S3112 Convert the operation location to a target location in the actual environment according to a correspondence between the map and an actual environment in which the controlled device is located.
  • the correspondence between the map and the actual environment in which the controlled device is located may be generated according to the map when the map is generated.
  • the operation position of the second operation in the map is converted to the target position in the actual environment, thereby controlling the target controlled device to move to the target position in the actual environment.
  • the second operation comprises one of the following:
  • the case of the click operation and the slide operation has been described in the foregoing embodiment, and details are not described herein again.
  • the double-click operation and the long-press operation can be similar to the case of a click operation, that is, the target position is determined according to the operation position of the double-click operation or the long-press operation in the map, and the target is determined based on the double-click operation and the long-press operation.
  • the location can prevent the user from accidentally controlling the controlled device by clicking on the map by mistake.
  • the map is further for displaying identity information of at least one of the controlled devices.
  • identity information of the controlled device corresponding to the identifier such as an ID, a role, and a function, may be displayed in a text form, so that the user quickly and accurately determines the controlled device corresponding to the identifier according to the identity information.
  • a control device is also provided, and related embodiments of the control device may be implemented by software, or may be implemented by hardware or a combination of hardware and software.
  • the processor can read the corresponding computer program instructions in the non-volatile memory into the memory.
  • FIG. 10 a hardware structure diagram of the control device of the present application, except for the processor, the memory, the network interface, and the non-volatile memory shown in FIG. 10, in the embodiment.
  • the control device is usually based on actual functions, and may also include other hardware, which will not be described again.
  • control device can include a processor for performing the following steps:
  • the map being configured to display an identifier of the at least one controlled device, where the identifier is used to correspond to location information transmitted by the at least one of the controlled devices;
  • the target identifier selecting a target identifier that satisfies a preset relationship with the selected area, where the target identifier is used to indicate a target controlled device in at least one of the controlled devices.
  • the preset relationship includes at least one of the following:
  • the identifiers are all located in the selection area, the identifiers are all located outside the selection area, the identification part is located in the selection area, and the preset part of the identifier is located in the selection area, the identifier The preset portion is located outside the selection area.
  • the processor is further configured to:
  • a selection area is generated based on the start position and the end position.
  • the processor is further configured to:
  • a selection area is created in which the starting position and the ending position are diagonal points.
  • the processor is further configured to:
  • a selection area that is a diameter from the start position to the end position is generated.
  • the processor is further configured to:
  • the area formed by the operation trajectory is a selection area.
  • the selection area comprises a closed area formed around the operational trajectory itself, or a closed area formed around the boundary of the map with the operational trajectory.
  • the processor is further configured to:
  • the processor is further configured to:
  • a control instruction is transmitted to the target controlled device according to a second operation in the map.
  • the processor is further configured to:
  • a control command to move to the target position is transmitted to the target controlled device.
  • the processor is further configured to:
  • the second operation comprises one of the following:
  • the map is further for displaying identity information of at least one of the controlled devices.
  • a control system comprising a control device and at least one controlled device, at least one of the controlled devices for transmitting location information to the control device;
  • the control device is configured to generate a selection area according to a first operation in a map, where the map is used to display an identifier of at least one controlled device, where the identifier is used to correspond to location information transmitted by at least one of the controlled devices;
  • the control device is configured to select, in the identifier, a target identifier that meets a preset relationship with the selected area, where the target identifier is used to indicate a target controlled device in at least one of the controlled devices.
  • the at least one controlled device may first determine its own location information and then transmit the location information to the control device.
  • an Ultra Wideband (UWB) tag may be disposed on the at least one controlled device, and the target controlled device may determine location information of the controlled device according to the indoor positioning algorithm.
  • the ultra-wideband tag can be used to communicate with the ultra-wideband base station, and the location information of the ultra-wideband tag is determined by the indoor positioning algorithm; the location of the target controlled device is determined according to the location information of the ultra-wideband tag and the position of the ultra-wideband tag on the target controlled device. information.
  • control device is configured to send a control instruction to the target controlled device
  • the target controlled device is configured to perform an action according to the control instruction.
  • control instruction is used to indicate that the target controlled device moves to a target location, and the target controlled device is configured to generate a motion path according to the location information and the target location;
  • the target controlled device is configured to move toward the target position in accordance with the motion path.
  • the target controlled device may generate a motion path according to the location information, that is, the current location and the target location, where the target controlled device may consider avoiding the obstacle and having the shortest path in the process of generating the motion path. Factors such as the shortest time to generate the appropriate motion path as needed.
  • the target controlled device is configured to divide the motion path into multiple sub-paths according to a preset division manner
  • the target controlled device is configured to determine a motion parameter from a start point to an end point of the sub path for each of the sub paths;
  • the target controlled device is configured to move to the target position based on the motion parameter.
  • the manner of dividing the motion path may be set as needed, for example, a motion path formed for a plurality of straight line segments, and each straight line segment may be divided into one sub-path; for example, for including arc segments and straight lines
  • the path of the road segment can divide the straight line segment into one sub-path and divide the arc line segment into one sub-path.
  • the motion parameters may include parameters such as the speed of motion and the direction of motion.
  • the target controlled device is configured to convert the motion parameter to the relationship according to a relationship between an environment coordinate system corresponding to the motion parameter and a body coordinate system corresponding to the target controlled device.
  • the body coordinate system corresponding to the controlled device is configured to convert the motion parameter to the relationship according to a relationship between an environment coordinate system corresponding to the motion parameter and a body coordinate system corresponding to the target controlled device.
  • the target controlled device is configured to move to the target position according to the converted motion parameter.
  • the target coordinate system of the target device itself is generally different from the environment coordinate system corresponding to the motion parameter, for example, the origin position and the coordinate axis direction are different, so according to the relationship between the two coordinate systems, for example, the translation may be included.
  • the relationship and the rotation relationship convert the obtained motion parameters so that the target controlled device can accurately perform the motion operation according to the converted motion parameters.
  • the UWB tag can be set on the robot.
  • the UWB base station can be set around the robot where the robot is located.
  • the UWB tag can communicate with the UWB base station, and according to the indoor positioning algorithm, the robot can be calculated.
  • the coordinates within the site which is the current location of the robot.
  • the plurality of robots can transmit the respective obtained coordinates to the control device, such as a remote controller that controls the robot, by, for example, wireless communication.
  • the map of the above-mentioned site may be displayed in advance on the remote controller, and after receiving the coordinates of the robot, the logo of the robot may be displayed on the map of the site according to the coordinates.
  • the operator can operate in the map displayed by the remote controller, for example, by a mouse operation or a touch operation, for example, by mouse operation, the mouse can be clicked in the first position, and the operation is performed from the first position. Start position, drag the mouse to the second position and release the mouse, then use the second position as the end position of the operation, and then generate the selection area according to the start position and end position of the operation, and select the area and the map The logo in the intersection is done.
  • the intersection may be performed according to the positional relationship between the pixels of the display selection area and the pixels of the display identifier in the map, and the identifier located in the selection area is determined. It is also possible to convert the selected area into the actual environment in which the robot is located, obtain the selected area in the actual environment, and then intersect the selected area in the actual environment with the coordinates of the robot to determine the coordinates in the selected area in the actual environment. . Either way, you can determine the target robot after the intersection.
  • the target robot can be either a robot or multiple robots.
  • the operator can further operate in the map displayed by the remote controller, for example, by clicking a certain point in the map, a control command can be generated, and the control command is used to indicate that the target robot starts from its current location.
  • the start position, the point at which the point clicked by the operator moves in the actual environment is the end position (ie, the target position), and the control command can be transmitted to the target robot by, for example, wireless communication.
  • a control command can be generated for each target robot.
  • the target robot After receiving the control command, the target robot can generate a motion path according to the start position and the end position. It should be noted that the motion path can also be generated by the remote controller, and then the control command is used to indicate that the target robot is generated according to the remote controller. Movement path movement. Among them, the way to generate the motion path can consider factors such as avoiding obstacles and shortest paths.
  • the target robot can divide the motion path into multiple sub-paths, and determine the motion speed and the motion direction from the start point to the end point of the sub-path for each sub-path. Since the coordinate system of the robot's own coordinate system and the environment in which the robot is located may be different, The direction of motion is converted into the coordinate system of the robot itself by matrix transformation to ensure that the robot moves accurately. In turn, the robot can move sequentially along each sub-path to complete the actions indicated by the control commands.
  • control commands can be sent to a plurality of target robots at the same time, and control of a plurality of target robots can be realized at the same time, especially when the multi-party robots compete against the competition venue.
  • the control device specifies the target position, and then cooperates with the path planning algorithm to realize the purpose of one-to-many control of the robot moving to the target position, improving the feasibility of the automated intelligent robot competition, making the intelligent game more flexible and more effective for improving the operator's operation.
  • the system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function.
  • the above devices are described separately by function into various units.
  • the functions of each unit may be implemented in the same software or software and/or hardware when implementing the present application.
  • embodiments of the present application can be provided as a method, system, or computer program product.
  • the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware.
  • the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The present application provides a control method, applied in a control device. The method comprises: generating a selected area according to a first operation in a map, the map being used for displaying the identifier of at least one controlled device, and the identifier corresponding to location information transmitted by the at least one controlled device; selecting, from the identifier, a target identifier that satisfies a preset relationship with the selected area, the target identifier being used for indicating a target controlled device in the at least one controlled device.According to the embodiments of the present application, a plurality of controlled devices corresponding to a plurality of identifiers can be selected by generating a selected area, and then the selected controlled devices can be controlled according to needs; thus, a user can control a plurality of controlled devices by means of one control device, thereby improving the control efficiency.

Description

控制方法、控制设备、控制系统和计算机可读存储介质Control method, control device, control system, and computer readable storage medium 技术领域Technical field
本申请涉及控制技术领域,具体而言,涉及控制方法、控制设备、控制系统和计算机可读存储介质。The present application relates to the field of control technology, and in particular, to a control method, a control device, a control system, and a computer readable storage medium.
背景技术Background technique
目前的遥控器控制机器人一般只能实现一对一的控制,例如一个遥控器和一个机器人之间建立通信连接,用户在遥控器上进行操作以生成控制信号,遥控器向机器人发送控制信号,机器人接收遥控器的控制信号,并根据控制信号执行动作。The current remote control robot can only achieve one-to-one control, for example, a remote control establishes a communication connection with a robot, the user operates on the remote controller to generate a control signal, and the remote controller sends a control signal to the robot. Receiving a control signal of the remote controller and performing an action according to the control signal.
根据目前的控制方式,用户通过一个遥控器只能实现对一个机器人的控制,控制效率较低。According to the current control method, the user can only control one robot through a remote controller, and the control efficiency is low.
发明内容Summary of the invention
本申请提供控制方法、控制设备、控制系统和计算机可读存储介质。The application provides a control method, a control device, a control system, and a computer readable storage medium.
根据本申请实施例的第一方面,提出一种控制方法,应用于控制设备,所述方法包括:According to a first aspect of the embodiments of the present application, a control method is provided, which is applied to a control device, and the method includes:
根据在地图中的第一操作生成选择区域,所述地图用于显示至少一个受控设备的标识,所述标识用于对应至少一个所述受控设备传输的位置信息;Generating a selection area according to a first operation in the map, the map being configured to display an identifier of the at least one controlled device, where the identifier is used to correspond to location information transmitted by the at least one of the controlled devices;
在所述标识中,选择与所述选择区域满足预设关系的目标标识,所述目标标识用于指示至少一个所述受控设备中的目标受控设备。In the identifier, selecting a target identifier that satisfies a preset relationship with the selected area, where the target identifier is used to indicate a target controlled device in at least one of the controlled devices.
根据本申请实施例的第二方面,提出一种控制设备,包括处理器,所述处理器用于执行以下步骤:According to a second aspect of the embodiments of the present application, a control device is provided, including a processor, where the processor is configured to perform the following steps:
根据在地图中的第一操作生成选择区域,所述地图用于显示至少一个受 控设备的标识,所述标识用于对应至少一个所述受控设备传输的位置信息;Generating a selection area according to a first operation in the map, the map being configured to display an identifier of the at least one controlled device, the identifier being used to correspond to location information transmitted by the at least one of the controlled devices;
在所述标识中,选择与所述选择区域满足预设关系的目标标识,所述目标标识用于指示至少一个所述受控设备中的目标受控设备。In the identifier, selecting a target identifier that satisfies a preset relationship with the selected area, where the target identifier is used to indicate a target controlled device in at least one of the controlled devices.
根据本申请实施例的第三方面,提出一种控制系统,所述控制系统包括控制设备和至少一个受控设备,至少一个所述受控设备用于传输位置信息至所述控制设备;According to a third aspect of the embodiments of the present application, a control system is provided, the control system comprising a control device and at least one controlled device, at least one of the controlled devices for transmitting location information to the control device;
所述控制设备用于根据在地图中的第一操作生成选择区域,所述地图用于显示至少一个受控设备的标识,所述标识用于对应至少一个所述受控设备传输的位置信息;The control device is configured to generate a selection area according to a first operation in a map, where the map is used to display an identifier of at least one controlled device, where the identifier is used to correspond to location information transmitted by at least one of the controlled devices;
所述控制设备用于在所述标识中,选择与所述选择区域满足预设关系的目标标识,所述目标标识用于指示至少一个所述受控设备中的目标受控设备。The control device is configured to select, in the identifier, a target identifier that meets a preset relationship with the selected area, where the target identifier is used to indicate a target controlled device in at least one of the controlled devices.
根据本申请实施例的第四方面,提出一种计算机可读存储介质,该计算机可读存储介质中存储有程序指令,该程序指令被处理器运行时,用于执行上述第一方面所述的方法。According to a fourth aspect of the embodiments of the present application, there is provided a computer readable storage medium having stored therein program instructions, when executed by a processor, for performing the above described first aspect method.
由以上本申请实施例提供的技术方案可见,通过在屏幕显示的地图中执行第一操作来生成选择区域,可以根据地图中的标识与选择区域的关系确定标识对应的受控设备是否被选中,由于可以同时存在多个标识与选择区域满足预设关系,从而可以实现通过生成选择区域来选择多个标识对应的多个受控设备,进而可以根据需要对选择的受控设备进行控制,使得用户可以在通过一个控制设备对多个受控设备进行控制,提高了控制效率。It can be seen from the technical solution provided by the embodiment of the present application that the selected area is generated by performing the first operation in the map displayed on the screen, and whether the controlled device corresponding to the identifier is selected according to the relationship between the identifier and the selected area in the map may be determined. The multiple selected identifiers and the selected area can satisfy the preset relationship at the same time, so that multiple controlled devices corresponding to the plurality of identifiers can be selected by generating the selected area, and then the selected controlled device can be controlled according to requirements, so that the user Multiple controlled devices can be controlled by one control device, improving control efficiency.
另外,通过在地图中显示与受控设备的位置信息对应的标识,可以保证用户直观地确定受控设备所处的位置,以及不同受控设备之间的位置关系,便于用户后续对受控设备进行控制。In addition, by displaying the identifier corresponding to the location information of the controlled device in the map, the user can be intuitively determined to determine the location of the controlled device and the positional relationship between the different controlled devices, so that the user can subsequently access the controlled device. Take control.
附图说明DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application. Other drawings may also be obtained from those of ordinary skill in the art in view of the drawings.
图1是根据本申请的一个实施例示出的一种控制方法的示意流程图;1 is a schematic flow chart of a control method according to an embodiment of the present application;
图2是根据本申请的一个实施例示出的一种根据在地图中的第一操作生成选择区域的示意流程图;2 is a schematic flow chart showing generation of a selection area according to a first operation in a map, according to an embodiment of the present application;
图3A是根据本申请的一个实施例示出的一种根据起始位置和结束位置生成选择区域的示意流程图;FIG. 3A is a schematic flow chart showing generation of a selection area according to a start position and an end position, according to an embodiment of the present application; FIG.
图3B和3C是根据本申请的一个实施例示出的一种生成选择区域的示意图;3B and 3C are schematic diagrams showing a generation selection region according to an embodiment of the present application;
图4A是根据本申请的一个实施例示出的另一种根据起始位置和结束位置生成选择区域的示意流程图;4A is a schematic flow chart showing another generation of a selection area according to a start position and an end position, according to an embodiment of the present application;
图4B和4C是根据本申请的一个实施例示出的另一种生成选择区域的示意图;4B and 4C are schematic diagrams showing another generation selection region according to an embodiment of the present application;
图5A是根据本申请的一个实施例示出的另一种根据在地图中的第一操作生成选择区域的示意流程图;5A is a schematic flow chart showing another generation of a selection area according to a first operation in a map, according to an embodiment of the present application;
图5B和图5C是根据本申请的一个实施例示出的又一种生成选择区域的示意图;5B and 5C are schematic diagrams showing still another generation selection region according to an embodiment of the present application;
图6是根据本申请的一个实施例示出的另一种控制方法的示意流程图;6 is a schematic flow chart of another control method according to an embodiment of the present application;
图7是根据本申请的一个实施例示出的一种根据第二操作向目标受控设备传输控制指令的示意流程图;FIG. 7 is a schematic flow chart showing transmission of a control command to a target controlled device according to a second operation, according to an embodiment of the present application; FIG.
图8是根据本申请的一个实施例示出的一种根据在地图中的第二操作向 目标受控设备传输控制指令的示意流程图;8 is a schematic flow chart showing transmission of a control command to a target controlled device according to a second operation in a map, according to an embodiment of the present application;
图9是根据本申请的一个实施例示出的一种根据在所述地图中的第二操作确定所述目标受控设备运动的目标位置的示意流程图;9 is a schematic flow chart showing determining a target position of movement of the target controlled device according to a second operation in the map, according to an embodiment of the present application;
图10是根据本申请的一个实施例示出的控制设备的一种硬件结构图。FIG. 10 is a hardware configuration diagram of a control device according to an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。另外,在不冲突的情况下,下述的实施例及实施例中的特征可以相互组合。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application. Further, the features of the following embodiments and examples may be combined with each other without conflict.
图1是根据本申请的一个实施例示出的一种控制方法的示意流程图。如图1所示,所述控制方法可以应用于控制设备,所述控制设备可以用于控制受控设备。其中,受控设备可以是机器人、无人飞行器等,控制设备可以是遥控器、移动终端等。1 is a schematic flow chart of a control method according to an embodiment of the present application. As shown in FIG. 1, the control method can be applied to a control device, which can be used to control a controlled device. The controlled device may be a robot, an unmanned aerial vehicle, etc., and the control device may be a remote controller, a mobile terminal, or the like.
如图1所示,所述控制方法可以包括以下步骤:As shown in FIG. 1, the control method may include the following steps:
步骤S1,根据在地图中的第一操作生成选择区域,所述地图用于显示至少一个受控设备的标识,所述标识用于对应至少一个所述受控设备传输的位置信息。Step S1: Generate a selection area according to a first operation in the map, the map is used to display an identifier of at least one controlled device, and the identifier is used to correspond to location information transmitted by at least one of the controlled devices.
在一个实施例中,在控制设备上可以设置有显示屏幕,在显示屏幕中可以显示地图。In one embodiment, a display screen may be provided on the control device, and a map may be displayed in the display screen.
其中,所述地图可以由受控设备生成,受控设备在生成地图后将地图传输至控制设备,例如在受控设备上设置有激光传感器,通过激光传感器扫描受控设备所处环境,可以生成所述环境的地图。The map may be generated by a controlled device, and the controlled device transmits the map to the control device after generating the map, for example, a laser sensor is disposed on the controlled device, and the environment of the controlled device is scanned by the laser sensor, and the generated device may generate A map of the environment.
所述地图也可以由控制设备从服务器获取,例如服务器预先存储有多个区域的地图,控制设备可以获取受控设备的位置,将受控设备的位置传输至 服务器,服务器根据受控设备的位置确定受控设备所处的区域,进而将该区域的地图传输至控制设备。The map may also be acquired by the control device from the server. For example, the server pre-stores a map of multiple areas, and the control device may acquire the location of the controlled device, transmit the location of the controlled device to the server, and the server according to the location of the controlled device. The area in which the controlled device is located is determined, and the map of the area is transmitted to the control device.
在一个实施例中,第一操作可以是点击地图中虚拟按键的操作,也可以是在地图中的触控操作,如点击操作、滑动操作。其中,第一操作可以由用户直接通过手指进行触控执行,也可以通过鼠标执行,还可以是通过其它触控物(如触控笔)执行,以下实施例主要在第一操作由用户通过手指进行触控执行的情况下进行示例性说明。In one embodiment, the first operation may be an operation of clicking a virtual button in the map, or a touch operation in the map, such as a click operation or a sliding operation. The first operation may be performed by the user directly through the finger, or may be performed by a mouse, or may be performed by other touch objects (such as a stylus). The following embodiments are mainly used by the user through the finger in the first operation. An exemplary description is made in the case of performing touch execution.
例如第一操作是点击地图中虚拟按键的操作,地图可以由多个区块组成,每个区块对应不同的编号,在地图中可以显示与区块的编号对应的虚拟按键,通过点击一个或多个编号可以将编号对应的区块作为选择区域。For example, the first operation is an operation of clicking a virtual button in the map, and the map may be composed of a plurality of blocks, each block corresponding to a different number, and a virtual button corresponding to the block number may be displayed in the map by clicking one or A plurality of numbers may use a block corresponding to the number as a selection area.
例如第一操作是在地图中的滑动操作,那么可以通过显示屏幕中的触控传感器感应用户的滑动操作,确定滑动操作的起点和终点,生成以起点和终点为对角点的四边形作为选择区域。For example, the first operation is a sliding operation in the map, then the sliding operation of the user can be sensed by the touch sensor in the display screen to determine the starting point and the ending point of the sliding operation, and a quadrilateral with the starting point and the ending point as the diagonal point is generated as the selection area. .
以下实施例主要在第一操作为滑动操作或点击操作的情况下进行示例性说明。The following embodiments are mainly exemplified in the case where the first operation is a slide operation or a click operation.
在一个实施例中,受控设备可以将自身的位置信息传输至控制设备,控制设备根据受控设备的位置信息可以在地图中生成与该位置信息对应的标识。In one embodiment, the controlled device may transmit its own location information to the control device, and the control device may generate an identifier corresponding to the location information in the map according to the location information of the controlled device.
其中,生成的标识可以是没有面积的一个点,也可以是有面积的图形,例如与侧视或俯视受控设备时受控设备的边缘形状相对应的图形。Wherein, the generated identifier may be a point having no area, or may be an aread figure, for example, a figure corresponding to the edge shape of the controlled device when viewed from the side or from the controlled device.
通过在地图中显示与受控设备的位置信息对应的标识,用户可以直观地确定受控设备所处的位置,以及不同受控设备之间的位置关系,便于用户后续对受控设备进行控制。By displaying the identifier corresponding to the location information of the controlled device in the map, the user can intuitively determine the location where the controlled device is located, and the positional relationship between the different controlled devices, so that the user can subsequently control the controlled device.
进一步的,当在地图中显示有多个受控设备对应的标识时,各个标识之间的形状、颜色、光电信息等可以不同,以具有多样的表现形式而充分地指示受控设备的身份信息(如功能、角色等),例如,当多个受控设备为彼此竞争的机器人时,各个竞争的机器人对应的标识可以标记有不同的颜色,如A 队机器人为红色,B对机器人为蓝色,又例如,当A队或B队机器人中又包括不同功能的机器人时,具有相同功能的机器人可以在颜色的基础上再进行相同的标记变化,如A队的某一功能机器人可以显示为红色并闪烁。Further, when the identifiers corresponding to the plurality of controlled devices are displayed in the map, the shapes, colors, photoelectric information, and the like between the respective identifiers may be different, and the identification information of the controlled devices is sufficiently indicated by having various representation forms. (such as function, role, etc.), for example, when multiple controlled devices are robots competing with each other, the corresponding logos of each competing robot can be marked with different colors, such as A team robot is red, B pair robot is blue For example, when the A team or the B team robots include robots with different functions, the robots with the same function can perform the same mark change on the basis of the color. For example, a certain function of the A team robot can be displayed in red. And flashes.
步骤S2,在所述标识中,选择与所述选择区域满足预设关系的目标标识,所述目标标识用于指示至少一个所述受控设备中的目标受控设备。Step S2: In the identifier, select a target identifier that satisfies a preset relationship with the selected area, where the target identifier is used to indicate a target controlled device in at least one of the controlled devices.
在一个实施例中,控制设备可以根据标识在显示屏幕中的位置,确定标识与选择区域的关系,例如可以确定显示的标识的第一像素在屏幕中的位置,以及确定选择区域的边界对应的第二像素在屏幕中的位置,进而根据第一像素和第二像素的关系确定标识和选择区域的关系。In an embodiment, the control device may determine the relationship between the identifier and the selected area according to the location of the identifier in the display screen, for example, may determine the position of the displayed first pixel in the screen, and determine the boundary of the selected area. The position of the second pixel in the screen, and further determining the relationship between the identification and the selection area according to the relationship between the first pixel and the second pixel.
在一个实施例中,控制设备可以根据标识在地图中的地图坐标,确定标识与选择区域的关系,例如可以确定显示的标识的第一地图坐标,以及确定选择区域的边界对应的第二地图坐标,进而根据第一地图坐标和第二地图坐标的关系确定标识和选择区域的关系。In an embodiment, the control device may determine the relationship between the identifier and the selected area according to the map coordinates identified in the map, for example, may determine the first map coordinate of the displayed identifier, and determine the second map coordinate corresponding to the boundary of the selected area. And determining a relationship between the identifier and the selection area according to the relationship between the first map coordinate and the second map coordinate.
在一个实施例中,控制设备可以根据标识对应至受控设备所在的实际环境的环境坐标,确定标识与选择区域的关系,例如可以确定显示的标识对应至受控设备所在的实际环境的第一环境坐标,以及确定选择区域的边界对应至受控设备所在的实际环境的第二环境坐标,进而根据第一环境坐标和第二环境坐标的关系确定标识和选择区域的关系。In an embodiment, the control device may determine the relationship between the identifier and the selected area according to the environment coordinate corresponding to the actual environment in which the controlled device is located, for example, may determine that the displayed identifier corresponds to the first physical environment where the controlled device is located. The environment coordinates, and determining the boundary of the selected area corresponds to the second environment coordinate of the actual environment in which the controlled device is located, and determining the relationship between the identifier and the selected area according to the relationship between the first environment coordinate and the second environment coordinate.
在一个实施例中,控制设备可以根据标识所在位置对应的图形与选择区域的重叠关系,确定标识与选择区域的关系,例如可以确定显示的标识对应的图形的第一边界坐标,以及确定选择区域的边界对应的第二边界坐标,进而根据第一边界坐标和第二边界坐标的重叠关系确定标识和选择区域的关系。In an embodiment, the control device may determine the relationship between the identifier and the selected area according to the overlapping relationship between the graphic corresponding to the location and the selected area, for example, may determine the first boundary coordinate of the graphic corresponding to the displayed identifier, and determine the selected area. The boundary corresponding to the second boundary coordinate, and further determining the relationship between the identifier and the selection region according to the overlapping relationship between the first boundary coordinate and the second boundary coordinate.
其中,标识与选择区域的关系可以包括以下至少之一:所述标识全部位于所述选择区域内、所述标识全部位于所述选择区域外、所述标识部分位于所述选择区域内、所述标识的预设部分位于所述选择区域内、所述标识的预设部分位于所述选择区域外。而预设关系则可以根据需要从上述关系中选择。The relationship between the identifier and the selected area may include at least one of the following: the identifiers are all located in the selection area, the identifiers are all located outside the selection area, and the identification part is located in the selection area, A preset portion of the logo is located within the selection area, and a preset portion of the logo is located outside the selection area. The default relationship can be selected from the above relationships as needed.
例如预设关系为标识全部位于选择区域内,那么当确定标识全部位于选择区域内时,可以确定该标识与所述选择区域满足预设关系,也即该标识为目标标识,而目标标识用于指示至少一个所述受控设备中的目标受控设备,因此通过选择目标标识可以实现对目标受控设备的选择。其中,目标标识可以包括一个或以上,目标标识中的每一个可以对应一个目标受控设备。For example, if the preset relationship is that the identifiers are all located in the selection area, when it is determined that the identifiers are all located in the selection area, it may be determined that the identifier and the selected area satisfy a preset relationship, that is, the identifier is a target identifier, and the target identifier is used for A target controlled device among at least one of the controlled devices is indicated, so selection of the target controlled device can be achieved by selecting the target identifier. The target identifier may include one or more, and each of the target identifiers may correspond to one target controlled device.
可见,根据本申请的实施例,可以通过在屏幕显示的地图中执行第一操作来生成选择区域,并根据地图中的标识与选择区域的关系确定标识对应的受控设备是否被选中,由于可以同时存在多个标识与选择区域满足预设关系,从而可以实现通过生成选择区域来选择多个标识对应的多个受控设备,进而可以根据需要对选择的受控设备进行控制,使得用户可以在通过一个控制设备对多个受控设备进行控制,提高了控制效率。It can be seen that, according to an embodiment of the present application, a selection area may be generated by performing a first operation in a map displayed on the screen, and determining, according to the relationship between the identifier in the map and the selection area, whether the controlled device corresponding to the identifier is selected, because At the same time, the multiple identifiers and the selected area meet the preset relationship, so that multiple controlled devices corresponding to multiple identifiers can be selected by generating the selected area, and then the selected controlled device can be controlled according to requirements, so that the user can Controlling multiple controlled devices through one control device improves control efficiency.
另外,通过在地图中显示与受控设备的位置信息对应的标识,可以保证用户直观地确定受控设备所处的位置,以及不同受控设备之间的位置关系,便于用户后续对受控设备进行控制。In addition, by displaying the identifier corresponding to the location information of the controlled device in the map, the user can be intuitively determined to determine the location of the controlled device and the positional relationship between the different controlled devices, so that the user can subsequently access the controlled device. Take control.
当然,可以理解,在实际应用中,通过选择区域确定一个或多个受控设备后,也可以不对这一个或多个受控设备进行控制,例如,可以将这一个或多个受控设备通知给其它受控设备,以由其它受控设备向这一个或多个受控设备发起相应的动作。Of course, it can be understood that, in actual applications, after one or more controlled devices are determined by selecting a region, the one or more controlled devices may not be controlled, for example, the one or more controlled devices may be notified. Give other controlled devices to initiate corresponding actions to the one or more controlled devices by other controlled devices.
可选地,所述预设关系包括以下至少之一:Optionally, the preset relationship includes at least one of the following:
所述标识全部位于所述选择区域内、所述标识全部位于所述选择区域外、所述标识部分位于所述选择区域内、所述标识的预设部分位于所述选择区域内、所述标识的预设部分位于所述选择区域外。The identifiers are all located in the selection area, the identifiers are all located outside the selection area, the identification part is located in the selection area, and the preset part of the identifier is located in the selection area, the identifier The preset portion is located outside the selection area.
在一个实施例中,在标识为没有面积的点的情况下,标识与选择区域的关系存在标识全部位于选择区域内和标识全部位于选择区域外两种情况,而预设关系则可以根据需要从这两种情况中选择。In an embodiment, in the case of a point identified as having no area, the relationship between the identifier and the selected area is that the identifier is all located in the selected area and the identifier is all located outside the selected area, and the preset relationship may be Choose between these two situations.
其中,针对标识与选择区域的边界重合的情况,可以根据需要将这种情况归属为标识全部位于选择区域内或标识全部位于选择区域外。Wherein, in the case where the identifier coincides with the boundary of the selected area, the situation may be attributed to the fact that the identifier is all located in the selected area or the identifier is all located outside the selected area.
在一个实施例中,在标识为有面积的图形的情况下,标识与选择区域的关系可以包括标识全部位于选择区域内、标识全部位于选择区域外、标识部分位于选择区域内、标识的预设部分位于选择区域内、标识的预设部分位于选择区域外这五种情况,而预设关系则可以根据需要从这五种情况中选择。In an embodiment, in the case of the graphic identified as having an area, the identifying the relationship with the selected area may include identifying the presets all located in the selected area, the identifiers are all located outside the selected area, the identification portion is located in the selected area, and the identifier is preset. The five parts are located in the selected area, and the preset part of the logo is located outside the selected area, and the preset relationship can be selected from the five situations as needed.
需要说明的是,标识部分位于选择区域内和标识的预设部分位于选择区域内是不同的概念,标识部分位于选择区域内是指标识的任意部分位于选择区域内,而标识的预设部分位于选择区域内是指标识的指定部分(该部分可以预先设置)位于选择区域内。It should be noted that the identifier portion is located in the selection area and the preset portion of the identifier is located in the selection area. The identifier portion is located in the selection area, meaning that any part of the identifier is located in the selection area, and the preset part of the identifier is located. The selected area means that the specified part of the logo (which can be preset) is located in the selected area.
对于标识的预设部分位于选择区域内、标识的预设部分位于选择区域外两种情况,具体确定标识的哪个部分位于选择区域内或位于选择区域外,可以根据需要预先设置,例如预设部分为标识的中心,那么可以确定标识的中心是否位于选择区域内。For the case where the preset portion of the identifier is located in the selection area and the preset portion of the identifier is outside the selection area, specifically determining which part of the identifier is located in the selection area or outside the selection area may be preset according to requirements, for example, a preset part. As the center of the identification, it can be determined whether the center of the identification is within the selection area.
基于上述关系的描述,在实际应用中,当地图的区域过大,多个受控设备对应的标识在地图中可能存在分布不均的情况,为了便于用户在地图上的第一操作,优选地,预设关系可以为标识全部位于选择区域内、标识部分位于选择区域内、标识的预设部分位于选择区域内中的至少一种。当然,当非目标受控设备的标识分布较为集中,而目标受控设备较多时,也可以根据需要将选择区域外的标识对应的一个或多个受控设备为目标受控设备,此时,优选地,预设关系可以为标识全部位于选择区域外或标识的预设部分位于选择区域外。Based on the description of the foregoing relationship, in an actual application, the area of the local map is too large, and the identifier corresponding to the multiple controlled devices may be unevenly distributed in the map. To facilitate the first operation of the user on the map, preferably The preset relationship may be at least one of identifying that all of the identifiers are located in the selection area, the identification portion is located in the selection area, and the preset portion of the identifier is located in the selection area. Certainly, when the identifier distribution of the non-target controlled device is concentrated, and the target controlled device is more, the one or more controlled devices corresponding to the identifier outside the selected area may be the target controlled device. Preferably, the preset relationship may be that the identifier is located outside the selected area or the preset portion of the identifier is located outside the selected area.
图2是根据本申请的一个实施例示出的一种根据在地图中的第一操作生成选择区域的示意流程图。如图2所示,在图1所示实施例的基础上,所述根据在地图中的第一操作生成选择区域包括:2 is a schematic flow diagram of generating a selection area based on a first operation in a map, according to an embodiment of the present application. As shown in FIG. 2, on the basis of the embodiment shown in FIG. 1, the generating a selection area according to the first operation in the map includes:
步骤S11,确定在地图中的第一操作的起始位置和结束位置;Step S11, determining a start position and an end position of the first operation in the map;
步骤S12,根据所述起始位置和所述结束位置生成选择区域。Step S12, generating a selection area according to the start position and the end position.
在一个实施例中,可以通过控制设备的显示屏幕中的触控传感器感应第一操作,并记录第一操作的起始位置和结束位置。例如第一操作为滑动操作, 那么用户手指接触显示屏幕的位置为起始位置,手指离开显示屏幕的位置为结束位置;例如第一操作为点击操作,那么用户第一次点击显示屏幕的位置为起始位置,最后一次(例如用户点击两次屏幕,那么最后一次就是第二次)点击显示屏幕的位置为结束位置。In one embodiment, the first operation can be sensed by a touch sensor in the display screen of the control device and the start and end positions of the first operation are recorded. For example, the first operation is a sliding operation, then the position where the user's finger touches the display screen is the starting position, and the position where the finger leaves the display screen is the ending position; for example, the first operation is a click operation, then the position where the user first clicks the display screen is The starting position, the last time (for example, the user clicks on the screen twice, then the last time is the second time), the position of the display screen is the end position.
在一个实施例中,可以存在多种以起始位置和结束位置生成选择区域的方式,例如可以以起始位置和结束位置为对角点生成矩形的选择区域,例如可以以起始位置到结束位置为直径生成圆形的选择区域。而具体选择通过哪种方式来生成选择区域,可以根据需要预先设置。In an embodiment, there may be a plurality of manners of generating a selection area with a start position and an end position. For example, a selection area of a rectangle may be generated as a diagonal point with a start position and an end position, for example, a start position to an end may be used. The position is a selection area in which the diameter produces a circle. The specific choice of which method to generate the selection area can be set in advance as needed.
图3A是根据本申请的一个实施例示出的一种根据起始位置和结束位置生成选择区域的示意流程图。如图3A所示,在图2所示实施例的基础上,所述根据所述起始位置和所述结束位置生成选择区域包括:FIG. 3A is a schematic flow chart showing generation of a selection area based on a start position and an end position, according to an embodiment of the present application. As shown in FIG. 3A, on the basis of the embodiment shown in FIG. 2, the generating a selection area according to the start position and the end position includes:
步骤S121,生成以所述起始位置和所述结束位置为对角点的选择区域。Step S121, generating a selection area in which the start position and the end position are diagonal points.
图3B和3C是根据本申请的一个实施例示出的一种生成选择区域的示意图。如图3B所示,例如第一操作为触控操作,显示地图的屏幕可以识别触控操作的起始位置和结束位置。3B and 3C are schematic diagrams of generating a selection region, according to an embodiment of the present application. As shown in FIG. 3B, for example, the first operation is a touch operation, and the screen displaying the map can identify the start position and the end position of the touch operation.
进一步地,如图3C所示,可以生成以起始位置和结束位置为对角点的选择区域。需要说明的,选择区域并不限于如图3C所示的矩形,也可以是其他菱形,甚至六边形、八边形,具体生成何种形状的选择区域,可以根据需要进行设置。Further, as shown in FIG. 3C, a selection area in which the start position and the end position are diagonal points can be generated. It should be noted that the selection area is not limited to the rectangular shape as shown in FIG. 3C, and may be other diamond shapes, or even hexagonal shapes and octagon shapes, and a specific selection region of which shape is generated, and may be set as needed.
图4A是根据本申请的一个实施例示出的另一种根据起始位置和结束位置生成选择区域的示意流程图。如图4A所示,在图2所示实施例的基础上,所述根据所述起始位置和所述结束位置生成选择区域包括:4A is a schematic flow chart showing another generation of a selection area based on a start position and an end position, according to an embodiment of the present application. As shown in FIG. 4A, on the basis of the embodiment shown in FIG. 2, the generating a selection area according to the start position and the end position includes:
步骤S122,生成从所述起始位置到所述结束位置为直径的选择区域。Step S122, generating a selection area having a diameter from the start position to the end position.
图4B和4C是根据本申请的一个实施例示出的另一种生成选择区域的示意图。如图4B所示,例如第一操作为触控操作,显示地图的屏幕可以识别触控操作的起始位置和结束位置。4B and 4C are schematic diagrams showing another generation selection region, according to an embodiment of the present application. As shown in FIG. 4B, for example, the first operation is a touch operation, and the screen displaying the map can identify the start position and the end position of the touch operation.
进一步地,如图4C所示,可以生成从所述起始位置到所述结束位置为直 径的选择区域。需要说明的,选择区域并不限于如图4C所示的圆形,也可以是其他半圆形,甚至扇形,具体生成何种形状的选择区域,可以根据需要进行设置。Further, as shown in Fig. 4C, a selection area that is a diameter from the start position to the end position may be generated. It should be noted that the selection area is not limited to the circular shape as shown in FIG. 4C, and may be other semicircular or even fan-shaped, and the selected area of the specific shape may be set as needed.
需要说明的是,生成选择区域的方式并不限于上述实施例所述的方式,具体方式可以根据需要灵活设置。It should be noted that the manner of generating the selected area is not limited to the manner described in the foregoing embodiment, and the specific manner may be flexibly set as needed.
图5A是根据本申请的一个实施例示出的另一种根据在地图中的第一操作生成选择区域的示意流程图。如图5A所示,在图1所示实施例的基础上,所述根据在地图中的第一操作生成选择区域包括:FIG. 5A is a schematic flow diagram showing another generation of a selection region based on a first operation in a map, according to an embodiment of the present application. As shown in FIG. 5A, on the basis of the embodiment shown in FIG. 1, the generating a selection area according to the first operation in the map includes:
步骤S13,确定在地图中第一操作的操作轨迹;Step S13, determining an operation trajectory of the first operation in the map;
步骤S14,以所述操作轨迹形成的区域为选择区域。In step S14, the area formed by the operation track is a selection area.
在一个实施例中,若第一操作的起始位置和结束位置重合,也即第一操作在地图中的操作轨迹为封闭图形,那么可以将该操作轨迹形成的区域确定为选择区域。In one embodiment, if the start position and the end position of the first operation coincide, that is, the operation track of the first operation in the map is a closed figure, the area formed by the operation track may be determined as the selected area.
需要说明的是,图5A所示的实施例可以与图2所示的实施例可以相互结合,显示屏幕中的触控传感器既可以记录第一操作的起始位置和结束位置,也可以记录第一操作的操作轨迹,例如当起始位置和结束位置未重合,则根据起始位置和结束位置生成选择区域,例如起始位置和结束位置重合,则根据操作轨迹生成选择区域。It should be noted that the embodiment shown in FIG. 5A can be combined with the embodiment shown in FIG. 2, and the touch sensor in the display screen can record the start position and the end position of the first operation, and can also record the first An operation trajectory of an operation, for example, when the start position and the end position are not coincident, a selection area is generated according to the start position and the end position, for example, the start position and the end position coincide, and the selection area is generated according to the operation trajectory.
在一个实施例中,所述选择区域包括以所述操作轨迹自身围绕形成的封闭区域,或,以所述操作轨迹与所述地图的边界围绕形成的封闭区域。其中,当用户在地图的边界执行第一操作时,可以通过第一操作与地图的边界配合,将操作轨迹和地图的边界形成的封闭区域作为选择区域,从而简化生成选择区域的操作方式。In one embodiment, the selection area comprises a closed area formed around the operational trajectory itself, or a closed area formed around the boundary of the map with the operational trajectory. Wherein, when the user performs the first operation on the boundary of the map, the closed area formed by the boundary between the operation track and the map may be used as the selection area by the first operation and the boundary of the map, thereby simplifying the operation mode of generating the selected area.
可以理解的是,操作轨迹可以是由连续的滑动操作形成,也可以是由预设时长内的断点操作形成,例如,连接多个断点以形成操作轨迹,此处不做具体限定。It can be understood that the operation trajectory may be formed by a continuous sliding operation, or may be formed by a breakpoint operation within a preset duration, for example, connecting a plurality of breakpoints to form an operation trajectory, which is not specifically limited herein.
图5B和图5C是根据本申请的一个实施例示出的又一种生成选择区域的 示意图。如图5B所示,例如第一操作为触控操作,显示地图的屏幕可以识别触控操作的操作轨迹,进而可以确定操作轨迹与地图的边界是否相交。如图5C所示,进一步地,例如操作轨迹与地图的边界相交,那么可以将操作轨迹和地图的边界形成的封闭区域作为选择区域。5B and 5C are schematic diagrams showing still another generation selection region, according to an embodiment of the present application. As shown in FIG. 5B, for example, the first operation is a touch operation, and the screen displaying the map can identify the operation trajectory of the touch operation, thereby determining whether the operation trajectory intersects the boundary of the map. As shown in FIG. 5C, further, for example, the operation trajectory intersects the boundary of the map, the closed area formed by the boundary of the operation trajectory and the map may be used as the selection area.
图6是根据本申请的一个实施例示出的另一种控制方法的示意流程图。如图6所示,在图1所示实施例的基础上,所述控制方法还包括:FIG. 6 is a schematic flow chart of another control method according to an embodiment of the present application. As shown in FIG. 6, on the basis of the embodiment shown in FIG. 1, the control method further includes:
步骤S3,根据第二操作向所述目标受控设备传输控制指令。Step S3, transmitting a control instruction to the target controlled device according to the second operation.
在一个实施例中,用户可以通过多种方式实现第二操作,例如可以通过点击地图中某个位置来实现第二操作;例如可以通过点击控制设备上的物理按键来实现第二操作;例如可以通过输入相应内容来实现第二操作,该输入方式可以包括但不限于手势、语音、字符。In one embodiment, the user can implement the second operation in various manners, for example, by clicking a certain location in the map; for example, the second operation can be implemented by clicking a physical button on the control device; for example, The second operation is implemented by inputting corresponding content, which may include, but is not limited to, gestures, voices, characters.
在一个实施例中,控制指令与第二操作的关系可以预设设置,例如根据不同的第二操作可以生成不同的控制指令,例如根据不同的第二操作可以生成相同的控制指令。生成的控制指令可以有多种,例如控制指令可以用于指示受控设备向某个位置运动,例如控制指令可以用于指示受控设备启动或关机。In one embodiment, the relationship between the control command and the second operation may be preset, for example, different control commands may be generated according to different second operations, for example, the same control command may be generated according to different second operations. The generated control commands can be various. For example, the control commands can be used to instruct the controlled device to move to a certain position. For example, the control command can be used to indicate that the controlled device is started or shut down.
图7是根据本申请的一个实施例示出的一种根据第二操作向目标受控设备传输控制指令的示意流程图。如图7所示,在图6所示实施例的基础上,所述根据第二操作向所述目标受控设备传输控制指令包括:FIG. 7 is a schematic flow chart showing transmission of a control command to a target controlled device according to a second operation, according to an embodiment of the present application. As shown in FIG. 7, on the basis of the embodiment shown in FIG. 6, the transmitting, by the second operation, the control instruction to the target controlled device includes:
步骤S31,根据在所述地图中的第二操作向所述目标受控设备传输控制指令。Step S31, transmitting a control instruction to the target controlled device according to a second operation in the map.
在一个实施例中,在地图中的第二操作可以包括点击操作、滑动操作等。以滑动操作为例,滑动操作的起始位置可以是选择的目标标识,那么以滑动操作的轨迹在实际环境中对应的路径为运动路径,以滑动操作的结束位置在实际环境中的为目标位置,控制指令用于指示目标受控设备按照所述运动路径从其当前所在位置向所述目标位置运动。In one embodiment, the second operation in the map may include a click operation, a slide operation, and the like. Taking the sliding operation as an example, the starting position of the sliding operation may be the selected target identifier, then the corresponding path in the actual environment is the moving path in the trajectory of the sliding operation, and the ending position of the sliding operation is the target position in the actual environment. And a control instruction is used to indicate that the target controlled device moves from the current location to the target location according to the motion path.
可以理解的是,本实施例中,当第二操作为滑动操作时,目标受控设备 的运动路径也可以不为滑动操作的轨迹在实际环境中对应的路径,例如,运动路径可以为根据滑动操作的起始位置、结束位置生成,此处不做具体限定。It can be understood that, in this embodiment, when the second operation is a sliding operation, the motion path of the target controlled device may not be the corresponding path of the trajectory of the sliding operation in the actual environment, for example, the motion path may be based on sliding The start position and end position of the operation are generated, and are not specifically limited herein.
需要说明的是,控制指令并不限于控制受控设备运动,例如还可以控制受控设备启动、关机等。另外,传输控制指令的方式可以是有线传输或无线传输,其中,无线传输可以包括红外、蓝牙、WiFi、近场通信(NFC)等方式。It should be noted that the control instruction is not limited to controlling the movement of the controlled device, for example, the controlled device can be controlled to start, shut down, and the like. In addition, the manner of transmitting the control command may be wired transmission or wireless transmission, wherein the wireless transmission may include infrared, Bluetooth, WiFi, Near Field Communication (NFC), and the like.
图8是根据本申请的一个实施例示出的一种根据在地图中的第二操作向目标受控设备传输控制指令的示意流程图。如图8所示,在图7所示实施例的基础上,所述根据在所述地图中的第二操作向所述目标受控设备传输控制指令包括:FIG. 8 is a schematic flow chart showing transmission of control instructions to a target controlled device according to a second operation in a map, according to an embodiment of the present application. As shown in FIG. 8, on the basis of the embodiment shown in FIG. 7, the transmitting the control instruction to the target controlled device according to the second operation in the map includes:
步骤S311,根据在所述地图中的第二操作确定所述目标受控设备运动的目标位置;Step S311, determining a target location of the target controlled device motion according to a second operation in the map;
步骤S312,向所述目标受控设备传输向所述目标位置运动的控制指令。Step S312, transmitting a control instruction to the target controlled device to move to the target position.
在一个实施例中,在地图中的第二操作可以包括点击操作、滑动操作等。以点击操作为例,可以以点击操作的位置在实际环境中对应的位置为目标位置,并生成以目标受控设备当前所在位置为起点,以目标位置为终点的运动路径,控制指令用于指示目标受控设备按照所述运动路径从其当前所在位置向所述目标位置运动。其中,以目标受控设备当前所在位置为起点、以目标位置为中的的运动路径可以直接指示给目标受控设备,也可以由目标受控设备根据当前所在位置及目标位置生成。In one embodiment, the second operation in the map may include a click operation, a slide operation, and the like. Taking the click operation as an example, the position corresponding to the position of the click operation in the actual environment may be the target position, and a motion path starting from the current position of the target controlled device and ending with the target position may be generated, and the control instruction is used to indicate The target controlled device moves from its current location to the target location in accordance with the motion path. The motion path with the target location of the target controlled device as the starting point and the target location as the starting point may be directly indicated to the target controlled device, or may be generated by the target controlled device according to the current location and the target location.
可以理解的是,若在地图中的第二操作对应的目标位置为在地图中的操作位置,则也可以向目标受控设备传输该地图中的操作位置,并指示目标受控设备向该地图中的操作位置运动,即目标受控设备在接收到该地图中的操作位置后,可以将该操作位置转换为实际环境中对应的位置,并根据自身的当前所在位置向该实际环境中对应的位置运动。It can be understood that if the target location corresponding to the second operation in the map is an operation location in the map, the operation location in the map may also be transmitted to the target controlled device, and the target controlled device is indicated to the map. The operation position movement in the middle, that is, after receiving the operation position in the map, the target controlled device can convert the operation position into a corresponding position in the actual environment, and corresponding to the actual environment according to its current location. Position movement.
图9是根据本申请的一个实施例示出的一种根据在所述地图中的第二操作确定所述目标受控设备运动的目标位置的示意流程图。如图9所示,在图8 所示实施例的基础上,所述根据在所述地图中的第二操作确定所述目标受控设备运动的目标位置包括:9 is a schematic flow diagram showing determining a target location of movement of a target controlled device based on a second operation in the map, in accordance with an embodiment of the present application. As shown in FIG. 9, on the basis of the embodiment shown in FIG. 8, the determining a target location of the target controlled device motion according to a second operation in the map includes:
步骤S3111,检测第二操作在所述地图中的操作位置;Step S3111, detecting an operation position of the second operation in the map;
步骤S3112,根据所述地图与所述受控设备所处实际环境的对应关系,将所述操作位置转换为所述实际环境中的目标位置。Step S3112: Convert the operation location to a target location in the actual environment according to a correspondence between the map and an actual environment in which the controlled device is located.
在一个实施例中,由于第二操作是针对地图执行的,而受控设备是在实际环境中进行运动,因此可以根据生成地图时地图与受控设备所处实际环境的对应关系,以将第二操作在地图中的操作位置转换为实际环境中的目标位置,进而控制目标受控设备在实际环境中向目标位置运动。In one embodiment, since the second operation is performed on the map, and the controlled device is moving in the actual environment, the correspondence between the map and the actual environment in which the controlled device is located may be generated according to the map when the map is generated. The operation position of the second operation in the map is converted to the target position in the actual environment, thereby controlling the target controlled device to move to the target position in the actual environment.
可选地,所述第二操作包括以下之一:Optionally, the second operation comprises one of the following:
单击操作、双击操作、长按操作、滑动操作。Click the action, double-click the operation, long press the operation, and slide the operation.
在一个实施例中,单击操作和滑动操作的情况在前述实施例中已经描述,在此不再赘述。而双击操作和长按操作的情况则可以与单击操作的情况类似,也即根据双击操作或长按操作在地图中的操作位置来确定目标位置,而基于双击操作和长按操作来确定目标位置,则可以避免用户误操作点击到地图而误控制受控设备。In one embodiment, the case of the click operation and the slide operation has been described in the foregoing embodiment, and details are not described herein again. The double-click operation and the long-press operation can be similar to the case of a click operation, that is, the target position is determined according to the operation position of the double-click operation or the long-press operation in the map, and the target is determined based on the double-click operation and the long-press operation. The location can prevent the user from accidentally controlling the controlled device by clicking on the map by mistake.
在一个实施例中,所述地图还用于显示至少一个所述受控设备的身份信息。例如可以在标识的附近,以文字的形式显示标识对应的受控设备的身份信息,如ID、角色、功能,以便用户根据身份信息快速且准确地确定标识所对应的受控设备。In one embodiment, the map is further for displaying identity information of at least one of the controlled devices. For example, in the vicinity of the identifier, the identity information of the controlled device corresponding to the identifier, such as an ID, a role, and a function, may be displayed in a text form, so that the user quickly and accurately determines the controlled device corresponding to the identifier according to the identity information.
根据本申请的又一个实施例,还提出一种控制设备,所述控制设备的相关实施例可以通过软件实现,也可以通过硬件或者软硬件结合的方式实现。以软件实现为例,可以通过处理器将非易失性存储器中对应的计算机程序指令读取到内存中运行来实现。从硬件层面而言,如图10所示,为本申请控制设备的一种硬件结构图,除了图10所示的处理器、内存、网络接口、以及非易失性存储器之外,实施例中的控制设备通常根据实际功能,还可以包括其他硬件,对此不再赘述。According to still another embodiment of the present application, a control device is also provided, and related embodiments of the control device may be implemented by software, or may be implemented by hardware or a combination of hardware and software. Taking the software implementation as an example, the processor can read the corresponding computer program instructions in the non-volatile memory into the memory. From a hardware level, as shown in FIG. 10, a hardware structure diagram of the control device of the present application, except for the processor, the memory, the network interface, and the non-volatile memory shown in FIG. 10, in the embodiment. The control device is usually based on actual functions, and may also include other hardware, which will not be described again.
在一个实施例中,所述控制设备可以包括处理器,所述处理器用于执行以下步骤:In one embodiment, the control device can include a processor for performing the following steps:
根据在地图中的第一操作生成选择区域,所述地图用于显示至少一个受控设备的标识,所述标识用于对应至少一个所述受控设备传输的位置信息;Generating a selection area according to a first operation in the map, the map being configured to display an identifier of the at least one controlled device, where the identifier is used to correspond to location information transmitted by the at least one of the controlled devices;
在所述标识中,选择与所述选择区域满足预设关系的目标标识,所述目标标识用于指示至少一个所述受控设备中的目标受控设备。In the identifier, selecting a target identifier that satisfies a preset relationship with the selected area, where the target identifier is used to indicate a target controlled device in at least one of the controlled devices.
在一个实施例中,所述预设关系包括以下至少之一:In one embodiment, the preset relationship includes at least one of the following:
所述标识全部位于所述选择区域内、所述标识全部位于所述选择区域外、所述标识部分位于所述选择区域内、所述标识的预设部分位于所述选择区域内、所述标识的预设部分位于所述选择区域外。The identifiers are all located in the selection area, the identifiers are all located outside the selection area, the identification part is located in the selection area, and the preset part of the identifier is located in the selection area, the identifier The preset portion is located outside the selection area.
在一个实施例中,所述处理器还用于执行:In one embodiment, the processor is further configured to:
确定在地图中的第一操作的起始位置和结束位置;Determining a starting position and an ending position of the first operation in the map;
根据所述起始位置和所述结束位置生成选择区域。A selection area is generated based on the start position and the end position.
在一个实施例中,所述处理器还用于执行:In one embodiment, the processor is further configured to:
生成以所述起始位置和所述结束位置为对角点的选择区域。A selection area is created in which the starting position and the ending position are diagonal points.
在一个实施例中,所述处理器还用于执行:In one embodiment, the processor is further configured to:
生成从所述起始位置到所述结束位置为直径的选择区域。A selection area that is a diameter from the start position to the end position is generated.
在一个实施例中,所述处理器还用于执行:In one embodiment, the processor is further configured to:
确定在地图中第一操作的操作轨迹;Determining the operation trajectory of the first operation in the map;
以所述操作轨迹形成的区域为选择区域。The area formed by the operation trajectory is a selection area.
在一个实施例中,所述选择区域包括以所述操作轨迹自身围绕形成的封闭区域,或,以所述操作轨迹与所述地图的边界围绕形成的封闭区域。In one embodiment, the selection area comprises a closed area formed around the operational trajectory itself, or a closed area formed around the boundary of the map with the operational trajectory.
在一个实施例中,所述处理器还用于执行:In one embodiment, the processor is further configured to:
根据第二操作向所述目标受控设备传输控制指令。Transmitting a control instruction to the target controlled device according to the second operation.
在一个实施例中,所述处理器还用于执行:In one embodiment, the processor is further configured to:
根据在所述地图中的第二操作向所述目标受控设备传输控制指令。A control instruction is transmitted to the target controlled device according to a second operation in the map.
在一个实施例中,所述处理器还用于执行:In one embodiment, the processor is further configured to:
根据在所述地图中的第二操作确定所述目标受控设备运动的目标位置;Determining a target location of the target controlled device motion according to a second operation in the map;
向所述目标受控设备传输向所述目标位置运动的控制指令。A control command to move to the target position is transmitted to the target controlled device.
在一个实施例中,所述处理器还用于执行:In one embodiment, the processor is further configured to:
检测第二操作在所述地图中的操作位置;Detecting an operation location of the second operation in the map;
根据所述地图与所述受控设备所处实际环境的对应关系,将所述操作位置转换为所述实际环境中的目标位置。And converting the operation position into a target position in the actual environment according to a correspondence between the map and an actual environment in which the controlled device is located.
在一个实施例中,所述第二操作包括以下之一:In one embodiment, the second operation comprises one of the following:
单击操作、双击操作、长按操作、滑动操作。Click the action, double-click the operation, long press the operation, and slide the operation.
在一个实施例中,所述地图还用于显示至少一个所述受控设备的身份信息。In one embodiment, the map is further for displaying identity information of at least one of the controlled devices.
根据本申请的又一个实施例,还提出一种控制系统,所述控制系统包括控制设备和至少一个受控设备,至少一个所述受控设备用于传输位置信息至所述控制设备;According to still another embodiment of the present application, a control system is further provided, the control system comprising a control device and at least one controlled device, at least one of the controlled devices for transmitting location information to the control device;
所述控制设备用于根据在地图中的第一操作生成选择区域,所述地图用于显示至少一个受控设备的标识,所述标识用于对应至少一个所述受控设备传输的位置信息;The control device is configured to generate a selection area according to a first operation in a map, where the map is used to display an identifier of at least one controlled device, where the identifier is used to correspond to location information transmitted by at least one of the controlled devices;
所述控制设备用于在所述标识中,选择与所述选择区域满足预设关系的目标标识,所述目标标识用于指示至少一个所述受控设备中的目标受控设备。The control device is configured to select, in the identifier, a target identifier that meets a preset relationship with the selected area, where the target identifier is used to indicate a target controlled device in at least one of the controlled devices.
在一个实施例中,至少一个受控设备首先可以先确定自身的位置信息,然后将位置信息传输至控制设备。In one embodiment, the at least one controlled device may first determine its own location information and then transmit the location information to the control device.
例如在至少一个受控设备上可以设置有超宽带(Ultra Wideband,简称UWB)标签,目标受控设备可以根据室内定位算法确定所述受控设备的位置信息。进而可以通过超宽带标签与超宽带基站通信,利用室内定位算法确定超宽带标签的位置信息;根据超宽带标签的位置信息和超宽带标签在目标受控设备上的位置确定目标受控设备的位置信息。For example, an Ultra Wideband (UWB) tag may be disposed on the at least one controlled device, and the target controlled device may determine location information of the controlled device according to the indoor positioning algorithm. In turn, the ultra-wideband tag can be used to communicate with the ultra-wideband base station, and the location information of the ultra-wideband tag is determined by the indoor positioning algorithm; the location of the target controlled device is determined according to the location information of the ultra-wideband tag and the position of the ultra-wideband tag on the target controlled device. information.
在一个实施例中,所述控制设备用于向所述目标受控设备发送控制指令;In one embodiment, the control device is configured to send a control instruction to the target controlled device;
所述目标受控设备用于根据所述控制指令执行动作。The target controlled device is configured to perform an action according to the control instruction.
在一个实施例中,所述控制指令用于指示所述目标受控设备向目标位置运动,所述目标受控设备用于根据所述位置信息和所述目标位置生成运动路径;In one embodiment, the control instruction is used to indicate that the target controlled device moves to a target location, and the target controlled device is configured to generate a motion path according to the location information and the target location;
所述目标受控设备用于按照所述运动路径向所述目标位置运动。The target controlled device is configured to move toward the target position in accordance with the motion path.
在一个实施例中,目标受控设备可以根据其位置信息,也即当前所在位置和目标位置生成运动路径,其中,目标受控设备在生成运动路径的过程中,可以考虑避开障碍、路径最短、耗时最短等因素,以根据需要生成合适的运动路径。In an embodiment, the target controlled device may generate a motion path according to the location information, that is, the current location and the target location, where the target controlled device may consider avoiding the obstacle and having the shortest path in the process of generating the motion path. Factors such as the shortest time to generate the appropriate motion path as needed.
在一个实施例中,所述目标受控设备用于按照预设划分方式将所述运动路径划分为多个子路径;In an embodiment, the target controlled device is configured to divide the motion path into multiple sub-paths according to a preset division manner;
所述目标受控设备用于针对每个所述子路径,确定从所述子路径的起点到终点的运动参数;The target controlled device is configured to determine a motion parameter from a start point to an end point of the sub path for each of the sub paths;
所述目标受控设备用于根据所述运动参数向所述目标位置运动。The target controlled device is configured to move to the target position based on the motion parameter.
在一个实施例中,针对运动路径的划分方式,可以根据需要进行设置,例如针对多个直线路段构成的运动路径,可以将每个直线段划分为一个子路径;例如针对包含弧线路段和直线路段的路径,可以将其中的直线路段划分为一个子路径,将其中的弧线路段划分为一个子路径。In one embodiment, the manner of dividing the motion path may be set as needed, for example, a motion path formed for a plurality of straight line segments, and each straight line segment may be divided into one sub-path; for example, for including arc segments and straight lines The path of the road segment can divide the straight line segment into one sub-path and divide the arc line segment into one sub-path.
通过将运动路径划分为多个子路径,并针对每个子路径确定从起点到终点的运动参数,有利于简化计算运动参数的算法,以便目标受控设备快速确定运动参数,进而执行运动操作。其中,运动参数可以包括运动速度和运动方向等参数。By dividing the motion path into multiple sub-paths and determining the motion parameters from the start point to the end point for each sub-path, it is advantageous to simplify the algorithm for calculating the motion parameters so that the target controlled device can quickly determine the motion parameters, thereby performing the motion operation. Among them, the motion parameters may include parameters such as the speed of motion and the direction of motion.
在一个实施例中,所述目标受控设备用于根据所述运动参数对应的环境坐标系和所述目标受控设备对应的机体坐标系之间的关系,将所述运动参数转换至所述受控设备对应的机体坐标系中;In one embodiment, the target controlled device is configured to convert the motion parameter to the relationship according to a relationship between an environment coordinate system corresponding to the motion parameter and a body coordinate system corresponding to the target controlled device. The body coordinate system corresponding to the controlled device;
所述目标受控设备用于根据转换后的运动参数向所述目标位置移动。The target controlled device is configured to move to the target position according to the converted motion parameter.
在一个实施例中,由于目标设备自身的机体坐标系与运动参数对应的环境坐标系一般不同,例如原点位置以及坐标轴方向不同,因此可以根据两个 坐标系之间的关系,例如可以包括平移关系和旋转关系,对得到的运动参数进行转换,以便目标受控设备可以根据转换后的运动参数准确地执行运动操作。In an embodiment, since the target coordinate system of the target device itself is generally different from the environment coordinate system corresponding to the motion parameter, for example, the origin position and the coordinate axis direction are different, so according to the relationship between the two coordinate systems, for example, the translation may be included. The relationship and the rotation relationship convert the obtained motion parameters so that the target controlled device can accurately perform the motion operation according to the converted motion parameters.
以受控设备为机器人为例,在机器人上可以设置有UWB标签,在机器人所处场地的四周可以设置有UWB基站,UWB标签可以与UWB基站通信,进而根据室内定位算法,可以计算出机器人在场地内的坐标,也即机器人当前所处的位置。Taking the controlled device as the robot, for example, the UWB tag can be set on the robot. The UWB base station can be set around the robot where the robot is located. The UWB tag can communicate with the UWB base station, and according to the indoor positioning algorithm, the robot can be calculated. The coordinates within the site, which is the current location of the robot.
多个机器人可以将各自得到的坐标通过诸如无线通信发送至控制设备,例如控制机器人的遥控器。在遥控器上可以预先显示上述场地的地图,进而在接收到机器人的坐标后,可以根据该坐标在场地的地图上显示机器人的标识。The plurality of robots can transmit the respective obtained coordinates to the control device, such as a remote controller that controls the robot, by, for example, wireless communication. The map of the above-mentioned site may be displayed in advance on the remote controller, and after receiving the coordinates of the robot, the logo of the robot may be displayed on the map of the site according to the coordinates.
操作者可以在遥控器所显示的地图中进行操作,例如通过鼠标进行操作或者触控操作,以通过鼠标操作为例,可以在第一个位置点击鼠标,则以第一个位置为操作的起始位置,并拖动鼠标到第二个位置并松开鼠标,则以第二个位置为操作的结束位置,进而可以根据操作的起始位置和结束位置生成选择区域,并将选择区域与地图中的标识做交集。The operator can operate in the map displayed by the remote controller, for example, by a mouse operation or a touch operation, for example, by mouse operation, the mouse can be clicked in the first position, and the operation is performed from the first position. Start position, drag the mouse to the second position and release the mouse, then use the second position as the end position of the operation, and then generate the selection area according to the start position and end position of the operation, and select the area and the map The logo in the intersection is done.
其中,做交集的方式可以是根据显示选择区域的像素与显示标识的像素在地图中的位置关系来做交集,确定位于选择区域内的标识。也可以是将选择区域转换到机器人所处的实际环境中,得到实际环境中的选择区域,进而将实际环境中的选择区域与机器人的坐标做交集,确定位于实际环境中的选择区域内的坐标。无论哪种方式,都可以确定做交集后的目标机器人,目标机器人可以是一个机器人,也可以是多个机器人。The intersection may be performed according to the positional relationship between the pixels of the display selection area and the pixels of the display identifier in the map, and the identifier located in the selection area is determined. It is also possible to convert the selected area into the actual environment in which the robot is located, obtain the selected area in the actual environment, and then intersect the selected area in the actual environment with the coordinates of the robot to determine the coordinates in the selected area in the actual environment. . Either way, you can determine the target robot after the intersection. The target robot can be either a robot or multiple robots.
在确定目标机器人后,操作者可以进一步在遥控器所显示的地图中进行操作,例如点击地图中的某个点,则可以生成控制指令,控制指令用于指示目标机器人以自身当前所在位置为起始位置,向操作者所点击的点在实际环境中的对应位置为结束位置(即目标位置)运动,并可以将控制指令通过诸如无线通信发送至目标机器人。其中,在目标机器人为多个机器人时,可以 针对每个目标机器人分别生成控制指令。After determining the target robot, the operator can further operate in the map displayed by the remote controller, for example, by clicking a certain point in the map, a control command can be generated, and the control command is used to indicate that the target robot starts from its current location. The start position, the point at which the point clicked by the operator moves in the actual environment is the end position (ie, the target position), and the control command can be transmitted to the target robot by, for example, wireless communication. Wherein, when the target robot is a plurality of robots, a control command can be generated for each target robot.
目标机器人在接收到控制指令后,可以根据起始位置和结束位置生成运动路径,需要说明的是,该运动路径也可以由遥控器生成,那么控制指令则用于指示目标机器人按照遥控器所生成的运动路径运动。其中,生成运动路径的方式可以考虑躲避障碍、路径最短等因素。After receiving the control command, the target robot can generate a motion path according to the start position and the end position. It should be noted that the motion path can also be generated by the remote controller, and then the control command is used to indicate that the target robot is generated according to the remote controller. Movement path movement. Among them, the way to generate the motion path can consider factors such as avoiding obstacles and shortest paths.
目标机器人可以将运动路径划分为多个子路径,并针对每个子路径确定从子路径的起点到终点的运动速度和运动方向,由于机器人自身坐标系和机器人所处环境的坐标系可能不同,因此可以通过矩阵转换将运动方向转换至机器人自身的坐标系中,以保证机器人准确地运动。进而机器人可以沿着每个子路径依次运动,从而完成控制指令所指示的动作。The target robot can divide the motion path into multiple sub-paths, and determine the motion speed and the motion direction from the start point to the end point of the sub-path for each sub-path. Since the coordinate system of the robot's own coordinate system and the environment in which the robot is located may be different, The direction of motion is converted into the coordinate system of the robot itself by matrix transformation to ensure that the robot moves accurately. In turn, the robot can move sequentially along each sub-path to complete the actions indicated by the control commands.
而由于通过生成选择区域可以一次性选择多个目标机器人,从而可以同时向多个目标机器人发送控制指令,同时实现对多个目标机器人的控制,尤其是多方机器人在比赛场地进行对抗比赛时,通过控制设备指定目标位置,再配合路径规划算法,可以实现一对多控制机器人向目标位置运动的目的,提高了自动化智能机器人比赛的可行性,让智能比赛更加灵活,更有利于提升操作者的操作体验。Since a plurality of target robots can be selected at one time by generating a selection region, control commands can be sent to a plurality of target robots at the same time, and control of a plurality of target robots can be realized at the same time, especially when the multi-party robots compete against the competition venue, The control device specifies the target position, and then cooperates with the path planning algorithm to realize the purpose of one-to-many control of the robot moving to the target position, improving the feasibility of the automated intelligent robot competition, making the intelligent game more flexible and more effective for improving the operator's operation. Experience.
根据本申请的又一个实施例,还提出一种计算机可读存储介质,该计算机可读存储介质中存储有程序指令,该程序指令被处理器运行时,用于执行上述任一实施例所示的控制方法。According to still another embodiment of the present application, there is also provided a computer readable storage medium having stored therein program instructions, when executed by a processor, for performing any of the above embodiments Control method.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本申请时可以把各单元的功能在同一个或多个软件和/或硬件中实现。本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等) 上实施的计算机程序产品的形式。The system, device, module or unit illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product having a certain function. For the convenience of description, the above devices are described separately by function into various units. Of course, the functions of each unit may be implemented in the same software or software and/or hardware when implementing the present application. Those skilled in the art will appreciate that embodiments of the present application can be provided as a method, system, or computer program product. Thus, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment in combination of software and hardware. Moreover, the application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。The various embodiments in the specification are described in a progressive manner, and the same or similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that, in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply such entities or operations. There is any such actual relationship or order between them. The terms "including", "comprising" or "comprising" or "comprising" are intended to include a non-exclusive inclusion, such that a process, method, article, or device that comprises a plurality of elements includes not only those elements but also other items not specifically listed Elements, or elements that are inherent to such a process, method, item, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above description is only an embodiment of the present application and is not intended to limit the application. Various changes and modifications can be made to the present application by those skilled in the art. Any modifications, equivalents, improvements, etc. made within the spirit and scope of the present application are intended to be included within the scope of the appended claims.

Claims (32)

  1. 一种控制方法,应用于控制设备,其特征在于,所述方法包括:A control method is applied to a control device, characterized in that the method comprises:
    根据在地图中的第一操作生成选择区域,所述地图用于显示至少一个受控设备的标识,所述标识用于对应至少一个所述受控设备传输的位置信息;Generating a selection area according to a first operation in the map, the map being configured to display an identifier of the at least one controlled device, where the identifier is used to correspond to location information transmitted by the at least one of the controlled devices;
    在所述标识中,选择与所述选择区域满足预设关系的目标标识,所述目标标识用于指示至少一个所述受控设备中的目标受控设备。In the identifier, selecting a target identifier that satisfies a preset relationship with the selected area, where the target identifier is used to indicate a target controlled device in at least one of the controlled devices.
  2. 根据权利要求1所述的方法,其特征在于,所述预设关系包括以下至少之一:The method according to claim 1, wherein the preset relationship comprises at least one of the following:
    所述标识全部位于所述选择区域内、所述标识全部位于所述选择区域外、所述标识部分位于所述选择区域内、所述标识的预设部分位于所述选择区域内、所述标识的预设部分位于所述选择区域外。The identifiers are all located in the selection area, the identifiers are all located outside the selection area, the identification part is located in the selection area, and the preset part of the identifier is located in the selection area, the identifier The preset portion is located outside the selection area.
  3. 根据权利要求1或2所述的方法,其特征在于,所述根据在地图中的第一操作生成选择区域包括:The method according to claim 1 or 2, wherein the generating the selection area according to the first operation in the map comprises:
    确定在地图中的第一操作的起始位置和结束位置;Determining a starting position and an ending position of the first operation in the map;
    根据所述起始位置和所述结束位置生成选择区域。A selection area is generated based on the start position and the end position.
  4. 根据权利要求3所述的方法,其特征在于,所述根据所述起始位置和所述结束位置生成选择区域包括:The method according to claim 3, wherein the generating the selection area according to the start position and the end position comprises:
    生成以所述起始位置和所述结束位置为对角点的选择区域。A selection area is created in which the starting position and the ending position are diagonal points.
  5. 根据权利要求3所述的方法,其特征在于,所述根据所述起始位置和所述结束位置生成选择区域包括:The method according to claim 3, wherein the generating the selection area according to the start position and the end position comprises:
    生成从所述起始位置到所述结束位置为直径的选择区域。A selection area that is a diameter from the start position to the end position is generated.
  6. 根据权利要求1或2所述的方法,其特征在于,所述根据在地图中的第一操作生成选择区域包括:The method according to claim 1 or 2, wherein the generating the selection area according to the first operation in the map comprises:
    确定在地图中第一操作的操作轨迹;Determining the operation trajectory of the first operation in the map;
    以所述操作轨迹形成的区域为选择区域。The area formed by the operation trajectory is a selection area.
  7. 根据权利要求6所述的方法,其特征在于,所述选择区域包括以所述操作轨迹自身围绕形成的封闭区域,或,以所述操作轨迹与所述地图的边界 围绕形成的封闭区域。The method according to claim 6, wherein said selection area comprises a closed area formed by itself around said operation trajectory, or an enclosed area formed by said operation trajectory and a boundary of said map.
  8. 根据权利要求1至7中任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1 to 7, wherein the method further comprises:
    根据第二操作向所述目标受控设备传输控制指令。Transmitting a control instruction to the target controlled device according to the second operation.
  9. 根据权利要求8所述的方法,其特征在于,所述根据第二操作向所述目标受控设备传输控制指令包括:The method according to claim 8, wherein the transmitting the control instruction to the target controlled device according to the second operation comprises:
    根据在所述地图中的第二操作向所述目标受控设备传输控制指令。A control instruction is transmitted to the target controlled device according to a second operation in the map.
  10. 根据权利要求9所述的方法,其特征在于,所述根据在所述地图中的第二操作向所述目标受控设备传输控制指令包括:The method according to claim 9, wherein the transmitting the control instruction to the target controlled device according to the second operation in the map comprises:
    根据在所述地图中的第二操作确定所述目标受控设备运动的目标位置;Determining a target location of the target controlled device motion according to a second operation in the map;
    向所述目标受控设备传输向所述目标位置运动的控制指令。A control command to move to the target position is transmitted to the target controlled device.
  11. 根据权利要求10所述的方法,其特征在于,所述根据在所述地图中的第二操作确定所述目标受控设备运动的目标位置包括:The method according to claim 10, wherein the determining a target location of the target controlled device motion according to a second operation in the map comprises:
    检测第二操作在所述地图中的操作位置;Detecting an operation location of the second operation in the map;
    根据所述地图与所述受控设备所处实际环境的对应关系,将所述操作位置转换为所述实际环境中的目标位置。And converting the operation position into a target position in the actual environment according to a correspondence between the map and an actual environment in which the controlled device is located.
  12. 根据权利要求8至11中任一项所述的方法,其特征在于,所述第二操作包括以下之一:The method according to any one of claims 8 to 11, wherein the second operation comprises one of the following:
    单击操作、双击操作、长按操作、滑动操作。Click the action, double-click the operation, long press the operation, and slide the operation.
  13. 根据权利要求1至12中任一项所述的方法,其特征在于,所述地图还用于显示至少一个所述受控设备的身份信息。The method according to any one of claims 1 to 12, wherein the map is further for displaying identity information of at least one of the controlled devices.
  14. 一种控制设备,包括处理器,其特征在于,所述处理器用于执行以下步骤:A control device includes a processor, wherein the processor is configured to perform the following steps:
    根据在地图中的第一操作生成选择区域,所述地图用于显示至少一个受控设备的标识,所述标识用于对应至少一个所述受控设备传输的位置信息;Generating a selection area according to a first operation in the map, the map being configured to display an identifier of the at least one controlled device, where the identifier is used to correspond to location information transmitted by the at least one of the controlled devices;
    在所述标识中,选择与所述选择区域满足预设关系的目标标识,所述目标标识用于指示至少一个所述受控设备中的目标受控设备。In the identifier, selecting a target identifier that satisfies a preset relationship with the selected area, where the target identifier is used to indicate a target controlled device in at least one of the controlled devices.
  15. 根据权利要求14所述的控制设备,其特征在于,所述预设关系包括以下至少之一:The control device according to claim 14, wherein the preset relationship comprises at least one of the following:
    所述标识全部位于所述选择区域内、所述标识全部位于所述选择区域外、所述标识部分位于所述选择区域内、所述标识的预设部分位于所述选择区域内、所述标识的预设部分位于所述选择区域外。The identifiers are all located in the selection area, the identifiers are all located outside the selection area, the identification part is located in the selection area, and the preset part of the identifier is located in the selection area, the identifier The preset portion is located outside the selection area.
  16. 根据权利要求14或15所述的控制设备,其特征在于,所述处理器还用于执行:The control device according to claim 14 or 15, wherein the processor is further configured to:
    确定在地图中的第一操作的起始位置和结束位置;Determining a starting position and an ending position of the first operation in the map;
    根据所述起始位置和所述结束位置生成选择区域。A selection area is generated based on the start position and the end position.
  17. 根据权利要求16所述的控制设备,其特征在于,所述处理器还用于执行:The control device according to claim 16, wherein the processor is further configured to:
    生成以所述起始位置和所述结束位置为对角点的选择区域。A selection area is created in which the starting position and the ending position are diagonal points.
  18. 根据权利要求16所述的控制设备,其特征在于,所述处理器还用于执行:The control device according to claim 16, wherein the processor is further configured to:
    生成从所述起始位置到所述结束位置为直径的选择区域。A selection area that is a diameter from the start position to the end position is generated.
  19. 根据权利要求14或15所述的控制设备,其特征在于,所述处理器还用于执行:The control device according to claim 14 or 15, wherein the processor is further configured to:
    确定在地图中第一操作的操作轨迹;Determining the operation trajectory of the first operation in the map;
    以所述操作轨迹形成的区域为选择区域。The area formed by the operation trajectory is a selection area.
  20. 根据权利要求19所述的控制设备,其特征在于,所述选择区域包括以所述操作轨迹自身围绕形成的封闭区域,或,以所述操作轨迹与所述地图的边界围绕形成的封闭区域。The control apparatus according to claim 19, wherein said selection area comprises a closed area formed by itself around said operation trajectory, or a closed area formed by said operation trajectory and a boundary of said map.
  21. 根据权利要求14至20中任一项所述的控制设备,其特征在于,所述处理器还用于执行:The control device according to any one of claims 14 to 20, wherein the processor is further configured to:
    根据第二操作向所述目标受控设备传输控制指令。Transmitting a control instruction to the target controlled device according to the second operation.
  22. 根据权利要求21所述的控制设备,其特征在于,所述处理器还用于执行:The control device according to claim 21, wherein the processor is further configured to:
    根据在所述地图中的第二操作向所述目标受控设备传输控制指令。A control instruction is transmitted to the target controlled device according to a second operation in the map.
  23. 根据权利要求22所述的控制设备,其特征在于,所述处理器还用于执行:The control device according to claim 22, wherein the processor is further configured to:
    根据在所述地图中的第二操作确定所述目标受控设备运动的目标位置;Determining a target location of the target controlled device motion according to a second operation in the map;
    向所述目标受控设备传输向所述目标位置运动的控制指令。A control command to move to the target position is transmitted to the target controlled device.
  24. 根据权利要求23所述的控制设备,其特征在于,所述处理器还用于执行:The control device according to claim 23, wherein the processor is further configured to:
    检测第二操作在所述地图中的操作位置;Detecting an operation location of the second operation in the map;
    根据所述地图与所述受控设备所处实际环境的对应关系,将所述操作位置转换为所述实际环境中的目标位置。And converting the operation position into a target position in the actual environment according to a correspondence between the map and an actual environment in which the controlled device is located.
  25. 根据权利要求21至24中任一项所述的控制设备,其特征在于,所述第二操作包括以下之一:The control device according to any one of claims 21 to 24, wherein the second operation comprises one of the following:
    单击操作、双击操作、长按操作、滑动操作。Click the action, double-click the operation, long press the operation, and slide the operation.
  26. 根据权利要求14至25中任一项所述的控制设备,其特征在于,所述地图还用于显示至少一个所述受控设备的身份信息。The control device according to any one of claims 14 to 25, wherein the map is further configured to display identity information of at least one of the controlled devices.
  27. 一种控制系统,所述控制系统包括控制设备和至少一个受控设备,其特征在于,至少一个所述受控设备用于传输位置信息至所述控制设备;A control system comprising a control device and at least one controlled device, wherein at least one of the controlled devices is configured to transmit location information to the control device;
    所述控制设备用于根据在地图中的第一操作生成选择区域,所述地图用于显示至少一个受控设备的标识,所述标识用于对应至少一个所述受控设备传输的位置信息;The control device is configured to generate a selection area according to a first operation in a map, where the map is used to display an identifier of at least one controlled device, where the identifier is used to correspond to location information transmitted by at least one of the controlled devices;
    所述控制设备用于在所述标识中,选择与所述选择区域满足预设关系的目标标识,所述目标标识用于指示至少一个所述受控设备中的目标受控设备。The control device is configured to select, in the identifier, a target identifier that meets a preset relationship with the selected area, where the target identifier is used to indicate a target controlled device in at least one of the controlled devices.
  28. 根据权利要求27所述的控制系统,其特征在于,所述控制设备用于向所述目标受控设备发送控制指令;The control system according to claim 27, wherein said control device is configured to send a control instruction to said target controlled device;
    所述目标受控设备用于根据所述控制指令执行动作。The target controlled device is configured to perform an action according to the control instruction.
  29. 根据权利要求28所述的控制系统,其特征在于,所述控制指令用于指示所述目标受控设备向目标位置运动,所述目标受控设备用于根据所述位 置信息和所述目标位置生成运动路径;The control system according to claim 28, wherein said control command is for indicating said target controlled device to move to a target position, said target controlled device for using said position information and said target position Generating a motion path;
    所述目标受控设备用于按照所述运动路径向所述目标位置运动。The target controlled device is configured to move toward the target position in accordance with the motion path.
  30. 根据权利要求29所述的控制系统,其特征在于,所述目标受控设备用于按照预设划分方式将所述运动路径划分为多个子路径;The control system according to claim 29, wherein the target controlled device is configured to divide the motion path into a plurality of sub-paths according to a preset division manner;
    所述目标受控设备用于针对每个所述子路径,确定从所述子路径的起点到终点的运动参数;The target controlled device is configured to determine a motion parameter from a start point to an end point of the sub path for each of the sub paths;
    所述目标受控设备用于根据所述运动参数向所述目标位置运动。The target controlled device is configured to move to the target position based on the motion parameter.
  31. 根据权利要求30所述的控制系统,其特征在于,所述目标受控设备用于根据所述运动参数对应的环境坐标系和所述目标受控设备对应的机体坐标系之间的关系,将所述运动参数转换至所述受控设备对应的机体坐标系中;The control system according to claim 30, wherein the target controlled device is configured to: according to a relationship between an environment coordinate system corresponding to the motion parameter and a body coordinate system corresponding to the target controlled device, Converting the motion parameter to a body coordinate system corresponding to the controlled device;
    所述目标受控设备用于根据转换后的运动参数向所述目标位置移动。The target controlled device is configured to move to the target position according to the converted motion parameter.
  32. 一种计算机可读存储介质,其特征在于,该计算机可读存储介质中存储有程序指令,该程序指令被处理器运行时,用于执行权利要求1至13中任一项所述的方法。A computer readable storage medium, wherein the computer readable storage medium stores program instructions for executing the method of any one of claims 1 to 13 when executed by a processor.
PCT/CN2018/080305 2018-03-23 2018-03-23 Control method, control device, control system, and computer readable storage medium WO2019178863A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880011996.2A CN110462574A (en) 2018-03-23 2018-03-23 Control method, control equipment, control system and computer readable storage medium
PCT/CN2018/080305 WO2019178863A1 (en) 2018-03-23 2018-03-23 Control method, control device, control system, and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/080305 WO2019178863A1 (en) 2018-03-23 2018-03-23 Control method, control device, control system, and computer readable storage medium

Publications (1)

Publication Number Publication Date
WO2019178863A1 true WO2019178863A1 (en) 2019-09-26

Family

ID=67988099

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/080305 WO2019178863A1 (en) 2018-03-23 2018-03-23 Control method, control device, control system, and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN110462574A (en)
WO (1) WO2019178863A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111193870B (en) * 2020-01-09 2022-05-10 华为终端有限公司 Method, device and system for controlling vehicle-mounted camera through mobile device
CN111563021B (en) * 2020-04-30 2023-09-22 中国工商银行股份有限公司 Positioning method, positioning device, electronic equipment and medium
CN112416208B (en) * 2020-12-11 2021-12-10 掌阅科技股份有限公司 Interaction method based on materials, computing equipment and computer storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152467A (en) * 2011-12-07 2013-06-12 智易科技股份有限公司 Hand-held electronic device and remote control method
US20140055681A1 (en) * 2012-08-22 2014-02-27 Sony Coporation Presenting snapshot of controlled device display on display of remote commander to facilitate control of the controlled device by user who cannot see controlled device
CN105760106A (en) * 2016-03-08 2016-07-13 网易(杭州)网络有限公司 Interaction method and interaction device of intelligent household equipment
CN106346475A (en) * 2016-11-01 2017-01-25 上海木爷机器人技术有限公司 Robot and robot control method
CN106453638A (en) * 2016-11-24 2017-02-22 腾讯科技(深圳)有限公司 Information interaction method and information interaction system in application service

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102929508B (en) * 2012-10-11 2015-04-01 中兴通讯股份有限公司 Touch method and device for electronic map
CN103777882B (en) * 2012-10-24 2017-07-11 腾讯科技(北京)有限公司 Multinomial based on touch-screen chooses method and device
MY170474A (en) * 2013-02-20 2019-08-06 Panasonic Ip Corp America Control method for information apparatus and program
US20150128045A1 (en) * 2013-11-05 2015-05-07 Honeywell International Inc. E-map based intuitive video searching system and method for surveillance systems

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103152467A (en) * 2011-12-07 2013-06-12 智易科技股份有限公司 Hand-held electronic device and remote control method
US20140055681A1 (en) * 2012-08-22 2014-02-27 Sony Coporation Presenting snapshot of controlled device display on display of remote commander to facilitate control of the controlled device by user who cannot see controlled device
CN105760106A (en) * 2016-03-08 2016-07-13 网易(杭州)网络有限公司 Interaction method and interaction device of intelligent household equipment
CN106346475A (en) * 2016-11-01 2017-01-25 上海木爷机器人技术有限公司 Robot and robot control method
CN106453638A (en) * 2016-11-24 2017-02-22 腾讯科技(深圳)有限公司 Information interaction method and information interaction system in application service

Also Published As

Publication number Publication date
CN110462574A (en) 2019-11-15

Similar Documents

Publication Publication Date Title
US9430698B2 (en) Information input apparatus, information input method, and computer program
KR101857952B1 (en) Apparatus and System for Remotely Controlling a Robot Cleaner and Method thereof
US20190129607A1 (en) Method and device for performing remote control
WO2019178863A1 (en) Control method, control device, control system, and computer readable storage medium
US8717388B2 (en) Communication control device, communication control method, and program
US20100095233A1 (en) Device, system and computer implemented method to display and process technical data for a device in an industrial control system
CN106774872A (en) Virtual reality system, virtual reality exchange method and device
CN113728293A (en) System and interface for location-based device control
CN108828996A (en) A kind of the mechanical arm remote control system and method for view-based access control model information
CN104462691A (en) Method and device for implementation of intelligent drawing with mouse in dynamic geometric software
CN109579826B (en) Direction display control method, device and chip of robot navigation map
KR101519225B1 (en) Method and system for transfering content among devices using mobile device sensor
CN111766936A (en) Virtual content control method and device, terminal equipment and storage medium
CN106125733A (en) Mobile machine People's Bank of China based on infrared top mark sensor walking system
CN108874139A (en) The target exchange method and system of visual focus and hand exercise tracking coordinated drive
US20200184222A1 (en) Augmented reality tools for lighting design
CN111913564B (en) Virtual content control method, device, system, terminal equipment and storage medium
US20100302150A1 (en) Peer layers overlapping a whiteboard
CN107066125B (en) Mouse and display method of mouse graphic object
WO2018145244A1 (en) Ultrasound medical detection device, imaging control method, imaging system, controller
JP2002202839A (en) Electronic equipment and display method for pointer
US11570017B2 (en) Batch information processing apparatus, batch information processing method, and program
JP6721023B2 (en) Information processing device and program
TWI672482B (en) Indoor navigation system
WO2018145264A1 (en) Ultrasonic medical detection device, imaging control method, imaging system, and controller

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: 18910414

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: 18910414

Country of ref document: EP

Kind code of ref document: A1