WO2017031886A1 - Method for obtaining picture by means of remote control, and server - Google Patents
Method for obtaining picture by means of remote control, and server Download PDFInfo
- Publication number
- WO2017031886A1 WO2017031886A1 PCT/CN2015/098793 CN2015098793W WO2017031886A1 WO 2017031886 A1 WO2017031886 A1 WO 2017031886A1 CN 2015098793 W CN2015098793 W CN 2015098793W WO 2017031886 A1 WO2017031886 A1 WO 2017031886A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- mobile terminal
- picture
- communication interface
- instruction
- server
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/66—Remote control of cameras or camera parts, e.g. by remote control devices
- H04N23/661—Transmitting camera control signals through networks, e.g. control via the Internet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Definitions
- the present invention relates to the field of security technologies, and in particular, to a method for acquiring a picture by remote control and a server applying the method.
- Electronic monitoring systems are used in the prior art to achieve monitoring of traffic and security conditions.
- the electronic monitoring system is fixedly installed at the intersection of the city, taking pictures of illegal activities 24 hours a day, providing an objective and accurate basis for the public security department to deal with illegal activities, saving police power.
- the existing monitoring mode can only take pictures of a fixed position, and a limited number of electronic monitoring systems cannot perform global all-round monitoring, and the monitoring camera cannot be based on actual conditions. The situation is selective, high-speed photo shooting, which is easy to cause the most effective evidence of missing shots; 2.
- the electronic monitoring system fixed on the roadside is easily deliberately destroyed by no molecules, making the monitoring system costly to construct, difficult to install and debug, and reliable.
- the object of the present invention is to solve at least one of the above problems, and to provide a picture by remote control A method for obtaining a picture and a server to which the method is applied.
- the present invention provides a method for acquiring a picture by remote control, comprising the following steps:
- a picture captured in response to the snap instruction is received.
- Also disclosed is a computer program comprising computer readable code that causes the method to be executed when the intelligent electronic device runs the computer readable code.
- the present invention has the following advantages:
- the mobile terminal itself or the camera device controlled by the mobile terminal is used as a movable monitoring camera device, when the server wants to monitor the security situation of a specific geographical area where an illegal act has occurred or may occur. And acquiring, according to the current geographic location uploaded by the mobile terminal, a snapshot instruction to the communication interface of the plurality of mobile terminals located in the specific area, and the server receiving the picture obtained by the mobile terminal in response to the capture instruction.
- the mobile terminal is used as the camera device to remotely control the mobile terminal to obtain the target picture, which is convenient for comprehensive monitoring of illegal behaviors, and is not easy to be illegally destroyed, thereby reducing the construction cost, high reliability and easy maintenance of the monitoring system.
- the server of the present invention divides the picture into different levels according to a preset grading rule; and provides a picture for a picture with a good picture capturing angle or high definition.
- the mobile terminal of the picture of a certain level transmits a snap instruction that increases the capture frequency, and sends a request to the network provider to increase the transmission bandwidth of the mobile terminal. That is to say, the mobile terminal is selectively controlled to obtain more high-quality pictures in accordance with the target scene, and the bandwidth is increased to facilitate the server to receive more effective pictures in time. Improve the proportion of valid data in the pictures captured by the mobile terminal, reduce the missed rate of valid evidence, and facilitate illegal evidence collection afterwards.
- the server when the server receives the picture acquisition instruction including a specific location, the location information is expanded to include the geographical area information of the location information; and then the geographical area specified by the geographic area information is controlled.
- the mobile terminal executes the capture instruction, expands the range of picture capture, facilitates all-round capture detection, and reduces the missed rate of the effective picture.
- FIG. 1 is a flow chart of a program of an embodiment of a method for acquiring a picture by remote control in the present invention
- FIG. 2 is a flow chart of another embodiment of a method for acquiring a picture by remote control in the present invention
- FIG. 3 is a block diagram showing the structure of an embodiment of the server in the present invention.
- FIG. 4 is a block diagram showing the structure of another embodiment of the server in the present invention.
- Figure 5 shows a block diagram of an intelligent electronic device for performing the method according to the invention
- Figure 6 shows a schematic diagram of a memory unit for holding or carrying program code implementing the method according to the invention.
- terminal and terminal device used herein include both a wireless signal receiver device, a device having only a wireless signal receiver without a transmitting capability, and a receiving and transmitting hardware.
- Such devices may include cellular or other communication devices having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data Processing, fax, and/or data communication capabilities; PDA (Personal Digital Assistant), which can include radio frequency receivers, pagers, Internet/Intranet access, web browsers, notepads, calendars, and/or GPS (Global Positioning System (Global Positioning System) receiver; conventional laptop and/or palmtop computer or other device having a conventional laptop and/or palmtop computer or other device that includes and/or includes a radio frequency receiver.
- PCS Personal Communications Service
- PDA Personal Digital Assistant
- terminal may be portable, transportable, installed in a vehicle (aviation, sea and/or land), or adapted and/or configured to operate locally, and/or Run in any other location on the Earth and/or space in a distributed form.
- the "terminal” and “terminal device” used herein may also be a communication terminal, an internet terminal, a music/video playing terminal, and may be, for example, a PDA, a MID (Mobile Internet Device), and/or have a music/video playback.
- Functional mobile phones can also be smart TVs, set-top boxes and other devices.
- the concepts of servers, clouds, remote network devices, and the like used herein have equivalent effects, including but not limited to computers, network hosts, single network servers, multiple network server sets, or multiple servers.
- the cloud is composed of a large number of computers or network servers based on Cloud Computing, which is a kind of distributed computing, a super virtual computer composed of a group of loosely coupled computers.
- communication between the remote network device, the terminal device, and the WNS server may be implemented by any communication method, including but not limited to, mobile communication based on 3GPP, LTE, WIMAX, based on TCP/IP, UDP protocol computer network communication and short-range wireless transmission based on Bluetooth and infrared transmission standards.
- the Internet it generally includes a client (user mobile terminal), a network, and a server (such as a web server of a website).
- the client can be a user's Internet mobile terminal, such as a desktop computer (PC), a laptop (Laptop), a smart device with web browsing capabilities, such as a personal digital assistant (PDA), and mobile Internet devices (MID) and smartphones (Phone).
- These mobile terminals can all request a service by another process (such as a server-provided process) in an Internet environment, typically in an Internet environment.
- a picture capture instruction is sent by a server to a mobile terminal located in a specific geographical area, and a picture obtained by the mobile terminal in response to the capture instruction is received.
- the server is typically a remote computer system that can be accessed via a communication medium such as the Internet, typically such as the Internet. Moreover, servers can often serve multiple clients from the Internet.
- the service process includes receiving requests from the client, collecting user information and feedback information, and the like.
- the server acts as an information provider for the computer network.
- the server is usually located on the party providing the service, or configured by the service provider to serve the content, such a service provider may be, for example, an Internet service company's website.
- the related method and terminal application scenario of the present invention uses an Android mobile terminal as a client, a driving recorder with a camera, a processor, and a communication module as a shooting device controlled by a mobile terminal, and takes a cloud server as a server as an example.
- An exemplary illustration is made.
- the mobile terminal is preloaded with an application capable of communicating with the server and the driving recorder.
- the method and terminal of the embodiments of the present invention are also applicable to mobile terminals of other operating systems, or between other mobile terminals.
- the communication equipment of the communication is essentially independent of the specific type of operating system and shooting equipment.
- an exemplary embodiment of a method for acquiring a picture by remote control specifically includes the following steps:
- the mobile terminal of the present invention is installed with an application program capable of communicating with the photographing device and the server, and the mobile terminal loading the application program uploads the current geographical location information of the mobile terminal to the server through the network at any time; and loading the application on the mobile terminal
- the server sends a verification request with the verification information, and the server verifies the mobile terminal.
- the server end saves the communication interface of the mobile terminal, and the communication interface may be a phone number or Unique feature information such as IP address.
- the driving recorder is used as a photographing device controlled by the mobile terminal. In order to facilitate real-time data transmission, the driving recorder and the mobile terminal establish communication in advance based on the local area network to realize mutual communication.
- the image acquisition instruction received by the server includes a specific location information instead of geographic area information, in order to expand the range of image capture, it is convenient for all-round capture detection to reduce the missed rate of effective pictures, and also needs
- the received location information is expanded to include geographic area information of the location information.
- the server after parsing the location information from the received image acquisition instruction, invokes an electronic map of the server, converts the location information into latitude and longitude coordinates, and specifies the location information.
- the coordinates corresponding to the geographical location are centered, and the surrounding geographical area included in a certain radius is used as the geographic information to be searched.
- the method further includes the steps of:
- the server receives the current geographic location information of each terminal sent by the mobile terminal loaded with the application, and parses the geographic information that needs to be detected according to the received image acquisition instruction, and finds which mobile terminal's current location is exactly located in the geographic information.
- a communication interface determining the plurality of mobile terminals is determined to broadcast a capture instruction to a mobile terminal communication interface belonging to the geographic area.
- the step of the server broadcasting a snap instruction to the mobile terminal belonging to a specific area may be implemented by the following two embodiments.
- the server looks up to determine that the geographic area belongs to the upload The IP address of the plurality of mobile terminals of the geographical location information covered by the information; the capture instruction is sent to the IP address.
- the communication interface such as an IP address, of the mobile terminal is obtained from the current geographical location information uploaded by the mobile terminal, and the capture instruction is sent to the mobile terminal through the IP address.
- the IP address of the mobile terminal is optionally sent to the server at the same time; or, when the mobile terminal sends the current geographical location information to the server, The IP address of the mobile terminal is not sent to the server, and the server can obtain the communication interface of the terminal by analyzing the transit information of the received data packet.
- the server encapsulates the data with the capture command with json or xml and sends it to the IP address of the mobile terminal in the specific area.
- the sending manner of the capture instruction in this embodiment is effective only when the application for controlling the capture in the mobile terminal is turned on. Only when the mobile terminal application is turned on can the shooting device be controlled to perform the capture in response to the capture instruction received from the server. Suitable for general scenes.
- the manner in which the mobile terminal obtains the current geographic location of the local device may be the GPS acquisition of the local device, or the location of the base station based on the network operator, which is not limited in this embodiment.
- the server looks up a mobile number identifying a plurality of mobile terminals that have uploaded geographic location information pertaining to the range covered by the geographic area information; and sends a snap instruction to the mobile number.
- the manner in which the snapshot instruction is sent in this embodiment is suitable for a relatively urgent situation, and is also effective for a mobile terminal that does not open the corresponding application, that is, the method can call more mobile terminals to perform a snapshot operation in response to the capture instruction.
- the server finds the mobile terminal located in a specific geographical area, the mobile terminal number of the mobile terminal is obtained from the current geographical location information uploaded by the mobile terminal, and the mobile terminal number is sent to the mobile terminal by using the mobile phone number. Capture instructions. It should be noted that the server stores a correspondence table between the mobile phone number input by the mobile terminal during registration or verification and the IP address of the mobile terminal, and the server analyzes the transit information of the data packet of the current geographic location information sent by the received mobile terminal. Obtain the IP address of the terminal and find the mobile phone number corresponding to the IP address.
- the SMS platform is invoked, and the server may send the snapshot instruction to the corresponding mobile phone number in the form of short message, so that the mobile terminal carrying the mobile phone number SIM card executes the capture instruction.
- the mobile terminal background service program monitors the capture instruction in the form of the short message, and the application that can control the shooting device to perform the capture is controlled from the startup, and the shooting device is controlled to perform the capture.
- the server after receiving the picture acquisition instruction with the target geographic information, broadcasts a capture instruction to the communication interface of the mobile terminal that uploaded the current geographical location information of the specific geographic area, so that the mobile terminal performs the snapshot.
- Command control the shooting device to capture the picture.
- the method of the present invention further includes a step S14 of receiving a picture captured in response to the snap instruction.
- the server receives the picture fed back by the mobile terminal through the network.
- the picture transmitted from the mobile terminal is compressed into a data packet of a certain format, and after receiving the compressed picture data packet, the server end parses the data packet. Get the picture.
- the server and the mobile terminal communicate via a 3G or 4G network.
- the bandwidth is increased to facilitate the server to receive more valid pictures in time. Improve the proportion of valid data in the pictures captured by the mobile terminal, reduce the missed rate of valid evidence, and facilitate illegal evidence collection afterwards.
- the method of the present invention further includes the following steps:
- the received pictures are hierarchically processed according to the definition or/and the capture angle in real time, and the pictures are classified into different levels;
- the server receives the image
- the image is classified in real time based on a preset hierarchical rule to obtain a high quality picture that is closest to the target scene.
- the following embodiments briefly analyze the preset grading rules.
- the preset grading rule refers to identifying the number of faces in the picture, and grading the corresponding picture according to the numerical value of the number of faces; wherein the number of faces is greater than one
- the corresponding picture of the preset threshold is classified as the specific level. Specifically, a certain face tracking algorithm is used to identify the number of faces appearing in the picture, and the picture with the largest number of faces is classified as the highest level, and the picture with the number of faces is classified as the next highest level... ...,And so on.
- the preset threshold is 40, that is, when the number of faces is greater than 40, an illegal event such as illegal aggregation may occur in the target scene marked by the picture.
- the face tracking algorithm used by the server is an algorithm commonly used in the prior art or an improved algorithm based on the existing face tracking algorithm, or a face recognition algorithm suitable for the embodiment in the future.
- the Adaboost algorithm, the Camshift algorithm, and the like which are commonly used in the prior art, the specific face tracking algorithm is not limited in this embodiment.
- the preset grading rule refers to identifying the sharpness of the picture, and grading the corresponding picture according to the numerical range of the sharpness; wherein the sharpness is greater than a preset threshold
- the corresponding picture is categorized as the specific level.
- the clarity of the picture is judged by a certain picture sharpness evaluation method.
- the grayscale change function can be used to calculate the change of the gray value of the image, and the focused image contains more grayscale changes than the out-of-focus image; or, the gradient function is used to evaluate the grayscale of the image, generally the better the focus, The sharper the edges of the picture, the larger the image gradient value.
- the picture with the best picture clarity is classified as the highest level, and the picture with better definition is classified as the next highest level, and so on.
- the sharpness of the picture is greater than a predetermined threshold, the picture is classified as the specific level.
- the preset grading rule refers to identifying an offset angle of a picture shooting angle with respect to a central axis of the target scene, and grading the corresponding picture according to the magnitude of the offset angle.
- the target scene is a picture area whose number of faces identified in the picture is greater than a preset threshold; wherein the corresponding picture whose offset angle is less than a preset threshold is classified as the specific level.
- the server side identifies, according to a certain face tracking algorithm, an area in which the number of faces in the picture is greater than a preset threshold.
- the threshold is 25, and the area where the number of faces is gathered is set as the target area, and the area that is characterized may be the target scene that needs to be captured, with the central axis of the area
- the offset angle of the shooting angle of the picture relative to the reference line is determined based on a certain algorithm.
- the image with the smallest offset angle is classified as the highest level, and the image with the smaller offset angle is classified as the next highest..., and so on.
- the corresponding picture whose offset angle is less than a preset threshold is classified into the specific level, for example, the offset angle is set to 15 degrees, and when the offset angle of the picture is less than 15 degrees, the mobile terminal that provides the picture is characterized.
- the offset of the shooting position of the controlled photographing device is relatively small.
- the grading rules in the foregoing embodiments are not separate grading rules, and each grading rule can be combined to judge the shooting quality of the picture and the matching degree with the target scene, and is integrated based on the weight values of each grading rule.
- the above grading rules are pre-set on the server The algorithm of the end is automatically analyzed and implemented.
- the grading rules may also be implemented based on the subjective evaluation of the user, and the user sends a hierarchical instruction to the server.
- the server After obtaining a picture of a specific level, obtaining a communication interface of the mobile terminal that provides a picture of a specific level, and transmitting a snapshot instruction indicating that the capture frequency is increased to the communication interface, that is, sending the increased capture frequency to the mobile terminal capable of providing a high-quality picture. Capture instructions.
- the server obtains the communication interface of the mobile terminal that provides the picture from the picture.
- the communication interface is an IP address, which can be implemented by the following three embodiments.
- the mobile terminal when uploading the picture, adds the communication interface of the terminal to the accompanying picture in the attribute information of the picture.
- the file Exif attribute includes a tag User Comments, which can be customized by the user, and the tag can be used to provide communication interface information of the mobile terminal providing the picture.
- the communication interface information of the mobile terminal that can provide the picture is stored in the attached information of the picture, such as a picture in the format of bmp, png, etc., and is not illustrated here.
- the server can obtain the communication interface that provides the picture by parsing the attribute information of the obtained picture, and send a capture instruction for increasing the capture frequency to the communication interface.
- the server encapsulates the snapshot instruction with json or xml, and then sends the snapshot instruction to the The communication interface of the mobile terminal.
- the mobile terminal when uploading the picture to a server, attaches a data table that is associated with the picture, wherein the data table stores communication of the mobile terminal that provides the picture. Unique feature information such as interface.
- the server can obtain a communication interface of the mobile terminal that provides the picture by searching a data table corresponding to the picture, and send a capture instruction that increases the capture frequency to the communication interface.
- the server encapsulates the snapshot instruction with json or xml and sends it to the mobile terminal communication interface.
- the server may obtain the communication interface of the terminal by analyzing the relay information of the received picture data packet.
- the server can then send a capture instruction to increase the capture frequency to the communication interface through the analyzed communication interface.
- the server encapsulates the snapshot instruction with json or xml and sends it to the mobile terminal communication interface.
- the server sends a request for increasing the transmission bandwidth of the mobile terminal corresponding to the communication interface to the remote service address, to The transmission bandwidth of the mobile terminal is high.
- the remote service address is an effective address of the communication server with the bandwidth improvement function provided by the network operator.
- the network operator provides the server with a specific number, and the server sends a request for increasing the transmission bandwidth of the mobile terminal corresponding to the communication interface to the specific number in the form of a short message, where the request includes There is a target IP address, a target bandwidth, and the like of the mobile terminal that needs to increase the bandwidth, so that the network operator increases the transmission bandwidth of the mobile terminal corresponding to the target IP address to the target bandwidth value; or, in another embodiment of the present invention
- the network operator provides the server with a remote server address, and the server sends, in the form of an instruction, the request for increasing the transmission bandwidth of the mobile terminal corresponding to the communication interface to the remote server address, where the request includes the bandwidth to be increased.
- the target IP address, the target bandwidth, and the like of the mobile terminal so that the network operator increases the transmission bandwidth of the mobile terminal corresponding to the target IP address to the target bandwidth value.
- the invention uses an Android mobile phone as a mobile terminal, and takes a driving recorder with a camera, a processor and a communication module as a shooting device controlled by the mobile terminal as an example to illustrate the specific implementation of the method.
- the mobile terminal is provided with an application capable of communicating with the server and the photographing device.
- the present invention does not limit the specific type of the mobile terminal or the photographing apparatus, and the present embodiment cannot constitute a limitation of the present invention.
- the camera In the driving process of the vehicle in the invention, the camera always captures the scenery and road condition information along the road, and in order to facilitate the real-time transmission of the captured picture, the driving recorder and the mobile terminal establish a point-to-point connection based on the local area network to realize mutual communication.
- the local area network may be a local area network such as Bluetooth or WIFI that supports peer-to-peer (such as AD-Hoc, WiFi Direct, or SmartLink) connection technologies, and the use of the above-mentioned local area network to transmit pictures to the mobile terminal does not consume traffic charges, and Suitable for in-car environments without Wifi coverage.
- the mobile terminal accesses the server to download and install the server-side application, and sends the verification information to register with the server, and can register to the server by inputting the mobile terminal's mobile phone number.
- a mobile terminal capable of communicating with the server is loaded, and the current geographical location information is periodically sent to the server, and the server sends a capture instruction to the mobile terminal in the specific area.
- the manner in which the mobile terminal acquires the current geographic location may be a call.
- the GPS acquisition of the local device may also be based on the location of the base station of the network operator. This embodiment does not limit this.
- the mobile terminal receives the capture instruction sent by the server through the remote interface, and presets the point-to-point
- the transmission channel automatically sends the capture command to the driving recorder.
- the background recorder controls the current frame picture in the captured video data as the captured picture and automatically transmits it to the mobile terminal through the point-to-point transmission channel.
- the mobile terminal automatically uploads the picture fed back by the driving recorder to the server through the 3G or 4G network, and in order to ensure the real-time performance of the picture transmission, the mobile terminal uploads the picture through the remote interface based on the real-time transmission protocol RTP.
- the communication interface information of the mobile terminal may be uploaded, so that the server returns a snapshot instruction that improves the capture frequency based on the communication interface specified in the communication interface information.
- the capture instruction for improving the capture frequency includes a target number of captures per second, and when the image is captured from the video data, the target number is mathematically related to the number of frames played per second in the video data, and may be related to the number of frames. The same or a half or a third of the number of frames, etc., the mathematical correlation is determined according to the actual situation, which is not limited by the present invention.
- the driving recorder video frame as the photographing device is 25 frames/s
- the target number of captures per second received from the mobile terminal is 25, to obtain all static pictures played every second in the video. , reduce the missed rate of effective pictures.
- the server receives the picture fed back by the mobile terminal, the picture is divided into different levels according to a preset grading rule in real time; and the picture with a good picture capturing angle or high definition is classified into a specific level, and the specific level is provided.
- the picture of the mobile terminal sends a snap command that increases the snap frequency.
- the mobile terminal receives the snapshot instruction of the server-side feedback to improve the capture frequency, and controls the driving recorder to increase the capture frequency to obtain more pictures with good shooting angle or high definition.
- the mobile terminal itself or the camera device controlled by the mobile terminal is used as a movable imaging device for monitoring, when the server wants to monitor a certain geographical area where an illegal behavior has occurred or may occur.
- the capture instruction is broadcast to the communication interface of the plurality of mobile terminals located in the specific area, and the server receives the picture obtained by the mobile terminal in response to the capture instruction.
- the mobile terminal is used as the camera device to remotely control the mobile terminal to obtain the target picture, which is convenient for comprehensive monitoring of illegal behaviors, and is not easy to be illegally destroyed, thereby reducing the construction cost, high reliability and easy maintenance of the monitoring system.
- the present invention also provides a server adopting a method of acquiring a picture by remote control, please refer to FIG. 3.
- the server includes an instruction receiving module 11, a searching module 12, a sending module 13, and a picture receiving module 14, and constructs a principle framework of the server by using the above modules to implement a modular implementation.
- the following specifically reveals each model The specific function of the block implementation.
- the instruction receiving module 11 is configured to receive a picture acquisition instruction that includes geographic information.
- the mobile terminal of the present invention is installed with an application program capable of communicating with the photographing device and the server, and the mobile terminal loading the application program uploads the current geographical location information of the mobile terminal to the server through the network at any time; and loading the application on the mobile terminal
- the server sends a verification request with the verification information, and the server verifies the mobile terminal.
- the server end saves the communication interface of the mobile terminal, and the communication interface may be a phone number or Unique feature information such as IP address.
- the driving recorder is used as a photographing device controlled by the mobile terminal. In order to facilitate real-time data transmission, the driving recorder and the mobile terminal establish communication in advance based on the local area network to realize mutual communication.
- the image acquisition instruction received by the instruction receiving module 11 includes a certain location information instead of the geographical area information, in order to expand the range of the image capture, it is convenient for all-round capture detection to reduce the missed shot of the effective picture.
- the rate also needs to expand the received location information to include geographic area information of the location information.
- the instruction receiving module 11 parses the specific location information from the received image acquisition instruction, invokes an electronic map of the server, converts the location information into latitude and longitude coordinates, and The coordinates corresponding to the geographical location specified by the location information are centered, and the surrounding geographical area included in a certain radius is used as the geographic information.
- the searching module 12 is configured to search for multiple mobile terminal communication interfaces that match the geographic information
- the sending module 13 is configured to broadcast a snap instruction to the mobile terminal communication interface.
- the command receiving module 11 on the server side receives the current geographical location information of each terminal sent by the mobile terminal loaded with the application, analyzes the geographical information that needs to be detected according to the received image acquisition instruction, and searches for which mobiles are searched by the searching module 12.
- the current location of the terminal is located in the geographical area specified by the geographic information, and the communication interface for determining the plurality of mobile terminals is searched, and the capture instruction is broadcast by the sending module 13 to the mobile terminal communication interface belonging to the geographic area.
- the functions of the searching module 12 and the sending module 13 can be implemented by the following two embodiments.
- the searching module 12 searches for an IP address of a plurality of mobile terminals that determine the geographic location information that belongs to the range covered by the geographic information; the sending module 13 sends the IP address to the IP address. Capture instructions.
- the server-side lookup module 12 finds that it is located at a specific place. After the mobile terminal in the area is located, the communication interface of the mobile terminal, for example, an IP address, is obtained from the current geographic location information uploaded by the mobile terminal, and the sending module 13 sends a snapshot instruction to the mobile terminal through the IP address.
- the IP address of the mobile terminal is optionally sent to the server at the same time; or, when the mobile terminal sends the current geographical location information to the server, The IP address of the mobile terminal is not sent to the server, and the server can obtain the IP address of the terminal by analyzing the transit information of the received data packet.
- the transmitting module 13 encapsulates the data with the capture command with json or xml and sends it to the IP address of the mobile terminal in the specific area.
- the sending manner of the capture instruction in this embodiment is effective only when the application for controlling the capture in the mobile terminal is turned on. Only when the mobile terminal application is turned on can the shooting device be controlled to perform the capture in response to the capture instruction received from the server. Suitable for general scenes.
- the manner in which the mobile terminal obtains the current geographic location of the local device may be the GPS acquisition of the local device, or the location of the base station based on the network operator, which is not limited in this embodiment.
- the server lookup module 12 searches for a mobile phone number of a plurality of mobile terminals that determine the geographic location information that belongs to the range covered by the geographic area information; the sending module 13 addresses the mobile phone number Send a snap command.
- the manner in which the sending module 13 sends the snapping instruction in this embodiment is suitable for comparing the emergency situation, and is also effective for the mobile terminal that does not open the corresponding application program, that is, the method can call more mobile terminals to perform the snapping operation in response to the snapping instruction.
- the server-side search module 12 finds the mobile terminal located in a specific geographic area
- the mobile terminal number of the mobile terminal is obtained from the current geographic location information uploaded by the mobile terminal
- the sending module 13 passes the The mobile phone number sends a snap command to the mobile terminal.
- the server stores a correspondence table between the mobile phone number input by the mobile terminal during registration or verification and the IP address of the mobile terminal
- the searching module 12 analyzes the data packet of the current geographic location information sent by the received mobile terminal.
- the transit information obtains the IP address of the terminal, and finds the mobile phone number corresponding to the IP address.
- the calling module 13 can send the snapshot instruction to the corresponding mobile phone number in the form of short message, so that the mobile terminal carrying the mobile phone number SIM card executes the capture instruction.
- the mobile terminal background service program monitors the capture instruction in the form of the short message, and the application that can control the shooting device to perform the capture is controlled from the startup, and the shooting device is controlled to perform the capture.
- the sending module 13 sends the communication interface of the mobile terminal located in the specific geographic area.
- the capture instruction is executed to enable the mobile terminal to execute the capture instruction, and the shooting device is controlled to capture the picture.
- the picture receiving module 14 is configured to receive a picture captured in response to the snapshot instruction.
- the picture receiving module 14 receives the picture fed back by the mobile terminal through the network.
- the picture transmitted from the mobile terminal is compressed into a data packet of a certain format, and the picture receiving module 14 receives the compressed image. After the picture packet, parse the packet to get the picture.
- the picture receiving module 14 and the mobile terminal communicate via a 3G or 4G network.
- the bandwidth is increased to facilitate the server to receive more valid pictures in time. Improve the proportion of valid data in the pictures captured by the mobile terminal, reduce the missed rate of valid evidence, and facilitate illegal evidence collection afterwards.
- the server further includes a grading module 15.
- the grading module 15 is configured to perform grading processing on the received image according to a definition or a grading angle according to a preset grading rule, classify the image into different levels, and obtain an upload according to a specific level of the image.
- a mobile terminal communication interface of the picture and transmitting a snapshot instruction indicating that the capture frequency is increased to the communication interface; and transmitting a request for increasing a transmission bandwidth of the mobile terminal corresponding to the communication interface to the remote service address.
- the grading module 15 classifies the picture based on the preset grading rule to obtain a high quality picture that is closest to the target scene.
- the following embodiments briefly analyze the grading rules adopted by the grading module 15.
- the preset grading rule refers to identifying the number of faces in the picture, and grading the corresponding picture according to the numerical value of the number of faces; wherein the number of faces is greater than one
- the corresponding picture of the preset threshold is classified as the specific level.
- the grading module 15 identifies a number of faces appearing in the picture by using a certain face tracking algorithm, and categorizes the picture with the largest number of face numbers as the highest level, and the picture with the second largest number of faces. Be classified as sub-advanced..., and so on.
- the preset threshold is 40, that is, when the number of faces is greater than 40, an illegal event such as illegal aggregation may occur in the target scene marked by the picture.
- the grading module 15 classifies the picture whose face number is greater than a preset threshold as a specific level.
- the face tracking algorithm used by the grading module 15 is commonly used in the prior art.
- the specific face tracking algorithm is not limited.
- the preset grading rule refers to identifying the sharpness of the picture, and grading the corresponding picture according to the numerical range of the sharpness; wherein the sharpness is greater than a preset threshold
- the corresponding picture is categorized as the specific level.
- the grading module 15 judges the sharpness of the picture by a certain picture sharpness evaluation method.
- the change of the gray value of the picture may be calculated by the gray level variation function, and the focused picture contains more gray level changes than the out-of-focus picture; or, the classification module 15 evaluates the gray level of the picture by the gradient function.
- the grading module 15 classifies the picture with the best picture resolution as the highest level, and the picture with better definition is classified as the next highest level, and so on.
- the ranking module 15 classifies the picture as the particular level.
- the preset grading rule refers to identifying an offset angle of a picture shooting angle with respect to a central axis of the target scene, and grading the corresponding picture according to the magnitude of the offset angle.
- the target scene is a picture area whose number of faces identified in the picture is greater than a preset threshold; wherein the corresponding picture whose offset angle is less than a preset threshold is classified as the specific level.
- the grading module 15 identifies an area in the picture whose number of faces is greater than a predetermined threshold based on a certain face tracking algorithm.
- the threshold is 25, and the grading module 15 sets an area where the number of faces is gathered as a target area, and the characterization of the area may be a target scene that needs to be captured,
- the central axis of the region is a reference line, and the offset angle of the photographing angle of the image with respect to the reference line is determined based on a certain algorithm.
- the grading module 15 classifies the picture with the smallest offset angle as the highest level, the picture with the smaller offset angle as the next highest level, and so on.
- the grading module 15 classifies the corresponding picture whose offset angle is less than a preset threshold as the specific level, for example, setting the offset angle to 15 degrees, and providing characterization when the offset angle of the picture is less than 15 degrees.
- the offset of the shooting position of the photographing device controlled by the mobile terminal of the picture is relatively small.
- the grading rules in the foregoing embodiments are not separate grading rules, and the grading module 15 may combine the grading rules to judge the shooting quality of the picture and the matching degree with the target scene, based on each grading.
- the weight value of the rule is comprehensively analyzed, and the above classification rule is Pre-set on the server side of the algorithm automatically analyzes the implementation.
- the grading rules may also be implemented based on the subjective evaluation of the user, and the user sends a hierarchical instruction to the server.
- the classification module 15 classifies the picture of the specific level
- the communication interface of the mobile terminal that provides the picture of the specific level is obtained, and the capture instruction that is used to improve the capture frequency is sent to the communication interface, that is, to the mobile terminal capable of providing high quality pictures. Send a capture command that increases the capture frequency.
- the grading module 15 on the server side obtains the communication interface for uploading the picture from the picture, which can be implemented by the following three embodiments.
- the mobile terminal when uploading the picture, adds the communication interface of the terminal to the accompanying picture in the attribute information of the picture.
- the file Exif attribute includes a tag User Comments, which can be customized by the user, and the tag can be used to provide communication interface information of the mobile terminal providing the picture.
- the communication interface information of the mobile terminal may also be stored in the attached information of the picture, such as a picture in the format of bmp, png, etc., and is not exemplified herein.
- the grading module 15 on the server side can obtain the communication interface for providing the picture by parsing the attribute information of the obtained picture, and send a capture instruction for increasing the capture frequency to the communication interface.
- the grading module 15 uses the capture instruction with json.
- the xml is encapsulated and sent to the communication interface of the mobile terminal.
- the mobile terminal when uploading the picture to a server, attaches a data table that is associated with the picture, wherein the data table stores a communication of the mobile terminal that uploads the picture. Unique feature information such as interface.
- the grading module 15 on the server side can obtain the communication interface of the mobile terminal that provides the picture by searching the data table corresponding to the picture, and send a snapshot instruction to improve the capture frequency to the communication interface.
- the grading module 15 encapsulates the snapshot command with json or xml and sends it to the communication interface of the mobile terminal.
- the grading module 15 can obtain the communication interface of the terminal by analyzing the relay information of the received picture data packet. The grading module 15 can then send a capture command to increase the capture frequency to the communication interface through the analyzed communication interface. For example, the grading module 15 encapsulates the snapshot command with json or xml and sends it to the communication interface of the mobile terminal.
- the server side grading module 15 sends a request to the remote service address to increase the transmission bandwidth of the mobile terminal corresponding to the communication interface, so as to increase the transmission bandwidth of the mobile terminal.
- the remote service address is an effective address of a server provided by the network operator with the function of increasing bandwidth.
- the network operator provides the server with a specific number, and the rating module 15 sends a request for increasing the transmission bandwidth of the mobile terminal corresponding to the communication interface to the specific number in the form of a short message.
- the request includes a target IP address, a target bandwidth, and the like of the mobile terminal that needs to increase the bandwidth, so that the network operator increases the transmission bandwidth of the mobile terminal corresponding to the target IP address to the target bandwidth value; or, in the present invention
- the network operator provides the server with a remote server address, and the server grading module 15 sends a request to the remote server address in the form of an instruction to increase the transmission bandwidth of the mobile terminal corresponding to the communication interface.
- the request includes a target IP address, a target bandwidth, and the like of the mobile terminal that needs to increase the bandwidth, so that the network operator increases the transmission bandwidth of the mobile terminal corresponding to the target IP address to the target bandwidth value.
- the invention uses an Android mobile phone as a mobile terminal, and uses a driving recorder with a camera, a processor and a communication module as a shooting device controlled by the mobile terminal as an example to describe the specific implementation of each module.
- the mobile terminal is provided with an application capable of communicating with the server and the photographing device.
- the present invention does not limit the specific type of the mobile terminal or the photographing apparatus, and the present embodiment cannot constitute a limitation of the present invention.
- the camera In the driving process of the vehicle in the invention, the camera always captures the scenery and road condition information along the road, and in order to facilitate the real-time transmission of the captured picture, the driving recorder and the mobile terminal establish a point-to-point connection based on the local area network to realize mutual communication.
- the local area network may be a local area network such as Bluetooth or WIFI that supports peer-to-peer (such as AD-Hoc, WiFi Direct, or SmartLink) connection technologies, and the use of the above-mentioned local area network to transmit pictures to the mobile terminal does not consume traffic charges, and Suitable for in-car environments without Wifi coverage.
- the mobile terminal accesses the server to download and install the server-side application, and sends the verification information to register with the server, and can register to the server by inputting the mobile terminal's mobile phone number.
- a mobile terminal capable of communicating with the server is loaded, and its current geographical location information is periodically sent to the server, and the server sends a snap instruction to the mobile terminal in the specific area.
- the mobile terminal receives the capture instruction sent by the server sending module 13 through the remote interface, and automatically sends the preset through the preset point-to-point transmission channel.
- the snap command is sent to the driving recorder.
- the background recorder controls the current frame picture in the captured video data as the captured picture and automatically transmits it to the mobile terminal through the point-to-point transmission channel.
- the mobile terminal uploads the picture fed back by the driving recorder to the server through the 3G or 4G network, and in order to ensure the real-time performance of the picture transmission, the mobile terminal uploads the picture through the remote interface based on the real-time transmission protocol RTP.
- RTP real-time transmission protocol
- the communication interface of the mobile terminal may be attached, so that the server feeds back the capture control instruction based on the communication interface.
- the capture instruction for improving the capture frequency includes a target number of captures per second, and when the image is captured from the video data, the target number is mathematically related to the number of frames played per second in the video data, and may be related to the number of frames.
- the driving recorder video frame as the photographing device is 25 frames/s
- the target number of captures per second received from the mobile terminal is 25, to obtain all static pictures played every second in the video. , reduce the missed rate of effective pictures.
- the server picture receiving module 14 divides the picture into different levels according to a preset grading rule; and the picture with a good picture capturing angle or high definition is classified into a specific level, A capture instruction that increases the capture frequency is sent to the mobile terminal that provides the picture of the particular level.
- the mobile terminal receives the snapshot instruction that is improved by the server-side grading module 15 to improve the capture frequency, and controls the driving recorder to increase the capture frequency to obtain more pictures with good shooting angle or high definition.
- the mobile terminal itself or the camera device controlled by the mobile terminal is used as a movable imaging device for monitoring, when the server wants to monitor a certain geographical area where an illegal behavior has occurred or may occur.
- the capture instruction is broadcast to the communication interface of the plurality of mobile terminals located in the specific area, and the server receives the picture obtained by the mobile terminal in response to the capture instruction.
- the mobile terminal is used as the camera device to remotely control the mobile terminal to obtain the target picture, which is convenient for comprehensive monitoring of illegal behaviors, and is not easy to be illegally destroyed, thereby reducing the construction cost, high reliability and easy maintenance of the monitoring system.
- the mobile terminal that implements the technical solution of the present invention is in a networked state, and can communicate with a server that implements the technical solution of the present invention; and the mobile terminal and the driving record as a photographing device
- the instrument establishes a connection based on the point-to-point transmission channel, and the driving recorder is installed in the car at the power-on state.
- An APP is installed on the mobile terminal, and the APP can be implemented. Communicate with the server, control the driving recorder to capture pictures and other functions.
- the APP on the mobile terminal runs in the background, and periodically sends the current geographical location information of the terminal to the server.
- the server receives the geographic information that needs to be detected, searches for the IP address of the plurality of mobile terminals that are located in the range covered by the geographic information, and broadcasts a picture capture instruction to the plurality of IP addresses; the mobile terminal APP passes the point-to-point response in response to the capture instruction.
- the transmission channel sends a capture command to the driving recorder, and the driving recorder intercepts the current frame data of the captured video as a captured image in the background, and feeds the image to the mobile terminal through the point-to-point transmission channel; the mobile terminal APP will receive the image in the background. Upload to the server through the remote interface.
- the server After receiving the image, the server performs hierarchical processing on the received target image according to a preset hierarchical rule, classifies the target image into different levels, and acquires an IP address of the mobile terminal that provides a specific level of the picture, to the
- the mobile terminal corresponding to the IP address sends a capture instruction that is characterized by increasing the capture frequency.
- the capture instruction that improves the capture frequency includes the target number of captures per second, and when the image is captured from the video data, the target number and the video data are captured. The number of frames played per second is the same; and a request to increase the transmission bandwidth of the mobile terminal is sent to the remote service address.
- the mobile terminal APP controls the driving recorder to perform continuous capturing in response to the received snapshot instruction that improves the capture frequency, to obtain more pictures with good shooting angle or high definition, and then transmits the picture to the mobile terminal, and moves The terminal APP uploads the picture to the server through a remote interface.
- the server constantly categorizes the captured images in real time according to the change of the geographical location that needs to be captured, and controls the capture frequency of the mobile terminal that provides high quality pictures. That is to say, the mobile terminal is selectively controlled to obtain more high-quality pictures in accordance with the target scene, and the proportion of valid data in the pictures captured by the mobile terminal is improved, and the missed rate of effective evidence is reduced, so that it is easy to collect evidence afterwards.
- the various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof.
- a microprocessor or digital signal processor may be used in practice to implement some or all of the functionality of some or all of the components of the visual graphics encoding in accordance with embodiments of the present invention.
- the invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein.
- a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
- FIG. 5 illustrates a file encryption method and encryption with the file according to the present invention.
- the method of intelligent electronic devices conventionally includes a processor 710 and a computer program product or computer readable medium in the form of a memory 720.
- Memory 720 can be an electronic memory such as a flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM.
- Memory 720 has a memory space 730 for program code 731 for performing any of the method steps described above.
- storage space 730 for program code may include various program code 731 for implementing various steps in the above methods, respectively.
- the program code can be read from or written to one or more computer program products.
- These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such computer program products are typically portable or fixed storage units as described with reference to FIG.
- the storage unit may have a storage section or a storage space or the like arranged similarly to the storage 720 in the intelligent electronic device of FIG.
- the program code can be compressed, for example, in an appropriate form.
- the storage unit comprises a program 731' for performing the steps of the method according to the invention, ie code that can be read by a processor, such as 710, which, when run by the intelligent electronic device, causes the intelligent electronic device Perform the various steps in the method described above.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
The present invention relates to the technical field of safety. Provided is a method for obtaining a picture by means of remote control. The method for obtaining a picture by means of remote control comprises the steps of: receiving a picture obtaining instruction comprising geographic information; searching for multiple mobile terminal communication interfaces matching the geographic information; broadcasting a snapshot instruction to the mobile terminal communication interfaces; and receiving a snapshot picture in response to the snapshot instruction. Correspondingly, the present invention also provides a server using the method. In the present invention, a movable mobile terminal is used as camera device, the mobile terminal is remotely controlled to obtain a target picture, illegal behaviors are monitored and checked in a comprehensive manner, illegal destruction is prevented, the construction cost of a monitoring system is reduced, the reliability is high, and the maintenance is facilitated.
Description
本发明涉及安全技术领域,具体涉及一种通过远程控制获取图片的方法及应用该方法的服务器。The present invention relates to the field of security technologies, and in particular, to a method for acquiring a picture by remote control and a server applying the method.
随着社会经济的高速发展,城市道路的扩容、规范化建设与智能化管理势在必行;利用先进的电子设备及控制方式,对城市交通现状、违法行为、社会治安的监控管理,具有重大社会效益和经济效益。现有技术中采用电子监控系统来实现对交通和治安状况的监控。电子监控系统固定安装于城市的路口,24小时全天候对违法行为进行拍照,为公安部门处理违法提供客观准确的依据,节省警力。With the rapid development of social economy, the expansion, standardization and intelligent management of urban roads are imperative; using advanced electronic equipment and control methods, monitoring and management of urban traffic status, illegal behaviors, and social security have a major society. Benefits and economic benefits. Electronic monitoring systems are used in the prior art to achieve monitoring of traffic and security conditions. The electronic monitoring system is fixedly installed at the intersection of the city, taking pictures of illegal activities 24 hours a day, providing an objective and accurate basis for the public security department to deal with illegal activities, saving police power.
但是现有技术中的电子监控系统存在如下不足:1、现有监控方式只能对固定位置进行拍照,数量有限的电子监控系统无法进行全局全方位的监控,而监控用的摄像机又无法根据实际情况有选择的、高速的拍照,容易造成最有效证据的漏拍;2、固定设置在路边的电子监控系统容易被不发分子蓄意破坏,使得监控系统建设成本高、安装调试难度大、可靠性低、不易维护;3、误拍率高,受位置和拍摄角度的限制,现有监控方式抓拍得到的图片中有效数据比例低,大大增加了事后违法取证的工作量。However, the electronic monitoring system in the prior art has the following disadvantages: 1. The existing monitoring mode can only take pictures of a fixed position, and a limited number of electronic monitoring systems cannot perform global all-round monitoring, and the monitoring camera cannot be based on actual conditions. The situation is selective, high-speed photo shooting, which is easy to cause the most effective evidence of missing shots; 2. The electronic monitoring system fixed on the roadside is easily deliberately destroyed by no molecules, making the monitoring system costly to construct, difficult to install and debug, and reliable. Low and difficult to maintain; 3, high false positive rate, limited by the location and shooting angle, the existing monitoring mode captures the low effective data ratio of the pictures, greatly increasing the workload of illegal evidence collection afterwards.
而现有技术中存在很多具有拍摄功能的移动终端,相当于移动的电子监控设备。用户开车或行进时,开启移动终端的拍摄功能,就可以拍摄获取沿途景物或路况等信息,但是现有技术中却没有利用带有拍摄功能的移动终端来协助公安监控的方法或设备。In the prior art, there are many mobile terminals with shooting functions, which are equivalent to mobile electronic monitoring devices. When the user drives or travels, turning on the shooting function of the mobile terminal, it is possible to capture information such as scenery or road conditions along the way, but in the prior art, there is no method or device that uses the mobile terminal with shooting function to assist the public security monitoring.
【发明内容】[Summary of the Invention]
本发明的目的旨在解决上述至少一个问题,提供了一种图片通过远程控
制获取图片的方法及应用该方法的服务器。The object of the present invention is to solve at least one of the above problems, and to provide a picture by remote control
A method for obtaining a picture and a server to which the method is applied.
为实现该目的,本发明采用如下技术方案:To achieve this, the present invention adopts the following technical solutions:
本发明提供了一种通过远程控制获取图片的方法,包括以下步骤:The present invention provides a method for acquiring a picture by remote control, comprising the following steps:
接收包含地理信息的图片获取指令;Receiving an image acquisition instruction including geographic information;
查找与地理信息匹配的多个移动终端通信接口;向所述移动终端通信接口广播抓拍指令;Finding a plurality of mobile terminal communication interfaces that match the geographic information; broadcasting a capture instruction to the mobile terminal communication interface;
接收响应于所述抓拍指令而抓拍的图片。A picture captured in response to the snap instruction is received.
同时公开了一种计算机程序,包括计算机可读代码,当智能电子设备运行所述计算机可读代码时,导致上述方法被执行。Also disclosed is a computer program comprising computer readable code that causes the method to be executed when the intelligent electronic device runs the computer readable code.
同时公开了一种计算机可读介质,其中存储了上述计算机程序。Also disclosed is a computer readable medium in which the above computer program is stored.
与现有技术相比,本发明具备如下优点:Compared with the prior art, the present invention has the following advantages:
1、本发明中将移动终端本身、或者受移动终端控制的摄像设备作为可移动的监控用摄像设备,当服务器想要监查某一已发生或可能发生违法行为的特定地理区域的治安状况时,根据移动终端上传的当前地理位置,向位于该特定区域的多个移动终端的通信接口广播抓拍指令,服务器再接收移动终端反馈的响应于所述抓拍指令而获得的图片。利用可移动的移动终端作为摄像设备,远程控制该移动终端获取目标图片,便于全方位的监查违法行为,且不易被非法破坏,降低监控系统的建设成本、可靠性高、便于维护。1. In the present invention, the mobile terminal itself or the camera device controlled by the mobile terminal is used as a movable monitoring camera device, when the server wants to monitor the security situation of a specific geographical area where an illegal act has occurred or may occur. And acquiring, according to the current geographic location uploaded by the mobile terminal, a snapshot instruction to the communication interface of the plurality of mobile terminals located in the specific area, and the server receiving the picture obtained by the mobile terminal in response to the capture instruction. The mobile terminal is used as the camera device to remotely control the mobile terminal to obtain the target picture, which is convenient for comprehensive monitoring of illegal behaviors, and is not easy to be illegally destroyed, thereby reducing the construction cost, high reliability and easy maintenance of the monitoring system.
2、进一步的,本发明服务器接收到移动终端反馈的图片后,依据预设的分级规则,将图片分为不同级别;对于图片拍摄角度好或者清晰度高的图片归为特定级别,向提供该特定级别的图片的移动终端发送提高抓拍频率的抓拍指令,并向网络供应商发送提高该移动终端的传输带宽的请求。即有选择的控制移动终端抓拍得到更多符合目标场景的高质量图片,提高带宽便于服务器及时接收到更多有效图片。提高移动终端抓拍得到的图片中有效数据的比例,降低有效证据的漏拍率,便于事后违法取证。2. Further, after receiving the picture fed back by the mobile terminal, the server of the present invention divides the picture into different levels according to a preset grading rule; and provides a picture for a picture with a good picture capturing angle or high definition. The mobile terminal of the picture of a certain level transmits a snap instruction that increases the capture frequency, and sends a request to the network provider to increase the transmission bandwidth of the mobile terminal. That is to say, the mobile terminal is selectively controlled to obtain more high-quality pictures in accordance with the target scene, and the bandwidth is increased to facilitate the server to receive more effective pictures in time. Improve the proportion of valid data in the pictures captured by the mobile terminal, reduce the missed rate of valid evidence, and facilitate illegal evidence collection afterwards.
3、进一步的,本发明中当服务器接收到包含某一特定地点的图片获取指令时,将该地点信息扩大为包括该地点信息的地理区域信息;再控制位于该地理区域信息所指定的地理区域的移动终端执行抓拍指令,扩大图片抓拍的范围,便于全方位的抓拍侦查,降低有效图片的漏拍率。
3. Further, in the present invention, when the server receives the picture acquisition instruction including a specific location, the location information is expanded to include the geographical area information of the location information; and then the geographical area specified by the geographic area information is controlled. The mobile terminal executes the capture instruction, expands the range of picture capture, facilitates all-round capture detection, and reduces the missed rate of the effective picture.
本发明附加的方面和优点将在下面的描述中部分给出,这些将从下面的描述中变得明显,或通过本发明的实践了解到。The additional aspects and advantages of the invention will be set forth in part in the description which follows.
本发明上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present invention will become apparent and readily understood from
图1是本发明中通过远程控制获取图片的方法的一个实施例的程序流程图;1 is a flow chart of a program of an embodiment of a method for acquiring a picture by remote control in the present invention;
图2是本发明中通过远程控制获取图片的方法的另一个实施例的程序流程图;2 is a flow chart of another embodiment of a method for acquiring a picture by remote control in the present invention;
图3是本发明中服务器的一个实施例的结构框图;Figure 3 is a block diagram showing the structure of an embodiment of the server in the present invention;
图4是本发明中服务器的另一个实施例的结构框图;Figure 4 is a block diagram showing the structure of another embodiment of the server in the present invention;
图5示出了用于执行根据本发明的方法的智能电子设备的框图;以及Figure 5 shows a block diagram of an intelligent electronic device for performing the method according to the invention;
图6示出了用于保持或者携带实现根据本发明的方法的程序代码的存储单元示意图。Figure 6 shows a schematic diagram of a memory unit for holding or carrying program code implementing the method according to the invention.
下面结合附图和示例性实施例对本发明作进一步地描述,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。下面通过参考附图描述的实施例是示例性的,仅用于解释本发明,而不能解释为对本发明的限制。此外,如果已知技术的详细描述对于示出本发明的特征是不必要的,则将其省略。The invention is further described in the following with reference to the drawings and exemplary embodiments, which are illustrated in the accompanying drawings, in which the same or similar reference numerals are used to refer to the same or similar elements or elements having the same or similar functions. . The embodiments described below with reference to the drawings are intended to be illustrative of the invention and are not to be construed as limiting. Further, if a detailed description of a known technique is not necessary to show the features of the present invention, it will be omitted.
本技术领域技术人员可以理解,除非特意声明,这里使用的单数形式“一”、“一个”、“所述”和“该”也可包括复数形式。应该进一步理解的是,本发明的说明书中使用的措辞“包括”是指存在所述特征、整数、步骤、操作、元件和/或组件,但是并不排除存在或添加一个或多个其他特征、整数、步骤、操作、元件、组件和/或它们的组。应该理解,当我们称元件被“连接”或“耦接”到另一元件时,它可以直接连接或耦接到其他元件,或者也可以存在中间元件。此外,这里使用的“连接”或“耦接”可以包括无线连接或无线耦接。这里使用的措辞“和/或”包括一个或更多个相关联的列出项的全
部或任一单元和全部组合。The singular forms "a", "an", "the" It is to be understood that the phrase "comprise" or "an" Integers, steps, operations, components, components, and/or groups thereof. It will be understood that when an element is referred to as being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element. Further, "connected" or "coupled" as used herein may include either a wireless connection or a wireless coupling. The phrase "and/or" used herein includes the entirety of one or more of the associated listed items.
Department or any unit and all combinations.
本技术领域技术人员可以理解,除非另外定义,这里使用的所有术语(包括技术术语和科学术语),具有与本发明所属领域中的普通技术人员的一般理解相同的意义。还应该理解的是,诸如通用字典中定义的那些术语,应该被理解为具有与现有技术的上下文中的意义一致的意义,并且除非像这里一样被特定定义,否则不会用理想化或过于正式的含义来解释。Those skilled in the art will appreciate that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the invention belongs, unless otherwise defined. It should also be understood that terms such as those defined in a general dictionary should be understood to have meaning consistent with the meaning in the context of the prior art, and will not be idealized or excessive unless specifically defined as here. The formal meaning is explained.
本技术领域技术人员可以理解,这里所使用的“终端”、“终端设备”既包括无线信号接收器的设备,其仅具备无发射能力的无线信号接收器的设备,又包括接收和发射硬件的设备,其具有能够在双向通信链路上,执行双向通信的接收和发射硬件的设备。这种设备可以包括:蜂窝或其他通信设备,其具有单线路显示器或多线路显示器或没有多线路显示器的蜂窝或其他通信设备;PCS(Personal Communications Service,个人通信系统),其可以组合语音、数据处理、传真和/或数据通信能力;PDA(Personal Digital Assistant,个人数字助理),其可以包括射频接收器、寻呼机、互联网/内联网访问、网络浏览器、记事本、日历和/或GPS(Global Positioning System,全球定位系统)接收器;常规膝上型和/或掌上型计算机或其他设备,其具有和/或包括射频接收器的常规膝上型和/或掌上型计算机或其他设备。这里所使用的“终端”、“终端设备”可以是便携式、可运输、安装在交通工具(航空、海运和/或陆地)中的,或者适合于和/或配置为在本地运行,和/或以分布形式,运行在地球和/或空间的任何其他位置运行。这里所使用的“终端”、“终端设备”还可以是通信终端、上网终端、音乐/视频播放终端,例如可以是PDA、MID(Mobile Internet Device,移动互联网设备)和/或具有音乐/视频播放功能的移动电话,也可以是智能电视、机顶盒等设备。Those skilled in the art can understand that the "terminal" and "terminal device" used herein include both a wireless signal receiver device, a device having only a wireless signal receiver without a transmitting capability, and a receiving and transmitting hardware. A device having a device capable of performing two-way communication receiving and transmitting hardware on a two-way communication link. Such devices may include cellular or other communication devices having a single line display or a multi-line display or a cellular or other communication device without a multi-line display; PCS (Personal Communications Service), which may combine voice, data Processing, fax, and/or data communication capabilities; PDA (Personal Digital Assistant), which can include radio frequency receivers, pagers, Internet/Intranet access, web browsers, notepads, calendars, and/or GPS (Global Positioning System (Global Positioning System) receiver; conventional laptop and/or palmtop computer or other device having a conventional laptop and/or palmtop computer or other device that includes and/or includes a radio frequency receiver. As used herein, "terminal", "terminal device" may be portable, transportable, installed in a vehicle (aviation, sea and/or land), or adapted and/or configured to operate locally, and/or Run in any other location on the Earth and/or space in a distributed form. The "terminal" and "terminal device" used herein may also be a communication terminal, an internet terminal, a music/video playing terminal, and may be, for example, a PDA, a MID (Mobile Internet Device), and/or have a music/video playback. Functional mobile phones can also be smart TVs, set-top boxes and other devices.
本技术领域技术人员可以理解,这里所使用的服务器、云端、远端网络设备等概念,具有等同效果,其包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个服务器构成的云。在此,云由基于云计算(Cloud Computing)的大量计算机或网络服务器构成,其中,云计算是分布式计算的一种,由一群松散耦合的计算机集组成的一个超级虚拟计算机。本发明的实施例中,远端网络设备、终端设备与WNS服务器之间可通过任何通信方式实现通信,包括但不限于,基于3GPP、LTE、WIMAX的移动通信、基于
TCP/IP、UDP协议的计算机网络通信以及基于蓝牙、红外传输标准的近距无线传输方式。Those skilled in the art can understand that the concepts of servers, clouds, remote network devices, and the like used herein have equivalent effects, including but not limited to computers, network hosts, single network servers, multiple network server sets, or multiple servers. The cloud that makes up. Here, the cloud is composed of a large number of computers or network servers based on Cloud Computing, which is a kind of distributed computing, a super virtual computer composed of a group of loosely coupled computers. In the embodiment of the present invention, communication between the remote network device, the terminal device, and the WNS server may be implemented by any communication method, including but not limited to, mobile communication based on 3GPP, LTE, WIMAX, based on
TCP/IP, UDP protocol computer network communication and short-range wireless transmission based on Bluetooth and infrared transmission standards.
有必要先对本发明的应用场景及其原理进行如下的先导性说明。It is necessary to first make a preliminary description of the application scenario and principles of the present invention as follows.
互联网中,一般包括用户端(用户移动终端)、网络和服务器(如网站的Web服务器等)。其中用户端可以是用户的互联网移动终端,如台式机(PC)、膝上型计算机(Laptop),带有网页浏览功能的智能型设备,如个人数字助理(Personal Digital Assisstant,PDA),以及移动互联网设备(Mobile Internet Device,MID)和智能手机(Phone)等。这些移动终端都可以在互联网环境中,典型的如英特网环境中,请求由另一进程(如服务器提供的进程)提供某项服务。例如,在本发明中,通过服务器端向位于某一特定地理区域内的移动终端发送图片抓拍指令,接收移动终端响应于所述抓拍指令而获得的图片。In the Internet, it generally includes a client (user mobile terminal), a network, and a server (such as a web server of a website). The client can be a user's Internet mobile terminal, such as a desktop computer (PC), a laptop (Laptop), a smart device with web browsing capabilities, such as a personal digital assistant (PDA), and mobile Internet devices (MID) and smartphones (Phone). These mobile terminals can all request a service by another process (such as a server-provided process) in an Internet environment, typically in an Internet environment. For example, in the present invention, a picture capture instruction is sent by a server to a mobile terminal located in a specific geographical area, and a picture obtained by the mobile terminal in response to the capture instruction is received.
服务器通常是可通过互联网等通信媒介,典型的如英特网访问的远程计算机系统。而且,服务器通常可以为来自互联网的多个用户端提供服务。提供服务过程包括接收用户端发来的请求,收集用户端情报和反馈信息等。实质上,服务器充当计算机网络的信息提供者这一角色。服务器通常位于提供服务的一方,或由服务提供方配置以服务内容,这样的服务提供方可以如互联网服务公司的网站等。The server is typically a remote computer system that can be accessed via a communication medium such as the Internet, typically such as the Internet. Moreover, servers can often serve multiple clients from the Internet. The service process includes receiving requests from the client, collecting user information and feedback information, and the like. In essence, the server acts as an information provider for the computer network. The server is usually located on the party providing the service, or configured by the service provider to serve the content, such a service provider may be, for example, an Internet service company's website.
本发明的有关方法和终端的应用场景,以Android移动终端作为客户端,以带有摄像头、处理器、通信模块的行车记录仪作为受移动终端控制的拍摄设备,以云服务器为服务器为例来进行示例性说明。其中该移动终端中预先加载有能与服务器及行车记录仪通信的应用程序。但应该说明的是,该描述仅是示例性的,本发明的范围并不限于此,本发明实施例的方法和终端也可适用于其他操作系统的移动终端,或者其他能与移动终端之间通信的拍摄设备,本质上与操作系统及拍摄设备的具体种类无关。The related method and terminal application scenario of the present invention uses an Android mobile terminal as a client, a driving recorder with a camera, a processor, and a communication module as a shooting device controlled by a mobile terminal, and takes a cloud server as a server as an example. An exemplary illustration is made. The mobile terminal is preloaded with an application capable of communicating with the server and the driving recorder. However, it should be noted that the description is merely exemplary, and the scope of the present invention is not limited thereto. The method and terminal of the embodiments of the present invention are also applicable to mobile terminals of other operating systems, or between other mobile terminals. The communication equipment of the communication is essentially independent of the specific type of operating system and shooting equipment.
以下将详细说明为了运用上述的原理实现上述的场景而提出的本发明的若干技术方案的具体实施方式。需要说明的是,本发明提供的一种通过远程控制获取图片的方法,是从服务器的视角来加以描述的,可以通过编程将通过远程控制获取图片的方法实现为计算机程序在远端网络设备上实现,其包括但不限于计算机、网络主机、单个网络服务器、多个网络服务器集或多个
服务器构成的云。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, specific embodiments of several technical solutions of the present invention proposed to implement the above-described scenarios using the above-described principles will be described in detail. It should be noted that the method for acquiring a picture by remote control is described from the perspective of a server, and the method for acquiring a picture by remote control can be implemented as a computer program on a remote network device by programming. Implementation, including but not limited to computers, network hosts, a single web server, multiple network server sets, or multiple
The cloud formed by the server.
参见附图1,本发明的一种通过远程控制获取图片的方法的一个典型实施例,具体包括以下步骤:Referring to FIG. 1, an exemplary embodiment of a method for acquiring a picture by remote control according to the present invention specifically includes the following steps:
S11,接收包含地理信息的图片获取指令。S11. Receive a picture acquisition instruction that includes geographic information.
本发明中移动终端上安装有能与拍摄设备及服务器实现通信的应用程序,且装载该应用程序的移动终端随时会通过网络向服务器上传该移动终端的当前地理位置信息;且在移动终端装载该应用程序时,会向服务器发送带有验证信息的验证请求,服务器会对移动终端进行验证,对于通过验证的移动终端,服务器端会保存该移动终端的通信接口,所述通信接口可以是电话号码或者IP地址等唯一性特征信息。在本发明的一个实施例中,以行车记录仪作为受移动终端控制的拍摄设备,为了便于数据的实时传输,行车记录仪和移动终端预先基于局域网建立连接实现相互通信。The mobile terminal of the present invention is installed with an application program capable of communicating with the photographing device and the server, and the mobile terminal loading the application program uploads the current geographical location information of the mobile terminal to the server through the network at any time; and loading the application on the mobile terminal When the program is sent, the server sends a verification request with the verification information, and the server verifies the mobile terminal. For the mobile terminal that passes the verification, the server end saves the communication interface of the mobile terminal, and the communication interface may be a phone number or Unique feature information such as IP address. In an embodiment of the present invention, the driving recorder is used as a photographing device controlled by the mobile terminal. In order to facilitate real-time data transmission, the driving recorder and the mobile terminal establish communication in advance based on the local area network to realize mutual communication.
当服务器所接收到的图片获取指令中所包含的是某个具体地点信息而非地理区域信息时,为了扩大图片抓拍的范围,便于全方位的抓拍侦查,降低有效图片的漏拍率,还需要将接收的地点信息扩大为包括该地点信息的地理区域信息。When the image acquisition instruction received by the server includes a specific location information instead of geographic area information, in order to expand the range of image capture, it is convenient for all-round capture detection to reduce the missed rate of effective pictures, and also needs The received location information is expanded to include geographic area information of the location information.
具体的,在本发明的一个实施例中,服务器从接收到的图片获取指令中解析出地点信息后,调用服务器端的电子地图,将该地点信息转换为经纬度坐标,并以该地点信息所指定的地理位置所对应的坐标为中心,以一定半径所包括的周围地理区域作为需要查找的地理信息。Specifically, in an embodiment of the present invention, after parsing the location information from the received image acquisition instruction, the server invokes an electronic map of the server, converts the location information into latitude and longitude coordinates, and specifies the location information. The coordinates corresponding to the geographical location are centered, and the surrounding geographical area included in a certain radius is used as the geographic information to be searched.
进一步的,请参见图1,在本发明的方法中,还包括步骤:Further, referring to FIG. 1, in the method of the present invention, the method further includes the steps of:
S12,查找与地理信息匹配的多个移动终端通信接口;S12. Find multiple mobile terminal communication interfaces that match geographic information.
S13,向所述移动终端通信接口广播抓拍指令。S13. Broadcast a capture instruction to the mobile terminal communication interface.
服务器端接收装载有应用程序的移动终端发送的各终端的当前地理位置信息,根据接收到的图片获取指令中解析出需要侦查的地理信息,查找哪些移动终端的当前位置正好位于该地理信息所指定的地理区域内,查找确定所述多个移动终端的通信接口,向属于该地理区域内的移动终端通信接口广播抓拍指令。具体的,服务器向属于某特定区域内的移动终端广播抓拍指令的步骤,可以由以下两个实施例来实现。The server receives the current geographic location information of each terminal sent by the mobile terminal loaded with the application, and parses the geographic information that needs to be detected according to the received image acquisition instruction, and finds which mobile terminal's current location is exactly located in the geographic information. Within the geographic area, a communication interface determining the plurality of mobile terminals is determined to broadcast a capture instruction to a mobile terminal communication interface belonging to the geographic area. Specifically, the step of the server broadcasting a snap instruction to the mobile terminal belonging to a specific area may be implemented by the following two embodiments.
1、在本发明的一个实施例中,服务器查找确定向上传了属于该地理区域
信息所覆盖的范围的地理位置信息的多个移动终端的IP地址;向该IP地址发送抓拍指令。服务器端查找到位于某特定地理区域内的移动终端后,从移动终端上传的当前地理位置信息中获得该移动终端的通信接口,例如IP地址,通过该IP地址向移动终端发送抓拍指令。需要说明的是,移动终端在将其当前地理位置信息发送给服务器的同时,可选地将移动终端的IP地址同时发送给服务器;再或者,移动终端将当前地理位置信息发送给服务器时,可以不将移动终端的IP地址发送给服务器,服务器可以通过分析接收到的数据包的中转信息获得终端的通信接口。1. In one embodiment of the invention, the server looks up to determine that the geographic area belongs to the upload
The IP address of the plurality of mobile terminals of the geographical location information covered by the information; the capture instruction is sent to the IP address. After the server finds the mobile terminal located in a specific geographic area, the communication interface, such as an IP address, of the mobile terminal is obtained from the current geographical location information uploaded by the mobile terminal, and the capture instruction is sent to the mobile terminal through the IP address. It should be noted that, when the mobile terminal sends its current geographical location information to the server, the IP address of the mobile terminal is optionally sent to the server at the same time; or, when the mobile terminal sends the current geographical location information to the server, The IP address of the mobile terminal is not sent to the server, and the server can obtain the communication interface of the terminal by analyzing the transit information of the received data packet.
服务器将带有抓拍指令的数据用json或者xml进行封装后,发送给在该特定区域内的移动终端的IP地址。本实施例中的抓拍指令的发送方式,只对移动终端中控制抓拍的应用程序已开启的情况有效,只有移动终端应用程序开启,才能响应于从服务器端接收的抓拍指令,控制拍摄设备执行抓拍,适合于一般的场景。The server encapsulates the data with the capture command with json or xml and sends it to the IP address of the mobile terminal in the specific area. The sending manner of the capture instruction in this embodiment is effective only when the application for controlling the capture in the mobile terminal is turned on. Only when the mobile terminal application is turned on can the shooting device be controlled to perform the capture in response to the capture instruction received from the server. Suitable for general scenes.
需要说明的是,移动终端获取本机当前地理位置的方式可以是调用本机的GPS获取,也可以是基于网络运营商的基站定位,本实施例对此不做限定。It should be noted that, the manner in which the mobile terminal obtains the current geographic location of the local device may be the GPS acquisition of the local device, or the location of the base station based on the network operator, which is not limited in this embodiment.
2、在本发明的又一个实施例中,服务器查找确定向上传了属于该地理区域信息所覆盖的范围的地理位置信息的多个移动终端的手机号码;向该手机号码发送抓拍指令。该实施例中发送抓拍指令的方式适合于比较紧急的情况,对没有开启相应应用程序的移动终端也有效,即该方式能调用更多的移动终端响应于该抓拍指令执行抓拍操作。2. In still another embodiment of the present invention, the server looks up a mobile number identifying a plurality of mobile terminals that have uploaded geographic location information pertaining to the range covered by the geographic area information; and sends a snap instruction to the mobile number. The manner in which the snapshot instruction is sent in this embodiment is suitable for a relatively urgent situation, and is also effective for a mobile terminal that does not open the corresponding application, that is, the method can call more mobile terminals to perform a snapshot operation in response to the capture instruction.
具体的,在本实施例中,服务器端查找到位于某特定地理区域内的移动终端后,从移动终端上传的当前地理位置信息中获得该移动终端的手机号码,通过该手机号码向移动终端发送抓拍指令。需要说明的是,服务器中存储了移动终端注册或验证时输入的手机号码与移动终端的IP地址的对应关系表,服务器通过分析接收到的移动终端发送的当前地理位置信息的数据包的中转信息获得该终端的IP地址,查找到该IP地址对应的手机号码。调用短信平台,服务器可将抓拍指令以短信息的形式发送给对应的手机号码,以使承载有该手机号码SIM卡的移动终端执行该抓拍指令。移动终端后台服务程序监测到该短信息形式的抓拍指令,自启动能控制拍摄设备执行抓拍的应用程序,控制拍摄设备执行抓拍。
Specifically, in this embodiment, after the server finds the mobile terminal located in a specific geographical area, the mobile terminal number of the mobile terminal is obtained from the current geographical location information uploaded by the mobile terminal, and the mobile terminal number is sent to the mobile terminal by using the mobile phone number. Capture instructions. It should be noted that the server stores a correspondence table between the mobile phone number input by the mobile terminal during registration or verification and the IP address of the mobile terminal, and the server analyzes the transit information of the data packet of the current geographic location information sent by the received mobile terminal. Obtain the IP address of the terminal and find the mobile phone number corresponding to the IP address. The SMS platform is invoked, and the server may send the snapshot instruction to the corresponding mobile phone number in the form of short message, so that the mobile terminal carrying the mobile phone number SIM card executes the capture instruction. The mobile terminal background service program monitors the capture instruction in the form of the short message, and the application that can control the shooting device to perform the capture is controlled from the startup, and the shooting device is controlled to perform the capture.
综上所述,服务器端接收到带有目标地理信息的图片获取指令后,向上传了属于该特定地理区域的当前地理位置信息的移动终端的通信接口广播抓拍指令,以使移动终端执行该抓拍指令,控制拍摄设备抓拍得到图片。In summary, after receiving the picture acquisition instruction with the target geographic information, the server broadcasts a capture instruction to the communication interface of the mobile terminal that uploaded the current geographical location information of the specific geographic area, so that the mobile terminal performs the snapshot. Command, control the shooting device to capture the picture.
进一步的,请参见附图1,本发明的方法还包括步骤S14,接收响应于所述抓拍指令而抓拍的图片。Further, referring to FIG. 1, the method of the present invention further includes a step S14 of receiving a picture captured in response to the snap instruction.
服务器端通过网络接收移动终端反馈的图片,为了保证图片的传输速度,从移动终端传输过来的图片压缩成某种格式的数据包中,服务器端接收到该压缩的图片数据包后,解析数据包得到图片。在本发明的一个实施例中,所述服务器与移动终端通过3G或4G网络实现通信。The server receives the picture fed back by the mobile terminal through the network. In order to ensure the transmission speed of the picture, the picture transmitted from the mobile terminal is compressed into a data packet of a certain format, and after receiving the compressed picture data packet, the server end parses the data packet. Get the picture. In one embodiment of the invention, the server and the mobile terminal communicate via a 3G or 4G network.
进一步的,为了有选择的控制移动终端抓拍得到更多符合目标场景的高质量图片,提高带宽便于服务器及时接收到更多有效图片。提高移动终端抓拍得到的图片中有效数据的比例,降低有效证据的漏拍率,便于事后违法取证。请参见附图2,本发明的方法还包括以下步骤:Further, in order to selectively control the mobile terminal to capture more high-quality pictures in accordance with the target scene, the bandwidth is increased to facilitate the server to receive more valid pictures in time. Improve the proportion of valid data in the pictures captured by the mobile terminal, reduce the missed rate of valid evidence, and facilitate illegal evidence collection afterwards. Referring to FIG. 2, the method of the present invention further includes the following steps:
S151,依据预设的分级规则,实时对接收到的图片按照清晰度或/和抓拍角度进行分级处理,将图片归类为不同级别;S151. According to a preset grading rule, the received pictures are hierarchically processed according to the definition or/and the capture angle in real time, and the pictures are classified into different levels;
S152,根据特定级别的图片,获取上传该图片的移动终端通信接口,并向该通信接口发送表征提高抓拍频率的抓拍指令;S152. Acquire, according to a picture of a specific level, a mobile terminal communication interface that uploads the picture, and send a snapshot instruction that is used to improve the capture frequency to the communication interface;
S153,向远程服务地址发送提高该通信接口所对应的移动终端的传输带宽的请求。S153. Send a request for increasing a transmission bandwidth of the mobile terminal corresponding to the communication interface to the remote service address.
具体的,在服务器接收到图片后,实时的基于预设的分级规则对图片分类,以得到提供最接近于目标场景的高质量的图片。以下各实施例简要分析所述预设的分级规则。Specifically, after the server receives the image, the image is classified in real time based on a preset hierarchical rule to obtain a high quality picture that is closest to the target scene. The following embodiments briefly analyze the preset grading rules.
1、在本发明的一个实施例中,所述预设的分级规则是指识别所述图片中的人脸数量,根据人脸数量的数值大小对其对应的图片分级;其中人脸数量大于一预设阈值的对应图片归类为所述特定级别。具体的,通过一定的人脸跟踪算法,来识别出图片中出现的人脸数量,将人脸数量的数值最大的图片归为最高级,人脸数量的数值次之的图片归为次高级……,依次类推。当人脸数量大于一预设阈值时,例如,所述预设阈值为40人,即当人脸数量大于40人时表征该图片所拍摄的目标场景有可能出现非法聚集等违法事件,将该
人脸数量大于预设阈值的图片归为特定级别。需要说明的是,服务器端所采用的人脸跟踪算法为现有技术中常用的算法或在现有人脸跟踪算法基础上的改进算法,或以后出现的适合于该实施例中的人脸识别算法,例如,现有技术中常用的Adaboost算法、Camshift算法等,本实施例对具体的人脸跟踪算法不做限定。In an embodiment of the present invention, the preset grading rule refers to identifying the number of faces in the picture, and grading the corresponding picture according to the numerical value of the number of faces; wherein the number of faces is greater than one The corresponding picture of the preset threshold is classified as the specific level. Specifically, a certain face tracking algorithm is used to identify the number of faces appearing in the picture, and the picture with the largest number of faces is classified as the highest level, and the picture with the number of faces is classified as the next highest level... …,And so on. When the number of faces is greater than a predetermined threshold, for example, the preset threshold is 40, that is, when the number of faces is greater than 40, an illegal event such as illegal aggregation may occur in the target scene marked by the picture.
Pictures with a number of faces greater than the preset threshold are classified as specific levels. It should be noted that the face tracking algorithm used by the server is an algorithm commonly used in the prior art or an improved algorithm based on the existing face tracking algorithm, or a face recognition algorithm suitable for the embodiment in the future. For example, the Adaboost algorithm, the Camshift algorithm, and the like which are commonly used in the prior art, the specific face tracking algorithm is not limited in this embodiment.
2、在本发明的又一个实施例中,所述预设的分级规则是指识别所述图片的清晰度,根据清晰度的数值范围对其对应的图片分级;其中清晰度大于一预设阈值的对应图片归类为所述特定级别。具体的,通过一定的图片清晰度评价方法,来评断图片的清晰度。例如,可通过灰度变化函数来计算图片的灰度值的变化,聚焦图片比离焦图片包含更多的灰度变化;再或者,通过梯度函数来评估图片的灰度,一般对焦越好、图片边缘越锋利、具有更大的图像梯度值。本实施例中,将图片清晰度最好的图片归为最高级,清晰度较好的图片归为次高级……,依次类推。当图片的清晰度大于一预设阈值时,将该图片归为所述特定级别。2. In still another embodiment of the present invention, the preset grading rule refers to identifying the sharpness of the picture, and grading the corresponding picture according to the numerical range of the sharpness; wherein the sharpness is greater than a preset threshold The corresponding picture is categorized as the specific level. Specifically, the clarity of the picture is judged by a certain picture sharpness evaluation method. For example, the grayscale change function can be used to calculate the change of the gray value of the image, and the focused image contains more grayscale changes than the out-of-focus image; or, the gradient function is used to evaluate the grayscale of the image, generally the better the focus, The sharper the edges of the picture, the larger the image gradient value. In this embodiment, the picture with the best picture clarity is classified as the highest level, and the picture with better definition is classified as the next highest level, and so on. When the sharpness of the picture is greater than a predetermined threshold, the picture is classified as the specific level.
3、在本发明的再一个实施例中,所述预设的分级规则是指识别图片拍摄角度相对于目标场景的中轴线的偏移角,依据偏移角的数值大小对其对应的图片分级;其中,目标场景为图片中识别出的人脸数量大于一预设阈值的图片区域;其中偏移角小于一预设阈值的对应图片归类为所述特定级别。具体的,服务器端基于一定的人脸跟踪算法识别出图片中人脸数量大于一预设阈值的区域。例如,在本发明的一个示例性实施例中,所述阈值为25,将人脸数量聚集的区域设定为目标区域,表征该区域可能为需要抓拍到的目标场景,以该区域的中轴线为基准线,基于一定的算法判别出图片的拍摄角度相对于该基准线的偏移角度大小。将偏移角度最小的图片归为最高级,偏移角度较小的图片归为次高级……,依次类推。其中偏移角小于一预设阈值的对应图片归类为所述特定级别,例如设定该偏移角为15度,当图片的偏移角小于15度时,表征提供该图片的移动终端所控制的拍摄设备的拍摄位置的偏移量相对较小。In a further embodiment of the present invention, the preset grading rule refers to identifying an offset angle of a picture shooting angle with respect to a central axis of the target scene, and grading the corresponding picture according to the magnitude of the offset angle. The target scene is a picture area whose number of faces identified in the picture is greater than a preset threshold; wherein the corresponding picture whose offset angle is less than a preset threshold is classified as the specific level. Specifically, the server side identifies, according to a certain face tracking algorithm, an area in which the number of faces in the picture is greater than a preset threshold. For example, in an exemplary embodiment of the present invention, the threshold is 25, and the area where the number of faces is gathered is set as the target area, and the area that is characterized may be the target scene that needs to be captured, with the central axis of the area For the reference line, the offset angle of the shooting angle of the picture relative to the reference line is determined based on a certain algorithm. The image with the smallest offset angle is classified as the highest level, and the image with the smaller offset angle is classified as the next highest..., and so on. The corresponding picture whose offset angle is less than a preset threshold is classified into the specific level, for example, the offset angle is set to 15 degrees, and when the offset angle of the picture is less than 15 degrees, the mobile terminal that provides the picture is characterized. The offset of the shooting position of the controlled photographing device is relatively small.
需要说明的是,上述各实施例中的分级规则并不是单独的分级规则,各分级规则可以结合在一起来评判图片的拍摄质量和与目标场景的匹配度,基于各个分级规则的权重值来综合分析,上述分级规则是由预先设定在服务器
端的算法自动分析实现的。当然,对于场景复杂的图片的分级,分级规则还可以是基于用户的主观评判,由用户向服务器发送分级指令来实现。It should be noted that the grading rules in the foregoing embodiments are not separate grading rules, and each grading rule can be combined to judge the shooting quality of the picture and the matching degree with the target scene, and is integrated based on the weight values of each grading rule. Analysis, the above grading rules are pre-set on the server
The algorithm of the end is automatically analyzed and implemented. Of course, for the grading of pictures with complicated scenes, the grading rules may also be implemented based on the subjective evaluation of the user, and the user sends a hierarchical instruction to the server.
分类得到特定级别的图片后,获取提供其中特定级别的图片的移动终端的通信接口,向该通信接口发送表征提高抓拍频率的抓拍指令,即向能提供高质量图片的移动终端发送提高抓拍频率的抓拍指令。需要说明的是,服务器端从图片中得到提供该图片的移动终端的通信接口,例如,所述通信接口为IP地址,可由以下3个实施例来实现。After obtaining a picture of a specific level, obtaining a communication interface of the mobile terminal that provides a picture of a specific level, and transmitting a snapshot instruction indicating that the capture frequency is increased to the communication interface, that is, sending the increased capture frequency to the mobile terminal capable of providing a high-quality picture. Capture instructions. It should be noted that the server obtains the communication interface of the mobile terminal that provides the picture from the picture. For example, the communication interface is an IP address, which can be implemented by the following three embodiments.
1、在本发明的一个实施例中,移动终端在上传所述图片时,将该终端的通信接口添加在图片的属性信息中随附图片一起上传。例如对于jpg、jpeg格式的图片,其文件Exif属性中,包括一作为保留的标签User Comments,该标签可以由用户自定义添加内容,利用该标签,可以将提供该图片的移动终端的通信接口信息存储在图片的Exif属性中。类似的,对于其他格式的图片,也可以提供该图片的移动终端的通信接口信息存储于图片的附属信息中,如bmp,png等格式的图片,在此不再举例。这样服务器端可以通过解析得到的图片的属性信息得到提供该图片的通信接口,向该通信接口发送提高抓拍频率的抓拍指令,例如,服务器将该抓拍指令用json或者xml进行封装后,发送给该移动终端的通信接口。1. In an embodiment of the present invention, when uploading the picture, the mobile terminal adds the communication interface of the terminal to the accompanying picture in the attribute information of the picture. For example, for a picture in jpg and jpeg format, the file Exif attribute includes a tag User Comments, which can be customized by the user, and the tag can be used to provide communication interface information of the mobile terminal providing the picture. Stored in the Exif property of the image. Similarly, for other formats of the picture, the communication interface information of the mobile terminal that can provide the picture is stored in the attached information of the picture, such as a picture in the format of bmp, png, etc., and is not illustrated here. In this way, the server can obtain the communication interface that provides the picture by parsing the attribute information of the obtained picture, and send a capture instruction for increasing the capture frequency to the communication interface. For example, the server encapsulates the snapshot instruction with json or xml, and then sends the snapshot instruction to the The communication interface of the mobile terminal.
2、在本发明的另一个实施例中,移动终端在向服务器上传所述图片时,随附上传与该图片关联性的数据表,其中该数据表中存储有提供该图片的移动终端的通信接口等唯一性特征信息。这样服务器端可以通过查找与该图片对应的数据表得到提供该图片的移动终端的通信接口,向该通信接口发送提高抓拍频率的抓拍指令。例如,服务器将该抓拍指令用json或者xml进行封装后,发送给该移动终端通信接口。2. In another embodiment of the present invention, when uploading the picture to a server, the mobile terminal attaches a data table that is associated with the picture, wherein the data table stores communication of the mobile terminal that provides the picture. Unique feature information such as interface. In this way, the server can obtain a communication interface of the mobile terminal that provides the picture by searching a data table corresponding to the picture, and send a capture instruction that increases the capture frequency to the communication interface. For example, the server encapsulates the snapshot instruction with json or xml and sends it to the mobile terminal communication interface.
3、在本发明的又一个实施例中,服务器可以通过分析接收到的图片数据包的中转信息获得终端的通信接口。之后服务器可以通过分析到的通信接口,向该通信接口发送提高抓拍频率的抓拍指令。例如,服务器将该抓拍指令用json或者xml进行封装后,发送给该移动终端通信接口。3. In still another embodiment of the present invention, the server may obtain the communication interface of the terminal by analyzing the relay information of the received picture data packet. The server can then send a capture instruction to increase the capture frequency to the communication interface through the analyzed communication interface. For example, the server encapsulates the snapshot instruction with json or xml and sends it to the mobile terminal communication interface.
进一步的,为了保证更多抓拍到的特定级别的图片上传到服务器端的实时性,还需要提高提供特定级别图片的移动终端的传输带宽。服务器端向远程服务地址发送提高该通信接口所对应的移动终端的传输带宽的请求,以提
高该移动终端的传输带宽。其中,远程服务地址为网络运营商提供的具有提高带宽功能的通信服务器的有效地址。在本发明的一个实施例中,网络运营商提供给服务器一个特定号码,服务器向该特定号码以短信的形式发送提高所述通信接口所对应的移动终端的传输带宽的请求,所述请求中包含有需提高带宽的移动终端的目标IP地址、目标带宽等,以使网络运营商提高该目标IP地址所对应的移动终端的传输带宽到目标带宽值;再或者,在本发明的又一个实施例中,网络运营商提供给服务器一个远程服务器地址,服务器向该远程服务器地址以指令的形式发送提高所述通信接口所对应的移动终端的传输带宽的请求,所述请求中包含有需提高带宽的移动终端的目标IP地址、目标带宽等,以使网络运营商提高该目标IP地址所对应的移动终端的传输带宽到目标带宽值。Further, in order to ensure more real-time uploading of a certain level of pictures uploaded to the server, it is also necessary to increase the transmission bandwidth of the mobile terminal providing a certain level of pictures. The server sends a request for increasing the transmission bandwidth of the mobile terminal corresponding to the communication interface to the remote service address, to
The transmission bandwidth of the mobile terminal is high. The remote service address is an effective address of the communication server with the bandwidth improvement function provided by the network operator. In an embodiment of the present invention, the network operator provides the server with a specific number, and the server sends a request for increasing the transmission bandwidth of the mobile terminal corresponding to the communication interface to the specific number in the form of a short message, where the request includes There is a target IP address, a target bandwidth, and the like of the mobile terminal that needs to increase the bandwidth, so that the network operator increases the transmission bandwidth of the mobile terminal corresponding to the target IP address to the target bandwidth value; or, in another embodiment of the present invention The network operator provides the server with a remote server address, and the server sends, in the form of an instruction, the request for increasing the transmission bandwidth of the mobile terminal corresponding to the communication interface to the remote server address, where the request includes the bandwidth to be increased. The target IP address, the target bandwidth, and the like of the mobile terminal, so that the network operator increases the transmission bandwidth of the mobile terminal corresponding to the target IP address to the target bandwidth value.
为了便于理解本发明中通过远程控制获取图片的方法的实现,有必要从移动终端的角度简要介绍该方法的实施。本发明以Android手机作为移动终端,以带有摄像头、处理器、通信模块的行车记录仪作为受移动终端控制的拍摄设备为例来说明该方法的具体实施。其中,移动终端上设置有能与服务器及拍摄设备通信的应用程序。当然,本发明对移动终端、或拍摄设备的具体类型不做限定,本实施例不能构成对本发明的限制。In order to facilitate the understanding of the implementation of the method for acquiring pictures by remote control in the present invention, it is necessary to briefly introduce the implementation of the method from the perspective of the mobile terminal. The invention uses an Android mobile phone as a mobile terminal, and takes a driving recorder with a camera, a processor and a communication module as a shooting device controlled by the mobile terminal as an example to illustrate the specific implementation of the method. The mobile terminal is provided with an application capable of communicating with the server and the photographing device. Certainly, the present invention does not limit the specific type of the mobile terminal or the photographing apparatus, and the present embodiment cannot constitute a limitation of the present invention.
本发明中行车记录仪在汽车的行使过程中,摄像头一直在拍摄沿途的风景和路况信息,且为了便于抓拍图片的实时传输,行车记录仪和移动终端预先基于局域网建立点对点连接实现相互通信。需要说明的是,所述局域网可以是蓝牙或WIFI等支持点对点(如AD-Hoc、WiFi Direct或SmartLink等)连接技术而构建的局域网,采用上述局域网传输图片到移动终端不需消耗流量费,且适合于没有Wifi覆盖的车内环境。In the driving process of the vehicle in the invention, the camera always captures the scenery and road condition information along the road, and in order to facilitate the real-time transmission of the captured picture, the driving recorder and the mobile terminal establish a point-to-point connection based on the local area network to realize mutual communication. It should be noted that the local area network may be a local area network such as Bluetooth or WIFI that supports peer-to-peer (such as AD-Hoc, WiFi Direct, or SmartLink) connection technologies, and the use of the above-mentioned local area network to transmit pictures to the mobile terminal does not consume traffic charges, and Suitable for in-car environments without Wifi coverage.
移动终端访问服务器下载并安装服务器端的应用程序,并发送验证信息向服务器端注册,可以通过输入移动终端的手机号码来注册到该服务器。装载有能与服务器通信的移动终端,定时向服务器发送其当前的地理位置信息,服务器会向特定区域内的移动终端发送抓拍指令,需要说明的是,移动终端获取当前地理位置的方式可以是调用本机的GPS获取,也可以是基于网络运营商的基站定位,本实施例对此不做限定。The mobile terminal accesses the server to download and install the server-side application, and sends the verification information to register with the server, and can register to the server by inputting the mobile terminal's mobile phone number. A mobile terminal capable of communicating with the server is loaded, and the current geographical location information is periodically sent to the server, and the server sends a capture instruction to the mobile terminal in the specific area. It should be noted that the manner in which the mobile terminal acquires the current geographic location may be a call. The GPS acquisition of the local device may also be based on the location of the base station of the network operator. This embodiment does not limit this.
移动终端通过远程接口接收服务器发送的抓拍指令,通过预设的点对点
传输通道自动发送该抓拍指令到行车记录仪。行车记录仪响应于该抓拍指令,后台服务程序控制截获视频数据中的当前帧画面作为抓拍到的图片,并通过点对点传输通道自动发送到移动终端。移动终端自动通过3G或4G网络将行车记录仪端反馈的图片上传到服务器,且为了保证图片传输的实时性,移动终端基于实时传输协议RTP通过远程接口上传该图片。需要说明的是,移动终端通过后台服务程序上传图片到服务器时,可以随附上传该移动终端的通信接口信息,以使服务器基于该通信接口信息中指定的通信接口反馈表征提高抓拍频率的抓拍指令。所述表征提高抓拍频率的抓拍指令中包括每秒抓拍的目标次数,且从视频数据中抓拍得到图片时,该目标次数与视频数据中每秒播放的帧数在数学上相关,可以与帧数相同或者是帧数的一半或三分之一等,具体在数学上的相关性根据实际情况而定,本发明对此不做限定。。在一个示例性实施例中,作为拍摄设备的行车记录仪视频帧为25帧/S,则从移动终端接收到的每秒抓拍的目标次数为25,以得到视频中每秒播放的所有静态画面,降低有效图片的漏拍率。The mobile terminal receives the capture instruction sent by the server through the remote interface, and presets the point-to-point
The transmission channel automatically sends the capture command to the driving recorder. In response to the capture command, the background recorder controls the current frame picture in the captured video data as the captured picture and automatically transmits it to the mobile terminal through the point-to-point transmission channel. The mobile terminal automatically uploads the picture fed back by the driving recorder to the server through the 3G or 4G network, and in order to ensure the real-time performance of the picture transmission, the mobile terminal uploads the picture through the remote interface based on the real-time transmission protocol RTP. It should be noted that, when the mobile terminal uploads the image to the server through the background service program, the communication interface information of the mobile terminal may be uploaded, so that the server returns a snapshot instruction that improves the capture frequency based on the communication interface specified in the communication interface information. . The capture instruction for improving the capture frequency includes a target number of captures per second, and when the image is captured from the video data, the target number is mathematically related to the number of frames played per second in the video data, and may be related to the number of frames. The same or a half or a third of the number of frames, etc., the mathematical correlation is determined according to the actual situation, which is not limited by the present invention. . In an exemplary embodiment, the driving recorder video frame as the photographing device is 25 frames/s, and the target number of captures per second received from the mobile terminal is 25, to obtain all static pictures played every second in the video. , reduce the missed rate of effective pictures.
进一步的,服务器接收到移动终端反馈的图片后,实时的依据预设的分级规则,将图片分为不同级别;对于图片拍摄角度好或者清晰度高的图片归为特定级别,向提供该特定级别的图片的移动终端发送提高抓拍频率的抓拍指令。移动终端接收服务器端反馈的表征提高抓拍频率的抓拍指令,控制行车记录仪提高其抓拍频率,以得到更多的拍摄角度好或者清晰度高的图片。综上所述,本发明中将移动终端本身、或者受移动终端控制的摄像设备作为可移动的监控用摄像设备,当服务器想要监查某一已发生或可能发生违法行为的特定地理区域的治安状况时,根据移动终端上传的当前地理位置,向位于该特定区域的多个移动终端的通信接口广播抓拍指令,服务器再接收移动终端反馈的响应于所述抓拍指令而获得的图片。利用可移动的移动终端作为摄像设备,远程控制该移动终端获取目标图片,便于全方位的监查违法行为,且不易被非法破坏,降低监控系统的建设成本、可靠性高、便于维护。Further, after the server receives the picture fed back by the mobile terminal, the picture is divided into different levels according to a preset grading rule in real time; and the picture with a good picture capturing angle or high definition is classified into a specific level, and the specific level is provided. The picture of the mobile terminal sends a snap command that increases the snap frequency. The mobile terminal receives the snapshot instruction of the server-side feedback to improve the capture frequency, and controls the driving recorder to increase the capture frequency to obtain more pictures with good shooting angle or high definition. In summary, in the present invention, the mobile terminal itself or the camera device controlled by the mobile terminal is used as a movable imaging device for monitoring, when the server wants to monitor a certain geographical area where an illegal behavior has occurred or may occur. In the security situation, according to the current geographic location uploaded by the mobile terminal, the capture instruction is broadcast to the communication interface of the plurality of mobile terminals located in the specific area, and the server receives the picture obtained by the mobile terminal in response to the capture instruction. The mobile terminal is used as the camera device to remotely control the mobile terminal to obtain the target picture, which is convenient for comprehensive monitoring of illegal behaviors, and is not easy to be illegally destroyed, thereby reducing the construction cost, high reliability and easy maintenance of the monitoring system.
进一步,依据计算机软件的功能模块化思维,本发明还提供了一种采用通过远程控制获取图片的方法的服务器,请参阅图3。该服务器包括指令接收模块11、查找模块12、发送模块13和图片接收模块14,利用上述各模块来搭建起服务器的原理框架,从而实现模块化实施方案。以下具体揭示各模
块实现的具体功能。Further, according to the functional modular thinking of the computer software, the present invention also provides a server adopting a method of acquiring a picture by remote control, please refer to FIG. 3. The server includes an instruction receiving module 11, a searching module 12, a sending module 13, and a picture receiving module 14, and constructs a principle framework of the server by using the above modules to implement a modular implementation. The following specifically reveals each model
The specific function of the block implementation.
所述指令接收模块11,用于接收包含地理信息的图片获取指令。The instruction receiving module 11 is configured to receive a picture acquisition instruction that includes geographic information.
本发明中移动终端上安装有能与拍摄设备及服务器实现通信的应用程序,且装载该应用程序的移动终端随时会通过网络向服务器上传该移动终端的当前地理位置信息;且在移动终端装载该应用程序时,会向服务器发送带有验证信息的验证请求,服务器会对移动终端进行验证,对于通过验证的移动终端,服务器端会保存该移动终端的通信接口,所述通信接口可以是电话号码或者IP地址等唯一性特征信息。在本发明的一个实施例中,以行车记录仪作为受移动终端控制的拍摄设备,为了便于数据的实时传输,行车记录仪和移动终端预先基于局域网建立连接实现相互通信。The mobile terminal of the present invention is installed with an application program capable of communicating with the photographing device and the server, and the mobile terminal loading the application program uploads the current geographical location information of the mobile terminal to the server through the network at any time; and loading the application on the mobile terminal When the program is sent, the server sends a verification request with the verification information, and the server verifies the mobile terminal. For the mobile terminal that passes the verification, the server end saves the communication interface of the mobile terminal, and the communication interface may be a phone number or Unique feature information such as IP address. In an embodiment of the present invention, the driving recorder is used as a photographing device controlled by the mobile terminal. In order to facilitate real-time data transmission, the driving recorder and the mobile terminal establish communication in advance based on the local area network to realize mutual communication.
当所述指令接收模块11所接收到的图片获取指令中所包含的是某个地点信息而非地理区域信息时,为了扩大图片抓拍的范围,便于全方位的抓拍侦查,降低有效图片的漏拍率,还需要将接收的地点信息扩大为包括该地点信息的地理区域信息。When the image acquisition instruction received by the instruction receiving module 11 includes a certain location information instead of the geographical area information, in order to expand the range of the image capture, it is convenient for all-round capture detection to reduce the missed shot of the effective picture. The rate also needs to expand the received location information to include geographic area information of the location information.
具体的,在本发明的一个实施例中,所述指令接收模块11从接收到的图片获取指令中解析出具体地点信息后,调用服务器端的电子地图,将该地点信息转换为经纬度坐标,并以该地点信息所指定的地理位置所对应的坐标为中心,以一定半径所包括的周围地理区域作为该地理信息。Specifically, in an embodiment of the present invention, the instruction receiving module 11 parses the specific location information from the received image acquisition instruction, invokes an electronic map of the server, converts the location information into latitude and longitude coordinates, and The coordinates corresponding to the geographical location specified by the location information are centered, and the surrounding geographical area included in a certain radius is used as the geographic information.
进一步的,所述查找模块12,用于查找与地理信息匹配的多个移动终端通信接口;Further, the searching module 12 is configured to search for multiple mobile terminal communication interfaces that match the geographic information;
所述发送模块13,用于向所述移动终端通信接口广播抓拍指令。The sending module 13 is configured to broadcast a snap instruction to the mobile terminal communication interface.
服务器端所述指令接收模块11接收装载有应用程序的移动终端发送的各终端的当前地理位置信息,根据接收到的图片获取指令中解析出需要侦查的地理信息,再通过查找模块12查找哪些移动终端的当前位置正好位于该地理信息所指定的地理区域内,查找确定所述多个移动终端的通信接口,通过发送模块13向属于该地理区域内的移动终端通信接口广播抓拍指令。具体的,所述查找模块12和发送模块13的功能可以由以下两个实施例来实现。The command receiving module 11 on the server side receives the current geographical location information of each terminal sent by the mobile terminal loaded with the application, analyzes the geographical information that needs to be detected according to the received image acquisition instruction, and searches for which mobiles are searched by the searching module 12. The current location of the terminal is located in the geographical area specified by the geographic information, and the communication interface for determining the plurality of mobile terminals is searched, and the capture instruction is broadcast by the sending module 13 to the mobile terminal communication interface belonging to the geographic area. Specifically, the functions of the searching module 12 and the sending module 13 can be implemented by the following two embodiments.
1、在本发明的一个实施例中,所述查找模块12查找确定向上传了属于该地理信息所覆盖的范围的地理位置信息的多个移动终端的IP地址;发送模块13向该IP地址发送抓拍指令。服务器端查找模块12查找到位于某特定地
理区域内的移动终端后,从移动终端上传的当前地理位置信息中获得该移动终端的通信接口,例如IP地址,发送模块13通过该IP地址向移动终端发送抓拍指令。需要说明的是,移动终端在将其当前地理位置信息发送给服务器的同时,可选地将移动终端的IP地址同时发送给服务器;再或者,移动终端将当前地理位置信息发送给服务器时,可以不将移动终端的IP地址发送给服务器,服务器可以通过分析接收到的数据包的中转信息获得终端的IP地址。1. In an embodiment of the present invention, the searching module 12 searches for an IP address of a plurality of mobile terminals that determine the geographic location information that belongs to the range covered by the geographic information; the sending module 13 sends the IP address to the IP address. Capture instructions. The server-side lookup module 12 finds that it is located at a specific place.
After the mobile terminal in the area is located, the communication interface of the mobile terminal, for example, an IP address, is obtained from the current geographic location information uploaded by the mobile terminal, and the sending module 13 sends a snapshot instruction to the mobile terminal through the IP address. It should be noted that, when the mobile terminal sends its current geographical location information to the server, the IP address of the mobile terminal is optionally sent to the server at the same time; or, when the mobile terminal sends the current geographical location information to the server, The IP address of the mobile terminal is not sent to the server, and the server can obtain the IP address of the terminal by analyzing the transit information of the received data packet.
发送模块13将带有抓拍指令的数据用json或者xml进行封装后,发送给在该特定区域内的移动终端的IP地址。本实施例中的抓拍指令的发送方式,只对移动终端中控制抓拍的应用程序已开启的情况有效,只有移动终端应用程序开启,才能响应于从服务器端接收的抓拍指令,控制拍摄设备执行抓拍,适合于一般的场景。The transmitting module 13 encapsulates the data with the capture command with json or xml and sends it to the IP address of the mobile terminal in the specific area. The sending manner of the capture instruction in this embodiment is effective only when the application for controlling the capture in the mobile terminal is turned on. Only when the mobile terminal application is turned on can the shooting device be controlled to perform the capture in response to the capture instruction received from the server. Suitable for general scenes.
需要说明的是,移动终端获取本机当前地理位置的方式可以是调用本机的GPS获取,也可以是基于网络运营商的基站定位,本实施例对此不做限定。It should be noted that, the manner in which the mobile terminal obtains the current geographic location of the local device may be the GPS acquisition of the local device, or the location of the base station based on the network operator, which is not limited in this embodiment.
2、在本发明的又一个实施例中,服务器查找模块12查找确定向上传了属于该地理区域信息所覆盖的范围的地理位置信息的多个移动终端的手机号码;发送模块13向该手机号码发送抓拍指令。该实施例中发送模块13发送抓拍指令的方式适合于比较紧急的情况,对没有开启相应应用程序的移动终端也有效,即该方式能调用更多的移动终端响应于该抓拍指令执行抓拍操作。2. In still another embodiment of the present invention, the server lookup module 12 searches for a mobile phone number of a plurality of mobile terminals that determine the geographic location information that belongs to the range covered by the geographic area information; the sending module 13 addresses the mobile phone number Send a snap command. The manner in which the sending module 13 sends the snapping instruction in this embodiment is suitable for comparing the emergency situation, and is also effective for the mobile terminal that does not open the corresponding application program, that is, the method can call more mobile terminals to perform the snapping operation in response to the snapping instruction.
具体的,在本实施例中,服务器端查找模块12查找到位于某特定地理区域内的移动终端后,从移动终端上传的当前地理位置信息中获得该移动终端的手机号码,发送模块13通过该手机号码向移动终端发送抓拍指令。需要说明的是,服务器中存储了移动终端注册或验证时输入的手机号码与移动终端的IP地址的对应关系表,查找模块12通过分析接收到的移动终端发送的当前地理位置信息的数据包的中转信息获得该终端的IP地址,查找到该IP地址对应的手机号码。调用短信平台,发送模块13可将抓拍指令以短信息的形式发送给对应的手机号码,以使承载有该手机号码SIM卡的移动终端执行该抓拍指令。移动终端后台服务程序监测到该短信息形式的抓拍指令,自启动能控制拍摄设备执行抓拍的应用程序,控制拍摄设备执行抓拍。Specifically, in this embodiment, after the server-side search module 12 finds the mobile terminal located in a specific geographic area, the mobile terminal number of the mobile terminal is obtained from the current geographic location information uploaded by the mobile terminal, and the sending module 13 passes the The mobile phone number sends a snap command to the mobile terminal. It should be noted that the server stores a correspondence table between the mobile phone number input by the mobile terminal during registration or verification and the IP address of the mobile terminal, and the searching module 12 analyzes the data packet of the current geographic location information sent by the received mobile terminal. The transit information obtains the IP address of the terminal, and finds the mobile phone number corresponding to the IP address. The calling module 13 can send the snapshot instruction to the corresponding mobile phone number in the form of short message, so that the mobile terminal carrying the mobile phone number SIM card executes the capture instruction. The mobile terminal background service program monitors the capture instruction in the form of the short message, and the application that can control the shooting device to perform the capture is controlled from the startup, and the shooting device is controlled to perform the capture.
综上所述,服务器端指令接收模块11接收到带有目标地理信息的图片获取指令后,发送模块13向位于该特定地理区域的移动终端的通信接口发送
抓拍指令,以使移动终端执行该抓拍指令,控制拍摄设备抓拍得到图片。In summary, after the server-side instruction receiving module 11 receives the picture acquisition instruction with the target geographic information, the sending module 13 sends the communication interface of the mobile terminal located in the specific geographic area.
The capture instruction is executed to enable the mobile terminal to execute the capture instruction, and the shooting device is controlled to capture the picture.
进一步的,请参见附图3,所述图片接收模块14,用于接收响应于所述抓拍指令而抓拍的图片。Further, referring to FIG. 3, the picture receiving module 14 is configured to receive a picture captured in response to the snapshot instruction.
所述图片接收模块14通过网络接收移动终端反馈的图片,为了保证图片的传输速度,从移动终端传输过来的图片压缩成某种格式的数据包中,所述图片接收模块14接收到该压缩的图片数据包后,解析数据包得到图片。在本发明的一个实施例中,所述图片接收模块14与移动终端通过3G或4G网络实现通信。The picture receiving module 14 receives the picture fed back by the mobile terminal through the network. In order to ensure the transmission speed of the picture, the picture transmitted from the mobile terminal is compressed into a data packet of a certain format, and the picture receiving module 14 receives the compressed image. After the picture packet, parse the packet to get the picture. In an embodiment of the invention, the picture receiving module 14 and the mobile terminal communicate via a 3G or 4G network.
进一步的,为了有选择的控制移动终端抓拍得到更多符合目标场景的高质量图片,提高带宽便于服务器及时接收到更多有效图片。提高移动终端抓拍得到的图片中有效数据的比例,降低有效证据的漏拍率,便于事后违法取证。请参见附图5,本服务器还包括有分级模块15。Further, in order to selectively control the mobile terminal to capture more high-quality pictures in accordance with the target scene, the bandwidth is increased to facilitate the server to receive more valid pictures in time. Improve the proportion of valid data in the pictures captured by the mobile terminal, reduce the missed rate of valid evidence, and facilitate illegal evidence collection afterwards. Referring to FIG. 5, the server further includes a grading module 15.
所述分级模块15,用于依据预设的分级规则,实时对接收到的图片按照清晰度或/和抓拍角度进行分级处理,将图片归类为不同级别;及根据特定级别的图片,获取上传该图片的移动终端通信接口,并向该通信接口发送表征提高抓拍频率的抓拍指令;及向远程服务地址发送提高该通信接口所对应的移动终端的传输带宽的请求。The grading module 15 is configured to perform grading processing on the received image according to a definition or a grading angle according to a preset grading rule, classify the image into different levels, and obtain an upload according to a specific level of the image. a mobile terminal communication interface of the picture, and transmitting a snapshot instruction indicating that the capture frequency is increased to the communication interface; and transmitting a request for increasing a transmission bandwidth of the mobile terminal corresponding to the communication interface to the remote service address.
具体的,在图片接收模块14接收到图片后,所述分级模块15基于预设的分级规则对图片分类,以得到提供最接近于目标场景的高质量的图片。以下各实施例简要分析所述分级模块15采用的分级规则。Specifically, after the picture receiving module 14 receives the picture, the grading module 15 classifies the picture based on the preset grading rule to obtain a high quality picture that is closest to the target scene. The following embodiments briefly analyze the grading rules adopted by the grading module 15.
1、在本发明的一个实施例中,所述预设的分级规则是指识别所述图片中的人脸数量,根据人脸数量的数值大小对其对应的图片分级;其中人脸数量大于一预设阈值的对应图片归类为所述特定级别。具体的,所述分级模块15通过一定的人脸跟踪算法,来识别出图片中出现的人脸数量,将人脸数量的数值最大的图片归为最高级,人脸数量的数值次之的图片归为次高级……,依次类推。当人脸数量大于一预设阈值时,例如,所述预设阈值为40人,即当人脸数量大于40人时表征该图片所拍摄的目标场景有可能出现非法聚集等违法事件,所述分级模块15将该人脸数量大于预设阈值的图片归为特定级别。需要说明的是,所述分级模块15所采用的人脸跟踪算法为现有技术中常
用的算法或在现有人脸跟踪算法基础上的改进算法,或以后出现的适合于该实施例中的人脸识别算法,例如,现有技术中常用的Adaboost算法、Camshift算法等,本实施例对具体的人脸跟踪算法不做限定。In an embodiment of the present invention, the preset grading rule refers to identifying the number of faces in the picture, and grading the corresponding picture according to the numerical value of the number of faces; wherein the number of faces is greater than one The corresponding picture of the preset threshold is classified as the specific level. Specifically, the grading module 15 identifies a number of faces appearing in the picture by using a certain face tracking algorithm, and categorizes the picture with the largest number of face numbers as the highest level, and the picture with the second largest number of faces. Be classified as sub-advanced..., and so on. When the number of faces is greater than a predetermined threshold, for example, the preset threshold is 40, that is, when the number of faces is greater than 40, an illegal event such as illegal aggregation may occur in the target scene marked by the picture. The grading module 15 classifies the picture whose face number is greater than a preset threshold as a specific level. It should be noted that the face tracking algorithm used by the grading module 15 is commonly used in the prior art.
The algorithm used or the improved algorithm based on the existing face tracking algorithm, or the face recognition algorithm which is suitable for the embodiment, such as the Adaboost algorithm, the Camshift algorithm, etc. commonly used in the prior art, this embodiment The specific face tracking algorithm is not limited.
2、在本发明的又一个实施例中,所述预设的分级规则是指识别所述图片的清晰度,根据清晰度的数值范围对其对应的图片分级;其中清晰度大于一预设阈值的对应图片归类为所述特定级别。具体的,所述分级模块15通过一定的图片清晰度评价方法,来评断图片的清晰度。例如,可通过灰度变化函数来计算图片的灰度值的变化,聚焦图片比离焦图片包含更多的灰度变化;再或者,所述分级模块15通过梯度函数来评估图片的灰度,一般对焦越好、图片边缘越锋利、具有更大的图像梯度值。本实施例中,所述分级模块15将图片清晰度最好的图片归为最高级,清晰度较好的图片归为次高级……,依次类推。当图片的清晰度大于一预设阈值时,所述分级模块15将该图片归为所述特定级别。2. In still another embodiment of the present invention, the preset grading rule refers to identifying the sharpness of the picture, and grading the corresponding picture according to the numerical range of the sharpness; wherein the sharpness is greater than a preset threshold The corresponding picture is categorized as the specific level. Specifically, the grading module 15 judges the sharpness of the picture by a certain picture sharpness evaluation method. For example, the change of the gray value of the picture may be calculated by the gray level variation function, and the focused picture contains more gray level changes than the out-of-focus picture; or, the classification module 15 evaluates the gray level of the picture by the gradient function. Generally, the better the focus, the sharper the edges of the picture, and the larger the image gradient value. In this embodiment, the grading module 15 classifies the picture with the best picture resolution as the highest level, and the picture with better definition is classified as the next highest level, and so on. When the sharpness of the picture is greater than a predetermined threshold, the ranking module 15 classifies the picture as the particular level.
3、在本发明的再一个实施例中,所述预设的分级规则是指识别图片拍摄角度相对于目标场景的中轴线的偏移角,依据偏移角的数值大小对其对应的图片分级;其中,目标场景为图片中识别出的人脸数量大于一预设阈值的图片区域;其中偏移角小于一预设阈值的对应图片归类为所述特定级别。具体的,所述分级模块15基于一定的人脸跟踪算法识别出图片中人脸数量大于一预设阈值的区域。例如,在本发明的一个示例性实施例中,所述阈值为25,所述分级模块15将人脸数量聚集的区域设定为目标区域,表征该区域可能为需要抓拍到的目标场景,以该区域的中轴线为基准线,基于一定的算法判别出图片的拍摄角度相对于该基准线的偏移角度大小。所述分级模块15将偏移角度最小的图片归为最高级,偏移角度较小的图片归为次高级……,依次类推。其中所述分级模块15将偏移角小于一预设阈值的对应图片归类为所述特定级别,例如设定该偏移角为15度,当图片的偏移角小于15度时,表征提供该图片的移动终端所控制的拍摄设备的拍摄位置的偏移量相对较小。In a further embodiment of the present invention, the preset grading rule refers to identifying an offset angle of a picture shooting angle with respect to a central axis of the target scene, and grading the corresponding picture according to the magnitude of the offset angle. The target scene is a picture area whose number of faces identified in the picture is greater than a preset threshold; wherein the corresponding picture whose offset angle is less than a preset threshold is classified as the specific level. Specifically, the grading module 15 identifies an area in the picture whose number of faces is greater than a predetermined threshold based on a certain face tracking algorithm. For example, in an exemplary embodiment of the present invention, the threshold is 25, and the grading module 15 sets an area where the number of faces is gathered as a target area, and the characterization of the area may be a target scene that needs to be captured, The central axis of the region is a reference line, and the offset angle of the photographing angle of the image with respect to the reference line is determined based on a certain algorithm. The grading module 15 classifies the picture with the smallest offset angle as the highest level, the picture with the smaller offset angle as the next highest level, and so on. The grading module 15 classifies the corresponding picture whose offset angle is less than a preset threshold as the specific level, for example, setting the offset angle to 15 degrees, and providing characterization when the offset angle of the picture is less than 15 degrees. The offset of the shooting position of the photographing device controlled by the mobile terminal of the picture is relatively small.
需要说明的是,上述各实施例中的分级规则并不是单独的分级规则,所述分级模块15可将各分级规则结合在一起来评判图片的拍摄质量和与目标场景的匹配度,基于各个分级规则的权重值来综合分析,上述分级规则是由
预先设定在服务器端的算法自动分析实现的。当然,对于场景复杂的图片的分级,分级规则还可以是基于用户的主观评判,由用户向服务器发送分级指令来实现。It should be noted that the grading rules in the foregoing embodiments are not separate grading rules, and the grading module 15 may combine the grading rules to judge the shooting quality of the picture and the matching degree with the target scene, based on each grading. The weight value of the rule is comprehensively analyzed, and the above classification rule is
Pre-set on the server side of the algorithm automatically analyzes the implementation. Of course, for the grading of pictures with complicated scenes, the grading rules may also be implemented based on the subjective evaluation of the user, and the user sends a hierarchical instruction to the server.
所述分级模块15分类得到特定级别的图片后,获取提供其中特定级别的图片的移动终端的通信接口,向该通信接口发送表征提高抓拍频率的抓拍指令,即向能提供高质量图片的移动终端发送提高抓拍频率的抓拍指令。需要说明的是,服务器端所述分级模块15从图片中得到上传该图片的通信接口,可由以下3个实施例来实现。After the classification module 15 classifies the picture of the specific level, the communication interface of the mobile terminal that provides the picture of the specific level is obtained, and the capture instruction that is used to improve the capture frequency is sent to the communication interface, that is, to the mobile terminal capable of providing high quality pictures. Send a capture command that increases the capture frequency. It should be noted that the grading module 15 on the server side obtains the communication interface for uploading the picture from the picture, which can be implemented by the following three embodiments.
1、在本发明的一个实施例中,移动终端在上传所述图片时,将该终端的通信接口添加在图片的属性信息中随附图片一起上传。例如对于jpg、jpeg格式的图片,其文件Exif属性中,包括一作为保留的标签User Comments,该标签可以由用户自定义添加内容,利用该标签,可以将提供该图片的移动终端的通信接口信息存储在图片的Exif属性中。类似的,对于其他格式的图片,也可以将移动终端的通信接口信息存储于图片的附属信息中,如bmp,png等格式的图片,在此不再举例。这样服务器端所述分级模块15可以通过解析得到的图片的属性信息得到提供该图片的通信接口,向该通信接口发送提高抓拍频率的抓拍指令,例如,所述分级模块15将该抓拍指令用json或者xml进行封装后,发送给该移动终端的通信接口。1. In an embodiment of the present invention, when uploading the picture, the mobile terminal adds the communication interface of the terminal to the accompanying picture in the attribute information of the picture. For example, for a picture in jpg and jpeg format, the file Exif attribute includes a tag User Comments, which can be customized by the user, and the tag can be used to provide communication interface information of the mobile terminal providing the picture. Stored in the Exif property of the image. Similarly, for other formats of pictures, the communication interface information of the mobile terminal may also be stored in the attached information of the picture, such as a picture in the format of bmp, png, etc., and is not exemplified herein. In this way, the grading module 15 on the server side can obtain the communication interface for providing the picture by parsing the attribute information of the obtained picture, and send a capture instruction for increasing the capture frequency to the communication interface. For example, the grading module 15 uses the capture instruction with json. Or the xml is encapsulated and sent to the communication interface of the mobile terminal.
2、在本发明的另一个实施例中,移动终端在向服务器上传所述图片时,随附上传与该图片关联性的数据表,其中该数据表中存储有上传该图片的移动终端的通信接口等唯一性特征信息。这样服务器端所述分级模块15可以通过查找与该图片对应的数据表得到提供该图片的移动终端的通信接口,向该通信接口发送提高抓拍频率的抓拍指令。例如,所述分级模块15将该抓拍指令用json或者xml进行封装后,发送给该移动终端的通信接口。2. In another embodiment of the present invention, when uploading the picture to a server, the mobile terminal attaches a data table that is associated with the picture, wherein the data table stores a communication of the mobile terminal that uploads the picture. Unique feature information such as interface. In this way, the grading module 15 on the server side can obtain the communication interface of the mobile terminal that provides the picture by searching the data table corresponding to the picture, and send a snapshot instruction to improve the capture frequency to the communication interface. For example, the grading module 15 encapsulates the snapshot command with json or xml and sends it to the communication interface of the mobile terminal.
3、在本发明的又一个实施例中,所述分级模块15可以通过分析接收到的图片数据包的中转信息获得终端的通信接口。之后可以通过分析到的通信接口,所述分级模块15向该通信接口发送提高抓拍频率的抓拍指令。例如,所述分级模块15将该抓拍指令用json或者xml进行封装后,发送给该移动终端的通信接口。3. In still another embodiment of the present invention, the grading module 15 can obtain the communication interface of the terminal by analyzing the relay information of the received picture data packet. The grading module 15 can then send a capture command to increase the capture frequency to the communication interface through the analyzed communication interface. For example, the grading module 15 encapsulates the snapshot command with json or xml and sends it to the communication interface of the mobile terminal.
进一步的,为了保证更多抓拍到的特定级别的图片上传到服务器端的实
时性,还需要提高能供特定级别图片的移动终端的传输带宽。服务器端所述分级模块15通信接口向远程服务地址发送提高该通信接口所对应的移动终端的传输带宽的请求,以提高该移动终端的传输带宽。其中,远程服务地址为网络运营商提供的具有提高带宽功能的服务器的有效地址。在本发明的一个实施例中,网络运营商提供给服务器一个特定号码,服务器所述分级模块15向该特定号码以短信的形式发送提高所述通信接口所对应的移动终端的传输带宽的请求,所述请求中包含有需提高带宽的移动终端的目标IP地址、目标带宽等,以使网络运营商提高该目标IP地址所对应的移动终端的传输带宽到目标带宽值;再或者,在本发明的又一个实施例中,网络运营商提供给服务器一个远程服务器地址,服务器所述分级模块15向该远程服务器地址以指令的形式发送提高所述通信接口所对应的移动终端的传输带宽的请求,所述请求中包含有需提高带宽的移动终端的目标IP地址、目标带宽等,以使网络运营商提高该目标IP地址所对应的移动终端的传输带宽到目标带宽值。Further, in order to ensure that more captured images of a certain level are uploaded to the server side,
Timeliness, there is also a need to increase the transmission bandwidth of mobile terminals that can be used for a particular level of picture. The server side grading module 15 sends a request to the remote service address to increase the transmission bandwidth of the mobile terminal corresponding to the communication interface, so as to increase the transmission bandwidth of the mobile terminal. The remote service address is an effective address of a server provided by the network operator with the function of increasing bandwidth. In an embodiment of the present invention, the network operator provides the server with a specific number, and the rating module 15 sends a request for increasing the transmission bandwidth of the mobile terminal corresponding to the communication interface to the specific number in the form of a short message. The request includes a target IP address, a target bandwidth, and the like of the mobile terminal that needs to increase the bandwidth, so that the network operator increases the transmission bandwidth of the mobile terminal corresponding to the target IP address to the target bandwidth value; or, in the present invention In still another embodiment, the network operator provides the server with a remote server address, and the server grading module 15 sends a request to the remote server address in the form of an instruction to increase the transmission bandwidth of the mobile terminal corresponding to the communication interface. The request includes a target IP address, a target bandwidth, and the like of the mobile terminal that needs to increase the bandwidth, so that the network operator increases the transmission bandwidth of the mobile terminal corresponding to the target IP address to the target bandwidth value.
为了便于理解本发明中各模块的实现,有必要从移动终端的角度简要介绍各模块的实施。本发明以Android手机作为移动终端,以带有摄像头、处理器、通信模块的行车记录仪作为受移动终端控制的拍摄设备为例来说明各模块的具体实施。其中,移动终端上设置有能与服务器及拍摄设备通信的应用程序。当然,本发明对移动终端、或拍摄设备的具体类型不做限定,本实施例不能构成对本发明的限制。In order to facilitate the understanding of the implementation of the modules in the present invention, it is necessary to briefly introduce the implementation of each module from the perspective of the mobile terminal. The invention uses an Android mobile phone as a mobile terminal, and uses a driving recorder with a camera, a processor and a communication module as a shooting device controlled by the mobile terminal as an example to describe the specific implementation of each module. The mobile terminal is provided with an application capable of communicating with the server and the photographing device. Certainly, the present invention does not limit the specific type of the mobile terminal or the photographing apparatus, and the present embodiment cannot constitute a limitation of the present invention.
本发明中行车记录仪在汽车的行使过程中,摄像头一直在拍摄沿途的风景和路况信息,且为了便于抓拍图片的实时传输,行车记录仪和移动终端预先基于局域网建立点对点连接实现相互通信。需要说明的是,所述局域网可以是蓝牙或WIFI等支持点对点(如AD-Hoc、WiFi Direct或SmartLink等)连接技术而构建的局域网,采用上述局域网传输图片到移动终端不需消耗流量费,且适合于没有Wifi覆盖的车内环境。In the driving process of the vehicle in the invention, the camera always captures the scenery and road condition information along the road, and in order to facilitate the real-time transmission of the captured picture, the driving recorder and the mobile terminal establish a point-to-point connection based on the local area network to realize mutual communication. It should be noted that the local area network may be a local area network such as Bluetooth or WIFI that supports peer-to-peer (such as AD-Hoc, WiFi Direct, or SmartLink) connection technologies, and the use of the above-mentioned local area network to transmit pictures to the mobile terminal does not consume traffic charges, and Suitable for in-car environments without Wifi coverage.
移动终端访问服务器下载并安装服务器端的应用程序,并发送验证信息向服务器端注册,可以通过输入移动终端的手机号码来注册到该服务器。装载有能与服务器通信的移动终端,定时向服务器发送其当前的地理位置信息,服务器会向特定区域内的移动终端发送抓拍指令。移动终端通过远程接口接收服务器发送模块13发送的抓拍指令,通过预设的点对点传输通道自动发送
该抓拍指令到行车记录仪。行车记录仪响应于该抓拍指令,后台服务程序控制截获视频数据中的当前帧画面作为抓拍到的图片,并通过点对点传输通道自动发送到移动终端。移动终端通过3G或4G网络将行车记录仪端反馈的图片上传到服务器,且为了保证图片传输的实时性,移动终端基于实时传输协议RTP通过远程接口上传该图片。需要说明的是,移动终端后台服务程序上传图片到服务器时,可以随附上传该移动终端的通信接口,以使服务器基于该通信接口反馈抓拍控制指令。所述表征提高抓拍频率的抓拍指令中包括每秒抓拍的目标次数,且从视频数据中抓拍得到图片时,该目标次数与视频数据中每秒播放的帧数在数学上相关,可以与帧数相同或者是帧数的一半或三分之一等,具体在数学上的相关性根据实际情况而定,本发明对此不做限定。在一个示例性实施例中,作为拍摄设备的行车记录仪视频帧为25帧/S,则从移动终端接收到的每秒抓拍的目标次数为25,以得到视频中每秒播放的所有静态画面,降低有效图片的漏拍率。The mobile terminal accesses the server to download and install the server-side application, and sends the verification information to register with the server, and can register to the server by inputting the mobile terminal's mobile phone number. A mobile terminal capable of communicating with the server is loaded, and its current geographical location information is periodically sent to the server, and the server sends a snap instruction to the mobile terminal in the specific area. The mobile terminal receives the capture instruction sent by the server sending module 13 through the remote interface, and automatically sends the preset through the preset point-to-point transmission channel.
The snap command is sent to the driving recorder. In response to the capture command, the background recorder controls the current frame picture in the captured video data as the captured picture and automatically transmits it to the mobile terminal through the point-to-point transmission channel. The mobile terminal uploads the picture fed back by the driving recorder to the server through the 3G or 4G network, and in order to ensure the real-time performance of the picture transmission, the mobile terminal uploads the picture through the remote interface based on the real-time transmission protocol RTP. It should be noted that when the mobile terminal background service program uploads the image to the server, the communication interface of the mobile terminal may be attached, so that the server feeds back the capture control instruction based on the communication interface. The capture instruction for improving the capture frequency includes a target number of captures per second, and when the image is captured from the video data, the target number is mathematically related to the number of frames played per second in the video data, and may be related to the number of frames. The same or a half or a third of the number of frames, etc., the mathematical correlation is determined according to the actual situation, which is not limited by the present invention. In an exemplary embodiment, the driving recorder video frame as the photographing device is 25 frames/s, and the target number of captures per second received from the mobile terminal is 25, to obtain all static pictures played every second in the video. , reduce the missed rate of effective pictures.
进一步的,服务器图片接收模块14接收到移动终端反馈的图片后,依据预设的分级规则,分级模块15将图片分为不同级别;对于图片拍摄角度好或者清晰度高的图片归为特定级别,向提供该特定级别的图片的移动终端发送提高抓拍频率的抓拍指令。移动终端接收服务器端分级模块15反馈的表征提高抓拍频率的抓拍指令,控制行车记录仪提高其抓拍频率,以得到更多的拍摄角度好或者清晰度高的图片。Further, after receiving the picture fed back by the mobile terminal, the server picture receiving module 14 divides the picture into different levels according to a preset grading rule; and the picture with a good picture capturing angle or high definition is classified into a specific level, A capture instruction that increases the capture frequency is sent to the mobile terminal that provides the picture of the particular level. The mobile terminal receives the snapshot instruction that is improved by the server-side grading module 15 to improve the capture frequency, and controls the driving recorder to increase the capture frequency to obtain more pictures with good shooting angle or high definition.
综上所述,本发明中将移动终端本身、或者受移动终端控制的摄像设备作为可移动的监控用摄像设备,当服务器想要监查某一已发生或可能发生违法行为的特定地理区域的治安状况时,根据移动终端上传的当前地理位置,向位于该特定区域的多个移动终端的通信接口广播抓拍指令,服务器再接收移动终端反馈的响应于所述抓拍指令而获得的图片。利用可移动的移动终端作为摄像设备,远程控制该移动终端获取目标图片,便于全方位的监查违法行为,且不易被非法破坏,降低监控系统的建设成本、可靠性高、便于维护。In summary, in the present invention, the mobile terminal itself or the camera device controlled by the mobile terminal is used as a movable imaging device for monitoring, when the server wants to monitor a certain geographical area where an illegal behavior has occurred or may occur. In the security situation, according to the current geographic location uploaded by the mobile terminal, the capture instruction is broadcast to the communication interface of the plurality of mobile terminals located in the specific area, and the server receives the picture obtained by the mobile terminal in response to the capture instruction. The mobile terminal is used as the camera device to remotely control the mobile terminal to obtain the target picture, which is convenient for comprehensive monitoring of illegal behaviors, and is not easy to be illegally destroyed, thereby reducing the construction cost, high reliability and easy maintenance of the monitoring system.
在本发明的一个应用场景中,实施了本发明的技术方案的移动终端处于联网状态,能与实施了本发明所述技术方案的服务器之间通信;且该移动终端与作为拍摄设备的行车记录仪基于点对点传输通道建立连接,该行车记录仪处于开机状态安装在汽车上。移动终端上安装有APP,通过该APP能实现
与服务器端通信、控制行车记录仪抓拍图片等功能。移动终端上的APP运行在后台,定时将该终端的当前地理位置信息发送到服务器。服务器接收到需要侦查的地理信息,查找确定位于该地理信息所覆盖的范围的多个移动终端的IP地址,向多个IP地址广播图片抓拍指令;移动终端APP响应于所述抓拍指令,通过点对点传输通道发送抓拍指令给行车记录仪,行车记录仪在后台截取所拍摄视频的当前帧数据作为抓拍得到的图片,通过点对点传输通道反馈该图片给移动终端;移动终端APP在后台将接收到的图片通过远程接口上传到服务器端。服务器接收到该图片后,依据预设的分级规则,对接收到的目标图片进行分级处理,将目标图片归类为不同级别;并获取提供其中特定级别的图片的移动终端的IP地址,向该IP地址对应的移动终端发送表征提高抓拍频率的抓拍指令,所述表征提高抓拍频率的抓拍指令中包括每秒抓拍的目标次数,且从视频数据中抓拍得到图片时,该目标次数与视频数据中每秒播放的帧数相同;并向远程服务地址发送提高该移动终端的传输带宽的请求。移动终端APP响应于接收到的表征提高抓拍频率的抓拍指令,控制行车记录仪执行连续的抓拍,以得到更多的拍摄角度好或者清晰度高的图片,再将该图片传输给移动终端,移动终端APP通过远程接口上传所述图片到服务器。如此循环,服务器不断根据需要抓拍的地理位置的改变,实时对抓拍的图片分级和控制提供高质量图片的移动终端的抓拍频率。即有选择的控制移动终端抓拍得到更多符合目标场景的高质量图片,提高移动终端抓拍得到的图片中有效数据的比例,降低有效证据的漏拍率,便于事后违法取证。In an application scenario of the present invention, the mobile terminal that implements the technical solution of the present invention is in a networked state, and can communicate with a server that implements the technical solution of the present invention; and the mobile terminal and the driving record as a photographing device The instrument establishes a connection based on the point-to-point transmission channel, and the driving recorder is installed in the car at the power-on state. An APP is installed on the mobile terminal, and the APP can be implemented.
Communicate with the server, control the driving recorder to capture pictures and other functions. The APP on the mobile terminal runs in the background, and periodically sends the current geographical location information of the terminal to the server. The server receives the geographic information that needs to be detected, searches for the IP address of the plurality of mobile terminals that are located in the range covered by the geographic information, and broadcasts a picture capture instruction to the plurality of IP addresses; the mobile terminal APP passes the point-to-point response in response to the capture instruction. The transmission channel sends a capture command to the driving recorder, and the driving recorder intercepts the current frame data of the captured video as a captured image in the background, and feeds the image to the mobile terminal through the point-to-point transmission channel; the mobile terminal APP will receive the image in the background. Upload to the server through the remote interface. After receiving the image, the server performs hierarchical processing on the received target image according to a preset hierarchical rule, classifies the target image into different levels, and acquires an IP address of the mobile terminal that provides a specific level of the picture, to the The mobile terminal corresponding to the IP address sends a capture instruction that is characterized by increasing the capture frequency. The capture instruction that improves the capture frequency includes the target number of captures per second, and when the image is captured from the video data, the target number and the video data are captured. The number of frames played per second is the same; and a request to increase the transmission bandwidth of the mobile terminal is sent to the remote service address. The mobile terminal APP controls the driving recorder to perform continuous capturing in response to the received snapshot instruction that improves the capture frequency, to obtain more pictures with good shooting angle or high definition, and then transmits the picture to the mobile terminal, and moves The terminal APP uploads the picture to the server through a remote interface. In this cycle, the server constantly categorizes the captured images in real time according to the change of the geographical location that needs to be captured, and controls the capture frequency of the mobile terminal that provides high quality pictures. That is to say, the mobile terminal is selectively controlled to obtain more high-quality pictures in accordance with the target scene, and the proportion of valid data in the pictures captured by the mobile terminal is improved, and the missed rate of effective evidence is reduced, so that it is easy to collect evidence afterwards.
本发明的各个部件实施例可以以硬件实现,或者以在一个或者多个处理器上运行的软件模块实现,或者以它们的组合实现。本领域的技术人员应当理解,可以在实践中使用微处理器或者数字信号处理器(DSP)来实现根据本发明实施例的移动终端处理可视化图形编码中的一些或者全部部件的一些或者全部功能。本发明还可以实现为用于执行这里所描述的方法的一部分或者全部的设备或者装置程序(例如,计算机程序和计算机程序产品)。这样的实现本发明的程序可以存储在计算机可读介质上,或者可以具有一个或者多个信号的形式。这样的信号可以从因特网网站上下载得到,或者在载体信号上提供,或者以任何其他形式提供。The various component embodiments of the present invention may be implemented in hardware, or in a software module running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or digital signal processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components of the visual graphics encoding in accordance with embodiments of the present invention. The invention can also be implemented as a device or device program (e.g., a computer program and a computer program product) for performing some or all of the methods described herein. Such a program implementing the invention may be stored on a computer readable medium or may be in the form of one or more signals. Such signals may be downloaded from an Internet website, provided on a carrier signal, or provided in any other form.
例如,图5示出了可以实现根据本发明的文件加密方法及与该文件加密
的方法的智能电子设备。该智能电子设备传统上包括处理器710和以存储器720形式的计算机程序产品或者计算机可读介质。存储器720可以是诸如闪存、EEPROM(电可擦除可编程只读存储器)、EPROM、硬盘或者ROM之类的电子存储器。存储器720具有用于执行上述方法中的任何方法步骤的程序代码731的存储空间730。例如,用于程序代码的存储空间730可以包括分别用于实现上面的方法中的各种步骤的各个程序代码731。这些程序代码可以从一个或者多个计算机程序产品中读出或者写入到这一个或者多个计算机程序产品中。这些计算机程序产品包括诸如硬盘,紧致盘(CD)、存储卡或者软盘之类的程序代码载体。这样的计算机程序产品通常为如参考图6所述的便携式或者固定存储单元。该存储单元可以具有与图5的智能电子设备中的存储器720类似布置的存储段或者存储空间等。程序代码可以例如以适当形式进行压缩。通常,存储单元包括用于执行根据本发明的方法步骤的程序731’,即可以由例如诸如710之类的处理器读取的代码,这些代码当由智能电子设备运行时,导致该智能电子设备执行上面所描述的方法中的各个步骤。For example, FIG. 5 illustrates a file encryption method and encryption with the file according to the present invention.
The method of intelligent electronic devices. The intelligent electronic device conventionally includes a processor 710 and a computer program product or computer readable medium in the form of a memory 720. Memory 720 can be an electronic memory such as a flash memory, EEPROM (Electrically Erasable Programmable Read Only Memory), EPROM, hard disk, or ROM. Memory 720 has a memory space 730 for program code 731 for performing any of the method steps described above. For example, storage space 730 for program code may include various program code 731 for implementing various steps in the above methods, respectively. The program code can be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact disks (CDs), memory cards or floppy disks. Such computer program products are typically portable or fixed storage units as described with reference to FIG. The storage unit may have a storage section or a storage space or the like arranged similarly to the storage 720 in the intelligent electronic device of FIG. The program code can be compressed, for example, in an appropriate form. In general, the storage unit comprises a program 731' for performing the steps of the method according to the invention, ie code that can be read by a processor, such as 710, which, when run by the intelligent electronic device, causes the intelligent electronic device Perform the various steps in the method described above.
在此处所提供的说明书中,虽然说明了大量的具体细节。然而,能够理解,本发明的实施例可以在没有这些具体细节的情况下实践。在一些实施例中,并未详细示出公知的方法、结构和技术,以便不模糊对本说明书的理解。In the description provided herein, numerous specific details are set forth. However, it is understood that the embodiments of the invention may be practiced without these specific details. In some embodiments, well-known methods, structures, and techniques are not shown in detail so as not to obscure the understanding of the specification.
虽然上面已经示出了本发明的一些示例性实施例,但是本领域的技术人员将理解,在不脱离本发明的原理或精神的情况下,可以对这些示例性实施例做出改变,本发明的范围由权利要求及其等同物限定。
While some exemplary embodiments of the invention have been shown in the foregoing, the embodiments of the invention may The scope is defined by the claims and their equivalents.
Claims (38)
- 一种通过远程控制获取图片的方法,其特征在于,包括以下步骤:A method for acquiring a picture by remote control, comprising the steps of:接收包含地理信息的图片获取指令;Receiving an image acquisition instruction including geographic information;查找与地理信息匹配的多个移动终端通信接口;Finding a plurality of mobile terminal communication interfaces that match geographic information;向所述移动终端通信接口广播抓拍指令;Broadcasting a capture instruction to the mobile terminal communication interface;接收响应于所述抓拍指令而抓拍的图片。A picture captured in response to the snap instruction is received.
- 根据权利要求1所述的方法,其特征在于,在接收响应于所述抓拍指令而抓拍的图片的步骤之后,还包括步骤:The method according to claim 1, wherein after the step of receiving a picture captured in response to the snap instruction, the method further comprises the steps of:依据预设的分级规则,实时对接收到的图片按照清晰度或/和抓拍角度进行分级处理,将图片归类为不同级别;According to the preset grading rules, the received pictures are hierarchically processed according to the definition or/and the capture angle in real time, and the pictures are classified into different levels;根据特定级别的图片,获取上传该图片的移动终端通信接口,并向该通信接口发送表征提高抓拍频率的抓拍指令;Obtaining, according to a specific level of the picture, a mobile terminal communication interface that uploads the picture, and sending a snapshot instruction indicating that the capture frequency is increased to the communication interface;向远程服务地址发送提高该通信接口所对应的移动终端的传输带宽的请求。A request to increase the transmission bandwidth of the mobile terminal corresponding to the communication interface is sent to the remote service address.
- 根据权利要求2所述的方法,其特征在于,向远程服务地址发送提高该通信接口所对应的移动终端的传输带宽的请求的步骤中,包括:The method according to claim 2, wherein the step of transmitting a request for increasing a transmission bandwidth of the mobile terminal corresponding to the communication interface to the remote service address comprises:向特定号码以短信的形式发送提高所述通信接口所对应的移动终端的传输带宽的请求;其中所述特定号码符合网络运营商的规范。Sending a request for increasing the transmission bandwidth of the mobile terminal corresponding to the communication interface to the specific number in the form of a short message; wherein the specific number conforms to the specifications of the network operator.
- 根据权利要求2所述的方法,其特征在于,向远程服务地址发送提高该通信接口所对应的移动终端的传输带宽的请求的步骤中,包括:The method according to claim 2, wherein the step of transmitting a request for increasing a transmission bandwidth of the mobile terminal corresponding to the communication interface to the remote service address comprises:向远程服务器地址以指令的形式发送提高所述通信接口所对应的移动终端的传输带宽的请求;其中所述远程服务器地址符合网络运营商的规范。Sending a request to the remote server address in the form of an instruction to increase the transmission bandwidth of the mobile terminal corresponding to the communication interface; wherein the remote server address conforms to the specifications of the network operator.
- 根据权利要求2所述的方法,其特征在于:根据特定级别的图片,获取上传该图片的移动终端通信接口的步骤中,包括,The method according to claim 2, wherein the step of obtaining a communication interface of the mobile terminal for uploading the picture according to the picture of the specific level comprises:通过解析存储在所述图片的属性信息中的通信接口信息,以得到所述图片所对应的移动终端的通信接口。The communication interface information of the mobile terminal corresponding to the picture is obtained by parsing the communication interface information stored in the attribute information of the picture.
- 根据权利要求2所述的方法,其特征在于:根据特定级别的图片,获取上传该图片的移动终端通信接口的步骤中,包括: The method according to claim 2, wherein the step of obtaining a communication interface of the mobile terminal for uploading the picture according to the picture of the specific level comprises:通过解析存储有移动终端的通信接口的数据表,以得到所述图片对应的所述移动终端的通信接口,其中,该数据表与所述特定级别的图片相关联。A communication interface of the mobile terminal corresponding to the picture is obtained by parsing a data table storing a communication interface of the mobile terminal, wherein the data table is associated with the picture of the specific level.
- 根据权利要求2所述的方法,其特征在于:所述表征提高抓拍频率的抓拍指令中包括每秒抓拍的目标次数,且从视频数据中抓拍得到图片时,该目标次数与视频数据中每秒播放的帧数在数学上相关。The method according to claim 2, wherein the snapshot instruction for characterizing the capture frequency includes a target number of times per second of capture, and when the image is captured from the video data, the target number of times and the video data are per second. The number of frames played is mathematically related.
- 根据权利要求2所述的方法,其特征在于:所述预设的分级规则是指识别所述图片中的人脸数量,根据人脸数量的数值大小对其对应的图片分级;The method according to claim 2, wherein the preset grading rule refers to identifying the number of faces in the picture, and grading the corresponding picture according to the numerical value of the number of faces;其中人脸数量大于一预设阈值的对应图片归类为所述特定级别。A corresponding picture in which the number of faces is greater than a predetermined threshold is classified as the specific level.
- 根据权利要求2所述的方法,其特征在于:所述预设的分级规则是指识别所述图片的清晰度,根据清晰度的数值范围对其对应的图片分级;The method according to claim 2, wherein the predetermined grading rule refers to identifying the sharpness of the picture, and grading the corresponding picture according to the numerical range of the sharpness;其中清晰度大于一预设阈值的对应图片归类为所述特定级别。A corresponding picture in which the sharpness is greater than a predetermined threshold is classified as the specific level.
- 根据权利要求2所述的方法,其特征在于:所述预设的分级规则是指识别图片拍摄角度相对于目标场景的中轴线的偏移角,依据偏移角的数值大小对其对应的图片分级;其中,目标场景为图片中识别出的人脸数量大于一预设阈值的图片区域;The method according to claim 2, wherein the preset grading rule refers to an offset angle of the image capturing angle relative to the central axis of the target scene, and the corresponding image according to the magnitude of the offset angle The grading; wherein, the target scene is a picture area in which the number of faces identified in the picture is greater than a preset threshold;其中偏移角小于一预设阈值的对应图片归类为所述特定级别。The corresponding picture in which the offset angle is less than a preset threshold is classified as the specific level.
- 根据权利要求1所述的方法,其特征在于,The method of claim 1 wherein所述地理信息为地理区域信息或者为地点信息。The geographic information is geographic area information or location information.
- 根据权利要求11所述的方法,其特征在于,当所述地理信息为地点信息时,还包括步骤:以该地点信息为中心,以预设半径扩展该地点信息,形成地理区域信息。The method according to claim 11, wherein when the geographic information is location information, the method further comprises the step of: expanding the location information by a predetermined radius centering on the location information to form geographic area information.
- 根据权利要求1所述的方法,其特征在于,向所述移动终端通信接口广播抓拍指令的步骤中,具体包括:The method according to claim 1, wherein the step of broadcasting the capture instruction to the mobile terminal communication interface comprises:所述移动终端通信接口为IP地址;向该IP地址广播抓拍指令。The mobile terminal communication interface is an IP address; a capture instruction is broadcast to the IP address.
- 根据权利要求13所述的方法,其特征在于:所述抓拍指令封装在json或者xml格式的数据包中发送。The method according to claim 13, wherein the snap instruction is encapsulated in a data packet of json or xml format.
- 根据权利要求1所述的方法,其特征在于,向所述移动终端通信接口广播抓拍指令的步骤中,具体包括:所述移动终端通信接口为手机号码;向该手机号码发送抓拍指令。 The method according to claim 1, wherein the step of broadcasting the capture instruction to the mobile terminal communication interface comprises: the mobile terminal communication interface being a mobile phone number; and the capture instruction being sent to the mobile phone number.
- 根据权利要求15所述的方法,其特征在于:所述抓拍指令以短信的形式发送。The method of claim 15 wherein said snap command is sent in the form of a short message.
- 根据权利要求1所述的方法,其特征在于,查找与地理信息匹配的多个移动终端通信接口的步骤之前,还包括:The method according to claim 1, wherein before the step of searching for a plurality of mobile terminal communication interfaces that match the geographic information, the method further comprises:接收移动终端发送的当前地理位置信息并存储该位置信息于本地。Receiving current geographic location information sent by the mobile terminal and storing the location information locally.
- 根据权利要求1所述的方法,其特征在于,查找与地理信息匹配的多个移动终端通信接口的步骤之前,还包括步骤:The method according to claim 1, wherein before the step of finding a plurality of mobile terminal communication interfaces matching the geographic information, the method further comprises the steps of:接收移动终端发送的带有验证信息的验证请求;Receiving an authentication request with verification information sent by the mobile terminal;确定并保存已通过验证的移动终端的通信接口。Determine and save the communication interface of the verified mobile terminal.
- 一种服务器,其特征在于,包括有:A server, comprising:指令接收模块,用于接收包含地理信息的图片获取指令;An instruction receiving module, configured to receive a picture acquisition instruction that includes geographic information;查找模块,用于查找与地理信息匹配的多个移动终端通信接口;a search module, configured to find a plurality of mobile terminal communication interfaces that match the geographic information;发送模块,用于向所述移动终端通信接口广播抓拍指令;a sending module, configured to broadcast a capture instruction to the mobile terminal communication interface;图片接收模块,用于接收响应于所述抓拍指令而抓拍的图片。And a picture receiving module, configured to receive a picture captured in response to the snap instruction.
- 根据权利要求19所述的服务器,其特征在于:还包括有分级模块,The server according to claim 19, further comprising a grading module,所述分级模块,被配置为依据预设的分级规则,实时对接收到的图片按照清晰度或/和抓拍角度进行分级处理,将图片归类为不同级别;及The grading module is configured to classify the received pictures according to a definition or a capture angle according to a preset grading rule, and classify the pictures into different levels;被配置为根据特定级别的图片,获取上传该图片的移动终端通信接口,并向该通信接口发送表征提高抓拍频率的抓拍指令;及Configuring, according to a specific level of pictures, obtaining a mobile terminal communication interface for uploading the picture, and transmitting a capture instruction indicating that the capture frequency is increased to the communication interface; and被配置为向远程服务地址发送提高该通信接口所对应的移动终端的传输带宽的请求。A request is sent to send a transmission bandwidth that increases the mobile terminal corresponding to the communication interface to the remote service address.
- 根据权利要求20所述的服务器,其特征在于,所述分级模块还被配置为向特定号码以短信的形式发送提高所述通信接口所对应的移动终端的传输带宽的请求;其中所述特定号码符合网络运营商的规范。The server according to claim 20, wherein the grading module is further configured to send, in a short message form, a request for increasing a transmission bandwidth of the mobile terminal corresponding to the communication interface to a specific number; wherein the specific number Meet the specifications of the network operator.
- 根据权利要求20所述的服务器,其特征在于,所述分级模块还被配置为向远程服务器地址以指令的形式发送提高所述通信接口所对应的移动终端的传输带宽的请求;其中所述远程服务器地址符合网络运营商的规范。The server according to claim 20, wherein the grading module is further configured to send, in an instruction form, a request for increasing a transmission bandwidth of the mobile terminal corresponding to the communication interface to the remote server address; wherein the remote The server address conforms to the specifications of the network operator.
- 根据权利要求20所述的服务器,其特征在于,所述分级模块还被配 置为通过解析存储在所述图片的属性信息中的通信接口信息,以得到所述图片所对应的移动终端的通信接口。The server according to claim 20, wherein said grading module is further configured The communication interface information stored in the attribute information of the picture is parsed to obtain a communication interface of the mobile terminal corresponding to the picture.
- 根据权利要求20所述的服务器,其特征在于,所述分级模块还被配置为通过解析存储有移动终端的通信接口的数据表,以得到所述图片对应的所述移动终端的通信接口,其中,该数据表与所述特定级别的图片相关联。The server according to claim 20, wherein the grading module is further configured to obtain a communication interface of the mobile terminal corresponding to the picture by parsing a data table storing a communication interface of the mobile terminal, wherein The data table is associated with the particular level of picture.
- 根据权利要求20所述的服务器,其特征在于:所述表征提高抓拍频率的抓拍指令中包括每秒抓拍的目标次数,且从视频数据中抓拍得到图片时,该目标次数与视频数据中每秒播放的帧数在数学上相关。The server according to claim 20, wherein the snapshot instruction for characterizing the capture frequency includes a target number of times per second captured, and when the image is captured from the video data, the target number of times and the video data are per second. The number of frames played is mathematically related.
- 根据权利要求20所述的服务器,其特征在于:所述预设的分级规则是指识别所述图片中的人脸数量,根据人脸数量的数值大小对其对应的图片分级;The server according to claim 20, wherein the preset grading rule refers to identifying the number of faces in the picture, and grading the corresponding picture according to the numerical value of the number of faces;其中人脸数量大于一预设阈值的对应图片归类为所述特定级别。A corresponding picture in which the number of faces is greater than a predetermined threshold is classified as the specific level.
- 根据权利要求20所述的服务器,其特征在于:所述预设的分级规则是指识别所述图片的清晰度,根据清晰度的数值范围对其对应的图片分级;The server according to claim 20, wherein the preset grading rule refers to identifying the sharpness of the picture, and grading the corresponding picture according to the numerical range of the sharpness;其中清晰度大于一预设阈值的对应图片归类为所述特定级别。A corresponding picture in which the sharpness is greater than a predetermined threshold is classified as the specific level.
- 根据权利要求20所述的服务器,其特征在于:所述预设的分级规则是指识别图片拍摄角度相对于目标场景的中轴线的偏移角,依据偏移角的数值大小对其对应的图片分级;其中,目标场景为图片中识别出的人脸数量大于一预设阈值的图片区域;The server according to claim 20, wherein the preset grading rule refers to an offset angle of the image capturing angle relative to the central axis of the target scene, and the corresponding image according to the magnitude of the offset angle The grading; wherein, the target scene is a picture area in which the number of faces identified in the picture is greater than a preset threshold;其中偏移角小于一预设阈值的对应图片归类为所述特定级别。The corresponding picture in which the offset angle is less than a preset threshold is classified as the specific level.
- 根据权利要求19所述的服务器,其特征在于,The server according to claim 19, wherein所述地理信息为地理区域信息或者为地点信息。The geographic information is geographic area information or location information.
- 根据权利要求29所述的服务器,其特征在于,当所述地理信息为地点信息时,所述指令接收模块被配置为以该地点信息为中心,以预设半径扩展该地点信息,形成地理区域信息。The server according to claim 29, wherein when the geographic information is location information, the instruction receiving module is configured to expand the location information by a predetermined radius centering on the location information to form a geographic area. information.
- 根据权利要求19所述的服务器,其特征在于,当所述移动终端通信接口为IP地址;The server according to claim 19, wherein when said mobile terminal communication interface is an IP address;所述发送模块被配置为向该IP地址广播抓拍指令。The transmitting module is configured to broadcast a snap instruction to the IP address.
- 根据权利要求31所述的服务器,其特征在于:所述抓拍指令封装在 json或者xml格式的数据包中发送。The server according to claim 31, wherein said snap instruction is encapsulated in Sent in json or xml formatted packets.
- 根据权利要求19所述的服务器,其特征在于,当所述移动终端通信接口为手机号码;The server according to claim 19, wherein when said mobile terminal communication interface is a mobile phone number;所述发送模块被配置为向该手机号码发送抓拍指令。The sending module is configured to send a snap instruction to the mobile phone number.
- 根据权利要求33所述的服务器,其特征在于:所述抓拍指令以短信的形式发送。The server according to claim 33, wherein said snap instruction is transmitted in the form of a short message.
- 根据权利要求19所述的服务器,其特征在于:在查找与地理信息匹配的多个移动终端通信接口之前,所述查找模块还被配置为接收移动终端发送的当前地理位置信息并存储该位置信息于本地。The server according to claim 19, wherein said searching module is further configured to receive current geographic location information transmitted by the mobile terminal and store the location information before finding a plurality of mobile terminal communication interfaces that match the geographic information Local.
- 根据权利要求19所述的服务器,其特征在于,查找与地理信息匹配的多个移动终端通信接口之前,所述查找模块还被配置为接收移动终端发送的带有验证信息的验证请求;及The server according to claim 19, wherein the lookup module is further configured to receive a verification request with verification information sent by the mobile terminal before finding a plurality of mobile terminal communication interfaces that match the geographic information; and确定并保存已通过验证的移动终端的通信接口。Determine and save the communication interface of the verified mobile terminal.
- 一种计算机程序,包括计算机可读代码,当智能电子设备运行所述计算机可读代码时,导致权利要求1-18中的任一项权利要求所述的方法被执行。A computer program comprising computer readable code, when the intelligent electronic device runs the computer readable code, causing the method of any of claims 1-18 to be performed.
- 一种计算机可读介质,其中存储了如权利要求37所述的计算机程序。 A computer readable medium storing the computer program of claim 37.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510530863.4A CN105120159B (en) | 2015-08-26 | 2015-08-26 | The method and server of picture are obtained by remote control |
CN201510530863.4 | 2015-08-26 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2017031886A1 true WO2017031886A1 (en) | 2017-03-02 |
Family
ID=54668035
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2015/098793 WO2017031886A1 (en) | 2015-08-26 | 2015-12-24 | Method for obtaining picture by means of remote control, and server |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105120159B (en) |
WO (1) | WO2017031886A1 (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110852150A (en) * | 2019-09-25 | 2020-02-28 | 珠海格力电器股份有限公司 | Face verification method, system, equipment and computer readable storage medium |
CN111353979A (en) * | 2020-02-27 | 2020-06-30 | 成都恒创新星科技有限公司 | Mobile computer vision light spot detection and positioning method |
CN112132022A (en) * | 2020-09-22 | 2020-12-25 | 平安科技(深圳)有限公司 | Face snapshot framework, face snapshot method, device, equipment and storage medium |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105120159B (en) * | 2015-08-26 | 2018-03-13 | 北京奇虎科技有限公司 | The method and server of picture are obtained by remote control |
WO2017107109A1 (en) * | 2015-12-23 | 2017-06-29 | 张北江 | Method and system for collecting data of intelligent monitoring system |
CN108924451A (en) * | 2017-05-09 | 2018-11-30 | 高德信息技术有限公司 | A kind of image acquiring method and device |
CN107566458A (en) * | 2017-08-14 | 2018-01-09 | 维沃移动通信有限公司 | Preparation method, terminal, server and the computer-readable recording medium of photo |
CN110493508A (en) * | 2019-05-30 | 2019-11-22 | 福建知鱼科技有限公司 | A kind of capturing system |
CN110636337B (en) * | 2019-08-20 | 2021-08-17 | 腾讯科技(深圳)有限公司 | Video image intercepting method, device and system |
CN111050124B (en) * | 2019-11-21 | 2022-05-06 | 贵州电网有限责任公司 | System and method for optimizing remote image display based on vehicle shooting device |
CN114120473A (en) * | 2021-11-24 | 2022-03-01 | 奇瑞商用车(安徽)有限公司 | Image capturing and sharing system and method during vehicle driving |
CN117544762B (en) * | 2023-11-17 | 2024-04-19 | 广东信佰工程监理有限公司 | Project supervision method and system based on big data analysis |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103200366A (en) * | 2013-04-15 | 2013-07-10 | 中国联合网络通信集团有限公司 | Long-distance shooting control method, network server and terminal equipment |
CN103327122A (en) * | 2013-07-11 | 2013-09-25 | 北京信息科技大学 | Intelligent remote monitoring system |
US20140136098A1 (en) * | 2012-11-14 | 2014-05-15 | Navteq B.V. | Automatic image capture |
CN104301777A (en) * | 2014-10-24 | 2015-01-21 | 杭州大穿越旅游策划有限公司 | System and method for automatically obtaining image and pushing image to corresponding intelligent terminal in time |
CN105120159A (en) * | 2015-08-26 | 2015-12-02 | 北京奇虎科技有限公司 | Method for obtaining pictures via remote control and server |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130198829A1 (en) * | 2011-08-08 | 2013-08-01 | Advanced Video Communications, Inc. | System to retrieve and distribute images in real time |
CN104750067B (en) * | 2015-02-11 | 2018-05-15 | 上海市政工程设计研究总院(集团)有限公司 | A kind of traffic accident long-distance management device and its control method |
-
2015
- 2015-08-26 CN CN201510530863.4A patent/CN105120159B/en active Active
- 2015-12-24 WO PCT/CN2015/098793 patent/WO2017031886A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140136098A1 (en) * | 2012-11-14 | 2014-05-15 | Navteq B.V. | Automatic image capture |
CN103200366A (en) * | 2013-04-15 | 2013-07-10 | 中国联合网络通信集团有限公司 | Long-distance shooting control method, network server and terminal equipment |
CN103327122A (en) * | 2013-07-11 | 2013-09-25 | 北京信息科技大学 | Intelligent remote monitoring system |
CN104301777A (en) * | 2014-10-24 | 2015-01-21 | 杭州大穿越旅游策划有限公司 | System and method for automatically obtaining image and pushing image to corresponding intelligent terminal in time |
CN105120159A (en) * | 2015-08-26 | 2015-12-02 | 北京奇虎科技有限公司 | Method for obtaining pictures via remote control and server |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110852150A (en) * | 2019-09-25 | 2020-02-28 | 珠海格力电器股份有限公司 | Face verification method, system, equipment and computer readable storage medium |
CN110852150B (en) * | 2019-09-25 | 2022-12-20 | 珠海格力电器股份有限公司 | Face verification method, system, equipment and computer readable storage medium |
CN111353979A (en) * | 2020-02-27 | 2020-06-30 | 成都恒创新星科技有限公司 | Mobile computer vision light spot detection and positioning method |
CN111353979B (en) * | 2020-02-27 | 2023-10-17 | 成都恒创新星科技有限公司 | Mobile computer vision facula detection positioning method |
CN112132022A (en) * | 2020-09-22 | 2020-12-25 | 平安科技(深圳)有限公司 | Face snapshot framework, face snapshot method, device, equipment and storage medium |
CN112132022B (en) * | 2020-09-22 | 2023-09-29 | 平安科技(深圳)有限公司 | Face snapshot architecture and face snapshot method, device, equipment and storage medium thereof |
Also Published As
Publication number | Publication date |
---|---|
CN105120159B (en) | 2018-03-13 |
CN105120159A (en) | 2015-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017031886A1 (en) | Method for obtaining picture by means of remote control, and server | |
US11218670B2 (en) | Video-based data collection, image capture and analysis configuration | |
US11303967B2 (en) | Scrub and playback of video buffer over wireless | |
EP3714549B1 (en) | Secured pairing of video capture device and mobile device | |
US20190332522A1 (en) | Microservice platform with messaging system | |
WO2017028445A1 (en) | On-the-way target image search method, terminal, and system | |
US11082731B1 (en) | Privacy-preserving video analytics | |
US11823539B2 (en) | High-priority event generation and reporting for camera-based security system | |
Rao et al. | Surveillance camera using IOT and Raspberry Pi | |
CN105282505A (en) | Video data transmission method and device | |
US11416542B1 (en) | System and method for uploading still images of matching plates in response to an alert hit list using distributed LPR acquisition | |
KR102054930B1 (en) | Method and apparatus for sharing picture in the system | |
CN113592003B (en) | Picture transmission method, device, equipment and storage medium | |
US20210377580A1 (en) | Live or local environmental awareness | |
KR101491638B1 (en) | Method and apparatus for providing contents according to network type | |
US11531613B1 (en) | Systems for remote determination of data from test devices | |
US12014612B2 (en) | Event detection, event notification, data retrieval, and associated devices, systems, and methods | |
Patel et al. | A survey on location based application development for Android platform | |
CN113162899A (en) | Application platform system, method and device for realizing system intelligent law enforcement based on 5G communication, processor and storage medium thereof | |
KR20210059476A (en) | Supporting apparatus for object tracing, and control method thereof | |
Alshami et al. | Vehicle as a Witness using Video Capturing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15902154 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 15902154 Country of ref document: EP Kind code of ref document: A1 |