[go: up one dir, main page]

CN112650489B - Service control method, device, computer equipment and storage medium - Google Patents

Service control method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN112650489B
CN112650489B CN202011629005.2A CN202011629005A CN112650489B CN 112650489 B CN112650489 B CN 112650489B CN 202011629005 A CN202011629005 A CN 202011629005A CN 112650489 B CN112650489 B CN 112650489B
Authority
CN
China
Prior art keywords
level
target object
intention
information
current 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
CN202011629005.2A
Other languages
Chinese (zh)
Other versions
CN112650489A (en
Inventor
李金鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Orion Star Technology Co Ltd
Original Assignee
Beijing Orion Star Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Orion Star Technology Co Ltd filed Critical Beijing Orion Star Technology Co Ltd
Priority to CN202011629005.2A priority Critical patent/CN112650489B/en
Publication of CN112650489A publication Critical patent/CN112650489A/en
Application granted granted Critical
Publication of CN112650489B publication Critical patent/CN112650489B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/36Software reuse
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • G06F40/35Discourse or dialogue representation
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/161Detection; Localisation; Normalisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/101Access control lists [ACL]
    • 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
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • H04L67/025Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Computational Linguistics (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Multimedia (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The application provides a service control method, a service control device, computer equipment and a storage medium. The method comprises the following steps: acquiring request information aiming at a target object, and analyzing the request information to acquire intention information; determining an intention level corresponding to the intention information; and carrying out operation corresponding to the intention level on the target object according to the intention level. Therefore, the application designs different intention levels for different intention information, and further determines whether to directly send the intention information to the target object according to the intention level so that the target object can determine whether to respond to the request information according to the intention information or send a corresponding control instruction to the target object according to the intention information, thereby realizing the control of the target object directly. According to the cloud terminal and the cloud terminal control method, the system control terminal can receive and analyze the instructions sent by the cloud terminal and aiming at the target objects uniformly, so that the cloud terminal function can be enjoyed without developing support of the cloud terminal instructions for each target object, and the development cost can be greatly reduced.

Description

Service control method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of information processing technologies, and in particular, to a service control method, a service control device, a computer device, and a computer readable storage medium.
Background
In the related art, when a system control end of a robot receives a request instruction for the robot sent by a cloud server, there are two general ways of processing modes for the instruction between the system control end and the robot: in the first way, no matter what the current service state of the robot is, the system control end needs to interrupt the service currently executed by the robot and withdraw the service control right of the robot, and the system control end directly processes the request instruction for the robot; in the second mode, the system control end does not process, but directly sends the instruction to the robot to be processed by the robot.
But the problems existing at present are: in the first way, if the system control end takes over the instruction for the robot, the current service of the robot is interrupted, but the currently executing service of the robot may not be interrupted, or is allowed to be interrupted under certain conditions, which is not friendly to third party development; in the second way, if the client is handled by the robots, it means that the APK (Android application package ) of the robot is developed, if the client instruction needs to be supported, the related content needs to be redeveloped, if there are multiple APKs of the robots, the client instruction code needs to be written in each robot, which is complicated and non-reusable.
Disclosure of Invention
The present application aims to solve at least to some extent one of the technical problems described above.
To this end, a first object of the present application is to propose a service control method.
A second object of the present application is to propose another service control method.
A third object of the present application is to provide a service control device.
A fourth object of the present application is to propose another traffic control device.
A fifth object of the application is to propose a computer device.
A sixth object of the present application is to propose a computer readable storage medium.
To achieve the above object, a first aspect of the present application provides a service control method, including:
acquiring request information aiming at a target object, and analyzing the request information to acquire intention information;
determining an intention level corresponding to the intention information;
and carrying out operation corresponding to the intention level on the target object according to the intention level.
In some embodiments of the present application, the performing, on the target object according to the intention level, an operation corresponding to the intention level includes:
If the intention level is the first level, acquiring the current service state of the target object;
and determining the operation performed on the target object according to the current service state of the target object.
In some embodiments of the present application, determining an operation to be performed on the target object according to a current traffic state of the target object includes:
if the current service state is in an idle state, a first control instruction is sent to the target object according to the intention information, so that the target object responds to the request information according to the first control instruction; or alternatively
And if the current service state is busy, sending the intention information to the target object so that the target object can determine whether to interrupt the current service to respond to the request information according to the intention information.
In some embodiments of the present application, the obtaining the current service state of the target object includes:
Receiving a state identifier sent by the target object through a service interface between the target object and the target object;
And determining the current service state of the target object according to the state identifier.
In some embodiments of the present application, the performing, on the target object according to the intention level, an operation corresponding to the intention level includes:
And if the intention level is a second level, sending a second control instruction to the target object according to the intention information so that the target object responds to the request information according to the second control instruction.
In some embodiments of the present application, the performing, on the target object according to the intention level, an operation corresponding to the intention level includes:
And if the intention level is a third level, transmitting the intention information to the target object so that the target object determines whether to respond to the service request information according to the intention information.
To achieve the above object, a second aspect of the present application provides another service control method, including:
Acquiring information to be processed sent by a system control terminal, wherein the information to be processed is determined according to an intention level corresponding to intention information in request information sent for a target object;
and controlling the target object to execute corresponding operation according to the information to be processed.
In some embodiments, the obtaining information to be processed sent by the system control end includes:
receiving a control instruction sent by the system control end;
And controlling the target object to execute corresponding operations according to the information to be processed, wherein the operations comprise:
And controlling the target object to execute corresponding operation according to the control instruction so as to respond to the request information.
In some embodiments, the receiving a control instruction sent by the system control end includes:
Receiving a first control instruction, wherein the first control instruction is sent by the system control terminal when the current service state of the target object is an idle state and the intention level is a first level; or alternatively
And receiving a second control instruction, wherein the second control instruction is sent by the system control terminal under the condition that the intention level is a second level.
In some embodiments, the obtaining information to be processed sent by the system control end includes:
Receiving the intention information sent by the system control terminal;
And controlling the target object to execute corresponding operations according to the information to be processed, wherein the operations comprise:
if the current service state of the target object is in an idle state, controlling the target object to respond to the request information according to the intention information;
and if the current service state of the target object is busy, determining whether to interrupt the current service to respond to the request information according to the current service level of the target object.
In some embodiments, the determining whether to interrupt the current service in response to the request information according to the current service level of the target object includes:
acquiring current service information of the target object;
Determining a service level corresponding to the current service information;
If the service level is the first level, controlling the target object to continue to execute the current service; or alternatively
And if the service level is not the first level, controlling the target object to interrupt the execution of the current service, and controlling the target object to respond to the request information according to the intention information.
In some embodiments, the method further comprises:
And acquiring the current service state of the target object, and sending the current service state to a system control end of the target object.
In some embodiments, the obtaining the current business state of the target object includes:
acquiring a face image of a user currently served by the target object, and comparing the face image with a preset white list;
If the face image belongs to the white list, determining that the current business state of the target object is in a busy state, and sending a first state identification for identifying that the target object is in the busy state to a system control end of the target object; or alternatively
And if the face image does not belong to the white list, determining that the current service state of the target object is in an idle state, and sending a second state identifier for identifying that the target object is in the idle state to a system control end of the target object.
To achieve the above object, a third aspect of the present application provides a service control device, including:
The acquisition module is used for acquiring request information aiming at a target object and analyzing the request information to acquire intention information;
a determining module, configured to determine an intention level corresponding to the intention information;
and the control module is used for carrying out operation corresponding to the intention level on the target object according to the intention level.
In some embodiments, the control module is specifically configured to:
If the intention level is the first level, acquiring the current service state of the target object;
and determining the operation performed on the target object according to the current service state of the target object.
In some embodiments, the control module is specifically configured to:
if the current service state is in an idle state, a first control instruction is sent to the target object according to the intention information, so that the target object responds to the request information according to the first control instruction; or alternatively
And if the current service state is busy, sending the intention information to the target object so that the target object can determine whether to interrupt the current service to respond to the request information according to the intention information.
In some embodiments, the control module is specifically configured to:
Receiving a state identifier sent by the target object through a service interface between the target object and the target object;
And determining the current service state of the target object according to the state identifier.
In some embodiments the control module is specifically configured to:
And if the intention level is a second level, sending a second control instruction to the target object according to the intention information so that the target object responds to the request information according to the second control instruction.
In some embodiments, the control module is specifically configured to:
And if the intention level is a third level, transmitting the intention information to the target object so that the target object determines whether to respond to the service request information according to the intention information.
To achieve the above object, a fourth aspect of the present application provides another service control device, including:
The first acquisition unit is used for acquiring information to be processed sent by the system control terminal, wherein the information to be processed is determined according to an intention level corresponding to intention information in request information sent for a target object;
and the control unit is used for controlling the target object to execute corresponding operation according to the information to be processed.
In some embodiments, the first obtaining unit is specifically configured to:
receiving a control instruction sent by the system control end;
The control unit is specifically configured to:
And controlling the target object to execute corresponding operation according to the control instruction so as to respond to the request information.
In some embodiments, the first obtaining unit is specifically configured to:
Receiving a first control instruction, wherein the first control instruction is sent by the system control terminal when the current service state of the target object is an idle state and the intention level is a first level; or alternatively
And receiving a second control instruction, wherein the second control instruction is sent by the system control terminal under the condition that the intention level is a second level.
In some embodiments, the first obtaining unit is specifically configured to:
Receiving the intention information sent by the system control terminal;
Wherein, the control unit is specifically used for:
If the current service state of the target object is in an idle state, controlling the target object to respond to the request information according to the intention information; or alternatively
And if the current service state of the target object is busy, determining whether to interrupt the current service to respond to the request information according to the current service level of the target object.
In some embodiments, the control unit is specifically configured to:
acquiring current service information of the target object;
Determining a service level corresponding to the current service information;
If the service level is the first level, controlling the target object to continue to execute the current service; or alternatively
And if the service level is not the first level, controlling the target object to interrupt the execution of the current service, and controlling the target object to respond to the request information according to the intention information.
In some embodiments, the apparatus further comprises:
the second acquisition unit is used for acquiring the current service state of the target object;
And the sending unit is used for sending the current service state to the system control end of the target object.
In some embodiments, the second obtaining unit is specifically configured to:
acquiring a face image of a user currently served by the target object, and comparing the face image with a preset white list;
If the face image belongs to the white list, determining that the current business state of the target object is in a busy state, and sending a first state identification for identifying that the target object is in the busy state to a system control end of the target object; or alternatively
And if the face image does not belong to the white list, determining that the current service state of the target object is in an idle state, and sending a second state identifier for identifying that the target object is in the idle state to a system control end of the target object.
To achieve the above object, a fifth aspect of the present application proposes a computer apparatus comprising:
the system comprises a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the processor realizes the service control method according to the embodiment of the first aspect of the application or realizes the service control method according to the embodiment of the second aspect of the application when executing the program.
To achieve the above object, a sixth aspect of the present application provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the service control method according to the embodiment of the first aspect of the present application, or implements the service control method according to the embodiment of the second aspect of the present application.
According to the technical scheme of the embodiment of the application, the request information aiming at the target object is acquired, the request information is analyzed to acquire the intention information, the intention level corresponding to the intention information is determined, and the operation corresponding to the intention level is carried out on the target object according to the intention level. Therefore, the application designs different intention levels for different intention information, and further determines whether to directly send the intention information to the target object according to the intention level so as to enable the target object to determine whether to respond to the request information according to the intention information or send corresponding control instructions to the target object according to the intention information, so that the control of the target object is directly realized, namely, the target object can customize different processing strategies for the query type intention information according to different scene requirements, and therefore, the application can give the target object enough degrees of freedom. In addition, the system control terminal can uniformly receive and analyze the instructions sent by the cloud terminal aiming at the target object, so that the target object can enjoy the function of the cloud terminal without developing the support of the cloud terminal instructions, namely, the cloud terminal function can be enjoyed without developing the support of the cloud terminal instructions for each target object, and the development cost can be greatly reduced. In addition, the system control end can take over the whole right under the condition that the target object does not want to be processed, and the reusability of codes can be ensured for the use scene of the multi-target object application, namely, cloud instruction support can be realized only by the set of codes.
Additional aspects and advantages of the application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the application.
Drawings
The foregoing and/or additional aspects and advantages of the application will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
Fig. 1 is a flowchart of a traffic control method according to one embodiment of the present application.
Fig. 2 is a flow chart of a traffic control method according to one embodiment of the present application.
Fig. 3 is a flow chart of a traffic control method according to another embodiment of the present application.
Fig. 4 is a flowchart of a traffic control method according to another embodiment of the present application.
Fig. 5 is a flowchart of a robot control method according to an embodiment of the present application.
Fig. 6 is a block diagram of a service control apparatus according to an embodiment of the present application.
Fig. 7 is a block diagram of a service control apparatus according to another embodiment of the present application.
Fig. 8 is a schematic structural view of a computer device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present application and should not be construed as limiting the application.
A service control method, a service control apparatus, a computer device, and a computer-readable storage medium according to embodiments of the present application are described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a traffic control method according to one embodiment of the present application. It should be noted that, the service control method in the embodiment of the present application may be applied to a system control end. That is, the service control method according to the embodiment of the present application may be described from the system control end side.
As shown in fig. 1, the service control method may include:
step 101, acquiring request information for a target object, and analyzing the request information to acquire intention information.
As an example, the target object may be understood as a robot. Wherein the operating system of the robot may be ROS (Robot Operating System ).
In some embodiments of the present application, a system control terminal may be understood as a system control terminal of a robot, for example, at least one robot is connected to the system control terminal, and the control of the robot connected to the system control terminal may be achieved by the system control terminal. In addition, the robot connected with the system control end still has own business function control. For example, assuming that the sweeping robot, the medical robot and the entertainment robot are respectively connected to a system control end, when the system control end receives request information for a certain robot, the request information can be analyzed to obtain intention information, so that an operation corresponding to an intention level of the certain robot can be performed on the certain robot based on the intention level corresponding to the intention information.
It should be noted that, in some embodiments of the present application, the system control end may obtain the request information for the target object from the cloud server. For example, the cloud server directly sends the request information for the target object to the system control end, so that the system control end obtains the request information for the target object. For example, assuming that the cloud server needs to perform remote update maintenance on an operating system of a certain robot periodically through the system control end, the cloud server sends request information (such as a remote update maintenance request) of the robot to the system control end, and when the system control end obtains the request information for the robot, the request information can be analyzed to obtain corresponding intention information, for example, the system control end can analyze the intention that the cloud server needs to perform remote update maintenance on the robot.
In other embodiments of the present application, the request information for the target object may be a voice command of a user (such as an administrator, an operator, etc.) collected by the system control end. For example, the system control end is provided with a voice interaction interface. The system control end can receive the request information which is input by the user and aims at the target object through the voice interaction interface, and the request information can be a voice command, so that the system control end can analyze and identify the voice command based on a voice identification technology to obtain intention information corresponding to the voice command.
In the embodiment of the invention, the system control end can be a computer, a mobile terminal (such as a tablet personal computer, a mobile phone and the like) and the like.
Step 102, determining an intention level corresponding to the intention information.
It should be noted that, due to the different intention information, different intention information also corresponds to different levels of the graph, where the level of intention corresponding to the intention information may be understood as the level of response of the system control end to the intention information. For example, the service response level of some intention information is relatively high, i.e. the system control end needs to respond to the intention information in time, but the robot is required to immediately execute the task corresponding to the intention information without paying attention to the service currently executed by the robot, or the service response level of some intention information is relatively low, i.e. the system control end is not required to respond, and the system control end can directly give the robot to process whether the intention information needs to be responded or not.
In some embodiments of the application, the intent levels may include, but are not limited to, a first level, a second level, and a third level. Wherein the second level is higher than the first level and the third level, the first level being intermediate the third level and the second level. For example, the second level may be a system level, the third level may be a normal level, and the first level may be intermediate between the system level and the normal level.
As an example, taking a target object as an example of a robot, assuming that the intention information is "please bring me to a meeting room", it may be determined that the intention level corresponding to the intention information is a third level, that is, the intention information may be a general intention; assuming that the intention information is "remote locked", determining that the intention level corresponding to the intention information is a second level, that is, the intention information may be a system level; assuming that the intention information is a "navigation instruction," it may be determined that the intention level corresponding to the intention information is a first level, i.e., the intention information may be an inquired intention, which is intermediate between a general intention and a system-level intention.
And step 103, performing operation corresponding to the intention level on the target object according to the intention level.
It should be noted that, at different intention levels, the system control end performs different operations on the target object. Accordingly, after determining the intention level corresponding to the intention information, an operation corresponding to the intention level may be performed on the target object according to the intention level. For example, when determining that the intention level corresponding to the intention information is the first level, determining whether to directly transmit the intention information to the target object according to the current service state of the target object or to transmit a corresponding control instruction to the target object according to the intention information; for another example, when the intention level is the second level, a corresponding control instruction can be sent to the target object according to the intention information so as to directly control the target object; for another example, when the intention level is the third level, intention information may be directly transmitted to the target object.
As an example, the second level may be a system level, the third level may be a general level, and the first level may be intermediate between the system level and the general level, i.e., the intention information is an inquired intention. When the intention level of the intention information is a system level, the intention level corresponds to the system level intention, and the system level intention is a task which does not need to pay attention to the service currently executed by the target object and needs to be executed immediately, and the task is often urgent or important, so that a corresponding control instruction can be sent to the target object according to the intention information, and the control of the system level of the target object can be directly realized. For another example, when the intention level of the intention information is a normal level, the intention information may be directly transmitted to the target object, so that the target object determines whether to respond to the request information according to the intention information. For another example, when the intention information is an interrogated intention, the function of the interrogated intention is implemented at the system control end, but the service state of the upper layer needs to be paid attention to at the same time, so that it can be determined whether to directly send the intention information to the target object or send a corresponding control instruction to the target object according to the intention information according to the current service state of the target object.
According to the business control method provided by the embodiment of the application, the request information aiming at the target object is acquired, the request information is analyzed to acquire the intention information, the intention level corresponding to the intention information is determined, and the operation corresponding to the intention level is carried out on the target object according to the intention level. Therefore, the application designs different intention levels for different intention information, and further determines whether to directly send the intention information to the target object according to the intention level so as to enable the target object to determine whether to respond to the request information according to the intention information or send corresponding control instructions to the target object according to the intention information, so that the control of the target object is directly realized, namely, different processing strategies are customized for the query type intention information according to different scene requirements applied by the target object, and therefore, the application can provide enough degrees of freedom for the target object. In addition, the system control terminal can uniformly receive and analyze the instructions sent by the cloud terminal aiming at the target object, so that a developer of the target object can enjoy the function of the cloud terminal without developing the support of the cloud terminal instructions, that is, the developer can enjoy the function of the cloud terminal without developing the support of the cloud terminal instructions for each target object, and the development cost can be greatly reduced.
It should be noted that, due to different intention information, different intention information also corresponds to different graph levels, and further the system control terminal also performs different operations on the target object according to different intention levels. For example, when the intention level is the first level, it is necessary to decide whether to directly send the intention information to the target object according to the current service state of the target object or send a corresponding control instruction to the target object according to the intention information. Specifically, as shown in fig. 2, the service control method may include:
Step 201, acquiring request information for a target object, and analyzing the request information to acquire intention information.
Step 202, determining an intention level corresponding to the intention information.
In step 203, if the intention level is the first level, the current business state of the target object is obtained.
In the embodiment of the application, when the intention level is the first level, the intention information corresponding to the intention level can be understood to be the query intention. It should be noted that, the function of the query type intention is implemented in the system layer of the target object, but the service state of the upper layer needs to be paid attention to at the same time, so when determining that the intention level corresponding to the intention information is the first level (i.e. the intention information is the query type intention), the system control end needs to acquire the current service state of the target object.
In some embodiments, the target object may periodically or in real time report its current service state to the system control end, so that the system control end may obtain the current service state of the target object. The system control end can receive the state identification sent by the target object through the service interface between the system control end and the target object, and determine the current service state of the target object according to the state identification.
As an example of one possible implementation manner, the system control end may receive, through a service interface with the target object, a status identifier sent by the target object; and analyzing the state identifier, if the state identifier is a first state identifier, determining that the current service state of the target object is in an idle state, and if the state identifier is a second state identifier, determining that the current service state of the target object is in a busy state. For example, the target object may update its current service status to the system control end in a status identification manner periodically or in real time. After receiving the status identifier sent by the target object through the service interface between the system control terminal and the target object, the status identifier can be analyzed to determine the specific content of the status identifier, if the status identifier is a first status identifier, the current service status of the target object is determined to be in an idle state, and if the status identifier is a second status identifier, the current service status of the target object is determined to be in a busy state. For example, "0" and "1" are respectively indicated as "idle state" and "busy state", if the system control receives the status identifier "0", the current service status of the target object may be determined to be idle, and if the system control receives the status identifier "1", the current service status of the target object may be determined to be busy.
Step 204, determining the operation performed on the target object according to the current service state of the target object.
That is, when determining that the intention information is an interrogated intention, the system control terminal may decide whether to directly transmit the intention information to the target object according to the current traffic state of the target object or transmit a corresponding control instruction to the target object according to the intention information. In some embodiments, if the current traffic state is an idle state, a first control instruction is sent to the target object according to the intention information, so that the target object responds to the request information according to the first control instruction; or if the current business state is busy state, sending intention information to the target object so that the target object can determine whether to interrupt the current business response request information according to the intention information.
For example, taking a target object as a robot as an example, when it is determined that intention information corresponding to request information is an interrogation intention and a current service state of the robot is in an idle state, the system control end may send a first control instruction to the robot according to the intention information, so that the robot directly responds to the request information according to the first control instruction. For example, assuming that the cloud server wants to issue a navigation instruction (such as a navigation instruction for navigating from a site a to a site B) to a robot having a navigation function through the system control end, the system control end may determine that the intention information is a "navigation instruction" and the corresponding intention level is a first level, at this time, the system control end may determine, according to the current service state of the robot, whether to directly send the intention information to the robot or send a corresponding navigation control instruction to the robot according to the intention information so as to enable the robot to perform a navigation function based on the navigation control instruction, for example, if the system control end determines that the current service state of the robot is an idle state, the system control end may send a navigation control instruction to the robot according to the intention information so as to enable the robot to perform a navigation operation according to the navigation control instruction in response to a navigation request sent by the cloud server. For another example, if the system control end judges that the current service state of the robot is busy, the intention information is sent to the robot, so that the robot determines whether to interrupt the current service response request information according to the intention information, for example, if the current service state of the robot is idle, the robot controls the robot to execute navigation operation according to the intention information; if the current service state of the robot is busy, the robot determines whether to interrupt the current service according to the current service level to respond to the navigation request, for example, if the current service level is a first level (the first level can be understood as that the current service level is higher, the current service needs to be executed in time and cannot be interrupted), the robot continues to execute the current service, if the current service state of the robot is not the first level, the robot interrupts executing the current service, and controls the robot to execute the navigation operation according to the intention information. As an example, when the current service level of the robot is the first level, the intention information may be temporarily cached while the current service is continuously executed, and when the current service is executed and the current service state of the robot is not the first level, the robot is controlled to execute the navigation operation according to the intention information.
That is, the system control end can judge the current service state of the target object, if the current service state of the target object is determined to be in an idle state, the system control end directly realizes corresponding control on the target object according to the intention information, and does not need to send the request information to the target object to inquire whether the target object can respond to the request information. If the current business state of the target object is determined to be busy, the system control end needs to send the intention information to the target object, and the target object determines whether to interrupt the current business according to the intention information to respond to the request information.
To further improve the usability of the present application, in some embodiments of the present application, after determining the intention level corresponding to the intention information (i.e., step 202) as shown in fig. 3, on the basis of the description of fig. 2, the service control method further includes:
Step 301, if the intention level is the second level, a second control instruction is sent to the target object according to the intention information, so that the target object responds to the request information according to the second control instruction.
That is, when the intention level corresponding to the intention information is a second level, the second level may be understood as that the intention information is a system level intention, which means that a task corresponding to the system level intention may be immediately executed without focusing on a service currently being executed by the target object, and such a task is often relatively urgent or important. Such as a "remote lock" instruction, the purpose of the remote lock is to interrupt the execution of the current service of the target object, at which time a remote lock control instruction may be sent to the target object. The target object may lock the target object upon receiving the remote lock control instruction.
In some embodiments, after determining the intention level corresponding to the intention information (i.e., step 202), as shown in fig. 3, on the basis of the description of fig. 2, the service control method may further include:
in step 302, if the intention level is the third level, the intention information is sent to the target object, so that the target object determines whether to respond to the request information according to the intention information.
Alternatively, when the intention level corresponding to the intention information is a third level, the third level may be understood as a general intention, and the general intention may be directly given to the target object for processing, that is, the system control end may send the intention information to the target object, and the target object determines whether to respond to the request information. For example, a person says "bring me to a meeting room" to a robot, and after analyzing the intention information corresponding to the request information, the system control terminal may directly send the intention information to the robot. The robot can determine whether to respond to the request information according to the intention information, i.e. the robot can decide the next action according to the current service state of the robot.
According to the business control method provided by the embodiment of the application, when request information aiming at a target object is obtained, the request information is analyzed to obtain intention information, and an intention level corresponding to the intention information is determined, if the intention level is a first level, the current business state of the target object is obtained, if the current business state is an idle state, a first control instruction is sent to the target object according to the intention information, so that the target object responds to the request information according to the first control instruction, and if the current business state is a busy state, the intention information is sent to the target object, so that the target object determines whether to interrupt the current business response request information according to the intention information; if the intention level is the second level, a second control instruction is sent to the target object according to the intention information, so that the target object responds to the request information according to the second control instruction; if the intention level is the third level, the intention information is transmitted to the target object, so that the target object determines whether to respond to the request information according to the intention information. Therefore, the application designs different intention levels for different intention information, and further determines whether to directly send the intention information to the target object according to the intention level so as to enable the target object to determine whether to respond to the request information according to the intention information or send corresponding control instructions to the target object according to the intention information, so that the control of the target object is directly realized, namely, the target object can customize different processing strategies for the query type intention information according to different scene requirements, and therefore, the application can provide enough degrees of freedom for the target object. In addition, the system control terminal can uniformly receive and analyze the instructions sent by the cloud terminal aiming at the target object, so that the target object can enjoy the function of the cloud terminal without developing the support of the cloud terminal instructions, namely, the cloud terminal function can be enjoyed without developing the support of the cloud terminal instructions for each target object, and the development cost can be greatly reduced. In addition, the system control end can take over the whole right under the condition that the target object does not want to be processed, and the reusability of codes can be ensured for the use scene of the multi-target object application, namely, cloud instruction support can be realized only by the set of codes.
Fig. 4 is a flowchart of a traffic control method according to still another embodiment of the present application. It should be noted that, the service control method according to the embodiment of the present application may be applied to a target object (e.g., a robot). That is, the service control method according to the embodiment of the present application may be described from the target object side.
As shown in fig. 4, the service control method may include:
step 401, obtaining information to be processed sent by a system control end, wherein the information to be processed is determined according to an intention level corresponding to intention information in request information sent for a target object.
In the embodiment of the application, when the system control terminal obtains the request information aiming at the target object, the system control terminal can analyze the request information to obtain the intention information. Due to the different intention information, the different intention information also corresponds to the different picture levels. Therefore, when the system control terminal obtains the intention information, the intention level corresponding to the intention information can be determined. In some embodiments of the application, the intent levels may include, but are not limited to, a first level, a second level, and a third level. Wherein the second level is higher than the first level and the third level, the first level being intermediate the third level and the second level. For example, the second level may be a system level, the third level may be a normal level, and the first level may be intermediate between the system level and the normal level. As an example, taking a target object as an example of a robot, assuming that the intention information is "please bring me to a meeting room", it may be determined that the intention level corresponding to the intention information is a third level, that is, the intention information may be a general intention; assuming that the intention information is "remote locked", determining that the intention level corresponding to the intention information is a second level, that is, the intention information may be a system level; assuming that the intention information is a "navigation instruction," it may be determined that the intention level corresponding to the intention information is a first level, i.e., the intention information may be an inquired intention, which is intermediate between a general intention and a system-level intention.
When determining the intention level corresponding to the intention information, the system control terminal can perform different operations on the target object according to different intention levels. For example, if the intent level is a first level, the current business state of the target object is obtained. If the current service state is in an idle state, the system control end sends a first control instruction to the target object according to the intention information so that the target object responds to the request information according to the first control instruction; or if the current business state is busy state, the system control end sends the intention information to the target object so that the target object determines whether to interrupt the current business response request information according to the intention information. For another example, if the intention level is the second level, the system control end sends a second control instruction to the target object according to the intention information, so that the target object responds to the request information according to the second control instruction. For another example, if the intention level is the third level, the system control end sends the intention information to the target object, so that the target object determines whether to respond to the request information according to the intention information. Therefore, the system control end can decide whether to send intention information or corresponding control instructions to the target object according to the intention level.
And step 402, controlling the target object to execute corresponding operation according to the information to be processed.
That is, when the target object obtains the information to be processed sent by the system control end, the target object can be controlled to execute corresponding operation according to the information to be processed. The information to be processed sent by the system control end, which is obtained by the target object, may be intention information which is resolved by the system control end from the request information, or may be a corresponding control instruction which is generated by the system control end according to the intention information. Thus, the target object can control the target object to execute corresponding operations according to the information to be processed. Examples of the target object performing different operations on the target object for different information to be processed will be given below:
As an example of a possible implementation manner, when receiving a control instruction sent by a system control end, a target object may control the target object to perform a corresponding operation according to the control instruction, so as to respond to the request information.
It should be noted that, the control instruction sent by the system control end is related to the resolved intention level of the intention information and the current service state of the target object, for example, the control instruction may include a first control instruction, where the first control instruction is sent by the system control end when the current service state of the target object is in an idle state and the intention level is in a first level. That is, when the intention level of the intention information is determined to be the first level and the current service state of the target object is idle, the system control end may send a first control instruction to the target object according to the intention information, so that the target object directly responds to the request information according to the first control instruction. For example, assuming that the cloud server wants to issue a navigation instruction (such as a navigation instruction for navigating from a site a to a site B) to a robot having a navigation function through the system control end, the system control end may determine that the intention information is a "navigation instruction" and the corresponding intention level is a first level, at this time, the system control end may determine, according to the current service state of the robot, whether to directly send the intention information to the robot or send a corresponding navigation control instruction to the robot according to the intention information so as to enable the robot to perform a navigation function based on the navigation control instruction, for example, if the system control end determines that the current service state of the robot is an idle state, the system control end may send a navigation control instruction to the robot according to the intention information so as to enable the robot to perform a navigation operation according to the navigation control instruction in response to a navigation request sent by the cloud server. For another example, if the system control end judges that the current service state of the robot is busy, the intention information is sent to the robot, so that the robot determines whether to interrupt the current service response request information according to the intention information, for example, if the current service state of the robot is idle, the robot controls the robot to execute navigation operation according to the intention information; if the current service state of the robot is busy, the robot determines whether to interrupt the current service according to the current service level to respond to the navigation request, for example, if the current service level is a first level (the first level can be understood as that the current service level is higher, the current service needs to be executed in time and cannot be interrupted), the robot continues to execute the current service, if the current service state of the robot is not the first level, the robot interrupts executing the current service, and controls the robot to execute the navigation operation according to the intention information. As an example, when the current service level of the robot is the first level, the intention information may be temporarily cached while the current service is continuously executed, and when the current service is executed and the current service state of the robot is not the first level, the robot is controlled to execute the navigation operation according to the intention information.
That is, the system control end can judge the current service state of the target object, if the current service state of the target object is determined to be in an idle state, the system control end directly realizes corresponding control on the target object according to the intention information, and does not need to send the request information to the target object to inquire whether the target object can respond to the request information. If the current business state of the target object is determined to be busy, the system control end needs to send the intention information to the target object, and the target object determines whether to interrupt the current business according to the intention information to respond to the request information.
As another example, the control instruction may include a second control instruction, where the second control instruction is sent by the system control terminal if the intended level is a second level. That is, when the intention level corresponding to the intention information is a second level, the second level may be understood as that the intention information is a system level intention, which means that a task corresponding to the system level intention may be immediately executed without focusing on a service currently being executed by the target object, and such a task is often relatively urgent or important. Such as a "remote lock" instruction, the purpose of the remote lock is to interrupt the execution of the current service of the target object, at which time a remote lock control instruction may be sent to the target object. The target object may lock the target object upon receiving the remote lock control instruction.
As another possible implementation manner, when the intention information sent by the system control end is received, the specific implementation process of executing the corresponding operation by the control target object according to the information to be processed may be as follows: if the current service state of the target object is in an idle state, controlling the target object to respond to the request information according to the intention information; if the current business state of the target object is busy state, determining whether to interrupt the current business response request information according to the current business level of the target object.
In some embodiments of the present application, if the current traffic state of the target object is busy, the specific implementation process of determining whether to interrupt the current traffic response request information according to the current traffic level of the target object may be as follows: acquiring current service information of a target object; determining a service level corresponding to the current service information; if the service level is the first level, the target object is controlled to continue to execute the current service; or if the service level is not the first level, the control target object interrupts executing the current service and controls the target object to respond to the request information according to the intention information.
For example, after receiving the intention information sent by the system control end, if the current service state of the target object is in an idle state, the target object can directly respond to the request information; if the current business state of the target object is busy, the target object can decide whether to interrupt the execution of the current business to respond to the request information corresponding to the intention information or reject to respond to the request information corresponding to the intention information or buffer the request information corresponding to the intention information first according to the business busy level of the target object, and after the execution of the current business is completed, the processing permission is given to the target object side by itself to decide.
In some embodiments of the present application, the target object may further obtain a current service state of the target object, and send the current service state to the system control end, so that the system control end obtains the current service state of the target object, so that the system control end may determine whether to directly send the intent information to the target object according to the current service state of the target object, or send a corresponding control instruction to the target object according to the intent information.
As an example, the specific implementation process of obtaining the current service state of the target object may be as follows: acquiring a facial image of a user currently served by a target object, and comparing the facial image with a preset white list; if the face image belongs to the white list, determining that the current business state of the target object is in a busy state, and sending a first state identification for identifying that the target object is in the busy state to a system control end of the target object; or if the face image does not belong to the white list, determining that the current service state of the target object is in an idle state, and sending a second state identifier for identifying that the target object is in the idle state to a system control end of the target object.
That is, the level of the user currently interacting with the target object may be classified, for example, the level of the user interacting with the target object may be set to a higher level, if the target object currently interacts with the user of the higher level (i.e., the user on the white list), the current service state of the target object may be updated to a busy state, and a first state identifier may be sent to the system control end of the target object, i.e., the system control end may be notified that the current service state of the target object is in the busy state; the level of the interactive user not in the white list can be set to be lower, if the target object is currently interacted with the user with the lower level (i.e. the user not in the white list), the current service state of the target object can be updated to be in an idle state, and a second state identification is sent to the system control end of the target object, namely the current service state of the target object is informed to the system control end of the idle state. Therefore, the current service state of the target object is determined based on the authority level of the user by identifying the authority level of the user interacting with the target object, a determination mode of the current service state of the target object is provided, and the target object can be ensured to preferentially serve the user with higher level even if the system control end sends intention information when serving the user with higher level, so that the service of the target object to the user with higher level is ensured not to be interrupted.
According to the business control method provided by the embodiment of the application, the information to be processed sent by the system control terminal can be obtained, wherein the information to be processed is determined according to the intention level corresponding to the intention information in the request information sent for the target object; and controlling the target object to execute corresponding operation according to the information to be processed. Therefore, the application designs different intention levels for different intention information, and further determines whether to directly send the intention information to the target object according to the intention level so as to enable the target object to determine whether to respond to the request information according to the intention information or send corresponding control instructions to the target object according to the intention information, so that the control of the target object is directly realized, namely, the target object can customize different processing strategies for the query type intention information according to different scene requirements, and therefore, the application can give the target object enough degrees of freedom. In addition, the system control terminal can uniformly receive and analyze the instructions sent by the cloud terminal aiming at the target object, so that the target object can enjoy the function of the cloud terminal without developing the support of the cloud terminal instructions, namely, the cloud terminal function can be enjoyed without developing the support of the cloud terminal instructions for each target object, and the development cost can be greatly reduced.
The present application will be described with reference to fig. 5 for the convenience of those skilled in the art to understand the present application.
For example, taking a target object as a robot, as shown in fig. 5, the system control end may receive request information for the robot, where the request information may be a cloud instruction or a user voice instruction interacted with the system control end. After receiving the request information, the system control end can analyze the request information to obtain the corresponding intention information. Among them, in the present application, intention information can be classified into three categories: ordinary intent, system level intent, and query intent. The general intention can be directly given to the robot for processing, for example, a person says 'bring me to a meeting room' for the robot, the intention processor is directly thrown to the robot, and the robot can determine the next action according to the current service state. The system-level intention means that tasks corresponding to the system-level intention can be immediately executed without paying attention to the service currently being executed by the robot, and such tasks are often urgent or important. Such as a "remote lock" instruction, the purpose of which is to interrupt the execution of the current business of the robot. The query intention is intermediate to the normal intention and the system-level intention, and the function of the intention is implemented at the system control end, but the service state of the upper layer needs to be focused at the same time.
In the embodiment of the application, the robot can update the service state of the robot to the system control end in real time. When an inquiry type intention request arrives, the system control end judges that if the current service state of the robot is in an idle state, the current service state is directly given to the system control end to execute the intention, namely the system control end sends a corresponding first control instruction to the robot according to the inquiry type intention so that the robot responds to the intention instruction according to the first control instruction; if the current traffic status of the robot is busy, the intention information may be given to the robot, which decides whether to interrupt the current traffic in response to the instruction. For example, the robot may determine a current service level, if the current service level is a first level, the robot continues to perform the current service, if the current service level is not the first level, the robot interrupts the execution of the current service, and controls the robot to respond to the instruction according to the intention information. For example, assuming that the cloud server issues a navigation instruction (e.g., a navigation instruction for navigating from a site a to a site B) to a robot having a navigation function through the system control end, the system control end may determine that the intention information is a "navigation instruction" and the corresponding intention level is a first level, at this time, the system control end may determine whether to directly send the intention information to the robot according to the current service state of the robot or send a corresponding navigation control instruction to the robot according to the intention information so that the robot performs a navigation function based on the navigation control instruction, for example, if the system control end determines that the current service state of the robot is an idle state, the system control end may send a navigation control instruction to the robot according to the intention information so that the robot performs a navigation operation according to the navigation control instruction to respond to a navigation request sent by the cloud server. For another example, if the system control end judges that the current service state of the robot is busy, the intention information is sent to the robot, so that the robot determines whether to interrupt the current service response request information according to the intention information, for example, if the current service state of the robot is idle, the robot controls the robot to execute navigation operation according to the intention information; if the current service state of the robot is busy, the robot determines whether to interrupt the current service according to the current service level to respond to the navigation request, for example, if the current service level is a first level (the first level can be understood as that the current service level is higher, the current service needs to be executed in time and cannot be interrupted), the robot continues to execute the current service, if the current service state of the robot is not the first level, the robot interrupts executing the current service, and controls the robot to execute the navigation operation according to the intention information.
Fig. 6 is a block diagram of a service control apparatus according to an embodiment of the present application. It should be noted that, the service control device may be understood as a system control end. As shown in fig. 6, the service control apparatus 600 may include: an acquisition module 601, a determination module 602, and a control module 603.
Specifically, the acquiring module 601 is configured to acquire request information for a target object, and analyze the request information to acquire intention information.
The determination module 602 is configured to determine an intent level corresponding to the intent information.
The control module 603 is used for performing operation corresponding to the intention level on the target object according to the intention level
In some embodiments, the specific implementation procedure of the control module 603 for performing the operation corresponding to the intention level on the target object according to the intention level may be as follows: if the intention level is the first level, acquiring the current service state of the target object; and determining the operation performed on the target object according to the current service state of the target object.
In this embodiment, the specific implementation process of determining the operation performed on the target object by the control module 603 according to the current service state of the target object may be as follows: if the current service state is in an idle state, a first control instruction is sent to the target object according to the intention information, so that the target object responds to the request information according to the first control instruction; or if the current business state is busy state, sending intention information to the target object so that the target object can determine whether to interrupt the current business response request information according to the intention information.
In this embodiment, the specific implementation process of the control module 603 for obtaining the current service state of the target object may be as follows: receiving a state identifier sent by a target object through a service interface between the target object and the target object; and determining the current service state of the target object according to the state identification.
In some embodiments, the specific implementation procedure of the control module 603 for performing the operation corresponding to the intention level on the target object according to the intention level may be as follows: and if the intention level is the second level, sending a second control instruction to the target object according to the intention information so that the target object responds to the request information according to the second control instruction.
In some embodiments, the specific implementation procedure of the control module 603 for performing the operation corresponding to the intention level on the target object according to the intention level may be as follows: if the intention level is the third level, the intention information is transmitted to the target object, so that the target object determines whether to respond to the service request information according to the intention information.
The specific manner in which the respective modules perform the operations in the traffic control apparatus in the above-described embodiments has been described in detail in the embodiments related to the method, and will not be described in detail herein.
According to the business control device provided by the embodiment of the application, the request information aiming at the target object is acquired, the request information is analyzed to acquire the intention information, the intention level corresponding to the intention information is determined, and the operation corresponding to the intention level is carried out on the target object according to the intention level. Therefore, the application designs different intention levels for different intention information, and further determines whether to directly send the intention information to the target object according to the intention level so as to enable the target object to determine whether to respond to the request information according to the intention information or send corresponding control instructions to the target object according to the intention information, so that the control of the target object is directly realized, namely, the target object can customize different processing strategies for the query type intention information according to different scene requirements, and therefore, the application can give the target object enough degrees of freedom. In addition, the system control terminal can uniformly receive and analyze the instructions sent by the cloud terminal aiming at the target object, so that the target object can enjoy the function of the cloud terminal without developing the support of the cloud terminal instructions, namely, the cloud terminal function can be enjoyed without developing the support of the cloud terminal instructions for each target object, and the development cost can be greatly reduced.
Fig. 7 is a block diagram of a service control apparatus according to another embodiment of the present application. It should be noted that, the service control device in the embodiment of the present application may be a robot. As shown in fig. 7, the service control apparatus 700 may include: a first acquisition unit 701 and a control unit 702.
Specifically, the first obtaining unit 701 is configured to obtain information to be processed sent by the system control end, where the information to be processed is determined according to an intention level corresponding to intention information in request information sent for the target object.
The control unit 702 is configured to control the target object to perform a corresponding operation according to the information to be processed.
In some embodiments, the specific implementation process of the first obtaining unit 701 obtaining the information to be processed sent by the system control end may be as follows: and receiving a control instruction sent by a system control terminal. In this embodiment, the control unit 702 controls the target object to perform a corresponding operation according to the control instruction, in response to the request information.
In the embodiment of the present application, the first obtaining unit 701 receives a first control instruction, where the first control instruction is sent by the system control terminal when the current service state of the target object is in an idle state and the intention level is a first level; or receiving a second control instruction, wherein the second control instruction is sent by the system control end under the condition that the intention level is a second level.
In some embodiments, the specific implementation process of the first obtaining unit 701 obtaining the information to be processed sent by the system control end may be as follows: and receiving the intention information sent by the system control terminal. In this embodiment, the specific implementation procedure of the control unit 702 controlling the target object to execute the corresponding operation according to the information to be processed may be as follows: if the current service state of the target object is in an idle state, controlling the target object to respond to the request information according to the intention information; if the current business state of the target object is busy state, determining whether to interrupt the current business response request information according to the current business level of the target object.
In some embodiments, the specific implementation procedure of the control unit 702 for determining whether to interrupt the current service response request information according to the current service level of the target object may be as follows: acquiring current service information of a target object; determining a service level corresponding to the current service information; if the service level is the first level, the target object is controlled to continue to execute the current service; or if the service level is not the first level, the control target object interrupts executing the current service and controls the target object to respond to the request information according to the intention information.
In some embodiments of the present application, the service control device may further include: a second acquisition unit and a transmission unit. The second acquisition unit is used for acquiring the current service state of the target object; and the sending unit is used for sending the current service state to the system control end of the target object.
In the embodiment of the application, a second acquisition unit acquires a facial image of a user currently served by a target object, and compares the facial image with a preset white list; if the face image belongs to the white list, determining that the current business state of the target object is in a busy state, and sending a first state identification for identifying that the target object is in the busy state to a system control end of the target object; or if the face image does not belong to the white list, determining that the current service state of the target object is in an idle state, and sending a second state identifier for identifying that the target object is in the idle state to a system control end of the target object.
With respect to the service control device in the above-described embodiment, the specific manner in which each unit performs the operation has been described in detail in the embodiment regarding the method, and will not be described in detail here.
According to the service control device provided by the embodiment of the application, the information to be processed sent by the system control terminal can be obtained, wherein the information to be processed is determined according to the intention level corresponding to the intention information in the request information sent for the target object; and controlling the target object to execute corresponding operation according to the information to be processed. Therefore, the application designs different intention levels for different intention information, and further determines whether to directly send the intention information to the target object according to the intention level so as to enable the target object to determine whether to respond to the request information according to the intention information or send corresponding control instructions to the target object according to the intention information, so that the control of the target object is directly realized, namely, the target object can customize different processing strategies for the query type intention information according to different scene requirements, and therefore, the application can give the target object enough degrees of freedom. In addition, the system control terminal can uniformly receive and analyze the instructions sent by the cloud terminal aiming at the target object, so that the target object can enjoy the function of the cloud terminal without developing the support of the cloud terminal instructions, namely, the cloud terminal function can be enjoyed without developing the support of the cloud terminal instructions for each target object, and the development cost can be greatly reduced.
Fig. 8 is a schematic structural view of a computer device according to an embodiment of the present application. Wherein the computer device may be a robot. The computer device includes:
A memory 801, a processor 802, and a computer program stored on the memory 801 and executable on the processor 802.
The processor 802 implements the service control method provided in the above-described embodiment when executing a program.
In one possible implementation, the computer device further includes:
a communication interface 803 for communication between the memory 801 and the processor 802.
A memory 801 for storing a computer program executable on the processor 802.
The memory 801 may include high-speed RAM memory or may further include non-volatile memory (non-volatile memory), such as at least one magnetic disk memory.
A processor 802, configured to implement the service control method of the above embodiment when executing a program.
If the memory 801, the processor 802, and the communication interface 803 are implemented independently, the communication interface 803, the memory 801, and the processor 802 may be connected to each other through a bus and perform communication with each other. The bus may be an industry standard architecture (Industry Standard Architecture, abbreviated ISA) bus, an external device interconnect (PERIPHERAL COMPONENT, abbreviated PCI) bus, or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated EISA) bus, among others. The buses may be divided into address buses, data buses, control buses, etc. For ease of illustration, only one thick line is shown in fig. 8, but not only one bus or one type of bus.
Alternatively, in a specific implementation, if the memory 801, the processor 802, and the communication interface 803 are integrated on a chip, the memory 801, the processor 802, and the communication interface 803 may communicate with each other through internal interfaces.
The processor 802 may be a central processing unit (Central Processing Unit, abbreviated as CPU), or an Application SPECIFIC INTEGRATED Circuit, abbreviated as ASIC, or one or more integrated circuits configured to implement embodiments of the present application.
The present embodiment also provides a computer-readable storage medium having stored thereon a computer program, characterized in that the program, when executed by a processor, implements the service control method as above.
In order to implement the above embodiment, the present application also proposes a computer program product which, when executed by an instruction processor in the computer program product, performs the service control method shown in the above embodiment.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present application. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first", "a second", and "a third" may explicitly or implicitly include at least one such feature. In the description of the present application, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and additional implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order from that shown or discussed, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present application.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. As with the other embodiments, if implemented in hardware, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like. While embodiments of the present application have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the application, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the application.

Claims (8)

1. A method for traffic control, the method comprising:
acquiring request information aiming at a target object, and analyzing the request information to acquire intention information;
Determining an intention level corresponding to the intention information, wherein the intention level comprises a first level, a second level and a third level, the second level is higher than the first level and the third level, the first level is between the third level and the second level, the second level is a system level, the third level is a common level, and the first level is an inquired intention intermediate between the system level and the common level;
Performing operation corresponding to the intention level on the target object according to the intention level;
the operation of performing the operation corresponding to the intention level on the target object according to the intention level includes:
if the intention level is the first level, acquiring the current service state of the target object;
if the current service state is in an idle state, a first control instruction is sent to the target object according to the intention information, so that the target object responds to the request information according to the first control instruction; or alternatively
And if the current service state is busy, sending the intention information to the target object so that the target object can determine whether to interrupt the current service to respond to the request information according to the intention information.
2. The method of claim 1, wherein the performing the operation of the target object corresponding to the level of intent according to the level of intent comprises:
And if the intention level is a second level, sending a second control instruction to the target object according to the intention information so that the target object responds to the request information according to the second control instruction.
3. The method of claim 1, wherein the performing the operation of the target object corresponding to the level of intent according to the level of intent comprises:
and if the intention level is a third level, sending the intention information to the target object so that the target object determines whether to respond to the request information according to the intention information.
4. A method for traffic control, the method comprising:
Acquiring information to be processed sent by a system control end, wherein the information to be processed is determined according to an intention level corresponding to intention information in request information sent for a target object, and the intention level comprises a first level, a second level and a third level, wherein the second level is higher than the first level and the third level, the first level is between the third level and the second level, the second level is a system level, the third level is a common level, and the first level is an inquiry intention between the system level and the common level;
according to the information to be processed, controlling the target object to execute corresponding operation;
Wherein, according to the information to be processed, the target object is controlled to execute corresponding operations, including:
if the intention level is the first level, acquiring the current service state of the target object;
if the current service state is in an idle state, a first control instruction is sent to the target object according to the intention information, so that the target object responds to the request information according to the first control instruction; or alternatively
And if the current service state is busy, sending the intention information to the target object so that the target object can determine whether to interrupt the current service to respond to the request information according to the intention information.
5. A traffic control apparatus, comprising:
The acquisition module is used for acquiring request information aiming at a target object and analyzing the request information to acquire intention information;
A determining module, configured to determine an intention level corresponding to the intention information, where the intention level includes a first level, a second level, and a third level, and the second level is higher than the first level and the third level, the first level is between the third level and the second level, the second level is a system level, the third level is a common level, and the first level is an interrogation intention intermediate between the system level and the common level;
the control module is used for carrying out operation corresponding to the intention level on the target object according to the intention level;
the operation of performing the operation corresponding to the intention level on the target object according to the intention level includes:
if the intention level is the first level, acquiring the current service state of the target object;
if the current service state is in an idle state, a first control instruction is sent to the target object according to the intention information, so that the target object responds to the request information according to the first control instruction; or alternatively
And if the current service state is busy, sending the intention information to the target object so that the target object can determine whether to interrupt the current service to respond to the request information according to the intention information.
6. A traffic control apparatus, comprising:
The first acquisition unit is used for acquiring information to be processed sent by the system control end, wherein the information to be processed is determined according to an intention level corresponding to intention information in request information sent for a target object, the intention level comprises a first level, a second level and a third level, the second level is higher than the first level and the third level, the first level is between the third level and the second level, the second level is a system level, the third level is a common level, and the first level is an inquiry intention intermediate between the system level and the common level;
The control unit is used for controlling the target object to execute corresponding operation according to the information to be processed;
Wherein, according to the information to be processed, the target object is controlled to execute corresponding operations, including:
if the intention level is the first level, acquiring the current service state of the target object;
if the current service state is in an idle state, a first control instruction is sent to the target object according to the intention information, so that the target object responds to the request information according to the first control instruction; or alternatively
And if the current service state is busy, sending the intention information to the target object so that the target object can determine whether to interrupt the current service to respond to the request information according to the intention information.
7. A computer device, comprising:
a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the traffic control method according to any one of claims 1 to 3 or the traffic control method according to claim 4 when executing the program.
8. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the traffic control method according to any one of claims 1 to 3, or implements the traffic control method according to claim 4.
CN202011629005.2A 2020-12-31 2020-12-31 Service control method, device, computer equipment and storage medium Active CN112650489B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011629005.2A CN112650489B (en) 2020-12-31 2020-12-31 Service control method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011629005.2A CN112650489B (en) 2020-12-31 2020-12-31 Service control method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112650489A CN112650489A (en) 2021-04-13
CN112650489B true CN112650489B (en) 2024-09-06

Family

ID=75366992

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011629005.2A Active CN112650489B (en) 2020-12-31 2020-12-31 Service control method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112650489B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107831903A (en) * 2017-11-24 2018-03-23 科大讯飞股份有限公司 The man-machine interaction method and device that more people participate in

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7349767B2 (en) * 2003-12-16 2008-03-25 Nissan Motor Co., Ltd. Method and system for intention estimation and operation assistance
CN105702254B (en) * 2012-05-24 2019-08-09 上海博泰悦臻电子设备制造有限公司 Phonetic controller and its sound control method based on mobile terminal
KR101448786B1 (en) * 2013-05-22 2014-10-13 현대자동차 주식회사 Smart parking assistant system and parking balance method
CN104301328A (en) * 2014-10-29 2015-01-21 北京思特奇信息技术股份有限公司 Resource operation safety authentication method and system under cloud calculation environment
CN105912270B (en) * 2016-04-12 2019-01-18 上海交通大学 A kind of access request resolver and method towards PM
CN107728497B (en) * 2017-09-29 2020-01-24 深圳狗尾草智能科技有限公司 Communication method for man-machine interaction
CN110187766A (en) * 2019-05-31 2019-08-30 北京猎户星空科技有限公司 A kind of control method of smart machine, device, equipment and medium
CN111027667B (en) * 2019-12-06 2023-10-17 北京金山安全软件有限公司 Method and device for identifying intention category
CN111090733B (en) * 2019-12-24 2022-12-06 科大讯飞股份有限公司 Human-computer interaction method, device, equipment and readable storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107831903A (en) * 2017-11-24 2018-03-23 科大讯飞股份有限公司 The man-machine interaction method and device that more people participate in

Also Published As

Publication number Publication date
CN112650489A (en) 2021-04-13

Similar Documents

Publication Publication Date Title
JP6268282B2 (en) Request processing method and apparatus
CN110446196B (en) Gateway control method and device, gateway working method and device and electronic equipment
WO2019192343A1 (en) Vehicle diagnosis method, related device and system
KR100941540B1 (en) Device management system and setting-value setting method in the system
WO2021136459A1 (en) Device control method and apparatus
CN115190214B (en) Scanning control system, method and computing device
JP7338236B2 (en) Connection destination server selection device, in-vehicle device provided with same, vehicle, connection destination server selection method, and server
CN111123728A (en) Unmanned vehicle simulation method, device, equipment and computer readable medium
CN112650489B (en) Service control method, device, computer equipment and storage medium
CN118233742A (en) Vehicle-mounted image pickup system configuration method, microcontroller and vehicle-mounted image pickup system
CN112805691B (en) Exception handling method, terminal device and storage medium
CN113297123B (en) USB connection method and device, electronic device and storage medium
CN112637821B (en) Management platform and management method of vehicle communication chip and vehicle communication management system
CN110321251B (en) Data backup method, device, equipment and storage medium based on network block equipment
WO2024207889A1 (en) Sim card information loading method and apparatus, storage medium, and electronic device
CN114356633B (en) Diagnostic working mode switching method, device, electronic device and storage medium
CN107562407B (en) Device control method and electronic device
GB2617230A (en) Guidance control method for driver installation, device regarding the same, and terminal
CN115987790A (en) Upgrading method, device and equipment based on position information and storage medium
CN109725992A (en) Method for processing business and its device
US20250267202A1 (en) Network management device and method
CN111563189B (en) Service handling method, device, electronic equipment and medium
CN113986279B (en) Smart device upgrade method, device, storage medium and electronic device
CN112203264B (en) Equipment pairing method applied to equipment group and equipment in equipment group
CN117749779A (en) Request processing method and device and electronic equipment

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