CN114268757A - Real-time positioning video generation method - Google Patents

Real-time positioning video generation method Download PDF

Info

Publication number
CN114268757A
CN114268757A CN202111600922.2A CN202111600922A CN114268757A CN 114268757 A CN114268757 A CN 114268757A CN 202111600922 A CN202111600922 A CN 202111600922A CN 114268757 A CN114268757 A CN 114268757A
Authority
CN
China
Prior art keywords
video
information
positioning
transformation
terminal equipment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111600922.2A
Other languages
Chinese (zh)
Inventor
余涛
赵亚萌
雷国业
臧文乾
黄祥志
吴增巍
王更科
王栋
陈宇
何茜
张树凡
赵会军
于海涵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongke Xingtong Langfang Information Technology Co ltd
Original Assignee
Zhongke Xingtong Langfang Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongke Xingtong Langfang Information Technology Co ltd filed Critical Zhongke Xingtong Langfang Information Technology Co ltd
Priority to CN202111600922.2A priority Critical patent/CN114268757A/en
Publication of CN114268757A publication Critical patent/CN114268757A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application discloses a real-time positioning video generation method. The method comprises the following steps: receiving an information carrier and attribute information of the information carrier sent by terminal equipment; the attribute information is obtained by analyzing the information carrier by the terminal equipment; extracting longitude and latitude information from the attribute information; sending longitude and latitude information to a video server; receiving a view transformation positioning video; determining an initial position of the visual angle transformation positioning video by the video server according to the longitude and latitude information, and recording by taking the drawing completion moment of the initial position as a recording time starting point; judging the type of the information carrier, and if the information carrier is a photo, combining the photo and the view angle conversion positioning video to obtain a target video; if the information carrier is not a photo, the visual angle conversion positioning video is the target video; storing the target video into a database, and extracting a video link generated by the database; sending the video link to the terminal device; the purposes of positioning three-dimensional display effect and high universality are achieved.

Description

