CN111290899A - Debugging method of bus passenger flow detection terminal - Google Patents

Debugging method of bus passenger flow detection terminal Download PDF

Info

Publication number
CN111290899A
CN111290899A CN202010171339.3A CN202010171339A CN111290899A CN 111290899 A CN111290899 A CN 111290899A CN 202010171339 A CN202010171339 A CN 202010171339A CN 111290899 A CN111290899 A CN 111290899A
Authority
CN
China
Prior art keywords
passenger flow
flow detection
detection terminal
mobile phone
debugging
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
CN202010171339.3A
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.)
Hangzhou Lvcheng Electronic Technology Co ltd
Original Assignee
Hangzhou Lvcheng Electronic Technology Co ltd
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 Hangzhou Lvcheng Electronic Technology Co ltd filed Critical Hangzhou Lvcheng Electronic Technology Co ltd
Priority to CN202010171339.3A priority Critical patent/CN111290899A/en
Publication of CN111290899A publication Critical patent/CN111290899A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/96Management of image or video recognition tasks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a debugging method of a bus passenger flow detection terminal, which comprises the steps of establishing communication connection between a mobile phone end and the passenger flow detection terminal, and debugging the passenger flow detection terminal through the mobile phone end. The debugging method of the bus passenger flow detection terminal provided by the invention uses the portable mobile phone as a debugging tool, does not need to carry any special tool and wire harness, does not need to reserve a special debugging interface for the passenger flow detection terminal, is convenient for power supply of the mobile phone, has longer electricity using time than a computer, is common for mobile phone chargers, and greatly facilitates debugging of the passenger flow detection terminal. The debugging method of the bus passenger flow detection terminal also has the advantages of being compatible with various browsers, not needing to download software and being simple and convenient to operate.

Description

Debugging method of bus passenger flow detection terminal
Technical Field
The invention relates to the technical field of public transport passenger flow detection, in particular to a debugging method of a public transport passenger flow detection terminal.
Background
Traffic is an important foundation for the production and life of human society and the development of urban economy. The public transportation system is an indispensable component in urban traffic. With the development of artificial intelligence technology in recent years, smart buses are more and more concerned by people and governments. The wisdom public transit is the brand-new product that fuses bus and smart machine, mobile interconnection theory mutually, can improve trip efficiency greatly, lets the people fully enjoy the intellectuality city life that the informatization brought. The bus passenger flow volume statistical system can help a manager to know the running condition of a vehicle at any time, improve the operation and maintenance efficiency, achieve the purposes of cost reduction and efficiency improvement, and simultaneously provide congestion degree information in the vehicle for passengers, so that the vehicle can be reasonably selected, and the blind waiting time is reduced. Therefore, the application of the public transport passenger flow statistics technology in the intelligent public transport is very necessary.
In the bus passenger flow statistics technology, a camera is generally adopted to collect passenger flow signals, the installation position of the camera is very exquisite, and the accuracy of final statistics can be influenced by overhigh or overlow or incorrect direction and angle. The currently used debugging methods are: firstly, the engineering treasure is used for connecting equipment for debugging, and the method has the defects that the equipment needs to reserve a special debugging interface, so that the wiring harness of the equipment is complicated, a video patch cord needs to be carried, the joint of the video patch cord is fragile and easy to damage, and the debugging is difficult to carry out if no spare wiring harness exists after the video patch cord is damaged; secondly, the computer is used for debugging through a network, the method has the defects that the computer needs to be carried, the smoothness of the equipment network needs to be ensured, the computer is expensive, large in size and easy to collide, the computer is not suitable for being used as a large-batch production tool, the power supply of the computer is also a problem, and the power supply is troublesome to find after the power failure occurs.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provides a debugging method of a bus passenger flow detection terminal.
The technical scheme adopted by the invention for solving the technical problems is as follows:
a debugging method of a bus passenger flow detection terminal comprises the steps of establishing communication connection between a mobile phone end and the passenger flow detection terminal, debugging the passenger flow detection terminal through the mobile phone end, and establishing communication connection between the mobile phone end and the passenger flow detection terminal, wherein the method comprises the following steps:
s1, loading the gpio driver and the led driver into the passenger flow detection terminal, and starting a main program of the passenger flow detection terminal;
s2, establishing the AP, and loading the mt7601 driver;
s3, configuring the ssid, the encryption mode and the password according to the self-coding of the passenger flow detection terminal, and setting the static IP of the passenger flow detection terminal;
and S4, connecting the WiFi module of the passenger flow detection terminal with the mobile phone, starting the udchp of the mobile phone and automatically distributing the static IP of the passenger flow detection terminal for the mobile phone, and opening the webpage of the mobile phone to communicate with the passenger flow detection terminal after the connection is successful.
In the technical scheme, common workers in social life can carry the mobile phone, the mobile phone carried with the workers serves as a debugging tool, any special tool and wire harness do not need to be carried, a special debugging interface does not need to be reserved for a passenger flow detection terminal, the mobile phone is convenient to power supply, the service life of the mobile phone is longer than that of a computer, a mobile phone charger is common, and debugging of the passenger flow detection terminal is greatly facilitated. The WiFi module on the passenger flow detection terminal is used as a server, the mobile phone is used as a client, the mobile phone can communicate with the terminal after being connected with WiFi through a password, and the passenger flow detection terminal can be connected after a browser is opened on the mobile phone and a specific IP address is input.
Preferably, in step S4, the method for the mobile phone to communicate with the passenger flow detection terminal includes:
s41, the AP sends a broadcast management frame;
s42, the mobile phone end sends a detection request frame to the AP, and the AP access point responds to the connection request of the mobile phone end;
s43, the mobile phone end requests the identity authentication of the AP, and the AP responds to the identity authentication request of the mobile phone end;
s44, the mobile phone sends out a connection request, and the AP responds to the connection request of the mobile phone end;
and S45, the mobile phone end and the passenger flow detection terminal complete connection and communication.
Preferably, the method for debugging the passenger flow detection terminal by the mobile phone end comprises the steps that the mobile phone end sends an instruction signal to the passenger flow detection terminal, and the passenger flow detection terminal makes a corresponding response according to the instruction and returns response information to the mobile phone end.
Preferably, the instruction signal comprises a device state information instruction, a count zero clearing instruction, a people number calibration instruction, a download log instruction or a video recording instruction. In the technical scheme, the mobile phone terminal is connected with the passenger flow detection terminal and then sends an equipment state information instruction to the passenger flow detection terminal, the passenger flow detection terminal can execute corresponding operation after receiving the instruction through WiFi connection and returns corresponding information to the mobile phone terminal, and the mobile phone terminal can display equipment state information or equipment fault information of the passenger flow detection terminal on a webpage after reading and analyzing the information returned by the passenger flow detection terminal; after the mobile phone end sends a counting zero clearing instruction, the number of passengers getting on and off the passenger flow detection terminal is cleared, and the passenger flow detection terminal restarts counting; the number of people is calibrated by the mobile phone terminal, so that inaccurate counting of the passenger flow detection terminal can be manually calibrated; the method comprises the steps that a mobile phone end sends a log downloading instruction, a passenger flow detection terminal returns a system log to the mobile phone end, and the mobile phone end displays log information of the system in a certain format after analyzing the system log; after the mobile phone terminal sends a video recording instruction, the passenger flow detection terminal can start a video recording function, store all videos during the function starting period, and simultaneously close the video recording function through the mobile phone terminal at any time. Further, in the actual installation process, because the door opening and closing signals of each vehicle are different, the passenger flow detection terminals also need to be debugged and judged, some vehicles realize opening and closing the door through pulses, some vehicle passenger flow detection terminals realize opening and closing the door through high and low levels, meanwhile, the door opening and closing signals are probably connected with the camera in the installation process, manual setting can be carried out through a mobile phone end, pulses or high and low levels are selected according to actual conditions, and the door opening and closing signals are detected to be connected with the camera in an opposite mode.
Preferably, the method for debugging the passenger flow detection terminal at the mobile phone terminal further comprises the step of checking an image signal or a counting signal or a passenger movement track signal acquired by the passenger flow detection terminal in real time through the mobile phone terminal.
Preferably, in step S4, the tab attributes are set, so that the browsers of different mobile phone side webpages are compatible. In the above technical solution, the problem of browser compatibility refers to a situation that the page display effect is not uniform because different browsers have different resolutions for the same segment of code. By setting the attributes of the tags, the purpose of browser compatibility can be achieved, and therefore browsers of different mobile phone ends are uniform in display effect when debugging passenger flow detection terminals.
The invention has the beneficial effects that:
the debugging method of the bus passenger flow detection terminal takes the mobile phone carried about as a debugging tool, does not need to carry any special tool and wire harness, does not need to reserve a special debugging interface for the passenger flow detection terminal, is convenient for power supply of the mobile phone, has longer electricity using time of the mobile phone than a computer, is common for mobile phone chargers, and greatly facilitates debugging of the passenger flow detection terminal. The debugging method of the bus passenger flow detection terminal also has the advantages of being compatible with various browsers, not needing to download software and being simple and convenient to operate.
Drawings
Fig. 1 is a flowchart of a procedure for establishing a communication connection between a mobile phone and a passenger flow detection terminal according to the present invention;
fig. 2 is a schematic flow chart of data interaction between the mobile phone and the passenger flow detection terminal according to the present invention.
Detailed Description
The present invention will be further described with reference to the accompanying drawings and embodiments.
As shown in fig. 1-2, the debugging method of the bus passenger flow detection terminal according to the present invention is a method for establishing a communication connection between a mobile phone and a passenger flow detection terminal, and debugging the passenger flow detection terminal through the mobile phone, wherein a program flow for establishing a communication connection between the mobile phone and the passenger flow detection terminal includes the following steps:
s1, loading the gpio driver and the led driver into the passenger flow detection terminal, and starting a main program of the passenger flow detection terminal;
s2, establishing the AP, and loading the mt7601 driver;
s3, configuring the ssid, the encryption mode and the password according to the self-coding of the passenger flow detection terminal, and setting the static IP of the passenger flow detection terminal;
and S4, connecting the WiFi module of the passenger flow detection terminal with the mobile phone, starting the udchp of the mobile phone and automatically distributing the static IP of the passenger flow detection terminal for the mobile phone, and opening the webpage of the mobile phone to communicate with the passenger flow detection terminal after the connection is successful.
In this embodiment, in step S4, the method for enabling the mobile phone to communicate with the passenger flow detection terminal includes:
s41, the AP sends a broadcast management frame;
s42, the mobile phone end sends a detection request frame to the AP, and the AP access point responds to the connection request of the mobile phone end;
s43, the mobile phone end requests the identity authentication of the AP, and the AP responds to the identity authentication request of the mobile phone end;
s44, the mobile phone sends out a connection request, and the AP responds to the connection request of the mobile phone end;
and S45, the mobile phone end and the passenger flow detection terminal complete connection and communication.
In this embodiment, the method for debugging the passenger flow detection terminal at the mobile phone end includes that the mobile phone end sends an instruction signal to the passenger flow detection terminal, and the passenger flow detection terminal makes a corresponding response according to the instruction and feeds back response information to the mobile phone end.
In this embodiment, the instruction signal includes an equipment state information instruction, a count zero clearing instruction, a people number calibration instruction, a log downloading instruction, or a video recording instruction.
In this embodiment, the method for debugging the passenger flow detection terminal at the mobile phone end further includes checking an image signal or a counting signal or a passenger movement track signal acquired by the passenger flow detection terminal in real time through the mobile phone end.
In this embodiment, in step S4, by setting the tag attribute, browsers of different mobile phone end webpages are made compatible.
In the description of the present invention, it should be noted that, as the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. appear, their indicated orientations or positional relationships are based on those shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the referred device or element must have a specific orientation, be constructed in a specific orientation, and be operated, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" as appearing herein are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
In the description of the present invention, it should be noted that, unless otherwise explicitly stated or limited, the terms "mounted," "connected," and "connected" should be interpreted broadly, e.g., as being fixed or detachable or integrally connected; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
Simple substitutions without changing the inventive content of the present invention are considered to be the same. The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (6)

1. A debugging method of a bus passenger flow detection terminal is characterized by comprising the steps of establishing communication connection with the passenger flow detection terminal by using a mobile phone, debugging the passenger flow detection terminal by using the mobile phone, and establishing communication connection between the mobile phone and the passenger flow detection terminal by using a program flow comprising the following steps:
s1, loading the gpio driver and the led driver into the passenger flow detection terminal, and starting a main program of the passenger flow detection terminal;
s2, establishing the AP, and loading the mt7601 driver;
s3, configuring the ssid, the encryption mode and the password according to the self-coding of the passenger flow detection terminal, and setting the static IP of the passenger flow detection terminal;
and S4, connecting the WiFi module of the passenger flow detection terminal with the mobile phone, starting the udchp of the mobile phone and automatically distributing the static IP of the passenger flow detection terminal for the mobile phone, and opening the webpage of the mobile phone to communicate with the passenger flow detection terminal after the connection is successful.
2. The method for debugging the bus passenger flow detection terminal according to claim 1, wherein in step S4, the method for the mobile phone to communicate with the passenger flow detection terminal comprises:
s41, the AP sends a broadcast management frame;
s42, the mobile phone end sends a detection request frame to the AP, and the AP access point responds to the connection request of the mobile phone end;
s43, the mobile phone end requests the identity authentication of the AP, and the AP responds to the identity authentication request of the mobile phone end;
s44, the mobile phone sends out a connection request, and the AP responds to the connection request of the mobile phone end;
and S45, the mobile phone end and the passenger flow detection terminal complete connection and communication.
3. The method for debugging the bus passenger flow detection terminal according to claim 1 or 2, wherein the method for debugging the passenger flow detection terminal by the mobile phone terminal comprises the steps that the mobile phone terminal sends a command signal to the passenger flow detection terminal, and the passenger flow detection terminal makes a corresponding response according to the command and feeds back response information to the mobile phone terminal.
4. The debugging method of the bus passenger flow detection terminal as claimed in claim 3, wherein the command signal comprises an equipment state information command, a count zero clearing command, a people number calibration command, a log downloading command or a video recording command.
5. The debugging method of the bus passenger flow detection terminal according to claim 1, 2 or 4, wherein the debugging method of the mobile phone end to the passenger flow detection terminal further comprises the step of checking an image signal or a counting signal or a passenger movement track signal acquired by the passenger flow detection terminal in real time through the mobile phone end.
6. The debugging method of the bus passenger flow detection terminal as claimed in claim 5, wherein in step S4, the tab attributes are set so that the browsers of different mobile phone end web pages are compatible.
CN202010171339.3A 2020-03-12 2020-03-12 Debugging method of bus passenger flow detection terminal Pending CN111290899A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010171339.3A CN111290899A (en) 2020-03-12 2020-03-12 Debugging method of bus passenger flow detection terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010171339.3A CN111290899A (en) 2020-03-12 2020-03-12 Debugging method of bus passenger flow detection terminal

Publications (1)

Publication Number Publication Date
CN111290899A true CN111290899A (en) 2020-06-16

Family

ID=71022514

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010171339.3A Pending CN111290899A (en) 2020-03-12 2020-03-12 Debugging method of bus passenger flow detection terminal

Country Status (1)

Country Link
CN (1) CN111290899A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203084712U (en) * 2013-02-22 2013-07-24 厦门蓝斯通信股份有限公司 Maintenance system for electronic device terminal
CN106488483A (en) * 2016-09-29 2017-03-08 深圳市科创思科技有限公司 A kind of method of configuration WIFI gateway device and corresponding gateway device
CN106840206A (en) * 2017-01-23 2017-06-13 建荣半导体(深圳)有限公司 A kind of method of testing, the apparatus and system of follow shot equipment
CN110516600A (en) * 2019-08-28 2019-11-29 杭州律橙电子科技有限公司 A kind of bus passenger flow detection method based on Face datection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN203084712U (en) * 2013-02-22 2013-07-24 厦门蓝斯通信股份有限公司 Maintenance system for electronic device terminal
CN106488483A (en) * 2016-09-29 2017-03-08 深圳市科创思科技有限公司 A kind of method of configuration WIFI gateway device and corresponding gateway device
CN106840206A (en) * 2017-01-23 2017-06-13 建荣半导体(深圳)有限公司 A kind of method of testing, the apparatus and system of follow shot equipment
CN110516600A (en) * 2019-08-28 2019-11-29 杭州律橙电子科技有限公司 A kind of bus passenger flow detection method based on Face datection

Similar Documents

Publication Publication Date Title
CN102981496B (en) Remote control and data storage method based on vehicle professional diagnosis
CN203054592U (en) Automotive fault diagnosis system
CN106020092B (en) Welding machine remote monitoring system
CN105589719A (en) System for remotely upgrading full vehicle-mounted controller softwares and upgrading method thereof
CN103019232A (en) Fault diagnosis system for automobiles
CN105564245A (en) Vehicle meter based information display method and vehicle meter
CN107943497A (en) A kind of ETC electronic tags bluetooth upgrading management system
CN105096645A (en) Vehicle-mounted positioning system
CN109525420A (en) Fault data based on vehicle mounted communication module transfers method and apparatus
CN111199030A (en) Vehicle, vehicle equipment and automatic activation method of vehicle-mounted third-party application software
CN109960237A (en) A kind of car fault diagnosis and data analysis system and vehicle
CN104678993A (en) Automobile wireless diagnosis system and method based on WIFI
CN113810403B (en) Charging pile vulnerability detection method and detection device based on communication protocol
CN104424558A (en) Broadband wireless network paying and advertising method
CN106777755B (en) Verification device and system for spacer layer locking logic
CN201583829U (en) Heavy-duty vehicle tail gas monitoring system
CN112947382A (en) Automobile fault diagnosis system and method
CN111290899A (en) Debugging method of bus passenger flow detection terminal
CN113014789B (en) Vehicle camera recognition device, system, vehicle and recognition method
CN108737502B (en) Device and method for monitoring connection state of vehicle-mounted communication module in real time
CN115801856B (en) Service processing method based on atomization service and related equipment
CN108738056B (en) Monitoring method, device and system for roadside unit
CN206658216U (en) A kind of debugging apparatus of vehicle-mounted information service system
CN111026475A (en) Vehicle, vehicle equipment and vehicle service processing method based on map software
CN109729161A (en) A kind of parameter adaptation system and method based on remote debugging technology

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