CN109995805B - Intelligent robot management method, terminal device and medium - Google Patents

Intelligent robot management method, terminal device and medium Download PDF

Info

Publication number
CN109995805B
CN109995805B CN201711475989.1A CN201711475989A CN109995805B CN 109995805 B CN109995805 B CN 109995805B CN 201711475989 A CN201711475989 A CN 201711475989A CN 109995805 B CN109995805 B CN 109995805B
Authority
CN
China
Prior art keywords
configuration
service instance
state
instruction
service
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
CN201711475989.1A
Other languages
Chinese (zh)
Other versions
CN109995805A (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.)
Ubtech Robotics Corp
Original Assignee
Ubtech Robotics Corp
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 Ubtech Robotics Corp filed Critical Ubtech Robotics Corp
Priority to CN201711475989.1A priority Critical patent/CN109995805B/en
Publication of CN109995805A publication Critical patent/CN109995805A/en
Application granted granted Critical
Publication of CN109995805B publication Critical patent/CN109995805B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Manipulator (AREA)

Abstract

The invention is suitable for the technical field of robots and provides a management method, terminal equipment and a medium of an intelligent robot, wherein the method comprises the following steps: receiving a service instance configuration instruction; according to the service instance configuration instruction, updating the configuration state of the service instance pointed by the service instance configuration instruction in a pre-stored configuration file; if a robot control instruction sent by a user terminal is received, analyzing the robot control instruction to determine the service instance corresponding to the robot control instruction; inquiring the configuration state of the service instance corresponding to the robot control instruction in the configuration file; and executing response operation corresponding to the configuration state. According to the invention, under the condition of not modifying the SDK, the configurable function of the service instance of the intelligent robot is realized, and the strong association relation between the service instance and the function interface provided by the SDK is removed, so that the flexibility management and control of the intelligent robot are realized, and the management and control efficiency is improved.

Description

Intelligent robot management method, terminal device and medium
Technical Field
The invention belongs to the technical field of robots, and particularly relates to a management method of an intelligent robot, a terminal device and a medium.
Background
The Client/Server (C/S) model is an architecture for a software system. By utilizing the C/S mode, the advantages of hardware environments at two ends can be fully utilized, and tasks are reasonably distributed to the Client end and the Server end to be realized, so that the communication overhead of the system is reduced.
With the development of artificial intelligence technology, in order to conveniently realize the control of the intelligent robot, the intelligent robot also starts the C/S mode. The developer can call various service instances in the intelligent robot through a Software Development Kit (SDK) provided by the Client. However, because there is a one-to-one correspondence between each function interface provided by the SDK and the service instance in the smart robot, and after the smart robot is started, each service instance of the smart robot also provides a service to the outside by default, if the administrator wants to prevent the Client from calling a certain service instance in the smart robot, the administrator usually reissues only a set of new SDKs, so that the new SDKs do not include the function interfaces corresponding to the service instances, thereby implementing function control on the smart robot. In the management process, the modification process of the SDK is relatively complicated, so that the management and control efficiency of the intelligent robot is reduced.
Disclosure of Invention
In view of this, embodiments of the present invention provide a management method, a terminal device, and a medium for an intelligent robot, so as to solve the problems of low management and control efficiency and complex operation when managing and controlling an intelligent robot in the prior art.
A first aspect of an embodiment of the present invention provides a management method for an intelligent robot, including:
receiving a service instance configuration instruction;
according to the service instance configuration instruction, updating the configuration state of the service instance pointed by the service instance configuration instruction in a pre-stored configuration file;
if a robot control instruction sent by a user terminal is received, analyzing the robot control instruction to determine the service instance corresponding to the robot control instruction;
inquiring the configuration state of the service instance corresponding to the robot control instruction in the configuration file;
and executing response operation corresponding to the configuration state.
A second aspect of an embodiment of the present invention provides a management apparatus for an intelligent robot, including:
a receiving unit, configured to receive a service instance configuration instruction;
the updating unit is used for updating the configuration state of the service instance pointed by the service instance configuration instruction in a pre-stored configuration file according to the service instance configuration instruction;
the determining unit is used for analyzing the robot control instruction to determine the service instance corresponding to the robot control instruction if the robot control instruction sent by the user terminal is received;
the query unit is used for querying the configuration state of the service instance corresponding to the robot control instruction in the configuration file;
a response unit for performing a response operation corresponding to the configuration state.
A third aspect of the embodiments of the present invention provides a terminal device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor implements the following steps when executing the computer program:
receiving a service instance configuration instruction;
according to the service instance configuration instruction, updating the configuration state of the service instance pointed by the service instance configuration instruction in a pre-stored configuration file;
if a robot control instruction sent by a user terminal is received, analyzing the robot control instruction to determine the service instance corresponding to the robot control instruction;
inquiring the configuration state of the service instance corresponding to the robot control instruction in the configuration file;
and executing response operation corresponding to the configuration state.
A fourth aspect of embodiments of the present invention provides a computer-readable storage medium storing a computer program which, when executed by a processor, implements the steps of:
receiving a service instance configuration instruction;
according to the service instance configuration instruction, updating the configuration state of the service instance pointed by the service instance configuration instruction in a pre-stored configuration file;
if a robot control instruction sent by a user terminal is received, analyzing the robot control instruction to determine the service instance corresponding to the robot control instruction;
inquiring the configuration state of the service instance corresponding to the robot control instruction in the configuration file;
and executing response operation corresponding to the configuration state.
In the embodiment of the invention, the configuration state of the service instance is updated in a pre-stored configuration file by receiving the service instance configuration instruction input by an administrator; when a user terminal sends a robot control instruction, the robot control instruction requests to call a service function corresponding to a certain service instance in the intelligent robot, so that after the service instance corresponding to the robot control instruction is confirmed, the pre-stored configuration state of the service instance is read in the configuration file, and response operation corresponding to the configuration state is executed, so that developers can not necessarily call the service function corresponding to each service instance normally even if the developers use the SDK provided with all functional interfaces, but can only call the service instance within the authority control range according to the configuration state of the service instance preset by the Server end of the intelligent robot. According to the embodiment of the invention, under the condition that the SDK is not modified, the configurable function of the service instance of the intelligent robot is realized, and the strong association relationship between the service instance and the function interface provided by the SDK is eliminated, so that the flexibility management and control of the intelligent robot are realized, and the management and control efficiency of the intelligent robot is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a flowchart of an implementation of a management method for an intelligent robot according to an embodiment of the present invention;
fig. 2 is a flowchart of a specific implementation of the management method S102 for an intelligent robot according to an embodiment of the present invention;
fig. 3 is a flowchart of another specific implementation of the management method S102 for an intelligent robot according to an embodiment of the present invention;
fig. 4 is a flowchart of an implementation of a management method for an intelligent robot according to another embodiment of the present invention;
fig. 5 is a block diagram of a management apparatus of an intelligent robot according to an embodiment of the present invention;
fig. 6 is a schematic diagram of a terminal device according to an embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a management method for an intelligent robot according to an embodiment of the present invention. The implementation flow shown in fig. 1 includes steps S101 to S105, and the implementation principle of each step is specifically as follows:
s101: service instance configuration instructions are received.
In the embodiment of the invention, the administrator refers to an administrator with a robot management authority, and the user refers to a developer who develops the robot control program by using the SDK on the terminal device. The terminal device includes, but is not limited to, various terminals with operation and compilation capability, such as a mobile phone, a computer, a server, or a single chip microcomputer. The terminal device is stored with SDK for developing robot operation program, which includes software package, software frame, hardware platform and operation system. By utilizing the SDK prestored on the terminal device, after the development of the robot control program is completed by a developer, the robot control program is burnt to the intelligent robot, or the robot control program is connected with the intelligent robot in a network transmission mode so as to control the robot to execute various functions through the robot control program.
In the embodiment of the invention, a client/server mode is satisfied between the user terminal and the intelligent robot. After the smart Robot receives the start command and starts the Robot Operating System (ROS), the manager will be started in the ROS System. The manager is used for enabling pre-stored service instances, and each service instance corresponds to one functional service of the intelligent robot. For example, if the intelligent robot has a dancing function, there is a dancing service instance; if the intelligent robot has the singing function, a singing service instance exists.
If the service instance configuration event is detected to be triggered, a service instance configuration instruction input by an administrator at the current interface can be received.
Illustratively, if it is detected that the configuration file in the ROS system is turned to the foreground for display, or if it is detected that a service instance setting key in the management desk is clicked, it is determined that a service instance configuration event is triggered. At the moment, in a real-time display page of the configuration file, a service instance configuration instruction input by a user is received.
S102: and updating the configuration state of the service instance pointed by the service instance configuration instruction in a pre-stored configuration file according to the service instance configuration instruction.
In the embodiment of the invention, the configuration file stores the corresponding relation of each service instance and the configuration state thereof. The configuration states include an enabled state and a disabled state. In the initial state, the configuration state corresponding to each service instance is the enabled state.
As a specific implementation manner of the embodiment of the present invention, if a service instance configuration instruction sent by a user is received and the service instance configuration instruction carries configuration parameters, a configuration state corresponding to a service instance is modified in the configuration file. The configuration parameters include, but are not limited to, a unique identifier of the service instance, a configuration status, and the like. The unique identifier may be, for example, a function name, a character number, or a service function name of the service instance.
As another specific implementation manner of the embodiment of the present invention, if a service instance configuration instruction sent by a user is received, and the service instance configuration instruction is a parameter deletion instruction or a parameter addition instruction, the operation of deleting or entering the configuration record information is respectively performed on the configuration record information in the configuration file.
In the configuration record information, when the attribute value of each field is deleted, newly added or modified, the updated configuration file is stored in real time.
As an embodiment of the present invention, fig. 2 shows a specific implementation flow of the management method S102 for an intelligent robot provided in the embodiment of the present invention, which is detailed as follows:
s1021: and acquiring the unique identification number of the service instance carried by the service instance configuration instruction and the attribute parameters of the configuration state.
In the embodiment of the invention, each service instance has a unique identification number. When the administrator issues a service instance configuration instruction, the administrator inputs a unique identification number of a service instance needing to update the configuration state and inputs specific attribute parameters of the configuration state of the updated service instance in the configuration page. Therefore, when the service instance configuration instruction is received, the service instance configuration instruction can be analyzed to identify the unique identification number and the attribute parameters carried by the service instance configuration instruction.
Illustratively, if the unique identification numbers of all the service instances in the intelligent robot meet a preset character rule, generating a regular expression matched with the character rule. And processing various parameters carried by the service instance configuration instruction through the preset regular expression. And if one parameter is identified to meet the preset regular expression, determining the parameter as the unique identification number of the service instance needing to be updated in the configuration state.
Illustratively, according to the preset identifier and the unique identification number continuously input by the administrator in the configuration page, the parameter connected with the preset identifier is determined to be the unique identification number of the service instance needing to update the configuration state.
In the embodiment of the present invention, the attribute parameter of the configuration state is 0 or 1. If the obtained attribute parameter is 1, indicating that the configuration state of the service instance needs to be set to be the starting state; if the obtained attribute parameter is 0, it indicates that the configuration state of the service instance needs to be set to the disabled state.
And if the attribute parameter of the configuration state carried by the service instance configuration instruction is detected to be an illegal value, prompting an administrator to re-input the service instance configuration instruction.
S1022: and updating the configuration state corresponding to the unique identification number into the attribute parameter in the pre-stored configuration file.
In the configuration file, according to the unique identification number carried by the service instance configuration instruction, a row of configuration record information to which the unique identification number belongs is found out in the configuration file, and a field corresponding to the configuration state is found out in the configuration record information. And updating the attribute parameters of the configuration state carried by the service instance configuration instruction into the current attribute value of the field.
And after the service instance configuration instruction is completed, the manager of the intelligent robot is restarted. And according to the updated configuration file, the manager starts each service instance with the configuration state being the starting state.
As an embodiment of the present invention, fig. 3 shows another specific implementation flow of the management method S102 for an intelligent robot provided in the embodiment of the present invention, which is detailed as follows:
s1023: and opening the pre-stored configuration file.
S1024: and displaying the unique identification number of each service instance contained in the configuration file.
S1025: and deleting or modifying the configuration record information corresponding to the unique identification number pointed by the service instance configuration instruction according to the received service instance configuration instruction, wherein the configuration record information comprises the configuration state.
In the embodiment of the invention, the configuration file is read and operated from the preset storage path of the configuration file. Since the configuration file contains the attribute parameters corresponding to each service instance in various fields, in order to reduce the quantity of parameter information to be displayed, the unique identification number of each service instance associated with the configuration file is obtained first, and the unique identification numbers are displayed one by one.
After checking each unique identification number in the current display interface, the administrator selects the unique identification number corresponding to one service instance which needs to be changed by moving a cursor or a touch gesture, and at the moment, determines that a service instance configuration instruction is received. And displaying the configuration record information corresponding to the unique identification number according to the unique identification number pointed by the current service instance configuration instruction. The configuration record information includes configuration status, service function name, access authority, and the like.
And if the deletion control in the current display interface is triggered, deleting all the configuration record information. And if the modification control in the current display interface is triggered, changing the attribute value of each field in the configuration record information into an editable style, so that the attribute parameters input in real time are covered with the original attribute parameters after the attribute parameters input in real time on any one or more fields by an administrator are received. Therefore, as long as the attribute parameters input by the administrator are detected in the field to which the configuration state belongs, the configuration state corresponding to the service instance can be updated to switch from the disabled state to the enabled state or from the enabled state to the disabled state.
In the embodiment of the invention, the pre-stored configuration file is opened, the unique identification numbers of the service instances contained in the configuration file are displayed, and other field information is not displayed, so that a manager can quickly search and accurately select the unique identification number in the current display interface under the condition that the manager cannot accurately input the unique identification number of the service instance needing to modify the configuration state, and further change the configuration state corresponding to the unique identification number, therefore, the updating speed and accuracy of the configuration state are improved, and the management and control requirements of the manager on the intelligent robot are met.
S103: and if a robot control instruction sent by a user terminal is received, analyzing the robot control instruction to determine the service instance corresponding to the robot control instruction.
In the embodiment of the present invention, the user terminal invokes an Application Programming Interface (API) function provided by the SDK, and converts the API function into binarized string data by using Simple Object Access Protocol (SOAP). And the user terminal sends the character string data to the intelligent robot.
And when the intelligent robot receives the character string data based on the SOAP, determining that the robot control instruction is received, and analyzing the character string data to determine a local API function of the intelligent robot requested to be called by the character string data. And the local API function of the intelligent robot is a service function.
Specifically, the character string data carries a function name of a service function requested to be called by the user terminal. And determining the service instance corresponding to the current robot control instruction according to the corresponding relation between the pre-stored function name and the service instance.
S104: and inquiring the configuration state of the service instance corresponding to the robot control instruction in the configuration file.
Based on the determined service instance, in the configuration file, the configuration state of the corresponding setting of the service instance is inquired to determine whether the service instance is in the enabled state.
S105: and executing response operation corresponding to the configuration state.
In the embodiment of the invention, the executed response operations are different according to different configuration states of the service instances corresponding to the robot control instruction.
For example, if the robot control instruction is used for controlling the robot to execute the dancing action, but the configuration state of the service instance corresponding to the robot control instruction is a forbidden state, the intelligent robot only sends out the sound alarm prompt information and cannot execute the dancing action; or returning error prompt information to the user terminal.
In the embodiment of the invention, the configuration state of the service instance is updated in a pre-stored configuration file by receiving the service instance configuration instruction input by a user; when the client sends the robot control instruction, the robot control instruction requests to call a service function corresponding to a certain service instance in the intelligent robot, so that after the service instance corresponding to the robot control instruction is confirmed, the pre-stored configuration state of the service instance is read in the configuration file, and the response operation corresponding to the configuration state is executed, so that even if the developers use the SDK provided with all the functional interfaces, the developers cannot necessarily call the service function corresponding to each service instance normally, and can only call the service instance within the authority control range according to the configuration state of the service instance preset by the Server end of the intelligent robot. According to the embodiment of the invention, under the condition that the SDK is not modified, the configurable function of the service instance of the intelligent robot is realized, and the strong association relationship between the service instance and the function interface provided by the SDK is eliminated, so that the flexibility management and control of the intelligent robot are realized, and the management and control efficiency of the intelligent robot is improved.
As an embodiment of the present invention, the step S105 specifically includes: if the configuration state is the starting state, calling a service function corresponding to the service instance, and returning prompt information of successful calling of the service function to the user terminal; and if the configuration state is the forbidden state, returning service function call prohibition prompt information to the user terminal.
In the embodiment of the invention, if the configuration state of the service instance corresponding to the robot control instruction is detected to be the enabled state, the service function requested by the current user terminal is a function which is allowed to be used by an administrator, so that the service function corresponding to the service instance is called, namely, the local API function of the intelligent robot matched with the API function name carried by the robot control instruction is called. Because each local API function of the intelligent robot is used for realizing a specific function, the flexible control of the intelligent robot by the user terminal is realized. For example, the intelligent robot is controlled to rotate three turns originally, and the like.
In the embodiment of the invention, if the service function is successfully called, the prompt message of the successful calling of the service function is returned to the user terminal; and if the service function has a calling error, returning service function calling error prompt information to the user terminal, and reporting the error information of the service function to the cloud server so that an SDK (software development kit) publisher can detect an error code in the service function. The cloud server is a server of an SDK issuing manufacturer.
In the embodiment of the invention, if the configuration state of the service instance corresponding to the robot control instruction is detected to be the forbidden state, the service function requested by the current user terminal is a function which is not provided by an administrator, so that the calling of the service function corresponding to the service instance is directly refused, and the service function call prohibition prompt message is returned to the user terminal.
In the embodiment of the invention, the intelligent robot is controlled to execute different response operations based on the configuration state of the service instance detected in the configuration file in real time, and the prompt information for describing the response operation is returned to the user terminal while each response operation is executed, so that the user terminal can clearly know whether the control of the intelligent robot is successfully realized or not at present or know the specific reason of the failure of the control at present after sending out the robot control instruction. For different failure reasons, developers need to perform troubleshooting from different directions, and therefore the troubleshooting efficiency of the developers in the process of controlling the intelligent robot is improved.
As another embodiment of the present invention, as shown in fig. 4, after the above S104, the method further includes:
s106: if the unique identifier of the service instance corresponding to the robot control instruction does not exist in the configuration file, determining that the configuration state of the service instance is a forbidden state.
Since the administrator can delete the configuration record information to which a certain unique identification number belongs in the configuration file, after the service instance corresponding to the robot control instruction is determined in S104, there may be a case where the configuration record information corresponding to the service instance is deleted in the configuration file, and thus the configuration state of the service instance cannot be queried.
In the embodiment of the invention, if the unique identifier of the service instance corresponding to the robot control instruction does not exist in the configuration file, the configuration state of the service instance is determined to be the forbidden state, so that the intelligent robot can continue to execute the response operation corresponding to the forbidden state according to the determined forbidden state, thereby avoiding the situations that an interruption error occurs in the execution process of the robot control instruction and the user terminal cannot obtain a response, and obtaining corresponding feedback prompt information as long as the user terminal sends the robot control instruction, thereby ensuring that the intelligent robot has higher reliability.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 5 shows a block diagram of a management apparatus for an intelligent robot according to an embodiment of the present invention, which corresponds to the management method for an intelligent robot according to the above-described embodiment.
Referring to fig. 5, the apparatus includes:
the receiving unit 51 is configured to receive a service instance configuration instruction.
An updating unit 52, configured to update, according to the service instance configuration instruction, the configuration state of the service instance pointed by the service instance configuration instruction in a pre-stored configuration file.
The first determining unit 53 is configured to, if a robot control instruction sent by a user terminal is received, analyze the robot control instruction to determine the service instance corresponding to the robot control instruction.
The query unit 54 is configured to query the configuration state of the service instance corresponding to the robot control instruction in the configuration file.
A response unit 55 for performing a response operation corresponding to the configuration state.
Optionally, the response unit 55 includes:
and the function calling subunit is used for calling the service function corresponding to the service instance if the configuration state is the starting state, and returning the prompt message of successful service function calling to the user terminal.
And the prompting subunit is used for returning the service function call prohibition prompting information to the user terminal if the configuration state is the forbidden state.
Optionally, the updating unit 52 includes:
and the obtaining subunit is configured to obtain the unique identification number of the service instance and the attribute parameter of the configuration state, where the unique identification number is carried by the service instance configuration instruction.
And the first updating subunit is configured to update the configuration state corresponding to the unique identification number into the attribute parameter in the pre-stored configuration file.
Optionally, the updating unit 52 includes:
and the file acquisition subunit is used for opening the pre-stored configuration file.
And the display subunit is used for displaying the unique identification number of each service instance contained in the configuration file.
And the second updating subunit is configured to delete or modify, according to the received service instance configuration instruction, configuration record information corresponding to the unique identification number pointed by the service instance configuration instruction, where the configuration record information includes the configuration state.
Optionally, the management apparatus of the intelligent robot further includes:
a second determining unit 56, configured to determine that the configuration state of the service instance is a disabled state if the unique identifier of the service instance corresponding to the robot control instruction does not exist in the configuration file.
In the embodiment of the invention, the configuration state of the service instance is updated in a pre-stored configuration file by receiving the service instance configuration instruction input by an administrator; when a user terminal sends a robot control instruction, the robot control instruction requests to call a service function corresponding to a certain service instance in the intelligent robot, so that after the service instance corresponding to the robot control instruction is confirmed, the pre-stored configuration state of the service instance is read in the configuration file, and response operation corresponding to the configuration state is executed, so that developers can not necessarily call the service function corresponding to each service instance normally even if the developers use the SDK provided with all functional interfaces, but can only call the service instance within the authority control range according to the configuration state of the service instance preset by the Server end of the intelligent robot. According to the embodiment of the invention, under the condition that the SDK is not modified, the configurable function of the service instance of the intelligent robot is realized, and the strong association relationship between the service instance and the function interface provided by the SDK is eliminated, so that the flexibility management and control of the intelligent robot are realized, and the management and control efficiency of the intelligent robot is improved.
Fig. 6 is a schematic diagram of a terminal device according to an embodiment of the present invention. As shown in fig. 6, the terminal device 6 of this embodiment includes: a processor 60, a memory 61 and a computer program 62, such as a hypervisor for an intelligent robot, stored in said memory 61 and operable on said processor 60. The processor 60, when executing the computer program 62, implements the steps in the above-described embodiments of the management method for the intelligent robot, such as the steps 101 to 105 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the units/sub-units in the above-described device embodiments, such as the functions of the units 51 to 55 shown in fig. 5.
Illustratively, the computer program 62 may be divided into one or more units/sub-units, which are stored in the memory 61 and executed by the processor 60 to carry out the invention. The one or more units/sub-units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 62 in the terminal device 6.
The terminal device 6 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 60, a memory 61. Those skilled in the art will appreciate that fig. 6 is merely an example of a terminal device 6 and does not constitute a limitation of terminal device 6 and may include more or less components than those shown, or some components in combination, or different components, for example, the terminal device may also include input output devices, network access devices, buses, etc.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6. The memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the terminal device 6. The memory 61 is used for storing the computer program and other programs and data required by the terminal device. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned functional units and sub-units are illustrated as examples, and in practical applications, the above-mentioned function allocation may be performed by different functional units and sub-units according to requirements, that is, the internal structure of the apparatus is divided into different functional units or sub-units to perform all or part of the above-mentioned functions. Each functional unit and sub-unit in the embodiments may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and the sub-units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and sub-units in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the sub-units or units may be divided into only one logical function, and may be implemented in other ways, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated units/sub-units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. . Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. A management method of an intelligent robot is characterized by comprising the following steps:
receiving a service instance configuration instruction;
according to the service instance configuration instruction, updating the configuration state of the service instance pointed by the service instance configuration instruction in a pre-stored configuration file; the configuration state comprises an enabled state and a disabled state;
if a robot control instruction sent by a user terminal is received, analyzing the robot control instruction to determine the service instance corresponding to the robot control instruction;
inquiring the configuration state of the service instance corresponding to the robot control instruction in the configuration file;
and executing response operation corresponding to the configuration state.
2. The method of managing of claim 1, wherein the performing of the responsive operation corresponding to the configuration state comprises:
if the configuration state is the starting state, calling a service function corresponding to the service instance, and returning prompt information of successful calling of the service function to the user terminal;
and if the configuration state is the forbidden state, returning service function call prohibition prompt information to the user terminal.
3. The management method according to claim 1 or 2, wherein the updating, according to the service instance configuration instruction, the configuration state of the service instance pointed to by the service instance configuration instruction in a pre-stored configuration file includes:
acquiring the unique identification number of the service instance carried by the service instance configuration instruction and the attribute parameters of the configuration state;
and updating the configuration state corresponding to the unique identification number into the attribute parameter in the pre-stored configuration file.
4. The management method according to claim 1 or 2, wherein the updating, according to the service instance configuration instruction, the configuration state of the service instance pointed to by the service instance configuration instruction in a pre-stored configuration file includes:
opening the pre-stored configuration file;
displaying the unique identification number of each service instance contained in the configuration file;
and deleting or modifying the configuration record information corresponding to the unique identification number pointed by the service instance configuration instruction according to the received service instance configuration instruction, wherein the configuration record information comprises the configuration state.
5. The method for managing according to claim 1, wherein after querying the configuration file for the configuration status of the service instance corresponding to the robot control instruction, the method further comprises:
if the unique identifier of the service instance corresponding to the robot control instruction does not exist in the configuration file, determining that the configuration state of the service instance is a forbidden state.
6. A management device for an intelligent robot, comprising:
a receiving unit, configured to receive a service instance configuration instruction;
the updating unit is used for updating the configuration state of the service instance pointed by the service instance configuration instruction in a pre-stored configuration file according to the service instance configuration instruction; the configuration state comprises an enabled state and a disabled state;
the determining unit is used for analyzing the robot control instruction to determine the service instance corresponding to the robot control instruction if the robot control instruction sent by the user terminal is received;
the query unit is used for querying the configuration state of the service instance corresponding to the robot control instruction in the configuration file;
a response unit for performing a response operation corresponding to the configuration state.
7. The management apparatus according to claim 6, wherein the response unit includes:
the function calling subunit is used for calling the service function corresponding to the service instance if the configuration state is the starting state, and returning prompt information of successful service function calling to the user terminal;
and the prompting subunit is used for returning the service function call prohibition prompting information to the user terminal if the configuration state is the forbidden state.
8. The management apparatus according to claim 6 or 7, wherein the updating unit includes:
the obtaining subunit is configured to obtain the unique identification number of the service instance and the attribute parameter of the configuration state, where the unique identification number is carried by the service instance configuration instruction;
and the updating subunit is configured to update the configuration state corresponding to the unique identification number into the attribute parameter in the pre-stored configuration file.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 5 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
CN201711475989.1A 2017-12-29 2017-12-29 Intelligent robot management method, terminal device and medium Active CN109995805B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711475989.1A CN109995805B (en) 2017-12-29 2017-12-29 Intelligent robot management method, terminal device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711475989.1A CN109995805B (en) 2017-12-29 2017-12-29 Intelligent robot management method, terminal device and medium

Publications (2)

Publication Number Publication Date
CN109995805A CN109995805A (en) 2019-07-09
CN109995805B true CN109995805B (en) 2021-12-17

Family

ID=67108813

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711475989.1A Active CN109995805B (en) 2017-12-29 2017-12-29 Intelligent robot management method, terminal device and medium

Country Status (1)

Country Link
CN (1) CN109995805B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110995806B (en) * 2019-11-24 2022-05-24 济南浪潮数据技术有限公司 Resource state conversion method, device, equipment and storage medium
CN111198790B (en) * 2019-12-23 2023-09-08 深圳市优必选科技股份有限公司 Robot testing method, robot testing device and robot
CN111242577A (en) * 2020-01-13 2020-06-05 中国建设银行股份有限公司 RPA process automation robot deployment method and device and electronic equipment
CN111338820B (en) * 2020-02-24 2024-04-05 京东科技信息技术有限公司 Operation method, client and storage medium
WO2022041280A1 (en) * 2020-08-31 2022-03-03 Oppo广东移动通信有限公司 Method and apparatus for generating file in internet of things, computer device, and storage medium
CN112637335B (en) * 2020-12-22 2022-02-22 新华三大数据技术有限公司 Main/standby mode service deployment method, device, equipment and storage medium
CN114428464B (en) * 2021-12-29 2023-12-15 深圳市优必选科技股份有限公司 Robot cluster control interaction method and device, terminal equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1521990A (en) * 2003-01-28 2004-08-18 华为技术有限公司 Fully dynamic distributed network service management system and service method thereof
CN101272481A (en) * 2008-04-02 2008-09-24 武汉大学 Video monitoring front end equipment access method
CN101299682A (en) * 2008-06-17 2008-11-05 腾讯科技(深圳)有限公司 Method for implementing browser collocation, apparatus as well as browser system
CN102200918A (en) * 2010-03-23 2011-09-28 中兴通讯股份有限公司 Method and device for deploying application program in server
CN106648946A (en) * 2016-10-09 2017-05-10 武汉斗鱼网络科技有限公司 Method and system for quickly shielding client fault based on instrumentation mode
CN107506218A (en) * 2017-09-14 2017-12-22 北京京东尚科信息技术有限公司 The management method and management system of a kind of configuration file

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060095626A1 (en) * 2004-10-28 2006-05-04 Abocom Systems, Inc. Multifunction adapter
US20080183905A1 (en) * 2007-01-31 2008-07-31 Hiroshi Kitada System and method of seamlessly switching between embedded and external functions on a multi-function printer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1521990A (en) * 2003-01-28 2004-08-18 华为技术有限公司 Fully dynamic distributed network service management system and service method thereof
CN101272481A (en) * 2008-04-02 2008-09-24 武汉大学 Video monitoring front end equipment access method
CN101299682A (en) * 2008-06-17 2008-11-05 腾讯科技(深圳)有限公司 Method for implementing browser collocation, apparatus as well as browser system
CN102200918A (en) * 2010-03-23 2011-09-28 中兴通讯股份有限公司 Method and device for deploying application program in server
CN106648946A (en) * 2016-10-09 2017-05-10 武汉斗鱼网络科技有限公司 Method and system for quickly shielding client fault based on instrumentation mode
CN107506218A (en) * 2017-09-14 2017-12-22 北京京东尚科信息技术有限公司 The management method and management system of a kind of configuration file

