CN107808264A - A kind of express delivery competition for orders system design of Android platform - Google Patents
A kind of express delivery competition for orders system design of Android platform Download PDFInfo
- Publication number
- CN107808264A CN107808264A CN201610812215.2A CN201610812215A CN107808264A CN 107808264 A CN107808264 A CN 107808264A CN 201610812215 A CN201610812215 A CN 201610812215A CN 107808264 A CN107808264 A CN 107808264A
- Authority
- CN
- China
- Prior art keywords
- order
- orders
- competition
- express delivery
- client
- 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.)
- Pending
Links
- 238000013461 design Methods 0.000 title claims description 15
- 238000000034 method Methods 0.000 claims description 5
- 230000008859 change Effects 0.000 abstract description 3
- 238000011161 development Methods 0.000 abstract description 3
- 238000007726 management method Methods 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 6
- 230000004044 response Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000007630 basic procedure Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000005728 strengthening Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Economics (AREA)
- Quality & Reliability (AREA)
- Entrepreneurship & Innovation (AREA)
- Human Resources & Organizations (AREA)
- Marketing (AREA)
- Operations Research (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Tourism & Hospitality (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The present invention is directed to the fast development of delivery industry, and traditional express delivery delivery ratio is low, occurs in the case of largely overstocking order, and devising express delivery in Android platform robs single system;Single system is robbed in mobile phone express delivery contributes to sequence information real-time update and sequence information dynamically to grasp in time, courier can grasp the dynamic change of sequence information in time by mobile phone, in addition to the order taking responsibility assigned except completing company, competition for orders can also selectively be carried out, timely picking completes delivery task, accelerates the running speed of logistics;Realize selectively competition for orders, picking and deliver, accelerate logistics running speed.
Description
Technical field
The present invention uses Android platform technology, is related to Web technologies, SQLite database technologys and MySQL database skill
Art.
Background technology
Core technology of the Android applicating developing technologies as mobile terminal, it is development technique most popular at present;
Android intelligent is that people are most universal at one's side, most convenient efficiently instrument, passes through the research to mobile phone express system, energy
Enough accelerate field of express delivery marketization paces, allow postman to understand the real-time dynamic change of order, realize quick competition for orders, timely processing
Order is overstock, improves efficiency, while the work achievement of oneself can be understood in real time.
The content of the invention
Public module designs:In software development process, it is often necessary to design some public modules, as database connection,
Data storage, network transmission, format analysis processing etc., to improve program development speed, reduce code redundancy;Therefore, development system
It is preceding to need to design such public module;
(1) database helps class:The system client is provided with database Or-der. db, mainly preserves the order industry of courier
Business information, its data can update acquisition from server;Courier can conveniently check one's own business information, so as to
Preferably complete task;Reading and writing local data base Or-der. db must be by the SQLiteOpenHelper of system, therefore can
To inherit SQLiteOpenHelper base class, the database management function needed for add-on system, form convenient database and help
Class DBHelper;
(2) order engine class:Managing the service order information of oneself needs to connect Order. db, the number read and write in order table
According to, and carry out data processing by Hash table;Design an OrderProvider common class, realize the increasing of data, change, delete,
Look into, the similar operations code in distinct program module can be avoided, reduce program redundancy;
(3) network transmission class:Realize that user logs in, manages the operation such as order, be required for connecting the webserver and database;If
The common class HttpUtil. java of one network connection of meter and transmission complete this thousand business;Post modes can be selected to service
Device sends request, judges network connection situation according to response results Result;
public static String qucryStringForPost(String url) {
HttpPost request = HttpUtil, getHttpPost(url);
String result = null;
try{
HttpResponse response = HttpUtil. getHttpResponse(request);
if(response. getStatusLine(). gctStatusCode()= =200) {
result = EntityUtils, toString(response. getEntity());
return result;
}
} catch (ClicntProtocolE xccption e) {
e. printStackTrace();
Result=" Network Abnormal!“;
return result;
} catch (IOExccption e) {
e. printStackTrace();
Result=" Network Abnormal!“;
return result;
}
return null;
}。
Login module designs:For the security of strengthening system, authentication must be carried out using the system, therefore log in
Module is essential;Login process is by wireless network, user's job number and cipher authentication is carried out in background data base, rear
Login user information will be used in the order management of face, can so accomplish that responsibility is clearly demarcated, work is rigorous;
Logging in basic procedure is:Defeated people user's job number and password, legitimacy certification is locally being carried out, clothes are submitted to after meeting rule
Business device, is inquired about in background data base, if the user then enters people's system, otherwise provides miscue;
After logining successfully, user profile is preserved into configuration file, to be used in the order management below;
SharedPreferences pre=getSharedPreferences (" user_msg ", MODE_WORLD_
WRITEABLE);
SharedPreferences. Editor editor = pre. edit();
Editor, putString (" id ", id);
Editor, putString (" name ", name);
editor. commit()。
Main interface design:User can enter the main interface of people's system after logining successfully, main interface passes through a GridView
Displaying, sub-component ImageView, each ImageView is set to represent One function in GridView, while
Word is shown below ImageView, is easy to intuitivism apprehension, meets the design requirement at current mobile phone prevalence interface;To each
ImageView establishes the monitor of an event, and corresponding function interface can be jumped to when clicking ImageView;Such as point
" order to be sent " icon hit in system main interface, order module to be sent can be entered.
Order module designs:Order management module mainly includes order to be sent, assigns order, competition for orders order, is sent to order
Deng;
(1) order module to be sent:" order to be sent " icon is clicked in the main interface of system, people's module can be entered;Module master
To include following functions:1. show order to be sent:Sent with charge free by customized ListView components Real time displaying logistics order and be
The sequence information sent with charge free is waited in system, upper row shows down single time and order status, below a line show Merchant name and
Shipping address;2. more New function:Again order list is refreshed, display waits the order sent with charge free;3. rob single function:Order
A kind of acquisition modes, can selective competition for orders in the order list sent with charge free is waited;If competition for orders success, the sequence information of competition for orders
It will be shown in competition for orders order list below;
Client sends request in a manner of Post by the sequence information of selection to server, is sentenced by returning result result
It is disconnected that whether competition for orders is successful;
String qucryString =“id=“+selection. get(i)+“&op_id=“+oplD;
String url = HttpUtil. BASE_URL+“scrvlet/ModifyD-paiScrvlet?" +
queryString;
String result= HttpUtil, queryStringForPost(url);
Toast. makeText (DpaiActivity. this, result, Toast. LENGTH_LONG) show
();
Server receives request, and obtains the required parameter of client;If it can be sent " competition for orders success " to client with competition for orders
Printed words information;
String id = request. getParameter(“id");
String op_id = request. getParameter( "op_id");
Dao. ModifyDpai (id, op_id);
Out, println (" competition for orders success!“)
(2) order module is assigned:Another acquisition modes that order is order are assigned, in addition to competition for orders mode obtains, also have public affairs
Take charge of the order taking responsibility assigned daily;The order that can check that company specifies me to send with charge free on the same day online by assigning order module is believed
Breath, while the sequence information is saved in the local data base of mobile phone, in order to check;
(3) competition for orders order module:Rob single function to realize in order module to be sent, the module category management module, manage and waiting to send
The sequence information obtained in order by competition for orders mode, and businessman is completed according to sequence information and takes single and delivery;
The sequence information obtained by competition for orders also preserves portion into local SQLite databases in addition to submitting server, can
To inquire about and be shown with list mode in the module in the local database;
String state=" competition for orders ";
Db=this. openOrCreateDatabase (" Order. db ", MODE_PRIVATE, null);
Cursor=db. query (" OrderTbl ", null, " op_id likeAnd order_state like ", new
String [] opID, state }, null, null, " order_timedesc ");
cursor, moveToFirst();
MyAdapter ad=new MyAdapter (this, R. layout. list_style, cursor,
New String [] " order_time ", " order_state ", " s_name ", " b_add " },
New int [] { R. id. textView1, R. id. textView2, R. id. textView3, R. id.
textView5;list. setAdapter(ad)
(4) it is sent to order module:The sequence information that management has been completed in person, the work of oneself can be counted or checked with time segment
Make achievement;The sequence information of completion needs to be committed to network data base, while updates local data base;
(5) other modules:Including system setting, Password Management, cancellation system, log off;At the beginning of mainly realizing local data base
Beginningization, the modification of employee's password, system log in and exited again whole system.
Claims (3)
- A kind of 1. express delivery competition for orders system design of Android platform, it is characterised in that:System uses customer end/server mode, Specifically include the parts such as Android express delivery competition for orders client, Web server, background data base, wireless network, customer side Android intelligent is by wireless network access background server, and if desired data access, then access background data base.
- 2. according to the method for claim 1, it is characterised in that Android client design is using based on Java language Eclipse IDEs, network service use Apache http protocol clients, and Web server is rung using Servlet Client is answered to ask;System client uses SQLite databases, stores the service order of oneself, and server end uses MySQL numbers According to storehouse, client data and servers' data synchronizing function are provided by software, improves program operational efficiency.
- 3. according to the method for claim 1, it is characterised in that the function of system is to be designed by public module, log in mould Block design, main interface design and order module design to realize.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610812215.2A CN107808264A (en) | 2016-09-09 | 2016-09-09 | A kind of express delivery competition for orders system design of Android platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610812215.2A CN107808264A (en) | 2016-09-09 | 2016-09-09 | A kind of express delivery competition for orders system design of Android platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107808264A true CN107808264A (en) | 2018-03-16 |
Family
ID=61569622
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610812215.2A Pending CN107808264A (en) | 2016-09-09 | 2016-09-09 | A kind of express delivery competition for orders system design of Android platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107808264A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109034541A (en) * | 2018-06-29 | 2018-12-18 | 深圳市比量科技传媒有限公司 | A kind of distributing method and system of task work order |
-
2016
- 2016-09-09 CN CN201610812215.2A patent/CN107808264A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109034541A (en) * | 2018-06-29 | 2018-12-18 | 深圳市比量科技传媒有限公司 | A kind of distributing method and system of task work order |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7363388B2 (en) | Method and system for direct server synchronization with a computing device | |
CN104541245B (en) | For the method and system of mobile application management | |
US6829655B1 (en) | Method and system for server synchronization with a computing device via a companion device | |
CN102713951B (en) | Automatically synchronizing new contacts across multiple social networking sites | |
JP2020017948A (en) | Application realization method based on block chain network, apparatus, device, and storage medium | |
CN101506769A (en) | Generating search results based on determined relationships between data objects and user connections to identified destinations | |
CN108683992A (en) | A kind of old man Internet-based, children anti-wander-away platform and anti-method of wandering away | |
CN110912893B (en) | Account number merging method | |
CN105897704B (en) | The methods, devices and systems of permission addition, permission addition request | |
CN106503249A (en) | A kind of patent information management system | |
CN109829679A (en) | Project management method, device, computer installation and storage medium | |
CN110263581A (en) | Contract signs method, system, terminal device and storage medium | |
CN115048080A (en) | Science and technology special distributor service cloud platform construction system based on big data | |
JP2019510326A (en) | Internet portal system and its usage | |
CN107808264A (en) | A kind of express delivery competition for orders system design of Android platform | |
AU2018278857A1 (en) | Booking system for personnel supply chains | |
US20190012742A1 (en) | Group investment management platform | |
JP5520108B2 (en) | Authentication processing system and authentication processing program | |
AU2022100094A4 (en) | Booking system for personnel supply chains | |
KR100878111B1 (en) | Method for providing real-time conference on internet | |
CN112988887B (en) | Foundation system based on block chain | |
CN108287687A (en) | A kind of express delivery competition for orders APP of IOS systems | |
CN111984971A (en) | Method for automatically producing and managing operation and maintenance data | |
CN112597531A (en) | Data product management method and device | |
CN114915605B (en) | Event progress tracking method, device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180316 |
|
WD01 | Invention patent application deemed withdrawn after publication |