IP Library Patent Application 17320662
Patent Application
App. No. 17/320,662

METHOD AND APPARATUS FOR CONTROLLING DEVICE TO MOVE, STORAGE MEDIUM, AND ELECTRONIC DEVICE

Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US None
App. No.
17/320,662
Abstract

A method and apparatus for controlling a device to move, a storage medium, and an electronic device. The method includes: collecting a first RGB-D image of a surrounding environment of a target device according to a preset period when the target device moves; obtaining a second RGB-D image of a preset number of frames from the first RGB-D image; obtaining a pre-trained deep Q network model DQN training model, and performing migration training on the DQN training model according to the second RGB-D image to obtain a target DQN model; obtaining a target RGB-D image of the current surrounding environment of the target device; inputting the target RGB-D image into the target DQN model to obtain a target output parameter, and determining a target control strategy according to the target output parameter; and controlling the target device to move according to the target control strategy.

Claims (47)

1 . A method for controlling a device to move, comprising:

collecting a first RGB-D image of a surrounding environment of a target device according to a preset period when the target device moves;

obtaining a second RGB-D image of a preset number of frames from the first RGB-D image;

obtaining a pre-trained deep Q network model DQN training model, and performing migration training on the DQN training model according to the second RGB-D image to obtain a target DQN model;

obtaining a target RGB-D image of the current surrounding environment of the target device;

inputting the target RGB-D image into the target DQN model to obtain a target output parameter, and determining a target control strategy according to the target output parameter; and

controlling the target device to move according to the target control strategy.

2 . The method according to claim 1 , wherein the performing migration training on the DQN training model according to the second RGB-D image to obtain a target DQN model comprises:

using the second RGB-D image as the input of the DQN training model to obtain a first output parameter of the DQN training model;

determining a first control strategy according to the first output parameter, and controlling the target device to move according to the first control strategy;

obtaining relative position information of the target device and a surrounding obstacle;

evaluating the first control strategy according to the relative position information to obtain a score value;

obtaining a DQN check model, the DQN check model comprises a DQN model generated according to model parameters of the DQN training model; and

performing the migration training on the DQN training model according to the score value and the DQN check model to obtain the target DQN model.

3 . The method according to claim 2 , wherein the DQN training model comprises a convolutional layer and a full connection layer connected with the convolutional layer, and the using the second RGB-D image as the input of the DQN training model to obtain a first output parameter of the DQN training model comprises:

inputting the second RGB-D image of the preset number of frames into the convolutional layer to extract a first image feature, and inputting the first image feature into the full connection layer to obtain the first output parameter of the DQN training model.

4 . The method according to claim 2 , wherein the DQN training model comprises a plurality of convolutional neural networks CNN networks, a plurality of recurrent neural networks RNN networks, and a full connection layer, different CNN networks are connected with different RNN networks, a target RNN network of the RNN networks is connected with the full connection layer, the target RNN network includes any one of the RNN networks, the plurality of RNN networks are sequentially connected, and the using the second RGB-D image as the input of the DQN training model to obtain a first output parameter of the DQN training model comprises:

respectively inputting each frame of the second RGB-D image into different CNN networks to extract second image features;

circularly performing a feature extraction step until a feature extraction termination condition is satisfied, the feature extraction step comprises: inputting the second image features into a current RNN network connected with the CNN network, and obtaining a fourth image feature through the current RNN network according to the second image features and a third image feature input by the previous RNN network, and inputting the fourth image feature into the next RNN network; determining the next RNN as an updated current RNN network;

the feature extraction termination condition comprises:

obtaining a fifth image feature output by the target RNN network; and

after the fifth image feature is obtained, inputting the fifth image feature into the full connection layer to obtain the first output parameter of the DQN training model.

5 . The method according to claim 2 , wherein the performing the migration training on the DQN training model according to the score value and the DQN check model to obtain the target DQN model comprises:

obtaining a third RGB-D image of the current surrounding environment of the target device;

inputting the third RGB-D image into the DQN check model to obtain a second output parameter;

performing calculation according to the score value and the second output parameter to obtain an expected output parameter;

obtaining a training error according to the first output parameter and the expected output parameter; and

obtaining a preset error function, and training the DQN training model according to the training error and the preset error function in accordance with a counterpropagation algorithm to obtain the target DQN model.

6 . The method according to claim 1 , wherein the inputting the target RGB-D image into the target DQN model to obtain a target output parameter comprises:

inputting the target RGB-D image into the target DQN model to obtain a plurality of to-be-determined output parameters; and

determining a maximum parameter among the plurality of to-be-determined output parameters as the target output parameter.

7 . A computer readable storage medium, a computer program is stored thereon, wherein the program, when executed by a processor, implements a method for controlling a device to move, comprising:

collecting a first RGB-D image of a surrounding environment of a target device according to a preset period when the target device moves;

obtaining a second RGB-D image of a preset number of frames from the first RGB-D image;

obtaining a pre-trained deep Q network model DQN training model, and performing migration training on the DQN training model according to the second RGB-D image to obtain a target DQN model;

obtaining a target RGB-D image of the current surrounding environment of the target device;

inputting the target RGB-D image into the target DQN model to obtain a target output parameter, and determining a target control strategy according to the target output parameter; and

controlling the target device to move according to the target control strategy.

8 . An electronic device, comprising:

a memory, wherein a computer program is stored thereon; and

a processor, configured to execute the computer program in the memory to implement a method for controlling a device to move, comprising:

collecting a first RGB-D image of a surrounding environment of a target device according to a preset period when the target device moves;

obtaining a second RGB-D image of a preset number of frames from the first RGB-D image;

obtaining a pre-trained deep Q network model DQN training model, and performing migration training on the DQN training model according to the second RGB-D image to obtain a target DQN model;

obtaining a target RGB-D image of the current surrounding environment of the target device;

inputting the target RGB-D image into the target DQN model to obtain a target output parameter, and determining a target control strategy according to the target output parameter; and

controlling the target device to move according to the target control strategy.

Assignments (2)
CHANGE OF NAME Recorded May 23, 2022
From: CLOUDMINDS (SHANGHAI) ROBOTICS CO., LTD.
To: CLOUDMINDS ROBOTICS CO., LTD.
Reel/Frame 060164/0372 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 14, 2021
From: LIU, ZHAOXIANG; LIAN, SHIGUO; LI, SHAOHUA
To: CLOUDMINDS (SHANGHAI) ROBOTICS CO., LTD.
Reel/Frame 056301/0945 →