Design of Logistics Route Planning for Printing Enterprises Based on Baidu Map

As traditional printing industry is facing fierce competition in the market and logistics becomes a new sources of growth, the traditional printing enterprises want to build and improve their logistics system. So in this paper, the author has designed the logistics planning system based on the Baidu map development kit. It has the function of route planning and location tracking. This system meet the printing enterprise logistics route planning and tracking demand. 1 Background 1.1 Industry background The production of small and medium-sized printing enterprises is based on orders, so they are in a passive position in supply and demand [1]. Most enterprises are faced with high delivery requirements. Therefore, from the perspective of the enterprise logistics, it is the key of the survival and development of enterprises to realize the control of logistics cost and the more efficient management of logistics. Small and medium-sized printing enterprises need to use advanced management ideas and tools to help reduce costs, improve market response speed. In this paper, our aim is to design a route planning software for printing enterprise logistics. 1.2 Android platform background Android occupies the largest mobile terminal operating system market. The open source and free features make it become the priority of the operating system for major mobile phone manufacturers [2]. Besides, it is easy for developers to operate and develop. 1.3 Baidu Map SDK Baidu maps SDK is an application program interface. Developers can call the SDK interface, access to Baidu maps services and build a feature rich, interactive system [3]. The Baidu maps version we use in this paper is V4.0.0, which is based on Android. a Corresponding author: dazhongyue@qq.com DOI: 10.1051/ , 711 11 ITM Web of Conferences itmconf/201 IST2017 10001 (2017) 10001 © The Authors, published by EDP Sciences. This is an open access article distributed under the terms of the Creative Commons Attribution License 4.0 (http://creativecommons.org/licenses/by/4.0/). 2 System design 2.1 Technology platform Owing to the advantages of Android, we choose Android as mobile terminal system. The tools that we need are Android studio and MyEclipse, first of which is a good use of Android development tools and last of which is a server development platform. Test environment is the Android device and Window system of the computer. The development tools are shown in Table 1. Table 1. Development environment Demand name Platform and tools Hardware platform Android equipment + Computer Development tool MyEclipse + Android Studio Development language Java Compile environment Win7+JDK Testing environment Android Database MySQL Software development kit Baidu Map Android SDK 2.2 Requirement analysis In order to find new revenue growth opportunities, the management of printing enterprises hope to improve profits through information management technology. However, their logistics is independent of the information management system. So printing enterprise manager want to have a logistics software which is able to compatible with the information management system. Specific requirements are as follows. 1. This software has route query based on mobile terminal. 2. Company management can know the location location at any time. 3. The path to the client should be recorded in the form of the start and end location. 4. The software should be extensible and compatible with other systems. 2.3 Design 2.3.1 Framework design As Figure 1 shown, the whole system is composed of three parts, including Baidu Map Service Center, Mobile terminal and company server. The first part is provided by Baidu Maps API. In the following, we mainly discuss the latter two parts. Baidu maps service provides route information. Mobile terminal is mainly composed of smart phones and mobile software. It provides man-machine interface and route planning function, while the server is mainly to complete the mobile location tracking and information recording function. Mobile terminal is the most important part of the whole system. So this paper focuses on the development of Android terminal. Baidu Service Center Server Mobile terminal Data query Data update Figure. 1 System framework DOI: 10.1051/ , 711 11 ITM Web of Conferences itmconf/201 IST2017 10001 (2017) 10001


Industry background
The production of small and medium-sized printing enterprises is based on orders, so they are in a passive position in supply and demand [1].Most enterprises are faced with high delivery requirements.Therefore, from the perspective of the enterprise logistics, it is the key of the survival and development of enterprises to realize the control of logistics cost and the more efficient management of logistics.Small and medium-sized printing enterprises need to use advanced management ideas and tools to help reduce costs, improve market response speed.In this paper, our aim is to design a route planning software for printing enterprise logistics.

Android platform background
Android occupies the largest mobile terminal operating system market.The open source and free features make it become the priority of the operating system for major mobile phone manufacturers [2].Besides, it is easy for developers to operate and develop.

Baidu Map SDK
Baidu maps SDK is an application program interface.Developers can call the SDK interface, access to Baidu maps services and build a feature rich, interactive system [3].The Baidu maps version we use in this paper is V4.0.0, which is based on Android.

Requirement analysis
In order to find new revenue growth opportunities, the management of printing enterprises hope to improve profits through information management technology.However, their logistics is independent of the information management system.So printing enterprise manager want to have a logistics software which is able to compatible with the information management system.Specific requirements are as follows.
1.This software has route query based on mobile terminal.2. Company management can know the location location at any time.
3. The path to the client should be recorded in the form of the start and end location.4. The software should be extensible and compatible with other systems.

Framework design
As Figure 1 shown, the whole system is composed of three parts, including Baidu Map Service Center, Mobile terminal and company server.The first part is provided by Baidu Maps API.In the following, we mainly discuss the latter two parts.
Baidu maps service provides route information.Mobile terminal is mainly composed of smart phones and mobile software.It provides man-machine interface and route planning function, while the server is mainly to complete the mobile location tracking and information recording function.Mobile terminal is the most important part of the whole system.So this paper focuses on the development of Android terminal.

Mobile terminal design
From the functional analysis, the client is divided into user login, route query, location coordinates query and upload the current information.The route query and coordinate location query are directly related to the efficiency of the client's distribution.So these functions are completed in the mobile terminal.
According to functional analysis, we divide the mobile terminal into three layers, which are business logic layer, presentation layer and data layer.We not only need to implement the interactive interface, but also to achieve business inquiries and monitoring.
The overall flow chart is shown in Figure two.After landing their account, the user can begin to search route and select the delivery route.In addition, according to needs, the user can choose the location model.

Server Design
Database is the most important part of server.Therefore design of database structure should be completed before server-side programming.The database is not only the support of the system, but also the support of management.The design of database model is the design server model.
According to the demand analysis, this paper designed user, route line two table.The core meaning of the mobile terminal is to complete the route guidance.So we add the location function in the mobile terminal.As shown in Figure 3 and figure 4, the client can complete the basic route query, selection and navigation functions.On the route selection interface, it show the length of the route and the number of traffic lights.It help users choose a better route.In addition, we also add keyword recommendation function, which improve the accuracy of the input address.

Server side implementation
The server is designed as two layers, which are business logic layer and data access layer.So, server is mainly data storage and data operation.When the mobile terminal is enabled, the server get the information of the mobile terminal in real time, including the location information and route selection information.
The administrator can understand the situation from the server in real time, and the design and implementation of the server can be merged into the information management system.

Conclusion
In this paper, we achieve the logistics planning and real-time location tracking by using the Baidu map SDK technology and the corresponding database technology.Mobile terminal map technology improves improve the timeliness and accuracy of logistics distribution.This design has certain significance for printing enterprises to excavate "the third profit source".However, the server administrator can not directly catch sight of the client position.Next, we will improve the server side and establish the relationship between logistics and inventory.

Figure. 2
Figure. 2 Overall client flow chart The design of mobile terminal presentation layer is the interface design of software.The interface of the mobile terminal is mainly composed of the controls provided by Android and the map controls provided by Baidu Map SDK.We use dialog boxes and text boxes and other controls to ensure the simplification of the operation.Business logic layer is activity on Android platform.They implement logic operations and call Baidu maps API and data operation.

Figure 3 .
Figure 3. Route plan (left) and Results of the route (right)

2 System design 2.1 Technology platform
a Corresponding author: dazhongyue@qq.com

Table 1 .
Development environment

Table 2 .
Table User is a table to record user information, including account number, password.Table route includes the starting location, the end location, and the distance of the route.Table Route