CN108040127A - A kind of multiterminal data interaction based on location-based service Articles found, owner please contact platform - Google Patents

A kind of multiterminal data interaction based on location-based service Articles found, owner please contact platform Download PDF

Info

Publication number
CN108040127A
CN108040127A CN201810005207.6A CN201810005207A CN108040127A CN 108040127 A CN108040127 A CN 108040127A CN 201810005207 A CN201810005207 A CN 201810005207A CN 108040127 A CN108040127 A CN 108040127A
Authority
CN
China
Prior art keywords
information
web
andriod
something
mysql database
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
Application number
CN201810005207.6A
Other languages
Chinese (zh)
Inventor
焦良葆
成祥岳
曹雪虹
王舒阳
曹建勇
丁立文
高钰淇
游伟东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nanjing Institute of Technology
Original Assignee
Nanjing Institute of Technology
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nanjing Institute of Technology filed Critical Nanjing Institute of Technology
Priority to CN201810005207.6A priority Critical patent/CN108040127A/en
Publication of CN108040127A publication Critical patent/CN108040127A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services

Abstract

The invention discloses a kind of multiterminal data interaction based on location-based service Articles found, owner please contact platform, including Web ends and Andriod ends;The combination and exploitation of traditional PHP+MySQL+Apache is applied at Web ends, and Aneroid ends are realized with the data interaction at Web ends using Android network frame OKhttp and JSON.Andriod ends issue look for something information when, telltale mark is carried out to the position for losing article by Google Maps API first, then obtained telltale mark and lost Item Information packing generation are looked for something information, MySQL database is committed to the JSON data formats information that will look for something finally by OKhttp frames;Web ends parse PHP source codes by Apache Server, and the information for increasing in MySQL database, revising is shown by web front end.The present invention can improve the message transmission rate between Web ends and Andriod ends, while realize location Based service.

Description

