WO2019037122A1 - Artificial intelligence terminal and behavior control method therefor - Google Patents

Artificial intelligence terminal and behavior control method therefor Download PDF

Info

Publication number
WO2019037122A1
WO2019037122A1 PCT/CN2017/099157 CN2017099157W WO2019037122A1 WO 2019037122 A1 WO2019037122 A1 WO 2019037122A1 CN 2017099157 W CN2017099157 W CN 2017099157W WO 2019037122 A1 WO2019037122 A1 WO 2019037122A1
Authority
WO
WIPO (PCT)
Prior art keywords
artificial intelligence
cost
intelligence terminal
terminal
execution
Prior art date
Application number
PCT/CN2017/099157
Other languages
French (fr)
Chinese (zh)
Inventor
孙尚传
Original Assignee
深圳市得道健康管理有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市得道健康管理有限公司 filed Critical 深圳市得道健康管理有限公司
Priority to CN201780036287.5A priority Critical patent/CN109313450B/en
Priority to PCT/CN2017/099157 priority patent/WO2019037122A1/en
Publication of WO2019037122A1 publication Critical patent/WO2019037122A1/en

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0217Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory in accordance with energy consumption, time reduction or distance reduction criteria
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions

Definitions

  • the present application relates to the field of computer technology, and in particular, to an artificial intelligence terminal and a behavior control method thereof.
  • Artificial intelligence is a new technical science that studies and develops theories, methods, techniques, and applications that simulate, extend, and extend human intelligence. Artificial intelligence is a branch of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that responds in a manner similar to human intelligence. Research in this area includes robotics, speech recognition, image recognition, Natural language processing and expert systems. Since the official introduction of the artificial intelligence discipline in 1956, over the past 50 years, it has made great progress and become a wide-ranging crossover and cutting-edge science. Up to now, the development of artificial intelligence has penetrated into many aspects of social life, liberating human beings from heavy physical strength, and at the same time gradually liberating human brain labor.
  • the inventors of the present invention have found that the existing artificial intelligence terminals are still in the stage of weak artificial intelligence, and most of them still rely on the control of the users to perform corresponding behaviors.
  • a few artificial intelligence terminals can perform some self-execution for external commands in combination with environmental factors. Behavior, but these behaviors are often beneficial to their own behavior, without considering the situation of other terminals, belonging to pure self-interest, contrary to human morality, and can not meet the user's requirements for artificial intelligence.
  • the present invention provides a method for controlling behavior of an artificial intelligence terminal, the method comprising: the artificial intelligence terminal formulating at least two candidate execution strategies; and the artificial intelligence terminal transmitting at least two candidate execution strategies to other terminals, So that other terminals respectively judge the executable degree of each candidate execution policy; the artificial intelligence terminal receives the executable degree from other terminals; the artificial intelligence terminal selects the best execution strategy from the at least two candidate execution strategies according to the executable degree Artificial intelligence terminals perform optimal execution strategies.
  • the present invention also provides an artificial intelligence terminal, the terminal comprising a processor and a communication circuit, the processor is connected to the communication circuit; the processor is configured to execute the instruction to implement the behavior of the artificial intelligence terminal as described above. Control Method.
  • the present invention also proposes a computer storage medium having a program stored therein, the program being executable to implement the behavior control method of the artificial intelligence terminal as described above.
  • the artificial intelligence terminal selects the best execution strategy and executes the best execution strategy according to the executable degree obtained by the other terminal for at least two candidate execution strategy evaluations, in addition to itself in the process of this behavior control
  • the behavior control based on altruistic criteria is also implemented, so that the behavioral guidelines of artificial intelligence terminals are more in line with human moral requirements, more reasonable, meet the requirements of users, and formulate implementation strategies.
  • the process comprehensively considers the executable degree obtained by other terminal evaluations, optimizes the execution strategy of the final execution, and avoids the unnecessary overhead caused by the inappropriate execution strategy to itself and/or other terminals.
  • FIG. 1 is a schematic flow chart of a first embodiment of a behavior control method of an artificial intelligence terminal according to the present invention
  • FIG. 2 is a schematic flow chart of a second embodiment of a behavior control method of an artificial intelligence terminal according to the present invention
  • FIG. 3 is a schematic flow chart of a third embodiment of a behavior control method for an artificial intelligence terminal according to the present invention.
  • FIG. 4 is a schematic flow chart of a fourth embodiment of a behavior control method for an artificial intelligence terminal according to the present invention.
  • FIG. 5 is a schematic flowchart of a fifth embodiment of a behavior control method of an artificial intelligence terminal according to the present invention.
  • FIG. 6 is a schematic flowchart of a sixth embodiment of a behavior control method of an artificial intelligence terminal according to the present invention.
  • FIG. 7 is a schematic flowchart diagram of a seventh embodiment of a behavior control method of an artificial intelligence terminal according to the present invention.
  • FIG. 8 is a schematic flow chart of an eighth embodiment of a behavior control method for an artificial intelligence terminal according to the present invention.
  • FIG. 9 is a schematic flow chart of a ninth embodiment of a behavior control method for an artificial intelligence terminal according to the present invention.
  • FIG. 10 is a schematic flowchart diagram of a tenth embodiment of a behavior control method of an artificial intelligence terminal according to the present invention.
  • FIG. 11 is a schematic flow chart of an eleventh embodiment of a behavior control method for an artificial intelligence terminal according to the present invention.
  • FIG. 12 is a schematic flowchart diagram of a twelfth embodiment of a behavior control method for an artificial intelligence terminal according to the present invention.
  • FIG. 13 is a schematic flowchart diagram of a thirteenth embodiment of a behavior control method of an artificial intelligence terminal according to the present invention.
  • FIG. 14 is a schematic flowchart diagram of a fourteenth embodiment of a behavior control method of an artificial intelligence terminal according to the present invention.
  • 15 is a schematic flowchart diagram of a fifteenth embodiment of a behavior control method of an artificial intelligence terminal according to the present invention.
  • 16 is a schematic flowchart diagram of a sixteenth embodiment of a behavior control method of an artificial intelligence terminal according to the present invention.
  • FIG. 17 is a schematic structural diagram of a first embodiment of an artificial intelligence terminal according to the present invention.
  • Figure 18 is a block diagram showing the structure of a first embodiment of the computer storage medium of the present invention.
  • the first embodiment of the behavior control method of the artificial intelligence terminal of the present invention includes:
  • the artificial intelligence terminal receives an execution instruction from another terminal.
  • the artificial intelligence terminal may be an intelligent robot, an autonomous driving vehicle (for example, an autonomous driving vehicle) or other terminal having data analysis processing capability. Communication connection between other terminals and the terminal. Other terminals may be artificial intelligence terminals or non-intelligent terminals.
  • the execution instructions may be given by other terminals, or may be from a user, for example, other terminals receive instructions from the user (the touch screen, keyboard, microphone, camera, mouse, etc.).
  • the artificial intelligence terminal calculates the cost incurred by executing the execution instruction itself.
  • the cost overhead may refer to an increase in computation, motion, power consumption, and the like of the artificial intelligence terminal due to execution of the execution instruction and/or an additional overhead added by the user of the artificial intelligence terminal due to the execution of the execution instruction by the artificial intelligence terminal.
  • the artificial intelligence terminal is the self-driving car A
  • the other terminals are the self-driving car B, both of which are driving in the same lane and A is in front of B, B wants to overtake the line and sends A to the A to temporarily move to the side lane. instruction.
  • the cost overhead is the additional cost of moving from the current lane to the side lane and back from the side lane back to the current lane.
  • the artificial intelligence terminal determines whether the cost overhead is less than or equal to the cost benefit of other terminals.
  • the cost benefit is generated by other terminal terminals executing execution instructions by the artificial intelligence terminal, for example, calculations, motion, energy consumption, etc., which are reduced by other artificial terminals when executing instructions by the artificial intelligence terminal, and/or users of other terminals are executed by the artificial intelligence terminal.
  • the benefits of the instructions Still using the above example, for B, if A does not execute the command, then B needs to move from the current lane to the side lane over A and then from the side lane back to the current lane, otherwise if A executes the command, then B only needs to travel straight, and the difference between the two is the cost benefit of B.
  • the artificial intelligence terminal can calculate the cost and benefit by itself, and can also receive the cost benefit sent by other terminals.
  • the cost overhead is less than or equal to the cost benefit, it means that even if the execution of the execution instruction brings additional cost to the artificial intelligence terminal, it is not conducive to the artificial intelligence terminal, but at the same time can bring equal or more cost to other terminals. income.
  • the execution of the execution instruction does not bring additional overhead as a whole, and the overall benefit is realized, and the artificial intelligence terminal selects to execute the execution instruction.
  • the artificial intelligence terminal executes execution instructions from other terminals when its own cost overhead is less than or equal to the cost benefit of other terminals.
  • behavior control in addition to its own situation, it is also considered.
  • the behavior control based on the altruistic criteria is realized, which makes the behavioral norms of the artificial intelligence terminal more in line with human moral requirements, more reasonable and meets the requirements of users.
  • the second embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the first embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and notifies other after deciding whether to execute or not executing the execution instruction.
  • the terminal, and the artificial intelligence terminal calculates the cost benefit by itself.
  • This embodiment is an extension of the first embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and the same portions are not described herein again.
  • This embodiment includes:
  • the artificial intelligence terminal receives an execution instruction from another terminal.
  • the artificial intelligence terminal calculates the cost incurred by executing the execution instruction itself.
  • S113 The artificial intelligence terminal calculates the cost benefit.
  • step S112 The order of execution of this step and step S112 is merely illustrative, and the sequence may be executed or reversed at the same time.
  • S114 The artificial intelligence terminal determines whether the cost overhead is less than or equal to the cost benefit of other terminals.
  • step S115 If the cost overhead is less than or equal to the cost benefit, then the process goes to step S115; otherwise, the process goes to step S117.
  • S115 The artificial intelligence terminal executes an execution instruction.
  • the artificial intelligence terminal sends a successful execution notification to other terminals.
  • a successful execution notification is used to indicate that the execution instruction has been executed. End the process.
  • the artificial intelligence terminal sends a rejection execution notification to other terminals.
  • the refusal execution notification is used to indicate that the execution instruction was not executed.
  • the rejection notice may also include a reason for rejection. End the process.
  • the third embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the first embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and notifies other after deciding to execute or not execute the execution instruction.
  • the terminal, and the artificial intelligence terminal receives cost benefits from other terminals.
  • This embodiment is an extension of the first embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and the same portions are not described herein again.
  • This embodiment includes:
  • the artificial intelligence terminal receives an execution instruction from another terminal.
  • the artificial intelligence terminal calculates the cost incurred by executing the execution instruction itself.
  • S123 The artificial intelligence terminal receives the cost benefit from other terminals.
  • the artificial intelligence terminal determines whether the cost overhead is less than or equal to the cost benefit of other terminals.
  • step S125 If the cost overhead is less than or equal to the cost benefit, then the process goes to step S125; otherwise, the process goes to step S127.
  • S125 The artificial intelligence terminal executes an execution instruction.
  • the artificial intelligence terminal sends a successful execution notification to other terminals.
  • a successful execution notification is used to indicate that the execution instruction has been executed. End the process.
  • S128 The artificial intelligence terminal sends a rejection execution notification to other terminals.
  • the refusal execution notification is used to indicate that the execution instruction was not executed.
  • the rejection notice may also include a reason for rejection. End the process.
  • the artificial intelligence terminal notifies the other terminal whether the execution of the instruction is executed in an explicit manner, that is, by sending a success/rejection execution notification.
  • the artificial intelligence terminal may also select Partially notified in a hidden way. For example, if a notification time is set, if the artificial intelligence terminal decides to execute the execution instruction, the notification message is sent to the other terminal within the notification time, and if the artificial intelligence terminal decides not to execute the execution instruction, the notification message is not sent. Or conversely, if the artificial intelligence terminal decides not to execute the execution instruction, the notification message is sent to the other terminal within the notification time, and if the artificial intelligence terminal decides to execute the execution instruction, the notification message is not sent.
  • the fourth embodiment of the behavior control method of the artificial intelligence terminal of the present invention includes:
  • the artificial intelligence terminal receives an execution instruction from another terminal
  • the main difference between this embodiment and the first embodiment of the behavior control method of the artificial intelligence terminal of the present invention is that it is based on the relationship between the weighted cost overhead and the weighted cost benefit rather than the relationship between the cost overhead and the cost benefit. Execution instructions are executed, and the same/similar parts are not repeated here.
  • the artificial intelligence terminal calculates the cost incurred by executing the execution instruction itself.
  • the artificial intelligence terminal determines whether the weighted cost overhead is less than or equal to the weighted cost benefit of other terminals.
  • the weighted cost overhead is the product of the weight of the artificial intelligence terminal and the cost overhead.
  • the weighted cost benefit is the product of the weight of other terminals and the cost benefit.
  • the cost benefit is generated by other terminals executing instructions by the artificial intelligence terminal. For example, other terminals are artificial.
  • the intelligent terminal executes execution instructions to reduce computational, motion, power consumption, etc. and/or the benefits of the user of other terminals due to the execution of the execution instructions by the artificial intelligence terminal.
  • the artificial intelligence terminal Before this step is performed, the artificial intelligence terminal needs to obtain the weighted cost overhead and the weighted cost benefit.
  • the artificial intelligence terminal can multiply its own weight by the cost overhead to obtain a weighted cost overhead.
  • the artificial intelligence terminal can calculate the cost return by itself and multiply the weight of other terminals to obtain the weighted cost return. It can also receive the cost income sent by other terminals and then multiply the weight of other terminals to obtain the weighted cost return, or directly receive the other terminal. Weighted cost benefit.
  • the weight of an artificial intelligence terminal/other terminal is determined by its priority.
  • the priority can be determined only by the attributes of the artificial intelligence terminal/other terminal itself. For example, still taking the self-driving car as an example, the priority of the ambulance/rescue/police car can be set to be the highest, and the priority of the school bus/transit bus is second. Then there is the ordinary manned car, which has the lowest priority.
  • the user attribute of the artificial intelligence terminal can also be considered in the priority setting. For example, for an ordinary manned self-driving car, the priority of the self-driving car at the destination of the airport/train station/car station/school/hospital can be set to be high. For autonomous vehicles that are destined for other locations, the higher the priority of the destination, the higher the priority of the number of passengers.
  • weighted cost overhead is less than or equal to the weighted cost benefit, it means that even if the execution of the execution instruction brings additional weighted cost overhead to the artificial intelligence terminal, it is not conducive to the artificial intelligence terminal, but at the same time can bring equal or more to other terminals. More weighted cost benefits.
  • the execution of the execution instruction does not bring additional overhead as a whole, and the overall benefit is realized, and the artificial intelligence terminal selects to execute the execution instruction.
  • the artificial intelligence terminal executes execution instructions from other terminals when its weighted cost overhead is less than or equal to the weighted cost benefit of other terminals.
  • behavior control in addition to its own situation, Considering the situation of other terminals, the behavior control based on altruistic criteria is realized, which makes the behavioral rules of artificial intelligence terminals more in line with human moral requirements, more reasonable, meets the requirements of users, and takes into account artificial intelligence terminals in the behavior control process.
  • the weight of other terminals further improves the accuracy of the judgment.
  • the fifth embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the fourth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and notifies other after deciding to execute or not execute the execution instruction.
  • the terminal, and the artificial intelligence terminal calculates the cost benefit by itself.
  • This embodiment is an extension of the fourth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and the same portions are not described herein again.
  • This embodiment includes:
  • the artificial intelligence terminal receives the weight of itself and other terminals.
  • the artificial intelligence terminal can receive the weight assigned to itself from the server or the control center, and receive the weights of other terminals from the server, the control center, or other terminals.
  • the artificial intelligence terminal may locally store the weight of itself and/or other terminals, in which case this step may be partially or completely omitted.
  • step S214 only needs to be performed before step S214, and the order of execution between steps S211, S212, and S213 is not limited.
  • the artificial intelligence terminal receives an execution instruction from another terminal.
  • the artificial intelligence terminal calculates the cost incurred by executing the execution instruction itself.
  • the artificial intelligence terminal calculates the cost benefit generated by the other terminal due to the execution of the execution instruction by the artificial intelligence terminal.
  • step S212 The order of execution of this step and step S212 is merely illustrative, and the sequence may be executed or reversed at the same time.
  • the artificial intelligence terminal calculates a weighted cost overhead and a weighted cost benefit.
  • S215 The artificial intelligence terminal determines whether the weighted cost overhead is less than or equal to the weighted cost benefit.
  • step S216 If the weighted cost overhead is less than or equal to the weighted cost benefit, then the process goes to step S216; otherwise, the process goes to step S218.
  • S216 The artificial intelligence terminal executes an execution instruction.
  • S217 The artificial intelligence terminal sends a successful execution notification to other terminals.
  • a successful execution notification is used to indicate that the execution instruction has been executed. End the process.
  • the artificial intelligence terminal sends a rejection execution notification to other terminals.
  • the refusal execution notification is used to indicate that the execution instruction was not executed.
  • the rejection notice may also include a reason for rejection. End the process.
  • the sixth embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the fourth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and notifies other after deciding to execute or not execute the execution instruction.
  • the terminal, and the weighted cost benefit is calculated by the artificial intelligence terminal after receiving the cost benefit.
  • This embodiment is an extension of the fourth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and the same portions are not described herein again.
  • This embodiment includes:
  • S220 The artificial intelligence terminal receives the weight of itself and other terminals.
  • Artificial intelligence can receive weights assigned to itself from the server or control center and receive weights from other terminals from servers, control centers, or other terminals.
  • the artificial intelligence terminal may locally store the weight of itself and/or other terminals, in which case this step may be partially or completely omitted.
  • step S224 This step only needs to be performed before step S224, and the order of execution between steps S221, S222, and S223 is not limited.
  • the artificial intelligence terminal receives an execution instruction from another terminal
  • the artificial intelligence terminal calculates the cost incurred by executing the execution instruction itself.
  • S223 The artificial intelligence terminal receives the cost benefit from other terminals.
  • the artificial intelligence terminal calculates a weighted cost overhead and a weighted cost benefit.
  • S225 The artificial intelligence terminal determines whether the weighted cost overhead is less than or equal to the weighted cost benefit.
  • step S226 If the weighted cost overhead is less than or equal to the weighted cost benefit, then the process goes to step S226; otherwise, the process goes to step S228.
  • S226 The artificial intelligence terminal executes an execution instruction.
  • the artificial intelligence terminal sends a successful execution notification to other terminals.
  • a successful execution notification is used to indicate that the execution instruction has been executed. End the process.
  • S228 The artificial intelligence terminal does not execute the execution instruction.
  • S229 The artificial intelligence terminal sends a rejection execution notification to other terminals.
  • the refusal execution notification is used to indicate that the execution instruction was not executed.
  • the rejection notice may also include a reason for rejection. End the process.
  • the seventh embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the fourth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and notifies other after deciding whether to execute or not executing the execution instruction.
  • the terminal, and the weighted cost benefit is calculated by the artificial intelligence terminal after receiving the cost benefit.
  • This embodiment is an extension of the fourth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and the same portions are not described herein again.
  • This embodiment includes:
  • S230 The artificial intelligence terminal receives its own weight.
  • Artificial intelligence can receive weights assigned to itself from the server or control center.
  • the artificial intelligence terminal may have its own weight stored locally, in which case this step may be omitted.
  • step S234 only needs to be performed before step S234, and the order of execution between steps S231, S232, and S233 is not limited.
  • the artificial intelligence terminal receives an execution instruction from another terminal
  • the artificial intelligence terminal calculates the cost incurred by executing the execution instruction itself.
  • the artificial intelligence terminal calculates a weighted cost overhead.
  • the artificial intelligence terminal receives the weighted cost benefit from other terminals.
  • step S230 to step S233 is merely illustrative, and the sequence may be executed or reversed at the same time.
  • S235 The artificial intelligence terminal determines whether the weighted cost overhead is less than or equal to the weighted cost benefit.
  • step S236 If the weighted cost overhead is less than or equal to the weighted cost benefit, then the process goes to step S236; otherwise, the process goes to step S238.
  • S236 The artificial intelligence terminal executes an execution instruction.
  • the artificial intelligence terminal sends a successful execution notification to other terminals.
  • a successful execution notification is used to indicate that the execution instruction has been executed. End the process.
  • the artificial intelligence terminal sends a rejection execution notification to other terminals.
  • the refusal execution notification is used to indicate that the execution instruction was not executed.
  • the rejection notice may also include a reason for rejection. End the process.
  • the artificial intelligence terminal notifies the other terminal whether the execution of the instruction is executed in an explicit manner, that is, by sending a success/rejection execution notification.
  • the artificial intelligence terminal may also select Partially notified in a hidden way. For example, if a notification time is set, if the artificial intelligence terminal decides to execute the execution instruction, the notification message is sent to the other terminal within the notification time, and if the artificial intelligence terminal decides not to execute the execution instruction, the notification message is not sent. Or conversely, if the artificial intelligence terminal decides not to execute the execution instruction, the notification message is sent to the other terminal within the notification time, and if the artificial intelligence terminal decides to execute the execution instruction, the notification message is not sent.
  • the eighth embodiment of the behavior control method of the artificial intelligence terminal of the present invention includes:
  • S31 The artificial intelligence terminal formulates an execution strategy.
  • the execution policy may include an instruction to be executed by the artificial intelligence terminal itself and/or a number of related instructions to be executed by other terminals, and the two instructions generally cooperate with each other.
  • the artificial intelligence terminal may be an intelligent robot, an autonomous driving vehicle (for example, an autonomous driving vehicle) or other terminal having data analysis processing capability. Communication connection between other terminals and the terminal. Other terminals may be artificial intelligence terminals or non-intelligent terminals.
  • the artificial intelligence terminal is the self-driving car C
  • the other terminals include the self-driving cars D and E
  • the three are driving in the same lane and the D and E are in front of the C
  • the execution strategy formulated by C includes itself. Straight overtaking, D and E temporarily move to the side lane.
  • the artificial intelligence terminal separately calculates the cost incurred by the other terminals involved in the execution strategy due to executing the execution strategy and the cost benefits generated by the artificial intelligence terminal itself by executing the execution strategy by other terminals.
  • the cost overhead may refer to an increase in computation, motion, energy consumption, and the like of other terminals and/or their users due to execution of the execution policy by other terminals.
  • the cost benefit may be the computational, motion, energy, and the like that the artificial intelligence terminal and/or its user reduces due to the execution of the execution strategy by the artificial intelligence terminal.
  • the cost overhead for D and E is the additional cost of moving from the current lane to the side lane and then from the side lane back to the current lane; for C, if D and If E does not cooperate with the implementation of the execution strategy, then C needs to move from the current lane to the side lane beyond D and E and then move back from the side lane to the current lane. If D and E cooperate to execute the execution strategy, then C only needs to travel straight. Yes, the difference between the two is the cost benefit of C.
  • S33 The artificial intelligence terminal judges whether to execute the execution strategy according to the overall benefit principle according to the cost benefit and the cost overhead.
  • the criterion for judgment is the overall benefit, that is, the implementation of the execution strategy does not bring additional overhead as a whole, and the whole includes artificial intelligence terminals and all other terminals.
  • the artificial intelligence terminal may execute the execution strategy if the cost benefit is greater than or equal to the sum of the cost expenses, or execute the execution strategy if the weighted cost benefit is greater than or equal to the sum of the weighted cost expenses.
  • the artificial intelligence terminal may execute the execution policy by itself and/or notify other terminals involved in the execution of the execution policy.
  • the artificial intelligence terminal evaluates the cost benefit and the cost overhead of the execution strategy according to the overall benefit criterion after formulating the execution strategy, thereby determining whether to execute the execution strategy, in addition to itself in the process of controlling the behavior.
  • the behavior control based on altruistic criteria is also implemented, so that the behavioral rules of artificial intelligence terminals are more in line with human moral requirements, more reasonable, meet the requirements of users, and formulate implementation strategies. Behavioral control is implemented to avoid unnecessary overhead caused by inappropriate execution policies to themselves and/or other terminals.
  • the ninth embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the eighth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and judges whether to execute according to the cost benefit and the cost overhead itself. Execution strategy.
  • This embodiment is an extension of the eighth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and the same portions are not described herein again.
  • This embodiment includes:
  • S311 The artificial intelligence terminal formulates an execution strategy.
  • the artificial intelligence terminal separately calculates the cost incurred by the other terminals involved in the execution strategy due to executing the execution strategy and the cost benefits generated by the artificial intelligence terminal itself by executing the execution strategy by other terminals.
  • S313 The artificial intelligence terminal determines whether the cost benefit is greater than or equal to the sum of the cost expenses.
  • the sum of the cost overheads is equal to the cost overhead of the other other terminals.
  • the cost benefit is greater than or equal to the sum of the cost, it means that even if the implementation of the execution strategy brings additional cost to other terminals, it is not conducive to other terminals, but at the same time can bring equal or more to the artificial intelligence terminal.
  • the cost benefit satisfying the overall benefit principle, jumps to step S314; otherwise, it jumps to step S315. In other embodiments, if the cost benefit is less than the sum of the cost overheads, the process can be terminated.
  • S314 The artificial intelligence terminal itself performs an execution policy and/or notifies other terminals to execute an execution policy.
  • the tenth embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the weighted cost benefit and the weighted cost overhead of the eighth embodiment of the behavior control method of the artificial intelligence terminal of the present invention.
  • Execute the execution strategy This embodiment is an extension of the eighth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and the same portions are not described herein again.
  • This embodiment includes:
  • S321 The artificial intelligence terminal formulates an execution strategy.
  • the artificial intelligence terminal separately calculates the cost incurred by the other terminals involved in the execution strategy due to executing the execution strategy, and the cost benefits generated by the artificial intelligence terminal itself by executing the execution strategy by other terminals.
  • S323 The artificial intelligence terminal calculates the weighted cost overhead and the weighted cost benefit according to the cost overhead and the cost return respectively.
  • the weighted cost benefit is the product of the cost benefit and the weight of the artificial intelligence terminal
  • the weighted cost overhead is the weighted sum of the cost overheads of all other terminals
  • the weight in the weighted sum is the weight of each other terminal. If the total number of other terminals is 1, the sum of the weighted cost overheads is equal to the weighted cost overhead of the unique other terminal.
  • the weight of an artificial intelligence terminal/other terminal is determined by its priority.
  • the priority can be determined only by the attributes of the artificial intelligence terminal itself. For example, still taking the self-driving car as an example, the ambulance/firetruck/police car can be set to have the highest priority, the school bus/transit bus priority is followed, and then the ordinary For manned vehicles, trucks have the lowest priority.
  • the user attribute of the artificial intelligence terminal can also be considered in the priority setting. For example, for an ordinary manned self-driving car, the priority of the self-driving car at the destination of the airport/train station/car station/school/hospital can be set to be high. For autonomous vehicles that are destined for other locations, the higher the priority of the destination, the higher the priority of the number of passengers.
  • S324 The artificial intelligence terminal determines whether the weighted cost benefit is greater than or equal to the sum of the weighted cost expenses.
  • weighted cost benefit is greater than or equal to the sum of the weighted cost expenses, it means that even if the execution of the execution strategy brings additional weighted cost overhead to other terminals, it is not conducive to other terminals, but at the same time can bring equality to the artificial intelligence terminal. Or more weighted cost benefits, satisfying the overall benefit principle, jump to step S325; otherwise, jump to step S326. In other embodiments, the process may end if the weighted cost benefit is less than the sum of the weighted cost overheads.
  • S325 The artificial intelligence terminal itself performs an execution policy and/or notifies other terminals to execute an execution policy.
  • the present embodiment adopts a weighted cost benefit/overhead instead of a cost benefit/overhead in the judging process, and further improves the accuracy of the judging by considering the weights of the artificial intelligence terminal and other terminals.
  • the eleventh embodiment of the behavior control method of the artificial intelligence terminal of the present invention includes:
  • the artificial intelligence terminal accumulates the self-cost return generated by the other terminal to execute its own instruction, obtains the accumulated cost of the own cost, and accumulates other people's cost benefits generated by the other terminal's execution of the instruction of the other terminal by the artificial intelligence terminal to obtain others.
  • the cumulative value of cost and revenue The cumulative value of cost and revenue.
  • the artificial intelligence terminal may be an intelligent robot, an autonomous driving vehicle (for example, an autonomous driving vehicle) or other terminal having data analysis processing capability. Communication connection between other terminals and the terminal. Other terminals may be artificial intelligence terminals or non-intelligent terminals.
  • the execution instructions of the artificial intelligence terminal/other terminal may be given by the artificial intelligence terminal/other terminal, or may be from the user, such as an artificial intelligence terminal/other terminal from its input device (touch screen, keyboard, microphone, camera, The mouse, etc.) receives the instruction given by the user.
  • the accumulated value of the cost-earnings of itself may be the sum or weighted sum of the self-costs and returns within the preset time period, and the accumulated value of the cost-earnings of others may be the sum or weighted sum of the cost-of-interests of others within the preset time period.
  • the artificial intelligence terminal needs to obtain the weight of itself and/or other terminals before this step.
  • the artificial intelligence terminal can receive the weight assigned to itself from the server or the control center, and receive the weights of other terminals from the server, the control center, or other terminals.
  • the artificial intelligence terminal can directly read the weights of the locally saved itself and/or other terminals, and then receive the local unsaved weights.
  • the weight of an artificial intelligence terminal/other terminal is determined by its priority.
  • the priority can be determined only by the attributes of the artificial intelligence terminal/other terminal itself. For example, still taking the self-driving car as an example, the priority of the ambulance/rescue/police car can be set to be the highest, and the priority of the school bus/transit bus is second. Then there is the ordinary manned car, which has the lowest priority.
  • the user attribute of the artificial intelligence terminal can also be considered in the priority setting. For example, for an ordinary manned self-driving car, the priority of the self-driving car at the destination of the airport/train station/car station/school/hospital can be set to be high. For autonomous vehicles that are destined for other locations, the higher the priority of the destination, the higher the priority of the number of passengers.
  • the artificial intelligence terminal controls its own decision according to the accumulated cost value of itself and the accumulated value of the cost of others, so that the difference between the accumulated value of the cost-earnings and the accumulated value of the cost-earnings of others is kept within a preset range.
  • a decision can refer to an execution instruction that determines whether to execute itself and/or other terminals.
  • the difference between the accumulated cost of the own cost and the accumulated value of the cost of the other person may refer to the difference between the two, or the absolute value of the difference between the two.
  • the artificial intelligence terminal controls its own decision so that the difference between the accumulated cost of the cost and the accumulated value of the cost of the other person is kept within the preset range, and in the process of behavior control, the self and others are guaranteed.
  • the balance of the accumulated value of the income realizes the behavior control based on the altruistic criteria rather than the self-interest, so that the behavioral norms of the artificial intelligence terminal are more in line with the human moral requirements, more reasonable and meet the requirements of the users.
  • the twelfth embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the eleventh embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and S42 includes:
  • the artificial intelligence terminal calculates the self-cost return and/or the cost benefit of others generated by executing the instruction.
  • Execution instructions may include their own execution instructions and/or execution instructions of other terminals.
  • the artificial intelligence terminal updates the accumulated cost value of the own cost and/or the accumulated value of the cost of the other person according to the calculation result.
  • the artificial intelligence terminal determines whether the difference between the updated self-cost return cumulative value and the other person's cost-revenue accumulated value belongs to a preset range.
  • step S424 If yes, the process goes to step S424; otherwise, the process goes to step S425.
  • the artificial intelligence terminal may execute the own execution instruction itself and/or notify the relevant other terminal to execute the own execution instruction. If the execution instruction includes the execution instruction of the other terminal, the artificial intelligence terminal may execute the execution instruction of the other terminal. After the execution is completed, the artificial intelligence terminal may further select to notify the corresponding other terminal in an explicit or implicit manner, which may be specifically referred to. Corresponding description of the second and third embodiments of the behavior control method of the artificial intelligence terminal of the present invention.
  • the artificial intelligence terminal may select to notify other terminals in an explicit or implicit manner after the step, and specifically refer to the second and third implementations of the behavior control method of the artificial intelligence terminal of the present invention. Corresponding description of the example.
  • the thirteenth embodiment of the behavior control method of the artificial intelligence terminal of the present invention includes:
  • the artificial intelligence terminal formulates at least two candidate execution strategies.
  • the artificial intelligence terminal may be an intelligent robot, an autonomous driving vehicle (for example, an autonomous driving vehicle) or other terminal having data analysis processing capability.
  • the artificial intelligence terminal is used as a formulator of the execution strategy.
  • Each candidate execution strategy may include candidate instructions of the artificial intelligence terminal itself and/or candidate instructions of several related other terminals, and the two instructions generally cooperate with each other.
  • the artificial intelligence terminal is the self-driving car F
  • the other terminals include the self-driving cars G and H
  • the three are driving in the same lane and the G and H are in front of the F
  • the execution strategy includes its own straight-through overtaking, G and H temporarily move to the side lane
  • the second candidate execution strategy includes self-overtaking from the side lane, and G and H maintain straight-line driving.
  • the artificial intelligence terminal sends at least two candidate execution policies to other terminals, so that other terminals respectively evaluate the executable degree of each candidate execution policy.
  • the artificial intelligence terminal can limit each other terminal to a maximum/minimum/only selectable (for example one) executable candidate execution strategy, or can be judged by other terminals.
  • the value of the executable degree may also be a plurality of consecutive or discontinuous numbers, and the greater the value of the executable degree, the stronger the willingness of other terminals to execute their corresponding candidate execution strategies.
  • the other terminals involved in the different candidate execution policies may be different.
  • the artificial intelligence terminal may send the candidate execution policy only to other terminals involved in each candidate execution policy, or may uniformly send to all other terminals involved in all candidate execution policies. All candidate execution strategies.
  • S53 The artificial intelligence terminal receives the executable degree from other terminals.
  • the artificial intelligence terminal selects an optimal execution policy from the at least two candidate execution strategies according to the executable degree.
  • the artificial intelligence terminal may obtain the comprehensive executable degree of the candidate execution strategy according to the executable degree statistics of the candidate execution policy by each other terminal, and then select according to the comprehensive executable degree of all candidate execution strategies.
  • the calculation process of the candidate execution strategy evaluation by the artificial intelligence terminal itself may or may not be considered in the calculation process of the comprehensive executable degree of each candidate execution strategy.
  • S55 The artificial intelligence terminal performs an optimal execution strategy.
  • the artificial intelligence terminal may perform an optimal execution policy by itself and/or notify other terminals to perform an optimal execution strategy.
  • the artificial intelligence terminal selects an optimal execution strategy and performs an optimal execution strategy according to the executable degree obtained by the other terminal for at least two candidate execution policy evaluations, in addition to itself in the process of controlling the behavior.
  • the behavior control based on altruistic criteria is also implemented, so that the behavioral guidelines of artificial intelligence terminals are more in line with human moral requirements, more reasonable, meet the requirements of users, and formulate implementation strategies.
  • the process comprehensively considers the executable degree obtained by other terminal evaluations, optimizes the execution strategy of the final execution, and avoids the unnecessary overhead caused by the inappropriate execution strategy to itself and/or other terminals.
  • the fourteenth embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the thirteenth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and S54 includes:
  • S541 The artificial intelligence terminal counts the comprehensive executable degree of each candidate execution strategy.
  • the comprehensive enforceability of each candidate execution strategy is the sum or weighted sum of its executables, and if it is a weighted sum, the weight of the weighted sum is the weight of other terminals.
  • the weight of the self-driving car G is sg
  • the executables for the first and second candidate execution strategies are g1 and g2, respectively
  • the weight of the self-driving car H is sh
  • the enforceability of the first and second candidate execution strategy evaluations is h1 and h2, respectively.
  • the comprehensive executable degree of the first candidate execution strategy is g1+h1 (sum) or sg*g1+sh*h1 (weighted sum)
  • the comprehensive executable degree of the second candidate execution strategy is g2+h2 (sum) Or sg*g2+sh*h2 (weighted sum).
  • S542 The artificial intelligence terminal selects the candidate execution strategy with the largest comprehensive executable as the best execution strategy.
  • the fifteenth embodiment of the behavior control method of the artificial intelligence terminal of the present invention includes:
  • the artificial intelligence terminal receives at least one candidate execution policy from another terminal.
  • the artificial intelligence terminal may be an intelligent robot, an autonomous driving vehicle (for example, an autonomous driving vehicle) or other terminal having data analysis processing capability.
  • the artificial intelligence terminal is used as an evaluation party of the execution strategy.
  • S62 The artificial intelligence terminal judges the executable degree of each candidate execution strategy.
  • the artificial intelligence terminal can refer to any one of the first to seventh, eleventh and twelfth embodiments of the behavior control method of the artificial intelligence terminal of the present invention and the method provided by the combination of non-collision Evaluation, if it is determined that the candidate execution strategy can be executed, it is determined that the value of its executable degree is a, otherwise the value of its executable degree is determined to be b, a>b.
  • other methods can also be used for judging.
  • the artificial intelligence terminal sends the executable degree to other terminals, so that the other terminals select the best execution policy from the at least two candidate execution policies according to the executable degree and execute the optimal execution strategy.
  • the sixteenth embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the fifteenth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and S62 includes:
  • the artificial intelligence terminal separately calculates the cost cost generated by each candidate execution strategy and the cost benefit generated by the other artificial terminal by executing each candidate execution strategy.
  • the artificial intelligence terminal calculates the executable degree according to the cost overhead and the cost benefit.
  • the formula for calculating the enforceability should satisfy the altruistic principle. For example, for a candidate execution strategy, the artificial intelligence terminal calculates a cost cost of x, a cost benefit of y, and an executable degree of (yx)/(y+x), (yx)/y, or (yx)/ x and so on.
  • the first embodiment of the artificial intelligence terminal of the present invention includes a processor 110 and a communication circuit 120, and the processor 110 is connected to the communication circuit 120.
  • the communication circuit 120 is used for transmitting and receiving data, and is an interface for the artificial intelligence terminal to communicate with other terminals.
  • the processor 110 controls the operation of the artificial intelligence terminal, and the processor 110 may also be referred to as a CPU (Central Processing). Unit, central processing unit).
  • Processor 110 may be an integrated circuit chip with signal processing capabilities.
  • the processor 110 can also be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, and discrete hardware components.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the processor 110 is operative to execute instructions to implement any of the embodiments of the behavioral control method of the artificial intelligence terminal of the present invention and any non-conflicting combination.
  • the first embodiment of the computer storage medium of the present invention includes a memory 200 in which a program is stored, the program can be executed to implement any embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and any non-conflicting Combine the methods provided.
  • the memory 200 can include a read only memory (ROM, Read-Only) Memory), Random Access Memory (RAM), Flash Memory, hard disk, optical disk, etc.
  • ROM read only memory
  • RAM Random Access Memory
  • Flash Memory hard disk, optical disk, etc.
  • the disclosed artificial intelligence terminal can be implemented in other manners.
  • the device implementation is only illustrative.
  • the division of the module or resource unit is only a logical function division.
  • multiple resource units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or resource unit, and may be in an electrical, mechanical or other form.
  • the resource units described as separate components may or may not be physically separated.
  • the components displayed as resource units may or may not be physical resource units, that is, may be located in one place, or may be distributed to multiple networks. On the resource unit. Some or all of the resource units may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
  • each functional resource unit in each embodiment of the present invention may be integrated into one processing resource unit, or each resource unit may exist physically separately, or two or more resource units may be integrated into one resource unit.
  • the above integrated resource unit can be implemented in the form of hardware or in the form of a software function resource unit.
  • the integrated resource unit if implemented in the form of a software functional resource unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods of the various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (ROM, Read-Only) Memory, random access memory (RAM), disk or optical disk, and other media that can store program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