Real-time positioning video generation method
Technical Field
The present disclosure relates generally to the field of positioning technologies, and in particular, to a real-time positioning video generation method.
Background
At present, most positioning is performed by sharing a position after third-party software obtains a positioning authority and acquires position information by using a positioning module of mobile equipment, a link is obtained, and a planar map is opened by default. Whereas in the prior art, video and positioning generally do not occur in one set of things. Video most of the information media fields are not applied in the positioning field.
Similar to the above, the applications of motion software keep, Yue run and the like are all technologies for generating videos based on tracks in a position-service Gaode map, namely, a mobile phone screen recording mode is adopted to record dynamic tracks presented in an application program, and finally a track animation video is obtained; the device can only be used for sharing in a single position, and can also be used for checking the position of the other side, so that the device lacks a dynamic vertical viewing angle for shooting. Therefore, a real-time positioning video generation method is provided to solve the above-mentioned problem of poor display effect due to lack of dynamic vertical viewing angle view angle transformation.
Disclosure of Invention
In view of the above-mentioned defects or shortcomings in the prior art, it is desirable to provide a real-time positioning video generation method with three-dimensional display effect and high versatility.
In a first aspect, the present application provides a method for generating a real-time positioning video, including the following steps:
receiving an information carrier and attribute information of the information carrier sent by terminal equipment; the attribute information is obtained by analyzing the information carrier by the terminal equipment;
extracting longitude and latitude information from the attribute information;
sending the longitude and latitude information to a video server;
receiving a view transformation positioning video; the video server determines an initial position according to the longitude and latitude information, and records the initial position at the drawing completion moment as a recording time starting point;
judging the type of the information carrier, and if the information carrier is a photo, combining the photo and the visual angle conversion positioning video to obtain a target video;
if the information carrier is not a photo, the view angle conversion positioning video is a target video;
storing the target video into a database, and extracting a video link generated by the database;
and sending the video link to the terminal equipment.
According to the technical scheme provided by the embodiment of the application, the sending of the latitude and longitude information to the video server specifically comprises the following steps:
extracting longitude and latitude information in the attribute information, namely a longitude value lon, a latitude value lat and an elevation value;
starting a video server with user uniqueness according to the user information;
and sending the longitude and latitude information and other attribute information to the video server in a real-time communication mode.
According to the technical scheme provided by the embodiment of the application, the other attribute information comprises: initial angle information, a record unique value, a user unique value, a photo storage position, a photo name, a video format and a terminal device screen length and width.
According to the technical scheme provided by the embodiment of the application, the user information comprises: a user ID and a user name.
According to the technical scheme provided by the embodiment of the application, the recording of the positioning video specifically comprises the following steps:
initializing and creating a terminal equipment simulator by the video server;
setting the length and width of the terminal equipment simulator by the video server according to the length and width of the screen of the terminal equipment in the other attribute information;
determining an initial position and an initial angle on the three-dimensional map by the video server according to the longitude and latitude information;
extracting the latest tiles of all levels from the initial position;
obtaining a position point which is loaded by a terminal equipment simulator and is mapped and generated at the same time;
starting the transformation process by taking the drawing completion moment of the object point at the initial position as the starting point of the starting time of the transformation process, and starting recording after delaying the set time;
and starting to record the video by the terminal equipment simulator according to a set recording process, executing an ending command when the last visual angle change ending event is executed, ending the recording process, and obtaining the visual angle conversion positioning video matched with the three-dimensional map, the position point and the map.
According to the technical scheme provided by the embodiment of the application, the recording setting process comprises the following steps: set transformation process time, transformation center point location, transformation camera view angle, and transformation height.
According to the technical scheme provided by the embodiment of the application, the combination of the photo and the view transformation positioning video specifically comprises:
processing the photos in a transcoding mode to obtain video clips;
and placing the video clip before the visual angle transformation positioning video to obtain a target video.
According to the technical scheme provided by the embodiment of the application, the starting node of the target video and the connecting node of the video clip and the visual angle transformation positioning video are processed by adopting a gradual change function.
According to the technical scheme provided by the embodiment of the application, the progress display of the target video specifically comprises the following steps:
when the information carrier is not a photo, the generation progress of the view angle transformation positioning video is the generation progress of the target video; dividing the visual angle conversion positioning video into a plurality of sections by the terminal equipment according to a set conversion process, wherein the ratio of each section to the total conversion process is the progress value of each section;
when the information carrier is a photo, combining the photo and the progress of the visual angle transformation positioning video to be the generation progress of the target video; determining the required merging time for completing the photos and the visual angle transformation positioning videos by the terminal equipment according to the sizes of the photos and the visual angle transformation positioning videos, and obtaining the current merging progress value according to the ratio of the actual merging time to the required merging time;
and dynamically displaying a target video generation progress bar by the terminal equipment, wherein the progress bar displays the generation progress of the target video.
According to the technical scheme provided by the embodiment of the application, the information carrier is a photo, a longitude and latitude information character string, a satellite image or a position coding POI.
In summary, the present application provides a specific structure of a real-time positioning video generation method. The method specifically comprises the steps of receiving an information carrier and attribute information of the information carrier sent by a terminal device; extracting longitude and latitude information from the attribute information; sending longitude and latitude information to a video server; determining an initial position by the video server according to the longitude and latitude information, and recording to obtain a view angle conversion positioning video by taking the drawing completion moment of the initial position as a time starting point for starting recording; receiving a view transformation positioning video; judging the type of the information carrier, and if the information carrier is a photo, combining the photo and the view angle conversion positioning video to obtain a target video; if the information carrier is not a photo, the visual angle conversion positioning video is the target video; storing the target video into a database, and extracting a video link generated by the database; and sending the video link to the terminal equipment. Compared with the prior art, the video can be recorded only by longitude and latitude information, the method has the characteristic of high universality, additional positioning software does not need to be installed or an external chain does not need to be opened, the geographic environment and the spatial position of the current positioning equipment can be visually determined, and the positioning three-dimensional display effect is formed.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
fig. 1 is a schematic flow chart of a real-time positioning video generation method.
Fig. 2 is a flow chart of a real-time positioning video generation method.
Fig. 3 is a schematic view of an information carrier in the form of a photograph.
Fig. 4 is a schematic diagram of part of attribute information in a photograph.
Fig. 5 is a schematic diagram of a satellite image.
FIG. 6 is a diagram of an inverse position code resolution.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the present invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Example 1
Please refer to fig. 1 and fig. 2, which are schematic flow charts of a real-time positioning video generation method provided in the present application, including the following steps:
receiving an information carrier and attribute information of the information carrier sent by terminal equipment; the attribute information is obtained by analyzing the information carrier by the terminal equipment; here, the type of the terminal device is, for example, a mobile phone, an iPad, or a protocol interface;
extracting longitude and latitude information from the attribute information;
sending the longitude and latitude information to a video server;
receiving a view transformation positioning video; the video server determines an initial position according to the longitude and latitude information, and records the initial position at the drawing completion moment as a recording time starting point;
judging the type of the information carrier, and if the information carrier is a photo, combining the photo and the visual angle conversion positioning video to obtain a target video;
if the information carrier is not a photo, the view angle conversion positioning video is a target video;
storing the target video into a database, and extracting a video link generated by the database;
and sending the video link to the terminal equipment.
In this embodiment, the method may be implemented by an intermediate server;
specifically, the intermediate server receives an information carrier and attribute information of the information carrier sent by the terminal equipment;
the type of the information carrier is, for example, a photo, a longitude and latitude information character string, a satellite image or a position coding POI; the photo can be obtained by directly taking a picture by the terminal equipment, or a user selects a photo and uploads the photo to the terminal equipment;
as shown in fig. 3, EXIF information, that is, attribute information and photographing data of the photograph, is included in the photograph; allowing position information to be acquired when taking a picture using a camera;
as shown in fig. 4, the attribute information in the photograph includes: lat: 39.35184 °, lon: 116.45359 °, height: 0 m;
as shown in fig. 5, for a satellite image illustration, the position information of the central point is extracted from the original data of the satellite image, and longitude and latitude information is obtained, such as a longitude and latitude information character string, for example, the north latitude 39.5885 °, the east longitude 116.7600 °, and the altitude 0 m;
as shown in fig. 6, for the inverse position code parsing diagram, a position code string is inputted, for example, No. 20 of the yunpeng lane in the economic technology development area of the corridor city; and carrying out inverse geographical position coding and analysis on the input position coding POI to obtain longitude and latitude information which is lat: 39.58857 °, lon: 116.76071 °, height: 0 m.
The attribute information is obtained by analyzing the information carrier by the terminal equipment; the attribute information includes: longitude and latitude information, time, shooting angle, length and width of a screen of terminal equipment, initial angle information, a record unique value, a user unique value, a photo storage position, a photo name and a video format;
the intermediate server extracts longitude and latitude information from the attribute information;
the intermediate server sends the extracted longitude and latitude information to a video server; the latitude and longitude information includes: a longitude value lon, a latitude value lat and an elevation value;
starting a video server with user uniqueness according to the user information; the user information includes: a user ID and a user name.
And the intermediate server sends the longitude and latitude information and other attribute information to the video server in a real-time communication mode.
Starting a video server, and initializing and creating a terminal equipment simulator by the video server;
setting the length and width of the terminal equipment simulator by the video server according to the length and width of the screen of the terminal equipment in the other attribute information;
determining an initial position and an initial angle on the three-dimensional map by the video server according to the longitude and latitude information; here, the initial angle may be set to 30 ° in plan view, and if the initial angle is present, the initial angle may be set according to the actual initial angle, and if the initial angle is not present, the initial angle may be set according to a default value of 30 °.
Extracting the latest tiles of all levels from the initial position;
obtaining a position point which is loaded by a terminal equipment simulator and is mapped and generated at the same time;
starting the transformation process by taking the drawing completion moment of the object point at the initial position as the starting point of the starting time of the transformation process, and starting recording after delaying the set time; here, the delay setting time is 1 second, which is used for ensuring the integrity of the picture;
starting to record a video according to a set recording process by a terminal equipment simulator, executing an ending command when a last visual angle change ending event is executed, ending the recording process, and obtaining a visual angle conversion positioning video matched with a three-dimensional map, a position point and a map; and the visual angle transformation positioning video is zoomed to a global visual angle from the longitude and latitude position animation to form a three-dimensional display effect.
Wherein, the recording process setting comprises: set transformation process time, transformation center point location, transformation camera view angle, and transformation height.
The intermediate server receives the view angle conversion positioning video;
the type of the information carrier is then determined by the intermediate server,
if the information carrier is a photo, combining the photo and the visual angle transformation positioning video to obtain a target video;
the combination of the photo and the view transformation positioning video specifically comprises:
processing the photos by adopting a video transcoding mode or other modes to obtain video segments;
and (3) placing the video clip before the visual angle conversion positioning video, and processing a starting node of the target video and a connecting node of the video clip and the visual angle conversion positioning video by adopting a gradual change function to obtain the target video and optimize the watching experience of a user.
If the information carrier is not a photo, is a latitude and longitude information character string, a satellite image or a position code or other information carrier, the visual angle conversion positioning video is a target video;
when the information carrier is a satellite image, the satellite image is subjected to layer service release through an intermediate server, the intermediate server returns information such as a layer name, a layer service address, a layer range and a layer working space after releasing the layer, a three-dimensional map in the terminal equipment simulator is subjected to layer service loading according to the returned information, is initially positioned to the range according to the layer range, is subjected to map sticking according to the range, and is subjected to view angle transformation by taking the map sticking completion time as a time starting point to obtain a view angle transformation positioning video, namely a target video;
here, the longitude values range, for example, from 116.6292770534202 DEG to 116.81515518016158 DEG; latitude values in the range of, for example, 39.52295175074187 ° -39.62669625059618 °;
the intermediate server stores the target video into a database and extracts a video link generated by the database;
and finally, the intermediate server sends the video link to the terminal equipment. When the terminal equipment is a mobile phone or an iPad, a user clicks the terminal equipment to enter a video link, a target video in the link is downloaded to be stored locally, and the video link can be shared to other platforms.
Further, the progress display of the target video specifically includes:
when the information carrier is not a photo, the generation progress of the view angle transformation positioning video is the generation progress of the target video; dividing the visual angle conversion positioning video into a plurality of sections by the terminal equipment according to a set conversion process, wherein the ratio of each section to the total conversion process is the progress value of each section;
when the information carrier is a photo, combining the photo and the progress of the visual angle transformation positioning video to be the generation progress of the target video; determining the required merging time for completing the photos and the visual angle transformation positioning videos by the terminal equipment according to the sizes of the photos and the visual angle transformation positioning videos, and obtaining the current merging progress value according to the ratio of the actual merging time to the required merging time;
and dynamically displaying a target video generation progress bar by the terminal equipment, wherein the progress bar displays the generation progress of the target video.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by a person skilled in the art that the scope of the invention as referred to in the present application is not limited to the embodiments with a specific combination of the above-mentioned features, but also covers other embodiments with any combination of the above-mentioned features or their equivalents without departing from the inventive concept. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (10)

1. A real-time positioning video generation method is characterized by comprising the following steps:
receiving an information carrier and attribute information of the information carrier sent by terminal equipment; the attribute information is obtained by analyzing the information carrier by the terminal equipment;
extracting longitude and latitude information from the attribute information;
sending the longitude and latitude information to a video server;
receiving a view transformation positioning video; the video server determines an initial position according to the longitude and latitude information, and records the initial position at the drawing completion moment as a recording time starting point;
judging the type of the information carrier, and if the information carrier is a photo, combining the photo and the visual angle conversion positioning video to obtain a target video;
if the information carrier is not a photo, the view angle conversion positioning video is a target video;
storing the target video into a database, and extracting a video link generated by the database;
and sending the video link to the terminal equipment.
2. The method for generating a real-time positioning video according to claim 1, wherein sending the latitude and longitude information to a video server specifically comprises:
extracting longitude and latitude information in the attribute information, namely a longitude value lon, a latitude value lat and an elevation value;
starting a video server with user uniqueness according to the user information;
and sending the longitude and latitude information and other attribute information to the video server in a real-time communication mode.
3. The method according to claim 2, wherein the other attribute information comprises: initial angle information, a record unique value, a user unique value, a photo storage position, a photo name, a video format and a terminal device screen length and width.
4. The method according to claim 2, wherein the user information comprises: a user ID and a user name.
5. The method for generating a real-time positioning video according to claim 3, wherein the recording of the positioning video specifically comprises:
initializing and creating a terminal equipment simulator by the video server;
setting the length and width of the terminal equipment simulator by the video server according to the length and width of the screen of the terminal equipment in the other attribute information;
determining an initial position and an initial angle on the three-dimensional map by the video server according to the longitude and latitude information;
extracting the latest tiles of all levels from the initial position;
obtaining a position point which is loaded by a terminal equipment simulator and is mapped and generated at the same time;
starting the transformation process by taking the drawing completion moment of the object point at the initial position as the starting point of the starting time of the transformation process, and starting recording after delaying the set time;
and starting to record the video by the terminal equipment simulator according to a set recording process, executing an ending command when the last visual angle change ending event is executed, ending the recording process, and obtaining the visual angle conversion positioning video matched with the three-dimensional map, the position point and the map.
6. The method as claimed in claim 5, wherein the setting of the recording process comprises: set transformation process time, transformation center point location, transformation camera view angle, and transformation height.
7. The method as claimed in claim 1, wherein the merging of the photo and the view transformation positioning video specifically includes:
processing the photos in a transcoding mode to obtain video clips;
and placing the video clip before the visual angle transformation positioning video to obtain a target video.
8. The method according to claim 7, wherein a gradual change function is used to process a starting node of the target video and a connecting node between the video segment and the view transformation positioning video.
9. The method for generating a real-time positioning video according to claim 1, wherein the displaying of the progress of the target video specifically comprises:
when the information carrier is not a photo, the generation progress of the view angle transformation positioning video is the generation progress of the target video; dividing the visual angle conversion positioning video into a plurality of sections by the terminal equipment according to a set conversion process, wherein the ratio of each section to the total conversion process is the progress value of each section;
when the information carrier is a photo, combining the photo and the progress of the visual angle transformation positioning video to be the generation progress of the target video; determining the required merging time for completing the photos and the visual angle transformation positioning videos by the terminal equipment according to the sizes of the photos and the visual angle transformation positioning videos, and obtaining the current merging progress value according to the ratio of the actual merging time to the required merging time;
and dynamically displaying a target video generation progress bar by the terminal equipment, wherein the progress bar displays the generation progress of the target video.
10. The method as claimed in claim 1, wherein the information carrier is a photograph, a latitude and longitude information string, a satellite image or a position-encoded POI.
CN202111600922.2A 2021-12-24 2021-12-24 Real-time positioning video generation method Pending CN114268757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111600922.2A CN114268757A (en) 2021-12-24 2021-12-24 Real-time positioning video generation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111600922.2A CN114268757A (en) 2021-12-24 2021-12-24 Real-time positioning video generation method

