A real-time positioning video generation method

Through the real-time positioning video generation method, using a video server to record viewing angle transformation and positioning videos based on latitude and longitude information and merge photos, solving the problem of lack of dynamic vertical viewing angle transformation in the prior art, and achieving high universality and three-dimensional positioning display effect.

CN114268757BActive Publication Date: 2024-12-13ZHONGKE XINGTONG (LANGFANG) INFORMATION TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202111600922.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-24
Publication Date
2024-12-13
Estimated Expiration
2041-12-24

AI Technical Summary

Technical Problem

In the prior art, video and positioning usually do not appear in the same system, and the lack of dynamic vertical viewing angle transformation leads to poor display effects and the inability to realize dynamic vertical viewing angle shooting based on simple position sharing.

Method used

Provide a real-time positioning video generation method, by receiving information carriers and attribute information sent by the terminal device, extracting latitude and longitude information, sending it to the video server to determine the initial position and record the positioning video of the viewing angle, combining photos and videos to generate target videos, realizing three-dimensional Display effect.

Benefits of technology

It realizes that the geographical environment and spatial location of the current positioning device can be intuitively defined without the need to install additional positioning software or open external links, providing high-quality universality and three-dimensional positioning display effects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114268757B_ABST
    Figure CN114268757B_ABST
Patent Text Reader

Abstract

The present 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 a terminal device; the attribute information is obtained by parsing the information carrier by the terminal device; longitude and latitude information is extracted from the attribute information; the longitude and latitude information is sent to a video server; the viewing angle transformation positioning video is received; the viewing angle transformation positioning video is recorded by the video server according to the longitude and latitude information to determine the initial position, and the drawing completion time of the initial position is taken as the recording time starting point; the type of the information carrier is determined, if the information carrier is a photo, the photo and the viewing angle transformation positioning video are merged to obtain the target video; if the information carrier is not a photo, the viewing angle transformation positioning video is the target video; the target video is stored in a database, and a video link generated by the database is extracted; the video link is sent to the terminal device; the positioning three-dimensional display effect is achieved, and the purpose of high versatility is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure generally relates to the field of positioning technology, and in particular to a real-time positioning video generation method. Background Art

[0002] At present, most positioning is just a third-party software that obtains positioning permission and uses the positioning module of the mobile device to obtain location information and then shares the location. What is obtained is a link, and the default opening is a flat map. In the existing technology, video and positioning usually do not appear in the same set of things. Most information media fields of video are not applied in the field of positioning.

[0003] Similar to this are sports software Keep and Yuepaoquan, which are all based on the technology of generating videos by trajectories in the Amap of location services. That is, the dynamic trajectories presented in the application are recorded by the mobile phone screen recording method, and finally a trajectory animation video is obtained; it can only be used for simple location sharing and viewing the other party's location at the same time, and lacks dynamic vertical perspective shooting. Therefore, we propose a real-time positioning video generation method to solve the above-mentioned problems of lack of dynamic vertical perspective change and poor display effect. Summary of the invention

[0004] In view of the above-mentioned defects or deficiencies in the prior art, it is desired to provide a real-time positioning video generation method with three-dimensional display effect and high versatility.

[0005] In a first aspect, the present application provides a real-time positioning video generation method, comprising the following steps:

[0006] Receiving an information carrier and attribute information of the information carrier sent by a terminal device; the attribute information is obtained by the terminal device parsing the information carrier;

[0007] Extracting longitude and latitude information from the attribute information;

[0008] Sending the latitude and longitude information to a video server;

[0009] Receiving a video for positioning by changing the viewing angle; the video for positioning by changing the viewing angle is recorded by the video server according to the latitude and longitude information to determine the initial position, and taking the moment when the drawing of the initial position is completed as the recording time starting point;

[0010] Determining the type of the information carrier, if the information carrier is a photo, combining the photo with the perspective change positioning video to obtain a target video;