A kind of multiterminal data interaction based on location-based service Articles found, owner please contact platform
Technical field
Invention belongs to data interaction technology field, more particularly to a kind of multiterminal data interaction lost article based on location-based service is recruited Lead platform.
Background technology
Domestic platform is mostly list Web ends or list Android ends, and the positioning service scope at Web ends is excessive, result in suitable Response is small, customer flow is few.And it is following Articles found, owner please contact that platform is probably " ringlet ", a such as university campus is service range, Or using a university city as service range, then in the method for " big with smallization ", the big model of service for platform of realizing that Articles found, owner please contact Enclosing.To comply with current demand, it is necessary to develop a multiterminal data interaction based on location-based service Articles found, owner please contact information platform, energy The advantages of with reference to Android ends and Web ends each, simultaneously can accurately position article position.
The content of the invention
Goal of the invention:In order to solve the above technical problems, the present invention proposes a kind of multiterminal data interaction based on location-based service Articles found, owner please contact platform, the deficiency for the platform that can effectively solve the problem that Articles found, owner please contact at this stage simultaneously provide preferably service.
Technical solution:Technical solution proposed by the present invention is:
A kind of multiterminal data interaction based on location-based service Articles found, owner please contact platform, including Web ends and Andriod ends;Web ends Built using PHP scripts, MySQL database and Apache Server;Andriod ends utilize Andriod Android nets Network frame OKhttp is interacted between JSON data formats and MySQL database, includes the issue and inquiry of information of looking for something;
Andriod ends issue look for something information when, first by Google Maps API to lose article position position Mark, then looks for something obtained telltale mark and lost Item Information packing generation information, finally by OKhttp frames Frame is committed to MySQL database with the JSON data formats information that will look for something;
The inquiry of Andriod ends look for something information when, first to utilize http protocol to send clothes of the request of data to MySQL database Business device, server based on data request access MySQL database, and the data-base content reading or the response letter to client Breath is packaged into JSON forms, and Android ends are returned to by http protocol;
Web ends parse PHP source codes by Apache Server, and the information for increasing in MySQL database, revising is passed through Web front end is shown.
Further, the front end website design at Web ends uses HTML, CSS and Javascript language, the rear end at Web ends Design uses PHP language.
Further, the Android ends use Native App.
Beneficial effect:The present invention improves message transmission rate, reduces and asks corresponding time and data traffic.At the same time at this Platform calls Google place API to carry out telltale mark, the accuracy of the position greatly reinforced to the position of article.Realize base Service in position.Solve that pattern in existing technology is single, and information spreading rate is not high, the problem of being not easy to give lost article for change.
Brief description of the drawings
Fig. 1 is the Principle of Communication schematic diagram of the present invention.
Embodiment
Further explanation is done to the present invention below in conjunction with the accompanying drawings.
Fig. 1 show a kind of multiterminal data interaction based on location-based service proposed by the present invention Articles found, owner please contact the communication of platform Schematic diagram, the platform include Web page end and Andriod Androids end.
The combination and exploitation pattern of Web page end application tradition PHP+MySQL+Apache, wherein, Apache Server parsing The Web programs that PHP language is write, data are obtained from MySQL database and are shown to Web page.Android ends and Web ends Share same MySQL database.
Android ends are without the database of itself, such as common SQLite, therefore, the data at Android ends and Web ends Interaction is that the submission and acquisition of data are carried out using OKhttp network frames and JSON.Called at the same time in position service side face Google Maps API carries out telltale mark to the position of lost article.
OKhttp is the open source projects of a processing network request, is the most burning hot lightweight frame in Android end, for asking The url addresses of interface are asked, obtain JSON data, and parsed using JSONObject function pair JSON data.
Andriod ends issue look for something information when, first by Google Maps API to lose article position position Mark, then looks for something obtained telltale mark and lost Item Information packing generation information, finally by OKhttp frames Frame is committed to MySQL database with the JSON data formats information that will look for something.
Android ends will access long-range MySQL database, inquiry look for something information when, first to utilize http protocol to send and connect Mouth asks to give MySQL database server, and a communication interface is distributed for Android ends after the response of MySQL database server, Android ends send request of data by the interface being assigned to, and the request of MySQL database server based on data accesses MySQL Database, and the data-base content reading or the response to client are packaged into JSON forms, then returned by http protocol To Android terminal, Android terminal again parses JSON, and carries out relevant processing.
In the present invention, the language that Web ends are mainly concerned with has PHP, CSS, HTML and Javascript, wherein, HTML, CSS and Javascript is mainly used for the Front-end Design of Web site, and PHP is mainly used for the design of Web site rear end.
And Android App ends use Native App.Native App are an App for having very strong interactivity, can be opened up Malleability is strong.

Claims (3)

  1. A kind of 1. multiterminal data interaction based on location-based service Articles found, owner please contact platform, it is characterised in that including Web ends and Andriod ends;Web ends are built using PHP scripts, MySQL database and Apache Server;Andriod ends profit Interacted with Andriod Android network frame OKhttp between JSON data formats and MySQL database, including letter of looking for something The issue and inquiry of breath;
    Andriod ends issue look for something information when, first by Google Maps API to lose article position carry out positioning mark Note, then looks for something obtained telltale mark and lost Item Information packing generation information, finally by OKhttp frames MySQL database is committed to the JSON data formats information that will look for something;
    The inquiry of Andriod ends look for something information when, first to utilize http protocol to send service of the request of data to MySQL database Device, server based on data request access MySQL database, and the data-base content reading or the response message to client JSON forms are packaged into, Android ends are returned to by http protocol;
    Web ends parse PHP source codes by Apache Server, and the information for increasing in MySQL database, revising is passed through Web Front end is shown.
  2. 2. a kind of multiterminal data interaction based on location-based service according to claim 1 Articles found, owner please contact platform, its feature exist In the front end website design at Web ends uses HTML, CSS and Javascript language, and the rear end design at Web ends uses PHP languages Speech.
  3. 3. a kind of multiterminal data interaction based on location-based service according to claim 1 Articles found, owner please contact platform, its feature exist In the Android ends use Native App.
CN201810005207.6A 2018-01-03 2018-01-03 A kind of multiterminal data interaction based on location-based service Articles found, owner please contact platform Pending CN108040127A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810005207.6A CN108040127A (en) 2018-01-03 2018-01-03 A kind of multiterminal data interaction based on location-based service Articles found, owner please contact platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810005207.6A CN108040127A (en) 2018-01-03 2018-01-03 A kind of multiterminal data interaction based on location-based service Articles found, owner please contact platform

Publications (1)

Publication Number Publication Date
CN108040127A true CN108040127A (en) 2018-05-15

Family

ID=62098702

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810005207.6A Pending CN108040127A (en) 2018-01-03 2018-01-03 A kind of multiterminal data interaction based on location-based service Articles found, owner please contact platform

Country Status (1)

Country Link
CN (1) CN108040127A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105518754A (en) * 2013-05-03 2016-04-20 J·F·R·卢迪特 Apparatus and method for finding and reporting lost items
CN105681394A (en) * 2015-12-29 2016-06-15 深圳市瑞铭无限科技有限公司 Network request method and device based on OKHttp and GSON
CN105721281A (en) * 2016-01-20 2016-06-29 杭州电子科技大学 Book exchange system design method based on Android
CN105979012A (en) * 2016-07-11 2016-09-28 中国传媒大学 Position service-based smart campus lost and found system
CN106067153A (en) * 2016-05-30 2016-11-02 大连工业大学 A kind of Articles found, owner please contact system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105518754A (en) * 2013-05-03 2016-04-20 J·F·R·卢迪特 Apparatus and method for finding and reporting lost items
CN105681394A (en) * 2015-12-29 2016-06-15 深圳市瑞铭无限科技有限公司 Network request method and device based on OKHttp and GSON
CN105721281A (en) * 2016-01-20 2016-06-29 杭州电子科技大学 Book exchange system design method based on Android
CN106067153A (en) * 2016-05-30 2016-11-02 大连工业大学 A kind of Articles found, owner please contact system
CN105979012A (en) * 2016-07-11 2016-09-28 中国传媒大学 Position service-based smart campus lost and found system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
刘莹: "校园失物招领公益性管理系统", 《福建电脑》 *
王维: "基于WEB的高校网络失物招领信息管理平台开发与实现", 《电脑知识与技术》 *

Similar Documents

Publication Publication Date Title
CN102915375B (en) A kind of webpage loading method based on layout subregion
US8725794B2 (en) Enhanced website tracking system and method
CN104573025B (en) A kind of method and system improving page loading velocity
CN103383687B (en) A kind of page processing method and device
US9922131B2 (en) Graphical user interface machine to present a window
CN105159928B (en) A kind of JSON data conversion at model data method and system
CN108769109A (en) Method and system are uniformly processed in a kind of Internet of Things heterogeneous device data
CN106897251B (en) Rich text display method and device
CN104063401B (en) The method and apparatus that a kind of webpage pattern address merges
CN106294379A (en) The loading method of a kind of page, device and system
CN102637193B (en) Webpage instant collaborative browsing method based on DOM (document object model) and XMPP (extensible messaging and presence protocol)
CN109547474A (en) A kind of data transmission method and device
CN105512904B (en) A kind of method of advertisement
CN105068806B (en) A kind of browser rs cache control method and system
CN108833950A (en) A kind of barrage message issuing method, server, system and storage medium
CN110941950B (en) Interface document generation method, device, server and storage medium
CN106209512A (en) A kind of method and device of report of user behavioral data
US10788796B2 (en) Automatic time zone updating method and system for bluetooth watch
CN104391868A (en) Staticizing device and method for dynamic page
CN104168306A (en) Configuration integration method based on distributed system
CN109634751A (en) A method of application layer and bottom communication are realized using electron frame
WO2017080393A1 (en) Method and apparatus for acquiring ip address
CN106257887B (en) A method of the acquisition client hardware information based on WebSocket
CN103513986A (en) Method for using CGI technology for achieving dynamic web server in no-operation system
CN107070978A (en) A kind of inter-network acts on behalf of the method, system and proxy server of web map service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180515

RJ01 Rejection of invention patent application after publication