CN106845619A - A kind of method by TCP transmission passenger flow counting information - Google Patents
A kind of method by TCP transmission passenger flow counting information Download PDFInfo
- Publication number
- CN106845619A CN106845619A CN201510894208.7A CN201510894208A CN106845619A CN 106845619 A CN106845619 A CN 106845619A CN 201510894208 A CN201510894208 A CN 201510894208A CN 106845619 A CN106845619 A CN 106845619A
- Authority
- CN
- China
- Prior art keywords
- passenger flow
- flow counting
- terminal device
- counting
- counter
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06M—COUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
- G06M11/00—Counting of objects distributed at random, e.g. on a surface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/163—In-band adaptation of TCP data exchange; In-band control procedures
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides a kind of method by TCP transmission passenger flow counting information, comprise the following steps:By passenger flow counting installing terminal equipment at the crown position that passenger flow is imported and exported, and height and scene configuration the setting counting region according to passenger flow counting installing terminal equipment;And Initialize installation is carried out to the passenger flow counting terminal device;When being run for the first time from passenger flow counting terminal device, Counter Value since 0 ing, once have the entrance of human body entrance/walk out counting region will flip-flop number, counter can add up respectively, and preserve the absolute value of passenger flow counting;The absolute value of passenger flow counting is sent to server by counter timing by Transmission Control Protocol on one's own initiative;The absolute value of passenger flow counting of the server to receiving is counted and preserved.The present invention uses Transmission Control Protocol timing active upload mechanism, and does not need server to return to response message, it is possible to reduce message packet reduces resource overhead of the server when camera passenger flow counting information is obtained to the occupancy of Internet resources.
Description
Technical field
The invention belongs to computer vision and area of pattern recognition, specifically, and in particular to one kind passes through TCP
The method for transmitting passenger flow counting information.
Background technology
Passenger flow analysing is an important market survey means, is external nearly all shopping center, market, greater chain battalion
The link that the industry Room and chain commercial site must all be carried out before every operations decision of enterprise.With the aggravation of competition, business
Industry pattern progressively from transformation of doing business from traditional tradesman to great initiative.Therefore, statistics and its change of the businessman to daily passenger flow
The analysis of rule is controlled and is just particularly important.
For many communal facilitys such as market, subway etc., all the peak of the stream of people can be welcome in the short time.
Injures and deaths event was trampled what various regions also all occurred to occur because the stream of people is excessively crowded in recent years, it is therefore right
The passenger flow in these places carries out real-time statistics and analysis and seems most important.Other crowd density estimation skill
The field important role such as management and control and service of the art in transport hubs such as public safety, airport stations.
The number of current statistical regions is usually the picture by camera pickup area, then by software
Algorithm is processed come the picture to collection, and then calculates the number and the volume of the flow of passengers of current region.But
It is that this method has following defect:Camera is passively to upload data, it is therefore desirable to which server is returned and rung
Message is answered, this inevitably improves occupancy of the message packet to Internet resources;Camera is once power-off
After be accomplished by again processing data, therefore power-off after data be easily lost.
The content of the invention
The invention provides a kind of method by TCP transmission passenger flow counting information, comprise the following steps:
By passenger flow counting installing terminal equipment at the crown position that passenger flow is imported and exported, and according to passenger flow counting end
Height and scene configuration setting counting region that end equipment is installed;
Initialize installation is carried out to the passenger flow counting terminal device;
When being run for the first time from passenger flow counting terminal device, Counter Value is since 0, once there is human body to enter
/ walk out counting region enter will flip-flop number, counter will add up 0,1,2,3,4,5,6 ... n,
N is positive integer, and preserves the absolute value of passenger flow counting;
The absolute value of passenger flow counting is sent to clothes by the timing of passenger flow counting terminal device by Transmission Control Protocol on one's own initiative
Business device;
The absolute value of passenger flow counting of the server to receiving is counted;
Wherein, following field is included in the Transmission Control Protocol:
Message header, for passenger flow counting terminal device active reporting passenger flow counting message;
Message-length, for representing whole message field length;
Device name, the device name for representing user configuring includes English character or numeral,
First counter and value, for representing counter sequence number;
Second counter and value, the record of multiple periods of content or counter to blip counting device;
Markers, time tag during for representing message transmission in equipment.
In the above-mentioned method by TCP transmission passenger flow counting information, methods described also includes:
It is described after the absolute value that server receives the passenger flow counting sent from passenger flow counting terminal device
The processing unit of server is processed and is saved in database to the absolute value data, is formed original
Passenger flow counting data.
In the above-mentioned method by TCP transmission passenger flow counting information, set passenger flow counting terminal is installed
After standby, also include:
IP address and port numbers are configured on passenger flow counting terminal device, the absolute value of passenger flow counting is sent out
It is sent to the server of specified IP address and port numbers.
In the above-mentioned method by TCP transmission passenger flow counting information, methods described also includes, the visitor
Flow accounting terminal device regularly sends the absolute value of passenger flow counting to server in units of second level.
In the above-mentioned method by TCP transmission passenger flow counting information, methods described also includes, the visitor
Flow accounting terminal device is according to the absolute value extremely clothes that -600 seconds 60 seconds is that spacer unit timing sends passenger flow counting
Business device.
In the above-mentioned method by TCP transmission passenger flow counting information, methods described also includes, the visitor
Flow accounting terminal device includes a counter or multiple counters.
During above-mentioned passenger flow counting terminal device passenger flow data method for uploading, when a piece of news is comprising more
When the content of individual counter or the record comprising multiple period for counter, the second meter can be repeated
The field contents of number device and value
The present invention uses timing active upload mechanism, while server is sent to using Transmission Control Protocol, therefore simultaneously
Server is not needed to return to response message, it is possible to reduce message packet reduces clothes to the occupancy of Internet resources
Resource overhead of the business device when passenger flow counting terminal device passenger flow counting information is obtained.Can meet in system
When supporting large number of passenger flow counting terminal device, it is also possible to carry out real-time response and processing data.
Brief description of the drawings
The detailed description made to non-limiting example with reference to the following drawings by reading, the present invention and its spy
Levy, profile and advantage will become more apparent upon.Identical mark indicates identical part in whole accompanying drawings.
Accompanying drawing is not drawn to scale deliberately, it is preferred that emphasis is purport of the invention is shown.
A kind of flow chart of method by TCP transmission passenger flow counting information that Fig. 1 is provided for the present invention.
Specific embodiment
In the following description, a large amount of concrete details are given so as to provide to the present invention more thoroughly manage
Solution.It is, however, obvious to a person skilled in the art that the present invention can without one or
Multiple these details and be carried out.In other examples, in order to avoid obscuring with the present invention,
It is not described for some technical characteristics well known in the art.
In order to thoroughly understand the present invention, detailed step and detailed knot will be proposed in following description
Structure, to explain technical scheme.Presently preferred embodiments of the present invention is described in detail as follows, but
In addition to these detailed descriptions, the present invention can also have other embodiment.
The invention provides a kind of method by TCP transmission passenger flow counting information, shown in reference picture 1, bag
Include following steps:
Step S1:By a kind of passenger flow counting terminal device (such as passenger flow counting comprising camera and counter
Terminal device) it is arranged at the crown position that passenger flow is imported and exported, and according to passenger flow counting installing terminal equipment
Height and scene configuration setting counting region.Because passenger flow counting installing terminal equipment height is higher, then
Viewfinder range is also bigger, thus collection picture in number it is also more;In addition, if collection picture
Number in having obstacle in face and also reducing the picture of collection, therefore in order to improve the accuracy of detection,
Need height and the scene configuration setting counting region installed according to camera.
Step S2:Initialize installation is carried out to passenger flow counting terminal device.In an optional embodiment of the invention
In, passenger flow counting terminal device includes a counter or multiple counters.
Step S3:When being run for the first time from passenger flow counting terminal device, Counter Value is since 0, once have
Human body entrance/walk out counting region enter will flip-flop number, counter will add up
0,1,2,3,4,5,6 ... n, n are positive integer, and preserve the absolute value of passenger flow counting.In the present invention,
When one or more human body is come into/walked out in picture, counter will automatically carry out numeral and add up,
And preservation is the absolute value of passenger flow counting, even if camera is powered off or restarted, will not cause this absolute
Value resets;Unless carried out " factory reset " to camera.
Step S4:The absolute value of passenger flow counting is passed through Transmission Control Protocol by the timing of passenger flow counting terminal device on one's own initiative
It is sent to server.Active upload mode refers to the timing of passenger flow counting terminal device for passenger flow counting
Entry/exit counter current absolute figure, server is sent to by Transmission Control Protocol.Because TCP is face
To the reliable transport protocol of connection, therefore this kind of upload mode, it may be unnecessary to which server returns to response message.
Using passenger flow counting terminal device timing active upload mechanism, and server is not needed to return to response message,
Occupancy of the message packet to Internet resources can be reduced, server is reduced and is being obtained passenger flow counting terminal device
Resource overhead during passenger flow counting information.Can meet and support large number of passenger flow counting terminal in system
During equipment, it is also possible to carry out real-time response and processing data.Passenger flow counting terminal device sends active upload
During message, destination slogan can be configured in passenger flow counting terminal device website.
Further, since the absolute value for being counter of passenger flow counting terminal device transmission, even if due to network
Or other reasonses cause some message cannot to be successfully sent to server, passenger flow counting data are not resulted in yet
Loss.Ensure the security of passenger flow counting.
Wherein, following field is included in Transmission Control Protocol:1st, message header, for passenger flow counting terminal device
Active reporting passenger flow counting message;2nd, message-length, for representing whole message field length;3rd, set
Standby title, the device name for representing user configuring includes English character or numeral, and 4, first counts
Device and value, for representing counter sequence number;5th, the second counter and value, to the content of blip counting device
Or the record of multiple periods of counter, optionally, when a piece of news includes the content of multiple counters
Or during record comprising multiple period for counter, the field of the second counter and value can be repeated
Content;6th, markers, time tag during for representing message transmission in equipment.
The field contents for including with regard to Transmission Control Protocol below are conducted further description with form.
Step S5:The absolute value of passenger flow counting of the server to receiving is counted.
In an optional embodiment of the invention, the method also includes:
After the absolute value that server receives the passenger flow counting sent from passenger flow counting terminal device, service
The processing unit of device is processed and is saved in database to the absolute value data, forms original passenger flow
Enumeration data.
In an optional embodiment of the invention, after passenger flow counting terminal device is installed, also include:
IP address and port numbers are configured on passenger flow counting terminal device, the absolute value of passenger flow counting is sent to
Specify the server of IP address and port numbers.
In an optional embodiment of the invention, passenger flow counting terminal device regularly sends visitor in units of second level
The absolute value of flow accounting is to server.Further alternative, passenger flow counting terminal device was according to 60 seconds -600
Second the absolute value of passenger flow counting is sent to server for spacer unit timing.For example, passenger flow counting terminal sets
The standby frequency timing according to 300s sends absolute value to server, can be reduced as far as possible using this interval
The error of guest flow statistics.
In an optional embodiment of the invention, passenger flow counting terminal device includes a counter or multiple
Counter.
Presently preferred embodiments of the present invention is described above.It is to be appreciated that the present invention does not limit to
In above-mentioned particular implementation, wherein the equipment and structure that do not describe in detail to the greatest extent are construed as using this area
In common mode be practiced;Any those of ordinary skill in the art, are not departing from the technology of the present invention
In the case of aspects, technical solution of the present invention is done using the methods and techniques content of the disclosure above all
Go out many possible variations and modification, or be revised as the Equivalent embodiments of equivalent variations, this has no effect on this
The substance of invention.Therefore, every content without departing from technical solution of the present invention, according to of the invention
Technical spirit still falls within this to any simple modification, equivalent variation and modification made for any of the above embodiments
In the range of inventive technique scheme protection.
Claims (7)
1. a kind of method by TCP transmission passenger flow counting information, it is characterised in that comprise the following steps:
By passenger flow counting installing terminal equipment at the crown position that passenger flow is imported and exported, and according to passenger flow counting end
Height and scene configuration setting counting region that end equipment is installed;
Initialize installation is carried out to the passenger flow counting terminal device;
When being run for the first time from passenger flow counting terminal device, Counter Value is since 0, once there is human body to enter
/ walk out counting region enter will flip-flop number, counter will add up 0,1,2,3,4,5,6 ... n,
N is positive integer, and preserves the absolute value of passenger flow counting;
The absolute value of passenger flow counting is sent to clothes by the timing of passenger flow counting terminal device by Transmission Control Protocol on one's own initiative
Business device;
The absolute value of passenger flow counting of the server to receiving is counted;
Wherein, data are transmitted by following field in the Transmission Control Protocol:
Message header, for camera active reporting passenger flow counting message;
Message-length, for representing whole message field length;
Device name, the device name for representing user configuring includes English character or numeral,
First counter and value, for representing counter sequence number;
Second counter and value, the record of multiple periods of content or counter to blip counting device;
Markers, time tag during for representing message transmission in equipment.
2. passenger flow counting terminal device passenger flow data method for uploading as claimed in claim 1, its feature exists
In methods described also includes:
It is described after the absolute value that server receives the passenger flow counting sent from passenger flow counting terminal device
The processing unit of server is processed and is saved in database to the absolute value data, is formed original
Passenger flow counting data.
3. passenger flow counting terminal device passenger flow data method for uploading as claimed in claim 1, its feature exists
In after passenger flow counting terminal device is installed, also including:
IP address and port numbers are configured on passenger flow counting terminal device, the absolute value of passenger flow counting is sent out
It is sent to the server of specified IP address and port numbers.
4. passenger flow counting terminal device passenger flow data method for uploading as claimed in claim 1, its feature exists
In the absolute value that the passenger flow counting terminal device regularly sends passenger flow counting in units of second level is extremely serviced
Device.
5. binocular camera passenger flow data method for uploading as claimed in claim 4, it is characterised in that institute
Counter is stated according to the absolute value that -600 seconds 60 seconds is spacer unit timing transmission passenger flow counting to server.
6. passenger flow counting terminal device passenger flow data method for uploading as claimed in claim 1, its feature exists
In the multiple counters of described one counter of passenger flow counting terminal device internal support or simultaneously support.
7. passenger flow counting terminal device passenger flow data method for uploading as claimed in claim 1, its feature exists
In when content of a piece of news comprising multiple counters or comprising the note of multiple periods of counter
During record, Transmission Control Protocol can repeat the field contents of the second counter and value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510894208.7A CN106845619A (en) | 2015-12-04 | 2015-12-04 | A kind of method by TCP transmission passenger flow counting information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510894208.7A CN106845619A (en) | 2015-12-04 | 2015-12-04 | A kind of method by TCP transmission passenger flow counting information |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106845619A true CN106845619A (en) | 2017-06-13 |
Family
ID=59151386
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510894208.7A Pending CN106845619A (en) | 2015-12-04 | 2015-12-04 | A kind of method by TCP transmission passenger flow counting information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106845619A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924195A (en) * | 2018-06-20 | 2018-11-30 | 郑州云海信息技术有限公司 | A kind of unidirectional heartbeat mechanism implementation method, device, equipment and system |
CN112073485A (en) * | 2020-08-28 | 2020-12-11 | 上海杰轩智能科技有限公司 | Method for transmitting passenger flow counting data through HTTP message |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN85200965U (en) * | 1985-04-01 | 1986-10-15 | 魏俊奇 | Floating population number meter |
CN101470946A (en) * | 2007-12-25 | 2009-07-01 | 厦门雅迅网络股份有限公司 | GPS and passenger flow data processing method for city public transportation system |
CN101998115A (en) * | 2010-10-27 | 2011-03-30 | 江苏科技大学 | Embedded-type network camera with passenger flow counting function and passenger flow counting method |
CN102054167A (en) * | 2010-12-14 | 2011-05-11 | 浙江工业大学 | All-weather multipath channel pedestrian flow monitoring system based on wireless infrared monitoring |
CN102156985A (en) * | 2011-04-11 | 2011-08-17 | 上海交通大学 | Method for counting pedestrians and vehicles based on virtual gate |
CN102819764A (en) * | 2012-07-18 | 2012-12-12 | 郑州金惠计算机***工程有限公司 | Method for counting pedestrian flow from multiple views under complex scene of traffic junction |
CN102982598A (en) * | 2012-11-14 | 2013-03-20 | 三峡大学 | Video people counting method and system based on single camera scene configuration |
-
2015
- 2015-12-04 CN CN201510894208.7A patent/CN106845619A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN85200965U (en) * | 1985-04-01 | 1986-10-15 | 魏俊奇 | Floating population number meter |
CN101470946A (en) * | 2007-12-25 | 2009-07-01 | 厦门雅迅网络股份有限公司 | GPS and passenger flow data processing method for city public transportation system |
CN101998115A (en) * | 2010-10-27 | 2011-03-30 | 江苏科技大学 | Embedded-type network camera with passenger flow counting function and passenger flow counting method |
CN102054167A (en) * | 2010-12-14 | 2011-05-11 | 浙江工业大学 | All-weather multipath channel pedestrian flow monitoring system based on wireless infrared monitoring |
CN102156985A (en) * | 2011-04-11 | 2011-08-17 | 上海交通大学 | Method for counting pedestrians and vehicles based on virtual gate |
CN102819764A (en) * | 2012-07-18 | 2012-12-12 | 郑州金惠计算机***工程有限公司 | Method for counting pedestrian flow from multiple views under complex scene of traffic junction |
CN102982598A (en) * | 2012-11-14 | 2013-03-20 | 三峡大学 | Video people counting method and system based on single camera scene configuration |
Non-Patent Citations (2)
Title |
---|
吴恂恂: "煤矿瓦斯监测联网***", 《中国优秀硕士论文全文数据库工程科技I辑》 * |
姜利 等: "公交化铁路客运站客流统计与分析***研究", 《中国铁路》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108924195A (en) * | 2018-06-20 | 2018-11-30 | 郑州云海信息技术有限公司 | A kind of unidirectional heartbeat mechanism implementation method, device, equipment and system |
CN112073485A (en) * | 2020-08-28 | 2020-12-11 | 上海杰轩智能科技有限公司 | Method for transmitting passenger flow counting data through HTTP message |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109815818B (en) | Target person tracking method, system and related device | |
Yoshida et al. | Estimating the number of people using existing WiFi access point in indoor environment | |
TWI729454B (en) | Open scene real-time crowd flow statistics method and device, computer equipment and computer readable storage medium | |
CN108337652B (en) | Method and device for detecting flow fraud | |
CN110300084B (en) | IP address-based portrait method and apparatus, electronic device, and readable medium | |
CN109978608A (en) | The marketing label analysis extracting method and system of target user's portrait | |
CN103595576B (en) | Interconnection port ICP flow statistical system and method based on content provider identifications | |
CN107194666A (en) | Report Server Management method and terminal device based on block chain technology | |
KR102461022B1 (en) | Method and Apparatus for Analysis of Log Data | |
CN107852620A (en) | Crowded state deduction system, crowded state presumption method and storage medium | |
CN112087744A (en) | Method, system, device and storage medium for identifying terminal model | |
CN109451486A (en) | WiFi acquisition system and WiFi terminal detection method based on probe request | |
CN110879986A (en) | Face recognition method, apparatus and computer-readable storage medium | |
CN106878102B (en) | People flow detection method and system based on network flow multi-field identification | |
CN106845619A (en) | A kind of method by TCP transmission passenger flow counting information | |
CN104598543B (en) | A kind of Social Match data digging system | |
US20130151526A1 (en) | Sns trap collection system and url collection method by the same | |
CN113487055A (en) | Intelligent ticket pre-selling method and device | |
CN110717941B (en) | Image object tracking system and method | |
CN111182465A (en) | Method and device for determining terminal affiliation | |
CN110782373A (en) | Scenic spot number determining method and device | |
CN106817710A (en) | The localization method and device of a kind of network problem | |
Sofwan et al. | Implementation of vehicle traffic analysis using background subtraction in the Internet of Things (IoT) architecture | |
CN115866582A (en) | Equipment identification method, device, equipment and storage medium | |
CN110198294A (en) | Security attack detection method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170613 |