CN101945138B - System for realizing intelligent treatment of orders of fresh flowers by utilizing mobile Agent - Google Patents

System for realizing intelligent treatment of orders of fresh flowers by utilizing mobile Agent Download PDF

Info

Publication number
CN101945138B
CN101945138B CN2010105012539A CN201010501253A CN101945138B CN 101945138 B CN101945138 B CN 101945138B CN 2010105012539 A CN2010105012539 A CN 2010105012539A CN 201010501253 A CN201010501253 A CN 201010501253A CN 101945138 B CN101945138 B CN 101945138B
Authority
CN
China
Prior art keywords
agent
order
supplier
service
information
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.)
Expired - Fee Related
Application number
CN2010105012539A
Other languages
Chinese (zh)
Other versions
CN101945138A (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.)
Fudan University
Original Assignee
Fudan University
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 Fudan University filed Critical Fudan University
Priority to CN2010105012539A priority Critical patent/CN101945138B/en
Publication of CN101945138A publication Critical patent/CN101945138A/en
Application granted granted Critical
Publication of CN101945138B publication Critical patent/CN101945138B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Multi Processors (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention belongs to the technical field of information, and in particular relates to a system for realizing intelligent treatment of orders of fresh flowers by utilizing a mobile Agent. The system of the invention comprises an order Agent, a function Agent and a supplier Agent, wherein the order Agent is the mobile Agent and used for acquiring and transferring fresh flower order information, and the order Agent operates in an asynchronous autonomous mode after migrating to a main machine of the supplier, so that the order Agent is not affected by the connectivity of the network; the function Agent is used for providing functional service such as scheduling of resources and order negotiation; and the supplier Agent system is used for order treatment and information inquiry. The Agenets are communicated with each other by ACL, and corresponding behaviors are added to complete the tasks. A fresh flower order is treated by the following flows that: the order Agent is started on the server, migrated to the main machine of the supplier, interacted with the order service Agent, returned to the server with results and then feeds a supply proposal back to the customer. Compared with the prior art, the system has the advantages of intelligent treatment of fresh flower orders, manpower conservation, high utilization ratio of network resources, and relieved stress of the server.

Description

System for realizing intelligent treatment of fresh flower order by using mobile Agent
Technical Field
The invention belongs to the technical field of information, and particularly relates to a system for realizing intelligent treatment of a fresh flower order by using a mobile Agent.
Background
With the popularization of information technology and internet, more and more enterprises begin to use networks to publicize companies and expand businesses, flower distribution enterprises are no exception, and the enterprises perform online flower sales, customer management, order processing and the like by introducing a management system based on a Browser/Server architecture, wherein the businesses are most frequently used for order processing, and the order processing efficiency and quality directly influence the flower sales volume. At present, the flower order is processed mainly by 2 methods: manual operations process orders and server side processes orders.
The manual order processing is that an operator in charge of order management inquires and screens suppliers meeting the order of a customer from the suppliers according to order information (flower name, quantity, price, other customization and the like) submitted by the customer on the internet, and performs order decomposition and matching operation. The problems with this approach are:
1. the processing efficiency is low, and a large amount of manpower is consumed to inquire and retrieve the matching scheme;
2. the manual operation is easy to make mistakes and leaks.
The server side processing order is that server side software retrieves a proper supply scheme from a server side database according to order information (flower name, quantity, price, other customization information and the like) submitted by a client on the network. The problems with this approach are:
1. the supply scheme needs to be pre-stored in a database of the server side, if the database does not have a proper supply scheme, the order cannot be matched in time, and the supplier can only be temporarily informed to update the supply scheme in the database through the network, so that the order response is slow, the network data flow is large, and the network dependence degree is high;
2. the order matching operation is completed on the server, the load pressure of the server is high, and the utilization rate of network resources is low.
Disclosure of Invention
The invention aims to provide a system for realizing intelligent processing of a fresh flower order by using a mobile Agent, aiming at the defects of the conventional fresh flower order processing method, so that the system can automatically and intelligently process the fresh flower order and solve the problems in the background technology.
The mobile Agent is a program which can be autonomously migrated from one host to another host in a heterogeneous network and can interact with other agents or resources, can be continuously migrated and stored in a heterogeneous host environment, can operate without direct intervention and guidance of people or other agents, and can control the internal state and action of the mobile Agent. The invention adopts JADE as a development platform, complies with FIPA (foundation for Intelligent Physical Agent) specifications, and constructs a multi-Agent frame, wherein the order Agent is a mobile Agent, can freely move among networked computers and perform information processing, thereby improving the utilization rate of network resources and the operation efficiency.
In order to achieve the purpose, the invention adopts the following technical scheme, which comprises the following contents:
a system for realizing intelligent fresh flower order processing by utilizing mobile agents is shown in figure 1 and comprises an order Agent (10), a functional Agent (20) and a supplier Agent system (30), wherein the order Agent (10) and the functional Agent (20) are deployed at a server end, the supplier Agent system (30) is deployed at a client end, an Agent operation platform of the server end adopts a JADE platform complying with FIPA specification, and ACL (Agent Communication language) Communication is adopted among the agents.
The order Agent operates as shown in fig. 2, which is different from the conventional remote information exchange method that requires a persistent connection channel between two communication computers for information exchange, and once the connection channel is disconnected, the information exchange is finished. The order Agent can asynchronously and autonomously operate, the order Agent is migrated to the supplier host through the network after the server side is started, at the moment, the work of the order Agent cannot be influenced even if the network between the server and the supplier host is disconnected, the order Agent can asynchronously and autonomously operate on the supplier host, and the server side can receive the order Agent to carry the result back to the server side when being connected with the supplier host at a proper time later after the task is completed.
The information transmission of the order Agent is as shown in fig. 3, the order Agent acquires target provider information through interaction with the server side resource scheduling Agent, then moves to the target provider, interacts with the order service Agent of the provider, returns to the server side after acquiring a result, gives the scheme to the user if the result contains a proper order matching scheme, and otherwise acquires next target provider information through interaction with the resource scheduling Agent again.
As shown in fig. 4, the function agents of the server are divided into 5 types of agents, such as a user Agent (40), a management Agent (50), an order negotiation Agent (60), a resource scheduling Agent (70), and a service Agent (80). Wherein:
the user Agent (40) monitors user service request behavior, is an intelligent Agent of the user in the system, provides service for the user, and receives user requests and returns results. The user Agent class diagram is shown in fig. 5, the setup () method is responsible for initialization and work definition of the user Agent, and two behavior classes, namely, CustomerRecvBehavior and CustomerHandleRecvBehavior, are added during initialization, so that work of circularly waiting for order messages and querying solutions is respectively realized. the takedown () method is responsible for the logoff operation. The sendOrder () method is responsible for sending the order to the target provider Agent. The queryCustomInfo () method is responsible for querying user information.
The management agents (50) are used for managing the life cycles of all the agents, each Agent has to be registered with the management agents to obtain a unique AID, the AIDs and the states of the agents are retrieved by other agents, and the AIDs and the states of the agents are maintained by the management agents. Meanwhile, the management Agent also serves as a trusted security authentication center to ensure a secure communication mechanism among Agent subsystems.
The order negotiation Agent (60) receives the requirements from the customer, creates a customer order Agent (90) and interacts it with the resource scheduling Agent (70).
The resource scheduling Agent (70) obtains the customer order information from the order negotiation Agent (60), makes a supply plan, is carried by the order Agent (90), moves to each supplier for negotiation, and finally sends the customer and the supplier in a supply order mode. In addition, the resource scheduling Agent (70) can also receive a request from the user Agent (40), access the local database, take corresponding actions according to different requests and provide service for external resource inquiry.
The service Agent (80) provides yellow page service and is responsible for managing service information of each provider Agent system, each provider Agent system needs to register, update and cancel the service through the service Agent (80), and the service information can be retrieved only after the service information is registered.
The order Agent class diagram is shown in fig. 6, and its attributes are: the information, the target Agent address, the order ID, the user name, the position and the like, the acquisition and the setting of the attribute value are carried out by corresponding get and set methods, and in addition, a sending order behavior class (SendOrderBehaver) is added in the afterMove () method.
The vendor Agent system is shown in fig. 7 and includes: the system comprises an independent Agent running environment (100), a user Agent (110), a resource scheduling Agent (120) and an order service Agent (130). The functions of the user Agent (110) and the resource scheduling Agent (120) are consistent with those of the user Agent (40) and the resource scheduling Agent (70) at the server end in the figure 4, the order service Agent (130) receives the request of the order Agent (140) at the server end, knows the order requirement through a communication protocol, retrieves flowers matched with the order and makes a response.
And the completion of tasks such as information query, order sending and the like in the Agent is completed by adding a corresponding behavior subsystem. Among behavior behavioral subsystems associated with order processing in a system are SendOrderBehavior, Customer RecvBehavior, Customer HandleRecvBehavior, QueryCustom Behavior, RecieeBehavior, Provider HandleBehavior, and others, wherein:
SendOrderBehavior: the order Agent adds the behavior subsystem after moving to a supplier end, and the behavior subsystem is mainly responsible for two tasks, sends an order request to the order service Agent and receives and processes a reply of the order service Agent.
CustomerRecvBehavior: the user Agent adds the behavior subsystem, the behavior subsystem is continuously executed after being added, and the CustomerHandleRecvBehavor behavior is added in the user Agent once after receiving an ACLStreage each time.
CustomerHandleRecvBehavior: the user Agent adds this behavior subsystem. The behavior subsystem is mainly responsible for processing information received by the user Agent from the order Agent.
QueryCustomBehavior: the order Agent adds this behavior subsystem after moving to the supplier end. The behavior subsystem is mainly responsible for two tasks, sending a solution query request to the order service Agent, and receiving and processing a reply of the order service Agent.
RecieveBehavior: the order service Agent adds this behavior subsystem. The behavior subsystem is continuously executed after being added, and the ProviderHandleBehaviour behavior is added in the order service Agent after receiving one ACLMESessage each time.
ProviderHandleBehaviour: the order service Agent adds this behavior subsystem. The behavior subsystem is mainly responsible for processing information received by the order service Agent from the order Agent.
Drawings
FIG. 1 is a system architecture diagram of the present invention.
FIG. 2 illustrates the operation of the order Agent of the present invention.
FIG. 3 is a flow chart of the order Agent information delivery of the present invention.
FIG. 4 is a diagram of interaction between server agents according to the present invention.
FIG. 5 is a diagram of user Agent classes of the present invention.
FIG. 6 is an order Agent class diagram of the present invention.
FIG. 7 is a vendor Agent system of the present invention.
FIG. 8 is a flower order processing flow diagram of the present invention.
Detailed Description
Various implementations of the present invention are described in further detail below with reference to the figures.
As shown in fig. 1, the implementation of the present invention is divided into 3 parts: the system comprises an order Agent (10), a function Agent (20) and a supplier Agent system (30), wherein the order Agent (10) and the function Agent (20) are deployed at a server side, and the supplier Agent system (50) is deployed at a client side. The server side order Agent (10) and the supplier Agent system (30) interact with each other to complete the intelligent order processing.
As shown in fig. 3, the order Agent information transmission of the present invention specifically includes the following steps:
starting: an order negotiation Agent of a server side receives the requirements of a client and creates a client order Agent;
acquiring a target address: the order Agent acquires target supplier information from the resource scheduling Agent;
migration: the order Agent carries the customer order information to be migrated to a target supplier host;
supplier-side interaction: the order Agent interacts with an order service Agent on a supplier host to obtain a response result;
and (4) migrating again: the order Agent carries the negotiation result completed on the supplier host computer and transfers the negotiation result back to the server end;
and (4) ending: and the order Agent interacts with the resource scheduling Agent of the server side to inform the result, if a matched supply scheme exists, the order Agent returns the order supply scheme to the user, and if the matched supply scheme does not exist, the next target provider information is obtained again.
As shown in fig. 4, the server Agent of the present invention includes a user Agent (40), a management Agent (50), an order negotiation Agent (60), a resource scheduling Agent (70), a service Agent (80), and an order Agent (90), and their interactions include:
the user Agent (40) interacts with the order negotiation Agent (60) and the resource scheduling Agent (70). If the web page request is an order, the user Agent (40) interacts with the order negotiation Agent (60); if the web page request is a local database access, the user Agent (40) interacts with the resource scheduling Agent (70);
the management Agent (50) is responsible for registering a user Agent (40), an order negotiation Agent (60), a resource scheduling Agent (70) and a service Agent (80) and maintaining the life cycle of the agents;
the order negotiation Agent (60) receives an order request from a client and creates a client order Agent (90);
the resource scheduling Agent (70) responds to the query request of the user Agent (40), and the resource scheduling Agent (70) performs information interaction with the client order Agent (90);
the service Agent (80) provides registration, update and logout services of each supplier Agent system (100) at a server end;
the order Agent (90) sends order information matching requests (including patterns, quantity, price and the like) to all supplier agents (100); each supplier judges whether the order is satisfied according to the knowledge of the supplier, the order Agent (90) waits for all the supplier Agent systems (100) to reply, decides to accept one or more replies, sends an acceptance message to the suppliers, simultaneously sends a rejection message to other supplier Agent systems (100), and finishes the negotiation when the accepted supplier Agent system (100) informs the order Agent (90) to accept the order.
As shown in fig. 7, the vendor Agent system of the present invention includes: the system comprises an independent Agent running environment (110), a user Agent (120), a resource scheduling Agent (130) and an order service Agent (140). The order service Agent (140) receives the request of the order Agent (150) of the server side, learns the order requirement through a communication protocol defined in flower ontology, retrieves the flower matched with the order and replies to the order Agent (150).
As shown in fig. 8, the flower order processing flow chart of the present invention shows the flow of order processing for the user, wherein:
as shown in flow 160, the provider registers with the server side first;
as shown in the process 170, the server provides flower information on the user human-machine interface;
as shown in flow 180, the user browses a flower information web page;
as shown in flow 190, the user submits a normal order or an order containing customized requirements;
as shown in the flow 200, a user Agent in the server side judges an order submitted by a user, and then analyzes and splits the order;
as shown in the flow 210, the order Agent in the server carries the order information to the supplier;
as shown in the flow 220, the supplier Agent system negotiates with the order Agent moved from the server side;
as shown in the flow 230, the supplier Agent system returns the negotiation result, and the negotiation result is still carried back to the server by the order Agent;
the server returns the order-supply plan to the user, as shown in flow 240.

Claims (2)

1. The utility model provides an utilize mobile Agent to realize system that flower order intelligence was handled which characterized in that includes: the system comprises 3 systems of an order Agent, a functional Agent and a supplier Agent, wherein the order Agent and the functional Agent are deployed at a server side, and the supplier Agent is deployed at a supplier; the Agent operation platform of the server side adopts a JADE platform complying with FIPA standards, and the agents adopt ACL communication; wherein:
the order Agent is used for acquiring and transmitting order information of fresh flowers, is a mobile Agent, moves among the functional agents, carries out negotiation and communication with the functional agents, and then returns order confirmation information after negotiation;
the function Agent is used for providing service for the outside, and performing resource scheduling and order negotiation processing on a service request, and the function Agent is static and only runs on the created computer node;
the supplier Agent is connected with the server through a network and is used for providing a flower order supply scheme;
wherein,
the function agents are divided into a user Agent, a management Agent, an order negotiation Agent, a resource scheduling Agent and a service Agent 5 according to different service functions, wherein:
the user Agent is used for monitoring the user service request behavior, is an intelligent Agent of the user in the system, and calls local resource information if the user request is a local resource;
the management Agent is used for managing the life cycle of all the agents and is responsible for the management and coordination of all the agents;
the order negotiation Agent is used for receiving the requirements from the client, creating a client order Agent, carrying out information interaction with the resource scheduling Agent and submitting the feedback result to the client;
the resource scheduling Agent obtains the customer order information from the order negotiation Agent, makes a supply plan, is carried by the order Agent, moves to each supplier for negotiation, and finally sends the order information to the customer and the supplier in a mode of supplying the order;
the service Agent provides yellow page service and is responsible for the management of registration, update and logout service of each supplier Agent system;
the supplier agents comprise a user Agent, a resource scheduling Agent and an order service Agent; the order service Agent is used for receiving an order Agent request sent by the server, negotiating and answering, and the functions of the user Agent and the resource scheduling Agent are the same as those of the user Agent and the resource scheduling Agent at the server end;
the information carried by the order Agent comprises flower name, quantity, remark, customer name and delivery time, and the information transmission process is as follows:
starting: an order negotiation Agent of a server side receives the requirements of a client and creates a client order Agent;
acquiring a target address: the order Agent acquires target supplier information from the resource scheduling Agent;
migration: the order Agent carries the customer order information to be migrated to a target supplier host;
interacting with the supplier side: the order Agent interacts with an order service Agent on a supplier host to obtain a response result;
and (4) migrating again: the order Agent carries the negotiation result completed on the supplier host computer and transfers the negotiation result back to the server end;
and (4) ending: and the order Agent interacts with the resource scheduling Agent of the server side to inform the result, if a matched supply scheme exists, the order Agent returns the order supply scheme to the user, and if the matched supply scheme does not exist, the next target provider information is obtained again.
2. The system for realizing intelligent treatment of flower orders by using mobile agents according to claim 1, wherein the system comprises: the whole system is also added with a behavior subsystem related to order processing, and the subsystem comprises: sendOrderBehavior, Customer RecvBehavior, Customer HandleRecvBehavior, QueryCustom Behavior, RecieveBehavior, Provider HandleBehavior, wherein:
SendOrderBehavior: the order Agent adds the behavior subsystem after moving to a supplier end, takes charge of two tasks, sends an order request to the order service Agent, and receives and processes a reply of the order service Agent;
CustomerRecvBehavior: the behavior subsystem is added by the user Agent of the server end, the behavior subsystem is continuously executed after being added, and a CustomerHandleRecvBehavor behavior is added in the user Agent of the server end once after an ACLMESSAGE is received each time;
CustomerHandleRecvBehavior: the behavior subsystem is added by the user Agent of the server end and is responsible for processing information received by the user Agent of the server end from the order Agent;
QueryCustomBehavior: the order Agent adds the behavior subsystem after moving to a supplier end, takes charge of two tasks, sends a solution inquiry request to the order service Agent, and receives and processes the reply of the order service Agent;
RecieveBehavior: the order service Agent adds the behavior subsystem, the behavior subsystem is continuously executed after being added, and a providerHandleBehavior behavior is added in the order service Agent after receiving an ACLMass each time;
ProviderHandleBehaviour: the order service Agent adds the behavior subsystem and is responsible for processing the information received by the order service Agent from the order Agent.
CN2010105012539A 2010-10-09 2010-10-09 System for realizing intelligent treatment of orders of fresh flowers by utilizing mobile Agent Expired - Fee Related CN101945138B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010105012539A CN101945138B (en) 2010-10-09 2010-10-09 System for realizing intelligent treatment of orders of fresh flowers by utilizing mobile Agent

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010105012539A CN101945138B (en) 2010-10-09 2010-10-09 System for realizing intelligent treatment of orders of fresh flowers by utilizing mobile Agent

Publications (2)

Publication Number Publication Date
CN101945138A CN101945138A (en) 2011-01-12
CN101945138B true CN101945138B (en) 2013-04-10

Family

ID=43436906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010105012539A Expired - Fee Related CN101945138B (en) 2010-10-09 2010-10-09 System for realizing intelligent treatment of orders of fresh flowers by utilizing mobile Agent

Country Status (1)

Country Link
CN (1) CN101945138B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104135430B (en) * 2014-08-04 2019-07-05 上海巨浪信息科技有限公司 A kind of intelligent gateway implementation method towards mobile supply chain
CN107169814B (en) * 2016-03-08 2020-12-04 阿里巴巴集团控股有限公司 Method and equipment for displaying object and processing order
CN106709788A (en) * 2017-01-09 2017-05-24 北京小米移动软件有限公司 Network order processing method and apparatus
CN110889734A (en) * 2019-01-10 2020-03-17 广东乐心医疗电子股份有限公司 Order processing method and device, electronic equipment and storage medium
CN111144970B (en) * 2019-11-18 2021-03-12 珠海必要工业科技股份有限公司 Order splitting method and device, electronic equipment and readable medium
CN113538081B (en) * 2020-04-21 2024-03-22 中移(上海)信息通信科技有限公司 Mall order system and processing method for realizing resource self-adaptive scheduling

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212329A (en) * 2006-12-26 2008-07-02 浙江工业大学 Mobile agent based stream media multicast network implementation method and system
CN101739483A (en) * 2008-11-27 2010-06-16 同济大学 Mobile AGENT-based distribution interactive type supply chain simulation system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212329A (en) * 2006-12-26 2008-07-02 浙江工业大学 Mobile agent based stream media multicast network implementation method and system
CN101739483A (en) * 2008-11-27 2010-06-16 同济大学 Mobile AGENT-based distribution interactive type supply chain simulation system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张晓兰.移动环境下的大规模定制供应链研究.《中国优秀硕士学位论文全文数据库(信息科技辑)》.2009,(第11期),第36页—第48页. *

Also Published As

Publication number Publication date
CN101945138A (en) 2011-01-12

Similar Documents

Publication Publication Date Title
CN101945138B (en) System for realizing intelligent treatment of orders of fresh flowers by utilizing mobile Agent
US10324711B2 (en) System and method for the data management in the interaction between machines
CN102769709B (en) A kind of for providing the method and apparatus of service contact information to user
US11349709B2 (en) System and method for onboarding IOT devices
CN104391664A (en) Self-service print system for realizing cross-segment communication between printer and print server
CN102567026A (en) Mobile application constructing system and method
CN110290185B (en) Internet of things equipment integration system based on Agent and application method thereof
CN103780686A (en) Method and system for customizing application approval procedure in cloud organization
CN104135430A (en) Implementation method of intelligent gateway for mobile supply chain
CN105933378B (en) Radio gang control method and system
CN113949725A (en) Cloud edge cooperation-based manufacturing resource access platform and method
CN102833015A (en) Method for determining public software interface of satellite automatic testing system
CN107016475B (en) Method and device for electric commerce worksheet system platformization
CN103905498B (en) Service information management method and service information management system
CN103281407A (en) IP (internet protocol) address remote management system based on Loongson cloud terminal
CN105427149A (en) Cross-border e-commerce BPO service method and device based on SOA expansion framework
CN106325515B (en) A kind of service-oriented man-machine interactive system and implementation method
CN108594665A (en) A kind of home intelligent internet-of-things terminal management system and control method based on Bluetooth
Li et al. Multiple protocols interworking with open connectivity foundation in fog networks
CN104243573B (en) It is a kind of to support data and the Synergistic method for servicing between wearable device
US20200228593A1 (en) Coordinating an Action between Devices
CN105916184B (en) A kind of industrial wireless sensing network termination implementation method meeting ISA100.11a standard
CN101521592B (en) Method and device for establishing the SNMP agent of printer
CN100472437C (en) Application autonomous flowing method based on software body
WO2020143013A1 (en) Method and apparatus for processing query request, computer device and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20130410

Termination date: 20211009