Service control method, device, computer equipment and storage medium
By parsing the intent level in the request information and combining it with the current business status of the target object, it decides whether to interrupt the current business. This solves the unfriendly problem when the robot system control end processes the request instructions and realizes flexible support and code reuse of cloud functions.
Patent Information
- Application Number
- CN202011629005.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-31
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-12-31
AI Technical Summary
In the existing technology, when the robot system control end receives the request instruction from the cloud server, it needs to interrupt the current business of the robot, or each robot needs to be redeveloped to support the server instruction, which makes it unfriendly or cumbersome and has no reusability.
By obtaining and parsing the intent information in the request information, determine the intent level, and perform corresponding operations on the target object according to the intent level, including obtaining the current business status, sending control instructions or intent information, so that the target object can decide whether to interrupt the current business and achieve the goal Flexible handling strategies for objects.
It provides a flexible processing strategy for target objects, reduces development costs, ensures code reusability, and makes cloud command support in multi-target object application scenarios more efficient.
Smart Images

Figure CN112650489B
Abstract
Description
Technical Field
[0001] The present application relates to the field of information processing technology, and in particular to a service control method, a service control device, a computer device, and a computer-readable storage medium. Background Art
[0002] In the related art, when the system control end of the robot receives a request instruction for the robot sent by the cloud server, there are usually two ways for the system control end and the robot to process the instruction: the first way is that no matter what the current business status of the robot is, the system control end needs to interrupt the business currently being executed by the robot and take back the business control of the robot, and the system control end directly processes the request instruction for the robot; the second way is that the system control end does not process it, but directly sends the instruction to the robot, and the robot handles it by itself.
[0003] However, the current problem is: in the first method mentioned above, if the system control end takes full control of the instructions for the robot, the current business of the robot will be interrupted, but the robot may not want to interrupt the business it is currently executing, or it may only be allowed to be interrupted under certain circumstances, which is not friendly to third-party development; in the second method, if the robot handles it by itself, it means developing the robot's APK (Android application package). If it needs to support server-side instructions, it is necessary to redevelop this related content. If there are multiple robots' APKs, it is necessary to write code to support server-side instructions in each robot, which is complicated and non-reusable. Summary of the invention
[0004] The present application aims to solve one of the above-mentioned technical problems at least to some extent.
[0005] To this end, the first objective of the present application is to propose a service control method.
[0006] The second objective of the present application is to propose another service control method.
[0007] The third objective of the present application is to provide a service control device.
[0008] The fourth objective of the present application is to provide another service control device.
[0009] A fifth objective of the present application is to provide a computer device.
[0010] A sixth object of the present application is to provide a computer-readable storage medium.
[0011] To achieve the above-mentioned purpose, the first aspect of the present application proposes a service control method, comprising:
[0012] Obtaining request information for a target object, and parsing the request information to obtain intent information;
[0013] determining an intent level corresponding to the intent information;
[0014] According to the intention level, an operation corresponding to the intention level is performed on the target object.
[0015] In some embodiments of the present application, performing an operation corresponding to the intention level on the target object according to the intention level includes:
[0016] If the intention level is the first level, obtaining the current business status of the target object;
[0017] An operation to be performed on the target object is determined according to the current service status of the target object.
[0018] In some embodiments of the present application, determining an operation to be performed on the target object according to the current service status of the target object includes:
[0019] If the current service state is an idle state, sending 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
[0020] If the current service 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 service to respond to the request information according to the intention information.
[0021] In some embodiments of the present application, obtaining the current business status of the target object includes:
[0022] Receiving a status identifier sent by the target object through a service interface between the target object and the target object;
[0023] The current service state of the target object is determined according to the state identifier.
[0024] In some embodiments of the present application, performing an operation corresponding to the intention level on the target object according to the intention level includes:
[0025] 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.
[0026] In some embodiments of the present application, performing an operation corresponding to the intention level on the target object according to the intention level includes:
[0027] 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 service request information according to the intention information.
[0028] To achieve the above-mentioned purpose, the second aspect of the present application proposes another service control method, including:
[0029] Acquire information to be processed sent by the system control end, wherein the information to be processed is determined according to the intent level corresponding to the intent information in the request information sent to the target object;
[0030] According to the information to be processed, the target object is controlled to perform corresponding operations.
[0031] In some embodiments, the obtaining of information to be processed sent by the system control terminal includes:
[0032] Receiving a control instruction sent by the system control terminal;
[0033] The controlling the target object to perform a corresponding operation according to the information to be processed includes:
[0034] The target object is controlled to perform a corresponding operation according to the control instruction to respond to the request information.
[0035] In some embodiments, the receiving the control instruction sent by the system control terminal includes:
[0036] 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,
[0037] A second control instruction is received, wherein the second control instruction is sent by the system control terminal when the intention level is a second level.
[0038] In some embodiments, the obtaining of information to be processed sent by the system control terminal includes:
[0039] Receiving the intention information sent by the system control terminal;
[0040] The controlling the target object to perform a corresponding operation according to the information to be processed includes:
[0041] If the current service state of the target object is an idle state, controlling the target object to respond to the request information according to the intention information;
[0042] If the current service state of the target object is busy, it is determined whether to interrupt the current service to respond to the request information according to the current service level of the target object.
[0043] In some embodiments, determining whether to interrupt the current service to respond to the request information according to the current service level of the target object includes:
[0044] Obtaining current business information of the target object;
[0045] Determining a service level corresponding to the current service information;
[0046] If the service level is the first level, controlling the target object to continue to execute the current service; or
[0047] If the service level is not the first level, the target object is controlled to interrupt the execution of the current service, and the target object is controlled to respond to the request information according to the intention information.
[0048] In some embodiments, the method further comprises:
[0049] The current service state of the target object is acquired, and the current service state is sent to the system control terminal of the target object.
[0050] In some embodiments, obtaining the current business status of the target object includes:
[0051] Obtaining a facial image of a user currently served by the target object, and comparing the facial image with a preset whitelist;
[0052] If the facial image belongs to the whitelist, determining that the current service state of the target object is a busy state, and sending a first state identifier indicating that the target object is a busy state to the system control terminal of the target object; or
[0053] If the facial image does not belong to the whitelist, it is determined that the current service state of the target object is an idle state, and a second state identifier indicating that the target object is in an idle state is sent to the system control terminal of the target object.
[0054] To achieve the above-mentioned purpose, the third aspect of the present application proposes a service control device, including:
[0055] An acquisition module, used to acquire request information for a target object, and parse the request information to acquire intent information;
[0056] A determination module, used to determine the intent level corresponding to the intent information;
[0057] A control module is used to perform an operation corresponding to the intention level on the target object according to the intention level.
[0058] In some embodiments, the control module is specifically used to:
[0059] If the intention level is the first level, obtaining the current business status of the target object;
[0060] An operation to be performed on the target object is determined according to the current service status of the target object.
[0061] In some embodiments, the control module is specifically used to:
[0062] If the current service state is an idle state, sending 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
[0063] If the current service 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 service to respond to the request information according to the intention information.
[0064] In some embodiments, the control module is specifically used to:
[0065] Receiving a status identifier sent by the target object through a service interface between the target object and the target object;
[0066] The current service state of the target object is determined according to the state identifier.
[0067] In some embodiments, the control module is specifically used for:
[0068] 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.
[0069] In some embodiments, the control module is specifically used to:
[0070] 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 service request information according to the intention information.
[0071] To achieve the above-mentioned purpose, the fourth aspect of the present application proposes another service control device, including:
[0072] A first acquisition unit, configured to acquire information to be processed sent by the system control terminal, wherein the information to be processed is determined according to an intent level corresponding to intent information in a request message sent to a target object;
[0073] A control unit is used to control the target object to perform corresponding operations according to the information to be processed.
[0074] In some embodiments, the first acquiring unit is specifically configured to:
[0075] Receiving a control instruction sent by the system control terminal;
[0076] The control unit is specifically used for:
[0077] The target object is controlled to perform a corresponding operation according to the control instruction to respond to the request information.
[0078] In some embodiments, the first acquiring unit is specifically configured to:
[0079] 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,
[0080] A second control instruction is received, wherein the second control instruction is sent by the system control terminal when the intention level is a second level.
[0081] In some embodiments, the first acquiring unit is specifically configured to:
[0082] Receiving the intention information sent by the system control terminal;
[0083] Wherein, the control unit is specifically used for:
[0084] If the current service state of the target object is an idle state, controlling the target object to respond to the request information according to the intention information; or
[0085] If the current service state of the target object is busy, it is determined whether to interrupt the current service to respond to the request information according to the current service level of the target object.
[0086] In some embodiments, the control unit is specifically configured to:
[0087] Obtaining current business information of the target object;
[0088] Determining a service level corresponding to the current service information;
[0089] If the service level is the first level, controlling the target object to continue to execute the current service; or
[0090] If the service level is not the first level, the target object is controlled to interrupt the execution of the current service, and the target object is controlled to respond to the request information according to the intention information.
[0091] In some embodiments, the apparatus further comprises:
[0092] A second acquisition unit, used to acquire the current business status of the target object;
[0093] A sending unit is used to send the current service status to the system control end of the target object.
[0094] In some embodiments, the second acquiring unit is specifically configured to:
[0095] Obtaining a facial image of a user currently served by the target object, and comparing the facial image with a preset whitelist;
[0096] If the facial image belongs to the whitelist, determining that the current service state of the target object is a busy state, and sending a first state identifier indicating that the target object is a busy state to the system control terminal of the target object; or
[0097] If the facial image does not belong to the whitelist, it is determined that the current service state of the target object is an idle state, and a second state identifier indicating that the target object is in an idle state is sent to the system control terminal of the target object.
[0098] To achieve the above-mentioned purpose, the fifth aspect of the present application proposes a computer device, comprising:
[0099] A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the service control method described in the embodiment of the first aspect of the present application is implemented, or the service control method described in the embodiment of the second aspect of the present application is implemented.
[0100] To achieve the above-mentioned purpose, the sixth aspect of the present application proposes a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, it implements the business control method described in the embodiment of the first aspect of the present application, or implements the business control method described in the embodiment of the second aspect of the present application.
[0101] According to the technical solution of the embodiment of the present application, the request information for the target object is obtained, the request information is parsed to obtain the intent information, and the intent level corresponding to the intent information is determined, and the target object is operated according to the intent level. Thus, the present application designs different intent levels for different intent information, and then determines whether to send the intent information directly to the target object according to the intent level so that the target object determines whether to respond to the request information according to the intent information, or to send a corresponding control instruction to the target object according to the intent information to achieve direct control of the target object, that is, the target object can customize different processing strategies for the inquiry intent information according to different scene requirements. It can be seen that the present application can give the target object enough freedom. In addition, the present application can uniformly receive and parse the instructions sent by the cloud to the target object through the system control terminal. Therefore, for the target object, the target object can enjoy the functions of the cloud without developing support for cloud instructions. In other words, it is not necessary to develop support for cloud instructions for each target object to enjoy the functions of the cloud, thereby greatly reducing the development cost. In addition, if the target object does not want to process, the system control end can take over completely. For the use scenarios of multiple target objects, the reusability of the code can be guaranteed, that is, only this set of code is needed to realize cloud command support.
[0102] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0103] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:
[0104] Figure 1 It is a flowchart of a service control method according to an embodiment of the present application.
[0105] Figure 2 It is a flowchart of a service control method according to a specific embodiment of the present application.
[0106] Figure 3 It is a flowchart of a service control method according to another specific embodiment of the present application.
[0107] Figure 4 It is a flowchart of a service control method according to another embodiment of the present application.
[0108] Figure 5 It is a flowchart of a robot control method according to an embodiment of the present application.
[0109] Figure 6It is a structural block diagram of a service control device according to an embodiment of the present application.
[0110] Figure 7 It is a structural block diagram of a service control device according to another embodiment of the present application.
[0111] Figure 8 It is a schematic diagram of the structure of a computer device according to an embodiment of the present application. DETAILED DESCRIPTION
[0112] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.
[0113] The following describes the service control method, service control apparatus, computer device, and computer-readable storage medium according to the embodiments of the present application with reference to the accompanying drawings.
[0114] Figure 1 1 is a flow chart of a service control method according to an embodiment of the present application. It should be noted that the service control method of the embodiment of the present application can be applied to the system control end. That is, the service control method of the embodiment of the present application can be described from the system control end side.
[0115] like Figure 1 As shown, the service control method may include:
[0116] Step 101, obtain request information for a target object, and parse the request information to obtain intent information.
[0117] 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).
[0118] In some embodiments of the present application, the system control end can be understood as the system control end of the robot. For example, at least one robot is connected to the system control end respectively, and the robot connected to the system control end can be controlled through the system control end. In addition, the robot connected to the system control end still has its own business function control. For example, assuming that a sweeping robot, a medical robot, and an entertainment robot are respectively connected to the system control end, when the system control end receives a request message for a certain robot, it can parse the request message to obtain the intent information, so that the operation corresponding to the intent level corresponding to the intent information can be performed on the robot accordingly.
[0119] It should be noted that in some embodiments of the present application, the system control end may obtain request information for the target object from the cloud server. For example, the cloud server directly sends 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 regularly perform remote updates and maintenance on the operating system of a certain robot through the system control end, the cloud server sends the request information of the robot (such as a remote update and maintenance request) to the system control end. When the system control end obtains the request information for the robot, it can parse the request information to obtain the corresponding intent information. For example, the system control end can parse out the intention of the cloud server to perform remote updates and maintenance on the robot.
[0120] 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, operator, etc.) collected by the system control terminal. For example, the system control terminal has a voice interaction interface. The system control terminal may receive the request information for the target object input by the user through the voice interaction interface, and the request information may be a voice command. In this way, the system control terminal may parse and identify the voice command based on voice recognition technology to obtain the intention information corresponding to the voice command.
[0121] In the embodiment of the present invention, the system control terminal may be a computer, a mobile terminal (such as a tablet computer, a mobile phone, etc.), etc.
[0122] Step 102: Determine the intent level corresponding to the intent information.
[0123] It should be noted that due to the difference in intent information, different intent information will also correspond to different intent levels, where the intent level corresponding to the intent information can be understood as the response level of the system control end to the intent information. For example, the business response level of some intent information is relatively high, that is, the system control end needs to respond to the intent information in a timely manner, without paying attention to the business currently performed by the robot and requiring the robot to immediately perform the task corresponding to the intent information, or the business response level of some intent information is relatively low, that is, there is no need for the system control end to respond, and it can be directly handed over to the robot to handle whether it needs to respond to the intent information.
[0124] In some embodiments of the present application, the intent level may include but is not limited to the first level, the second level, and the third level. The second level is higher than the first level and the third level, and the first level is between the third level and the second level. For example, the second level may be the system level, the third level may be the ordinary level, and the first level may be between the system level and the ordinary level.
[0125] As an example, taking the target object as a robot, assuming that the intent information is "Please take me to the meeting room", it can be determined that the intent level corresponding to the intent information is the third level, that is, the intent information can be a normal intent; assuming that the intent information is "remote lock", it can be determined that the intent level corresponding to the intent information is the second level, that is, the intent information can be a system level; assuming that the intent information is "navigation instructions", it can be determined that the intent level corresponding to the intent information is the first level, that is, the intent information can be an interrogative intent, which is between the normal intent and the system-level intent.
[0126] Step 103: perform an operation corresponding to the intention level on the target object according to the intention level.
[0127] It should be noted that at different intent levels, the system control end performs different operations on the target object. Therefore, after determining the intent level corresponding to the intent information, the operation corresponding to the intent level can be performed on the target object according to the intent level. For example, when it is determined that the intent level corresponding to the intent information is the first level, it is determined based on the current business status of the target object whether to send the intent information directly to the target object or to send a corresponding control instruction to the target object based on the intent information; for another example, when the intent level is the second level, a corresponding control instruction can be sent to the target object based on the intent information to directly control the target object; for another example, when the intent level is the third level, the intent information can be sent directly to the target object.
[0128] As an example, the second level may be the system level, the third level may be the ordinary level, and the first level may be between the system level and the ordinary level, that is, the intention information is an inquiry intention. When the intention level of the intention information is the system level, since the intention level corresponds to the system-level intention, the system-level intention does not need to pay attention to the business currently performed by the target object, but needs to be performed immediately. Such tasks are often more urgent or more important. Therefore, the corresponding control instructions can be sent to the target object according to the intention information to achieve direct system-level control of the target object. For another example, when the intention level of the intention information is the ordinary level, the intention information can be directly sent 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 inquiry intention, the function of the inquiry intention is implemented at the system control end, but at the same time it is necessary to pay attention to the business status of the upper layer. Therefore, it can be determined according to the current business status of the target object whether to send the intention information directly to the target object or to send the corresponding control instructions to the target object according to the intention information.
[0129] According to the business control method of the embodiment of the present application, the request information for the target object is obtained, the request information is parsed to obtain the intent information, and the intent level corresponding to the intent information is determined, and the target object is operated according to the intent level. Thus, the present application designs different intent levels for different intent information, and then determines whether to send the intent information directly to the target object according to the intent level so that the target object can determine whether to respond to the request information according to the intent information, or to send a corresponding control instruction to the target object according to the intent information to achieve direct control of the target object, that is, different processing strategies can be customized for the inquiry intent information according to the different scene requirements applied by the target object. It can be seen that the present application can provide the target object with sufficient degrees of freedom. In addition, the present application can uniformly receive and parse the instructions sent by the cloud to the target object through the system control terminal. Therefore, for the developer of the target object, it is possible to enjoy the functions of the cloud without developing support for cloud instructions, that is, it is possible to enjoy the functions of the cloud without developing support for cloud instructions for each target object, thereby greatly reducing the development cost.
[0130] It should be noted that, due to the difference in intent information, different intent information will also correspond to different intent levels, and the system control end will also perform different operations on the target object according to different intent levels. For example, when the intent level is the first level, it is necessary to decide whether to send the intent information directly to the target object or send corresponding control instructions to the target object according to the intent information based on the current business status of the target object. Specifically, Figure 2 As shown, the service control method may include:
[0131] Step 201, obtain request information for the target object, and parse the request information to obtain intent information.
[0132] Step 202: Determine the intent level corresponding to the intent information.
[0133] Step 203: If the intention level is the first level, the current business status of the target object is obtained.
[0134] In the embodiment of the present application, when the intent level is the first level, it can be understood that the intent information corresponding to the intent level is an inquiry intent. It should be noted that the function of the inquiry intent is implemented at the system layer of the target object, but at the same time it is necessary to pay attention to the business status of the upper layer. Therefore, when it is determined that the intent level corresponding to the intent information is the first level (that is, the intent information is an inquiry intent), the system control end needs to obtain the current business status of the target object.
[0135] 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 can obtain the current service state of the target object. The system control end may receive the status identifier sent by the target object through the service interface between the target object and the system control end, and determine the current service state of the target object according to the status identifier.
[0136] As an example of a possible implementation, the system control end can receive a state identifier sent by the target object through a service interface between the system control end and the target object; parse the state identifier, if the state identifier is a first state identifier, then determine that the current service state of the target object is an idle state, if the state identifier is a second state identifier, then determine that the current service state of the target object is a busy state. For example, the target object can periodically or in real time update its current service state to the system control end in the form of a state identifier. After receiving the state identifier sent by the target object through the service interface between the system control end and the target object, the system control end can parse the state identifier to determine the specific content of the state identifier, if the state identifier is a first state identifier, then determine that the current service state of the target object is an idle state, if the state identifier is a second state identifier, then determine that the current service state of the target object is a busy state. For example, "0" and "1" respectively represent "idle state" and "busy state", if the system control end receives the state identifier as "0", then determine that the current service state of the target object is an idle state, if the system control end receives the state identifier as "1", then determine that the current service state of the target object is a busy state.
[0137] Step 204: Determine the operation to be performed on the target object according to the current business status of the target object.
[0138] That is to say, when it is determined that the intent information is an inquiry intent, the system control end can decide whether to send the intent information directly to the target object or send a corresponding control instruction to the target object according to the intent information based on the current business state of the target object. In some embodiments, if the current business state is an idle state, a first control instruction is sent to the target object according to the intent information, so that the target object responds to the request information according to the first control instruction; or, if the current business state is a busy state, the intent 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 intent information.
[0139] For example, taking the target object as a robot, when it is determined that the intent information corresponding to the request information is an inquiry intent, and the current business state of the robot is an idle state, the system control end can send a first control instruction to the robot according to the intent information, so that the robot directly responds to the request information according to the first control instruction. For example, assuming that the cloud service end wants to send a navigation instruction (such as a navigation instruction to navigate from location A to location B) to a robot with a navigation function through the system control end, the system control end can determine that the intent information is a "navigation instruction" and the corresponding intent level is the first level. At this time, the system control end can decide whether to send the intent information directly to the robot according to the current business state of the robot, or send the corresponding navigation control instruction to the robot according to the intent information so that the robot performs the navigation function based on the navigation control instruction. For example, if the system control end determines that the current business state of the robot is an idle state, it can send a navigation control instruction to the robot according to the intent information, so that the robot performs a navigation operation according to the navigation control instruction to respond to the navigation request sent by the cloud server. For another example, if the system control end determines 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 perform navigation operations according to the intention information; if the current service state of the robot is busy, the robot determines whether to interrupt the current service to respond to the navigation request according to the current service level. For example, if the current service level is the first level (the first level can be understood as the current service level is high, and 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 the execution of the current service and controls the robot to perform navigation operations according to the intention information. As an example, when the current service level of the robot is the first level, while continuing to execute the current service, the intention information can also be temporarily cached, and when the current service is completed and the current service state of the robot is not the first level, the robot is controlled to perform navigation operations according to the intention information.
[0140] That is to say, the system control end can judge the current business state of the target object. If it is determined that the current business state of the target object is idle, the system control end directly implements the corresponding control of the target object according to the intention information, without sending it to the target object to inquire whether the target object can respond to the request information. If it is determined that the current business state of the target object is 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 to respond to the request information according to the intention information.
[0141] In order to further improve the usability of the present application, in some embodiments of the present application, Figure 2 As shown in the basis, Figure 3 As shown, after determining the intent level corresponding to the intent information (ie, step 202), the service control method further includes:
[0142] 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.
[0143] That is to say, when the intent level corresponding to the intent information is the second level, the second level can be understood as the intent information being a system-level intent. The system-level intent means that you can ignore the business currently being executed by the target object and immediately execute the task corresponding to the system-level intent. Such tasks are often more urgent or more important. For example, the "remote lock" command, the purpose of remote locking is to interrupt the execution of the current business of the target object. At this time, a remote lock control command can be sent to the target object. The target object can lock the target object when receiving the remote lock control command.
[0144] In some embodiments, Figure 2 As shown in the basis, Figure 3 As shown, after determining the intent level corresponding to the intent information (ie, step 202), the service control method may further include:
[0145] Step 302: If the intent level is the third level, the intent information is sent to the target object, so that the target object determines whether to respond to the request information according to the intent information.
[0146] Optionally, when the intent level corresponding to the intent information is the third level, the third level can be understood as a common intent, and the common intent can be directly handed over to the target object for processing, that is, the system control end can send the intent information to the target object, and the target object decides whether to respond to the request information. For example, someone says to the robot "take me to the meeting room", and the system control end can send the intent information directly to the robot after parsing the intent information corresponding to the request information. The robot can determine whether to respond to the request information based on the intent information, that is, the robot can decide the next action based on its current business status.
[0147] According to the business control method of the embodiment of the present application, after obtaining request information for the target object, parsing the request information to obtain intent information, and determining the intent level corresponding to the intent information, if the intent level is the first level, the current business status of the target object is obtained, if the current business status is an idle state, a first control instruction is sent to the target object according to the intent information, so that the target object responds to the request information according to the first control instruction, if the current business status is a busy state, the intent 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 intent information; if the intent level is the second level, a second control instruction is sent to the target object according to the intent information, so that the target object responds to the request information according to the second control instruction; if the intent level is the third level, the intent information is sent to the target object, so that the target object determines whether to respond to the request information according to the intent information. Therefore, the present application designs different intent levels for different intent information, and then determines whether to send the intent information directly to the target object according to the intent level so that the target object determines whether to respond to the request information according to the intent information, or sends the corresponding control instruction to the target object according to the intent information to achieve direct control of the target object, that is, the target object can customize different processing strategies for the inquiry intent information according to different scene requirements. It can be seen that the present application can provide sufficient freedom for the target object. In addition, the present application can uniformly receive and parse the instructions sent by the cloud to the target object through the system control end. Therefore, for the target object, the target object can enjoy the functions of the cloud without developing support for cloud instructions. In other words, it is not necessary to develop support for cloud instructions for each target object to enjoy the functions of the cloud, thereby greatly reducing the development cost. In addition, in the case where the target object does not want to process, the system control end can also take over in full. For the use scenarios of multiple target object applications, the reusability of the code can be guaranteed, that is, only this set of code is needed to achieve cloud instruction support.
[0148] Figure 4 is a flow chart of a service control method according to another embodiment of the present application. It should be noted that the service control method of the embodiment of the present application can be applied to a target object (such as a robot). That is to say, the service control method of the embodiment of the present application can be described from the target object side.
[0149] like Figure 4 As shown, the service control method may include:
[0150] Step 401, obtaining information to be processed sent by the system control terminal, wherein the information to be processed is determined according to the intent level corresponding to the intent information in the request information sent to the target object.
[0151] In an embodiment of the present application, when the system control end obtains the request information for the target object, it can parse the request information to obtain the intent information. Due to the difference in intent information, different intent information will also correspond to different intent levels. Therefore, when the system control end obtains the intent information, it can determine the intent level corresponding to the intent information. In some embodiments of the present application, the intent level may include but is not limited to the first level, the second level and the third level. Among them, the second level is higher than the first level and the third level, and the first level is between the third level and the second level. For example, the second level may be the system level, the third level may be the normal level, and the first level may be between the system level and the normal level. As an example, taking the target object as a robot, assuming that the intent information is "Please take me to the meeting room", it can be determined that the intent level corresponding to the intent information is the third level, that is, the intent information can be a normal intent; assuming that the intent information is "remote lock", it can be determined that the intent level corresponding to the intent information is the second level, that is, the intent information can be a system level; assuming that the intent information is "navigation instructions", it can be determined that the intent level corresponding to the intent information is the first level, that is, the intent information can be an interrogative intent, which is between the normal intent and the system-level intent.
[0152] When the system control terminal determines the intention level corresponding to the intention information, it can perform different operations on the target object according to different intention levels. For example, if the intention level is the first level, the current business state of the target object is obtained. If the current business state is an idle state, the system control terminal 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 a busy state, the system control terminal 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 terminal 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 terminal 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. It can be seen that the system control terminal will decide whether to send the intention information or the corresponding control instruction to the target object according to the intention level.
[0153] Step 402: Control the target object to perform corresponding operations according to the information to be processed.
[0154] That is to say, when the target object obtains the information to be processed sent by the system control end, it can control the target object to perform corresponding operations according to the information to be processed. Since the information to be processed sent by the system control end obtained by the target object may be the intention information parsed by the system control end from the request information, it may also be the corresponding control instruction generated by the system control end according to the intention information. Therefore, the target object can control the target object to perform corresponding operations according to the information to be processed. The following is an example of the target object performing different operations on the target object for different information to be processed:
[0155] As an example of a possible implementation, when a control instruction sent by the system control end is received, the target object can be controlled to perform a corresponding operation according to the control instruction to respond to the request information.
[0156] It should be noted that the control instruction sent by the system control end is related to the intent level of the parsed intent information and the current business state of the target object. For example, the control instruction may include a first control instruction, wherein the first control instruction is sent by the system control end when the current business state of the target object is an idle state and the intent level is a first level. In other words, when the intent level of the intent information is the first level and the current business state of the target object is an idle state, the system control end may send the first control instruction to the target object according to the intent information, so that the target object directly responds to the request information according to the first control instruction. For example, assuming that the cloud service end wants to send navigation instructions (such as navigation instructions for navigating from location A to location B) to a robot with navigation function through the system control end, the system control end can determine that the intention information is a "navigation instruction" and the corresponding intention level is the first level. At this time, the system control end can decide whether to send the intention information directly to the robot based on the current business status of the robot, or to send the corresponding navigation control instructions to the robot based on the intention information so that the robot can perform navigation functions based on the navigation control instructions. For example, if the system control end determines that the current business status of the robot is idle, it can send navigation control instructions to the robot based on the intention information, so that the robot can perform navigation operations according to the navigation control instructions to respond to the navigation request sent by the cloud server. For another example, if the system control end determines 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 perform navigation operations according to the intention information; if the current service state of the robot is busy, the robot determines whether to interrupt the current service to respond to the navigation request according to the current service level. For example, if the current service level is the first level (the first level can be understood as the current service level is high, and 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 the execution of the current service and controls the robot to perform navigation operations according to the intention information. As an example, when the current service level of the robot is the first level, while continuing to execute the current service, the intention information can also be temporarily cached, and when the current service is completed and the current service state of the robot is not the first level, the robot is controlled to perform navigation operations according to the intention information.
[0157] That is to say, the system control end can judge the current business state of the target object. If it is determined that the current business state of the target object is idle, the system control end directly implements the corresponding control of the target object according to the intention information, without sending it to the target object to inquire whether the target object can respond to the request information. If it is determined that the current business state of the target object is 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 to respond to the request information according to the intention information.
[0158] For another example, the control instruction may include a second control instruction, wherein the second control instruction is sent by the system control terminal when the intent level is the second level. That is to say, when the intent level corresponding to the intent information is the second level, the second level can be understood as the intent information being a system-level intent, and the system-level intent means that you can ignore the business currently being executed by the target object and immediately execute the task corresponding to the system-level intent. Such tasks are often more urgent or more important. For example, the "remote lock" instruction, the purpose of remote locking is to interrupt the execution of the current business of the target object. At this time, a remote lock control instruction can be sent to the target object. The target object can lock the target object when receiving the remote lock control instruction.
[0159] As an example of another possible implementation method, when the intention information sent by the system control end is received, the specific implementation process of controlling the target object to perform the corresponding operation according to the information to be processed may be as follows: if the current business state of the target object is idle, the target object is controlled to respond to the request information according to the intention information; if the current business state of the target object is busy, it is determined whether to interrupt the current business response request information according to the current business level of the target object.
[0160] In some embodiments of the present application, if the current business status of the target object is busy, the target object can determine whether to interrupt the current business response request information based on the current business level of the target object. The specific implementation process can be as follows: obtain the current business information of the target object; determine the business level corresponding to the current business information; if the business level is the first level, control the target object to continue to execute the current business; or, if the business level is not the first level, control the target object to interrupt the execution of the current business, and control the target object to respond to the request information based on the intention information.
[0161] For example, after the target object receives the intention information sent by the system control end, if the current business state of the target object is idle, 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 refuse to respond to the request information corresponding to the intention information according to its own business busy level, or first cache the request information corresponding to the intention information, and then respond to the request information after the current business execution is completed. The processing authority is left to the target object to decide.
[0162] In some embodiments of the present application, the target object can also obtain the current business status of the target object and send the current business status to the system control end, so that the system control end can obtain the current business status of the target object, so that the system control end can determine whether to send the intention information directly to the target object according to the current business status of the target object, or to send corresponding control instructions to the target object according to the intention information.
[0163] As an example, the specific implementation process of obtaining the current business status of the target object may be as follows: obtain a facial image of the user currently served by the target object, and compare the facial image with a preset whitelist; if the facial image belongs to the whitelist, determine that the current business status of the target object is busy, and send a first status identifier indicating that the target object is busy to the system control end of the target object; or, if the facial image does not belong to the whitelist, determine that the current business status of the target object is idle, and send a second status identifier indicating that the target object is idle to the system control end of the target object.
[0164] That is to say, the users who are currently interacting with the target object can be divided into grades, for example, the grade of the interactive users in the white list can be set to a higher grade, if the target object is currently interacting with the higher grade user (i.e. the user in the white list), the current business state of the target object can be updated to a busy state, and a first state identifier is sent to the system control end of the target object, that is, the system control end is informed that the current business state of the target object is a busy state; the grade of the interactive users not in the white list can be set to a lower grade, if the target object is currently interacting with the lower grade user (i.e. the user not in the white list), the current business state of the target object can be updated to an idle state, and a second state identifier is sent to the system control end of the target object, that is, the system control end is informed that the current business state of the target object is an idle state. Thus, by identifying the authority level of the user interacting with the target object, the current business state of the target object is determined based on the authority level of the user, a method for determining the current business state of the target object is given, and it can be ensured that when the target object is serving a higher grade user, even if the system control end sends an intention message, the target object will give priority to serving the higher grade user, ensuring that the target object's business service to the higher grade user is not interrupted.
[0165] According to the business control method of the embodiment of the present application, the information to be processed sent by the system control end can be obtained, wherein the information to be processed is determined according to the intent level corresponding to the intent information in the request information sent to the target object; according to the information to be processed, the target object is controlled to perform the corresponding operation. Therefore, the present application designs different intent levels for different intent information, and then determines whether to send the intent information directly to the target object according to the intent level so that the target object determines whether to respond to the request information according to the intent information, or sends a corresponding control instruction to the target object according to the intent information to achieve direct control of the target object, that is, the target object can customize different processing strategies for the inquiry intent information according to different scene requirements. It can be seen that the present application can give the target object enough freedom. In addition, the present application can uniformly receive and parse the instructions sent by the cloud to the target object through the system control end. Therefore, for the target object, the target object can enjoy the functions of the cloud without developing support for cloud instructions, that is, it is not necessary to develop support for cloud instructions for each target object to enjoy the functions of the cloud, thereby greatly reducing the development cost.
[0166] For example, it is convenient for those skilled in the art to understand the present application. Figure 5 The present application is described.
[0167] For example, taking the target object as a robot, Figure 5As shown, the system control end can receive request information for the robot, wherein the request information can be a cloud command or a user voice command interacting with the system control end. After receiving the request information, the system control end can parse the request information to obtain the corresponding intent information. Among them, in this application, the intent information can be divided into three categories: ordinary intent, system-level intent and interrogative intent. Among them, ordinary intent can be directly handed over to the robot for processing. For example, if someone says to the robot "take me to the conference room", the intent processor will directly throw it to the robot, and the robot will decide the next action according to the current business status. System-level intent means that you can ignore the business currently being executed by the robot and immediately execute the task corresponding to the system-level intent. Such tasks are often more urgent or more important. For example, the "remote lock" command, the purpose of remote locking is to interrupt the execution of the robot's current business. Interrogative intent is between ordinary intent and system-level intent. The function of this intent is implemented at the system control end, but at the same time, it is necessary to pay attention to the business status of the upper layer.
[0168] In an embodiment of the present application, the robot can update its own business status to the system control end in real time. When an inquiry-type intention request arrives, the system control end determines that if the current business status of the robot is in an idle state, it will directly hand it over to the system control end to execute the intention, that is, the system control end sends the 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 business status of the robot is in a busy state, the intention information can be handed over to the robot, and the robot decides whether to interrupt the current business to respond to the instruction. For example, the robot can determine the current business level. If the current business level is the first level, the robot continues to execute the current business. If the current business level is not the first level, the robot interrupts the execution of the current business and controls the robot to respond to the instruction according to the intention information. For example, assuming that the cloud service end wants to send navigation instructions (such as navigation instructions for navigating from location A to location B) to a robot with navigation function through the system control end, the system control end can determine that the intention information is a "navigation instruction" and the corresponding intention level is the first level. At this time, the system control end can decide whether to send the intention information directly to the robot based on the current business status of the robot, or to send corresponding navigation control instructions to the robot based on the intention information so that the robot can perform navigation functions based on the navigation control instructions. For example, if the system control end determines that the current business status of the robot is idle, it can send navigation control instructions to the robot based on the intention information, so that the robot can perform navigation operations according to the navigation control instructions to respond to the navigation request sent by the cloud server. For another example, if the system control end determines that the current business status of the robot is busy, the intention information is sent to the robot, so that the robot determines whether to interrupt the current business response request information according to the intention information. For example, if the current business status of the robot is idle, the robot controls the robot to perform navigation operations according to the intention information; if the current business status of the robot is busy, the robot determines whether to interrupt the current business to respond to the navigation request according to the current business level. For example, if the current business level is the first level (the first level can be understood as the current business level is high, and the current business needs to be executed in time and cannot be interrupted), the robot continues to execute the current business. If the current business status of the robot is not the first level, the robot interrupts the execution of the current business and controls the robot to perform navigation operations according to the intention information.
[0169] Figure 6 1 is a structural block diagram of a service control device according to an embodiment of the present application. It should be noted that the service control device can be understood as a system control terminal. Figure 6 As shown, the service control device 600 may include: an acquisition module 601 , a determination module 602 , and a control module 603 .
[0170] Specifically, the acquisition module 601 is used to acquire request information for the target object, and parse the request information to acquire intent information.
[0171] The determination module 602 is used to determine the intention level corresponding to the intention information.
[0172] The control module 603 is used to perform operations corresponding to the intention level on the target object according to the intention level.
[0173] In some embodiments, the specific implementation process of the control module 603 performing operations corresponding to the intention level on the target object according to the intention level can be as follows: if the intention level is the first level, the current business status of the target object is obtained; based on the current business status of the target object, the operation to be performed on the target object is determined.
[0174] In this embodiment, the control module 603 determines the specific implementation process of the operation to be performed on the target object according to the current business status of the target object as follows: if the current business status 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 status 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.
[0175] In this embodiment, the specific implementation process of the control module 603 acquiring the current business status of the target object may be as follows: receiving a state identifier sent by the target object through the business interface between the target object and the target object; and determining the current business status of the target object according to the state identifier.
[0176] In some embodiments, the specific implementation process of the control module 603 performing operations corresponding to the intention level on the target object according to the intention level can be as follows: 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.
[0177] In some embodiments, the specific implementation process of the control module 603 performing operations corresponding to the intent level on the target object according to the intent level can be as follows: if the intent level is the third level, the intent information is sent to the target object so that the target object determines whether to respond to the service request information based on the intent information.
[0178] Regarding the service control device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0179] According to the business control device of the embodiment of the present application, the request information for the target object is obtained, the request information is parsed to obtain the intent information, and the intent level corresponding to the intent information is determined, and the target object is operated according to the intent level. Therefore, the present application designs different intent levels for different intent information, and then determines whether to send the intent information directly to the target object according to the intent level so that the target object can determine whether to respond to the request information according to the intent information, or to send a corresponding control instruction to the target object according to the intent information to achieve direct control of the target object, that is, the target object can customize different processing strategies for the inquiry intent information according to different scene requirements. It can be seen that the present application can give the target object enough freedom. In addition, the present application can uniformly receive and parse the instructions sent by the cloud to the target object through the system control terminal. Therefore, for the target object, the target object can enjoy the functions of the cloud without developing support for cloud instructions. In other words, it is not necessary to develop support for cloud instructions for each target object to enjoy the functions of the cloud, thereby greatly reducing the development cost.
[0180] Figure 7 FIG. 1 is a structural block diagram of a service control device 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. Figure 7 As shown, the service control device 700 may include: a first acquisition unit 701 and a control unit 702.
[0181] Specifically, the first acquisition unit 701 is used to acquire the information to be processed sent by the system control terminal, wherein the information to be processed is determined according to the intent level corresponding to the intent information in the request information sent to the target object.
[0182] The control unit 702 is used to control the target object to perform corresponding operations according to the information to be processed.
[0183] In some embodiments, the specific implementation process of the first acquisition unit 701 acquiring the information to be processed sent by the system control terminal can be as follows: receiving a control instruction sent by the system control terminal. In this embodiment, the control unit 702 controls the target object to perform a corresponding operation according to the control instruction to respond to the request information.
[0184] In an embodiment of the present application, the first acquisition unit 701 receives a first control instruction, wherein the first control instruction is sent by the system control end when the current service state of the target object is idle and the intention level is the first level; or, receives a second control instruction, wherein the second control instruction is sent by the system control end when the intention level is the second level.
[0185] In some embodiments, the specific implementation process of the first acquisition unit 701 acquiring the information to be processed sent by the system control terminal may be as follows: receiving the intention information sent by the system control terminal. In this embodiment, the specific implementation process of the control unit 702 controlling the target object to perform the corresponding operation according to the information to be processed may be as follows: if the current service state of the target object is idle, then controlling the target object to respond to the request information according to the intention information; if the current service state of the target object is busy, then determining whether to interrupt the current service response request information according to the current service level of the target object.
[0186] In some embodiments, the specific implementation process of the control unit 702 determining whether to interrupt the current business response request information according to the current business level of the target object can be as follows: obtaining the current business information of the target object; determining the business level corresponding to the current business information; if the business level is the first level, controlling the target object to continue to execute the current business; or, if the business level is not the first level, controlling the target object to interrupt the execution of the current business, and controlling the target object to respond to the request information according to the intention information.
[0187] In some embodiments of the present application, the service control device may further include: a second acquisition unit and a sending unit. The second acquisition unit is used to acquire the current service status of the target object; and the sending unit is used to send the current service status to the system control terminal of the target object.
[0188] In an embodiment of the present application, a second acquisition unit acquires a facial image of a user currently served by the target object, and compares the facial image with a preset whitelist; if the facial image belongs to the whitelist, it is determined that the current service state of the target object is a busy state, and a first state identifier indicating that the target object is in a busy state is sent to the system control end of the target object; or, if the facial image does not belong to the whitelist, it is determined that the current service state of the target object is an idle state, and a second state identifier indicating that the target object is in an idle state is sent to the system control end of the target object.
[0189] Regarding the service control device in the above embodiment, the specific manner in which each unit performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0190] According to the business control device of the embodiment of the present application, the information to be processed can be obtained by the system control end, wherein the information to be processed is determined according to the intent level corresponding to the intent information in the request information sent to the target object; according to the information to be processed, the target object is controlled to perform the corresponding operation. Therefore, the present application designs different intent levels for different intent information, and then determines whether to send the intent information directly to the target object according to the intent level so that the target object can determine whether to respond to the request information according to the intent information, or to send the corresponding control instruction to the target object according to the intent information to achieve direct control of the target object, that is, the target object can customize different processing strategies for the inquiry intent information according to different scene requirements, which shows that the present application can give the target object enough freedom. In addition, the present application can uniformly receive and parse the instructions sent by the cloud to the target object through the system control end. Therefore, for the target object, the target object can enjoy the functions of the cloud without developing support for cloud instructions, that is, it is not necessary to develop support for cloud instructions for each target object to enjoy the functions of the cloud, thereby greatly reducing the development cost.
[0191] Figure 8 : is a schematic diagram of the structure of a computer device according to an embodiment of the present application. The computer device may be a robot. The computer device includes:
[0192] A memory 801 , a processor 802 , and a computer program stored in the memory 801 and executable on the processor 802 .
[0193] When the processor 802 executes the program, the service control method provided in the above embodiment is implemented.
[0194] In a possible implementation, the computer device further includes:
[0195] The communication interface 803 is used for communication between the memory 801 and the processor 802 .
[0196] The memory 801 is used to store computer programs that can be executed on the processor 802 .
[0197] The memory 801 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.
[0198] The processor 802 is configured to implement the service control method of the above embodiment when executing a program.
[0199] 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 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0200] Optionally, 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 can communicate with each other through an internal interface.
[0201] The processor 802 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0202] This embodiment further provides a computer-readable storage medium on which a computer program is stored, and a characteristic vector of the computer program is that when the program is executed by a processor, the above service control method is implemented.
[0203] In order to implement the above embodiments, the present application also proposes a computer program product. When an instruction processor in the computer program product is executed, the service control method shown in the above embodiments is executed.
[0204] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0205] In addition, the terms "first", "second", and "third" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, a feature defined as "first", "second", and "third" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0206] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0207] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0208] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0209] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.
[0210] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.
[0211] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.
Claims
1. A service control method, characterized in that: The method comprises: Obtaining request information for a target object, and parsing the request information to obtain intent information; Determine an intention level corresponding to the intention information, the intention level includes 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-type intention between the system level and the common level; According to the intention level, an operation corresponding to the intention level is performed on the target object; Wherein, performing an operation corresponding to the intention level on the target object according to the intention level includes: If the intention level is the first level, obtaining the current business status of the target object; If the current service state is an idle state, sending 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 service 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 service to respond to the request information according to the intention information.
2. The method according to claim 1, characterized in that The performing an operation corresponding to the intention level on the target object according to the intention level includes: 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.
3. The method according to claim 1, characterized in that The performing an operation corresponding to the intention level on the target object according to the intention level includes: 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.
4. A service control method, characterized in that: The method comprises: Acquire the information to be processed sent by the system control end, wherein the information to be processed is determined according to the intent level corresponding to the intent information in the request information sent to the target object, and the intent level includes 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 intent between the system level and the common level; According to the information to be processed, controlling the target object to perform a corresponding operation; Wherein, controlling the target object to perform a corresponding operation according to the information to be processed includes: If the intention level is the first level, obtaining the current business status of the target object; If the current service state is an idle state, sending 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 service 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 service to respond to the request information according to the intention information.
5. A service control device, characterized in that: include: An acquisition module, used to acquire request information for a target object, and parse the request information to acquire intent information; a determination module, configured to determine an intent level corresponding to the intent information, the intent levels comprising 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 intent between the system level and the common level; A control module, configured to perform an operation corresponding to the intention level on the target object according to the intention level; Wherein, performing an operation corresponding to the intention level on the target object according to the intention level includes: If the intention level is the first level, obtaining the current business status of the target object; If the current service state is an idle state, sending 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 service 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 service to respond to the request information according to the intention information.
6. A service control device, characterized in that: include: A first acquisition unit is used to acquire information to be processed sent by the system control end, wherein the information to be processed is determined according to the intent level corresponding to the intent information in the request information sent to the target object, and the intent level includes 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 intent between the system level and the common level; A control unit, used to control the target object to perform a corresponding operation according to the information to be processed; Wherein, controlling the target object to perform a corresponding operation according to the information to be processed includes: If the intention level is the first level, obtaining the current business status of the target object; If the current service state is an idle state, sending 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 service 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 service to respond to the request information according to the intention information.
7. A computer device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the service control method according to any one of claims 1 to 3 is implemented, or the service control method according to claim 4 is implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the service control method according to any one of claims 1 to 3 is implemented, or the service control method according to claim 4 is implemented.
