Application of Software Robots and Deep Learning in Real time Processing of E-commerce Orders

Wenbo Niu, Yibo Hu, Wei ZhangScalable 2024 · DOI

This paper, published in Scalable Computing: Practice and Experience, presents a framework for automating the "back-and-forth" of e-commerce—specifically the negotiation and processing of orders that usually require human intervention.

TL;DR

The researchers propose a software robot architecture that uses AIML (Artificial Intelligence Markup Language) and a hierarchical reasoning engine to handle real-time e-commerce negotiations. By automating tasks like product substitution and delivery scheduling, the system aims to reduce merchant overhead while providing customers with immediate, personalized order fulfillment.

What Problem Does This Paper Address?

Traditional e-commerce is surprisingly static. When you place an order, you are typically presented with fixed prices, fixed delivery windows, and a binary "accept or reject" choice. If a product is out of stock or a delivery location is outside a standard zone, the process often breaks down, requiring slow, manual follow-ups via email or phone.

The authors identify a gap in "real-time information exchange." As marketing shifts from the traditional 4Ps (Product, Price, Place, Promotion) to the 4Cs (Customer, Convenience, Cost, Communication), websites need to be more conversational and flexible. The challenge is building a system that can "think" through order constraints—like inventory levels and logistics—and negotiate alternatives with the user in real-time without a human agent.

Methods

The authors developed a multi-layered system architecture based on the ALICE chatbot framework and JAVAPROGRAMD. Key technical components include:

  • AIML & Pattern Matching: Used to facilitate the human-machine dialogue interface, allowing the robot to parse user intent.
  • Hierarchical Rule Base: Instead of a flat list of "if-then" statements, the system organizes rules in a hierarchy that mimics human decision-making. This makes the system easier to scale and modify.
  • Inference Engine: Written in Java, this engine handles the logic of the negotiation. It includes specific classes for supply checking (resSupply.java), product substitution (goodReplace.java), and logistics verification (resTpl.java).
  • Session Tracking: Since HTTP is a stateless protocol, the authors implemented a session tracking mechanism using unique IDs to ensure the robot "remembers" the context of a negotiation across multiple web requests.
  • Product Substitution Algorithm: A specific logic flow that moves from "precise matching" to "approximate matching" based on product coding (e.g., if a specific book is out of stock, the system searches for the closest category match to suggest to the user).

Datasets

The paper focuses on the architectural design and implementation logic rather than training on a specific public dataset. It utilizes:

  • Internal Product Libraries: Mock or proprietary databases containing product codes (e.g., the "N002C1P1W3" format mentioned in the text).
  • Knowledge Bases: Custom-built rule sets for order processing and logistics. Specific benchmark datasets (like those used in NLP tasks) are not discussed in the paper.

Key Insights and Ideas

  • Simulating Human Heuristics: The core idea is to move away from rigid database queries toward a "reasoning machine" that can handle "necessary events" and "rational performance" of an order.
  • Graceful Degradation in Search: The substitution logic is particularly interesting; it doesn't just fail if an item is missing. It systematically relaxes search criteria (category remains fixed while specific attributes are broadened) to keep the transaction alive.
  • The 4C Shift: The paper emphasizes that software robots are the technical realization of "Customer-centric" marketing, providing the "Communication" and "Convenience" pillars that static websites lack.

Key Results

The paper describes the successful implementation of the system's components:

  • Automated Interaction: The robot can successfully parse order information (delivery time/location) and return results from supply-point positioning software.
  • Efficiency Gains: While the paper does not provide a quantitative "speedup" percentage, it concludes that the system effectively "frees people from order processing" and reduces the operating costs associated with manual order confirmation.
  • Dynamic Negotiation: The system demonstrates the ability to negotiate delivery times if the initial request cannot be met by the third-party logistics provider.

Limitations and Future Work

  • Natural Language Complexity: The authors acknowledge that using truly "natural" language to negotiate is still a significant challenge and a "research direction with broad application prospects."
  • Deep Learning Integration: While "Deep Learning" appears in the title, the paper leans heavily on rule-based AI (AIML) and structured inference engines. Future work likely involves replacing these hard-coded rules with more flexible deep learning models for intent recognition.
  • Scalability Testing: The paper outlines the architecture but does not provide extensive data on how the system performs under extreme concurrent load (e.g., a "Black Friday" scenario).

Summary updated

Abstract

The development of e-commerce faces many problems, among which the real-time information exchange between customers and websites is the most urgent. To study the application of software robots in the real-time processing of e-commerce orders. According to the working mechanism of ALICE, JAVAPROGRAMD, AIML technology, database technology, knowledge base principle, Rule of inference, and reasoning strategies are used to design the structure, workflow, knowledge processing flow, and Inference engine supporting human-computer automatic negotiation of the software robot. Establishing a rule base is the acquisition, induction, and organization of knowledge related to order processing. It requires learning and analyzing the problems and related materials to be solved, simulating the actual process of order processing, and extracting useful processing rules and processes from it. The rules in the system are not organized in a simple list form, but have a certain hierarchical structure. This way, when using these rules for reasoning, the hierarchy is clear and it is easy to modify and add rules. The hierarchical structure of the rules referred to here is to simulate the thinking activities of the human brain in the process of order processing, and organize them in a certain way. Based on the basic rules of order processing, the process of order processing, the rational performance of the order and the possibility of necessary events, so as to realize the structure of the reasoning machine. Expands the application of Chatbot ALICE, and provides a new tool for real-time online negotiation and negotiation of e-commerce order processing. The core part of the e-commerce order processing software robot is the human-machine automatic interaction module. Database module, knowledge base module and rule base module provide the necessary data, knowledge and rule basis for its realization, while the implementation of reasoning machine provides the possibility for the intelligence and dynamic interaction of human-machine automatic interaction module.
BibTeX
@inproceedings{niu2024application,
  author = {Wenbo Niu and Yibo Hu and Wei Zhang},
  title = {{Application of Software Robots and Deep Learning in Real time Processing of E-commerce Orders}},
  booktitle = {Scalable},
  year = {2024},
  doi = {10.12694/scpe.v25i5.3076},
}
Figure