CN110543436B - Robot data acquisition method and device - Google Patents

Robot data acquisition method and device Download PDF

Info

Publication number
CN110543436B
CN110543436B CN201910847060.XA CN201910847060A CN110543436B CN 110543436 B CN110543436 B CN 110543436B CN 201910847060 A CN201910847060 A CN 201910847060A CN 110543436 B CN110543436 B CN 110543436B
Authority
CN
China
Prior art keywords
data
information
interaction interface
feedback
robot
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201910847060.XA
Other languages
Chinese (zh)
Other versions
CN110543436A (en
Inventor
支涛
应甫臣
李广胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Yunji Technology Co Ltd
Original Assignee
Beijing Yunji Technology Co Ltd
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 Beijing Yunji Technology Co Ltd filed Critical Beijing Yunji Technology Co Ltd
Priority to CN201910847060.XA priority Critical patent/CN110543436B/en
Publication of CN110543436A publication Critical patent/CN110543436A/en
Application granted granted Critical
Publication of CN110543436B publication Critical patent/CN110543436B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/122Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware performs an I/O function other than control of data transfer

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Manipulator (AREA)

Abstract

The embodiment of the application provides a data acquisition method and device for a robot, and relates to the technical field of robots. The method comprises the steps of sending a data calling instruction to a data interaction interface of the robot; receiving data information returned by a data interaction interface of the robot; analyzing the data information, setting data feedback task information of a corresponding data interaction interface according to an analysis result, and sending the feedback task information to a data interaction interface of the robot; and receiving data information transmitted by the data interaction interface according to the data feedback task information. According to the method, the data interaction interface is provided with the data feedback task information to actively feed back data, so that the problem that the data interface is frequently called because the data interface cannot actively feed back data in the conventional method is solved.

Description

Robot data acquisition method and device
Technical Field
The application relates to the technical field of robots, in particular to a data acquisition method and device of a robot.
Background
When a client or a server needs to acquire robot data such as running state data, data interfaces corresponding to different data types need to be called; when the robot data needs to be frequently acquired, the corresponding data interface needs to be frequently called to acquire the required robot data, so that the problem that the data interface is frequently called because the data interface cannot actively feed back the data is caused.
Disclosure of Invention
The embodiment of the application aims to provide a data acquisition method and a data acquisition device for a robot, which are used for actively feeding back data by setting data feedback task information for a data interaction interface, so that the problem that the data interface is frequently called because the data interface cannot actively feed back data in the conventional method is solved.
The embodiment of the application provides a data acquisition method of a robot, which comprises the following steps:
sending a data calling instruction to a data interaction interface of the robot;
receiving data information returned by a data interaction interface of the robot;
analyzing the data information, setting data feedback task information of a corresponding data interaction interface according to an analysis result, and sending the feedback task information to a data interaction interface of the robot;
and receiving data information transmitted by the data interaction interface according to the data feedback task information.
In the implementation process, the data information to be called is acquired by sending the data calling instruction, and the data feedback task information is set according to the data information, so that the receiving end where the data interaction interface is located can feed back the data information according to the data feedback task information, and the required data information can be received, thereby avoiding the trouble caused by frequently sending the data calling instruction, solving the problem that the data interface is frequently called because the data interface can not actively feed back data in the existing method, enhancing the convenience of data feedback, and reducing the development difficulty.
Further, the analyzing the data information and setting data feedback task information of a corresponding data interaction interface according to an analysis result includes:
analyzing the data information to acquire the data type and the data length of the data information;
and setting data feedback task information of the corresponding data interaction interface according to the data type and the data length of the data information, and sending the data feedback task information to the corresponding data interaction interface of the robot.
In the implementation process, the type and the length of the data information required to be acquired by a calling end are acquired by analyzing the data information, the calling end is the end which sends a data calling instruction, and the data feedback task information is set according to the type and the length of the data information.
Further, the data feedback task information comprises data feedback frequency; the data feedback task information of the corresponding data interaction interface is set according to the data type and the data length of the data information, and the data feedback task information comprises the following steps:
determining the demand frequency of the data information according to the category of the data information;
acquiring configuration parameters of a data interaction interface;
setting a data feedback frequency range of the corresponding data interaction interface according to the required frequency of the data information and the configuration parameters of the data interaction interface;
and determining the data feedback frequency according to the data feedback frequency range and the data length.
In the implementation process, the type of the data information determines a required frequency of the data information, and the configuration parameter of the data interaction interface determines a feedback frequency range in which the data interaction interface can feed back the data information, so that the required frequency of the data information and the configuration parameter of the data interaction interface are influence factors of the size of the data feedback frequency range.
Further, the determining the data feedback frequency according to the data feedback frequency range and the data length includes:
determining the data transmission bandwidth of a data interaction interface;
and setting the data feedback frequency within the data feedback frequency range according to the data transmission bandwidth and the data length.
In the implementation process, the data transmission bandwidth and the data length are influence factors of the data transmission efficiency, and the size of the data feedback frequency also influences the transmission efficiency, so that the data feedback frequency can be set in the data feedback frequency range according to the data transmission bandwidth and the data length, the demand frequency of a calling end can be met while the data transmission efficiency is not influenced, the factors influencing the data feedback efficiency are comprehensively considered, and the reasonable setting of the data feedback frequency is realized.
The embodiment of the present application further provides a data acquisition device for a robot, and the device includes:
the instruction sending module is used for sending a data calling instruction to a data interaction interface of the robot;
the first data receiving module is used for receiving data information returned by the data interaction interface of the robot;
the analysis and setting module is used for analyzing the data information, setting data feedback task information of a corresponding data interaction interface according to an analysis result, and sending the feedback task information to the data interaction interface of the robot;
and the second data receiving module is used for receiving the data information transmitted by the data interaction interface according to the data feedback task information.
In the implementation process, the instruction sending module sends the data calling instruction, the first data receiving module receives the returned data information and sets corresponding data feedback task information according to the data information, so that the data information is actively fed back according to the data feedback task information, the data information is prevented from being acquired by frequently sending the data calling instruction, convenience is enhanced, and the problem that the data interface is frequently called because the data interface cannot actively feed back data in the existing method is solved.
Further, the parsing and setting module includes:
the data analysis module is used for analyzing the data information to acquire the data type and the data length of the data information;
and the interface feedback task setting module is used for setting data feedback task information of the corresponding data interaction interface according to the data type and the data length of the data information and sending the data feedback task information to the corresponding data interaction interface of the robot.
In the implementation process, because the data type and the length of the data information are influence factors of the data feedback frequency, the data type and the data length of the data information can be acquired by analyzing the data information, so that the set data feedback task information has rationality.
Further, the data feedback task information comprises data feedback frequency; the interface feedback task setting module comprises:
the demand frequency setting module is used for determining the demand frequency of the data information according to the category of the data information;
the configuration parameter acquisition module is used for acquiring configuration parameters of the data interaction interface;
the frequency range setting module is used for setting a data feedback frequency range of the corresponding data interaction interface according to the required frequency of the data information and the configuration parameters of the data interaction interface;
and the data feedback frequency determining module is used for determining the data feedback frequency according to the data feedback frequency range and the data length.
In the implementation process, the type of the data information determines the required frequency of the data information, the required frequency of the data information and the configuration parameters of the data interaction interface are influence factors of the size of the data feedback frequency range, and the required frequency of the data information and the configuration parameters of the data interaction interface determine the feedback frequency range in which the data interaction interface can feed back the data information. And the size of the data length influences the transmission efficiency of the data, so that the data feedback frequency can be determined in the data feedback frequency range according to the data length, and the reasonability of setting the data feedback frequency is improved.
The embodiment of the application further provides a data processing method of the robot, which comprises the following steps:
receiving a data calling instruction sent by a calling end;
analyzing the data calling instruction to acquire data information required by a calling end;
sending the data information to the calling terminal through a corresponding data interaction interface;
receiving data feedback task information returned by the calling terminal;
and sending data information to the calling terminal through a corresponding data interaction interface according to the data feedback task information.
In the implementation process, data information is sent to the calling end according to the data calling instruction of the calling end, and the data information is actively sent to the calling end according to the data task feedback information; the method and the device avoid the problem that the calling end frequently sends a data calling instruction to acquire data information, enhance convenience and solve the problem that the data interface is frequently called because the data interface can not actively feed back data in the existing method.
Further, the sending data information to the calling terminal according to the data feedback task information includes:
analyzing the data feedback task information to obtain data feedback frequency;
and sending data information to the calling terminal through a corresponding data interaction interface according to the data feedback frequency.
In the implementation process, the feedback frequency corresponding to the data information is obtained according to the data feedback task information, and the data information is actively sent at regular time according to the feedback frequency, so that the trouble that a calling end frequently sends a data calling instruction is avoided.
The embodiment of the application further provides an electronic device, which includes a memory and a processor, wherein the memory is used for storing a computer program, and the processor runs the computer program to enable the computer device to execute the data acquisition method of the robot.
The embodiment of the application also provides a readable storage medium, wherein computer program instructions are stored in the readable storage medium, and when the computer program instructions are read and executed by a processor, the data acquisition method of the robot is executed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a schematic flowchart of a data acquisition method for a robot according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart illustrating a specific process of executing step S300 according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart illustrating a specific process of executing step S320 according to an embodiment of the present disclosure;
fig. 4 is a schematic flowchart illustrating a specific process of executing step S324 according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a data acquisition apparatus of a robot according to an embodiment of the present disclosure;
fig. 6 is a specific structural block diagram of an analysis and setting module according to an embodiment of the present disclosure;
fig. 7 is a specific flowchart of a data processing method of a robot according to an embodiment of the present disclosure;
fig. 8 is a schematic specific flowchart illustrating the step S900 according to the embodiment of the present application.
Icon:
100-an instruction sending module; 200-a first data receiving module; 300-a parsing and setting module; 310-a data parsing module; 320-interface feedback task setting module; 321-a demand frequency setting module; 322-configuration parameter acquisition module; 323-frequency range setting module; 324-a data feedback frequency determination module; 3241-bandwidth determination module; 3242-frequency setting module; 400-second data receiving module.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example 1
Referring to fig. 1, fig. 1 is a schematic flowchart illustrating a data acquisition method of a robot according to an embodiment of the present disclosure. The method can be applied to a client or a server needing to acquire the robot operation data, and can also be applied to a controller and the like in the robot needing to acquire the robot data, and the method specifically comprises the following steps:
step S100: sending a data calling instruction to a data interaction interface of the robot;
in the implementation process, when robot data such as robot running state data or position information and the like needs to be acquired, a data calling instruction is sent to a data interaction interface of the robot to acquire the robot data.
Step S200: receiving data information returned by a data interaction interface of the robot;
in the implementation process, the controller where the data interaction interface of the robot is located analyzes the data call instruction after receiving the data call instruction, and sends corresponding data information to a call end of the data call instruction through the corresponding data interaction interface according to an analysis result.
Step S300: analyzing the data information, setting data feedback task information of a corresponding data interaction interface according to an analysis result, and sending the feedback task information to a data interaction interface of the robot;
for example, as shown in fig. 2, a specific flowchart for executing step S300 according to the embodiment of the present application is shown. The step may specifically include:
step S310: analyzing the data information to acquire the data type and the data length of the data information;
in the implementation process, the acquired data information is analyzed, the category and the data length of the data information are acquired, and the data interaction interface is conveniently set according to the category and the data length of the data information.
The data length is the length of the character string of the data or the instruction, and the type and the length of the data information affect the data feedback frequency, so the type and the length of the data information need to be determined.
Step S320: and setting data feedback task information of the corresponding data interaction interface according to the data type and the data length of the data information, and sending the data feedback task information to the corresponding data interaction interface of the robot.
In the implementation process, as shown in fig. 3, a specific flowchart for executing step S320 provided in the embodiment of the present application is shown. The data feedback task information may be a data feedback frequency, and therefore step S320 may specifically include:
step S321: determining the demand frequency of the data information according to the category of the data information;
in the implementation process, because the types of the data information are different, the frequency of the data information is different, for example, if the types of the data information can be position information data, robot running state data, speed information, path information, and the like, wherein the frequency of feeding back the data information is different according to the difference of the traveling speed of the robot in the position information data; if the electric quantity information data needs a certain time due to the change of the electric quantity, real-time feedback is not needed; the traveling speed of the robot may change in real time due to its own characteristics, and thus needs to be continuously fed back, for example, speed information of the robot needs to be fed back through the data interaction interface every 1 second. Therefore, according to different types of data information, the demand frequency corresponding to different data information can be determined.
Step S322: acquiring configuration parameters of a data interaction interface;
the data interaction interface has different performances due to the influence of the hardware configuration parameters, and the feedback frequency of the data information is limited by the performances of the data interaction interface. Illustratively, the configuration parameters of the data interaction interface include stability, the stability of the data interaction interface refers to a success rate of calling the data interaction interface, and the higher the success rate is, the better the stability of the data interaction interface is.
Step S323: setting a data feedback frequency range of the corresponding data interaction interface according to the required frequency of the data information and the configuration parameters of the data interaction interface;
in the implementation process, a reasonable data feedback frequency range can be set based on two aspects of the required frequency of the data information and the configuration parameters of the corresponding interactive interface.
Step S324: and determining the data feedback frequency according to the data feedback frequency range and the data length.
Illustratively, as shown in fig. 4, a specific flowchart for executing step S324 provided in the embodiment of the present application is shown. The step may specifically include:
step S3241: determining the data transmission bandwidth of a data interaction interface;
for example, the data transmission bandwidth refers to the amount of data that can be transmitted in a fixed time, and also refers to the capability of transmitting data in the transmission channel. In digital devices, bandwidth is typically expressed in bps, the number of bits that can be transmitted per second.
As can be seen from the above, the data transmission bandwidth determines the capacity of data transmission per unit time. If the data transmission bandwidth is not adapted to the transmission frequency, the transmission efficiency will be affected.
Step S3242: and setting the data feedback frequency within the data feedback frequency range according to the data transmission bandwidth and the data length.
For example, after the data feedback frequency range is determined, the data feedback frequency is further determined according to the data length and the data transmission bandwidth required to be transmitted and within the data feedback frequency range, and the data transmission efficiency is ensured while the data feedback frequency range is satisfied.
Step S400: and receiving data information transmitted by the data interaction interface according to the data feedback task information.
In the implementation process, the data information fed back according to the set data feedback frequency is received, so that after a data calling instruction is sent once, the data interaction interface can actively feed back data according to the set data feedback frequency, the problem that the data interface is frequently called because the data interface cannot actively feed back data in the conventional method is solved, the convenience of data feedback is enhanced, and the development difficulty is reduced.
For example, the data feedback task information may also include feedback duration, and if the robot only works within a certain time period or the data information within a certain time period needs to be fed back, the corresponding data feedback task information may be set by the corresponding data interaction interface, where the data interaction interface includes a starting point of feedback time, feedback duration, feedback frequency, a termination point of feedback time, and the like, so that the data interaction interface feeds back the data information according to the data feedback information.
Example 2
For example, an embodiment of the present application further provides a data acquisition apparatus for a robot, and as shown in fig. 5, the data acquisition apparatus for a robot provided in the embodiment of the present application is a block diagram. The apparatus may include, but is not limited to:
the instruction sending module 100 is configured to send a data call instruction to a data interaction interface of the robot;
the first data receiving module 200 is used for receiving data information returned by a data interaction interface of the robot;
the analysis and setting module 300 is configured to analyze the data information, set data feedback task information of a corresponding data interaction interface according to an analysis result, and send the feedback task information to the data interaction interface of the robot;
the second data receiving module 400 is configured to receive data information transmitted by the data interaction interface according to the data feedback task information.
Optionally, as shown in fig. 6, a specific structural block diagram of a data acquisition device of a robot provided in the embodiment of the present application is shown. The parsing and setup module 300 may include, but is not limited to:
a data parsing module 310, configured to parse the data information to obtain a data type and a data length of the data information;
and the interface feedback task setting module 320 is configured to set data feedback task information of a corresponding data interaction interface according to the data type and the data length of the data information, and send the data feedback task information to a corresponding data interaction interface of the robot.
Optionally, the data feedback task information includes a data feedback frequency; the interface feedback task setting module 320 may include, but is not limited to:
a demand frequency setting module 321, configured to determine a demand frequency of the data information according to the category of the data information;
a configuration parameter obtaining module 322, configured to obtain configuration parameters of the data interaction interface;
a frequency range setting module 323, configured to set a data feedback frequency range of the corresponding data interaction interface according to the required frequency of the data information and the configuration parameter of the data interaction interface;
and a data feedback frequency determining module 324, configured to determine a data feedback frequency according to the data feedback frequency range and the data length.
Optionally, the data feedback frequency determining module 324 may include, but is not limited to:
a bandwidth determining module 3241, configured to determine a data transmission bandwidth of the data interaction interface;
and a frequency setting module 3242, configured to set a data feedback frequency within a data feedback frequency range according to the data transmission bandwidth and the data length.
Example 3
For example, an embodiment of the present application further provides a data processing method for a robot, and as shown in fig. 7, the data processing method is a specific flowchart of the data processing method for the robot provided in the embodiment of the present application. The method is applied to a calling instruction receiving end, such as a robot end or a data generating end in the robot, for example, the speed of the robot is acquired by a speed sensor for detecting the speed and is the data generating end; the data calling end can be a client or a server and the like which need to acquire the running state data of the robot in the method. The method may comprise the steps of:
step S500: receiving a data calling instruction sent by a calling end;
step S600: analyzing the data calling instruction to acquire data information required by a calling end;
step S700: sending the data information to the calling terminal through a corresponding data interaction interface;
step S800: receiving data feedback task information returned by the calling terminal;
step S900: and sending data information to the calling terminal through a corresponding data interaction interface according to the data feedback task information.
In the implementation process, the type of the data information required by the calling end can be obtained by analyzing the data calling instruction, and after the data feedback task information returned by the calling end is received, the data information required by the calling end can be sent to the calling end according to the data feedback task information and through the corresponding data interaction interface. In the process, the calling end only needs to send the data calling instruction once, and after receiving the corresponding data information, the calling end returns the data feedback task information, so that the data information can be received regularly without frequently sending the data calling instruction, and the convenience of data information acquisition is enhanced.
Optionally, as shown in fig. 8, a specific flowchart for executing step S900 provided in this embodiment of the application is shown. Step S900 may specifically include:
step S901: analyzing the data feedback task information to obtain data feedback frequency;
step S902: and sending data information to the calling terminal through a corresponding data interaction interface according to the data feedback frequency.
In the implementation process, the data feedback task information is analyzed to obtain the data feedback frequency set by the calling end, and the data information of the robot required by the calling end is sent to the calling end according to the feedback frequency, so that after the calling end sends the data calling instruction to call the data information, the data information is actively sent to the calling end according to the originally set feedback frequency, and the problem that the calling end can obtain the required data information only by frequently sending the data calling instruction is solved.
EXAMPLE 4
An example of the present application further provides an electronic device, where the electronic device includes a memory and a processor, the memory is used for storing a computer program, and the processor runs the computer program to make the computer device execute the data acquisition method of the robot according to any one of embodiments 1.
Example 5
An example of the present application further provides a readable storage medium, where computer program instructions are stored, and when the computer program instructions are read and executed by a processor, the method for acquiring data of a robot according to any one of embodiments 1 is performed.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (5)

1. A method of data acquisition for a robot, the method comprising:
sending a data calling instruction to a data interaction interface of the robot;
receiving data information returned by a data interaction interface of the robot;
analyzing the data information, setting data feedback task information of a corresponding data interaction interface according to an analysis result, and sending the feedback task information to a data interaction interface of the robot;
specifically, the data information is analyzed to obtain the data type and the data length of the data information; setting data feedback task information of a corresponding data interaction interface according to the data type and the data length of the data information, and sending the data feedback task information to the corresponding data interaction interface of the robot;
the data feedback task information comprises data feedback frequency, and the data feedback task information of the corresponding data interaction interface is set according to the data type and the data length of the data information, and comprises the following steps:
determining the demand frequency of the data information according to the category of the data information;
acquiring configuration parameters of a data interaction interface;
setting a data feedback frequency range of the corresponding data interaction interface according to the required frequency of the data information and the configuration parameters of the data interaction interface;
determining a data feedback frequency according to the data feedback frequency range and the data length;
and receiving data information transmitted by the data interaction interface according to the data feedback task information.
2. The method of claim 1, wherein the determining a data feedback frequency from the data feedback frequency range and a data length comprises:
determining the data transmission bandwidth of a data interaction interface;
and setting the data feedback frequency within the data feedback frequency range according to the data transmission bandwidth and the data length.
3. A data acquisition device for a robot, the device comprising:
the instruction sending module is used for sending a data calling instruction to a data interaction interface of the robot;
the first data receiving module is used for receiving data information returned by the data interaction interface of the robot;
the analysis and setting module is used for analyzing the data information, setting data feedback task information of a corresponding data interaction interface according to an analysis result, and sending the feedback task information to the data interaction interface of the robot;
the second data receiving module is used for receiving data information transmitted by the data interaction interface according to the data feedback task information;
wherein, the analysis and setting module comprises:
the data analysis module is used for analyzing the data information to acquire the data type and the data length of the data information;
the interface feedback task setting module is used for setting data feedback task information of a corresponding data interaction interface according to the data type and the data length of the data information and sending the data feedback task information to the corresponding data interaction interface of the robot;
the data feedback task information comprises data feedback frequency; the interface feedback task setting module comprises:
the demand frequency setting module is used for determining the demand frequency of the data information according to the category of the data information;
the configuration parameter acquisition module is used for acquiring configuration parameters of the data interaction interface;
the frequency range setting module is used for setting a data feedback frequency range of the corresponding data interaction interface according to the required frequency of the data information and the configuration parameters of the data interaction interface;
and the data feedback frequency determining module is used for determining the data feedback frequency according to the data feedback frequency range and the data length.
4. An electronic device, characterized in that the electronic device comprises a memory for storing a computer program and a processor for executing the computer program to cause the computer device to perform the data acquisition method of the robot according to any one of claims 1 to 2.
5. A readable storage medium, in which computer program instructions are stored, which, when read and executed by a processor, perform the data acquisition method of the robot according to any one of claims 1 to 2.
CN201910847060.XA 2019-09-06 2019-09-06 Robot data acquisition method and device Active CN110543436B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910847060.XA CN110543436B (en) 2019-09-06 2019-09-06 Robot data acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910847060.XA CN110543436B (en) 2019-09-06 2019-09-06 Robot data acquisition method and device

Publications (2)

Publication Number Publication Date
CN110543436A CN110543436A (en) 2019-12-06
CN110543436B true CN110543436B (en) 2021-09-24

Family

ID=68712942

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910847060.XA Active CN110543436B (en) 2019-09-06 2019-09-06 Robot data acquisition method and device

Country Status (1)

Country Link
CN (1) CN110543436B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112775972A (en) * 2021-01-07 2021-05-11 配天机器人技术有限公司 Communication method of robot control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103078908A (en) * 2012-12-26 2013-05-01 北京经纬恒润科技有限公司 Data transmission method and device
US9026248B1 (en) * 2011-05-06 2015-05-05 Google Inc. Methods and systems for multirobotic management
CN104601695A (en) * 2015-01-14 2015-05-06 北京京东尚科信息技术有限公司 Intelligent device control method, device and system
CN106453340A (en) * 2016-10-21 2017-02-22 北京光年无限科技有限公司 Data processing method and system for intelligent robot
CN110099098A (en) * 2019-03-26 2019-08-06 江西机电职业技术学院 Industrial robot data uploading method, system, readable storage medium storing program for executing and equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109890576B (en) * 2016-08-25 2022-04-22 Lg电子株式会社 Mobile robot and control method thereof
CN109981422A (en) * 2017-12-28 2019-07-05 深圳市优必选科技有限公司 Method, multi-robot system and the mobile terminal of mobile terminal control robot

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9026248B1 (en) * 2011-05-06 2015-05-05 Google Inc. Methods and systems for multirobotic management
CN103078908A (en) * 2012-12-26 2013-05-01 北京经纬恒润科技有限公司 Data transmission method and device
CN104601695A (en) * 2015-01-14 2015-05-06 北京京东尚科信息技术有限公司 Intelligent device control method, device and system
CN106453340A (en) * 2016-10-21 2017-02-22 北京光年无限科技有限公司 Data processing method and system for intelligent robot
CN110099098A (en) * 2019-03-26 2019-08-06 江西机电职业技术学院 Industrial robot data uploading method, system, readable storage medium storing program for executing and equipment

Also Published As

Publication number Publication date
CN110543436A (en) 2019-12-06

Similar Documents

Publication Publication Date Title
US10958615B2 (en) Communication message consolidation with content difference formatting
CN112749358A (en) Page rendering method and device, electronic equipment and storage medium
CN111694644A (en) Message processing method and device based on robot operating system and computer equipment
CN105653531B (en) Data extraction method and device
CN110543436B (en) Robot data acquisition method and device
CN108228625B (en) Push message processing method and device
CN113347269A (en) Data updating method of industrial system, electronic equipment and storage medium
CN102769625A (en) Client-side Cookie information acquisition method and device
CN104468248A (en) Service performance monitoring method, reverse proxy server, statistical analysis server and system
CN108965386B (en) Identification method and device for shared access terminal
CN110659006B (en) Cross-screen display method and device, electronic equipment and readable storage medium
CN105094810B (en) Data processing method and device based on CGI(Common gateway interface) plug-in unit
CN110740138A (en) Data transmission method and device
CN116095534A (en) Method, device and storage medium for collecting test equipment data
CN115543202A (en) Cache management method, reading method, system, electronic device and storage medium
CN113282475B (en) Method and device for evaluating interactive performance of interactive system
CN115883639A (en) Web real-time message pushing method and device, equipment and storage medium
CN109739996B (en) Construction method and device of industrial knowledge map
CN111159196A (en) Block chain data storage and acquisition method and device based on fragmentation
CN113132383A (en) Network data acquisition method and system
CN111078711A (en) Block chain data storage and acquisition method and device based on data index
CN112749204A (en) Method and device for reading data
CN109831530B (en) Flow identification method and device based on FTP downloading
CN113438187B (en) Data transmission method, device, transmission equipment and readable storage medium
CN111314268B (en) Data packet analysis method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Room 201, building 4, courtyard 8, Dongbeiwang West Road, Haidian District, Beijing

Patentee after: Beijing Yunji Technology Co.,Ltd.

Address before: Room 201, building 4, courtyard 8, Dongbeiwang West Road, Haidian District, Beijing

Patentee before: BEIJING YUNJI TECHNOLOGY Co.,Ltd.