Video recording method and apparatus, and electronic device and storage medium

By automatically recording and embedding navigation route information during video recording, the method solves the problem of cumbersome acquisition of tourist routes by electronic devices in the prior art, and realizes efficient acquisition of tourist route information.

WO2025223325A1PCT designated stage Publication Date: 2025-10-30VIVO MOBILE COMM CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/089886
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-04-24
Filing Date
2025-04-18
Publication Date
2025-10-30

AI Technical Summary

Technical Problem

In existing technologies, when electronic devices share travel videos, the process of obtaining travel route information is cumbersome and time-consuming, requiring manual editing or searching through map applications, resulting in low efficiency.

Method used

During video recording, the electronic device automatically records navigation route information and embeds it into the video file, allowing users to directly obtain the navigation route from the video without manual editing or searching.

Benefits of technology

By automatically recording and embedding navigation route information, the process of obtaining tourist routes is simplified, and the efficiency and convenience of obtaining tourist routes by electronic devices are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025089886_30102025_PF_FP_ABST
    Figure CN2025089886_30102025_PF_FP_ABST
Patent Text Reader

Abstract

The present application belongs to the technical field of photographing. Disclosed are a video recording method and apparatus, and an electronic device and a storage medium. The method comprises: displaying a video recording interface; receiving a first input for the video recording interface; and in response to the first input, recording a video, and obtaining a video file of a first video, wherein the video file of the first video comprises first navigation route information, and a first navigation route indicated by the first navigation route information matches position information of a first electronic device when the first video is recorded.
Need to check novelty before this filing date? Find Prior Art

Description

Video recording methods, devices, electronic equipment and storage media

[0001] Cross-references to related applications

[0002] This application claims priority to Chinese Patent Application No. 202410500729.9, filed in China on April 24, 2024, the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application belongs to the field of shooting technology, specifically relating to a video recording method, apparatus, electronic device, and storage medium. Background Technology

[0004] With the development of electronic device technology, electronic devices are becoming increasingly feature-rich. For example, a first electronic device can send a recorded travel video to a second electronic device, allowing the user of the second device to view the various attractions featured in the video.

[0005] In related technologies, after the second electronic device receives the travel video sent by the first electronic device, if the user of the second electronic device wants to know the travel routes between the attractions in the travel video, the user of the first electronic device needs to manually edit a travel route text and share it with the user of the second electronic device. The travel route text will record detailed route information between the attractions.

[0006] However, the above method requires users of the first electronic device to manually edit the travel route information between various attractions, making the entire travel route sharing process cumbersome and time-consuming. Thus, the efficiency of electronic devices in acquiring travel routes is relatively poor. Summary of the Invention

[0007] The purpose of this application is to provide a video recording method, apparatus, electronic device, and storage medium that can improve the efficiency of electronic devices in obtaining travel routes.

[0008] In a first aspect, embodiments of this application provide a video recording method applied to a first electronic device. The navigation route determination method includes: displaying a video recording interface; receiving a first input to the video recording interface; and, in response to the first input, recording a video to obtain a video file of a first video. The video file of the first video includes first navigation route information, and the first navigation route information indicates a first navigation route that matches the location information of the first electronic device when the first video is recorded.

[0009] Secondly, embodiments of this application provide a video recording device applied to a first electronic device. The video recording device includes a display module, a receiving module, and a processing module. The display module displays a video recording interface. The receiving module receives a first input to the video recording interface. The processing module, in response to the first input received by the receiving module, records video to obtain a video file of the first video. The video file of the first video includes first navigation route information, and the first navigation route information indicates a first navigation route that matches the location information of the first electronic device at the time of recording the first video.

[0010] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0011] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0012] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.

[0013] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.

[0014] In this embodiment, the electronic device can display a video recording interface; receive a first input to the video recording interface; and, in response to the first input, record a video to obtain a video file of the first video. The video file of the first video includes first navigation route information, and the first navigation route indicated by the first navigation route information matches the location information of the first electronic device at the time of recording the first video. In this solution, since the video file of the first video of the electronic device includes the first navigation route information, the first electronic device can directly obtain the first navigation route corresponding to the first navigation route information based on the first video, without manual editing, thus improving the efficiency of the first electronic device in obtaining travel routes. Attached Figure Description

[0015] Figure 1 is a flowchart of a video recording method provided in an embodiment of this application;

[0016] Figure 2A is one of the schematic diagrams of a video recording interface provided in an embodiment of this application;

[0017] Figure 2B is a second example of a video recording interface provided in an embodiment of this application;

[0018] Figure 3A is a third example of a video recording interface provided in an embodiment of this application;

[0019] Figure 3B is a fourth example of a video recording interface provided in an embodiment of this application;

