Drop cab driver, passenger algorithm _march

Source: Internet
Author: User
Topic description

Drop off the platform of taxis, express, car and other business is based on geographical services, passengers issued orders, nearby drivers will soon be able to receive orders; The following is a simplified version of the split-model design diagram, as well as a brief introduction:


(1) When the passenger creates the order, the order information is written to the order pool, the cancellation order is deleted, the driver gets out of the car, the driver information is written to the driver pool, and the Guanche is deleted;

(2) The Order Allocation module will pull the order and the driver's information, including geographic location information, according to the location of the match, and ultimately for the driver to assign a 5 km range of orders;

Please answer the following questions based on the above information:

1. Analyze the functions and characteristics of each module of the system;

2. To the system to make the function and performance of the test design;

1. The analysis is as follows:

(1) Order pool: function: A. Contains the user's basic information, such as user name, user's phone, location, type of optional car (taxis, private cars or other models)

B. Allow multiple users to log in at the same time without affecting

C. Create order need to fill in the car location, destination address, appointment time and model, in the specified time can delete orders

D. After the order is created, the information is passed to the order Allocation module, and if the order is successfully deleted, the order information in the order pool is deleted

Features: Allows multiple users to log in at the same time, with data entry, deletion and transfer functions

(2) Driver pool:

Function:

A. Include the driver's basic information, such as driver name, driver's phone, location, type of drive (taxi, private car or other vehicle) and license plate number, whether empty

B. Allow multiple users to log in at the same time without affecting

C. After receiving the order, input the driving information in the driver's pool; After the order is completed, enter Guanche information in the driver's pool

Features: Allows multiple users to log in at the same time, with data entry, deletion and transfer functions, and order pool similar

(3) Order Allocation module:

Function: Pull to the order and driver information, including geographical information, according to the location of the match, and ultimately to the driver to assign a 5 km range of orders

Features: The control and distribution center of the order pool and driver pool, which is responsible for the matching and scheduling of both information.

2. (1) Functional testing:

Login Module Test:

A. User and Driver login test, the input (account and password) for equivalence class and boundary value analysis of the combination of use case test, detect whether successful landing

B. Test the style of the landing interface with the overall whether or not the combination of typos

C. Mouse click on the text box, can be successfully selected, and the mouse from the arrows into the corresponding text box in the beginning of the position of the vertical cursor

Order module:

A. The order interface contains all the function buttons on the requirements manual, and the link is normal and can be successfully transferred to the corresponding interface

B. Enter the user's boarding position information is the GPS location selection or manual input

C. After filling out all the information, the order creation button is highlighted, and after clicking, the order has been created successfully, waiting for the driver to receive the prompt information

D. When the driver receives the order, it prompts the user with some basic information about the driver, such as the driver's current location and the time required to arrive.

E. After the order is submitted, you can delete the order before the driver receives it.

Driver module:

A. After landing can choose the car or Guanche state

B. You can successfully receive orders, receive orders to get some basic information about the user, such as name, phone, location and destination

Order Allocation module:

A. Can obtain order and vehicle information for order pool and driver pool

B. Can match the information on both sides, according to the position, and assign the order to the driver

C. After the order is received by the driver, feedback the driver's information to the user.

(2) Performance test:

A. How long does it take to enter the system from the landing interface

B. How many subscribers can the order pool hold, and how many drivers the driver pool can hold?

C. How many users can be allowed to log in at the same time

B. How long can the user stay on the system after landing

E. Whether to support Web landing









http://m.blog.csdn.net/xiaoquantouer/article/details/54428542

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.