Disclosed is a behavior control method of an artificial intelligence terminal. The method comprises: an artificial intelligence terminal formulating at least two candidate execution policies; the artificial intelligence terminal transmitting the at least two candidate execution policies to another terminal, such that said another terminal performs evaluation of feasibilities of the respective candidate execution policies; the artificial intelligence terminal receiving the feasibilities from said another terminal; the artificial intelligence terminal selecting, according to the feasibilities, the optimal execution policy from the at least two candidate execution policies; and the artificial intelligence terminal executing the optimal execution policy. Also disclosed are an artificial intelligence terminal and a computer storage medium.

Description

人工智能终端及其行为控制方法 Artificial intelligence terminal and behavior control method thereof
【技术领域】[Technical Field]
本申请涉及计算机技术领域,特别是涉及一种人工智能终端及其行为控制方法。The present application relates to the field of computer technology, and in particular, to an artificial intelligence terminal and a behavior control method thereof.
【背景技术】 【Background technique】
人工智能(AI ,Artificial Intelligence)是研究、开发用于模拟、延伸和扩展人的智能的理论、方法、技术及应用系统的一门新的技术科学。 人工智能是计算机科学的一个分支,它企图了解智能的实质,并生产出一种新的能以人类智能相似的方式做出反应的智能机器,该领域的研究包括机器人、语言识别、图像识别、自然语言处理和专家系统等。从1956年正式提出人工智能学科算起,50多年来,取得长足的发展,成为一门广泛的交叉和前沿科学。时至今日,人工智能的发展已经渗透到社会生活中的很多层面,把人类从繁重的体力中解放出来,同时也在逐步解放人类的脑力劳动。Artificial intelligence (AI, Artificial Intelligence) is a new technical science that studies and develops theories, methods, techniques, and applications that simulate, extend, and extend human intelligence. Artificial intelligence is a branch of computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that responds in a manner similar to human intelligence. Research in this area includes robotics, speech recognition, image recognition, Natural language processing and expert systems. Since the official introduction of the artificial intelligence discipline in 1956, over the past 50 years, it has made great progress and become a wide-ranging crossover and cutting-edge science. Up to now, the development of artificial intelligence has penetrated into many aspects of social life, liberating human beings from heavy physical strength, and at the same time gradually liberating human brain labor.
本发明的发明人发现,现有的人工智能终端,目前还处于弱人工智能阶段,多数还是依赖于用户的控制而执行相应的行为,少数的人工智能终端能够针对外界指令结合环境因素自行执行一些行为,但这些行为往往都是对其自身有益的行为,而不去考虑其他终端的情况,属于纯粹的利己,与人类的道德是相悖的,并不能满足用户对人工智能的要求。The inventors of the present invention have found that the existing artificial intelligence terminals are still in the stage of weak artificial intelligence, and most of them still rely on the control of the users to perform corresponding behaviors. A few artificial intelligence terminals can perform some self-execution for external commands in combination with environmental factors. Behavior, but these behaviors are often beneficial to their own behavior, without considering the situation of other terminals, belonging to pure self-interest, contrary to human morality, and can not meet the user's requirements for artificial intelligence.
【发明内容】 [Summary of the Invention]
为了至少部分解决以上问题,本发明提出了一种人工智能终端的行为控制方法,该方法包括:人工智能终端制定至少两个候选执行策略;人工智能终端向其他终端发送至少两个候选执行策略,以使得其他终端分别评判每个候选执行策略的可执行度;人工智能终端接收来自于其他终端的可执行度;人工智能终端根据可执行度从至少两个候选执行策略中选出最佳执行策略;人工智能终端执行最佳执行策略。In order to at least partially solve the above problems, the present invention provides a method for controlling behavior of an artificial intelligence terminal, the method comprising: the artificial intelligence terminal formulating at least two candidate execution strategies; and the artificial intelligence terminal transmitting at least two candidate execution strategies to other terminals, So that other terminals respectively judge the executable degree of each candidate execution policy; the artificial intelligence terminal receives the executable degree from other terminals; the artificial intelligence terminal selects the best execution strategy from the at least two candidate execution strategies according to the executable degree Artificial intelligence terminals perform optimal execution strategies.
为了至少部分解决以上问题,本发明还提出了一种人工智能终端,该终端包括处理器和通信电路,处理器连接通信电路;处理器用于执行指令以实现如前所述的人工智能终端的行为控制方法。In order to at least partially solve the above problems, the present invention also provides an artificial intelligence terminal, the terminal comprising a processor and a communication circuit, the processor is connected to the communication circuit; the processor is configured to execute the instruction to implement the behavior of the artificial intelligence terminal as described above. Control Method.
为了至少部分解决以上问题,本发明还提出了一种计算机存储介质,该计算机存储介质中存储有程序,程序能够被执行以实现如前所述的人工智能终端的行为控制方法。In order to at least partially solve the above problems, the present invention also proposes a computer storage medium having a program stored therein, the program being executable to implement the behavior control method of the artificial intelligence terminal as described above.
本发明的有益效果是:人工智能终端根据其他终端对至少两个候选执行策略评价得到的可执行度来选择最佳执行策略并执行最佳执行策略,在这一行为控制的过程中,除了自身的情况之外,还考虑了其他终端的情况,实现了基于利他准则的行为控制,使得人工智能终端的行为准则更加符合人类的道德要求,更加合理,满足用户的要求,并且在制定执行策略的过程中综合考虑了其他终端评价得到的可执行度,优化最终执行的执行策略,避免了不恰当的执行策略给自身和/或其他终端带来的不必要的开销。The beneficial effects of the present invention are: the artificial intelligence terminal selects the best execution strategy and executes the best execution strategy according to the executable degree obtained by the other terminal for at least two candidate execution strategy evaluations, in addition to itself in the process of this behavior control In addition to the situation of other terminals, the behavior control based on altruistic criteria is also implemented, so that the behavioral guidelines of artificial intelligence terminals are more in line with human moral requirements, more reasonable, meet the requirements of users, and formulate implementation strategies. The process comprehensively considers the executable degree obtained by other terminal evaluations, optimizes the execution strategy of the final execution, and avoids the unnecessary overhead caused by the inappropriate execution strategy to itself and/or other terminals.
【附图说明】 [Description of the Drawings]
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings to be used in the embodiments will be briefly described below. Obviously, the drawings in the following description are only some of the present invention. For the embodiments, those skilled in the art can obtain other drawings according to the drawings without any creative work.
图1是本发明人工智能终端的行为控制方法第一实施例的流程示意图;1 is a schematic flow chart of a first embodiment of a behavior control method of an artificial intelligence terminal according to the present invention;
图2是本发明人工智能终端的行为控制方法第二实施例的流程示意图;2 is a schematic flow chart of a second embodiment of a behavior control method of an artificial intelligence terminal according to the present invention;
图3是本发明人工智能终端的行为控制方法第三实施例的流程示意图;3 is a schematic flow chart of a third embodiment of a behavior control method for an artificial intelligence terminal according to the present invention;
图4是本发明人工智能终端的行为控制方法第四实施例的流程示意图;4 is a schematic flow chart of a fourth embodiment of a behavior control method for an artificial intelligence terminal according to the present invention;
图5是本发明人工智能终端的行为控制方法第五实施例的流程示意图;5 is a schematic flowchart of a fifth embodiment of a behavior control method of an artificial intelligence terminal according to the present invention;
图6是本发明人工智能终端的行为控制方法第六实施例的流程示意图;6 is a schematic flowchart of a sixth embodiment of a behavior control method of an artificial intelligence terminal according to the present invention;
图7是本发明人工智能终端的行为控制方法第七实施例的流程示意图;7 is a schematic flowchart diagram of a seventh embodiment of a behavior control method of an artificial intelligence terminal according to the present invention;
图8是本发明人工智能终端的行为控制方法第八实施例的流程示意图;8 is a schematic flow chart of an eighth embodiment of a behavior control method for an artificial intelligence terminal according to the present invention;
图9是本发明人工智能终端的行为控制方法第九实施例的流程示意图;9 is a schematic flow chart of a ninth embodiment of a behavior control method for an artificial intelligence terminal according to the present invention;
图10是本发明人工智能终端的行为控制方法第十实施例的流程示意图;10 is a schematic flowchart diagram of a tenth embodiment of a behavior control method of an artificial intelligence terminal according to the present invention;
图11是本发明人工智能终端的行为控制方法第十一实施例的流程示意图;11 is a schematic flow chart of an eleventh embodiment of a behavior control method for an artificial intelligence terminal according to the present invention;
图12是本发明人工智能终端的行为控制方法第十二实施例的流程示意图;12 is a schematic flowchart diagram of a twelfth embodiment of a behavior control method for an artificial intelligence terminal according to the present invention;
图13是本发明人工智能终端的行为控制方法第十三实施例的流程示意图;13 is a schematic flowchart diagram of a thirteenth embodiment of a behavior control method of an artificial intelligence terminal according to the present invention;
图14是本发明人工智能终端的行为控制方法第十四实施例的流程示意图;14 is a schematic flowchart diagram of a fourteenth embodiment of a behavior control method of an artificial intelligence terminal according to the present invention;
图15是本发明人工智能终端的行为控制方法第十五实施例的流程示意图;15 is a schematic flowchart diagram of a fifteenth embodiment of a behavior control method of an artificial intelligence terminal according to the present invention;
图16是本发明人工智能终端的行为控制方法第十六实施例的流程示意图;16 is a schematic flowchart diagram of a sixteenth embodiment of a behavior control method of an artificial intelligence terminal according to the present invention;
图17是本发明人工智能终端第一实施例的结构示意图;17 is a schematic structural diagram of a first embodiment of an artificial intelligence terminal according to the present invention;
图18是本发明计算机存储介质第一实施例的结构示意图。Figure 18 is a block diagram showing the structure of a first embodiment of the computer storage medium of the present invention.
【具体实施方式】【Detailed ways】
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述。以下各实施例中不冲突的可以相互结合。显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in the following with reference to the accompanying drawings. The conflicts in the following embodiments may be combined with each other. It is apparent that the described embodiments are only a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例例如能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。The terms "first", "second", "third", "fourth", etc. (if present) in the specification and claims of the present invention and the above figures are used to distinguish similar objects without being used for Describe a specific order or order. It is to be understood that the data so used may be interchanged as appropriate, such that the embodiments of the invention described herein can be implemented, for example, in a sequence other than those illustrated or described herein. In addition, the terms "comprises" and "comprises" and "the" and "the" are intended to cover a non-exclusive inclusion, for example, a process, method, system, product, or device that comprises a series of steps or units is not necessarily limited to Those steps or units may include other steps or units not explicitly listed or inherent to such processes, methods, products or devices.
如图1所示,本发明人工智能终端的行为控制方法第一实施例包括:As shown in FIG. 1, the first embodiment of the behavior control method of the artificial intelligence terminal of the present invention includes:
S11:人工智能终端接收来自于其他终端的执行指令。S11: The artificial intelligence terminal receives an execution instruction from another terminal.
人工智能终端可以是智能机器人、自动驾驶交通工具(例如自动驾驶汽车)或其他具备数据分析处理能力的终端。其他终端与本终端之间通讯连接。其他终端可以为人工智能终端或者非智能终端。执行指令可以是其他终端自行给出的,也可以是来自于用户的,例如其他终端从其输入装置(触摸屏、键盘、麦克风、摄像头、鼠标等)接收到用户给出的指令。The artificial intelligence terminal may be an intelligent robot, an autonomous driving vehicle (for example, an autonomous driving vehicle) or other terminal having data analysis processing capability. Communication connection between other terminals and the terminal. Other terminals may be artificial intelligence terminals or non-intelligent terminals. The execution instructions may be given by other terminals, or may be from a user, for example, other terminals receive instructions from the user (the touch screen, keyboard, microphone, camera, mouse, etc.).
S12:人工智能终端计算自身执行执行指令所产生的成本开销。S12: The artificial intelligence terminal calculates the cost incurred by executing the execution instruction itself.
成本开销可以是指人工智能终端因执行该执行指令而增加的计算、运动、能耗等开销和/或人工智能终端的用户因人工智能终端执行该执行指令而增加的额外开销。例如,人工智能终端为自动驾驶汽车A,其他终端为自动驾驶汽车B,两者在同一车道上行驶且A在B的前方,B希望直线超车并向A发送了暂时移动到旁边车道上的执行指令。对于A而言,其成本开销为其从当前车道移动到旁边车道再从旁边车道移动回当前车道所带来的额外开销。The cost overhead may refer to an increase in computation, motion, power consumption, and the like of the artificial intelligence terminal due to execution of the execution instruction and/or an additional overhead added by the user of the artificial intelligence terminal due to the execution of the execution instruction by the artificial intelligence terminal. For example, the artificial intelligence terminal is the self-driving car A, and the other terminals are the self-driving car B, both of which are driving in the same lane and A is in front of B, B wants to overtake the line and sends A to the A to temporarily move to the side lane. instruction. For A, the cost overhead is the additional cost of moving from the current lane to the side lane and back from the side lane back to the current lane.
S13:人工智能终端判断成本开销是否小于或等于其他终端的成本收益。S13: The artificial intelligence terminal determines whether the cost overhead is less than or equal to the cost benefit of other terminals.
成本收益是其他终端因人工智能终端执行执行指令所产生的,例如其他终端因人工智能终端执行执行指令而减少的计算、运动、能耗等开销和/或其他终端的用户因人工智能终端执行执行指令而带来的收益。仍旧以上面的例子进行说明,对于B而言,如果A不执行该指令,则B需要从当前车道移动到旁边车道超过A之后再从旁边车道移动回当前车道,反之如果A执行该指令,则B只需要直线行驶即可,两者之差即为B的成本收益。The cost benefit is generated by other terminal terminals executing execution instructions by the artificial intelligence terminal, for example, calculations, motion, energy consumption, etc., which are reduced by other artificial terminals when executing instructions by the artificial intelligence terminal, and/or users of other terminals are executed by the artificial intelligence terminal. The benefits of the instructions. Still using the above example, for B, if A does not execute the command, then B needs to move from the current lane to the side lane over A and then from the side lane back to the current lane, otherwise if A executes the command, then B only needs to travel straight, and the difference between the two is the cost benefit of B.
人工智能终端可以自行计算成本收益,也可以接收其他终端发送的成本收益。The artificial intelligence terminal can calculate the cost and benefit by itself, and can also receive the cost benefit sent by other terminals.
S14:若成本开销小于或等于成本收益,则人工智能终端执行执行指令。S14: If the cost overhead is less than or equal to the cost benefit, the artificial intelligence terminal executes the execution instruction.
若成本开销小于或等于成本收益,意味着即使执行指令的执行会给人工智能终端带来额外的成本开销,是不利于人工智能终端的,但同时能够给其他终端带来同等或者更多的成本收益。将人工智能终端和其他终端视为一个整体的话,执行指令的执行整体上不会带来额外的开销,实现了整体受益,人工智能终端选择执行该执行指令。If the cost overhead is less than or equal to the cost benefit, it means that even if the execution of the execution instruction brings additional cost to the artificial intelligence terminal, it is not conducive to the artificial intelligence terminal, but at the same time can bring equal or more cost to other terminals. income. When the artificial intelligence terminal and other terminals are regarded as a whole, the execution of the execution instruction does not bring additional overhead as a whole, and the overall benefit is realized, and the artificial intelligence terminal selects to execute the execution instruction.
通过本实施例的实施,人工智能终端在自身的成本开销小于或者等于其他终端的成本收益时执行来自于其他终端的执行指令,在行为控制的过程中,除了自身的情况之外,还考虑了其他终端的情况,实现了基于利他准则的行为控制,使得人工智能终端的行为准则更加符合人类的道德要求,更加合理,满足用户的要求。Through the implementation of the embodiment, the artificial intelligence terminal executes execution instructions from other terminals when its own cost overhead is less than or equal to the cost benefit of other terminals. In the process of behavior control, in addition to its own situation, it is also considered. In the case of other terminals, the behavior control based on the altruistic criteria is realized, which makes the behavioral norms of the artificial intelligence terminal more in line with human moral requirements, more reasonable and meets the requirements of users.
如图2所示,本发明人工智能终端的行为控制方法第二实施例,是在本发明人工智能终端的行为控制方法第一实施例的基础上,在决定执行或者不执行执行指令之后通知其他终端,并且由人工智能终端自行计算成本收益。本实施例为本发明人工智能终端的行为控制方法第一实施例的扩展,相同的部分在此不再赘述。本实施例包括:As shown in FIG. 2, the second embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the first embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and notifies other after deciding whether to execute or not executing the execution instruction. The terminal, and the artificial intelligence terminal calculates the cost benefit by itself. This embodiment is an extension of the first embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and the same portions are not described herein again. This embodiment includes:
S111:人工智能终端接收来自于其他终端的执行指令;S111: The artificial intelligence terminal receives an execution instruction from another terminal.
S112:人工智能终端计算自身执行执行指令所产生的成本开销。S112: The artificial intelligence terminal calculates the cost incurred by executing the execution instruction itself.
S113:人工智能终端计算成本收益。S113: The artificial intelligence terminal calculates the cost benefit.
本步骤与步骤S112的执行顺序仅为示意,实际也可以同时执行或者调换先后顺序。The order of execution of this step and step S112 is merely illustrative, and the sequence may be executed or reversed at the same time.
S114:人工智能终端判断成本开销是否小于或等于其他终端的成本收益。S114: The artificial intelligence terminal determines whether the cost overhead is less than or equal to the cost benefit of other terminals.
若成本开销小于或等于成本收益,则跳转到步骤S115;否则跳转到步骤S117。If the cost overhead is less than or equal to the cost benefit, then the process goes to step S115; otherwise, the process goes to step S117.
S115:人工智能终端执行执行指令。S115: The artificial intelligence terminal executes an execution instruction.
跳转到步骤S116。Go to step S116.
S116:人工智能终端向其他终端发送成功执行通知。S116: The artificial intelligence terminal sends a successful execution notification to other terminals.
成功执行通知用于表示该执行指令已被执行。结束流程。A successful execution notification is used to indicate that the execution instruction has been executed. End the process.
S117:人工智能终端不执行执行指令。S117: The artificial intelligence terminal does not execute the execution instruction.
跳转到步骤S118。Go to step S118.
S118:人工智能终端向其他终端发送拒绝执行通知。S118: The artificial intelligence terminal sends a rejection execution notification to other terminals.
拒绝执行通知用于表示该执行指令未被执行。此外,拒绝执行通知中还可以包括拒绝原因。结束流程。The refusal execution notification is used to indicate that the execution instruction was not executed. In addition, the rejection notice may also include a reason for rejection. End the process.
如图3所示,本发明人工智能终端的行为控制方法第三实施例,是在本发明人工智能终端的行为控制方法第一实施例的基础上,在决定执行或者不执行执行指令之后通知其他终端,并且人工智能终端接收来自其他终端的成本收益。本实施例为本发明人工智能终端的行为控制方法第一实施例的扩展,相同的部分在此不再赘述。本实施例包括:As shown in FIG. 3, the third embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the first embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and notifies other after deciding to execute or not execute the execution instruction. The terminal, and the artificial intelligence terminal receives cost benefits from other terminals. This embodiment is an extension of the first embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and the same portions are not described herein again. This embodiment includes:
S121:人工智能终端接收来自于其他终端的执行指令;S121: The artificial intelligence terminal receives an execution instruction from another terminal.
S122:人工智能终端计算自身执行执行指令所产生的成本开销。S122: The artificial intelligence terminal calculates the cost incurred by executing the execution instruction itself.
S123:人工智能终端接收来自于其他终端的成本收益。S123: The artificial intelligence terminal receives the cost benefit from other terminals.
本步骤与步骤S121、S122的执行顺序仅为示意,实际也可以同时执行或者调换先后顺序。The order of execution of this step and steps S121 and S122 is merely illustrative, and the sequence may be executed or reversed at the same time.
S124:人工智能终端判断成本开销是否小于或等于其他终端的成本收益。S124: The artificial intelligence terminal determines whether the cost overhead is less than or equal to the cost benefit of other terminals.
若成本开销小于或等于成本收益,则跳转到步骤S125;否则跳转到步骤S127。If the cost overhead is less than or equal to the cost benefit, then the process goes to step S125; otherwise, the process goes to step S127.
S125:人工智能终端执行执行指令。S125: The artificial intelligence terminal executes an execution instruction.
S126:人工智能终端向其他终端发送成功执行通知。S126: The artificial intelligence terminal sends a successful execution notification to other terminals.
成功执行通知用于表示该执行指令已被执行。结束流程。A successful execution notification is used to indicate that the execution instruction has been executed. End the process.
S127:人工智能终端不执行执行指令。S127: The artificial intelligence terminal does not execute the execution instruction.
S128:人工智能终端向其他终端发送拒绝执行通知。S128: The artificial intelligence terminal sends a rejection execution notification to other terminals.
拒绝执行通知用于表示该执行指令未被执行。此外,拒绝执行通知中还可以包括拒绝原因。结束流程。The refusal execution notification is used to indicate that the execution instruction was not executed. In addition, the rejection notice may also include a reason for rejection. End the process.
在上述两个实施例中,人工智能终端都是以显性的方式,即通过发送成功/拒绝执行通知,来通知其他终端执行指令是否被执行,在其他实施例中,人工智能终端也可以选择部分以隐性的方式进行通知。例如,设置一通知时间,如果人工智能终端决定执行执行指令,则在该通知时间内向其他终端发送通知消息,如果人工智能终端决定不执行执行指令,则不发送通知消息。或者反过来,如果人工智能终端决定不执行执行指令,则在该通知时间内向其他终端发送通知消息,如果人工智能终端决定执行执行指令,则不发送通知消息。In the above two embodiments, the artificial intelligence terminal notifies the other terminal whether the execution of the instruction is executed in an explicit manner, that is, by sending a success/rejection execution notification. In other embodiments, the artificial intelligence terminal may also select Partially notified in a hidden way. For example, if a notification time is set, if the artificial intelligence terminal decides to execute the execution instruction, the notification message is sent to the other terminal within the notification time, and if the artificial intelligence terminal decides not to execute the execution instruction, the notification message is not sent. Or conversely, if the artificial intelligence terminal decides not to execute the execution instruction, the notification message is sent to the other terminal within the notification time, and if the artificial intelligence terminal decides to execute the execution instruction, the notification message is not sent.
如图4所示,本发明人工智能终端的行为控制方法第四实施例包括:As shown in FIG. 4, the fourth embodiment of the behavior control method of the artificial intelligence terminal of the present invention includes:
S21:人工智能终端接收来自于其他终端的执行指令;S21: The artificial intelligence terminal receives an execution instruction from another terminal;
本实施例与本发明人工智能终端的行为控制方法第一实施例的主要区别在于是根据加权成本开销和加权成本收益之间的大小关系而非成本开销和成本收益之间的大小关系来判断是否执行执行指令,相同/类似的部分在此不再重复。The main difference between this embodiment and the first embodiment of the behavior control method of the artificial intelligence terminal of the present invention is that it is based on the relationship between the weighted cost overhead and the weighted cost benefit rather than the relationship between the cost overhead and the cost benefit. Execution instructions are executed, and the same/similar parts are not repeated here.
S22:人工智能终端计算自身执行执行指令所产生的成本开销。S22: The artificial intelligence terminal calculates the cost incurred by executing the execution instruction itself.
S23:人工智能终端判断加权成本开销是否小于或等于其他终端的加权成本收益。S23: The artificial intelligence terminal determines whether the weighted cost overhead is less than or equal to the weighted cost benefit of other terminals.
加权成本开销为人工智能终端的权重与成本开销的乘积,加权成本收益为其他终端的权重与成本收益的乘积,成本收益是其他终端因人工智能终端执行执行指令所产生的,例如其他终端因人工智能终端执行执行指令而减少的计算、运动、能耗等开销和/或其他终端的用户因人工智能终端执行执行指令而带来的收益。The weighted cost overhead is the product of the weight of the artificial intelligence terminal and the cost overhead. The weighted cost benefit is the product of the weight of other terminals and the cost benefit. The cost benefit is generated by other terminals executing instructions by the artificial intelligence terminal. For example, other terminals are artificial. The intelligent terminal executes execution instructions to reduce computational, motion, power consumption, etc. and/or the benefits of the user of other terminals due to the execution of the execution instructions by the artificial intelligence terminal.
本步骤执行之前,人工智能终端需要获取加权成本开销和加权成本收益。人工智能终端可以将自身的权重乘以成本开销得到加权成本开销。人工智能终端可以自行计算成本收益然后乘以其他终端的权重得到加权成本收益,也可以接收其他终端发送的成本收益然后自行乘以其他终端的权重得到加权成本收益,也可以直接接收其他终端发送的加权成本收益。Before this step is performed, the artificial intelligence terminal needs to obtain the weighted cost overhead and the weighted cost benefit. The artificial intelligence terminal can multiply its own weight by the cost overhead to obtain a weighted cost overhead. The artificial intelligence terminal can calculate the cost return by itself and multiply the weight of other terminals to obtain the weighted cost return. It can also receive the cost income sent by other terminals and then multiply the weight of other terminals to obtain the weighted cost return, or directly receive the other terminal. Weighted cost benefit.
一般而言,人工智能终端/其他终端的权重由其优先级而决定。该优先级可以只由人工智能终端/其他终端本身的属性决定,例如,仍旧以自动驾驶汽车为例,可以设置为救护车/救火车/警车的优先级最高,校车/公交的优先级其次,接着是普通的载人汽车,货车的优先级最低。此外,优先级设置时还可以考虑人工智能终端的用户属性,例如,对于普通载人自动驾驶汽车,可以设置为目的地为机场/火车站/汽车站/学校/医院的自动驾驶汽车优先级高于目的地为其他场所的自动驾驶汽车,目的地优先级相同的情况下乘客数量越多的优先级越高。In general, the weight of an artificial intelligence terminal/other terminal is determined by its priority. The priority can be determined only by the attributes of the artificial intelligence terminal/other terminal itself. For example, still taking the self-driving car as an example, the priority of the ambulance/rescue/police car can be set to be the highest, and the priority of the school bus/transit bus is second. Then there is the ordinary manned car, which has the lowest priority. In addition, the user attribute of the artificial intelligence terminal can also be considered in the priority setting. For example, for an ordinary manned self-driving car, the priority of the self-driving car at the destination of the airport/train station/car station/school/hospital can be set to be high. For autonomous vehicles that are destined for other locations, the higher the priority of the destination, the higher the priority of the number of passengers.
S24:若加权成本开销小于或等于加权成本收益,则人工智能终端执行执行指令。S24: If the weighted cost overhead is less than or equal to the weighted cost benefit, the artificial intelligence terminal executes the execution instruction.
若加权成本开销小于或等于加权成本收益,意味着即使执行指令的执行会给人工智能终端带来额外的加权成本开销,是不利于人工智能终端的,但同时能够给其他终端带来同等或者更多的加权成本收益。将人工智能终端和其他终端视为一个整体的话,执行指令的执行整体上不会带来额外的开销,实现了整体受益,人工智能终端选择执行该执行指令。If the weighted cost overhead is less than or equal to the weighted cost benefit, it means that even if the execution of the execution instruction brings additional weighted cost overhead to the artificial intelligence terminal, it is not conducive to the artificial intelligence terminal, but at the same time can bring equal or more to other terminals. More weighted cost benefits. When the artificial intelligence terminal and other terminals are regarded as a whole, the execution of the execution instruction does not bring additional overhead as a whole, and the overall benefit is realized, and the artificial intelligence terminal selects to execute the execution instruction.
通过本实施例的实施,人工智能终端在自身的加权成本开销小于或者等于其他终端的加权成本收益时执行来自于其他终端的执行指令,在行为控制的过程中,除了自身的情况之外,还考虑了其他终端的情况,实现了基于利他准则的行为控制,使得人工智能终端的行为准则更加符合人类的道德要求,更加合理,满足用户的要求,并且在行为控制过程中考虑到人工智能终端和其他终端的权重,进一步提高了判断的准确度。Through the implementation of the embodiment, the artificial intelligence terminal executes execution instructions from other terminals when its weighted cost overhead is less than or equal to the weighted cost benefit of other terminals. In the process of behavior control, in addition to its own situation, Considering the situation of other terminals, the behavior control based on altruistic criteria is realized, which makes the behavioral rules of artificial intelligence terminals more in line with human moral requirements, more reasonable, meets the requirements of users, and takes into account artificial intelligence terminals in the behavior control process. The weight of other terminals further improves the accuracy of the judgment.
如图5所示,本发明人工智能终端的行为控制方法第五实施例,是在本发明人工智能终端的行为控制方法第四实施例的基础上,在决定执行或者不执行执行指令之后通知其他终端,并且由人工智能终端自行计算成本收益。本实施例为本发明人工智能终端的行为控制方法第四实施例的扩展,相同的部分在此不再赘述。本实施例包括:As shown in FIG. 5, the fifth embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the fourth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and notifies other after deciding to execute or not execute the execution instruction. The terminal, and the artificial intelligence terminal calculates the cost benefit by itself. This embodiment is an extension of the fourth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and the same portions are not described herein again. This embodiment includes:
S210:人工智能终端接收自身及其他终端的权重。S210: The artificial intelligence terminal receives the weight of itself and other terminals.
人工智能终端可以从服务器或者控制中心接收为自身分配的权重,并从服务器、控制中心或其他终端接收其他终端的权重。在其他实施例中,人工智能终端可以在本地保存有自身和/或其他终端的权重,这种情况下本步骤可以部分或者全部被省略。The artificial intelligence terminal can receive the weight assigned to itself from the server or the control center, and receive the weights of other terminals from the server, the control center, or other terminals. In other embodiments, the artificial intelligence terminal may locally store the weight of itself and/or other terminals, in which case this step may be partially or completely omitted.
本步骤只需在步骤S214之前执行即可,与步骤S211、S212、S213之间的执行顺序并无限制。This step only needs to be performed before step S214, and the order of execution between steps S211, S212, and S213 is not limited.
S211:人工智能终端接收来自于其他终端的执行指令;S211: The artificial intelligence terminal receives an execution instruction from another terminal.
S212:人工智能终端计算自身执行执行指令所产生的成本开销。S212: The artificial intelligence terminal calculates the cost incurred by executing the execution instruction itself.
S213:人工智能终端计算其他终端因人工智能终端执行执行指令所产生的成本收益。S213: The artificial intelligence terminal calculates the cost benefit generated by the other terminal due to the execution of the execution instruction by the artificial intelligence terminal.
本步骤与步骤S212的执行顺序仅为示意,实际也可以同时执行或者调换先后顺序。The order of execution of this step and step S212 is merely illustrative, and the sequence may be executed or reversed at the same time.
S214:人工智能终端计算加权成本开销及加权成本收益。S214: The artificial intelligence terminal calculates a weighted cost overhead and a weighted cost benefit.
S215:人工智能终端判断加权成本开销是否小于或等于加权成本收益。S215: The artificial intelligence terminal determines whether the weighted cost overhead is less than or equal to the weighted cost benefit.
若加权成本开销小于或等于加权成本收益,则跳转到步骤S216;否则跳转到步骤S218。If the weighted cost overhead is less than or equal to the weighted cost benefit, then the process goes to step S216; otherwise, the process goes to step S218.
S216:人工智能终端执行执行指令。S216: The artificial intelligence terminal executes an execution instruction.
S217:人工智能终端向其他终端发送成功执行通知。S217: The artificial intelligence terminal sends a successful execution notification to other terminals.
成功执行通知用于表示该执行指令已被执行。结束流程。A successful execution notification is used to indicate that the execution instruction has been executed. End the process.
S218:人工智能终端不执行执行指令。S218: The artificial intelligence terminal does not execute the execution instruction.
S219:人工智能终端向其他终端发送拒绝执行通知。S219: The artificial intelligence terminal sends a rejection execution notification to other terminals.
拒绝执行通知用于表示该执行指令未被执行。此外,拒绝执行通知中还可以包括拒绝原因。结束流程。The refusal execution notification is used to indicate that the execution instruction was not executed. In addition, the rejection notice may also include a reason for rejection. End the process.
如图6所示,本发明人工智能终端的行为控制方法第六实施例,是在本发明人工智能终端的行为控制方法第四实施例的基础上,在决定执行或者不执行执行指令之后通知其他终端,并且由人工智能终端接收成本收益后自行计算加权成本收益。本实施例为本发明人工智能终端的行为控制方法第四实施例的扩展,相同的部分在此不再赘述。本实施例包括:As shown in FIG. 6, the sixth embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the fourth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and notifies other after deciding to execute or not execute the execution instruction. The terminal, and the weighted cost benefit is calculated by the artificial intelligence terminal after receiving the cost benefit. This embodiment is an extension of the fourth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and the same portions are not described herein again. This embodiment includes:
S220:人工智能终端接收自身及其他终端的权重。S220: The artificial intelligence terminal receives the weight of itself and other terminals.
人工智能可以从服务器或者控制中心接收为自身分配的权重,并从服务器、控制中心或其他终端接收其他终端的权重。在其他实施例中,人工智能终端可以在本地保存有自身和/或其他终端的权重,这种情况下本步骤可以部分或者全部被省略。Artificial intelligence can receive weights assigned to itself from the server or control center and receive weights from other terminals from servers, control centers, or other terminals. In other embodiments, the artificial intelligence terminal may locally store the weight of itself and/or other terminals, in which case this step may be partially or completely omitted.
本步骤只需在步骤S224之前执行即可,与步骤S221、S222、S223之间的执行顺序并无限制。This step only needs to be performed before step S224, and the order of execution between steps S221, S222, and S223 is not limited.
S221:人工智能终端接收来自于其他终端的执行指令;S221: The artificial intelligence terminal receives an execution instruction from another terminal;
S222:人工智能终端计算自身执行执行指令所产生的成本开销。S222: The artificial intelligence terminal calculates the cost incurred by executing the execution instruction itself.
S223:人工智能终端接收来自其他终端的成本收益。S223: The artificial intelligence terminal receives the cost benefit from other terminals.
本步骤与步骤S220、S221、S222的执行顺序仅为示意,实际也可以同时执行或者调换先后顺序。The execution order of this step and steps S220, S221, and S222 is merely illustrative, and the sequence may be executed or reversed at the same time.
S224:人工智能终端计算加权成本开销及加权成本收益。S224: The artificial intelligence terminal calculates a weighted cost overhead and a weighted cost benefit.
S225:人工智能终端判断加权成本开销是否小于或等于加权成本收益。S225: The artificial intelligence terminal determines whether the weighted cost overhead is less than or equal to the weighted cost benefit.
若加权成本开销小于或等于加权成本收益,则跳转到步骤S226;否则跳转到步骤S228。If the weighted cost overhead is less than or equal to the weighted cost benefit, then the process goes to step S226; otherwise, the process goes to step S228.
S226:人工智能终端执行执行指令。S226: The artificial intelligence terminal executes an execution instruction.
S227:人工智能终端向其他终端发送成功执行通知。S227: The artificial intelligence terminal sends a successful execution notification to other terminals.
成功执行通知用于表示该执行指令已被执行。结束流程。A successful execution notification is used to indicate that the execution instruction has been executed. End the process.
S228:人工智能终端不执行执行指令。S228: The artificial intelligence terminal does not execute the execution instruction.
S229:人工智能终端向其他终端发送拒绝执行通知。S229: The artificial intelligence terminal sends a rejection execution notification to other terminals.
拒绝执行通知用于表示该执行指令未被执行。此外,拒绝执行通知中还可以包括拒绝原因。结束流程。The refusal execution notification is used to indicate that the execution instruction was not executed. In addition, the rejection notice may also include a reason for rejection. End the process.
如图7所示,本发明人工智能终端的行为控制方法第七实施例,是在本发明人工智能终端的行为控制方法第四实施例的基础上,在决定执行或者不执行执行指令之后通知其他终端,并且由人工智能终端接收成本收益后自行计算加权成本收益。本实施例为本发明人工智能终端的行为控制方法第四实施例的扩展,相同的部分在此不再赘述。本实施例包括:As shown in FIG. 7, the seventh embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the fourth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and notifies other after deciding whether to execute or not executing the execution instruction. The terminal, and the weighted cost benefit is calculated by the artificial intelligence terminal after receiving the cost benefit. This embodiment is an extension of the fourth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and the same portions are not described herein again. This embodiment includes:
S230:人工智能终端接收自身的权重。S230: The artificial intelligence terminal receives its own weight.
人工智能可以从服务器或者控制中心接收为自身分配的权重。在其他实施例中,人工智能终端可以在本地保存有自身的权重,这种情况下本步骤可以被省略。Artificial intelligence can receive weights assigned to itself from the server or control center. In other embodiments, the artificial intelligence terminal may have its own weight stored locally, in which case this step may be omitted.
本步骤只需在步骤S234之前执行即可,与步骤S231、S232、S233之间的执行顺序并无限制。This step only needs to be performed before step S234, and the order of execution between steps S231, S232, and S233 is not limited.
S231:人工智能终端接收来自于其他终端的执行指令;S231: The artificial intelligence terminal receives an execution instruction from another terminal;
S232:人工智能终端计算自身执行执行指令所产生的成本开销。S232: The artificial intelligence terminal calculates the cost incurred by executing the execution instruction itself.
S233:人工智能终端计算加权成本开销。S233: The artificial intelligence terminal calculates a weighted cost overhead.
S234:人工智能终端接收来自其他终端的加权成本收益。S234: The artificial intelligence terminal receives the weighted cost benefit from other terminals.
本步骤与步骤S230至步骤S233的执行顺序仅为示意,实际也可以同时执行或者调换先后顺序。The order of execution of this step and step S230 to step S233 is merely illustrative, and the sequence may be executed or reversed at the same time.
S235:人工智能终端判断加权成本开销是否小于或等于加权成本收益。S235: The artificial intelligence terminal determines whether the weighted cost overhead is less than or equal to the weighted cost benefit.
若加权成本开销小于或等于加权成本收益,则跳转到步骤S236;否则跳转到步骤S238。If the weighted cost overhead is less than or equal to the weighted cost benefit, then the process goes to step S236; otherwise, the process goes to step S238.
S236:人工智能终端执行执行指令。S236: The artificial intelligence terminal executes an execution instruction.
S237:人工智能终端向其他终端发送成功执行通知。S237: The artificial intelligence terminal sends a successful execution notification to other terminals.
成功执行通知用于表示该执行指令已被执行。结束流程。A successful execution notification is used to indicate that the execution instruction has been executed. End the process.
S238:人工智能终端不执行执行指令。S238: The artificial intelligence terminal does not execute the execution instruction.
S239:人工智能终端向其他终端发送拒绝执行通知。S239: The artificial intelligence terminal sends a rejection execution notification to other terminals.
拒绝执行通知用于表示该执行指令未被执行。此外,拒绝执行通知中还可以包括拒绝原因。结束流程。The refusal execution notification is used to indicate that the execution instruction was not executed. In addition, the rejection notice may also include a reason for rejection. End the process.
在上述三个实施例中,人工智能终端都是以显性的方式,即通过发送成功/拒绝执行通知,来通知其他终端执行指令是否被执行,在其他实施例中,人工智能终端也可以选择部分以隐性的方式进行通知。例如,设置一通知时间,如果人工智能终端决定执行执行指令,则在该通知时间内向其他终端发送通知消息,如果人工智能终端决定不执行执行指令,则不发送通知消息。或者反过来,如果人工智能终端决定不执行执行指令,则在该通知时间内向其他终端发送通知消息,如果人工智能终端决定执行执行指令,则不发送通知消息。In the foregoing three embodiments, the artificial intelligence terminal notifies the other terminal whether the execution of the instruction is executed in an explicit manner, that is, by sending a success/rejection execution notification. In other embodiments, the artificial intelligence terminal may also select Partially notified in a hidden way. For example, if a notification time is set, if the artificial intelligence terminal decides to execute the execution instruction, the notification message is sent to the other terminal within the notification time, and if the artificial intelligence terminal decides not to execute the execution instruction, the notification message is not sent. Or conversely, if the artificial intelligence terminal decides not to execute the execution instruction, the notification message is sent to the other terminal within the notification time, and if the artificial intelligence terminal decides to execute the execution instruction, the notification message is not sent.
如图8所示,本发明人工智能终端的行为控制方法第八实施例包括:As shown in FIG. 8, the eighth embodiment of the behavior control method of the artificial intelligence terminal of the present invention includes:
S31:人工智能终端制定执行策略。S31: The artificial intelligence terminal formulates an execution strategy.
执行策略可以包括人工智能终端自身待执行的指令和/或若干个相关的其他终端待执行的指令,且两种指令一般是相互配合的。The execution policy may include an instruction to be executed by the artificial intelligence terminal itself and/or a number of related instructions to be executed by other terminals, and the two instructions generally cooperate with each other.
人工智能终端可以是智能机器人、自动驾驶交通工具(例如自动驾驶汽车)或其他具备数据分析处理能力的终端。其他终端与本终端之间通讯连接。其他终端可以为人工智能终端或者非智能终端。The artificial intelligence terminal may be an intelligent robot, an autonomous driving vehicle (for example, an autonomous driving vehicle) or other terminal having data analysis processing capability. Communication connection between other terminals and the terminal. Other terminals may be artificial intelligence terminals or non-intelligent terminals.
仍旧以自动驾驶汽车来举例,人工智能终端为自动驾驶汽车C,其他终端包括自动驾驶汽车D和E,三者在同一车道上行驶且D和E在C的前方,C制定的执行策略包括自身直线超车,D和E暂时移动到旁边车道。Still using the self-driving car as an example, the artificial intelligence terminal is the self-driving car C, the other terminals include the self-driving cars D and E, the three are driving in the same lane and the D and E are in front of the C, and the execution strategy formulated by C includes itself. Straight overtaking, D and E temporarily move to the side lane.
S32:人工智能终端分别计算执行策略涉及的其他终端因执行执行策略而产生的成本开销以及人工智能终端自身因其他终端执行执行策略而产生的成本收益。S32: The artificial intelligence terminal separately calculates the cost incurred by the other terminals involved in the execution strategy due to executing the execution strategy and the cost benefits generated by the artificial intelligence terminal itself by executing the execution strategy by other terminals.
成本开销可以是指其他终端和/或其用户因其他终端执行该执行策略而增加的计算、运动、能耗等开销。成本收益可以是人工智能终端和/或其用户因人工智能终端执行执行策略而减少的计算、运动、能耗等开销。The cost overhead may refer to an increase in computation, motion, energy consumption, and the like of other terminals and/or their users due to execution of the execution policy by other terminals. The cost benefit may be the computational, motion, energy, and the like that the artificial intelligence terminal and/or its user reduces due to the execution of the execution strategy by the artificial intelligence terminal.
仍旧以上面的例子进行说明,对于D和E而言,其成本开销为其从当前车道移动到旁边车道再从旁边车道移动回当前车道所带来的额外开销;对于C而言,如果D和E不配合执行该执行策略,则C需要从当前车道移动到旁边车道超过D和E之后再从旁边车道移动回当前车道,反之如果D和E配合执行该执行策略,则C只需要直线行驶即可,两者之差即为C的成本收益。Still using the above example, the cost overhead for D and E is the additional cost of moving from the current lane to the side lane and then from the side lane back to the current lane; for C, if D and If E does not cooperate with the implementation of the execution strategy, then C needs to move from the current lane to the side lane beyond D and E and then move back from the side lane to the current lane. If D and E cooperate to execute the execution strategy, then C only needs to travel straight. Yes, the difference between the two is the cost benefit of C.
S33:人工智能终端根据成本收益及成本开销按照整体受益原则判断是否执行执行策略。S33: The artificial intelligence terminal judges whether to execute the execution strategy according to the overall benefit principle according to the cost benefit and the cost overhead.
判断的准则是整体受益,即该执行策略的实施整体上不会带来额外的开销,这个整体包括人工智能终端和所有其他终端。具体的,人工智能终端可以在成本收益大于或等于成本开销之和的情况下才执行该执行策略,或者在加权成本收益大于或等于加权成本开销之和的情况下才执行该执行策略。The criterion for judgment is the overall benefit, that is, the implementation of the execution strategy does not bring additional overhead as a whole, and the whole includes artificial intelligence terminals and all other terminals. Specifically, the artificial intelligence terminal may execute the execution strategy if the cost benefit is greater than or equal to the sum of the cost expenses, or execute the execution strategy if the weighted cost benefit is greater than or equal to the sum of the weighted cost expenses.
在满足整体受益准则的情况下,人工智能终端可以自身执行该执行策略和/或通知涉及的其他终端执行该执行策略。In the case that the overall benefit criterion is met, the artificial intelligence terminal may execute the execution policy by itself and/or notify other terminals involved in the execution of the execution policy.
通过本实施例的实施,人工智能终端在制定执行策略之后按照整体受益准则来评判该执行策略的成本收益和成本开销,从而决定是否执行该执行策略,在这一行为控制的过程中,除了自身的情况之外,还考虑了其他终端的情况,实现了基于利他准则的行为控制,使得人工智能终端的行为准则更加符合人类的道德要求,更加合理,满足用户的要求,并且在制定执行策略就进行了行为控制,避免了不恰当的执行策略给自身和/或其他终端带来的不必要的开销。Through the implementation of the embodiment, the artificial intelligence terminal evaluates the cost benefit and the cost overhead of the execution strategy according to the overall benefit criterion after formulating the execution strategy, thereby determining whether to execute the execution strategy, in addition to itself in the process of controlling the behavior. In addition to the situation of other terminals, the behavior control based on altruistic criteria is also implemented, so that the behavioral rules of artificial intelligence terminals are more in line with human moral requirements, more reasonable, meet the requirements of users, and formulate implementation strategies. Behavioral control is implemented to avoid unnecessary overhead caused by inappropriate execution policies to themselves and/or other terminals.
如图9所示,本发明人工智能终端的行为控制方法第九实施例,是在本发明人工智能终端的行为控制方法第八实施例的基础上,根据成本收益和成本开销本身来判断是否执行执行策略。本实施例为本发明人工智能终端的行为控制方法第八实施例的扩展,相同的部分在此不再赘述。本实施例包括:As shown in FIG. 9, the ninth embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the eighth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and judges whether to execute according to the cost benefit and the cost overhead itself. Execution strategy. This embodiment is an extension of the eighth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and the same portions are not described herein again. This embodiment includes:
S311:人工智能终端制定执行策略。S311: The artificial intelligence terminal formulates an execution strategy.
S312:人工智能终端分别计算执行策略涉及的其他终端因执行执行策略而产生的成本开销以及人工智能终端自身因其他终端执行执行策略而产生的成本收益。S312: The artificial intelligence terminal separately calculates the cost incurred by the other terminals involved in the execution strategy due to executing the execution strategy and the cost benefits generated by the artificial intelligence terminal itself by executing the execution strategy by other terminals.
S313:人工智能终端判断成本收益是否大于或等于成本开销之和。S313: The artificial intelligence terminal determines whether the cost benefit is greater than or equal to the sum of the cost expenses.
如果其他终端的总数为1,则成本开销之和等于唯一的其他终端的成本开销。If the total number of other terminals is 1, the sum of the cost overheads is equal to the cost overhead of the other other terminals.
若成本收益大于或等于成本开销之和,意味着即使该执行策略的执行会给其他终端带来额外的成本开销,是不利于其他终端的,但同时能够给人工智能终端带来同等或者更多的成本收益,满足整体受益原则,跳转到步骤S314;否则跳转到步骤S315。在其他实施例中,若成本收益小于成本开销之和,可以结束流程。If the cost benefit is greater than or equal to the sum of the cost, it means that even if the implementation of the execution strategy brings additional cost to other terminals, it is not conducive to other terminals, but at the same time can bring equal or more to the artificial intelligence terminal. The cost benefit, satisfying the overall benefit principle, jumps to step S314; otherwise, it jumps to step S315. In other embodiments, if the cost benefit is less than the sum of the cost overheads, the process can be terminated.
S314:人工智能终端自身执行执行策略和/或通知其他终端执行执行策略。S314: The artificial intelligence terminal itself performs an execution policy and/or notifies other terminals to execute an execution policy.
结束流程。End the process.
S315:修改执行策略。S315: Modify the execution strategy.
然后跳转至步骤S312。Then it jumps to step S312.
如图10所示,本发明人工智能终端的行为控制方法第十实施例,是在本发明人工智能终端的行为控制方法第八实施例的基础上,根据加权成本收益和加权成本开销来判断是否执行执行策略。本实施例为本发明人工智能终端的行为控制方法第八实施例的扩展,相同的部分在此不再赘述。本实施例包括:As shown in FIG. 10, the tenth embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the weighted cost benefit and the weighted cost overhead of the eighth embodiment of the behavior control method of the artificial intelligence terminal of the present invention. Execute the execution strategy. This embodiment is an extension of the eighth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and the same portions are not described herein again. This embodiment includes:
S321:人工智能终端制定执行策略。S321: The artificial intelligence terminal formulates an execution strategy.
S322:人工智能终端分别计算执行策略涉及的其他终端因执行执行策略而产生的成本开销以及人工智能终端自身因其他终端执行执行策略而产生的成本收益。S322: The artificial intelligence terminal separately calculates the cost incurred by the other terminals involved in the execution strategy due to executing the execution strategy, and the cost benefits generated by the artificial intelligence terminal itself by executing the execution strategy by other terminals.
S323:人工智能终端分别根据成本开销和成本收益计算加权成本开销和加权成本收益。S323: The artificial intelligence terminal calculates the weighted cost overhead and the weighted cost benefit according to the cost overhead and the cost return respectively.
加权成本收益为成本收益与人工智能终端的权重的乘积,加权成本开销为所有其他终端的成本开销的加权和,加权和中的权重为每个其他终端的权重。如果其他终端的总数为1,则加权成本开销之和等于唯一的其他终端的加权成本开销。The weighted cost benefit is the product of the cost benefit and the weight of the artificial intelligence terminal, the weighted cost overhead is the weighted sum of the cost overheads of all other terminals, and the weight in the weighted sum is the weight of each other terminal. If the total number of other terminals is 1, the sum of the weighted cost overheads is equal to the weighted cost overhead of the unique other terminal.
一般而言,人工智能终端/其他终端的权重由其优先级而决定。该优先级可以只由人工智能终端本身的属性决定,例如,仍旧以自动驾驶汽车为例,可以设置为救护车/救火车/警车的优先级最高,校车/公交的优先级其次,接着是普通的载人汽车,货车的优先级最低。此外,优先级设置时还可以考虑人工智能终端的用户属性,例如,对于普通载人自动驾驶汽车,可以设置为目的地为机场/火车站/汽车站/学校/医院的自动驾驶汽车优先级高于目的地为其他场所的自动驾驶汽车,目的地优先级相同的情况下乘客数量越多的优先级越高。In general, the weight of an artificial intelligence terminal/other terminal is determined by its priority. The priority can be determined only by the attributes of the artificial intelligence terminal itself. For example, still taking the self-driving car as an example, the ambulance/firetruck/police car can be set to have the highest priority, the school bus/transit bus priority is followed, and then the ordinary For manned vehicles, trucks have the lowest priority. In addition, the user attribute of the artificial intelligence terminal can also be considered in the priority setting. For example, for an ordinary manned self-driving car, the priority of the self-driving car at the destination of the airport/train station/car station/school/hospital can be set to be high. For autonomous vehicles that are destined for other locations, the higher the priority of the destination, the higher the priority of the number of passengers.
S324:人工智能终端判断加权成本收益是否大于或等于加权成本开销之和。S324: The artificial intelligence terminal determines whether the weighted cost benefit is greater than or equal to the sum of the weighted cost expenses.
若加权成本收益大于或等于加权成本开销之和,意味着即使该执行策略的执行会给其他终端带来额外的加权成本开销,是不利于其他终端的,但同时能够给人工智能终端带来同等或者更多的加权成本收益,满足整体受益原则,跳转到步骤S325;否则跳转到步骤S326。在其他实施例中,若加权成本收益小于加权成本开销之和,可以结束流程。If the weighted cost benefit is greater than or equal to the sum of the weighted cost expenses, it means that even if the execution of the execution strategy brings additional weighted cost overhead to other terminals, it is not conducive to other terminals, but at the same time can bring equality to the artificial intelligence terminal. Or more weighted cost benefits, satisfying the overall benefit principle, jump to step S325; otherwise, jump to step S326. In other embodiments, the process may end if the weighted cost benefit is less than the sum of the weighted cost overheads.
S325:人工智能终端自身执行执行策略和/或通知其他终端执行执行策略。S325: The artificial intelligence terminal itself performs an execution policy and/or notifies other terminals to execute an execution policy.
结束流程。End the process.
S326:修改执行策略。S326: Modify the execution strategy.
然后跳转至步骤S322。Then it jumps to step S322.
本实施例与前一实施例相比,在判断过程中采用加权成本收益/开销而非成本收益/开销,考虑到人工智能终端和其他终端的权重,进一步提高了判断的准确度。Compared with the previous embodiment, the present embodiment adopts a weighted cost benefit/overhead instead of a cost benefit/overhead in the judging process, and further improves the accuracy of the judging by considering the weights of the artificial intelligence terminal and other terminals.
如图11所示,本发明人工智能终端的行为控制方法第十一实施例包括:As shown in FIG. 11, the eleventh embodiment of the behavior control method of the artificial intelligence terminal of the present invention includes:
S41:人工智能终端对其他终端执行自身指令所产生的自身成本收益进行累计得到自身成本收益累计值,并对其他终端因人工智能终端执行其他终端的指令而产生的他人成本收益进行累计而得到他人成本收益累计值。S41: The artificial intelligence terminal accumulates the self-cost return generated by the other terminal to execute its own instruction, obtains the accumulated cost of the own cost, and accumulates other people's cost benefits generated by the other terminal's execution of the instruction of the other terminal by the artificial intelligence terminal to obtain others. The cumulative value of cost and revenue.
人工智能终端可以是智能机器人、自动驾驶交通工具(例如自动驾驶汽车)或其他具备数据分析处理能力的终端。其他终端与本终端之间通讯连接。其他终端可以为人工智能终端或者非智能终端。人工智能终端/其他终端的执行指令可以是人工智能终端/其他终端自行给出的,也可以是来自于用户的,例如人工智能终端/其他终端从其输入装置(触摸屏、键盘、麦克风、摄像头、鼠标等)接收到用户给出的指令。The artificial intelligence terminal may be an intelligent robot, an autonomous driving vehicle (for example, an autonomous driving vehicle) or other terminal having data analysis processing capability. Communication connection between other terminals and the terminal. Other terminals may be artificial intelligence terminals or non-intelligent terminals. The execution instructions of the artificial intelligence terminal/other terminal may be given by the artificial intelligence terminal/other terminal, or may be from the user, such as an artificial intelligence terminal/other terminal from its input device (touch screen, keyboard, microphone, camera, The mouse, etc.) receives the instruction given by the user.
自身成本收益累计值可以是预设时段内自身成本收益的和或者加权和,他人成本收益累计值可以是预设时段内他人成本收益的和或者加权和。The accumulated value of the cost-earnings of itself may be the sum or weighted sum of the self-costs and returns within the preset time period, and the accumulated value of the cost-earnings of others may be the sum or weighted sum of the cost-of-interests of others within the preset time period.
如果是加权和,本步骤之前人工智能终端需要获取自身和/或其他终端的权重。人工智能终端可以从服务器或者控制中心接收为自身分配的权重,并从服务器、控制中心或其他终端接收其他终端的权重。或者,人工智能终端也可以直接读取本地保存的自身和/或其他终端的权重,再接收本地未保存的权重。If it is a weighted sum, the artificial intelligence terminal needs to obtain the weight of itself and/or other terminals before this step. The artificial intelligence terminal can receive the weight assigned to itself from the server or the control center, and receive the weights of other terminals from the server, the control center, or other terminals. Alternatively, the artificial intelligence terminal can directly read the weights of the locally saved itself and/or other terminals, and then receive the local unsaved weights.
一般而言,人工智能终端/其他终端的权重由其优先级而决定。该优先级可以只由人工智能终端/其他终端本身的属性决定,例如,仍旧以自动驾驶汽车为例,可以设置为救护车/救火车/警车的优先级最高,校车/公交的优先级其次,接着是普通的载人汽车,货车的优先级最低。此外,优先级设置时还可以考虑人工智能终端的用户属性,例如,对于普通载人自动驾驶汽车,可以设置为目的地为机场/火车站/汽车站/学校/医院的自动驾驶汽车优先级高于目的地为其他场所的自动驾驶汽车,目的地优先级相同的情况下乘客数量越多的优先级越高。In general, the weight of an artificial intelligence terminal/other terminal is determined by its priority. The priority can be determined only by the attributes of the artificial intelligence terminal/other terminal itself. For example, still taking the self-driving car as an example, the priority of the ambulance/rescue/police car can be set to be the highest, and the priority of the school bus/transit bus is second. Then there is the ordinary manned car, which has the lowest priority. In addition, the user attribute of the artificial intelligence terminal can also be considered in the priority setting. For example, for an ordinary manned self-driving car, the priority of the self-driving car at the destination of the airport/train station/car station/school/hospital can be set to be high. For autonomous vehicles that are destined for other locations, the higher the priority of the destination, the higher the priority of the number of passengers.
S42:人工智能终端根据自身成本收益累计值和他人成本收益累计值控制自身的决策,以使得自身成本收益累计值和他人成本收益累计值的差值保持在预设范围内。S42: The artificial intelligence terminal controls its own decision according to the accumulated cost value of itself and the accumulated value of the cost of others, so that the difference between the accumulated value of the cost-earnings and the accumulated value of the cost-earnings of others is kept within a preset range.
决策可以是指决定是否执行自身和/或其他终端的执行指令。自身成本收益累计值和他人成本收益累计值的差值可以是指两者之差,也可以是指两者之差的绝对值。A decision can refer to an execution instruction that determines whether to execute itself and/or other terminals. The difference between the accumulated cost of the own cost and the accumulated value of the cost of the other person may refer to the difference between the two, or the absolute value of the difference between the two.
通过本实施例的实施,人工智能终端控制自身的决策,以使得自身成本收益累计值和他人成本收益累计值的差值保持在预设范围内,在行为控制的过程中,保证了自身和他人的收益累计值的平衡,实现了基于利他准则而非完全利己的行为控制,使得人工智能终端的行为准则更加符合人类的道德要求,更加合理,满足用户的要求。Through the implementation of the embodiment, the artificial intelligence terminal controls its own decision so that the difference between the accumulated cost of the cost and the accumulated value of the cost of the other person is kept within the preset range, and in the process of behavior control, the self and others are guaranteed. The balance of the accumulated value of the income realizes the behavior control based on the altruistic criteria rather than the self-interest, so that the behavioral norms of the artificial intelligence terminal are more in line with the human moral requirements, more reasonable and meet the requirements of the users.
如图12所示,本发明人工智能终端的行为控制方法第十二实施例,是在本发明人工智能终端的行为控制方法第十一实施例的基础上,S42包括:As shown in FIG. 12, the twelfth embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the eleventh embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and S42 includes:
S421:人工智能终端计算执行指令所产生的自身成本收益和/或他人成本收益。S421: The artificial intelligence terminal calculates the self-cost return and/or the cost benefit of others generated by executing the instruction.
执行指令可以包括自身的执行指令和/或其他终端的执行指令。Execution instructions may include their own execution instructions and/or execution instructions of other terminals.
S422:人工智能终端根据计算结果对自身成本收益累计值和/或他人成本收益累计值进行更新。S422: The artificial intelligence terminal updates the accumulated cost value of the own cost and/or the accumulated value of the cost of the other person according to the calculation result.
S423:人工智能终端判断更新后的自身成本收益累计值与他人成本收益累计值之间的差值是否属于预设范围内。S423: The artificial intelligence terminal determines whether the difference between the updated self-cost return cumulative value and the other person's cost-revenue accumulated value belongs to a preset range.
若属于,则跳转到步骤S424;否则跳转到步骤S425。If yes, the process goes to step S424; otherwise, the process goes to step S425.
S424:执行执行指令。S424: Execute an execution instruction.
如果执行指令包括自身的执行指令,则人工智能终端可以自身执行该自身的执行指令和/或通知相关的其他终端执行该自身的执行指令。如果执行指令包括其他终端的执行指令,则人工智能终端可以执行该其他终端的执行指令,执行完成之后,人工智能终端还可以选择以显性或者隐性的方式通知对应的其他终端,具体可参考本发明人工智能终端的行为控制方法第二和第三实施例的对应描述。If the execution instruction includes its own execution instruction, the artificial intelligence terminal may execute the own execution instruction itself and/or notify the relevant other terminal to execute the own execution instruction. If the execution instruction includes the execution instruction of the other terminal, the artificial intelligence terminal may execute the execution instruction of the other terminal. After the execution is completed, the artificial intelligence terminal may further select to notify the corresponding other terminal in an explicit or implicit manner, which may be specifically referred to. Corresponding description of the second and third embodiments of the behavior control method of the artificial intelligence terminal of the present invention.
S425:不执行执行指令。S425: Execution instruction is not executed.
如果执行指令包括其他终端的执行指令,则人工智能终端可以在本步骤之后选择以显性或者隐性的方式通知其他终端,具体可参考本发明人工智能终端的行为控制方法第二和第三实施例的对应描述。If the execution instruction includes the execution instruction of the other terminal, the artificial intelligence terminal may select to notify other terminals in an explicit or implicit manner after the step, and specifically refer to the second and third implementations of the behavior control method of the artificial intelligence terminal of the present invention. Corresponding description of the example.
如图13所示,本发明人工智能终端的行为控制方法第十三实施例包括:As shown in FIG. 13, the thirteenth embodiment of the behavior control method of the artificial intelligence terminal of the present invention includes:
S51:人工智能终端制定至少两个候选执行策略。S51: The artificial intelligence terminal formulates at least two candidate execution strategies.
人工智能终端可以是智能机器人、自动驾驶交通工具(例如自动驾驶汽车)或其他具备数据分析处理能力的终端。本实施例中人工智能终端作为执行策略的制定方。The artificial intelligence terminal may be an intelligent robot, an autonomous driving vehicle (for example, an autonomous driving vehicle) or other terminal having data analysis processing capability. In this embodiment, the artificial intelligence terminal is used as a formulator of the execution strategy.
每个候选执行策略可以包括人工智能终端自身的候选指令和/或若干个相关的其他终端的候选指令,且两种指令一般是相互配合的。Each candidate execution strategy may include candidate instructions of the artificial intelligence terminal itself and/or candidate instructions of several related other terminals, and the two instructions generally cooperate with each other.
仍旧以自动驾驶汽车来举例,人工智能终端为自动驾驶汽车F,其他终端包括自动驾驶汽车G和H,三者在同一车道上行驶且G和H在F的前方,F制定的第一个候选执行策略包括自身直线超车,G和H暂时移动到旁边车道,第二个候选执行策略包括自身从旁边车道超车,G和H维持直线行驶。Still using the self-driving car as an example, the artificial intelligence terminal is the self-driving car F, the other terminals include the self-driving cars G and H, the three are driving in the same lane and the G and H are in front of the F, the first candidate formulated by F The execution strategy includes its own straight-through overtaking, G and H temporarily move to the side lane, and the second candidate execution strategy includes self-overtaking from the side lane, and G and H maintain straight-line driving.
S52:人工智能终端向其他终端发送至少两个候选执行策略,以使得其他终端分别评判每个候选执行策略的可执行度。S52: The artificial intelligence terminal sends at least two candidate execution policies to other terminals, so that other terminals respectively evaluate the executable degree of each candidate execution policy.
其他终端与本终端之间通讯连接。其他终端在评判可执行度可以遵循完全的利己原则,也可以考虑人工智能终端的情况而遵循利他原则。Communication connection between other terminals and the terminal. Other terminals can follow the principle of complete self-interest in judging the enforceability, and can also follow the altruistic principle in consideration of the situation of the artificial intelligence terminal.
可执行度的取值可以仅为a或b,其中a表示可执行,b表示不可执行,且a>b,例如a=1,b=0。人工智能终端可以限制每个其他终端最多/最少/只能选择若干个(例如一个)可执行的候选执行策略,也可以任由其他终端自行评判。The value of the executable may be only a or b, where a means executable, b means unexecutable, and a>b, such as a=1, b=0. The artificial intelligence terminal can limit each other terminal to a maximum/minimum/only selectable (for example one) executable candidate execution strategy, or can be judged by other terminals.
可执行度的取值也可以为多个连续或不连续的数字,且可执行度的值越大,其他终端执行其对应的候选执行策略的意愿越强烈。The value of the executable degree may also be a plurality of consecutive or discontinuous numbers, and the greater the value of the executable degree, the stronger the willingness of other terminals to execute their corresponding candidate execution strategies.
不同的候选执行策略涉及到的其他终端可能不同,人工智能终端可以仅向每个候选执行策略涉及到的其他终端发送该候选执行策略,也可以统一向所有候选执行策略涉及到的所有其他终端发送所有候选执行策略。The other terminals involved in the different candidate execution policies may be different. The artificial intelligence terminal may send the candidate execution policy only to other terminals involved in each candidate execution policy, or may uniformly send to all other terminals involved in all candidate execution policies. All candidate execution strategies.
S53:人工智能终端接收来自于其他终端的可执行度。S53: The artificial intelligence terminal receives the executable degree from other terminals.
S54:人工智能终端根据可执行度从至少两个候选执行策略中选出最佳执行策略。S54: The artificial intelligence terminal selects an optimal execution policy from the at least two candidate execution strategies according to the executable degree.
对于每个候选执行策略,人工智能终端可以根据每个其他终端对该候选执行策略的可执行度统计得到该候选执行策略的综合可执行度,然后根据所有候选执行策略的综合可执行度进行选择。每个候选执行策略的综合可执行度的计算过程中可以考虑人工智能终端自身对该候选执行策略评价得到的可执行度,也可以不考虑。For each candidate execution policy, the artificial intelligence terminal may obtain the comprehensive executable degree of the candidate execution strategy according to the executable degree statistics of the candidate execution policy by each other terminal, and then select according to the comprehensive executable degree of all candidate execution strategies. . The calculation process of the candidate execution strategy evaluation by the artificial intelligence terminal itself may or may not be considered in the calculation process of the comprehensive executable degree of each candidate execution strategy.
S55:人工智能终端执行最佳执行策略。S55: The artificial intelligence terminal performs an optimal execution strategy.
具体的,人工智能终端可以自身执行最佳执行策略和/或通知其他终端执行最佳执行策略。Specifically, the artificial intelligence terminal may perform an optimal execution policy by itself and/or notify other terminals to perform an optimal execution strategy.
通过本实施例的实施,人工智能终端根据其他终端对至少两个候选执行策略评价得到的可执行度来选择最佳执行策略并执行最佳执行策略,在这一行为控制的过程中,除了自身的情况之外,还考虑了其他终端的情况,实现了基于利他准则的行为控制,使得人工智能终端的行为准则更加符合人类的道德要求,更加合理,满足用户的要求,并且在制定执行策略的过程中综合考虑了其他终端评价得到的可执行度,优化最终执行的执行策略,避免了不恰当的执行策略给自身和/或其他终端带来的不必要的开销。Through the implementation of the embodiment, the artificial intelligence terminal selects an optimal execution strategy and performs an optimal execution strategy according to the executable degree obtained by the other terminal for at least two candidate execution policy evaluations, in addition to itself in the process of controlling the behavior. In addition to the situation of other terminals, the behavior control based on altruistic criteria is also implemented, so that the behavioral guidelines of artificial intelligence terminals are more in line with human moral requirements, more reasonable, meet the requirements of users, and formulate implementation strategies. The process comprehensively considers the executable degree obtained by other terminal evaluations, optimizes the execution strategy of the final execution, and avoids the unnecessary overhead caused by the inappropriate execution strategy to itself and/or other terminals.
如图14所示,本发明人工智能终端的行为控制方法第十四实施例,是在本发明人工智能终端的行为控制方法第十三实施例的基础上,S54包括:As shown in FIG. 14, the fourteenth embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the thirteenth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and S54 includes:
S541:人工智能终端统计每个候选执行策略的综合可执行度。S541: The artificial intelligence terminal counts the comprehensive executable degree of each candidate execution strategy.
每个候选执行策略的综合可执行度为其可执行度的总和或加权和,如果是加权和,则该加权和的权重为其他终端的权重。The comprehensive enforceability of each candidate execution strategy is the sum or weighted sum of its executables, and if it is a weighted sum, the weight of the weighted sum is the weight of other terminals.
仍旧接着上面的例子进行说明,自动驾驶汽车G的权重为sg,对第一种和第二种候选执行策略评价得到的可执行度分别为g1和g2;自动驾驶汽车H的权重为sh,对第一种和第二种候选执行策略评价得到的可执行度分别为h1和h2。那么第一种候选执行策略的综合可执行度为g1+h1(总和)或sg*g1+sh*h1(加权和),第二种候选执行策略的综合可执行度为g2+h2(总和)或sg*g2+sh*h2(加权和)。Still following the above example, the weight of the self-driving car G is sg, the executables for the first and second candidate execution strategies are g1 and g2, respectively; the weight of the self-driving car H is sh, The enforceability of the first and second candidate execution strategy evaluations is h1 and h2, respectively. Then the comprehensive executable degree of the first candidate execution strategy is g1+h1 (sum) or sg*g1+sh*h1 (weighted sum), and the comprehensive executable degree of the second candidate execution strategy is g2+h2 (sum) Or sg*g2+sh*h2 (weighted sum).
S542:人工智能终端选择综合可执行度最大的候选执行策略作为最佳执行策略。S542: The artificial intelligence terminal selects the candidate execution strategy with the largest comprehensive executable as the best execution strategy.
如图15所示,本发明人工智能终端的行为控制方法第十五实施例包括:As shown in FIG. 15, the fifteenth embodiment of the behavior control method of the artificial intelligence terminal of the present invention includes:
S61:人工智能终端接收来自其他终端的至少一个候选执行策略。S61: The artificial intelligence terminal receives at least one candidate execution policy from another terminal.
人工智能终端可以是智能机器人、自动驾驶交通工具(例如自动驾驶汽车)或其他具备数据分析处理能力的终端。本实施例中人工智能终端作为执行策略的评价方。The artificial intelligence terminal may be an intelligent robot, an autonomous driving vehicle (for example, an autonomous driving vehicle) or other terminal having data analysis processing capability. In this embodiment, the artificial intelligence terminal is used as an evaluation party of the execution strategy.
S62:人工智能终端评判每个候选执行策略的可执行度。S62: The artificial intelligence terminal judges the executable degree of each candidate execution strategy.
对于每个候选执行策略,人工智能终端可以参考本发明人工智能终端的行为控制方法第一至第七、第十一和十二实施例中的任一个以及不冲突的结合所提供的方法来进行评价,如果判定该候选执行策略可以被执行,则确定其可执行度的值为a,否则确定其可执行度的值为b,a>b。当然也可以采用其他方式进行评判。For each candidate execution strategy, the artificial intelligence terminal can refer to any one of the first to seventh, eleventh and twelfth embodiments of the behavior control method of the artificial intelligence terminal of the present invention and the method provided by the combination of non-collision Evaluation, if it is determined that the candidate execution strategy can be executed, it is determined that the value of its executable degree is a, otherwise the value of its executable degree is determined to be b, a>b. Of course, other methods can also be used for judging.
S63:人工智能终端向其他终端发送可执行度,以使得其他终端根据可执行度从至少两个候选执行策略中选出最佳执行策略并执行最佳执行策略。S63: The artificial intelligence terminal sends the executable degree to other terminals, so that the other terminals select the best execution policy from the at least two candidate execution policies according to the executable degree and execute the optimal execution strategy.
具体可参考本发明人工智能终端的行为控制方法第十三和第十四实施例的描述。For details, refer to the descriptions of the thirteenth and fourteenth embodiments of the behavior control method of the artificial intelligence terminal of the present invention.
如图16所示,本发明人工智能终端的行为控制方法第十六实施例,是在本发明人工智能终端的行为控制方法第十五实施例的基础上,S62包括:As shown in FIG. 16, the sixteenth embodiment of the behavior control method of the artificial intelligence terminal of the present invention is based on the fifteenth embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and S62 includes:
S621:人工智能终端分别计算自身执行每个候选执行策略所产生的成本开销及其他终端因人工智能终端执行每个候选执行策略所产生的成本收益。S621: The artificial intelligence terminal separately calculates the cost cost generated by each candidate execution strategy and the cost benefit generated by the other artificial terminal by executing each candidate execution strategy.
S622:人工智能终端根据成本开销及成本收益计算得到可执行度。S622: The artificial intelligence terminal calculates the executable degree according to the cost overhead and the cost benefit.
一般而言,可执行度的计算公式应满足利他原则。例如,对于某个候选执行策略,人工智能终端计算得到的成本开销为x,成本收益为y,可执行度可以为(y-x)/(y+x)、(y-x)/y或者(y-x)/x等等。In general, the formula for calculating the enforceability should satisfy the altruistic principle. For example, for a candidate execution strategy, the artificial intelligence terminal calculates a cost cost of x, a cost benefit of y, and an executable degree of (yx)/(y+x), (yx)/y, or (yx)/ x and so on.
如图17所示,本发明人工智能终端第一实施例包括处理器110和通信电路120,处理器110连接通信电路120。As shown in FIG. 17, the first embodiment of the artificial intelligence terminal of the present invention includes a processor 110 and a communication circuit 120, and the processor 110 is connected to the communication circuit 120.
通信电路120用于发送和接收数据,是人工智能终端与其他终端进行通信的接口。The communication circuit 120 is used for transmitting and receiving data, and is an interface for the artificial intelligence terminal to communicate with other terminals.
处理器110控制人工智能终端的操作,处理器110还可以称为CPU(Central Processing Unit,中央处理单元)。处理器110可能是一种集成电路芯片,具有信号的处理能力。处理器110还可以是通用处理器、数字信号处理器(DSP)、专用集成电路(ASIC)、现成可编程门阵列(FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。The processor 110 controls the operation of the artificial intelligence terminal, and the processor 110 may also be referred to as a CPU (Central Processing). Unit, central processing unit). Processor 110 may be an integrated circuit chip with signal processing capabilities. The processor 110 can also be a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, and discrete hardware components. . The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
处理器110用于执行指令以实现本发明人工智能终端的行为控制方法任一实施例以及任意不冲突的组合所提供的方法。The processor 110 is operative to execute instructions to implement any of the embodiments of the behavioral control method of the artificial intelligence terminal of the present invention and any non-conflicting combination.
如图18所示,本发明计算机存储介质第一实施例包括存储器200,存储器200中存储有程序,程序能够被执行以实现本发明人工智能终端的行为控制方法任一实施例以及任意不冲突的组合所提供的方法。As shown in FIG. 18, the first embodiment of the computer storage medium of the present invention includes a memory 200 in which a program is stored, the program can be executed to implement any embodiment of the behavior control method of the artificial intelligence terminal of the present invention, and any non-conflicting Combine the methods provided.
存储器200可以包括只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、闪存(Flash Memory)、硬盘、光盘等。The memory 200 can include a read only memory (ROM, Read-Only) Memory), Random Access Memory (RAM), Flash Memory, hard disk, optical disk, etc.
在本发明所提供的几个实施例中,应该理解到,所揭露的人工智能终端可以通过其它的方式实现。例如,以上所描述的 设备实施方式仅仅是示意性的,例如,所述模块或资源单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个资源单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或资源单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed artificial intelligence terminal can be implemented in other manners. For example, as described above The device implementation is only illustrative. For example, the division of the module or resource unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple resource units or components may be combined or integrated. Go to another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or resource unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的资源单元可以是或者也可以不是物理上分开的,作为资源单元显示的部件可以是或者也可以不是物理资源单元,即可以位于一个地方,或者也可以分布到多个网络资源单元上。可以根据实际的需要选择其中的部分或者全部资源单元来实现本实施方式方案的目的。The resource units described as separate components may or may not be physically separated. The components displayed as resource units may or may not be physical resource units, that is, may be located in one place, or may be distributed to multiple networks. On the resource unit. Some or all of the resource units may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
另外,在本发明各个实施例中的各功能资源单元可以集成在一个处理资源单元中,也可以是各个资源单元单独物理存在,也可以两个或两个以上资源单元集成在一个资源单元中。上述集成的资源单元既可以采用硬件的形式实现,也可以采用软件功能资源单元的形式实现。In addition, each functional resource unit in each embodiment of the present invention may be integrated into one processing resource unit, or each resource unit may exist physically separately, or two or more resource units may be integrated into one resource unit. The above integrated resource unit can be implemented in the form of hardware or in the form of a software function resource unit.
所述集成的资源单元如果以软件功能资源单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施方式所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated resource unit, if implemented in the form of a software functional resource unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods of the various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (ROM, Read-Only) Memory, random access memory (RAM), disk or optical disk, and other media that can store program code.
以上所述仅为本发明的实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are directly or indirectly applied to other related technologies. The fields are all included in the scope of patent protection of the present invention.