[0011] If the information carrier is not a photo, the perspective change positioning video is the target video;

[0012] Storing the target video in a database, and extracting a video link generated by the database;

[0013] The video link is sent to the terminal device.

[0014] According to the technical solution provided in the embodiment of the present application, sending the latitude and longitude information to the video server specifically includes:

[0015] Extracting the longitude and latitude information in the attribute information, namely the longitude value lon, the latitude value lat and the elevation value;

[0016] Open a user-unique video server based on user information;

[0017] The latitude and longitude information and other attribute information are sent to the video server via real-time communication.

[0018] According to the technical solution provided in the embodiment of the present application, the other attribute information includes: initial angle information, record unique value, user unique value, photo storage location, photo name, video format and terminal device screen length and width.

[0019] According to the technical solution provided in the embodiment of the present application, the user information includes: user ID and user name.

[0020] According to the technical solution provided in the embodiment of the present application, the recording of the positioning video specifically includes:

[0021] Initializing and creating a terminal device simulator by the video server;

[0022] The video server sets the length and width of the terminal device simulator according to the length and width of the terminal device screen in the other attribute information;

[0023] The video server determines an initial position and an initial angle on a three-dimensional map according to the latitude and longitude information;

[0024] Extract the latest tiles of all levels from the initial position;

[0025] Get the location point generated by the terminal device simulator when loading the latest tile for mapping;

[0026] The moment when the object point at the initial position is drawn is taken as the starting time of the change process, the transformation process is started, and the recording starts after the set time.

[0027] The terminal device simulator starts recording the video according to the set recording process, executes the end command when the last view change end event is executed, ends the recording process, and obtains the view change positioning video matched by the three-dimensional map with the position point and the texture.

[0028] According to the technical solution provided in the embodiment of the present application, the setting recording process includes: setting the transformation process time, transforming the center point position, transforming the camera viewing angle, and transforming the height.

[0029] According to the technical solution provided in the embodiment of the present application, the merging of the photo and the perspective transformation positioning video specifically includes:

[0030] Processing the photos in a transcoding manner to obtain video clips;

[0031] The video clip is placed in front of the perspective transformation positioning video to obtain a target video.

[0032] According to the technical solution provided in the embodiment of the present application, a gradient function is used to process the beginning node of the target video and the connection node between the video clip and the perspective transformation positioning video.

[0033] According to the technical solution provided in the embodiment of the present application, the progress display of the target video specifically includes:

[0034] When the information carrier is not a photo, the generation progress of the perspective transformation positioning video is the generation progress of the target video; the terminal device divides the perspective transformation positioning video into multiple segments according to the set transformation process, and the ratio of each segment to the total transformation process is the progress value of each segment;

[0035] When the information carrier is a photo, the progress of merging the photo and the perspective change positioning video is the progress of generating the target video; the terminal device determines the time required to complete the merging of the photo and the perspective change positioning video according to the size of the photo and the size of the perspective change positioning video, and then obtains the current merging progress value according to the ratio of the actual merging time to the required merging time;

[0036] The terminal device dynamically displays a target video generation progress bar, and the progress bar displays the target video generation progress.

[0037] According to the technical solution provided in the embodiment of the present application, the information carrier is a photo, a latitude and longitude information string, a satellite image or a location coded POI.

[0038] In summary, the present application provides a specific structure of a real-time positioning video generation method. The present application specifically receives the information carrier and the attribute information of the information carrier sent by the terminal device; extracts the longitude and latitude information from the attribute information; sends the longitude and latitude information to the video server; the video server determines the initial position according to the longitude and latitude information, and takes the moment when the initial position is drawn as the starting point of the recording, and records the perspective change positioning video; receives the perspective change positioning video; determines the type of the information carrier, if the information carrier is a photo, then merges the photo and the perspective change positioning video to obtain the target video; if the information carrier is not a photo, the perspective change positioning video is the target video; stores the target video in the database, extracts the video link generated by the database; sends the video link to the terminal device. Compared with the prior art, only longitude and latitude information is needed to record the video, which has the characteristics of high versatility, and there is no need to install additional positioning software or open external links. It can intuitively clarify the geographical environment and spatial position of the current positioning device, forming a positioning three-dimensional display effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0040] Figure 1 The figure is a flowchart of a real-time positioning video generation method.

[0041] Figure 2 Schematic diagram of the process of real-time positioning video generation method.

[0042] Figure 3 It is a schematic diagram that the information carrier is a photo.

[0043] Figure 4 This is a schematic diagram of some attribute information in the photo.

[0044] Figure 5 This is a schematic diagram of satellite imagery.

[0045] Figure 6 Schematic diagram of reverse positional encoding parsing. DETAILED DESCRIPTION

[0046] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of description, only the parts related to the invention are shown in the accompanying drawings.

[0047] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0048] Example 1

[0049] Please refer to Figure 1 and Figure 2 The flowchart of a real-time positioning video generation method provided by the present application shown in the figure includes the following steps:

[0050] Receiving an information carrier and attribute information of the information carrier sent by a terminal device; the attribute information is obtained by parsing the information carrier by the terminal device; here, the type of the terminal device is, for example, a mobile phone, an iPad, or a protocol interface;

[0051] Extracting longitude and latitude information from the attribute information;

[0052] Sending the latitude and longitude information to a video server;

[0053] Receiving a video for positioning by changing the viewing angle; the video for positioning by changing the viewing angle is recorded by the video server by determining the initial position according to the latitude and longitude information, and taking the moment when the drawing of the initial position is completed as the recording time starting point;

[0054] Determining the type of the information carrier, if the information carrier is a photo, combining the photo with the perspective change positioning video to obtain a target video;

[0055] If the information carrier is not a photo, the perspective change positioning video is the target video;

[0056] Storing the target video in a database, and extracting a video link generated by the database;

[0057] The video link is sent to the terminal device.

[0058] In this embodiment, the method may be implemented by an intermediate server;

[0059] Specifically, the intermediate server receives the information carrier and the attribute information of the information carrier sent by the terminal device;

[0060] The type of information carrier is, for example, a photo, a latitude and longitude information string, a satellite image, or a location code POI; the photo can be directly taken by the terminal device, or the user can select a photo and upload it to the terminal device;

[0061] like Figure 3 As shown, the photo includes EXIF ​​information, i.e., the attribute information and shooting data of the photo; and allows obtaining location information when taking photos with a camera;

[0062] like Figure 4 As shown, the attribute information in the photo includes: lat: 39.35184°, lon: 116.45359°, height: 0 meters;

[0063] like Figure 5 As shown, it is a satellite image diagram, and the center point location information is extracted from the original data of the satellite image to obtain the longitude and latitude information, such as the longitude and latitude information string, for example, 39.5885° north latitude, 116.7600° east longitude, and 0 meters above sea level;

[0064] like Figure 6 As shown, it is a reverse location code analysis diagram, and the location code string is input, for example, No. 20, Yunpeng Road, Langfang Economic and Technological Development Zone; the input location code POI is subjected to reverse geographic location coding analysis to obtain the longitude and latitude information, which is lat: 39.58857°, lon: 116.76071°, height: 0 meters.

[0065] The attribute information is obtained by the terminal device parsing the information carrier; the attribute information includes: longitude and latitude information, time, shooting angle, length and width of the terminal device screen, initial angle information, record unique value, user unique value, photo storage location, photo name, and video format;

[0066] The intermediate server extracts the latitude and longitude information from the attribute information;

[0067] The intermediate server sends the extracted longitude and latitude information to the video server; the longitude and latitude information includes: longitude value lon, latitude value lat and elevation value;

[0068] A user-unique video server is started according to user information; the user information includes: user ID and user name.

[0069] The intermediate server sends the latitude and longitude information and other attribute information to the video server through real-time communication.

[0070] The video server is turned on, and the video server initializes and creates a terminal device simulator;

[0071] The video server sets the length and width of the terminal device simulator according to the length and width of the terminal device screen in other attribute information;

[0072] The video server determines the initial position and initial angle on the three-dimensional map according to the latitude and longitude information; here, the initial angle can be set to 30° when looking down. If an initial angle exists, it is set according to the actual initial angle. If no initial angle exists, it is set according to the default value of 30°.

[0073] Extract the latest tiles of all levels from the initial position;

[0074] Get the location point generated by the terminal device simulator when loading the latest tile for mapping;

[0075] The moment when the object point at the initial position is drawn is taken as the starting point of the change process, the transformation process is started, and the recording starts after the set time. Here, the delay setting time is 1 second to ensure the integrity of the picture.

[0076] The terminal device simulator starts recording the video according to the set recording process, and executes the end command when the last perspective change end event is executed to end the recording process, thereby obtaining a perspective change positioning video that matches the three-dimensional map with the location points and the texture; the perspective change positioning video is scaled from the latitude and longitude position animation to the global perspective to form a three-dimensional display effect.

[0077] The setting of the recording process includes: setting the transformation process time, the transformation center point position, the transformation camera angle of view, and the transformation height.

[0078] The intermediate server receives the perspective change positioning video;

[0079] Then the type of information carrier is determined through the intermediate server.

[0080] If the information carrier is a photo, the photo is combined with the perspective change positioning video to obtain the target video;

[0081] The merging of photos and perspective change positioning videos specifically includes:

[0082] Processing the photo by video transcoding or other methods to obtain a video clip;

[0083] The video clip is placed before the perspective transformation positioning video, and the gradient function is used to process the beginning node of the target video and the connection node between the video clip and the perspective transformation positioning video to obtain the target video and optimize the user viewing experience.

[0084] If the information carrier is not a photo, but an information carrier such as a latitude and longitude information string, a satellite image or a location code, then the video positioned by the perspective change is the target video;

[0085] When the information carrier is a satellite image, the satellite image is published through the intermediate server for layer service. After publishing the layer, the intermediate server returns information such as the layer name, layer service address, layer range, and layer workspace. The three-dimensional map in the terminal device simulator loads the layer service according to the returned information, and initially locates to the range according to the layer range. Mapping is performed according to the range, and the perspective is transformed with the mapping completion time as the time starting point to obtain the perspective transformation positioning video, which is the target video.

[0086] Here, the range of longitude values ​​is, for example, 116.6292770534202°-116.81515518016158°; the range of latitude values ​​is, for example, 39.52295175074187°-39.62669625059618°;

[0087] The intermediate server stores the target video in a database and extracts the video link generated by the database;

[0088] Finally, the intermediate server sends the video link to the terminal device. When the terminal device is a mobile phone or iPad, the user clicks on the video link from the terminal device, downloads the target video in the link to the local computer, and can also share the video link on other platforms.

[0089] Furthermore, the progress display of the target video specifically includes:

[0090] When the information carrier is not a photo, the generation progress of the perspective transformation positioning video is the generation progress of the target video; the terminal device divides the perspective transformation positioning video into multiple segments according to the set transformation process, and the ratio of each segment to the total transformation process is the progress value of each segment;

[0091] When the information carrier is a photo, the progress of merging the photo and the perspective change positioning video is the progress of generating the target video; the terminal device determines the time required to complete the merging of the photo and the perspective change positioning video according to the size of the photo and the size of the perspective change positioning video, and then obtains the current merging progress value according to the ratio of the actual merging time to the required merging time;

[0092] The terminal device dynamically displays a target video generation progress bar, and the progress bar displays the target video generation progress.

[0093] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. For example, the above features are replaced with (but not limited to) technical features with similar functions disclosed in the present application.

Claims