[0020] Figure 4A is a fifth example of a video recording interface provided in an embodiment of this application;

[0021] Figure 4B is a sixth example of a video recording interface provided in an embodiment of this application;

[0022] Figure 5A is a seventh example of a video recording interface provided in an embodiment of this application;

[0023] Figure 5B is an eighth example of a video recording interface provided in an embodiment of this application;

[0024] Figure 6A is one of the schematic diagrams of an example video display interface provided in an embodiment of this application;

[0025] Figure 6B is a second example of a video display interface provided in an embodiment of this application;

[0026] Figure 7 is a schematic diagram of a video recording device provided in an embodiment of this application;

[0027] Figure 8 is one of the hardware structure diagrams of an electronic device provided in an embodiment of this application;

[0028] Figure 9 is a second schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0029] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0030] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0031] The terms "at least one," "at least one of," etc., used in the specification and claims of this application refer to any one, any two, or a combination of two or more of the included items. For example, at least one of a, b, and c can mean: "a," "b," "c," "a and b," "a and c," "b and c," and "a, b, and c," where a, b, and c can be single or multiple. Similarly, "at least two" refers to two or more items, and its meaning is similar to that of "at least one."

[0032] The video recording method, apparatus, electronic device, and storage medium provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0033] The video recording method, apparatus, electronic device, and storage medium provided in this application embodiment can be applied in scenarios of sharing or generating navigation routes.

[0034] Currently, after recording a travel video, the first electronic device can add a location marker to the video, allowing users to view the filming location. Typically, the travel video recorded by the first electronic device only records one geographical location. After the first electronic device sends this video containing geographical location information to the second electronic device, because the video only records one geographical location, it cannot accurately reflect the filmer's movement trajectory. Therefore, if the user of the second electronic device wants to know the travel routes between the various attractions in the video, they can obtain the routes through the following two methods.

[0035] Method 1: Users of the second electronic device need to input the attraction information from the travel video into the map application to obtain travel routes between the attractions.

[0036] Method 2: The user of the second electronic device can request the travel routes between the attractions from the user of the first electronic device. Then, the user of the first electronic device can manually edit a travel route text and share it with the user of the second electronic device. The travel route text will record detailed route information between the attractions.

[0037] However, for the first method mentioned above, the user of the second electronic device needs to use a map application to find the travel routes between the attractions in the travel video in order to know the travel routes between the attractions in the travel video. The whole process is cumbersome and time-consuming. Moreover, the travel routes between the attractions in the travel video found by the second electronic device through the map application may not be consistent with the travel routes in the travel video shot by the first electronic device.

[0038] Regarding method two, the process of sharing travel routes is cumbersome and time-consuming because users of the first electronic device need to manually edit the travel route information between various attractions. Therefore, the efficiency of electronic devices in acquiring travel routes is relatively low.

[0039] In this embodiment, since the video file of the first video of the electronic device includes the first navigation route information, the first electronic device can directly obtain the first navigation route corresponding to the first navigation route information based on the first video without manual editing; moreover, it is not necessary to search for the tourist routes between various attractions in the tourist video through a map application, thus improving the efficiency of the electronic device in obtaining tourist routes.

[0040] The video recording method provided in this application can be executed by a video recording device, which can be an electronic device or a functional module within an electronic device. The following description uses an electronic device as an example to illustrate the technical solution provided in this application.

[0041] This application provides a video recording method. Figure 1 shows a flowchart of a video recording method provided by this application, which can be applied to a first electronic device. As shown in Figure 1, the video recording method provided by this application may include the following steps 201 to 203.

[0042] Step 201: The first electronic device displays the video recording interface.

[0043] Optionally, in this embodiment of the application, the video recording interface includes video recording controls.

[0044] Optionally, in this embodiment of the application, the first electronic device may display a video recording interface based on the user's input to the camera application.

[0045] Step 202: The first electronic device receives the first input to the video recording interface.

[0046] Optionally, in this embodiment of the application, the first input can be an input to a video recording control.

[0047] Optionally, in this embodiment of the application, the first input is used to determine the video recording control from the video recording interface.

[0048] Optionally, the first input can be a user's click input, long press input, preset trajectory input, or swipe input on the video recording interface; or a combination of physical controls, such as volume buttons and power buttons; or voice input.

[0049] Step 203: The first electronic device responds to the first input and records video to obtain a video file of the first video.

[0050] In this embodiment of the application, the video file of the first video includes first navigation route information, and the first navigation route indicated by the navigation route information matches the location information of the first electronic device when the first video was recorded.

[0051] In this embodiment of the application, the first electronic device responds to the first input and can collect N video frames to record video, thereby obtaining the first video.