Publications (1)

Publication Number Publication Date
CN114268757A true CN114268757A (en) 2022-04-01

Family

ID=80829883

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111600922.2A Pending CN114268757A (en) 2021-12-24 2021-12-24 Real-time positioning video generation method

Country Status (1)

Country Link
CN (1) CN114268757A (en)

Similar Documents

Publication Publication Date Title
US8447787B2 (en) System and method for geocoding content
US8543586B2 (en) Determining points of interest using intelligent agents and semantic data
US7904483B2 (en) System and method for presenting geo-located objects
US9317600B2 (en) View of a physical space augmented with social media content originating from a geo-location of the physical space
US9026513B2 (en) Associating digital images with waypoints
US8254727B2 (en) Method and apparatus for providing picture file
US10347298B2 (en) Method and apparatus for smart video rendering
JP2008513852A (en) Method and system for identifying object in photograph, and program, recording medium, terminal and server for realizing the system
KR101038940B1 (en) System and method for managing image information using object extracted from image
US20190094919A1 (en) Location-Based Augmented Reality Capture
US20160191773A1 (en) Distribution of location-based augmented reality captures
US20100162411A1 (en) Apparatus and method for managing hybrid contents generated by combining multimedia information and geospatial information
CN114268757A (en) Real-time positioning video generation method
US9020038B2 (en) Systems and methods for streaming and archiving video with geographic anchoring of frame contents
KR100853379B1 (en) Method for transforming based position image file and service server thereof
KR101870423B1 (en) Map information providing method using information of geotagging, Computer program for the same, and Recording medium storing computer program for the same
JP6269024B2 (en) Information processing apparatus and information processing program
KR101183519B1 (en) System and method of generating poi information
KR101307340B1 (en) Apparatus and method for controlling hybrid contents which combine multimedia information and goespatial information
JP2015186123A (en) Street view system, and street view providing method
KR101910460B1 (en) System and method for providing contents
TWI515449B (en) A continuous image processing method
EP3913586A1 (en) A method for digital astro-imaging and an image signal processor in a terminal device
KR100953141B1 (en) Wireless terminal apparatus and method for generating and transmitting image which location information is watermarked
Arai et al. Pano UMECHIKA: A crowded underground city panoramic view system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication