Font Size: a A A

Design And Implementation Of Violation Query System Based On Node.js And Android

Posted on:2019-07-21Degree:MasterType:Thesis
Country:ChinaCandidate:H P YanFull Text:PDF
GTID:2348330566958300Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
With the rapid development of the national economy and the continuous improvement of people's living standards,motor vehicles have become an indispensable means of transportation for people in today's society.According to statistics released by the Ministry of Public Security Administration of Communications in June 2017,the number of motor vehicles in the country has reached 004 million vehicles.With the increase in the number of motor vehicles,there are more and more people who violate the rules and inquire about violations.However,some existing violation search systems have problems such as inaccurate violation data and incomplete violation data.To solve this problem,this thesis designs a server-side Node.js platform,based on the Android platform,the client's violation query system,to provide users with accurate violation results and convenient operation methods.This system mainly combines the needs of a wide range of users,while considering the development costs and cycle issues,and proposes a solution for illegal query system based on Node.js and Android.The program mainly involves illegal data acquisition and Android client,Node.js server implementation.The illegal data is obtained from the 122 website database.Since the 122 illegal search website launched by the Traffic Administration Bureau has the most complete vehicle violation information in the country,the 122 website interface is analyzed to obtain the 122 website illegal data.The acquisition process mainly includes: firstly,analyzing 122 various function interfaces of the website,obtaining the URL address of the related functional interface and the interface transmission parameters,and secondly analyzing the 12123 APP to obtain the communication encryption key between the 122 website interface and the server.Finally,the Tesseract-OCR engine was used to identify 122 website verification codes and eventually obtained 122 website violation data.In addition,an IP proxy was also set up for the violation query system to prevent the system from crawling 122 website data too frequently to block IP addresses.Illegal query system The server is selected by the Node.js platform.It quickly builds the server through the Express framework and uses third-party middleware such as https,crypto,cheerio,and node-tesseract.The AES encryption and decryption of the data transmitted between the 122 website authentication code images and the identification,user and 122 Web servers are realized.The client uses the Android platform.It mainly uses the network to request the open source framework OkHttp to solve the network access problem of the mobile terminal.The database uses MongoDB,a non-relational database,to establish MongoDB database connection and object model building through the mongoose middleware under Node.js platform.Finally,connect the Android client and server through the RESTful interface.After the system design and development are completed,functional tests and stress tests are performed on the illegal query system.The experimental results show that the illegal query system can correctly return the user's violation information while also having good high concurrency performance.Has a high social value and significance.
Keywords/Search Tags:Node.js, Android, AES encryption, AES decryption, illegal query
PDF Full Text Request
Related items