Also Published As

Publication number Publication date
CN109995805A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN109995805B (en) Intelligent robot management method, terminal device and medium
CN108733005B (en) Method and device for controlling linkage of intelligent equipment
CN103412769B (en) External card parameter configuration, equipment and system
CN107390983B (en) Service instruction execution method, client and storage medium
CN107203465B (en) System interface testing method and device
CN108605220B (en) Application processing method and device for embedded universal integrated circuit card
US20210250244A1 (en) Internet of things system topology generation
US20220214931A1 (en) System and method for exposing features of integration platform adapters as first-class actions in an orchestration template
CN108595965B (en) Method and device for preventing attribute information of interface control from being stolen
CN113626102A (en) Data processing method and device, electronic equipment and storage medium
CN116306396A (en) Chip verification method and device, equipment and medium
US20180018384A1 (en) Information processing system and classification method
CN110213073B (en) Data flow direction changing method, electronic device, computing node and storage medium
US11922297B2 (en) Edge AI accelerator service
CN111385661B (en) Method, device, terminal and storage medium for voice control of full screen playing
CN111722994A (en) Task request response method and device
EP3188071B1 (en) Application accessing control method and device
CN111552537B (en) Theme switching method and device, computer equipment and storage medium
US11757976B2 (en) Unified application management for heterogeneous application delivery
US11531674B2 (en) System and method for supporting rollback of changes made to target systems via an integration platform
CN115344541A (en) File storage method, device, equipment and storage medium
CN116149639A (en) Method and device for developing components, electronic equipment and storage medium
CN110309000B (en) Application update prompting method and terminal equipment
CN111352357B (en) Robot control method and device and terminal equipment
CN106101784B (en) A kind of repositioning method and device of smart television control Bluetooth chip

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