【文章內(nèi)容簡介】
be issued at specific times (. once a week or once a month) and their frequency de pends on the information found in data analyzed by the SDA to derive forecast(s). The WA starts by examining current stock of a given product, and if current supplies are su?cient, it sets up to check their levels at the end of the time unit specified in the forecast (. forecasts specified on weekly basis are checked once a 濟南大學畢業(yè)設計 外文資料翻譯 5 week). If stocks are insu?cient, the WA utilizes the FIPA Request Protocol (FIPA specification SC00026) and FIPA SL language [4] (used in all agent interactions), to municate with the Logistics Agent. The initial message from the WA is the FIPA Request message sent to the LA and it contains OrderRequest action with the Or derRequestDescription. The OrderRequestDescription contains the necessary information specifying the order to be made: product ID, preferred delivery time, amount and maximum price. Delivery time and amount are puted based on the current product level, predicted delivery time and an overall inventory strategy. Upon receiving the request, the LA dispatches a query to the logistics CIC to obtain a list of suppliers of a given product. Ensuing conversation conforms to the FIPA Query Protocol, starting with the FIPA QueryRef message containing the CICQuery action with the Product ID. The logistics CIC responds with the FIPA InformRef message containing the CICResponse with a list (possibly emp ty) of suppliers. Empty list results in a FIPA Failure message (with OrderRequestResult set to failure) send by the LA to the WA. Similar response is sent when the logistics CIC cannot be contacted. When the nonempty list was received, the LA removes these suppliers that have their reliability value below a certain threshold. Then the LAAgentDescriptions list is formed by supplementing each CICAgentDescription received from the logistics CIC with the reliability information. If a given WhA’s is not known a default trust value is used. After preparing the list, the LA utilizes the FIPA Request Protocol to find a free OA. Busy agents will re spond with FIPA Refuse messages. If all agents respond in such a way, this process may need to be repeated un til a free OA is found and responds with the FIPA Agree message. The LA then sends the ordering request to the selected OA and awaits for the result of the ordering pro cess. LA’s message contains the IssueOrder action with the OrderDescription and the LAAgentDescriptions. After obtaining the request from the LA, the OA engages in the FIPA ContractNet Protocol interactions with WhAs from the list. It sends the FIPA CallForProposal message, containing CFPRequest with OrderDescription to the WhAs. WhAs evaluate the CFP and submit their o?ers by sending FIPA Propose messages containing the CFP Response action with O?erDescription or, if terms contained in the CFP are unacceptable/not interesting, respond using the FIPA Refuse message. Responses must arrive within a timeframe speci fied by the OA, after which the OA proceeds to evalu ate them. First, it filters unacceptable o?ers. Note that it is possible that 濟南大學畢業(yè)設計 外文資料翻譯 6 some WhAs may respond knowingly with proposals that violate some of the conditions and in special circumstances when no better o?ers were found the OA may need to accept such o?ers. In the next step, o?ers are ranked and the winner is determined. Winner is sent a FIPA AcceptProposal message containing the ConfirmationRequest action with its offer quoted. The winning WhA must in turn reply with the FIPA Inform message containing Confirma tion Response action with the OrderConfirma tion which has unique orderID generated by the supplier. This successfully pletes the ordering process. The winner can also withdraw the o?er by sending a FIPA Failure message. In this case, runnerups are contacted in an iterative manner. In case when there are no more o?ers left or there were no o?ers to begin with, the OA sends a FIPA Failure message to the LA, which, in turn, forwards it to the WA. When the winner confirms the order, the OA sends to the LA a FIPA Inform message containing the InformResult action with the WhAreceived Order Confirmation, thus pleting the protocol. At this time the LA sends information to the WA, inside a message of the FIPA Agree type. This performative is used in pliance with the protocol to indicate that the LA is performing the desired task (ordering), but its e?orts do not guarantee success (ordering success order success), and thus sending the final response (FIPA Inform) is inappropriate at this stage. Meanwhile the OA returns to the pool of available Ordering Agents. Now the purchase enters the delivery monitoring stage. Here, the LA waits for the delivery from the WhA to be registered with the WA. When a delivery arrives the WA sends (to the LA) a plain FIPA Inform message containing the WADelivery action with the DeliveryDescription, which has supplier’s AgentID and the already mentioned orderId. The LA does not need to respond to this message, but it checks the messages to see if it is currently awaiting a delivery with the given orderId ing from a supplier AgentID. If it finds a match, the ordering process is pleted. A