[0052] Optionally, in this embodiment of the application, the aforementioned first navigation route information may be stored in the extended field of the video file of the first video.

[0053] Optionally, in this embodiment of the application, the first navigation route information can be obtained by the first electronic device when acquiring each video frame in N video frames.

[0054] For example, the first electronic device can display an import control on the video recording interface. If the user needs to obtain navigation route information that matches the first video after recording during the video recording process, the user can click the import control so that the electronic device can collect the first navigation route information that matches the location information of the first electronic device when recording the first video during the video recording process.

[0055] For example, as shown in Figure 2A, the first electronic device can display an import control 11 on the video recording interface 10. If the user needs to obtain first navigation route information that matches the location information of the first electronic device when recording the first video during the video recording process, the user can click the import control 11, as shown in Figure 2B, so that the electronic device can display a new route identifier 13 and an import route identifier 14 in the pop-up window 12. Then, the user can click to generate a new route identifier 13, so that the electronic device can collect the first navigation route information that matches the location information of the first electronic device when recording the first video during the video recording process.

[0056] Optionally, in this embodiment of the application, the aforementioned first navigation route information may be sent from the second electronic device to the first electronic device.

[0057] Optionally, in the embodiments of this application, step 201 can be implemented by step 201a, and the "first electronic device responds to the first input and records video" in step 203 can be implemented by step 203a.

[0058] Step 201a: The first electronic device displays the map interface in the video recording interface.

[0059] Optionally, in this embodiment of the application, the first electronic device may display a map boundary via a pop-up window in the video recording interface.

[0060] Optionally, in this embodiment of the application, the first electronic device may display a map interface in a blank area of ​​the video recording interface.

[0061] Optionally, in this embodiment of the application, the first electronic device may display a map interface in a preset area of ​​the video recording interface.

[0062] For example, the first electronic device may display a map interface in the upper left or upper right corner of the video recording interface.

[0063] For example, as shown in Figure 3A, if the user needs to display a map interface, the user can click and input the map control 17 on the video recording interface 10 of the first electronic device, as shown in Figure 3B, so that the first electronic device can display the map interface 18 in the upper right corner of the video recording interface 10 through a pop-up window.

[0064] Step 203a: The first electronic device responds to the first input, acquires the first position information of the electronic device when the first video frame is acquired, and updates the route trajectory in the map interface based on the first position information and the position markers displayed in the map interface.

[0065] In this embodiment of the application, the location identifier displayed in the map interface is the location identifier corresponding to the location information of the electronic device when the electronic device collects at least one second video frame, and the at least one second video frame is a video frame collected by the electronic device before the first video frame is collected.

[0066] For example, the first video frame mentioned above is any video frame in the first video.

[0067] For example, the aforementioned first location information includes longitude and latitude.

[0068] In this embodiment of the application, the above-mentioned updated route trajectory can be obtained by adding a location marker corresponding to the first location information to the map interface based on the location markers displayed in the map interface, and connecting the location markers corresponding to the first location information added in the map interface with the location markers already displayed in the map interface, thereby obtaining the updated route trajectory, and displaying the updated route trajectory in the map interface.

[0069] Optionally, in this embodiment of the application, when the navigation route information is sent by the second electronic device, the first electronic device can display the navigation route corresponding to the navigation route information in the map interface. When the current location information of the first electronic device is not within the navigation route corresponding to the navigation route information, the first electronic device can add the current location information to the navigation route information and obtain new navigation route information.

[0070] In the electronic device provided in this application embodiment, the electronic device can display a video recording interface; receive a first input to the video recording interface; respond to the first input, record a video, obtain a video file of the first video, and store navigation route information in the video file of the first video, wherein the first navigation route indicated by the navigation route information matches the video content of the first video. In this solution, since the electronic device can import navigation route information into the video file of the first video, the first electronic device can directly obtain the navigation route corresponding to the navigation route information based on the first video, without manual editing, thus improving the efficiency of the first electronic device in obtaining travel routes.

[0071] Optionally, in this embodiment of the application, after step 202 above, the video recording method provided in this embodiment of the application further includes the following steps 301 and 302.

[0072] Step 301: In response to the first input, the first electronic device acquires the position information of the first electronic device when capturing each video frame during the video recording process.

[0073] In this embodiment of the application, when the first electronic device acquires each video frame, it can acquire the longitude and latitude of the location of the electronic device through the positioning hardware in the first electronic device, thereby obtaining the location information of the first electronic device when acquiring each video frame.

[0074] It's understandable that a video frame can correspond to a single location.

[0075] Optionally, in this embodiment of the application, the video recording interface further includes a first control. The first electronic device can obtain the position information of the first electronic device when capturing each video frame based on the user's click input on the first control.

