Beidou camera video stream transmission method and device
By superimposing QR code pictures in the camera video stream to transmit camera association information, the identification error and compatibility problems of video stream transmission in the prior art are solved, and higher recognition accuracy and synchronization are achieved, and information is improved. Confidentiality.
Patent Information
- Application Number
- CN202411225826.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-03
- Publication Date
- 2024-12-03
AI Technical Summary
In the existing camera video streaming method, the overlap of strong light and text in the video image or the overlap of the same color of the text leads to OCR recognition errors, poor transmission method compatibility, poor synchronization, and complicated process.
The camera association information is obtained through satellite signals or built-in pulse signals, and the QR code encoding module is used to generate QR code pictures and superimpose them in the video stream to transmit. The background server intercepts and decodes the information to obtain, and supports encryption algorithms to improve confidentiality.
It improves the accuracy of identification of parameter information, enhances compatibility and synchronization, avoids the complexity caused by error information and separate transmission, and ensures the real-time and confidentiality of information.
Smart Images

Figure CN119071407A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to a camera device, and more particularly to a Beidou camera video stream transmission method and device. Background Art
[0002] Cameras are a common means of video surveillance in various occasions. The latitude and longitude information, real-time time information, etc. of the camera can be superimposed on the video stream transmitted by the camera, which is convenient for subsequent comparative analysis of the surveillance video. The traditional OSD subtitle superposition method is to directly superimpose the received latitude and longitude information, time and other text information on the video image. When the backend server receives the video image, it can directly obtain relevant information through text OCR recognition. However, there may be strong light overlapping with the superimposed text in the video image, or scene objects of the same color as the text overlapping with the text. In this way, the backend server will misidentify the text when OCR is recognized, and an unusable error message will be obtained. Another way to transmit relevant parameter information in the video stream is to add the relevant parameter information to the frame header file of the video stream in a pre-coded form. The compatibility of this transmission method is not good enough, because the video stream after changing the frame header file is different from the standard video stream. Not all backend servers can support this modified video stream, which will bring compatibility problems, resulting in the backend server sometimes being unable to successfully obtain these parameter information. Another way is to transmit relevant parameter information in the form of web page CGI, and transmit the relevant parameter information to the background server through the network. The background server then obtains it through CGI. In this way, the parameter information is separated from the video stream, and the two may be out of sync. It is also relatively troublesome and complicated for the background server to obtain and analyze these relevant parameter information. Summary of the invention
[0003] The purpose of this application is to overcome the above-mentioned deficiencies of the prior art and to provide a Beidou camera video stream transmission method and device with better compatibility and better synchronization, so as to improve the accuracy of identifying relevant parameter information.
[0004] To achieve the above-mentioned purpose, the present application adopts the following technical solutions: a Beidou camera video stream transmission method, comprising the following steps: the camera receives the satellite signal sent by the positioning satellite, obtains the PPS second pulse signal from the satellite signal, or the camera generates a built-in pulse signal by itself; obtains the associated information related to the camera at each rising edge of the PPS second pulse signal / built-in pulse signal, or obtains the associated information related to the camera at a set frequency in the stage between two adjacent rising edges of the PPS second pulse signal / built-in pulse signal; the QR code encoding module encodes the acquired associated information to generate at least one QR code image; the QR code image is superimposed on the corresponding image frame, and the formed video stream is transmitted to the background server; the background server captures the QR code image from the image frame, and the QR code decoding module decodes the QR code image to obtain the corresponding associated information.
[0005] In an optional solution, the camera encrypts the acquired associated information to obtain encrypted associated information, the QR code encoding module encodes the encrypted associated information to generate at least one QR code image; the QR code decoding module decodes the QR code image to obtain encrypted associated information, and decrypts the encrypted associated information to obtain associated information. The encryption algorithm of the associated information is a national secret algorithm.
[0006] In an optional scheme, if associated information is obtained at each rising edge of the PPS second pulse signal / built-in pulse signal, the QR code image generated according to the associated information obtained each time is superimposed on all image frames before the next rising edge; if associated information is obtained at a set frequency in the stage between two adjacent rising edges of the PPS second pulse signal / built-in pulse signal, the QR code image generated according to the acquired associated information is superimposed on the image frame before the next QR code image is generated.
[0007] In an optional solution, the associated information includes the camera's latitude and longitude information, the number of satellites, the altitude, the angle between the camera's direction and the true north direction, the camera's pitch angle, roll angle, real-time speed, the real-time time of satellite timing, and the lens module magnification. Or the associated information includes the camera's pitch angle, roll angle, the real-time time of the backend server timing, and the lens module magnification. The camera is fixedly mounted on a pan-tilt head, and the associated information also includes the real-time absolute coordinate value of the pan-tilt head's horizontal motor and the real-time absolute coordinate value of the pan-tilt head's vertical motor.
[0008] In an optional solution, the camera has two positioning antennas, which are arranged front and back along the axis of the camera lens. The angle between the direction of the camera and the north direction is the angle between the line between the two positioning antennas and the north direction.
[0009] In an optional solution, when the camera recognizes an abnormality in the monitoring screen, the QR code image style superimposed in the image frame corresponding to the abnormal monitoring screen is changed to a preset warning style. When the backend server parses the QR code image, it recognizes the warning style of the QR code image, and the backend server pushes the associated information parsed from the QR code image to the display terminal or handheld terminal.
[0010] The present invention also provides an electronic device, comprising: a processing unit; and a memory, wherein computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the processing unit, the above video stream transmission method is implemented.
[0011] The present invention also provides a computer-readable storage medium, on which is stored a program product capable of implementing the above video stream transmission method.
[0012] The beneficial effects of the present application compared with the prior art are: the camera-related information is obtained regularly through the PPS second pulse of the satellite signal or the built-in pulse signal, and the related information is then encoded into a QR code image, which is superimposed on the video stream for transmission. The background server intercepts the QR code image in the image frame of the video stream for decoding to obtain accurate related information, thereby improving recognition accuracy and avoiding unusable erroneous information. By transmitting the camera's related information by superimposing the QR code image, the frame header file of the video stream does not need to be changed, so the technical solution of the present application has relatively better compatibility. Furthermore, the QR code image obtained by real-time encoding is superimposed on the corresponding image frame, and there is no situation where the two are out of sync, so the synchronization of the technical solution of the present application is better.
[0013] The technical solution of the present application superimposes the QR code into the real-time image frame generated by the camera. Each real-time image frame is transmitted in real time, and the image frame contains some parameter information related to the camera. One image frame presents the actual scene image captured and the corresponding associated information, which is convenient for subsequent evidence collection, tracing, and analysis. In addition, the associated information encoded in the QR code image can be encrypted, and the confidentiality is relatively good. In the case of unknown keys and encryption algorithms, the corresponding correct associated information cannot be obtained even if the QR code image is leaked, that is, the specific associated information will not be leaked, that is, the relevant parameter information of the camera and positioning satellite will not be easily leaked.
[0014] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the following preferred embodiments are specifically cited and described in detail as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1Schematic diagram of the satellite, camera and backend server for this application.
[0016] Figure 2 This is a flow chart of the video stream transmission method of this application.
[0017] Figure 3 Schematic diagram of pulse waveform.
[0018] Figure 4 This is the module connection block diagram of the camera.
[0019] It should be noted that the products shown in the above views have been appropriately reduced / enlarged to suit the size of the drawings and for clarity of the views, and there is no restriction on the size of the products shown in the views. DETAILED DESCRIPTION
[0020] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the embodiments set forth herein. Instead, these embodiments are provided so that the disclosure will be comprehensive and complete and the concepts of the example embodiments will be fully conveyed to those skilled in the art. The same reference numerals in the figures represent the same or similar parts, and thus their repeated description will be omitted.
[0021] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0022] This embodiment is a Beidou camera video stream transmission method. Figure 1 As shown, the camera 10 involved in the video stream transmission method is a satellite positioning camera that can receive satellite 30 signals, and the accurate time and latitude, longitude, altitude and other information can be determined through the satellite 30 signals. Figure 1 As shown, there are multiple cameras 10, all of which are connected to the backend server 20, and the video stream is transmitted to the backend server 20 for storage, monitoring, tracing and analysis, etc. The camera 10 can be used in a variety of scenarios, such as in public places with a large number of people such as railway stations, or in mountainous areas prone to geological disasters, or in moving vehicles.
[0023] like Figure 2As shown, the video stream transmission method of the embodiment includes the following steps: step S1, the camera receives the satellite signal sent by the Beidou satellite, obtains the PPS second pulse signal from the satellite signal, or the camera generates a built-in pulse signal; step S2, obtains the associated information related to the camera at each rising edge of the PPS second pulse signal / built-in pulse signal, or obtains the associated information related to the camera according to the set frequency in the stage between two adjacent rising edges of the PPS second pulse signal / built-in pulse signal; step S3, the two-dimensional code encoding module encodes the acquired associated information to generate at least one two-dimensional code picture; step S4, superimposes the two-dimensional code picture on the corresponding image frame, and the formed video stream is transmitted to the background server; step S5, the background server intercepts the two-dimensional code picture from the image frame, and the two-dimensional code decoding module decodes the two-dimensional code picture to obtain the associated information corresponding to the image frame.
[0024] The technical solution of steps S1 to S5 obtains camera-related information in a timely manner through the PPS second pulse of the satellite signal or the built-in pulse signal, and then encodes the related information into a QR code image, which is superimposed on the video stream for transmission. The background server intercepts the QR code image in the image frame of the video stream for decoding to obtain accurate related information, thereby improving the recognition accuracy of the method and avoiding obtaining unusable error information.
[0025] Before step S1, the camera first detects the satellite signal reception strength. If the reception strength is continuously zero or lower than the threshold, the camera is considered to be indoors, and the camera generates a built-in pulse signal and uses the built-in pulse signal for clock synchronization. If the satellite signal reception strength is higher than the threshold, the camera is considered to be outdoors, and the camera can use the PPS second pulse signal in the satellite signal for clock synchronization.
[0026] In step S1, when the camera is outdoors and can receive satellite signals, each camera receives the satellite signal sent by the positioning satellite and obtains the PPS second pulse signal from the satellite signal. The camera of the embodiment is a Beidou camera. After searching for a sufficient number of Beidou positioning satellites, the camera can be accurately positioned. The camera obtains the PPS second pulse signal from the data received by the Beidou positioning satellite. The PPS second pulse signal is a pulse waveform that appears at the beginning of each second of the precise time, and only one pulse appears per second. Therefore, there will be a rising edge 90 at the beginning of each second, such as Figure 3 As shown, the PPS second pulse signal can indicate the time interval of a whole second to achieve clock synchronization.
[0027] In step S2, if Figure 3As shown, the associated information related to the camera is obtained at each rising edge 90 of the PPS second pulse signal. The rising edges 90 of adjacent PPS second pulse signals are 1 second apart, so the associated information related to the camera is obtained every second. The surveillance images captured by the camera may change frequently. If the associated information is updated more frequently, the camera workload will increase, the camera heat will increase, and thus the service life of the camera will be affected. Therefore, the associated information of the camera is obtained and updated every 1 second to avoid excessive camera workload and avoid missing too much changing associated information.
[0028] In some embodiments, the associated information includes the camera's latitude and longitude information, the number of satellites, the altitude, the angle between the camera's direction and the north direction, the camera's pitch angle, roll angle, real-time speed, real-time time, and lens module magnification. The number of positioning satellites that can effectively receive signals found by the camera is the number of satellites. When the number of positioning satellites found by the camera is sufficient, the camera's latitude and longitude information, altitude, real-time speed, and real-time time can be obtained. If the camera itself is completely fixed and inactive, such as a camera that is completely fixed and installed in a public place, the camera's real-time speed is always zero or close to zero, and the camera's real-time speed may not be included in the associated information. The camera is equipped with a gyroscope, and the camera's roll angle and pitch angle can be measured by the gyroscope.
[0029] like Figure 4 As shown, the camera 10 includes a main control unit 11, a lens module 13 and a positioning module 12, and the main control unit 11 is electrically connected to the lens module 13 and the positioning module 12 respectively. The magnification of the lens module 13 refers to the lens zoom factor, and the magnification of the lens module 13 is equal to the magnification of the picture taken by the lens module 13. The camera 10 of the embodiment is equipped with two positioning antennas, and the positioning module 12 is electrically connected to the two positioning antennas. The two positioning antennas are arranged front and back along the axis of the lens of the camera 10. The angle between the line between the two positioning antennas and the north direction can be calculated through the positioning module 12, and the angle between the direction of the camera 10 and the north direction is the angle between the line between the two positioning antennas and the north direction, that is, the specific direction of the lens of the camera 10 is obtained. In addition, as Figure 1 As shown, the camera 10 is fixedly mounted on a pan / tilt 40, and the associated information also includes the real-time absolute coordinate value of the horizontal motor of the pan / tilt 40 and the real-time absolute coordinate value of the vertical motor of the pan / tilt 40. These two values are used to obtain the posture data of the camera in real time, so as to quickly adjust the camera to a specified horizontal / vertical position and enhance real-time work efficiency. Figure 4 As shown, the pan-tilt platform 40 is also electrically connected to the main control unit 11 of the camera 10 , and the pan-tilt platform 40 obtains corresponding values and transmits them to the main control unit 11 of the camera 10 .
[0030] In step S3, the built-in QR code encoding module of the camera encodes the acquired associated information to generate at least one QR code image. During implementation, the associated information acquired once can be packaged to generate only one QR code image, and the background of the QR code image is set to be opaque to avoid the QR code and the content of the image frame from overlapping and affecting the recognition success rate. The QR code encoding module can set the background color of the QR code image as needed to make corresponding prompts or warnings. In some embodiments, the camera can encrypt the acquired associated information to obtain encrypted associated information, and the encryption algorithm of the associated information can adopt a national secret algorithm, such as the SM2 national secret algorithm. The encrypted associated information needs to be decrypted by the corresponding key to obtain the corresponding associated information. The encryption method avoids the direct leakage of the associated information after decoding the QR code image, thereby improving the confidentiality of the associated information transmitted by the QR code image. After the associated information is encrypted, the QR code encoding module encodes the encrypted associated information to generate one or more QR code images. If more than one QR code image is superimposed on the same image frame, the associated information or the encrypted associated information can be divided into a corresponding number of strings, and then these strings are respectively generated into corresponding QR code images.
[0031] If the associated information is obtained at each rising edge of the PPS second pulse signal, in step S4, the two-dimensional code picture generated according to the associated information obtained each time is superimposed on all image frames before the next rising edge, and the formed video stream is transmitted to the background server. In the waveform of the PPS second pulse signal, a pulse waveform with a length of less than 1 second appears at the beginning of each second of the precise time, and only one rising pulse appears per second, so each rising edge represents the beginning of the second, and the next rising edge represents the end of the previous second. Multiple image frames will be shot every second, for example, the frame rate of the video is 25fps, which means that 25 image frames will be generated every second, and the two-dimensional code pictures generated according to the associated information obtained this time are superimposed on these 25 image frames respectively. The two-dimensional code picture can be selected to be superimposed on any of the four corners of the image frame to avoid the two-dimensional code picture from blocking the middle key area of the image frame. The image frames superimposed with the two-dimensional code picture are combined together to form a video stream, and the video stream is transmitted to the background server by the camera. In other embodiments, if the associated information is acquired at a set frequency between two adjacent rising edges of the PPS pulse per second signal, the two-dimensional code image generated according to the acquired associated information is superimposed on the image frame before the next two-dimensional code image is generated. For example, if there are 25 image frames per second, the frequency of acquiring the associated information may be 5 times per second, the two-dimensional code image generated by the acquired associated information is superimposed on 5 image frames, and the next generated two-dimensional code image is superimposed on the next 5 image frames, and so on.
[0032] In other embodiments, in step S1, if the camera cannot receive the positioning satellite signal, that is, cannot obtain the PPS second pulse signal, for example, when the camera is in an indoor place, in this case, the camera generates a built-in pulse signal in step S1, for example, the built-in pulse signal can be generated by the camera according to the internal real-time clock source, and can also generate a synchronization pulse according to the real-time time reference provided by the background server received by the camera. The built-in pulse signal is used for clock synchronization, and the frequency and high-level duration of the built-in pulse signal can be adjusted according to actual needs. When obtaining the associated information in step S2, the associated information related to the camera is obtained at each rising edge of the built-in pulse signal, or the associated information related to the camera is obtained at the stage between two adjacent rising edges of the built-in pulse signal according to the set frequency. For example, the rising edges of the built-in pulse signal are separated by 100ms, and obtaining the associated information at the rising edge means obtaining the associated information once every 100ms. For another example, the time length between two adjacent rising edges of the built-in pulse signal is 1 second, and the set frequency is 25 times per second, then the associated information is obtained once every 40ms. When the camera cannot receive the positioning satellite signal, the associated information and information related to satellite positioning cannot be obtained. At this time, the associated information includes the camera's pitch angle, roll angle, real-time time, lens module magnification, pan / tilt horizontal motor real-time absolute coordinate value, and pan / tilt vertical motor real-time absolute coordinate value. In specific implementation, if the associated information is obtained at each rising edge of the built-in pulse signal, the corresponding generated QR code image is superimposed on all image frames before the next rising edge. For example, if the rising edge is at 10:25:30:000 milliseconds, then the QR code image generated at this time is correspondingly superimposed on all image frames between 10:25:30:000 milliseconds and 10:25:30:999 milliseconds. In another way, if the associated information is obtained according to the set frequency in the stage between two adjacent rising edges of the built-in pulse signal, the QR code image is superimposed on the image frame before the next QR code image is generated. For example, the set frequency for obtaining related information is 5 times per second, and the interval between the generation of the previous and next two QR code images is 200ms. Therefore, the corresponding generated QR code image is superimposed on all image frames generated within these 200ms, and the next generated QR code image is superimposed on all image frames generated within the subsequent 200ms, and so on.
[0033] In step S5, the backend server intercepts a two-dimensional code image from the image frame of the video stream. When the two-dimensional code image is superimposed at a fixed position of the image frame, the backend server only intercepts the corresponding two-dimensional code image in the preset fixed position of the image frame, and the two-dimensional code images appearing in other positions of the image frame will be ignored. Even if the camera captures other two-dimensional code graphics in the scene and there are other two-dimensional code images in the generated image frame, the backend server will not intercept the wrong two-dimensional code image, avoiding decoding the wrong two-dimensional code. After intercepting the two-dimensional code image in the image frame, the two-dimensional code decoding module in the backend server decodes the two-dimensional code image and obtains the associated information corresponding to the image frame, that is, obtains various real-time information of the corresponding camera when shooting the image frame, which is helpful for the subsequent retrospective analysis of the video stream or image frame. In some embodiments, if the associated information when generating the two-dimensional code image is encrypted associated information, the two-dimensional code decoding module will obtain the encrypted associated information after decoding the two-dimensional code image. At this time, it is necessary to use the corresponding key to decrypt the encrypted associated information to obtain the associated information.
[0034] In some embodiments, when the camera is monitoring, the camera will synchronously identify whether there is any abnormality in the monitoring screen. For example, the surveillance camera in a public place performs real-time face recognition to monitor whether there are suspicious people in the area. At this time, the monitoring screen can be automatically calculated and closed-loop adjusted according to the magnification of the lens module and the posture parameter information of the camera. At the same time, the direction of the camera can be quickly adjusted according to the absolute coordinate values of the horizontal motor (X axis) and the vertical motor (Y axis) of the pan / tilt, so that the camera can quickly and continuously automatically track the suspicious person in the picture, and automatically track the shooting picture through the background server AI face recognition to quickly obtain the identification result. For example, the surveillance camera in the mountainous area performs natural disaster identification to monitor whether natural disasters occur in the area, and the surveillance camera on the road performs accident identification. The camera can identify these abnormalities through existing conventional image comparison and recognition methods, which will not be repeated here.
[0035] In some embodiments, when the camera recognizes that an abnormality occurs in the monitoring screen, the style of the QR code image superimposed in the image frame corresponding to the monitoring screen where the abnormality occurs is changed to a preset warning style, such as the background color of the QR code image is changed to red / yellow. The preset warning style is not limited to the above examples, and the preset warning style can be set according to actual needs. In some embodiments, the backend server identifies the warning style of the QR code image when parsing the QR code image, and the backend server pushes the associated information parsed from the QR code image to the display terminal or handheld terminal. For example, the backend server recognizes that the background color of the QR code image is red / yellow, and the backend server sends the corresponding associated information to the handheld terminal / display terminal of the relevant personnel, so that the relevant personnel can immediately understand the time, location and specific screen conditions of the abnormal situation through these associated information and the corresponding video stream, and can make corresponding responses in time.
[0036] Attached Figure 4 The block diagrams shown in the figure are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or these functional entities or parts of these functional entities may be implemented in one or more software hardened modules, or these functional entities may be implemented in different networks and / or processing unit devices and / or microcontroller devices.
[0037] In addition, in an embodiment of the present application, an electronic device capable of implementing the above-mentioned camera video stream transmission method is also provided. The electronic device is in the form of a general-purpose computing device. The components of the electronic device may include, but are not limited to: at least one processing unit and at least one storage unit. Among them, the storage unit stores a program code, and the program code can be executed by the processing unit, so that the processing unit performs the steps of the various exemplary embodiments described in the above part of this specification.
[0038] The storage unit may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) and / or a cache storage unit, and may further include a read-only storage unit (ROM). The storage unit may also include a program / utility having a set (at least one) of program modules, such program modules including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include the implementation of a network environment.
[0039] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by combining software with hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.
[0040] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the camera video stream transmission method described above in this specification is stored. In some possible embodiments, various aspects of the present application can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to perform the steps of the various exemplary embodiments described in the above part of this specification. In the present application, a readable storage medium can be any tangible medium containing or storing a program, which can be used by or in combination with an instruction execution system, an apparatus or a device.
[0041] The program product can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. The program code contained on the readable medium can be transmitted with any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.
[0042] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present application, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.
[0043] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary technical means in the art that are not disclosed in the present disclosure. The specification and embodiments are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are indicated by the claims.
[0044] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A Beidou camera video stream transmission method, characterized in that: The following steps are involved: The camera receives a satellite signal sent by a positioning satellite and obtains a PPS second pulse signal from the satellite signal; or the camera generates a built-in pulse signal; Get the camera-related information at each rising edge of the PPS pulse signal / built-in pulse signal; Or, in the phase between two adjacent rising edges of the PPS pulse-per-second signal / built-in pulse signal, the associated information related to the camera is obtained according to the set frequency; The QR code encoding module encodes the acquired associated information to generate at least one QR code image; The QR code image is superimposed on the corresponding image frame, and the resulting video stream is transmitted to the backend server; The backend server captures a two-dimensional code image from the image frame, and the two-dimensional code decoding module decodes the two-dimensional code image to obtain the corresponding associated information.
2. The Beidou camera video stream transmission method as claimed in claim 1, characterized in that: The camera encrypts the acquired associated information to obtain encrypted associated information, and the QR code encoding module encodes the encrypted associated information to generate at least one QR code image; the QR code decoding module decodes the QR code image to obtain encrypted associated information, and decrypts the encrypted associated information to obtain associated information.
3. The Beidou camera video stream transmission method as described in claim 2, characterized in that: The encryption algorithm of the associated information is a national secret algorithm.
4. The Beidou camera video stream transmission method as claimed in claim 1, characterized in that: If the associated information is obtained at each rising edge of the PPS pulse-per-second signal / built-in pulse signal, the two-dimensional code image generated according to the associated information obtained each time is superimposed on all image frames before the next rising edge; If the associated information is obtained at a set frequency between two adjacent rising edges of the PPS second pulse signal / built-in pulse signal, the two-dimensional code image generated according to the obtained associated information is superimposed on the image frame before the next two-dimensional code image is generated.
5. The Beidou camera video stream transmission method as described in any one of claims 1-4, characterized in that: The associated information includes the camera's latitude and longitude information, the number of satellites, the altitude, the angle between the camera's direction and the north direction, the camera's pitch angle, roll angle, real-time speed, real-time time of satellite timing, and the magnification of the lens module; or the associated information includes the camera's pitch angle, roll angle, real-time time of background server timing, and the magnification of the lens module.
6. The Beidou camera video stream transmission method as claimed in claim 5, characterized in that: The camera has two positioning antennas, which are arranged front and back along the axis of the camera lens. The angle between the direction of the camera and the north direction is the angle between the line between the two positioning antennas and the north direction.
7. The Beidou camera video stream transmission method as claimed in claim 5, characterized in that: The camera is fixedly mounted on a pan-tilt platform, and the associated information also includes the real-time absolute coordinate value of the horizontal motor of the pan-tilt platform and the real-time absolute coordinate value of the vertical motor of the pan-tilt platform.
8. The Beidou camera video stream transmission method as claimed in claim 1, characterized in that: When the camera recognizes that an abnormality occurs in the monitoring screen, the QR code image style superimposed in the image frame corresponding to the monitoring screen where the abnormality occurs is changed to a preset warning style; The backend server identifies the warning style of the QR code image when parsing the QR code image, and pushes the associated information parsed from the QR code image to the display terminal or the handheld terminal.
9. An electronic device, characterized in that: include: Processing unit; as well as A storage unit having computer-readable instructions stored thereon, wherein the computer-readable instructions, when executed by the processing unit, implement the method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: The storage medium stores a program product capable of implementing the method according to any one of claims 1 to 8.
