CN108845879A - A kind of robot resource transfer method, apparatus, server and storage medium - Google Patents
A kind of robot resource transfer method, apparatus, server and storage medium Download PDFInfo
- Publication number
- CN108845879A CN108845879A CN201810489260.8A CN201810489260A CN108845879A CN 108845879 A CN108845879 A CN 108845879A CN 201810489260 A CN201810489260 A CN 201810489260A CN 108845879 A CN108845879 A CN 108845879A
- Authority
- CN
- China
- Prior art keywords
- resource transfer
- robot
- program
- information
- robot platform
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
- G06F9/5055—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering software capabilities, i.e. software resources associated or available to the machine
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Manipulator (AREA)
Abstract
The invention discloses a kind of robot resource transfer method, apparatus, server and storage mediums.This method is applied to robot body, integrates robot platform on robot body, and integrated there are many Application Instances by remote procedure call communications framework for robot platform;This method includes:Receive the resource transfer information that terminal is sent;Current application program example corresponding with resource transfer information is determined from a variety of Application Instances;Current application program example is run, corresponding return information is obtained and is sent to the terminal.Robot resource transfer system integration degree can be improved in technical solution provided in an embodiment of the present invention, reduces the workload of staff's secondary development.
Description
Technical field
The present embodiments relate to Robot Control Technology more particularly to a kind of robot resource transfer method, apparatus, clothes
Business device and storage medium.
Background technique
Robot technology is as one of greatest invention of 20th century mankind, since coming out from the beginning of the sixties, robot skill
Art has obtained significant progress.With the development of intellectualized technology, intelligent robot is also widely developed.
With the continuous development of robot automtion, the work that robot can be realized is more and more, and robot can be real
Now corresponding function is because it is configured with the controller that can be realized corresponding function.Controller is used to control robot acquisition
External information handles received instruction, and controls the operation that robot completes various complexity.
However, when existing robot realizes multiple functions, being needed since the technology of existing intelligent robot is immature
Multiple controllers are bought from different manufacturers to be just able to achieve.When robot realizes concrete function, need to call specific control
Device, such as:When needing to carry out speech recognition, voice recognition controller is called;When being navigated, navigation controller is called;
When robot needs to realize the function of Voice Navigation, it is necessary to while calling voice recognition controller and navigation controller.This
It is low to have led to existing robot resource transfer system integration degree.And the controller mutual cooperation between different vendor makes
Used time, needing staff to carry out a large amount of secondary development can the multiple function of robot realization.
Summary of the invention
The present invention provides a kind of robot resource transfer method, apparatus, server and storage medium, to realize raising machine
People's resource transfer system integration degree reduces the workload of staff's secondary development.
In a first aspect, being applied to robot body, institute the embodiment of the invention provides a kind of robot resource transfer method
State and integrate robot platform on robot body, the robot platform by remote procedure call communications framework it is integrated there are many
Application Instance;The method includes:
Receive the resource transfer information that terminal is sent;
Current application program example corresponding with the resource transfer information is determined from a variety of Application Instances;
The current application program example is run, corresponding return information is obtained and is sent to the terminal.
Second aspect, the embodiment of the invention also provides a kind of robot resource transfer devices, are applied to robot body,
Robot platform is integrated on the robot body, the robot platform is integrated with more by remote procedure call communications framework
Kind Application Instance;Described device includes:
Receiving module, for receiving the resource transfer information of terminal transmission;
Determining module, it is corresponding with the resource transfer information current for being determined from a variety of Application Instances
Application Instance;
Module is run, for running the current application program example, obtaining corresponding return information and being sent to described
Terminal.
The third aspect, the embodiment of the invention also provides a kind of server, the server includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processing
Device realizes the robot resource transfer method as described in any in terms of above-mentioned.
Fourth aspect, it is described the embodiment of the invention also provides a kind of storage medium comprising computer executable instructions
Computer executable instructions by computer processor when being executed for executing the robot money as described in any in terms of above-mentioned
Source call method.
The present invention provides a kind of robot resource transfer method, this method is applied to robot body, robot body
Upper integrated robot platform, integrated there are many Application Instances by remote procedure call communications framework for robot platform;It should
The resource transfer information that method is sent by receiving terminal;Determination is corresponding with resource transfer information from a variety of Application Instances
Current application program example;Current application program example is run, corresponding return information is obtained and is sent to the terminal.?
In the embodiment of the present invention, robot platform is integrated there are many Application Instance by remote procedure call communications framework, and root
Current application program example corresponding with resource transfer information is determined according to resource transfer information, runs current application program example.
Robot resource transfer system integration degree can be improved in technical solution provided in an embodiment of the present invention, reduces staff two
The workload of secondary exploitation.
Detailed description of the invention
Fig. 1 is the flow chart of the robot resource transfer method in the embodiment of the present invention one;
Fig. 2 is the flow chart of the robot resource transfer method in the embodiment of the present invention two;
Fig. 3 is the structural block diagram of the robot resource transfer device in the embodiment of the present invention three;
Fig. 4 is the structural schematic diagram of the server in the embodiment of the present invention four.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention rather than limiting the invention.It also should be noted that in order to just
Only the parts related to the present invention are shown in description, attached drawing rather than entire infrastructure.
Embodiment one
Fig. 1 is the flow chart of the robot resource transfer method in the embodiment of the present invention one, and the present embodiment is applicable to machine
Device people calls the case where resource, which is applied to robot body, integrates machine on robot body
People's platform, integrated there are many Application Instances by remote procedure call communications framework for robot platform.
In the present embodiment, the method for the robot resource transfer is mainly used on robot body.In robot sheet
A robot platform is integrated on body, robot platform is integrated with more based on the remote procedure call communications framework of ZeroC ICE
Kind Application Instance.Terminal through internet communication engines (The Internet Communications Engine, ICE)
Communication protocol can call a variety of Application Instances on robot platform.Terminal can also pass through the communication protocol of ICE
Transmitting data are communicated with each other with robot platform.
As shown in Figure 1, the robot resource transfer method mainly includes the following steps:
S110, the resource transfer information that terminal is sent is received.
In the present embodiment, terminal concretely terminal devices such as mobile phone, tablet computer and desktop computer.Terminal and machine
The data transmission of people's platform uses message mechanism, i.e., is communicated by message-oriented middleware.Further, using the communication of ICE
Agreement is communicated as message-oriented middleware.
In the present embodiment, robot platform is mounted on robot body, and a robot is installed by a robot
Platform.Terminal and robot platform can in such a way that push component is broadcast live in IceStorm, glacier2router, RTMP into
The transmission of row data, realizes the interaction of terminal and robot platform.
S120, current application program example corresponding with resource transfer information is determined from a variety of Application Instances.
In the present embodiment, Application Instance there are many being integrated on robot platform.Application Instance includes at least:
Voice program example, video program's example, audio program's example, serial ports program example, shell script example and signal procedure are real
Example.Different resource transfer information correspond to different Application Instances.Robot platform can be according to different types of resource
Recalls information calls corresponding Application Instance.
Further, current application program example corresponding with resource transfer information is determined from a variety of Application Instances
Including:Resolving resource recalls information obtains resource transfer parameter value;Judge that the corresponding application program of resource transfer parameter value is real
Example;Call Application Instance corresponding with resource transfer parameter value.
In the present embodiment, resource transfer parameter value pass corresponding with Application Instance is stored in advance on robot platform
System, i.e., robot platform is parsed after receiving resource transfer information, is obtained resource transfer parameter value, is joined according to resource transfer
Numerical value is judged in robot platform, determines the corresponding Application Instance of resource transfer parameter value, is called and resource tune
With the corresponding Application Instance of parameter value, to carry out corresponding feature operation.
S130, operation current application program example, obtain corresponding return information and are sent to terminal.
In the present embodiment, according to resource transfer information in a variety of Application Instances determine with resource transfer information
After corresponding current application program example, current application program example is run.Such as it can be with by operation Application Instance
It realizes the fortune control control and navigation Service of robot, the figure of robot can also may be implemented by running Application Instance
As identification and speech-recognition services etc..
Current application program example is run, corresponding return information is obtained, return information is transmitted by message-oriented middleware
To terminal, to realize the data interaction of terminal and robot platform.
The embodiment of the invention provides a kind of robot resource transfer method, this method is applied to robot body, machine
Integrate robot platform on human body, integrated that there are many application programs is real by remote procedure call communications framework for robot platform
Example;The resource transfer information that this method is sent by receiving terminal;It is determining from a variety of Application Instances to believe with resource transfer
Cease corresponding current application program example;Current application program example is run, corresponding return information is obtained and is sent to terminal.
In embodiments of the present invention, robot platform by remote procedure call communications framework it is integrated there are many Application Instances, and
Determine that current application program example corresponding with resource transfer information, operation current application program are real according to resource transfer information
Example.Robot resource transfer system integration degree can be improved in technical solution provided in an embodiment of the present invention, reduces work people
The workload of member's secondary development.
Embodiment two
Fig. 2 is the flow chart of the robot resource transfer method in the embodiment of the present invention two;, the present embodiment is in above-mentioned each reality
On the basis of applying example, robot resource transfer method preferably will further optimize.In the present embodiment, the robot resource
The method of calling is mainly used on robot body.A robot platform, robot platform are integrated on robot body
Remote procedure call communications framework based on ZeroC ICE is integrated, and there are many Application Instances.Robot platform also has branch
Hold the all-purpose language open interface of a variety of programming languages.Robot platform, which also has, supports the universal communication of multiple communication modes to connect
Mouthful.
As shown in Fig. 2, the robot resource transfer method mainly includes the following steps:
S210, the resource transfer information that terminal is sent is received.
In the present embodiment, robot platform is mounted on robot body, and a robot is installed by a robot
Platform.Terminal and robot platform can be carried out data transmission by the way of network connection, wherein network connection, which can be, adopts
It is connected with cable network, such as:Universal serial bus or asynchronous transmission standard interface etc..It is also possible to just be connected with infinite network
It connects, such as:Wireless fidelity network or bluetooth etc..
The current resource transfer mode for receiving information of S220, foundation, selection and resource tune from the general-purpose communication interface
It is communicated with the corresponding communication interface of mode, and using Current communications interface.
In the present embodiment, robot platform has the general-purpose communication interface for supporting multiple resources method of calling.Robot
The resource transfer mode of resource transfer information that platform judgement receives, wherein resource transfer mode have synchronization call mode and
Asynchronous call mode.Two different method of calling correspond to different communication interfaces.Synchronization call mode is that function operation calls
As the function call of local, thread is suspended during application program is called, and is restored after calling completion for behavior.It is different
Step method of calling refers to be needed to continue with after the request of terminal resource recalls information.When in order to make terminal generate the smallest
Prolong, just returned immediately when operation is also reallocated, then goes dry other things with assignment thread.Resource tune has been sent eventually
It is returned at once with after information, guarantees that client is not blocked.Robot platform calls corresponding Application Instance, robot platform
It can just be returned the result in advance when processing has not been completed.
According to the difference of resource transfer mode, corresponding communication interface can choose, and completed using Current communications interface
The calling of resource.
S230, current application program corresponding with the resource transfer information is determined from a variety of Application Instances
Example.
In the present embodiment, Application Instance there are many being integrated on robot platform.Application Instance includes at least:
Voice program example, video program's example, audio program's example, serial ports program example, shell script example and signal procedure are real
Example.Different resource transfer information correspond to different Application Instances.Robot platform can be according to different types of resource
Recalls information calls corresponding Application Instance.
Further, the Application Instance all realizes that respective function, including voice program example can carry out language
Sound identification, speech synthesis etc.;Audio program's example can carry out the typing and output of audio;Video program's example can be taken the photograph
As the acquisition of head data and shared;Shell script example can carry out the operation of script and stop controlling;Serial ports program example can
The behavior of robot is controlled to send instructions by serial ports.In addition, program example clear further includes:Json engine program example can be with
Control the operation and stopping of json action group;Multimedia Program example can control the broadcasting of tts and the broadcasting of audio.
In the present embodiment, resource transfer parameter value pass corresponding with Application Instance is stored in advance on robot platform
System, i.e., robot platform is parsed after receiving resource transfer information, is obtained resource transfer parameter value, is joined according to resource transfer
Numerical value is judged in robot platform, determines the corresponding Application Instance of resource transfer parameter value, is called and resource tune
With the corresponding Application Instance of parameter value, to carry out corresponding feature operation.
S240, the operation current application program example, obtain corresponding return information and are sent to the terminal.
In the present embodiment, according to resource transfer information in a variety of Application Instances determine with resource transfer information
After corresponding current application program example, current application program example is run.Current application program example is run, is obtained corresponding
Return information, return information is transmitted to terminal by message-oriented middleware, to realize the data of terminal and robot platform
Interaction.
Further, also there is the all-purpose language open interface for supporting a variety of programming languages in robot platform.It obtains and adjusts
The functional development program inputted with the all-purpose language open interface, and the robot is updated according to the functional development program
The Application Instance integrated in platform.
In the present embodiment, robot platform supports a variety of programming languages:C++, Java, C#, VB, Python, Ruby etc.,
That is robot platform can allow these language gapless communications in programming.The platform to robot is being needed to be updated
Or when modification, the functional development program for calling the all-purpose language open interface input is obtained, and according to the functional development
Program updates the Application Instance integrated in the robot platform.Since robot platform supports a variety of programming languages, make
The secondary development for obtaining robot platform is simple.
The embodiment of the invention provides a kind of robot resource transfer method, this method is applied to robot body, machine
Integrate robot platform on human body, integrated that there are many application programs is real by remote procedure call communications framework for robot platform
Example;The resource transfer information that this method is sent by receiving terminal;It is determining from a variety of Application Instances to believe with resource transfer
Cease corresponding current application program example;Current application program example is run, corresponding return information is obtained and is sent to terminal.
In embodiments of the present invention, robot platform by remote procedure call communications framework it is integrated there are many Application Instances, and
Determine that current application program example corresponding with resource transfer information, operation current application program are real according to resource transfer information
Example.Robot resource transfer system integration degree can be improved in technical solution provided in an embodiment of the present invention, reduces work people
The workload of member's secondary development.
Embodiment three
Fig. 3 is the structural block diagram of the robot resource transfer device in the embodiment of the present invention three, the present embodiment is applicable to
The case where calling robot resource is applied to robot body, integrates robot platform, the machine on the robot body
People's platform is integrated there are many Application Instance by remote procedure call communications framework, and the robot platform also has support
The general-purpose communication interface of multiple communication modes;The robot platform also has the all-purpose language for supporting a variety of programming languages open
Interface.
As shown in figure 3, robot resource transfer device mainly includes following part:
Receiving module, for receiving the resource transfer information of terminal transmission;
Determining module, it is corresponding with the resource transfer information current for being determined from a variety of Application Instances
Application Instance;
Module is run, for running the current application program example, obtaining corresponding return information and being sent to described
Terminal.
Further, robot resource transfer device further includes:Update module calls the all-purpose language to open for obtaining
The functional development program of interface input is put, and updates the application integrated in the robot platform according to the functional development program
Program example.
Further, robot resource transfer device further includes:Selecting module, for according to the current communication for receiving information
Mode selects Current communications sub-interface from the general-purpose communication interface, and is communicated using Current communications sub-interface.
Specifically, determining module, is specifically used for resolving resource recalls information, obtains resource transfer parameter value;Described in determination
The corresponding Application Instance of resource transfer parameter value;Call Application Instance corresponding with the resource transfer parameter value.
Specifically, the Application Instance includes at least:Voice program example, video program's example, audio program are real
Example, serial ports program example, shell script example and signal procedure example.
The embodiment of the invention provides a kind of robot resource transfer device, which is applied to robot body, machine
Integrate robot platform on human body, integrated that there are many application programs is real by remote procedure call communications framework for robot platform
Example;The device includes:Receiving module, for receiving the resource transfer information of terminal transmission;Determining module is used for from described a variety of
Current application program example corresponding with the resource transfer information is determined in Application Instance;Module is run, for running
The current application program example obtains corresponding return information and is sent to the terminal.In embodiments of the present invention, machine
People's platform by remote procedure call communications framework it is integrated there are many Application Instances, and according to resource transfer information determine with
The corresponding current application program example of resource transfer information runs current application program example.Skill provided in an embodiment of the present invention
Robot resource transfer system integration degree can be improved in art scheme, reduces the workload of staff's secondary development.
Example IV
Fig. 4 is the structural schematic diagram for the server that the embodiment of the present invention four provides.Fig. 4, which is shown, to be suitable for being used to realizing this hair
The block diagram of the exemplary servers 412 of bright embodiment.The server 412 that Fig. 4 is shown is only an example, should not be to this hair
The function and use scope of bright embodiment bring any restrictions.
As shown in figure 4, server 412 is showed in the form of common apparatus.The component of server 412 may include but unlimited
In:One or more processor or processing unit 414, system storage 428 connect different system components (including system
Memory 428 and processing unit 414) bus 418.
Bus 418 indicates one of a few class bus structures or a variety of, including memory bus or Memory Controller,
Peripheral bus, graphics acceleration port, processor or the local bus using any bus structures in a variety of bus structures.It lifts
For example, these architectures include but is not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC)
Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Server 412 typically comprises a variety of computer system readable media.These media can be it is any being capable of bedding and clothing
The usable medium that business device 412 accesses, including volatile and non-volatile media, moveable and immovable medium.
System storage 428 may include the computer system readable media of form of volatile memory, such as deposit at random
Access to memory (RAM) 430 and/or cache memory 432.Server 412 may further include it is other it is removable/can not
Mobile, volatile/non-volatile computer system storage medium.Only as an example, storage system 434 can be used for reading and writing not
Movably, non-volatile magnetic media (Fig. 4 do not show, commonly referred to as " hard disk drive ").It although not shown in fig 4, can be with
The disc driver for reading and writing to removable non-volatile magnetic disk (such as " floppy disk ") is provided, and non-volatile to moving
The CD drive of CD (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driving
Device can be connected by one or more data media interfaces with bus 418.System storage 428 may include at least one
Program product, the program product have one group of (for example, at least one) program module, these program modules are configured to perform this
Invent the function of each embodiment.
Program/utility 440 with one group of (at least one) program module 442, can store and deposit in such as system
In reservoir 428, such program module 442 include --- but being not limited to --- operating system, one or more application program,
It may include the reality of network environment in other program modules and program data, each of these examples or certain combination
It is existing.Program module 442 usually executes function and/or method in embodiment described in the invention.
Server 412 can also be with one or more external equipments 414 (such as keyboard, sensing equipment, display 424 etc.)
Communication, can also be enabled a user to one or more equipment interact with the server 412 communicate, and/or with make the clothes
Any equipment (such as network interface card, modem etc.) that business device 412 can be communicated with one or more of the other calculating equipment
Communication.This communication can be carried out by input/output (I/O) interface 422.Also, server 412 can also be suitable by network
Orchestration 420 and one or more network (such as local area network (LAN), wide area network (WAN) and/or public network, such as because of spy
Net) communication.As shown, network adapter 420 is communicated by bus 418 with other modules of server 412.It should be understood that
Although not shown in the drawings, other hardware and/or software module can be used in conjunction with server 412, including but not limited to:Micro- generation
Code, device driver, redundant processing unit, external disk drive array, RAID system, tape drive and data backup are deposited
Storage system etc..
Processing unit 414 by the program that is stored in system storage 428 of operation, thereby executing various function application with
And data processing, such as realize robot resource transfer method provided by the embodiment of the present invention, it is applied to robot body, machine
Integrate robot platform on device human body, integrated there are many application programs by remote procedure call communications framework for robot platform
Example;This method includes:
Receive the resource transfer information that terminal is sent;
Current application program example corresponding with resource transfer information is determined from a variety of Application Instances;
Current application program example is run, corresponding return information is obtained and is sent to terminal.
Embodiment five
The embodiment of the present invention five additionally provides a kind of computer readable storage medium, is stored thereon with computer program, should
The robot resource transfer method provided such as all inventive embodiments of the application is provided when program is executed by processor, is used for machine
Human body integrates robot platform on robot body, and robot platform is integrated with more by remote procedure call communications framework
Kind Application Instance;This method includes:
Receive the resource transfer information that terminal is sent;
Current application program example corresponding with resource transfer information is determined from a variety of Application Instances;
Current application program example is run, corresponding return information is obtained and is sent to terminal.
The computer storage medium of the embodiment of the present invention, can be using any of one or more computer-readable media
Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable
Storage medium for example can be -- but being not limited to -- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device,
Or any above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:With one
The electrical connection of a or multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory
(ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-
ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage
Medium can be any tangible medium for including or store program, which can be commanded execution system, device or device
Using or it is in connection.
Computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.
The program code for including on computer-readable medium can transmit with any suitable medium, including --- but it is unlimited
In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The computer for executing operation of the present invention can be write with one or more programming languages or combinations thereof
Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++,
It further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with
It fully executes, partly execute on the user computer on the user computer, being executed as an independent software package, portion
Divide and partially executes or executed on a remote computer or server completely on the remote computer on the user computer.?
Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including local area network (LAN) or
Wide area network (WAN)-be connected to subscriber computer, or, it may be connected to outer computer (such as mentioned using Internet service
It is connected for quotient by internet).
Note that the above is only a better embodiment of the present invention and the applied technical principle.It will be appreciated by those skilled in the art that
The invention is not limited to the specific embodiments described herein, be able to carry out for a person skilled in the art it is various it is apparent variation,
It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above embodiments to the present invention
It is described in further detail, but the present invention is not limited to the above embodiments only, without departing from the inventive concept, also
It may include more other equivalent embodiments, and the scope of the invention is determined by the scope of the appended claims.
Claims (12)
1. a kind of robot resource transfer method, which is characterized in that be applied to robot body, integrated on the robot body
Robot platform, integrated there are many Application Instances by remote procedure call communications framework for the robot platform;It is described
Method includes:
Receive the resource transfer information that terminal is sent;
Current application program example corresponding with the resource transfer information is determined from a variety of Application Instances;
The current application program example is run, corresponding return information is obtained and is sent to the terminal.
2. the method according to claim 1, wherein the robot platform, which also has, supports a variety of programming languages
All-purpose language open interface;
The method also includes:
The functional development program for calling the all-purpose language open interface input is obtained, and is updated according to the functional development program
The Application Instance integrated in the robot platform.
3. the method according to claim 1, wherein the robot platform also has support multiple communication modes
General-purpose communication interface;
The method also includes:
According to the current resource transfer mode for receiving information, selected from the general-purpose communication interface corresponding with resource transfer mode
Current communications interface, and communicated using Current communications interface.
4. the method according to claim 1, wherein the determining and institute from a variety of Application Instances
The corresponding current application program example of resource transfer information is stated, including;
Resolving resource recalls information obtains resource transfer parameter value;
Judge the corresponding Application Instance of the resource transfer parameter value;
Call Application Instance corresponding with the resource transfer parameter value.
5. the method according to claim 1, wherein the Application Instance includes at least:Voice program is real
Example, video program's example, audio program's example, serial ports program example, shell script example and signal procedure example.
6. a kind of robot resource transfer device, which is characterized in that be applied to robot body, integrated on the robot body
Robot platform, integrated there are many Application Instances by remote procedure call communications framework for the robot platform;It is described
Device includes:
Receiving module, for receiving the resource transfer information of terminal transmission;
Determining module, for determining current application corresponding with the resource transfer information from a variety of Application Instances
Program example;
Module is run, for running the current application program example, obtaining corresponding return information and being sent to the terminal.
7. according to the method described in claim 6, it is characterized in that, the robot platform, which also has, supports a variety of programming languages
All-purpose language open interface;
Described device further includes:
Update module, for obtaining the functional development program for calling the all-purpose language open interface input, and according to the function
Program can be developed and update the Application Instance integrated in the robot platform.
8. according to the method described in claim 6, it is characterized in that, the robot platform also has support multiple communication modes
General-purpose communication interface;
Described device further includes:
Selecting module, for selecting Current communications from the general-purpose communication interface according to the current communication modes for receiving information
Interface, and communicated using Current communications sub-interface.
9. device according to claim 6, which is characterized in that determining module is specifically used for resolving resource recalls information, obtains
To resource transfer parameter value;Determine the corresponding Application Instance of the resource transfer parameter value;It calls and the resource transfer
The corresponding Application Instance of parameter value.
10. device according to claim 6, which is characterized in that the Application Instance includes at least:Voice program is real
Example, video program's example, audio program's example, serial ports program example, shell script example and signal procedure example.
11. a kind of server, which is characterized in that the server includes:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are executed by one or more of processors, so that one or more of processors are real
Now such as robot resource transfer method as claimed in any one of claims 1 to 5.
12. a kind of storage medium comprising computer executable instructions, the computer executable instructions are by computer disposal
For executing such as robot resource transfer method as claimed in any one of claims 1 to 5 when device executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810489260.8A CN108845879A (en) | 2018-05-21 | 2018-05-21 | A kind of robot resource transfer method, apparatus, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810489260.8A CN108845879A (en) | 2018-05-21 | 2018-05-21 | A kind of robot resource transfer method, apparatus, server and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108845879A true CN108845879A (en) | 2018-11-20 |
Family
ID=64213089
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810489260.8A Pending CN108845879A (en) | 2018-05-21 | 2018-05-21 | A kind of robot resource transfer method, apparatus, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108845879A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103513992A (en) * | 2013-10-23 | 2014-01-15 | 电子科技大学 | Universal development platform for education and entertainment robot application software |
US20150114082A1 (en) * | 2013-10-24 | 2015-04-30 | Mtd Products, Inc. | Methods and apparatus for increasing accuracy and reliability of gyrosopic sensors |
CN107273137A (en) * | 2017-06-30 | 2017-10-20 | 上海棠棣信息科技股份有限公司 | Portable software platform, method and robot for being rapidly completed custom service |
CN107428006A (en) * | 2015-04-10 | 2017-12-01 | 维思动株式会社 | Robot, robot control method and robot system |
-
2018
- 2018-05-21 CN CN201810489260.8A patent/CN108845879A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103513992A (en) * | 2013-10-23 | 2014-01-15 | 电子科技大学 | Universal development platform for education and entertainment robot application software |
US20150114082A1 (en) * | 2013-10-24 | 2015-04-30 | Mtd Products, Inc. | Methods and apparatus for increasing accuracy and reliability of gyrosopic sensors |
CN107428006A (en) * | 2015-04-10 | 2017-12-01 | 维思动株式会社 | Robot, robot control method and robot system |
CN107273137A (en) * | 2017-06-30 | 2017-10-20 | 上海棠棣信息科技股份有限公司 | Portable software platform, method and robot for being rapidly completed custom service |
Non-Patent Citations (1)
Title |
---|
王宏杰: "机器人与计算机之间的通信编程", 《计算机工程》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP7297836B2 (en) | Voice user interface shortcuts for assistant applications | |
US10466885B2 (en) | Transactional conversation-based computing system | |
US11145302B2 (en) | System for processing user utterance and controlling method thereof | |
KR102043365B1 (en) | Local maintenance of data for voice actions that can be selectively performed offline on a speech recognition electronic device | |
US10811008B2 (en) | Electronic apparatus for processing user utterance and server | |
US11874904B2 (en) | Electronic device including mode for using an artificial intelligence assistant function of another electronic device | |
CN108257590A (en) | Voice interactive method, device, electronic equipment, storage medium | |
US11270690B2 (en) | Method and apparatus for waking up device | |
US11995561B2 (en) | Universal client API for AI services | |
US20180341870A1 (en) | Managing Indecisive Responses During a Decision Tree Based User Dialog Session | |
CN111261161A (en) | Voice recognition method, device and storage medium | |
CN111028839B (en) | Smart home control method and device and electronic equipment | |
US20210319347A1 (en) | Fast and scalable multi-tenant serve pool for chatbots | |
CN108231076A (en) | A kind of sound control method, device, equipment and storage medium | |
CN113393367A (en) | Image processing method, apparatus, device and medium | |
CN110221840A (en) | The function realizing method and device of application program, equipment and storage medium | |
CN109902163B (en) | Intelligent response method, device, equipment and storage medium | |
CN108111374B (en) | Method, apparatus, equipment and the computer storage medium of synchronizer list | |
CN113012695B (en) | Intelligent control method and device, electronic equipment and computer readable storage medium | |
CN109840132A (en) | Method of combination, device and the storage medium of container | |
CN110874343B (en) | Method for processing voice based on deep learning chip and deep learning chip | |
CN108845879A (en) | A kind of robot resource transfer method, apparatus, server and storage medium | |
CN109960489A (en) | Generate method, apparatus, equipment, medium and the question answering system of intelligent Answer System | |
CN114301789A (en) | Data transmission method and device, storage medium and electronic equipment | |
CN113709506A (en) | Multimedia playing method, device, medium and program product based on cloud mobile phone |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181120 |