[0076] For example, as shown in FIG4A, the first electronic device displays a video recording interface 10, which includes a first control 19. If the user requires the first electronic device to obtain location information in real time during the video recording process, the user can click on the first control 19 to enable the first electronic device to obtain location information. Then, as shown in FIG4B, the user can click on the video recording control 20 in the video recording interface 10 to enable the first electronic device to obtain the location information of the first electronic device when capturing each video frame during the video recording process.

[0077] Step 302: The first electronic device generates navigation route information according to the acquisition time of each video frame and the location information of the first electronic device corresponding to each video frame.

[0078] In this embodiment of the application, after obtaining the acquisition time of each video frame and the location information of the first electronic device corresponding to each video frame, the first electronic device can associate and store the acquisition time of each video frame with the location information of the first electronic device corresponding to each video frame. In this way, according to the order of acquisition time of each video frame after association and storage, the order of the location information of the first electronic device corresponding to each video frame is determined, thereby generating navigation route information.

[0079] In this embodiment, the first electronic device can obtain its location information when acquiring each video frame, thereby generating navigation route information based on the acquisition time of each video frame and the location information corresponding to each video frame. This eliminates the need for manual searching by the user and improves the efficiency of the first electronic device in generating navigation route information.

[0080] Optionally, in this embodiment of the application, after step 203 above, the video recording method provided in this embodiment of the application further includes steps 401 to 403 as described below.

[0081] Step 401: The first electronic device receives the second input.

[0082] In this embodiment of the application, the second input is used to determine the import control from the video recording interface.

[0083] Optionally, in this embodiment, the second input can be user input via clicking, long-pressing, preset trajectory input, or swiping on the imported control. The specific input can be determined based on actual usage, and this embodiment does not impose any limitations.

[0084] Step 402: The first electronic device responds to the second input and acquires the video file of the second video.

[0085] Optionally, in this embodiment of the application, the second video is sent by a second electronic device or stored in a first electronic device.

[0086] In this embodiment of the application, the second video includes second navigation route information.

[0087] Optionally, in the embodiments of this application, the second video file may be the first video file or other video files besides the first video file.

[0088] Optionally, in this embodiment of the application, the first electronic device can receive video files sent by the second electronic device in a chat interface.

[0089] Optionally, in this embodiment of the application, the first electronic device may store the second video in a photo album application after receiving the video file sent by the second electronic device.

[0090] Step 402: The first electronic device extracts the second navigation route information from the video file of the second video.

[0091] Optionally, in this embodiment of the application, the second navigation route information can be the first navigation route information.

[0092] Optionally, in this embodiment of the application, the navigation route included in the second navigation route information may be partially the same as or completely different from the navigation route included in the first navigation route information.

[0093] In this embodiment of the application, the first electronic device can obtain the second navigation route information from the extended field of the video file of the second video, and then generate the second navigation route corresponding to the second navigation route information based on the second navigation route information.

[0094] Optionally, in this embodiment of the application, after the first electronic device extracts the second navigation route information from the video file of the second video, the first electronic device can display the navigation route corresponding to the second navigation route information through a map application.

[0095] Optionally, in this embodiment of the application, after the first electronic device displays the navigation route corresponding to the second navigation route information, the first electronic device can edit the navigation route corresponding to the second navigation route information in a map application to obtain the edited navigation route.

[0096] In this embodiment, the first electronic device can extract navigation route information from the video file of the second video, so that the first electronic device can directly navigate according to the extracted navigation route information. This simplifies the process of the first electronic device obtaining navigation routes and improves the efficiency of the first electronic device in obtaining navigation routes.

[0097] Optionally, in this embodiment of the application, after step 402 above, the video recording method provided in this embodiment of the application further includes the following steps 501 and 502.

[0098] Step 501: During the video recording process, the first electronic device displays route guidance information in the second navigation route information that matches the location information of the first electronic device in the video recording interface.

[0099] For example, the electronic device can display route guidance information that matches the location information of the first electronic device in the map interface of the video recording interface, which is part of the second navigation route information.

[0100] Optionally, in this embodiment of the application, the route guidance information includes at least one of the following: direction guidance identifier and route guidance message.

[0101] For example, the aforementioned directional signs include any of the following: east directional signs, west directional signs, south directional signs, north directional signs, northeast directional signs, southeast directional signs, etc. The specific type can be determined based on actual usage, and this application embodiment does not impose any limitations.

[0102] Optionally, in this embodiment of the application, during the recording of video, the first electronic device can obtain the geographical location in real time, compare it with the navigation route information in the second navigation route information, and then display the route guidance information in the second navigation route information that matches the location information of the first electronic device in the map interface of the video recording interface.

[0103] For example, if a user needs to use the second navigation route information, the user can click the import control so that the electronic device can display the second navigation route corresponding to the second navigation route information during video recording.

[0104] For example, the first electronic device can display the navigation route corresponding to the second navigation route information through a map interface in the video recording interface.

[0105] Optionally, in this embodiment of the application, the first electronic device can display the location identifier of the first electronic device in the map interface in real time based on the location of the first electronic device, and generate real-time arrow guidance navigation according to the imported second navigation route.

[0106] For example, referring to Figure 2A and as shown in Figure 5A, if the user needs to import navigation route information collected by the second electronic device (hereinafter referred to as the second navigation route information), the user can click to input the import route identifier 14, as shown in Figure 5B, so that the first electronic device can display the second navigation route information in the video recording interface of the first electronic device through the map interface 15, so that the first electronic device can display the second navigation route 16 corresponding to the second navigation route information during the video recording process.

[0107] Step 502: The first electronic device captures a third video based on the route guidance information.

[0108] In this embodiment of the application, the third video includes third navigation route information.

[0109] In this embodiment of the application, the aforementioned third route information is matched with the location information of the first electronic device when recording the third video.

[0110] Optionally, in this embodiment of the application, the aforementioned third navigation route information may be the second navigation route.

[0111] Optionally, in this embodiment of the application, the navigation route included in the third navigation route information may be partially the same as or completely different from the navigation route included in the second navigation route information.

[0112] For example, when the first user of the first electronic device is navigating according to the second navigation route information, if the first user starts recording from a certain position in the middle of the second navigation route, or if the first user walks to some additional places, the first electronic device obtains the third navigation route information based on the first user's walking route.

[0113] For example, suppose the second navigation route information obtained by the first electronic device includes four navigation points: A, B, C, and D. The navigation route corresponding to this second navigation route information is A to B, B to C, and C to D. When the user of the first electronic device is guided by the second route information, if the user goes to point C, then to point E, and then returns to point D, the first electronic device can determine that the updated navigation route information corresponds to the navigation route A to B, B to C, C to E, and E to D, thus obtaining the third navigation route.

[0114] In this embodiment, the first electronic device can be guided by a second navigation route. Thus, when the first user of the first electronic device determines a travel route, they can directly follow the navigation guidance without needing to use a navigation application. This improves the convenience of navigation for the first electronic device.

[0115] Optionally, in this embodiment of the application, after step 203 above, the video recording method provided in this embodiment of the application further includes the following steps 601 and 602.

[0116] Step 601: The first electronic device receives a third input to the first video.

[0117] In this embodiment of the application, the third input is used to determine the first video.

[0118] Optionally, in this embodiment of the application, the third input can be the user's input of the first video in the photo album application.

[0119] Optionally, in this embodiment, the third input can be any of the following: user click input, long press input, preset trajectory input, or swipe input on the first video, etc. The specific input can be determined according to actual usage, and this embodiment does not impose any limitations.

[0120] Step 602: In response to the third input, the first electronic device displays a navigation image of the first navigation route in the first display area and displays the first video in the second display area.

[0121] Optionally, in this embodiment of the application, the first display area can be a part of the video playback interface, and the second display area can be another part of the video playback interface.

[0122] In one example, the first electronic device can display a navigation image of the first navigation route overlaid on the video playback interface via a pop-up window.

[0123] In another example, where the first electronic device is a foldable electronic device, the first screen of the foldable electronic device can be a first display area, and the second screen of the foldable electronic device can be a second display area.

[0124] Optionally, in this embodiment of the application, the first screen may be the left or top screen of the foldable electronic device, and the second screen may be the right or bottom screen of the foldable electronic device; or, the first screen may be the right or bottom screen of the foldable electronic device, and the second screen may be the left or top screen of the foldable electronic device.

[0125] For example, the first electronic device may display a first video on the left screen and a navigation image of a first navigation route on the right screen.

[0126] Optionally, in this embodiment of the application, the first display area can be a part of the album interface, and the second display area can be another part of the album interface.

[0127] For example, the first electronic device may display a first video in the upper half of the album interface and a navigation image of a first navigation route in the lower half of the album interface.

[0128] For example, as shown in Figure 6A, if the user needs to display the first navigation route, the user can swipe up to input the video icon of the first video, as shown in Figure 6B, so that the first electronic device can display the video icon of the first video in the first display area 22 of the album interface 21, and display the navigation image of the first navigation route in the second display area 23 of the album interface 21.

[0129] In this embodiment, the first electronic device can display the first video and the navigation image of the first navigation route corresponding to the first video in different display areas, so that the first electronic device can quickly display the navigation image of the first navigation route corresponding to the first video, thereby improving the efficiency of the first electronic device in displaying the navigation image of the first navigation route corresponding to the first video.

[0130] Optionally, in this embodiment of the application, after step 203 above, the video recording method provided in this embodiment of the application further includes the following steps 701 and 702.

[0131] Step 701: The first electronic device receives the fourth input to the first video.

[0132] In this embodiment of the application, the fourth input is used to determine the first video.

[0133] Optionally, in this embodiment, the fourth input can be any of the following: user click input, long press input, preset trajectory input, or swipe input on the first video, etc. The specific input can be determined according to actual usage, and this embodiment does not impose any limitations.

[0134] Step 702: In response to the fourth input mentioned above, the first electronic device sends the video file of the first video to the second electronic device.

[0135] In this embodiment of the application, the first video carries first navigation route information.

[0136] In this embodiment of the application, the first electronic device can share the video file of the first video with the second electronic device through the fourth input, so that the user of the second electronic device can directly view the first navigation route corresponding to the first navigation route information.

[0137] Optionally, in this embodiment of the application, the first electronic device can share the video file of the first video in a photo album application.

[0138] Optionally, in this embodiment of the application, the first electronic device can share the video file of the first video in a chat application.

[0139] In this embodiment, the first electronic device can share the video file of the first video to the second electronic device, so that the user of the second electronic device can view the first navigation route through the first navigation route information carried in the video file of the first video, which simplifies the process of the second electronic device determining the navigation route and improves the efficiency of the second electronic device in determining the navigation route.

[0140] The above-described method embodiments, or various possible implementations of the method embodiments, can be executed individually, or, provided there are no contradictions, they can be combined with each other. The specific implementation can be determined according to actual usage requirements, and this application embodiment does not impose any restrictions on this.

[0141] It should be noted that the video recording method provided in this application can be executed by a video recording device, an electronic device, or a functional module or entity within an electronic device. This application uses a video recording device executing the video recording method as an example to illustrate the video recording device provided in this application.

[0142] Figure 7 shows a possible structural schematic diagram of the video recording device involved in an embodiment of this application. As shown in Figure 7, the video recording device 70 may include: a display module 71, a receiving module 72, and a processing module 73.

[0143] The display module 71 is used to display the video recording interface. The receiving module 72 is used to receive the first input to the video recording interface. The processing module 73 is used to record video in response to the first input received by the receiving module 72, and obtain a video file of the first video. The video file of the first video includes first navigation route information, and the first navigation route information indicates a first navigation route that matches the location information of the first electronic device when the first video is recorded.

[0144] In one possible implementation, the processing module 73 is further configured to, after receiving the first input to the video recording interface, respond to the first input received by the receiving module 72, acquire the position information of the first electronic device when capturing each video frame during the video recording process; and generate navigation route information according to the acquisition time of each video frame and the position information of the first electronic device corresponding to each video frame.

[0145] In one possible implementation, the processing module 73 is further configured to, after obtaining the video file of the first video, receive a second input, and in response to the second input, obtain the video file of the second video; and extract the second navigation route information from the video file of the second video.

[0146] In one possible implementation, the processing module 73 is further configured to extract the second navigation route information from the video file of the second video, and then, during the video recording process, display route guidance information in the video recording interface that matches the location information of the first electronic device in the second navigation route information; and capture a third video based on the route guidance information; wherein the third video includes the third navigation route information.

[0147] In one possible implementation, the receiving module 72 is further configured to receive a third input to the first video after the processing module 73 obtains the video file of the first video. The display module 71 is further configured to, in response to the third input received by the receiving module 72, display a navigation image of the first navigation route in a first display area and display the first video in a second display area.

[0148] In one possible implementation, the receiving module 72 is further configured to receive a fourth input to the first video after the processing module 73 obtains the video file of the first video. The processing module 73 is also configured to, in response to the fourth input received by the receiving module 71, send the video file of the first video to the second electronic device, wherein the first video carries navigation route information.

[0149] In one possible implementation, the display module 71 is specifically used to display a map interface in the video recording interface. The processing module 73 is specifically used to acquire the first location information of the electronic device when the first video frame is captured, and update the route trajectory in the map interface based on the first location information and the location markers displayed in the map interface; wherein, the location markers displayed in the map interface are the location markers corresponding to the location information of the electronic device when the electronic device captures at least one second video frame, and at least one second video frame is a video frame captured by the electronic device before capturing the first video frame.

[0150] This application provides a video recording device. Since the video file of the first video of the video recording device includes first navigation route information, the video recording device can directly obtain the first navigation route corresponding to the first navigation route information based on the first video without manual editing, thus improving the efficiency of the video recording device in obtaining travel routes.

[0151] The video recording device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, a mobile electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television set (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.

[0152] The video recording device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system used.

[0153] The video recording device provided in this application embodiment can implement all the processes implemented in the above method embodiments, and will not be described again here to avoid repetition.

[0154] Optionally, as shown in FIG8, this application embodiment also provides an electronic device 90, including a processor 91 and a memory 92. The memory 92 stores a program or instructions that can run on the processor 91. When the program or instructions are executed by the processor 91, they implement the various steps of the above-described video recording method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0155] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0156] Figure 9 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of this application.

[0157] The electronic device 100 includes, but is not limited to, components such as: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.

[0158] Those skilled in the art will understand that the electronic device 100 may also include a power supply (such as a battery) for powering various components. The power supply can be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in Figure 9 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0159] The display unit 106 is used to display the video recording interface. The user input unit 107 is used to receive a first input to the video recording interface. The processor 110 is used to record video in response to the first input, and obtain a video file of the first video. The video file of the first video includes first navigation route information, and the first navigation route information indicates a first navigation route that matches the location information of the first electronic device when the first video is recorded.

[0160] This application provides an electronic device. Since the video file of the first video of the electronic device includes first navigation route information, the first electronic device can directly obtain the first navigation route corresponding to the first navigation route information based on the first video without manual editing, thus improving the efficiency of the first electronic device in obtaining travel routes.

[0161] Optionally, in this embodiment of the application, the processor 110 is further configured to, after receiving the first input to the video recording interface, in response to the first input, acquire the position information of the first electronic device when capturing each video frame during the video recording process; and generate navigation route information according to the acquisition time of each video frame and the position information of the first electronic device corresponding to each video frame.

[0162] Optionally, in this embodiment of the application, the processor 110 is further configured to receive a second input after receiving a first input to the video recording interface, and in response to the second input, obtain a video file of the second video; and extract second navigation route information from the video file of the second video.

[0163] Optionally, in this embodiment of the application, the processor 110 is further configured to extract the second navigation route information from the video file of the second video, and then, during the video recording process, display route guidance information in the video recording interface that matches the location information of the first electronic device in the second navigation route information; and capture a third video based on the route guidance information; wherein the third video includes the third navigation route information.

[0164] Optionally, in this embodiment, the user input unit 107 is further configured to receive a third input to the first video after obtaining the video file of the first video. The display unit 106 is further configured to, in response to the third input, display a navigation image of the first navigation route in a first display area and display the first video in a second display area.

[0165] Optionally, in this embodiment, the user input unit 107 is further configured to receive a fourth input to the first video after obtaining the video file of the first video. The processor 110 is further configured to send the video file of the first video to the second electronic device in response to the fourth input, wherein the first video carries navigation route information.

[0166] Optionally, in this embodiment, the display unit 106 is specifically used to display a map interface in the video recording interface. The processor 110 is specifically used to respond to the first input, acquire the first location information of the electronic device when the first video frame is acquired, and update the route trajectory in the map interface based on the first location information and the location identifier displayed in the map interface; wherein, the location identifier displayed in the map interface is the location identifier corresponding to the location information of the electronic device when the electronic device acquires at least one second video frame, and the at least one second video frame is a video frame acquired by the electronic device before acquiring the first video frame.

[0167] The electronic device provided in this application embodiment can implement the various processes implemented in the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0168] For details on the beneficial effects of the various implementation methods in this embodiment, please refer to the beneficial effects of the corresponding implementation methods in the above method embodiments. To avoid repetition, these will not be repeated here.

[0169] It should be understood that, in this embodiment, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

[0170] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 109 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.

[0171] Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.

[0172] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0173] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0174] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0175] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0176] This application provides a computer program product, which is stored in a storage medium and executed by at least one processor to implement the various processes of the video recording method embodiments described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0177] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0178] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0179] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A video recording method, applied to a first electronic device, the method comprising: Displays the video recording interface; Receive the first input to the video recording interface; In response to the first input, a video is recorded to obtain a video file of the first video. The video file of the first video includes first navigation route information, and the first navigation route indicated by the first navigation route information matches the location information of the first electronic device when the first video is recorded.

2. The method according to claim 1, wherein, After receiving the first input to the video recording interface, the method further includes: In response to the first input, during the video recording process, the position information of the first electronic device is obtained when each video frame is captured; The navigation route information is generated according to the acquisition time of each video frame and the location information of the first electronic device corresponding to each video frame.

3. The method according to claim 1, wherein, After obtaining the video file of the first video, the method further includes: Receive the second input; In response to the second input, the video file of the second video is obtained; Extract the second navigation route information from the video file of the second video.