Claims (16)

  1. 一种人工智能终端的行为控制方法,其特征在于,包括:A behavior control method for an artificial intelligence terminal, comprising:
    人工智能终端制定至少两个候选执行策略;The artificial intelligence terminal formulates at least two candidate execution strategies;
    所述人工智能终端向其他终端发送所述至少两个候选执行策略,以使得所述其他终端分别评判每个所述候选执行策略的可执行度;The artificial intelligence terminal sends the at least two candidate execution policies to other terminals, so that the other terminals respectively evaluate the executable degree of each of the candidate execution policies;
    所述人工智能终端接收来自于所述其他终端的所述可执行度;The artificial intelligence terminal receives the executable degree from the other terminal;
    所述人工智能终端根据所述可执行度从所述至少两个候选执行策略中选出最佳执行策略;The artificial intelligence terminal selects an optimal execution policy from the at least two candidate execution strategies according to the executable degree;
    所述人工智能终端执行所述最佳执行策略。The artificial intelligence terminal performs the best execution strategy.
  2. 根据权利要求1所述的方法,其他特征在于,所述人工智能终端根据所述可执行度从所述候选执行策略中选出最佳执行策略包括:The method according to claim 1, wherein the artificial intelligence terminal selects the best execution policy from the candidate execution policies according to the executable degree, including:
    所述人工智能终端统计每个所述候选执行策略的综合可执行度;The artificial intelligence terminal counts the comprehensive executable degree of each of the candidate execution strategies;
    所述人工智能终端选择所述综合可执行度最大的所述候选执行策略作为所述最佳执行策略。The artificial intelligence terminal selects the candidate execution strategy with the largest comprehensive executable as the best execution strategy.
  3. 根据权利要求2所述的方法,其他特征在于,每个所述候选执行策略的综合可执行度为其所述可执行度的总和或加权和,所述加权和的权重为所述其他终端的权重。 The method according to claim 2, wherein the integrated executable degree of each of the candidate execution strategies is a sum or a weighted sum of the executable degrees, and the weights of the weighted sums are Weights.
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述人工智能终端执行所述最佳执行策略包括: The method according to any one of claims 1 to 3, wherein the performing the optimal execution strategy by the artificial intelligence terminal comprises:
    所述人工智能终端自身执行所述最佳执行策略和/或通知所述其他终端执行所述最佳执行策略。The artificial intelligence terminal itself performs the best execution policy and/or notifies the other terminal to execute the best execution policy.
  5. 一种人工智能终端的行为控制方法,其特征在于,包括:A behavior control method for an artificial intelligence terminal, comprising:
    人工智能终端接收来自其他终端的至少一个候选执行策略;The artificial intelligence terminal receives at least one candidate execution policy from other terminals;
    所述人工智能终端分别评判每个所述候选执行策略的可执行度;The artificial intelligence terminal separately evaluates the executable degree of each of the candidate execution strategies;
    所述人工智能终端向所述其他终端发送所述可执行度,以使得所述其他终端根据所述可执行度从所述至少两个候选执行策略中选出最佳执行策略并执行所述最佳执行策略。The artificial intelligence terminal sends the executable degree to the other terminal, so that the other terminal selects an optimal execution policy from the at least two candidate execution policies according to the executable degree and executes the most Good execution strategy.
  6. 根据权利要求5所述的方法,其特征在于, The method of claim 5 wherein:
    所述人工智能终端分别评判每个所述候选执行策略的可执行度包括:The determining, by the artificial intelligence terminal, the executable degree of each of the candidate execution strategies includes:
    所述人工智能终端分别计算自身执行每个所述候选执行策略所产生的成本开销及所述其他终端因所述人工智能终端执行每个所述候选执行策略所产生的成本收益;The artificial intelligence terminal separately calculates a cost cost generated by each of the candidate execution strategies and a cost benefit generated by the other terminal by the artificial intelligence terminal to execute each of the candidate execution strategies;
    所述人工智能终端根据每个所述候选执行策略的所述成本开销及所述成本收益确定每个所述候选执行策略的所述可执行度。The artificial intelligence terminal determines the executable degree of each of the candidate execution policies according to the cost overhead and the cost benefit of each of the candidate execution policies.
  7. 根据权利要求6所述的方法,其特征在于,The method of claim 6 wherein:
    所述人工智能终端根据每个所述候选执行策略的所述成本开销及所述成本收益确定每个所述候选执行策略的所述可执行度包括:Determining, by the artificial intelligence terminal, the executable degree of each of the candidate execution policies according to the cost cost and the cost benefit of each of the candidate execution policies comprises:
    所述人工智能终端分别判断每个所述候选执行策略的所述成本开销是否小于或者等于所述成本收益;Determining, by the artificial intelligence terminal, whether the cost cost of each of the candidate execution policies is less than or equal to the cost benefit;
    若所述成本开销是否小于或者等于所述成本收益,则所述人工智能终端确定所述可执行度的值为a,否则确定所述可执行度的值为b,a>b。If the cost overhead is less than or equal to the cost benefit, the artificial intelligence terminal determines that the executable value is a, otherwise determines that the executable value has a value of b, a>b.
  8. 根据权利要求6所述的方法,其特征在于, The method of claim 6 wherein:
    所述人工智能终端根据每个所述候选执行策略的所述成本开销及所述成本收益确定每个所述候选执行策略的所述可执行度包括:Determining, by the artificial intelligence terminal, the executable degree of each of the candidate execution policies according to the cost cost and the cost benefit of each of the candidate execution policies comprises:
    所述人工智能终端分别判断每个所述候选执行策略的加权成本开销是否小于或者等于加权成本收益,所述加权成本开销为所述成本开销与所述人工智能终端的权重的乘积,所述加权成本收益为所述成本收益与所述其他终端的权重的乘积;Determining, by the artificial intelligence terminal, whether a weighted cost overhead of each of the candidate execution policies is less than or equal to a weighted cost benefit, where the weighted cost overhead is a product of the cost overhead and a weight of the artificial intelligence terminal, the weighting The cost benefit is the product of the cost benefit and the weight of the other terminal;
    若所述加权成本开销是否小于或者等于所述加权成本收益,则所述人工智能终端确定所述可执行度的值为a,否则确定所述可执行度的值为b,a>b。If the weighted cost overhead is less than or equal to the weighted cost benefit, the artificial intelligence terminal determines that the value of the executable degree is a, and otherwise determines that the value of the executable degree is b, a>b.
  9. 根据权利要求6所述的方法,其特征在于,The method of claim 6 wherein:
    所述人工智能终端根据每个所述候选执行策略的所述成本开销及所述成本收益确定每个所述候选执行策略的所述可执行度包括:Determining, by the artificial intelligence terminal, the executable degree of each of the candidate execution policies according to the cost cost and the cost benefit of each of the candidate execution policies comprises:
    所述人工智能终端根据所述成本开销及所述成本收益计算得到所述可执行度。The artificial intelligence terminal calculates the executable degree according to the cost overhead and the cost benefit.
  10. 根据权利要求6所述的方法,其特征在于,The method of claim 6 wherein:
    所述人工智能终端根据每个所述候选执行策略的所述成本开销及所述成本收益确定每个所述候选执行策略的所述可执行度包括:Determining, by the artificial intelligence terminal, the executable degree of each of the candidate execution policies according to the cost cost and the cost benefit of each of the candidate execution policies comprises:
    所述人工智能终端根据加权成本开销及加权成本收益计算得到所述可执行度,所述加权成本开销为所述成本开销与所述人工智能终端的权重的乘积,所述加权成本收益为所述成本收益与所述其他终端的权重的乘积。The artificial intelligence terminal calculates the executable degree according to the weighted cost overhead and the weighted cost benefit, where the weighted cost overhead is a product of the cost overhead and the weight of the artificial intelligence terminal, and the weighted cost benefit is The product of the cost benefit and the weight of the other terminals.
  11. 根据权利要求5所述的方法,其特征在于, The method of claim 5 wherein:
    所述人工智能终端分别评判每个所述候选执行策略的可执行度包括:The determining, by the artificial intelligence terminal, the executable degree of each of the candidate execution strategies includes:
    所述人工智能终端对所述其他终端执行自身指令所产生的自身成本收益进行累计得到自身成本收益累计值,并对所述其他终端因所述人工智能终端执行所述其他终端的指令而产生的他人成本收益进行累计而得到他人成本收益累计值;And the artificial intelligence terminal accumulates the self-cost return generated by the other terminal to execute the self-instruction, and obtains the self-cost-revenue integrated value, and generates the result that the other terminal executes the instruction of the other terminal by the artificial intelligence terminal. The cost-benefit of others is accumulated to obtain the cumulative value of the cost-earnings of others;
    所述人工智能终端分别计算自身执行每个所述候选执行策略所产生的自身成本收益和/或所述其他终端因所述人工智能终端执行每个所述候选执行策略所产生的他人成本收益;The artificial intelligence terminal separately calculates its own cost benefit generated by executing each of the candidate execution strategies and/or the other person's cost benefit generated by the other intelligent terminal by executing each of the candidate execution strategies;
    所述人工智能终端分别根据每个计算结果对所述自身成本收益累计值和/或所述他人成本收益累计值进行更新;The artificial intelligence terminal updates the self-cost revenue cumulative value and/or the other person cost revenue cumulative value according to each calculation result;
    所述人工智能终端判断更新后的所述自身成本收益累计值与所述他人成本收益累计值之间的差值是否属于预设范围内;Determining, by the artificial intelligence terminal, whether the difference between the updated self-cost return cumulative value and the other person's cost-benefit integrated value belongs to a preset range;
    若属于,则所述人工智能终端确定所述可执行度的值为a,否则确定所述可执行度的值为b,a>b。。If yes, the artificial intelligence terminal determines that the value of the executable degree is a, otherwise determines that the value of the executable degree is b, a>b. .
  12. 根据权利要求11所述的方法,其特征在于,所述自身成本收益累计值为预设时段内所有所述自身成本收益的总和,所述他人成本收益累计值为所述预设时段内所有所述他人成本收益的总和。The method according to claim 11, wherein the cumulative value of the self-cost revenue is a sum of all the self-costs and revenues in the preset time period, and the accumulated value of the cost-others of the others is all in the preset time period. The sum of the cost-benefit of others.
  13. 根据权利要求11所述的方法,其特征在于,所述自身成本收益累计值为预设时段内所有所述自身成本收益的加权和,所述他人成本收益累计值为所述预设时段内所有所述他人成本收益的加权和。 The method according to claim 11, wherein the self-cost-earnings cumulative value is a weighted sum of all of the self-costs and returns within a preset time period, and the other person's cost-benefit cumulative value is all within the preset time period. The weighted sum of the cost benefits of others.
  14. 一种人工智能终端,其特征在于,包括处理器和通信电路,所述处理器连接所述通信电路;An artificial intelligence terminal, comprising: a processor and a communication circuit, wherein the processor is connected to the communication circuit;
    所述处理器用于执行指令以实现如权利要求1-13中任一项所述方法。The processor is operative to execute instructions to implement the method of any of claims 1-13.
  15. 根据权利要求14所述的终端,其特征在于, The terminal according to claim 14, wherein
    所述人工智能终端为智能机器人或自动驾驶交通工具。The artificial intelligence terminal is an intelligent robot or an autonomous driving vehicle.
  16. 一种计算机存储介质,其特征在于,所述计算机存储介质中存储有程序,所述程序能够被执行以实现如权利要求1-13中任一项所述的人工智能终端的行为控制方法。A computer storage medium, characterized in that the computer storage medium stores a program, the program being executable to implement the behavior control method of the artificial intelligence terminal according to any one of claims 1-13.
PCT/CN2017/099157 2017-08-25 2017-08-25 Artificial intelligence terminal and behavior control method therefor WO2019037122A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201780036287.5A CN109313450B (en) 2017-08-25 2017-08-25 Artificial intelligence terminal and behavior control method thereof
PCT/CN2017/099157 WO2019037122A1 (en) 2017-08-25 2017-08-25 Artificial intelligence terminal and behavior control method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/099157 WO2019037122A1 (en) 2017-08-25 2017-08-25 Artificial intelligence terminal and behavior control method therefor

Publications (1)

Publication Number Publication Date
WO2019037122A1 true WO2019037122A1 (en) 2019-02-28

Family

ID=65225714

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/099157 WO2019037122A1 (en) 2017-08-25 2017-08-25 Artificial intelligence terminal and behavior control method therefor

Country Status (2)

Country Link
CN (1) CN109313450B (en)
WO (1) WO2019037122A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111318017B (en) * 2020-02-29 2023-06-13 深圳市腾讯信息技术有限公司 Virtual object control method, device, computer readable storage medium and apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100318478A1 (en) * 2009-06-11 2010-12-16 Yukiko Yoshiike Information processing device, information processing method, and program
CN105094011A (en) * 2015-06-30 2015-11-25 青岛海尔智能家电科技有限公司 House chore management robot and task processing method
CN105119733A (en) * 2015-07-06 2015-12-02 百度在线网络技术(北京)有限公司 Artificial intelligence system and state shifting method thereof, server and communication system
CN106527373A (en) * 2016-12-05 2017-03-22 中国科学院自动化研究所 Workshop automatic scheduling system and method based on mutli-intelligent agent
CN106843031A (en) * 2016-12-15 2017-06-13 北京光年无限科技有限公司 For the cooperative processing method and system of intelligent robot

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102984200B (en) * 2012-09-13 2015-07-15 大连理工大学 Method applicable for scene with multiple sparse and dense vehicular ad hoc networks (VANETs)
CN104570987A (en) * 2013-10-29 2015-04-29 上海沐风数码科技有限公司 3G network-based automatic vehicle-mounted terminal equipment
CN105015556A (en) * 2014-07-27 2015-11-04 潘香凤 Delivery vehicle with embedded driving-cab connection interface
US9182764B1 (en) * 2014-08-04 2015-11-10 Cummins, Inc. Apparatus and method for grouping vehicles for cooperative driving
CN106874597B (en) * 2017-02-16 2019-12-13 北理慧动(常熟)车辆科技有限公司 highway overtaking behavior decision method applied to automatic driving vehicle

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100318478A1 (en) * 2009-06-11 2010-12-16 Yukiko Yoshiike Information processing device, information processing method, and program
CN105094011A (en) * 2015-06-30 2015-11-25 青岛海尔智能家电科技有限公司 House chore management robot and task processing method
CN105119733A (en) * 2015-07-06 2015-12-02 百度在线网络技术(北京)有限公司 Artificial intelligence system and state shifting method thereof, server and communication system
CN106527373A (en) * 2016-12-05 2017-03-22 中国科学院自动化研究所 Workshop automatic scheduling system and method based on mutli-intelligent agent
CN106843031A (en) * 2016-12-15 2017-06-13 北京光年无限科技有限公司 For the cooperative processing method and system of intelligent robot

