CN110263932A - Multi-agent simulation system graphical combination construction method and device - Google Patents

Multi-agent simulation system graphical combination construction method and device Download PDF

Info

Publication number
CN110263932A
CN110263932A CN201910549955.5A CN201910549955A CN110263932A CN 110263932 A CN110263932 A CN 110263932A CN 201910549955 A CN201910549955 A CN 201910549955A CN 110263932 A CN110263932 A CN 110263932A
Authority
CN
China
Prior art keywords
agent model
agent
combined
model
pel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910549955.5A
Other languages
Chinese (zh)
Other versions
CN110263932B (en
Inventor
朱峰
汤俊
唐文杰
张昊明
姚锋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
National University of Defense Technology
Original Assignee
National University of Defense Technology
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 National University of Defense Technology filed Critical National University of Defense Technology
Priority to CN201910549955.5A priority Critical patent/CN110263932B/en
Publication of CN110263932A publication Critical patent/CN110263932A/en
Application granted granted Critical
Publication of CN110263932B publication Critical patent/CN110263932B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N7/00Computing arrangements based on specific mathematical models

Abstract

The application relates to a graphical combined construction method and device of a multi-agent simulation system, computer equipment and a storage medium. The method comprises the following steps: responding to the addition operation of the intelligent agent model graphic elements, constructing an intelligent agent model set to be combined, acquiring a global publishing and ordering interaction table, traversing the intelligent agent model set to be combined, matching publishing and ordering relations of the intelligent agent models to be combined, loading the intelligent agent models to be combined into an initial multi-intelligent agent simulation application framework, and constructing a multi-intelligent agent simulation system. On the one hand, the user adds the operation through the intelligent agent model primitive, adopts visual mode, has simplified user's operation process, and on the other hand utilizes the publish information and the order information of intelligent agent model to carry out the matching of intelligent agent model, has reduced the model matching degree of difficulty, adopts the overall situation to publish the interactive table of ordering and match the publishing order relation between the intelligent agent model, has realized the automatic combination of each intelligent agent model, has simplified simulation system's process of establishing.

Description

Multi-Agent simulation system graphically combines construction method and device
Technical field
This application involves field of computer technology, graphically combine building more particularly to a kind of Multi-Agent simulation system Method, apparatus, computer equipment and storage medium.
Background technique
As the development of society is goed deep into what is applied, the intelligent body behavior that complication system includes becomes increasingly complex, intelligent body Interactive relation between external environment, intelligent body also becomes increasingly complex, so that the challenge of exploratory development complication system mechanism is got over Come bigger.The building of Complex System Models not only needs the variation continuously optimization and upgrading, integrated survey according to analysis demand Examination, and it is also required to the rule according to human cognitive, the excavation of demand depth carries out in iteration.
Due to the complexity of system and comprehensive, the analogue system of conventional construction always faces that design difficulty is high, exploitation association The problems such as adjusting difficulty big, it is complicated so as to cause the building process of Complex simulation systems.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide a kind of multiple agent that can simplify system building process Analogue system graphically combines construction method, device, computer equipment and storage medium.
A kind of Multi-Agent simulation system graphically combines construction method, which comprises
The addition operation of agent model pel is responded, agent model set to be combined, the intelligent body to be combined are constructed It include the agent model that addition is requested in agent model pel addition operation in model set;
It obtains global announce and orders interaction table, the overall situation announces the announcement letter for ordering that interaction table includes each agent model At least one of breath and ordering information;
The agent model set to be combined is traversed, interaction table is ordered according to global announce, to described to be combined Each agent model to be combined carries out announcing order relations matching in agent model set;
The agent model to be combined for announcing order relations will be carried and be loaded onto initial Multi-Agent simulation application In frame, Multi-Agent simulation system is constructed.
The global order interaction table of announcing of the acquisition includes: in one of the embodiments,
Agent model resources bank is traversed, the model for searching agent model describes file;
It parses the model and describes file, obtain the announcement ordering information of the agent model;
The announcement ordering information of the agent model is added to initial announce and orders interaction table, building obtains described complete Office, which announces, orders interaction table.
In one of the embodiments, the agent model resources bank include each agent model executable file and Model describes file.
The response agent model pel addition operation in one of the embodiments, constructs intelligent body mould to be combined Type set includes:
It receives when user chooses agent model pel from the agent model resources bank interface of terminal, and by selection When agent model pel is added to pel editing area, the agent model of transmission adds message;
The agent model that message request addition is added according to the agent model, constructs agent model collection to be combined It closes.
The traversal agent model set to be combined in one of the embodiments, according to the global announcement Interaction table is ordered, announcement order relations are carried out to each agent model to be combined in the agent model set to be combined After matching, further includes:
For announcing order relations described in matched each single item, the agent model pel in the pel editing area is established Pel line from publisher to ordering party.
The traversal agent model set to be combined in one of the embodiments, according to the global announcement Interaction table is ordered, announcement order relations are carried out to each agent model to be combined in the agent model set to be combined Matching includes:
It is object module that an agent model to be combined is selected from the agent model set to be combined;
The intelligence to be combined of object module is not selected for for any one in the agent model set to be combined Body Model executes following steps:
With the non-selected agent model to be combined for model to be matched, interaction is ordered according to global announce Table carries out character string pairing to the object module and the model to be matched;
When the character string successful matching, the announcement order relations of the object module Yu the model to be matched are determined Matching.
It is described in one of the embodiments, to carry the agent model to be combined load for announcing order relations Into initial Multi-Agent simulation application framework, building Multi-Agent simulation system includes:
The agent model to be combined for announcing order relations will be carried and be loaded onto initial Multi-Agent simulation application Frame obtains Multi-Agent simulation application framework;
According to the announcement order relations that the agent model to be combined carries, in the Multi-Agent simulation application framework Interaction scheduling code between middle generation agent model constructs the Multi-Agent simulation system.
It is described in one of the embodiments, to carry the agent model to be combined load for announcing order relations Into initial Multi-Agent simulation application framework, after building Multi-Agent simulation system, further includes:
When the update operation of response agent model updates the public affairs when updating the agent model set to be combined Cloth order relations;
According to the agent model set to be combined of update and the announcement order relations of update, multiple agent is updated Analogue system.
A kind of Multi-Agent simulation system graphically combines construction device, and described device includes:
Set building module operates for responding the addition of agent model pel, constructs agent model set to be combined, It include the intelligent body mould that addition is requested in agent model pel addition operation in the agent model set to be combined Type;
Interaction table obtains module, announces order interaction table for obtaining the overall situation, the global order interaction table of announcing includes At least one of the announcement information of each agent model and ordering information;
Relationship match module orders friendship according to global announce for traversing the agent model set to be combined Mutual table carries out each agent model to be combined in the agent model set to be combined to announce order relations matching;
System constructs module, is loaded onto initially for will carry the agent model to be combined for announcing order relations In Multi-Agent simulation application framework, Multi-Agent simulation system is constructed.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device performs the steps of when executing the computer program
The addition operation of agent model pel is responded, agent model set to be combined, the intelligent body to be combined are constructed It include the agent model that addition is requested in agent model pel addition operation in model set;
It obtains global announce and orders interaction table, the overall situation announces the announcement letter for ordering that interaction table includes each agent model At least one of breath and ordering information;
The agent model set to be combined is traversed, interaction table is ordered according to global announce, to described to be combined Each agent model to be combined carries out announcing order relations matching in agent model set;
The agent model to be combined for announcing order relations will be carried and be loaded onto initial Multi-Agent simulation application In frame, Multi-Agent simulation system is constructed.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor It is performed the steps of when row
The addition operation of agent model pel is responded, agent model set to be combined, the intelligent body to be combined are constructed It include the agent model that addition is requested in agent model pel addition operation in model set;
It obtains global announce and orders interaction table, the overall situation announces the announcement letter for ordering that interaction table includes each agent model At least one of breath and ordering information;
The agent model set to be combined is traversed, interaction table is ordered according to global announce, to described to be combined Each agent model to be combined carries out announcing order relations matching in agent model set;
The agent model to be combined for announcing order relations will be carried and be loaded onto initial Multi-Agent simulation application In frame, Multi-Agent simulation system is constructed.
Above-mentioned Multi-Agent simulation system graphically combines construction method, device, computer equipment and storage medium, passes through The addition request for receiving multiple agent models, determines agent model to be combined, obtains global announce and orders interaction table, global Announcing and ordering interaction table includes at least one of announcement information and ordering information of each agent model, traverses intelligence to be combined Body Model is announced according to the overall situation and orders interaction table, carries out announcing order relations matching to each agent model to be combined, will carry There is the agent model to be combined for announcing order relations to be loaded onto preset Multi-Agent simulation application framework, how intelligent constructs Body analogue system.In whole process, on the one hand, user is added operation by agent model pel, using visual Mode simplifies the operating process of user, on the other hand, carries out intelligence using the announcement information and ordering information of agent model The matching of body Model reduces Model Matching difficulty, orders interaction table using global announcement and requests each of addition to match user Announcement order relations between agent model realize the automatic combination of each agent model in analogue system, to simplify The building process of analogue system.
Detailed description of the invention
Fig. 1 is the application scenario diagram that Multi-Agent simulation system graphically combines construction method in one embodiment;
Fig. 2 is the flow diagram that Multi-Agent simulation system graphically combines construction method in one embodiment;
Fig. 3 is the flow diagram that Multi-Agent simulation system graphically combines construction method in another embodiment;
Fig. 4 is the flow diagram that Multi-Agent simulation system graphically combines construction method in further embodiment;
Fig. 5 is the flow diagram of the sub-step of step S600 in Fig. 2 in one embodiment;
Fig. 6 is the flow diagram that Multi-Agent simulation system graphically combines construction method in another embodiment;
Fig. 7 is the structural block diagram that Multi-Agent simulation system graphically combines construction device in one embodiment;
Fig. 8 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Multi-Agent simulation system provided by the present application graphically combines construction method, can be applied to as shown in Figure 1 In application environment.Wherein, terminal 102 is communicated with server 104 by network by network.Server 104 responds terminal 102 agent model pel adds operation, constructs agent model set to be combined, wraps in agent model set to be combined The agent model for requesting addition in the addition operation of agent model pel is included, global announce is obtained and orders interaction table, it is global public It includes at least one of announcement information and ordering information of each agent model that cloth, which orders interaction table, the traversal of server 104 to Combination intelligent body Model set is announced according to the overall situation and orders interaction table, treats each intelligence to be combined in combination intelligent body Model set Energy body Model carries out announcing order relations matching, and the agent model to be combined that will carry announcement order relations is loaded onto initially In Multi-Agent simulation application framework, Multi-Agent simulation system is constructed.It is mostly intelligent for that can be constructed by 102 Duis of terminal Body analogue system carries out simulation operations.Wherein, terminal 102 can be, but not limited to be various personal computers, laptop, intelligence Energy mobile phone, tablet computer and portable wearable device, server 104 can use independent server either multiple servers The server cluster of composition is realized.
In one embodiment, as shown in Fig. 2, providing a kind of Multi-Agent simulation system graphically combines building side Method is applied to be illustrated for the server in Fig. 1 in this way, including step S200 to step S800.
Step S200, response agent model pel addition operation, constructs agent model set to be combined, intelligence to be combined It can include the agent model that addition is requested in the addition operation of agent model pel in body Model set.
Intelligent body, which refers to, to be resided under a certain environment, can continue automatically to play a role, have presence, reactivity, society The computational entity of the features such as meeting property, initiative.The analog form presence that agent model refers to intelligent body, can be in emulation system It is run in system, realizes the model with intelligent body identical function.Agent model describes document form with executable file and model It is stored in agent model resources bank.Agent model pel refers to shows agent model in terminal in the form of pel. Pel can be other intuitive visual patterns such as icon, text.The addition operation of agent model pel refers to user from intelligence In energy body Model resources bank, selects and add the process for agent model needed for constructing Simulation Application model.Implementing In example, user can realize the addition operation of agent model pel by terminal interface, for example, user passes through mouse from intelligent body Model resource library selects and pulls agent model pel to designated position.The agent model pel of server response user Addition operation, the agent model of addition is selected according to user, constructs agent model set to be combined.Intelligent body mould to be combined Each agent model in type set is a part of model selected from agent model resources bank, agent model to be combined Each agent model in set is for constructing Multi-Agent simulation system.
Step S400 obtains global announce and orders interaction table, and it includes each agent model that the overall situation, which is announced and orders interaction table, Announce at least one of information and ordering information.
The overall situation announces order interaction table and refers to the announcement for recording each agent model in agent model resources bank The tables of data of information and ordering information is the foundation of syntagmatic between determining agent model.The overall situation, which is announced, orders interaction table It can construct to obtain by existing agent model data.
It is interacted between agent model by the service between intelligent body, a service includes service provider and service Party in request announces information and refers to that agent model as service provider, can be the service that other agent models provide, order Information refers to agent model as demand for services side, it is desirable to the service that other agent models provide.In embodiment, same Agent model both can be used as service provider, can also be used as demand for services side, while having and announcing information and esteemed favor Breath, the quantity for announcing information and ordering information can be one or more.It is appreciated that agent model can only announce letter Breath, or only ordering information.
Step S600 traverses agent model set to be combined, is announced according to the overall situation and orders interaction table, treats combination intelligent Each agent model to be combined carries out announcing order relations matching in body Model set.
Each agent model in agent model set to be combined is being emulated for constructing Multi-Agent simulation system Before system building, interaction table is ordered by global announce of agent model, determines the matching between agent model to be combined Relationship.In embodiment, the agent model to be combined in agent model set to be combined is traversed, is currently to need with A model Want matched agent model, it is assumed that first agent model traversed is B model, announces and is ordered in interaction table from the overall situation Obtain the announcement subscription data of B model.The judgement announcement data item of the A model and subscription data item of B model is consistent or A if it exists The subscription data item of model and the announcement data item of B model are consistent, and determining A model, there are the announcements of successful match to order with B model Otherwise purchase relationship traverses next agent model to be combined in agent model set to be combined, until intelligence to be combined It is current with other models similarly until all agent model traversals to be combined finish in addition to A model in body Model set Matched agent model is needed, other agent models to be combined of agent model set to be combined are traversed, is realized to group Close the announcement order relations matching in agent model set between each agent model to be combined.
Step S800 will carry the agent model to be combined for announcing order relations and be loaded onto initial Multi-Agent simulation In application framework, Multi-Agent simulation system is constructed.
Simulation Application frame refers to the component specifications for completing the specific basic task of analogue system.It in embodiment, can be with needle To specific simulation engine modeling framework feature, generate the Simulation Application frame based on the simulation engine, Simulation Application frame with Simulation engine is corresponding, and simulation engine can dispatch corresponding intelligent body according to the announcement order relations of agent model to be combined Model automatically generates the interaction scheduling code between agent model, to realize the building of Multi-Agent simulation system.
Above-mentioned Multi-Agent simulation system graphically combines construction method, and the addition by receiving multiple agent models is asked It asks, determines agent model to be combined, obtain global announce and order interaction table, it includes each intelligent body that the overall situation, which is announced and orders interaction table, At least one of the announcement information of model and ordering information traverse agent model to be combined, are announced to order according to the overall situation and be handed over Mutual table carries out each agent model to be combined to announce order relations matching, will carry the intelligence to be combined for announcing order relations Energy body Model is loaded onto preset Multi-Agent simulation application framework, constructs Multi-Agent simulation system.In whole process, one Aspect, user are added operation by agent model pel, using visual mode, simplify the operation of user On the other hand journey is carried out the matching of agent model using the announcement information and ordering information of agent model, reduces model Difficulty of matching orders interaction table using global announcement to match user and the announcement between each agent model added is requested to be ordered Relationship, realizes the automatic combination of each agent model in analogue system, to simplify the building process of analogue system.
In one of the embodiments, as shown in figure 3, step S400, obtaining global order interaction table of announcing includes step S420 to step S460.
Step S420, traverses agent model resources bank, and the model for searching agent model describes file.
Step S440, analytic modell analytical model describe file, obtain the announcement ordering information of agent model.
The announcement ordering information of agent model is added to initial announce and orders interaction table by step S460, and building obtains The overall situation, which is announced, orders interaction table.
The executable file and model that agent model is stored in agent model resources bank describe file, pass through traversal Agent model resources bank, the model that can search to obtain each agent model describe file.In embodiment, model describes File is retouched with the presence of .xml (Extensible Markup Language, extensible markup language) format by analytic modell analytical model File is stated, the announcement ordering information for the agent model that model describes in file can be obtained, announcing ordering information is to announce letter The general designation of breath and ordering information, the announcement ordering information of agent model can include announcing information and ordering information simultaneously, Announcement information can be only included or only include ordering information.Initial order interaction table of announcing refers to for storing agent model The announcement ordering information of agent model is uniformly added to initial announce and orders interaction table by the tables of data for announcing ordering information, It obtains global announce and orders interaction table.It is announced according to the overall situation and orders interaction table, can quickly search to obtain each agent model Announcement ordering information.
Agent model resources bank includes the executable file and model of each agent model in one of the embodiments, File is described.
Executable file refers to the file that load and execution can be carried out by operating system.In different operating system environments Under, the executable program presentation mode of executable file is different.In embodiment, the load of agent model, its essence is The executable file of agent model is loaded onto analogue system, so that analogue system load and execution executable file, generates intelligence Interaction scheduling code between energy body Model, building obtain the Multi-Agent simulation system of user's needs.
In one of the embodiments, as shown in figure 4, step S200, response agent model pel addition operation, building Agent model set to be combined includes step S220 and step S240.
Step S220, reception choose agent model pel as user from the agent model resources bank interface of terminal, And when the agent model pel of selection is added to pel editing area, the agent model of transmission adds message.
Step S240 adds the agent model of message request addition according to agent model, constructs intelligent body to be combined Model set.
The agent model resources bank interface of terminal is corresponding with the agent model resources bank in server, for showing Each agent model in agent model resources bank in server, so that user carries out the selection of agent model.Figure Member is a kind of tag mark with reference meaning, and agent model pel is the tag mark for characterizing agent model, It specifically can be other intuitive forms such as icon, text.The intelligence in agent model pel and agent model resources bank The executable file of body Model is associated.When user chooses agent model figure from the agent model resources bank interface of terminal Member, and when the agent model pel of selection is added to pel editing area, agent model is sent by terminal to server Message is added, server receives agent model addition message, the intelligence of message request addition is added according to agent model Body Model constructs agent model set to be combined from the corresponding agent model to be combined of agent model resource library lookup. In embodiment, user chooses agent model pel in such a way that mouse is dilatory from agent model resources bank interface, And it is dragged to pel editing area.Pel editing area is a kind of graphical compositional modeling editing area of multiple agent, each intelligent body Model is expressed as a specific agent model pel in graphical compositional modeling editing area, i.e., different agent models is adopted It is indicated with different agent model pels, to distinguish each agent model.
Step S600 in one of the embodiments, traverses agent model set to be combined, is announced and is ordered according to the overall situation Interaction table is treated each agent model to be combined in combination intelligent body Model set and is carried out after announcing order relations matching, also Include: that order relations are announced for matched each single item, establish agent model pel in pel editing area from publisher to The pel line of ordering party.
Pel line refers in the display interface of terminal, characterizes the hair between the agent model pel in pel editing area The line of cloth order relations.There are publishers and ordering party in publication order relations between agent model, in embodiment, figure First line can be the unidirectional pel line from publisher to ordering party, be ordered with the publication intuitively indicated between agent model Purchase relationship.
In one of the embodiments, as shown in figure 5, step S600, traverses agent model set to be combined, according to complete Office, which announces, orders interaction table, treats each agent model to be combined in combination intelligent body Model set and carries out announcing order relations With including step S620 to step S640.
Step S620, it is object module that an agent model to be combined is selected from agent model set to be combined.
The intelligent body mould to be combined of object module is not selected for for any one in agent model set to be combined Type executes step S640 and step S660.
Step S640 is announced according to the overall situation and is ordered with the non-selected agent model to be combined for model to be matched Interaction table carries out character string pairing to object module and model to be matched.
Step S660 determines the announcement order relations of object module Yu model to be matched when character string successful matching Match.
By taking the matching process of an agent model to be combined in agent model set to be combined as an example, to be combined It is object module that an agent model to be combined is selected in agent model set, in agent model set to be combined It is not selected for the agent model to be combined of object module, with the non-selected agent model to be combined for mould to be matched Type is announced according to the overall situation and orders interaction table, character string pairing is carried out to object module and model to be matched, to determine object module With model to be matched with the presence or absence of announcement order relations.When character string successful matching, object module and model to be matched are determined Announcement order relations matching, when character string pairing it is unsuccessful when, with non-selected next agent model to be combined be to Matching Model carry out character string pairing, until in agent model set to be combined in addition to object module all intelligence to be combined Until body Model traversal finishes.Again using other agent models to be combined as object module, traversed in the same way It is matched with character string.In embodiment, to avoid the occurrence of repeated matching the phenomenon that, by agent model set to be combined respectively to The order of addition of combination intelligent body Model, successively using each agent model to be combined as object module, the traversal pair of object module As the agent model to be combined for being order of addition before the object module.
In one of the embodiments, as shown in fig. 6, step S800, will carry the intelligence to be combined for announcing order relations Energy body Model is loaded onto initial Multi-Agent simulation application framework, constructs Multi-Agent simulation system, including step S820 is extremely Step S840.
Step S820 will carry the agent model to be combined for announcing order relations and be loaded onto initial Multi-Agent simulation Application framework obtains Multi-Agent simulation application framework.
Step S840, according to the announcement order relations that agent model to be combined carries, in Multi-Agent simulation application frame The interaction scheduling code between agent model is generated in frame, constructs Multi-Agent simulation system.
Initial intelligent body Simulation Application frame refers to the initial Simulation Application frame generated according to simulation engine, does not load intelligence Can body Model, by simulation engine provide load agent model interface, traverse in agent model set to be combined to Combination intelligent body Model, i.e. the agent model pel of pel editing area, successively mount agent model, according to each to be combined Announcement order relations between agent model automatically generate the interaction scheduling generation between agent model in Simulation Application frame Code, to realize the interaction between entire agent model, building obtains Multi-Agent simulation system.
Step S800 in one of the embodiments, will carry the agent model to be combined for announcing order relations and add It is loaded onto initial Multi-Agent simulation application framework, after building Multi-Agent simulation system, further includes:
When the update operation of response agent model, when updating agent model set to be combined, updates to announce to order and close System.
According to the agent model set to be combined of update and the announcement order relations of update, Multi-Agent simulation is updated System.
Wherein, updating operation includes the operation such as addition, update, deletion of agent model, is operated by updating, Ke Yixiu Change required agent model, realizes that the automatic combination of Multi-Agent simulation system is integrated, reduce the compositional modeling of system model Difficulty, so that the iteratively faster of system model be supported to optimize.
It should be understood that although each step in the flow chart of Fig. 2-6 is successively shown according to the instruction of arrow, These steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly stating otherwise herein, these steps Execution there is no stringent sequences to limit, these steps can execute in other order.Moreover, at least one in Fig. 2-6 Part steps may include that perhaps these sub-steps of multiple stages or stage are not necessarily in synchronization to multiple sub-steps Completion is executed, but can be executed at different times, the execution sequence in these sub-steps or stage is also not necessarily successively It carries out, but can be at least part of the sub-step or stage of other steps or other steps in turn or alternately It executes.
In one embodiment, it provides a kind of Multi-Agent simulation system and graphically combines construction device, such as Fig. 7 institute Show, device includes:
Set building module 100 constructs agent model collection to be combined for responding the addition operation of agent model pel It closes, includes the agent model for requesting addition in the addition operation of agent model pel in agent model set to be combined.
Interaction table obtains module 200, orders interaction table for obtaining global announce, it includes each that the overall situation, which is announced and orders interaction table, At least one of the announcement information of agent model and ordering information.
Relationship match module 300 is announced according to the overall situation for traversing agent model set to be combined and orders interaction table, Each agent model to be combined in combination intelligent body Model set is treated to carry out announcing order relations matching.
System constructs module 400, is loaded onto initially for will carry the agent model to be combined for announcing order relations In Multi-Agent simulation application framework, Multi-Agent simulation system is constructed.
It further includes interaction table building that Multi-Agent simulation system, which graphically combines construction device, in one of the embodiments, Module, for traversing agent model resources bank, the model for searching agent model describes file, and analytic modell analytical model describes file, The announcement ordering information of agent model is added to initial announce and orders interaction by the announcement ordering information for obtaining agent model Table, building obtain global announce and order interaction table.
Agent model resources bank includes the executable file and model of each agent model in one of the embodiments, File is described.
Set building module 100 in one of the embodiments, is also used to receive when agent model of the user from terminal When choosing agent model pel in resources bank interface, and the agent model pel of selection being added to pel editing area, hair The agent model addition message sent, the agent model of message request addition is added according to agent model, is constructed to be combined Agent model set.
It further includes pel line mould that Multi-Agent simulation system, which graphically combines construction device, in one of the embodiments, Block, for for matched each single item announcement order relations, establishing the agent model pel in pel editing area from publisher To the pel line of ordering party.
Relationship match module 300 in one of the embodiments, is also used to select from agent model set to be combined One agent model to be combined is object module, is not selected for mesh for any one in agent model set to be combined The agent model to be combined of model is marked, with the non-selected agent model to be combined for model to be matched, according to the overall situation It announces and orders interaction table, character string pairing is carried out to object module and model to be matched and determines mesh when character string successful matching Mark model is matched with the announcement order relations of model to be matched.
System constructs module 400 in one of the embodiments, is also used to carry and announces the to be combined of order relations Agent model is loaded onto initial Multi-Agent simulation application framework, Multi-Agent simulation application framework is obtained, according to be combined The announcement order relations that agent model carries are generating the interaction between agent model in Multi-Agent simulation application framework Scheduling code constructs Multi-Agent simulation system.
It further includes system update mould that Multi-Agent simulation system, which graphically combines construction device, in one of the embodiments, Block when updating agent model set to be combined, is updated to announce to order and be closed for the update operation when response agent model System;According to the agent model set to be combined of update and the announcement order relations of update, Multi-Agent simulation system is updated.
Above-mentioned Multi-Agent simulation system graphically combines construction device, and the addition by receiving multiple agent models is asked It asks, determines agent model to be combined, obtain global announce and order interaction table, it includes each intelligent body that the overall situation, which is announced and orders interaction table, At least one of the announcement information of model and ordering information traverse agent model to be combined, are announced to order according to the overall situation and be handed over Mutual table carries out each agent model to be combined to announce order relations matching, will carry the intelligence to be combined for announcing order relations Energy body Model is loaded onto preset Multi-Agent simulation application framework, constructs Multi-Agent simulation system.In whole process, one Aspect, user are added operation by agent model pel, using visual mode, simplify the operation of user On the other hand journey is carried out the matching of agent model using the announcement information and ordering information of agent model, reduces model Difficulty of matching orders interaction table using global announcement to match user and the announcement between each agent model added is requested to be ordered Relationship, realizes the automatic combination of each agent model in analogue system, to simplify the building process of analogue system.
The specific restriction for graphically combining construction device about Multi-Agent simulation system may refer to above for more Intelligent body analogue system graphically combines the restriction of construction method, and details are not described herein.Above-mentioned Multi-Agent simulation system figure The modules changed in combination construction device can be realized fully or partially through software, hardware and combinations thereof.Above-mentioned each module It can be embedded in the form of hardware or independently of in the processor in computer equipment, computer can also be stored in a software form In memory in equipment, the corresponding operation of the above modules is executed in order to which processor calls.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 8.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The database of machine equipment graphically combines building data for storing Multi-Agent simulation system.The network of the computer equipment connects Mouth with external terminal by network connection for being communicated.It is a kind of mostly intelligent to realize when the computer program is executed by processor Body analogue system graphically combines construction method.
It will be understood by those skilled in the art that structure shown in Fig. 8, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with Computer program, the processor perform the steps of when executing computer program
The addition operation of agent model pel is responded, agent model set to be combined, agent model to be combined are constructed It include the agent model that addition is requested in the addition operation of agent model pel in set;
Obtain global announce and order interaction table, the overall situation announce order announcement information that interaction table includes each agent model and At least one of ordering information;
Agent model set to be combined is traversed, is announced according to the overall situation and orders interaction table, treat combination intelligent body Model collection Each agent model to be combined carries out announcing order relations matching in conjunction;
The agent model to be combined for announcing order relations will be carried and be loaded onto initial Multi-Agent simulation application framework In, construct Multi-Agent simulation system.
In one embodiment, it is also performed the steps of when processor executes computer program
Agent model resources bank is traversed, the model for searching agent model describes file;
Analytic modell analytical model describes file, obtains the announcement ordering information of agent model;
The announcement ordering information of agent model is added to initial announce and orders interaction table, building obtains global announce and orders Purchase interaction table.
In one embodiment, it is also performed the steps of when processor executes computer program
It receives when user chooses agent model pel from the agent model resources bank interface of terminal, and by selection When agent model pel is added to pel editing area, the agent model of transmission adds message;
The agent model that message request addition is added according to agent model, constructs agent model set to be combined.
In one embodiment, it is also performed the steps of when processor executes computer program
Order relations are announced for matched each single item, establish agent model pel in pel editing area from publisher To the pel line of ordering party.
In one embodiment, it is also performed the steps of when processor executes computer program
It is object module that an agent model to be combined is selected from agent model set to be combined;
The intelligent body mould to be combined of object module is not selected for for any one in agent model set to be combined Type executes following steps:
With the non-selected agent model to be combined for model to be matched, is announced according to the overall situation and order interaction table, it is right Object module and model to be matched carry out character string pairing;
When character string successful matching, determine that object module is matched with the announcement order relations of model to be matched.
In one embodiment, it is also performed the steps of when processor executes computer program
The agent model to be combined for announcing order relations will be carried and be loaded onto initial Multi-Agent simulation application framework, Obtain Multi-Agent simulation application framework;
According to the announcement order relations that agent model to be combined carries, intelligence is generated in Multi-Agent simulation application framework Interaction scheduling code between energy body Model, constructs Multi-Agent simulation system.
In one embodiment, it is also performed the steps of when processor executes computer program
When the update operation of response agent model, when updating agent model set to be combined, updates to announce to order and close System;
According to the agent model set to be combined of update and the announcement order relations of update, Multi-Agent simulation is updated System.
The above-mentioned computer equipment that construction method is graphically combined for realizing Multi-Agent simulation system is more by receiving The addition of a agent model is requested, and determines agent model to be combined, is obtained global announce and is ordered interaction table, the overall situation is announced and ordered Purchasing interaction table includes at least one of announcement information and ordering information of each agent model, traverses intelligent body mould to be combined Type is announced according to the overall situation and orders interaction table, carries out announcing order relations matching to each agent model to be combined, will carry public affairs The agent model to be combined of cloth order relations is loaded onto preset Multi-Agent simulation application framework, and building multiple agent is imitative True system.In whole process, on the one hand, user is added operation by agent model pel, using visual mode, The operating process of user is simplified, on the other hand, carries out intelligent body mould using the announcement information and ordering information of agent model The matching of type reduces Model Matching difficulty, orders interaction table using global announcement to match each intelligence that user requests addition Announcement order relations between body Model, realize the automatic combination of each agent model in analogue system, to simplify imitative The building process of true system.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
The addition operation of agent model pel is responded, agent model set to be combined, agent model to be combined are constructed It include the agent model that addition is requested in the addition operation of agent model pel in set;
Obtain global announce and order interaction table, the overall situation announce order announcement information that interaction table includes each agent model and At least one of ordering information;
Agent model set to be combined is traversed, is announced according to the overall situation and orders interaction table, treat combination intelligent body Model collection Each agent model to be combined carries out announcing order relations matching in conjunction;
The agent model to be combined for announcing order relations will be carried and be loaded onto initial Multi-Agent simulation application framework In, construct Multi-Agent simulation system.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Agent model resources bank is traversed, the model for searching agent model describes file;
Analytic modell analytical model describes file, obtains the announcement ordering information of agent model;
The announcement ordering information of agent model is added to initial announce and orders interaction table, building obtains global announce and orders Purchase interaction table.
In one embodiment, it is also performed the steps of when computer program is executed by processor
It receives when user chooses agent model pel from the agent model resources bank interface of terminal, and by selection When agent model pel is added to pel editing area, the agent model of transmission adds message;
The agent model that message request addition is added according to agent model, constructs agent model set to be combined.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Order relations are announced for matched each single item, establish agent model pel in pel editing area from publisher To the pel line of ordering party.
In one embodiment, it is also performed the steps of when computer program is executed by processor
It is object module that an agent model to be combined is selected from agent model set to be combined;
The intelligent body mould to be combined of object module is not selected for for any one in agent model set to be combined Type executes following steps:
With the non-selected agent model to be combined for model to be matched, is announced according to the overall situation and order interaction table, it is right Object module and model to be matched carry out character string pairing;
When character string successful matching, determine that object module is matched with the announcement order relations of model to be matched.
In one embodiment, it is also performed the steps of when computer program is executed by processor
The agent model to be combined for announcing order relations will be carried and be loaded onto initial Multi-Agent simulation application framework, Obtain Multi-Agent simulation application framework;
According to the announcement order relations that agent model to be combined carries, intelligence is generated in Multi-Agent simulation application framework Interaction scheduling code between energy body Model, constructs Multi-Agent simulation system.
In one embodiment, it is also performed the steps of when computer program is executed by processor
When the update operation of response agent model, when updating agent model set to be combined, updates to announce to order and close System;
According to the agent model set to be combined of update and the announcement order relations of update, Multi-Agent simulation is updated System.
The above-mentioned computer readable storage medium that construction method is graphically combined for realizing Multi-Agent simulation system leads to The addition request for receiving multiple agent models is crossed, determines agent model to be combined, global announce is obtained and orders interaction table, entirely It includes at least one of announcement information and ordering information of each agent model that office, which announces and orders interaction table, traverses intelligence to be combined Energy body Model, announces according to the overall situation and orders interaction table, carries out announcement order relations to each agent model to be combined and matches, will take It is loaded onto preset Multi-Agent simulation application framework with the agent model to be combined for announcing order relations, constructs more intelligence It can body analogue system.In whole process, on the one hand, user is added operation by agent model pel, using visualization Mode, simplify the operating process of user, on the other hand, utilize agent model announcement information and ordering information carry out intelligence The matching of energy body Model, reduces Model Matching difficulty, is added using global announcement order interaction table to match user's request Announcement order relations between each agent model realize the automatic combination of each agent model in analogue system, thus simple The building process of analogue system is changed.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Instruct relevant hardware to complete by computer program, computer program to can be stored in a non-volatile computer readable It takes in storage medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, this Shen Please provided by any reference used in each embodiment to memory, storage, database or other media, may each comprise Non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
Above embodiments only express the several embodiments of the application, and the description thereof is more specific and detailed, but can not Therefore it is construed as limiting the scope of the patent.It should be pointed out that for those of ordinary skill in the art, Under the premise of not departing from the application design, various modifications and improvements can be made, these belong to the protection scope of the application. Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of Multi-Agent simulation system graphically combines construction method, which comprises
The addition operation of agent model pel is responded, agent model set to be combined, the agent model to be combined are constructed It include the agent model that addition is requested in agent model pel addition operation in set;
Obtain global announce and order interaction table, it is described it is global announce order announcement information that interaction table includes each agent model and At least one of ordering information;
The agent model set to be combined is traversed, interaction table is ordered according to global announce, to the intelligence to be combined Each agent model to be combined carries out announcing order relations matching in body Model set;
The agent model to be combined for announcing order relations will be carried and be loaded onto initial Multi-Agent simulation application framework In, construct Multi-Agent simulation system.
2. the method according to claim 1, wherein the global order interaction table of announcing of the acquisition includes:
Agent model resources bank is traversed, the model for searching agent model describes file;
It parses the model and describes file, obtain the announcement ordering information of the agent model;
The announcement ordering information of the agent model is added to initial announce and orders interaction table, building obtains described global public Cloth orders interaction table.
3. according to the method described in claim 2, it is characterized in that, the agent model resources bank includes each agent model Executable file and model file is described.
4. the method according to claim 1, wherein response agent model pel addition operation, building Agent model set to be combined includes:
It receives when user chooses agent model pel from the agent model resources bank interface of terminal, and by the intelligence of selection When body Model pel is added to pel editing area, the agent model of transmission adds message;
The agent model that message request addition is added according to the agent model, constructs agent model set to be combined.
5. according to the method described in claim 4, it is characterized in that, the traversal agent model set to be combined, root Order interaction table according to global announce, to each agent model to be combined in the agent model set to be combined into Row is announced after order relations matching, further includes:
For announcing order relations described in matched each single item, agent model pel in the pel editing area is established from hair Cloth side arrives the pel line of ordering party.
6. the method according to claim 1, wherein the traversal agent model set to be combined, root Order interaction table according to global announce, to each agent model to be combined in the agent model set to be combined into Row announces order relations matching
It is object module that an agent model to be combined is selected from the agent model set to be combined;
The intelligent body mould to be combined of object module is not selected for for any one in the agent model set to be combined Type executes following steps:
With the non-selected agent model to be combined for model to be matched, interaction table is ordered according to global announce, it is right The object module and the model to be matched carry out character string pairing;
When the character string successful matching, the announcement order relations of the object module Yu the model to be matched are determined Match.
7. the method according to claim 1, wherein described will carry the to be combined of the announcement order relations Agent model is loaded onto initial Multi-Agent simulation application framework, and building Multi-Agent simulation system includes:
The agent model to be combined for announcing order relations will be carried and be loaded onto initial Multi-Agent simulation application framework, Obtain Multi-Agent simulation application framework;
It is raw in the Multi-Agent simulation application framework according to the announcement order relations that the agent model to be combined carries At the interaction scheduling code between agent model, the Multi-Agent simulation system is constructed.
8. a kind of Multi-Agent simulation system graphically combines construction device, which is characterized in that described device includes:
Respond module is operated, is operated for responding the addition of agent model pel, constructs agent model set to be combined, it is described It include the agent model that addition is requested in agent model pel addition operation in agent model set to be combined;
Interaction table obtains module, orders interaction table for obtaining global announce, it includes each intelligence that the overall situation, which is announced and orders interaction table, At least one of the announcement information of energy body Model and ordering information;
Relationship match module orders interaction table according to global announce for traversing the agent model set to be combined, Each agent model to be combined in the agent model set to be combined is carried out to announce order relations matching;
System constructs module, is loaded onto initial more intelligence for will carry the agent model to be combined for announcing order relations In energy body Simulation Application frame, Multi-Agent simulation system is constructed.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 7 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 7 is realized when being executed by processor.
CN201910549955.5A 2019-06-24 2019-06-24 Multi-agent simulation system graphical combination construction method and device Active CN110263932B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910549955.5A CN110263932B (en) 2019-06-24 2019-06-24 Multi-agent simulation system graphical combination construction method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910549955.5A CN110263932B (en) 2019-06-24 2019-06-24 Multi-agent simulation system graphical combination construction method and device

Publications (2)

Publication Number Publication Date
CN110263932A true CN110263932A (en) 2019-09-20
CN110263932B CN110263932B (en) 2021-10-26

Family

ID=67920934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910549955.5A Active CN110263932B (en) 2019-06-24 2019-06-24 Multi-agent simulation system graphical combination construction method and device

Country Status (1)

Country Link
CN (1) CN110263932B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459621A (en) * 2020-04-10 2020-07-28 中国人民解放军国防科技大学 Cloud simulation integration and scheduling method and device, computer equipment and storage medium
CN113268705A (en) * 2021-05-10 2021-08-17 中国铁路设计集团有限公司 Method for forming load combination by using matrix relation table

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104392296A (en) * 2014-10-24 2015-03-04 东北大学 Information exchange method for rolling mill multi-agent model system
CN104978170A (en) * 2014-04-03 2015-10-14 中国科学院软件研究所 Multi-agent system generating method based on graphical expression
CN105843991A (en) * 2016-03-16 2016-08-10 江汉大学 Model-level HLA (High Level Architecture) simulation member combined system and method
CN106096145A (en) * 2016-06-15 2016-11-09 中国人民解放军国防科学技术大学 A kind of complication system mathematics library based on state space and analysis environments
CN106920031A (en) * 2017-01-24 2017-07-04 武汉工程大学 Multi-agent system coordination under open environment
US20180217909A1 (en) * 2017-01-27 2018-08-02 International Business Machines Corporation Multi-agent plan recognition
US20190095804A1 (en) * 2017-09-28 2019-03-28 International Business Machines Corporation Real-time multi-agent response based on a preference-based consensus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104978170A (en) * 2014-04-03 2015-10-14 中国科学院软件研究所 Multi-agent system generating method based on graphical expression
CN104392296A (en) * 2014-10-24 2015-03-04 东北大学 Information exchange method for rolling mill multi-agent model system
CN105843991A (en) * 2016-03-16 2016-08-10 江汉大学 Model-level HLA (High Level Architecture) simulation member combined system and method
CN106096145A (en) * 2016-06-15 2016-11-09 中国人民解放军国防科学技术大学 A kind of complication system mathematics library based on state space and analysis environments
CN106920031A (en) * 2017-01-24 2017-07-04 武汉工程大学 Multi-agent system coordination under open environment
US20180217909A1 (en) * 2017-01-27 2018-08-02 International Business Machines Corporation Multi-agent plan recognition
US20190095804A1 (en) * 2017-09-28 2019-03-28 International Business Machines Corporation Real-time multi-agent response based on a preference-based consensus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
XIANGYU WANG 等: "Distributed Active Anti-Disturbance Consensus for Leader-Follower Higher-Order Multi-Agent Systems With Mismatched Disturbances", 《IEEE TRANSACTIONS ON AUTOMATIC CONTROL》 *
张达: "HLA仿真系统的实时性研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111459621A (en) * 2020-04-10 2020-07-28 中国人民解放军国防科技大学 Cloud simulation integration and scheduling method and device, computer equipment and storage medium
CN111459621B (en) * 2020-04-10 2023-03-28 中国人民解放军国防科技大学 Cloud simulation integration and scheduling method and device, computer equipment and storage medium
CN113268705A (en) * 2021-05-10 2021-08-17 中国铁路设计集团有限公司 Method for forming load combination by using matrix relation table
CN113268705B (en) * 2021-05-10 2023-06-20 中国铁路设计集团有限公司 Method for forming load combination by using matrix relation table

Also Published As

Publication number Publication date
CN110263932B (en) 2021-10-26

Similar Documents

Publication Publication Date Title
CA2915619C (en) Method and apparatus for customized software development kit (sdk) generation
US20210109742A1 (en) Dynamically Deploying a Web Component in an Application
US10643023B2 (en) Programmatic native rendering of structured content
US20210034336A1 (en) Executing a process-based software application in a first computing environment and a second computing environment
US11093242B2 (en) Automatically mapping data while designing process flows
US9235383B2 (en) Method and apparatus for code virtualization and remote process call generation
US20210333984A1 (en) Method and apparatus for generating customized visualization component
CN104731589A (en) Automatic generation method and device of user interface (UI)
US20230308504A9 (en) Method and system of application development for multiple device client platforms
CN112685091A (en) Service request processing method, device, equipment and medium based on big data
CN110263932A (en) Multi-agent simulation system graphical combination construction method and device
CN106257418A (en) For by using assistance application to evaluate the technology of application
CN115113850A (en) Cross-platform application construction and operation method, server, terminal and system
US20230290095A1 (en) User-interface-framework based processing method, apparatus, device, and medium
CN106998350B (en) Method and system for using frame based on function item of cross-user message
CN112860247B (en) Custom generation method, device, equipment and medium of model component
US8185837B2 (en) User interface framework and method for utilizing same
CN114281335A (en) View generation method and related equipment
US10650611B1 (en) Systems and methods for graphical programming
US20230297208A1 (en) Collaborative widget state synchronization
CN116700701B (en) Code-free software development method and device and electronic equipment
US20230359444A1 (en) Automated widget code generation from design objects
CN114237596A (en) Front-end page generation method and device, server and readable storage medium
CN116225394A (en) Method, device, electronic equipment and storage medium for creating cloud development environment
CN116976845A (en) Schedule information processing method, schedule information processing device, computer equipment and readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant