A kind of method that image data is transmitted to server-side in parking lotTechnical field
The present invention relates to transmission image data technical field, image data is transmitted to server-side in specially a kind of parking lotMethod.
Background technique
Enter parking lot in automobile, the doorway in existing parking lot can be provided with camera, acquire automobile by cameraData photo is directly transported to server-side after acquiring photo, image credit not can determine that, when picture is conveyed,It will lead to picture transmission to lose, the vehicle condition of acquisition can be lost, it cannot be guaranteed that the integrality of picture transfer, stops in automobileAfter going wrong in, complete recording photograph cannot be extracted in time, is compared, it cannot be guaranteed that docking process automotive safety,Therefore, the method for designing a kind of parking lot to server-side transmission image data is necessary.
Summary of the invention
The purpose of the present invention is to provide a kind of parking lots to the method for server-side transmission image data, to solve above-mentioned backThe problem of being proposed in scape technology.
In order to solve the above technical problem, the present invention provides following technical solutions: a kind of parking lot is transmitted to server-side schemesThe step of method of sheet data, the method for image data is transmitted in the parking lot to server-side specifically: step 1, starting noteRecord;Step 2, starting video recording;Step 3, video recording and are taken pictures at screenshot;Step 4: photo is handled;Step 5, information output;StepSix, data upload;Step 7 receives picture;Step 8, cross-check information;Step 9, storage achieve;The parking field picture is adoptedCollection equipment includes infrared sensitive device, camera, power storage cell, memory card and first server composition, the first serverIt is described including network communication module A, data recordin module, video processing module, photo processing module and picture storage module ANetwork communication module is connected to the network for equipment and server-side by 4G, the data recordin module be used for the video of acquisition withPhoto is edited and is stored, and the video processing module is for editing video, screenshot, processing, the photo processingThe high definition that module is used to obtain camera dodges bat and the photo of screenshot carries out selection processing, and the picture storage module A is used forTo treated, picture is stored, and the server-side is provided with second server and display, and the second server includes networkCommunication module B, picture receiving module, picture integrate module, verification module and picture storage module B, the network communication module BFor the network connection of server-side and picture collection equipment, picture of the picture receiving module for server-side is received, describedPicture integrates module for carrying out integration editor to received picture, and the verification module checks the information of picture, institutePicture storage module B is stated for storing to the picture after verification.
Wherein in above-mentioned step one, at the entrance that automobile reaches parking lot, infrared sensitive device induction band vapourVehicle reaches the entrance in parking lot, then starts camera and takes pictures;
Wherein in above-mentioned step two, by camera to vehicle the case where is carried out in video recording 5s, while by videoReason module carries out solution new record to the license plate number in video recording;
Wherein in above-mentioned step three, by video processing module to the video in 5s, screenshot is carried out, once per second,Start high definition three times after actuation simultaneously and take pictures, when starting take pictures for the first time, and when 2.5s is taken pictures for the second time, in 5sWhen, carry out third film,fault;
Wherein in above-mentioned step four, the photo clapped is dodged to video interception and high definition and is screened, the time is then addedWatermark, position mark and sequence label;
Wherein in above-mentioned step five, by the network communication module A in first server by data memory modulePhoto is transmitted to server-side;
Wherein in above-mentioned step six, second server is connect by network communication module B with first server, is realizedNetwork is unimpeded, realizes the transmission of picture;
Wherein in above-mentioned step seven, after first server is connected with second server, pass through picture receiving moduleThe pictorial information that first server is sent receives, while determining the issuing side source of picture;
Wherein in above-mentioned step eight, after receiving to picture, module is integrated according to the volume of watermark by pictureNumber carry out arranging order, then by verification module photo opporunity and picture-taking position are checked;
Wherein in above-mentioned step nine, the photo after verification is stored in the picture storage module of second serverIn B.
According to the above technical scheme, in the step 4, in watermarked, sequentially in time, to the picture of interceptionIt is numbered with high definition photo, and is printed with number.
According to the above technical scheme, it in the step 3, when carrying out high definition sudden strain of a muscle bat, in each shooting, is continuously shotThree, and optimize.
According to the above technical scheme, in the step 5, after sending picture, second server can be sent out to first serverThe received receipt of confirmation is sent not pick receipt after sending 5min, first server sends same picture again.
According to the above technical scheme, in the step 5, after sending picture, the picture in picture storage module A can quiltIt marks, it is automatic to remove after the picture 72h after label.
According to the above technical scheme, it in the step 8, is checked according to picture label, every group of photo has 8 photographsPiece, and 1-8 serial number is set.
According to the above technical scheme, in the step 2, by the direction of camera alignment vehicle, vehicle is identified simultaneously when shootingBoard, same position, same time point do not do secondary photo acquisition.
Compared with prior art, the beneficial effects obtained by the present invention are as follows being: the invention is more by being provided in parking lotAutomobile can be carried out shooting record to vehicle condition since into parking lot by a picture collection equipment, after the picture is taken, willPicture transfer is to server-side, and by the verification module in server-side, the position for the picture that will acquire and time are checked, verificationIn the process, while the omission of picture is avoided, situation of the automobile in parking lot can be recorded, guarantee automobile in parking lotInterior completion can transfer vehicle condition photo in time and compare, can guarantee docking process automotive safety in damage.
Detailed description of the invention
Attached drawing is used to provide further understanding of the present invention, and constitutes part of specification, with reality of the inventionIt applies example to be used to explain the present invention together, not be construed as limiting the invention.In the accompanying drawings:
Fig. 1 is operational flowchart of the invention;
Fig. 2 is Transmission system flow chart of the invention;
Fig. 3 is first server structure chart of the invention;
Fig. 4 is second server structure chart of the invention;
Fig. 5 is picture conveying flow chart of the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, completeSite preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based onEmbodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every otherEmbodiment shall fall within the protection scope of the present invention.
Fig. 1-5 is please referred to, the present invention provides a kind of technical solution: transmitting the side of image data to server-side in a kind of parking lotThe step of method, the method for image data is transmitted in parking lot to server-side specifically: step 1, starting record;Step 2, starting recordPicture;Step 3, video recording and are taken pictures at screenshot;Step 4: photo is handled;Step 5, information output;Step 6, data upload;StepSeven, receive picture;Step 8, cross-check information;Step 9, storage achieve;Parking lot picture collection equipment includes infrared sensitiveDevice, camera, power storage cell, memory card and first server composition, first server include network communication module A, data noteModule, video processing module, photo processing module and picture storage module A are recorded, network communication module is used for equipment and server-sideIt is connected to the network by 4G, data recordin module is for being edited and being stored to the video and photo of acquisition, video processing moduleFor editing to video, screenshot, processing, the high definition sudden strain of a muscle that photo processing module is used to obtain camera is clapped and the photograph of screenshotPiece carries out selection processing, and picture storage module A is used for that picture to store to treated, and server-side is provided with second server and aobviousShow device, second server includes that network communication module B, picture receiving module, picture integrate module, verification module and picture storageModule B, network communication module B are used for the network connection of server-side and picture collection equipment, and picture receiving module is used for server-sidePicture receive, picture integrates module for carrying out integration editor to received picture, and verification module carries out the information of pictureVerification, picture storage module B is for storing the picture after verification.
Wherein in above-mentioned step one, at the entrance that automobile reaches parking lot, infrared sensitive device induction band vapourVehicle reaches the entrance in parking lot, then starts camera and takes pictures;
Wherein in above-mentioned step two, by camera to vehicle the case where is carried out in video recording 5s, while by videoReason module carries out solution new record to the license plate number in video recording;
Wherein in above-mentioned step three, by video processing module to the video in 5s, screenshot is carried out, once per second,Start high definition three times after actuation simultaneously and take pictures, when starting take pictures for the first time, and when 2.5s is taken pictures for the second time, in 5sWhen, carry out third film,fault;
Wherein in above-mentioned step four, the photo clapped is dodged to video interception and high definition and is screened, the time is then addedWatermark, position mark and sequence label;
Wherein in above-mentioned step five, by the network communication module A in first server by data memory modulePhoto is transmitted to server-side;
Wherein in above-mentioned step six, second server is connect by network communication module B with first server, is realizedNetwork is unimpeded, realizes the transmission of picture;
Wherein in above-mentioned step seven, after first server is connected with second server, pass through picture receiving moduleThe pictorial information that first server is sent receives, while determining the issuing side source of picture;
Wherein in above-mentioned step eight, after receiving to picture, module is integrated according to the volume of watermark by pictureNumber carry out arranging order, then by verification module photo opporunity and picture-taking position are checked;
Wherein in above-mentioned step nine, the photo after verification is stored in the picture storage module of second serverIn B.
According to the above technical scheme, in step 4, in watermarked, sequentially in time, to the picture and height of interceptionClear photo is numbered, and is printed with number.
According to the above technical scheme, in step 3, when carrying out high definition sudden strain of a muscle bat, in each shooting, three are continuously shot,And it optimizes.
According to the above technical scheme, in step 5, after sending picture, second server can send true to first serverRecognize received receipt, after sending 5min, does not pick receipt, first server sends same picture again.
According to the above technical scheme, in step 5, after sending picture, the picture in picture storage module A can be labeled,It is automatic to remove after picture 72h after label.
According to the above technical scheme, it in step 8, is checked according to picture label, every group of photo has 8 photos, and1-8 serial number is set.
According to the above technical scheme, in step 2, by the direction of camera alignment vehicle, license plate is identified simultaneously when shooting,Same position, same time point do not do secondary photo acquisition.
Based on above-mentioned, it is an advantage of the current invention that taken pictures when carrying out parking lot photograph by video camera video recording,Recorded by data recordin module, then handled by video processing module, obtain by video interception generate 5 screenshots andHigh definition claps the 3 high definition pictures obtained, adds watermark to picture by photo processing module, consults, will add the photograph of watermarkPiece is connected by the network communication module A of first server with the network communication module B of second server, after communication connection,First server sends photo to second server, is received by the picture receiving module inside second server, after receptionPicture integrates module by picture, and every group of picture is summarized, carries out arrangement arrangement according to order, after arrangement, by checking mouldBlock checking apparatus shooting location, the quantity of photo acquisition guarantee the completion of information of vehicles, facilitate the management in parking lot.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a realityBody or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operationIn any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended toNon-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including thoseElement, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipmentIntrinsic element.
Finally, it should be noted that the foregoing is only a preferred embodiment of the present invention, it is not intended to restrict the invention,Although the present invention is described in detail referring to the foregoing embodiments, for those skilled in the art, still may be usedTo modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features.All within the spirits and principles of the present invention, any modification, equivalent replacement, improvement and so on should be included in of the inventionWithin protection scope.