Also Published As

Publication number Publication date
CN109313450B (en) 2021-07-30
CN109313450A (en) 2019-02-05

Similar Documents

Publication Publication Date Title
WO2018166199A1 (en) Method for adjusting precision level of positioning, device, storage medium and electronic device
WO2018076818A1 (en) Data backup method, apparatus, electronic device, storage medium, and system
WO2016074235A1 (en) Control method and apparatus for moving object and mobile device
WO2018076812A1 (en) Data request response method and device, storage medium, server and system
WO2019037124A1 (en) Artificial intelligence terminal and behavior control method thereof
WO2018076811A1 (en) Data sharing method, device, system, storage medium and electronic device
WO2021075916A1 (en) Electronic device including resonant charging circuit
WO2021029457A1 (en) Artificial intelligence server and method for providing information to user
WO2017028597A1 (en) Data processing method and apparatus for virtual resource
WO2018129972A1 (en) Charging processing method and apparatus, storage medium, and electronic device
WO2017206867A1 (en) Sensor shutdown method and apparatus, storage medium, and electronic device
WO2017206865A1 (en) Application program shutdown method and apparatus, storage medium, and electronic device
WO2020246647A1 (en) Artificial intelligence device for managing operation of artificial intelligence system, and method therefor
WO2023158152A1 (en) Method of processing multimodal tasks, and an apparatus for the same
WO2019037122A1 (en) Artificial intelligence terminal and behavior control method therefor
WO2018076872A1 (en) Data backup method, apparatus, storage medium and server
WO2018076830A1 (en) Method and device for adjusting data synchronization cycle, electronic device, storage medium, and system
WO2018129973A1 (en) Power supply control method and apparatus, storage medium, and electronic device
WO2017206871A1 (en) Application program shutdown method and apparatus, storage medium, and electronic device
WO2019037125A1 (en) Artificial intelligence terminal and behavior control method thereof
WO2019037126A1 (en) Artificial intelligence terminal and behavior control method thereof
WO2019037123A1 (en) Artificial intelligence terminal and behavior control method thereof
WO2021167210A1 (en) Server, electronic device, and control methods therefor
WO2017078396A1 (en) Device and method for controlling data request
WO2018124464A1 (en) Electronic device and search service providing method of electronic device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17922178

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 24/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 17922178

Country of ref document: EP

Kind code of ref document: A1