1. A real-time positioning video generation method, characterized in that: The following steps are involved: Receiving an information carrier and attribute information of the information carrier sent by a terminal device; the attribute information is obtained by the terminal device parsing the information carrier; Extracting longitude and latitude information from the attribute information; Sending the latitude and longitude information to a video server; Receiving a video for positioning by changing the viewing angle; the video for positioning by changing the viewing angle is recorded by the video server according to the latitude and longitude information to determine the initial position, and taking the moment when the drawing of the initial position is completed as the recording time starting point; Determining the type of the information carrier, if the information carrier is a photo, combining the photo with the perspective change positioning video to obtain a target video; If the information carrier is not a photo, the perspective change positioning video is the target video; Storing the target video in a database, and extracting a video link generated by the database; Sending the video link to the terminal device; Sending the latitude and longitude information to the video server specifically includes: Extracting the longitude and latitude information in the attribute information, namely the longitude value lon, the latitude value lat and the elevation value; Open a user-unique video server based on user information; Sending the latitude and longitude information and other attribute information to the video server via real-time communication; The other attribute information includes: initial angle information, record unique value, user unique value, photo storage location, photo name, video format and terminal device screen length and width; The user information includes: user ID and user name; The recording of the positioning video specifically includes: Initializing and creating a terminal device simulator by the video server; The video server sets the length and width of the terminal device simulator according to the length and width of the terminal device screen in the other attribute information; The video server determines an initial position and an initial angle on a three-dimensional map according to the latitude and longitude information; Extract the latest tiles of all levels from the initial position; Get the location point generated by the terminal device simulator when loading the latest tile for mapping; The moment when the object point at the initial position is drawn is taken as the starting time of the change process, the transformation process is started, and the recording starts after the set time. The terminal device simulator starts recording the video according to the set recording process, executes the end command when the last view change end event is executed, ends the recording process, and obtains the view change positioning video matched by the three-dimensional map with the position point and the texture.

2. A real-time positioning video generation method according to claim 1, characterized in that: The setting recording process includes: setting the transformation process time, the transformation center point position, the transformation camera angle of view, and the transformation height.

3. A real-time positioning video generation method according to claim 1, characterized in that: The merging of the photo and the perspective change positioning video specifically includes: Processing the photos in a transcoding manner to obtain video clips; The video clip is placed in front of the perspective transformation positioning video to obtain a target video.

4. A real-time positioning video generation method according to claim 3, characterized in that: A gradient function is used to process the beginning node of the target video and the connection node between the video clip and the perspective transformation positioning video.

5. A real-time positioning video generation method according to claim 1, characterized in that: The progress display of the target video specifically includes: When the information carrier is not a photo, the generation progress of the perspective transformation positioning video is the generation progress of the target video; the terminal device divides the perspective transformation positioning video into multiple segments according to the set transformation process, and the ratio of each segment to the total transformation process is the progress value of each segment; When the information carrier is a photo, the progress of merging the photo and the perspective change positioning video is the progress of generating the target video; the terminal device determines the time required to complete the merging of the photo and the perspective change positioning video according to the size of the photo and the size of the perspective change positioning video, and then obtains the current merging progress value according to the ratio of the actual merging time to the required merging time; The terminal device dynamically displays a target video generation progress bar, and the progress bar displays the target video generation progress.

6. A real-time positioning video generation method according to claim 1, characterized in that: The information carrier is a photo, a latitude and longitude information string, a satellite image or a location coded POI.

Citation Information

Patent Citations

  • Method and system of adding position information in video information and video management server

    CN103780928A

  • Fusion method and system of mobile video and geographic scene and electronic equipment

    CN111582022A

  • Moving target real-time video tracking method and system, terminal, medium and processor

    CN112104846A

  • Video-map cooperation system

    JP2000181346A

  • Image providing device, image providing method, image providing program, and computer readable recording medium recorded with the program thereon

    JP2009021767A