Social software-based video editing method, device, system and storage medium
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2026-08-11
AI Technical Summary
然而,在移动终端中社交软件存在分身应用的场景中却并未涉及对视频的编辑实现差异化管理,例如,社交软件A1中编辑视频往往是独享于社交软件A1中的,即使存在该社交软件A1的分身应用A2,分身应用A2同样也是独立编辑视频,两者编辑视频的独立性往往会给用户带来较大的不便性,因为社交软件A1及其分身应用A2的注册用户或者其社交用户往往具有社交关系,上述独立编辑视频及其保存方式并未考虑到社交性和存储空间的利用率问题
[0035] As can be seen, the video editing method based on social software described above in this invention, by acquiring the editing and saving operations of the video file by the first social software, and then performing corresponding saving operations on the video file by its related clone applications in a linked manner, achieves backup-style and mapping-style saving of video files for the first social software and clone applications, greatly improving the user's efficiency in editing video files and increasing the utilization rate of storage space. This invention realizes video editing, saving, and sharing in three scenarios: the same user identity in social software and its clone applications, user identities with social relationships, and user identities without social relationships. It minimizes repeated editing and saving of the same video among multiple social software applications with clone relationships within the same mobile terminal, greatly improving the editing efficiency of the same video between the same or different user identities within the same mobile terminal, while effectively improving the utilization rate of mobile terminal storage space and enhancing the security of file sharing.
Smart Images

Figure CN119052561B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of video processing technology, and more particularly to a video editing method, apparatus, system, and storage medium based on social software. Background Technology
[0002] App cloning, also known as app cloning, is a software tool that allows users to create and run multiple instances of the same application on a single device. Each instance can run independently and log in to different accounts. Key features of app cloning include, but are not limited to: Multiple app instances: Supports free multi-instance functionality for most apps on the market, such as social media apps, games, and shopping apps. Unlimited multi-instance: Utilizes a unique memory management mechanism to achieve unlimited multi-instance functionality without lag. Personalization: Supports customizing the icons, names, and adding to the desktop of dual or cloned apps. Privacy protection: Each app instance runs in an independent virtual space, protecting user privacy data. Suitable for various scenarios, such as differentiating between personal and work environments, increasing game rewards, and for security reasons. By using app cloning, users can use multiple accounts simultaneously on the same device, such as work and personal WeChat accounts, or multiple game accounts, without needing to carry multiple devices.
[0003] In existing technologies, application editing is common in scenarios where there are no cloned applications on the same terminal. For example, video editing within video editing software and social media apps is widely used. However, in scenarios where social media apps exist on mobile terminals, differentiated management of video editing is not addressed. For instance, video editing within social media app A1 is often exclusive to A1. Even if a clone app A2 exists, A2 also edits videos independently. This independence often causes significant inconvenience for users because registered users or social users of social media app A1 and its clone app A2 often have social relationships. The aforementioned independent video editing and saving methods do not consider social interaction and storage space utilization. Therefore, a video editing method based on social media apps is needed to solve these problems. Summary of the Invention
[0004] This invention provides a video editing method based on social software, applied to mobile terminals, the method comprising the following steps:
[0005] Step S1: Detect the editing and saving operations of the first social software on the first video, and obtain the first video and the second video obtained after editing;
[0006] Step S2: Detect whether the mobile terminal has a clone application of the first social software installed. If it does, identify the first identity information of the first social software and the second identity information of the clone application.
[0007] Step S3: Determine whether the first identity information and the second identity information are the same. If they are the same, the saving operation is to overwrite and save. Store the first video in the corresponding storage path of the clone application according to the storage path of the second video in the first social software. Otherwise, proceed to step S4.
[0008] Step S4: Determine whether the second identity information has a social relationship in the first social software and the first identity information in the clone application. If so, the saving operation is to save them separately. Set the mapping relationship of the storage path of the first video and the second video in the first social software for the clone application. Otherwise, proceed to step S5.
[0009] Step S5: Use the first social software to store the first video and the second video using the default storage method.
[0010] In a preferred embodiment, step S3 further includes:
[0011] Determine whether the first identity information and the second identity information are the same. If they are the same, when the save operation is to save separately, set the mapping relationship of the storage path for the clone application according to the storage path of the first video and the second video in the first social software.
[0012] As a preferred embodiment, setting a mapping relationship for the storage paths of the clone application based on the storage paths of the first video and the second video in the first social software specifically includes:
[0013] Set and obtain the storage paths of the first video and the second video in the first social media app;
[0014] The storage path is mapped to an anonymous URI using a file provider, granting the clone application temporary access to the anonymous URI.
[0015] As a preferred embodiment, it further includes:
[0016] Obtain the second identity information of the cloned application from the second identity identifier of the cloned application;
[0017] The storage path is mapped to an anonymous URI using a file provider, granting temporary access to the anonymous URI to the identity of the clone application.
[0018] In a preferred embodiment, step S4 further includes:
[0019] Determine whether the second identity information has a social relationship within the first social software and within the clone application. If so, when the save operation is an overwrite save, set the storage path mapping relationship for the second identity identifier of the clone application according to the storage path of the second video in the first social software.
[0020] As a preferred embodiment, storing the first video and the second video using the default storage method of the first social software specifically includes:
[0021] Detect the editing and saving operations of the first social software on the first video, and obtain the first video and the second video cached after editing;
[0022] If the save operation is an overwrite save, then the first video is deleted from the storage path of the first video in the first social software, and the second video is saved;
[0023] If the save operation is to save separately, then the first video and the second video are saved in the storage path of the first video within the first social software.
[0024] In another embodiment, the present invention provides a video editing device based on social software, the device comprising the following modules:
[0025] The video editing module is used to detect the editing and saving operations of the first social software on the first video, and to obtain the first video and the second video obtained after editing;
[0026] The clone application detection module is used to detect whether the mobile terminal has a clone application of the first social software installed. If it exists, it identifies the first identity information of the first social software and the second identity information of the clone application.
[0027] The identity recognition module is used to determine whether the first identity information and the second identity information are the same. If they are the same, when the save operation is to overwrite the save, the first video is stored in the corresponding storage path of the clone application according to the storage path of the second video in the first social software. Otherwise, the social relationship recognition module is executed.
[0028] The social relationship recognition module is used to determine whether the second identity information has a social relationship in the first social software and the first identity information in the clone application. If so, when the save operation is to save separately, the module sets the mapping relationship of the storage path for the clone application according to the storage path of the first video and the second video in the first social software. Otherwise, the video storage module is executed.
[0029] The video storage module uses the default storage method of the first social software to store the first video and the second video.
[0030] As a preferred embodiment, setting a mapping relationship for the storage paths of the clone application based on the storage paths of the first video and the second video in the first social software specifically includes:
[0031] Set and obtain the storage paths of the first video and the second video in the first social media app;
[0032] The storage path is mapped to an anonymous URI using a file provider, granting the clone application temporary access to the anonymous URI.
[0033] As another embodiment, the present invention provides a video editing system based on social software, wherein the system executes the video editing method based on social software.
[0034] In another embodiment, the present invention provides a computer-readable storage medium storing a computer program that executes the video editing method based on social software.
[0035] As can be seen, the video editing method based on social software described above in this invention, by acquiring the editing and saving operations of the video file by the first social software, and then performing corresponding saving operations on the video file by its related clone applications in a linked manner, achieves backup-style and mapping-style saving of video files for the first social software and clone applications, greatly improving the user's efficiency in editing video files and increasing the utilization rate of storage space. This invention realizes video editing, saving, and sharing in three scenarios: the same user identity in social software and its clone applications, user identities with social relationships, and user identities without social relationships. It minimizes repeated editing and saving of the same video among multiple social software applications with clone relationships within the same mobile terminal, greatly improving the editing efficiency of the same video between the same or different user identities within the same mobile terminal, while effectively improving the utilization rate of mobile terminal storage space and enhancing the security of file sharing. Attached Figure Description
[0036] To more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings used in the description of the embodiments and the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0037] Figure 1 This is a schematic diagram illustrating the steps of a video editing method based on social software according to the present invention.
[0038] Figure 2 This is a schematic diagram of the structure of a video editing device based on social software according to the present invention. Detailed Implementation
[0039] The embodiments of the present invention are further described below with reference to the accompanying drawings.
[0040] Example 1:
[0041] like Figure 1 As shown, this invention provides a video editing method based on social software, applied to a mobile terminal. The method includes the following steps:
[0042] Step S1: Detect the editing and saving operations of the first social software on the first video, and obtain the first video and the edited second video. It should be noted that the mobile terminal of the invention can be a smartphone or other terminal type capable of installing third-party applications such as social software; this is not limited here. Currently, video editing can be achieved not only within professional video editing software but also through non-professional video editing applications such as social software. For example, WeChat can perform editing operations such as trimming and beautifying on videos received or captured. Therefore, the method of the present invention can be implemented based on a mobile terminal. Specifically, it can detect the editing and saving operations of the first social software on the mobile terminal, such as WeChat, QQ, Douyin, etc.; users can also edit and save simultaneously during the editing process. In this process, the original video that has not been edited is the first video, and the video saved during or after editing is the second video. Therefore, the mobile terminal of the present invention can monitor the editing and saving operations of the first video in real time, so the second video can be one or more, without limitation.
[0043] Step S2: Detect whether the mobile terminal has a clone application of the first social software installed. If it exists, identify the first identity information of the first social software and the second identity information of the clone application. It should be noted that this is to achieve linkage between video editing and saving operations between the first social software and its associated clone application—that is, to allow video editing and saving operations within the first social software to affect video storage operations within its associated clone application, thereby facilitating video management operations within the clone application by users of the first social software or users with social relationships. Specifically, it monitors whether a corresponding clone application exists on the mobile terminal where the first social software installation platform is located. If it exists, identify the identity information of the first social software, i.e., the registered user identity of the first social software; simultaneously, identify the second identity information of the clone application, i.e., the registered user identity of the clone application.
[0044] Step S3: Determine whether the first identity information and the second identity information are the same. If they are the same, when the save operation is an overwrite save, store the first video in the corresponding storage path of the clone application according to the storage path of the second video in the first social software. Otherwise, proceed to step S4. It should be noted that determining whether the first identity information and the second identity information are the same means determining whether the registered user identity of the first social software is the same as the registered user identity of the clone application. If they are the same, it indicates that the registered user identity of the first social software and its clone application is consistent. In this case, the same registered user in the first social software and the clone application may have their video editing and saving operations in the first social software category applied to the clone application. The editing and saving operations may be for forwarding or editing the video before or after editing within the corresponding clone application. To reduce repetitive user operations and conserve mobile terminal storage space, when the video saving operation in the first social media app is an overwrite operation, the second video is used to overwrite the first video within the first social media app. To avoid the clone application of the same registered user being unable to access the original first video due to the overwrite operation and thus only being able to perform further editing operations based on the second video, this invention, based on the overwrite operation, deletes the first video from the storage path of the first social media app and stores the first video in the storage path of the clone application. Therefore, this invention considers that even if the registered user performs an overwrite video editing operation in the first social media app, and still needs to edit the first video in the clone application, this invention saves the first video in the clone application after performing an overwrite editing operation in the first social media app, so that the registered user can edit it later.
[0045] Step S4: Determine whether the second identity information has a social relationship within the first social software and the first identity information within the clone application. If so, when the save operation is "save separately", set a mapping relationship for the storage path of the clone application based on the storage paths of the first video and the second video in the first social software. Otherwise, proceed to step S5. It should be noted that besides the case where the registered user identities of the first social software and its clone application are consistent, there may also be cases where the registered user identities of the first social software and the clone application are inconsistent. In the case of inconsistency, the user identity of the first social software may or may not have a social relationship within the clone application. Specifically, the user identity of the first social software, i.e., the first user, may be a friend, group member, etc., of the second user in the clone application, or the first user and the second user may not have any social relationship. In the case where a social relationship exists, if the first user's save operation for the first video within the first social software is "save separately", it saves not only the original first video but also the edited second video. To facilitate the second user's use of the aforementioned videos and avoid excessive storage space occupation on the mobile terminal due to repeated saving, this invention, based on the first social software's saving operation of the first and second videos on their storage paths, sets a mapping relationship for the storage paths of the cloned application according to the storage paths of the first and second videos in the first social software. Through this storage path mapping relationship, the cloned application can obtain the first and second videos. For example, within the cloned application, if the first user is a social friend of the second user, when the second user opens an image or video in the storage path of the first user within the cloned application, the storage path mapping relationship of the first and second videos is automatically added. This displays thumbnails of the first and second videos in the folder where the image or video is located. When the second user clicks on the thumbnail, the first and second videos are automatically found and displayed according to the storage path mapping relationship, allowing the second user to edit, forward, and perform other operations on the first and second videos. As can be seen, when the first user and the second user are different users but have a social relationship with each other, the present invention enables the second user to share the first video and the second video saved and edited by the first user through the mapping relationship of the storage path. Of course, this sharing is a conditional and relatively secure sharing based on the first user's first social software and the second user's clone application being installed on the same mobile terminal, rather than conventional video sharing based on different terminal devices or operating systems.
[0046] Step S5, store the default storage methods of the first video and the second video using the first social software. It should be noted that if the second identity information has no social relationship with the first identity information within the first social software and within the dual personality application, that is, the user identity of the first social software, the first user, is not a friend, group member, etc. of the second user of the dual personality application and has no social relationship of any kind. In this case, the first user's editing and saving operations on the low video do not require linkage operations with the analysis application and the second user. Therefore, store the default storage methods of the first video and the second video using the first social software. That is, if the first social software overwrites and saves the second video, delete the first video and save the second video at the storage path of the first video. If the saving operation of the first social software on the second video is to save them separately, save the second video and the first video at the original storage path of the first video.
[0047] It can be seen that the above video editing method based on social software in the present invention, by obtaining the editing and saving operations of the first social software on the video file,联动性的对其相关的分身应用执行相应的对所述视频文件的保存操作,以达到针对第一社交软件和分身应用的视频文件的备份式保存和映射式保存,大大提高了用户对视频文件的编辑效率、提高了对存储空间的利用率。(There seems to be an incorrect expression here. It should be something like "performing corresponding saving operations on the relevant dual personality application for the video file in a linked manner" etc. for a more accurate translation. But following the instruction to keep the original as much as possible.)
[0048] As a preferred implementation manner, step S3 further includes:
[0049] Determine whether the first identity information and the second identity information are the same. If they are the same, when the save operation is to save separately, set the mapping relationship of the storage path for the clone application according to the storage path of the first video and the second video in the first social software. It should be noted that when the first identity information and the second identity information are the same, since the registered user identity of the first social software and its clone application is consistent, the video editing and saving operations performed by the same registered user in the first social software and the clone application may also be applied to the clone application. These editing and saving operations may be for forwarding or editing the video before or after editing within the clone application. To reduce repetitive user operations and save storage space on the mobile terminal, the video saving operation in the first social software is performed separately. Therefore, the second video and the first video are saved in the original storage path of the first video. Furthermore, a mapping relationship is set for the storage path of the first video and the second video in the first social software for the clone application. This allows thumbnails of the first video and the second video to be displayed in the folder containing the images or videos under the storage path of the second user's identity information in the clone application. When the second user clicks on the thumbnail, the first video and the second video are automatically found and displayed according to the storage path mapping relationship, enabling the second user to edit, forward, or perform other operations on the first video and the second video.
[0050] As a preferred embodiment, setting a mapping relationship for the storage paths of the clone application based on the storage paths of the first video and the second video in the first social software specifically includes:
[0051] The storage paths of the first video and the second video in the first social software are set and obtained; the storage paths are mapped to anonymous URIs using a file provider, and temporary access permissions are granted to the clone application to the anonymous URIs. It should be noted that the storage path mapping method of this invention is implemented through Android's File provider and its content provider, specifically through the following five steps: First, declare a file provider in the AndroidManifest, set its export attribute to false, and URI permission to true; second, configure the file path file of the File provider; third, map the file path to a URI; fourth, authorize the obtained URI; fifth, provide the URI to the user. Preferably, the authorization method of this invention is to add the URI to the Intent's data and then set a permission flag for this URI, thereby achieving temporary authorization. This temporary authorization method not only enables file sharing but also maximizes the security of the files in the path of the shared source file and its related files.
[0052] As a preferred embodiment, it further includes:
[0053] The second identity information of the cloned application is obtained from its second identity identifier. A file provider is used to map the storage path to an anonymous URI, granting temporary access rights to the anonymous URI to the cloned application's identity identifier. It should be noted that by obtaining the second identity information of the cloned application from its second identity identifier, the obtained URI is authorized to the user of the second identity identifier. Since the authorization method is the anonymous URI, i.e., temporary authorization, not only is file sharing achieved, but the security of the files and related files in the path of the shared source file is also maximized.
[0054] In a preferred embodiment, step S4 further includes:
[0055] The system determines whether the second identity information has a social relationship within the first social software and within the cloned application. If so, when the save operation is an overwrite save, a mapping relationship is set for the storage path of the second video in the first social software to the second identity identifier of the cloned application. It should be noted that determining whether the second identity information and the first identity information have a social relationship can be implemented according to the aforementioned embodiments, and will not be elaborated here. Furthermore, if the save operation for the second video in the first social software is an overwrite save, the second video is saved on the storage path of the first video file in the first social software, and the first video is deleted. Simultaneously, to facilitate access to the second video by the second user of the cloned application's second identity identifier, the storage path of the second video saved in the first social software is mapped to the second user of the cloned application. This enables video sharing between users with a social relationship when the users of the first social software and the cloned application have a social relationship and the save operation of the video editing operation in the social software is an overwrite save.
[0056] As a preferred embodiment, storing the first video and the second video using the default storage method of the first social software specifically includes:
[0057] The system detects editing and saving operations performed by the first social media app on a first video, and obtains the first video and a second video cached after editing. It should be noted that the user's video editing operation can be simultaneous editing and saving; this saving can be a caching operation or a saving to a local folder. In this invention, if the saving operation is a user-triggered saving to a local folder, the real-time edited video is directly saved to the local folder; if the user does not trigger a saving operation during the editing of the first video, the saving operation is a timed caching operation performed by the operating system.
[0058] If the save operation is an overwrite save, the first video is deleted from the storage path of the first video within the first social software, and the second video is saved. If the save operation is a separate save, both the first video and the second video are saved in the storage path of the first video within the first social software. It should be noted that, since there is no social relationship between the first user who registered the first social software and the second user who registered the clone application in this scenario, the first user typically does not need to share their video edits with the second user. In this case, the editing and saving operations performed by the lower user on the first video are standard video editing and saving operations; that is, if the save operation is an overwrite save, the first video is deleted from the storage path of the first video within the first social software, and the second video is saved; if the save operation is a separate save, both the first video and the second video are saved in the storage path of the first video within the first social software.
[0059] As can be seen, the video editing method based on social software of the present invention realizes video editing, saving, and sharing in three scenarios: users with the same identity, users with social relationships, and users without social relationships using social software and its clones. This minimizes duplicate editing and saving of the same video among multiple social software applications with clone relationships on the same mobile terminal, greatly improving the editing efficiency of the same video between the same or different user identities on the same mobile terminal. It also effectively improves the utilization rate of mobile terminal storage space and enhances the security of file sharing.
[0060] Example 2:
[0061] like Figure 2 As shown, the present invention provides a video editing device based on social software, the device comprising the following modules:
[0062] The video editing module is used to detect editing and saving operations performed by a first social media app on a first video, and to obtain the first video and the edited second video. It should be noted that the mobile terminal of the invention can be a smartphone or other terminal type capable of installing third-party applications such as social media apps; this is not limited here. Currently, video editing can be achieved not only within professional video editing software but also through non-professional video editing applications such as social media apps. For example, WeChat can perform editing operations such as trimming and beautifying on videos received or captured. Therefore, the method of the present invention can be implemented based on a mobile terminal. Specifically, it can detect editing and saving operations performed by a first social media app on the mobile terminal, such as WeChat, QQ, or Douyin. Users can also edit and save simultaneously during the editing process. In this process, the original, unedited video is the first video, and the video saved during or after editing is the second video. Therefore, the mobile terminal of the present invention can monitor the editing and saving operations on the first video in real time, so the second video can be one or multiple, without limitation.
[0063] The clone application detection module is used to detect whether the mobile terminal has a clone application of the first social software installed. If it exists, it identifies the first identity information of the first social software and the second identity information of the clone application. It should be noted that this is to enable linkage between video editing and saving operations between the first social software and its associated clone application; that is, video editing and saving operations within the first social software can affect video storage operations within its associated clone application, thereby facilitating video management operations within the clone application by users of the first social software or users with social relationships. Specifically, it monitors whether a corresponding clone application exists on the mobile terminal where the first social software is installed. If it exists, it identifies the identity information of the first social software, i.e., the registered user identity of the first social software; simultaneously, it identifies the second identity information of the clone application, i.e., the registered user identity of the clone application.
[0064] An identity recognition module is used to determine whether the first identity information and the second identity information are the same. If they are the same, when the save operation is an overwrite save, the first video is stored in the corresponding storage path of the clone application according to the storage path of the second video in the first social software. Otherwise, the social relationship recognition module is executed. It should be noted that determining whether the first identity information and the second identity information are the same means determining whether the registered user identity of the first social software is the same as the registered user identity of the clone application. If they are the same, it indicates that the registered user identity of the first social software and its clone application is consistent. In this case, the same registered user in the first social software and the clone application may have their video editing and saving operations in the first social software category applied to the clone application. Within the app, the editing and saving operations may be for forwarding or editing the video before or after editing within the corresponding cloned application. To reduce repetitive user operations and conserve mobile terminal storage space, when the video saving operation within the first social media app is an overwrite operation, the second video is used to overwrite the first video within the first social media app. To avoid the cloned application of the same registered user being unable to access the original first video due to the overwrite operation and thus only being able to perform further editing operations based on the second video, this invention, based on the overwrite operation, deletes the first video from the storage path of the first social media app and stores the first video in the storage path of the cloned application. Therefore, this invention considers that when the first social media app and the cloned application belong to the same registered user, even if the registered user performs an overwrite video editing operation within the first social media app, the registered user still has a need to edit the first video within the cloned application. Therefore, this invention performs an overwrite editing operation on the first video within the first social media app and then saves the first video in the cloned application for the registered user to edit.
[0065] A social relationship recognition module is used to determine whether the second identity information has a social relationship within the first social software and within the cloned application. If so, when the save operation is to save separately, a mapping relationship is set for the storage path of the cloned application based on the storage paths of the first video and the second video in the first social software. Otherwise, the video storage module is executed. It should be noted that, besides the case where the registered user identities of the first social software and its cloned application are consistent, there may also be cases where the registered user identities of the first social software and the cloned application are inconsistent. In the case of inconsistency, the user identity of the first social software may or may not have a social relationship within the cloned application. Specifically, the user identity of the first social software, i.e., the first user, is a friend, group member, etc., of the second user in the cloned application, or the first user and the second user do not have any social relationship. In the case where there is a social relationship, if the first user saves the first video separately within the first social software, it saves not only the original first video but also the edited second video. To facilitate the second user's use of the aforementioned videos and avoid excessive storage space occupation on the mobile terminal due to repeated saving, this invention, based on the first social software's saving operation of the first and second videos on their storage paths, sets a mapping relationship for the storage paths of the cloned application according to the storage paths of the first and second videos in the first social software. Through this storage path mapping relationship, the cloned application can obtain the first and second videos. For example, within the cloned application, if the first user is a social friend of the second user, when the second user opens an image or video in the storage path of the first user within the cloned application, the storage path mapping relationship of the first and second videos is automatically added. This displays thumbnails of the first and second videos in the folder where the image or video is located. When the second user clicks on the thumbnail, the first and second videos are automatically found and displayed according to the storage path mapping relationship, allowing the second user to edit, forward, and perform other operations on the first and second videos. As can be seen, when the first user and the second user are different users but have a social relationship with each other, the present invention enables the second user to share the first video and the second video saved and edited by the first user through the mapping relationship of the storage path. Of course, this sharing is a conditional and relatively secure sharing based on the first user's first social software and the second user's clone application being installed on the same mobile terminal, rather than conventional video sharing based on different terminal devices or operating systems.
[0066] The video storage module stores the default storage methods of the first video and the second video using the first social software. It should be noted that if the second identity information does not have a social relationship with the first identity information within the first social software and within the clone application, that is, the user identity of the first social software, namely the first user, is not a friend, group member, etc. of the second user of the clone application and has no social relationship, then at this time, the first user's editing and saving operations on the low video do not require linkage operations on the analysis application and the second user; therefore, the default storage methods of the first video and the second video are stored using the first social software, that is, if the first social software overwrites and saves the second video, the first video is deleted and the second video is saved under the storage path of the first video; if the saving operation of the first social software on the second video is to save them separately, the second video and the first video are saved under the original storage path of the first video.
[0067] It can be seen that the above video editing device based on social software according to the present invention, by obtaining the editing and saving operations of the first social software on the video file,联动性地对其相关的分身应用执行相应的对所述视频文件的保存操作,以达到针对第一社交软件和分身应用的视频文件的备份式保存和映射式保存,大大提高了用户对视频文件的编辑效率、提高了对存储空间的利用率。
[0068] As a preferred implementation manner, the identity recognition module further includes:
[0069] It should be noted that there is an unclear part in the Chinese text for item [5] which is marked in the translation. It seems there is some incorrect or unclear expression in the original Chinese text at that position. You may need to check and correct it for a more accurate translation.Determine whether the first identity information and the second identity information are the same. If they are the same, when the save operation is to save separately, set the mapping relationship of the storage path for the clone application according to the storage path of the first video and the second video in the first social software. It should be noted that when the first identity information and the second identity information are the same, since the registered user identity of the first social software and its clone application is consistent, the video editing and saving operations performed by the same registered user in the first social software and the clone application may also be applied to the clone application. These editing and saving operations may be for forwarding or editing the video before or after editing within the clone application. To reduce repetitive user operations and save storage space on the mobile terminal, the video saving operation in the first social software is performed separately. Therefore, the second video and the first video are saved in the original storage path of the first video. Furthermore, a mapping relationship is set for the storage path of the first video and the second video in the first social software for the clone application. This allows thumbnails of the first video and the second video to be displayed in the folder containing the images or videos under the storage path of the second user's identity information in the clone application. When the second user clicks on the thumbnail, the first video and the second video are automatically found and displayed according to the storage path mapping relationship, enabling the second user to edit, forward, or perform other operations on the first video and the second video.
[0070] As a preferred embodiment, setting a mapping relationship for the storage paths of the clone application based on the storage paths of the first video and the second video in the first social software specifically includes:
[0071] The storage paths of the first video and the second video in the first social software are set and obtained; the storage paths are mapped to anonymous URIs using a file provider, and temporary access permissions are granted to the clone application to the anonymous URIs. It should be noted that the storage path mapping method of this invention is implemented through Android's File provider and its content provider, specifically through the following five steps: First, declare a file provider in the AndroidManifest, set its export attribute to false, and URI permission to true; second, configure the file path file of the File provider; third, map the file path to a URI; fourth, authorize the obtained URI; fifth, provide the URI to the user. Preferably, the authorization method of this invention is to add the URI to the Intent's data and then set a permission flag for this URI, thereby achieving temporary authorization. This temporary authorization method not only enables file sharing but also maximizes the security of the files in the path of the shared source file and its related files.
[0072] As a preferred embodiment, it further includes:
[0073] The second identity information of the cloned application is obtained from its second identity identifier. A file provider is used to map the storage path to an anonymous URI, granting temporary access rights to the anonymous URI to the cloned application's identity identifier. It should be noted that by obtaining the second identity information of the cloned application from its second identity identifier, the obtained URI is authorized to the user of the second identity identifier. Since the authorization method is the anonymous URI, i.e., temporary authorization, not only is file sharing achieved, but the security of the files and related files in the path of the shared source file is also maximized.
[0074] In a preferred embodiment, the social relationship recognition module further includes:
[0075] The system determines whether the second identity information has a social relationship within the first social software and within the cloned application. If so, when the save operation is an overwrite save, a mapping relationship is set for the storage path of the second video in the first social software to the second identity identifier of the cloned application. It should be noted that determining whether the second identity information and the first identity information have a social relationship can be implemented according to the aforementioned embodiments, and will not be elaborated here. Furthermore, if the save operation for the second video in the first social software is an overwrite save, the second video is saved on the storage path of the first video file in the first social software, and the first video is deleted. Simultaneously, to facilitate access to the second video by the second user of the cloned application's second identity identifier, the storage path of the second video saved in the first social software is mapped to the second user of the cloned application. This enables video sharing between users with a social relationship when the users of the first social software and the cloned application have a social relationship and the save operation of the video editing operation in the social software is an overwrite save.
[0076] As a preferred embodiment, storing the first video and the second video using the default storage method of the first social software specifically includes:
[0077] The system detects editing and saving operations performed by the first social media app on a first video, and obtains the first video and a second video cached after editing. It should be noted that the user's video editing operation can be simultaneous editing and saving; this saving can be a caching operation or a saving to a local folder. In this invention, if the saving operation is a user-triggered saving to a local folder, the real-time edited video is directly saved to the local folder; if the user does not trigger a saving operation during the editing of the first video, the saving operation is a timed caching operation performed by the operating system.
[0078] If the save operation is an overwrite save, the first video is deleted from the storage path of the first video within the first social software, and the second video is saved. If the save operation is a separate save, both the first video and the second video are saved in the storage path of the first video within the first social software. It should be noted that, since there is no social relationship between the first user who registered the first social software and the second user who registered the clone application in this scenario, the first user typically does not need to share their video edits with the second user. In this case, the editing and saving operations performed by the lower user on the first video are standard video editing and saving operations; that is, if the save operation is an overwrite save, the first video is deleted from the storage path of the first video within the first social software, and the second video is saved; if the save operation is a separate save, both the first video and the second video are saved in the storage path of the first video within the first social software.
[0079] As can be seen, the video editing device based on social software of the present invention realizes video editing, saving and sharing in three scenarios: the same user identity of social software and its clone applications, user identities with social relationships and user identities without social relationships. It minimizes the repeated editing and saving of the same video among multiple social software with clone relationships on the same mobile terminal, greatly improves the editing efficiency of the same video between the same or different user identities on the same mobile terminal, effectively improves the utilization rate of mobile terminal storage space, and enhances the security of file sharing.
[0080] Example 3:
[0081] As another embodiment, the present invention provides a video editing system based on social software, the system executing the video editing method based on social software of the foregoing embodiments.
[0082] Those skilled in the art will understand that this invention includes devices for performing one or more of the operations described in this application. These devices may be specifically designed and manufactured for the desired purpose, or may include known devices found in general-purpose computers. These devices have computer programs stored therein that can be selectively activated or reconfigured. Such computer programs may be stored in a device (e.g., a computer)-readable medium or in any type of medium suitable for storing electronic instructions and coupled to a bus, including but not limited to any type of disk (including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic cards, or optical cards. That is, a readable medium includes any medium by which a device (e.g., a computer) stores or transmits information in a readable form.
[0083] Those skilled in the art will understand that each block in these structural diagrams and / or block diagrams and / or flow diagrams, as well as combinations of blocks in these structural diagrams and / or block diagrams and / or flow diagrams, can be implemented using computer program instructions. Those skilled in the art will also understand that these computer program instructions can be provided to a processor of a general-purpose computer, a specialized computer, or other programmable data processing method for implementation, thereby enabling the processor of the computer or other programmable data processing method to execute the schemes specified in the blocks or plurality of blocks of the structural diagrams and / or block diagrams and / or flow diagrams disclosed herein.
[0084] Those skilled in the art will understand that the steps, measures, and schemes in the various operations, methods, and processes discussed in this invention can be alternated, modified, combined, or deleted. Furthermore, other steps, measures, and schemes in the various operations, methods, and processes discussed in this invention can also be alternated, modified, rearranged, decomposed, combined, or deleted. Furthermore, steps, measures, and schemes in the prior art that are similar to those disclosed in this invention can also be alternated, modified, rearranged, decomposed, combined, or deleted.
[0085] The above description is merely an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.
Claims
1. A social software-based video editing method applied to a mobile terminal, characterized in that, The method includes the following steps: Step S1: Detect the editing and saving operations of the first social software on the first video, and obtain the first video and the second video obtained after editing; Step S2: Detect whether the mobile terminal has a clone application of the first social software installed. If it does, identify the first identity information of the first social software and the second identity information of the clone application. Step S3: Determine whether the first identity information and the second identity information are the same. If they are the same, when the save operation is to overwrite the save, store the first video in the corresponding storage path of the clone application according to the storage path of the second video in the first social software. Otherwise, proceed to step S4. Step S4: Determine whether the second identity information has a social relationship in the first social software and the first identity information in the clone application. If so, when the save operation is to save separately, set the storage path mapping relationship for the clone application according to the storage path of the first video and the second video in the first social software. Through the storage path mapping relationship, the clone application can obtain the first video and the second video. Otherwise, proceed to step S5; Step S5, using the first social software to store the first video and the second video in the default storage mode, includes: if the first social software overwrites the second video, then delete the first video and save the second video in the storage path of the first video; if the first social software saves the second video separately, then save the second video and the first video in the original storage path of the first video.
2. The video editing method based on social software according to claim 1, characterized in that, Step S3 further includes: Determine whether the first identity information and the second identity information are the same. If they are the same, when the save operation is to save separately, set the mapping relationship of the storage path for the clone application according to the storage path of the first video and the second video in the first social software.
3. The video editing method based on social software according to claim 1 or 2, characterized in that, The step of setting a mapping relationship for the storage paths of the clone application based on the storage paths of the first video and the second video in the first social software specifically includes: Set and obtain the storage paths of the first video and the second video in the first social media app; The storage path is mapped to an anonymous URI using a file provider, granting the clone application temporary access to the anonymous URI.
4. The video editing method based on social software according to claim 3, characterized in that, Also includes: Obtain the second identity information of the cloned application from the second identity identifier of the cloned application; The storage path is mapped to an anonymous URI using a file provider, granting temporary access to the anonymous URI to the identity of the clone application.
5. The video editing method based on social software according to claim 4, characterized in that, Step S4 further includes: Determine whether the second identity information has a social relationship within the first social software and within the clone application. If so, when the save operation is an overwrite save, set the storage path mapping relationship for the second identity identifier of the clone application according to the storage path of the second video in the first social software.
6. The video editing method based on social software according to claim 1, characterized in that, The step of storing the first video and the second video using the first social media software in a default storage mode specifically includes: Detect the editing and saving operations of the first social software on the first video, and obtain the first video and the second video cached after editing; If the save operation is an overwrite save, then the first video is deleted from the storage path of the first video in the first social software, and the second video is saved; If the save operation is to save separately, then the first video and the second video are saved in the storage path of the first video within the first social software.
7. A video editing device based on social software, characterized in that, The device for implementing the video editing method based on social software according to any one of claims 1-6 includes the following modules: The video editing module is used to detect the editing and saving operations of the first social software on the first video, and to obtain the first video and the second video obtained after editing; The clone application detection module is used to detect whether the mobile terminal has a clone application of the first social software installed. If it exists, it identifies the first identity information of the first social software and the second identity information of the clone application. The identity recognition module is used to determine whether the first identity information and the second identity information are the same. If they are the same, when the save operation is to overwrite the save, the first video is stored in the corresponding storage path of the clone application according to the storage path of the second video in the first social software. Otherwise, the social relationship recognition module is executed. The social relationship recognition module is used to determine whether the second identity information has a social relationship in the first social software and the first identity information in the clone application. If so, when the save operation is to save separately, the module sets the mapping relationship of the storage path for the clone application according to the storage path of the first video and the second video in the first social software. Otherwise, the video storage module is executed. The video storage module uses the first social software to store the first video and the second video in a default storage mode, including: if the first social software overwrites the second video, then the first video is deleted and the second video is saved in the storage path of the first video; if the first social software saves the second video separately, then the second video and the first video are saved in the original storage path of the first video.
8. The video editing device based on social software according to claim 7, characterized in that, The step of setting a mapping relationship for the storage paths of the clone application based on the storage paths of the first video and the second video in the first social software specifically includes: Set and obtain the storage paths of the first video and the second video in the first social media app; The storage path is mapped to an anonymous URI using a file provider, granting the clone application temporary access to the anonymous URI.
9. A video editing system based on social software, characterized in that, The system performs the video editing method based on social software as described in any one of claims 1-6.
Citation Information
Patent Citations
File processing method and device based on social software, and mobile terminal
CN106202325A
Prompting method of social application, prompting device and terminal
CN106385507A