4. The method according to claim 3, wherein, After extracting the second navigation route information from the video file of the second video, the method further includes: During video recording, route guidance information matching the location information of the first electronic device is displayed in the video recording interface from the second navigation route information; Based on the route guidance information, a third video was captured; The third video includes third navigation route information.

5. The method according to any one of claims 1 to 4, wherein, After obtaining the video file of the first video, the method further includes: Receive a third input to the first video; In response to the third input, a navigation image of the first navigation route is displayed in a first display area, and the first video is displayed in a second display area.

6. The method according to claim 1, wherein, After obtaining the video file of the first video, the method further includes: Receive a fourth input to the first video; In response to the fourth input, the video file of the first video is sent to the second electronic device, the first video carrying the first navigation route information.

7. The method according to claim 1, wherein, The video recording interface includes: The map interface is displayed in the video recording interface; The response to the first input, recording video, includes: In response to the first input, the first location information of the electronic device when the first video frame is captured is obtained, and the route trajectory is updated in the map interface based on the first location information and the location identifier displayed in the map interface; The location identifier displayed in the map interface is the location identifier corresponding to the location information of the electronic device when the electronic device collects at least one second video frame, and the at least one second video frame is a video frame collected by the electronic device before collecting the first video frame.

8. A video recording apparatus, applied to a first electronic device, the apparatus comprising: Display module, receiving module, and processing module; The display module is used to display the video recording interface; The receiving module is used to receive the first input to the video recording interface; The processing module is configured to record video in response to the first input received by the receiving module, and obtain a video file of the first video. The video file of the first video includes first navigation route information, and the first navigation route indicated by the first navigation route information matches the location information of the first electronic device when the first video is recorded.

9. The apparatus according to claim 8, wherein, The processing module is further configured to, in response to the first input received by the receiving module on the video recording interface, acquire the position information of the first electronic device when capturing each video frame during the video recording process. The navigation route information is generated according to the acquisition time of each video frame and the location information of the first electronic device corresponding to each video frame.

10. The apparatus according to claim 8, wherein, The receiving module is also used to receive a second input after the processing module obtains the video file of the first video; The processing module is further configured to, in response to the second input received by the receiving module, acquire the video file of the second video; And extract the second navigation route information from the video file of the second video.

11. The apparatus according to claim 10, wherein, The display module, after extracting the second navigation route information from the video file of the second video using the processing module, displays route guidance information in the video recording interface that matches the location information of the first electronic device in the second navigation route information during the video recording process; The processing module is also used to capture a third video based on the route guidance information; The third video includes third navigation route information.

12. The apparatus according to any one of claims 8 to 11, wherein, The receiving module is further configured to receive a third input to the first video after the processing module obtains the video file of the first video; The display module is further configured to, in response to the third input received by the receiving module, display a navigation image of the first navigation route in a first display area and display the first video in a second display area.

13. The apparatus according to claim 8, wherein, The receiving module is further configured to receive a fourth input to the first video after the processing module obtains the video file of the first video; The processing module is further configured to, in response to the fourth input received by the receiving module, send the video file of the first video to the second electronic device, wherein the first video carries the first navigation route information.

14. The apparatus according to claim 8, wherein, The display module is specifically used to display a map interface in the video recording interface; The processing module is specifically used to respond to the first input received by the receiving module, obtain the first location information of the electronic device when the first video frame is acquired, and update the route trajectory in the map interface based on the first location information and the location markers displayed in the map interface. The location identifier displayed in the map interface is the location identifier corresponding to the location information of the electronic device when the electronic device collects at least one second video frame, and the at least one second video frame is a video frame collected by the electronic device before collecting the first video frame.

15. An electronic device comprising a processor, a memory, and a program or instructions stored in the memory and executable on the processor, wherein the program or instructions, when executed by the processor, implement the steps of the video recording method as claimed in any one of claims 1 to 7.

16. A readable storage medium storing a program or instructions that, when executed by a processor, implement the steps of the video recording method as described in any one of claims 1 to 7.

17. A computer program product, said program product being executed by at least one processor to implement the video recording method as described in any one of claims 1 to 7.

18. A user equipment (UE) comprising a UE configured to perform a video recording method as claimed in any one of claims 1 to 7.

19. A chip comprising a processor and a communication interface coupled to the processor, the processor being configured to run a program or instructions to implement the video recording method as described in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Video recording method, photo taking method and mobile terminal

    CN101640775A

  • Way guidance method and way guidance equipment

    CN101701827A

  • Video shooting method based on moving camera and moving camera

    CN105120168A

  • Video processing method and video processing system

    CN105227830A

  • Video recording method and device, electronic equipment and storage medium

    CN118400483A