Video editing method, device and system applied to social software
By obtaining the collection of mini programs in social software and its clone applications, video editing selection and identity management across application instances is realized, and video editing complexity and permission management problems in mobile terminals are solved, and the privacy and user experience of video editing are improved. .
Patent Information
- Application Number
- CN202411079939.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-12-03
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the social software of mobile terminals, users need to manually select video editing applications and mini programs, which leads to a complex video editing process and is difficult to meet user needs, especially in the clone application scenarios, video editing permission management between the same or different user identities. and insufficient privacy.
By obtaining the available collection of mini programs in social software and its clone applications, we can select video editing mini programs across application instances, and realize login and editing permissions for the same or different user identities through the identity management of clone applications and mini programs. Sharing to improve the privacy of video editing.
It simplifies the selection process of video editing applications, realizes video editing permission sharing in the clone relationship between social software, and improves the privacy of video editing between the same or different user identities.
Smart Images

Figure CN119065566A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of video editing, and in particular to a video editing method, device, system and storage medium applied to social software. Background Art
[0002] A clone application, also known as an application clone, 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. The main functions of the clone application include but are not limited to: Multiple applications: Supports free multiple opening of most applications on the market, such as social software, game applications, shopping applications, etc. Unlimited multiple openings: Relying on a unique memory management mechanism, unlimited multiple openings can be achieved without lag. Personalization: Supports free editing of icons, names, and adding to the desktop for dual-open or cloned applications. Protecting privacy data: Each application instance runs in an independent virtual space, which can protect the user's privacy data. It is suitable for a variety of scenarios, such as distinguishing personal and work environments, increasing game revenue, and for security reasons. By using a clone application, users can use multiple accounts on the same device at the same time, such as work and personal WeChat accounts, or multiple game accounts, without carrying multiple devices.
[0003] In the prior art, it is very common to implement application editing in a single application, that is, in a scenario where there is no clone application on the same terminal. For example, video editing software and social software have been widely used to implement video editing. However, in the scenario where there is a clone application of social software in a mobile terminal, video editing applied to differentiated user identities is not involved. For example, the same or different users on the same terminal need to manually select the application for video editing and its accompanying mini-programs between the social software and its clone application. As a result, the selection process of the video editing application and its mini-program is relatively complicated and difficult to meet the user's usage needs. Therefore, it is necessary to propose a video editing method applied to social software to solve the above problems. Summary of the invention
[0004] The present invention provides a video editing method applied to social software, the method comprising the following steps:
[0005] Step S1, obtaining a trigger operation of editing a first video by a first user in a first social software, identifying a first set of mini-programs in the first social software that have been registered and used by the first user, detecting whether the mobile terminal has installed a clone application of the first social software, and if so, identifying a second set of mini-programs that have been registered and used by a second user of the clone application;
[0006] Step S2, applying the editing trigger operation to display the first mini-program set and the second mini-program set, and identifying the trigger start operation of the first user on any mini-program in the first mini-program set and the second mini-program set;
[0007] Step S3, determining the source of the first mini-program that triggers the start operation, and if the source is a mini-program in the first mini-program set, applying the first social software to load the first video in the first mini-program; if the source is a mini-program in the second mini-program set, executing step S4;
[0008] Step S4, start the clone application and its second mini-program, obtain the storage path of the first video in the first social software, the second user loads the first video according to the path according to the clone application and its second mini-program, and the second user saves the edited first video in the storage path through the save operation of the edited first video.
[0009] As a preferred implementation, after detecting whether the mobile terminal has installed the clone application of the first social software, the method further includes:
[0010] If it does not exist, the editing trigger operation is applied to display the first mini-program set, and the trigger start operation of the first user on any mini-program in the first mini-program set is identified;
[0011] Launching a third mini-program corresponding to the triggering launch operation in the first social software;
[0012] The storage path of the first video in the first social software is obtained, and the first user loads the first video according to the path based on the first social software and the third applet thereof, and the first user saves the edited first video in the storage path through a save operation on the edited first video.
[0013] As a preferred implementation manner, the saving operation applied to the second user on the edited first video saves the edited first video in the storage path, specifically comprising:
[0014] Obtaining a storage path of the first video in the first social software;
[0015] Obtaining a second identity identifier of the second user of the clone application in the clone application;
[0016] Use a file provider to map the storage path to an anonymous URI, grant the clone application temporary access rights to the anonymous URI, and use the second identity identifier applied to the second mini program to read the first video and save the edited first video based on the temporary access rights.
[0017] As a preferred implementation, after step S4, the method further includes:
[0018] Obtaining identity information of the first user and the second user, and determining whether the identity information of the first user and the second user is the same; if not, obtaining the fee consumed by the second user of the second mini program for editing the first video;
[0019] The fees in the first social software of the first user are transferred to the account of the second mini program of the second user.
[0020] As a preferred implementation, after step S3 and before step S4, the method further includes:
[0021] Obtaining identity information of the first user and the second user of the second mini program, determining whether the identity information of the first user and the second user are the same, and if they are the same, launching the second mini program in the first social software, and logging in to the second mini program using the identity information of the first user;
[0022] The second mini program obtains the storage path of the first video in the first social software, and the first user loads the first video according to the first social software and its second mini program according to the path, and the first user saves the edited first video in the storage path through a save operation of the first user.
[0023] As a preferred implementation, the application for the edit trigger operation to display the first set of mini-programs and the second set of mini-programs further includes:
[0024] Obtain the number of mini-programs in the first mini-program set and the second mini-program set, and if the number is greater than a first number threshold, obtain the user level, user authority, user points, and account balance of all the mini-programs;
[0025] The priority of all the mini-programs is calculated based on the user level, the user authority, the user points and the account balance, and the first quantity threshold number of mini-programs with higher priority is displayed in the editing trigger operation.
[0026] As another embodiment, the present invention provides a video editing device applied to social software, the device comprising the following modules:
[0027] A clone application identification module is used to obtain an editing trigger operation of a first user on a first social software on a first video, identify a first set of mini-programs in the first social software that have been registered and used by the first user, detect whether the mobile terminal has installed a clone application of the first social software, and if so, identify a second set of mini-programs that have been registered and used by a second user of the clone application;
[0028] A mini-program startup module, used for displaying the first mini-program set and the second mini-program set in the editing trigger operation, and identifying the trigger startup operation of the first user on any mini-program in the first mini-program set and the second mini-program set;
[0029] A mini-program source identification module, used to determine the source of the first mini-program that triggers the start operation, and if the source is a mini-program in the first mini-program set, the first social software is applied to load the first video in the first mini-program; if the source is a mini-program in the second mini-program set, the video editing module is executed;
[0030] A video editing module is used to start the clone application and its second mini program, obtain the storage path of the first video in the first social software, and the second user loads the first video according to the path according to the clone application and its second mini program, and the second user saves the edited first video in the storage path.
[0031] As a preferred implementation manner, the saving operation applied to the second user on the edited first video saves the edited first video in the storage path, specifically comprising:
[0032] Obtaining a storage path of the first video in the first social software;
[0033] Obtaining a second identity identifier of the second user of the clone application in the clone application;
[0034] Use a file provider to map the storage path to an anonymous URI, grant the clone application temporary access rights to the anonymous URI, and use the second identity identifier applied to the second mini program to read the first video and save the edited first video based on the temporary access rights.
[0035] As another embodiment, the present invention provides a video editing system applied to social software, and the system executes the video editing method applied to social software.
[0036] As another embodiment, the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program executes the video editing method applied to social software.
[0037] It can be seen that the video editing method and device applied to social software of the present invention, by obtaining the mini-programs that can be selected by users in the first social software and its clone application for video editing, not only realizes the selection of video editing mini-programs applied to cross-application instances of social relationships, but also realizes the mini-program login and editing permission management of the same user identity or different user identities applied to the clone relationship between these social software across application instances, thereby achieving the sharing of login and video editing permissions of the same user identity between the clone relationships between social software, and improving the privacy of video editing between the same or different user identities. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments and the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 It is a schematic diagram of the steps of a video editing method applied to social software of the present invention.
[0040] Figure 2 It is a structural schematic diagram of a video editing device applied to social software of the present invention. DETAILED DESCRIPTION
[0041] The embodiments of the present invention are further described below with reference to the accompanying drawings.
[0042] Embodiment 1:
[0043] like Figure 1 As shown, the present invention provides a video editing method applied to social software, the method comprising the following steps:
[0044] Step S1, obtaining the editing trigger operation of the first user on the first social software on the first video, identifying the first set of small programs that the first user has registered and used in the first social software, detecting whether the mobile terminal has installed the clone application of the first social software, and if so, identifying the second set of small programs that the second user of the clone application has registered and used; it should be noted that the first social application of the present invention can be social software such as WeChat, QQ, etc., and can also be other types of social software, which is not limited here. The first video of the user in the first social software can be a video shot by the first social software, or a video sent by other users received by the user of the first social software, which is not limited here. For example, the user of the first social software receives the first video sent by his friend, and enters the video editing mode by clicking on the first video; thereby identifying the first set of small programs that the first user has registered and used in the first social software. It should be noted that since the user has entered the video editing mode, the first set of programs identified is a small program with a video editing function, thereby automatically finding a set of small programs with registration and use history in the current first social software for the first user to select. The first user here is a registered user of the first social software, that is, the user operating the current mobile terminal. Then, the mobile terminal monitors whether the first social software's clone application is installed in the current operating system, that is, a certain social software has other application instances of the same or different users. It should be emphasized that the relationship between the first social software and the clone application here is the relationship between different application instances of the same application, that is, the first social software can be the original application instance, and the corresponding clone application is other application instances corresponding to the original application instance; or, the clone application is the original application instance, and the first social software is other application instances corresponding to the original use instance. On this basis, it is detected whether the mobile terminal has the clone application of the first social software installed; because the clone application and the first social software have a social relationship applied to the same mobile terminal, that is, the two have the same user identity or a user identity with a social relationship, so that the range of the applet set for editing the first video can be expanded, so that the user can make the choice of applet for editing the first video more diversified. Furthermore, if it is monitored that the mobile terminal has an avatar application of the first social software installed, a second mini-program set of mini-programs that have been registered and used by a second user of the avatar application is identified, and the user is provided with an expansion of the mini-programs in the first mini-program set for selection. Such expansion not only takes into account the diversity of choices of mini-programs for editing videos, but also takes into account the privacy of mini-program sharing between application instances with interactive relationships.
[0045] Step S2, applied to the editing trigger operation to display the first applet set and the second applet set, and identify the trigger start operation of the first user on any applet in the first applet set and the second applet set; it should be noted that after the user triggers the editing operation on the first video, the first applet set and the second applet set for editing the video are displayed on the interface currently displaying the first video for the user to select. Among them, the display method of displaying the first applet set and the display method of displaying the second applet set can be the same or different; for example, each applet in the first applet set can be displayed in the same area, displaying the same applet logo background and dynamic effects, and the display method of each applet in the second applet set can be the same as or different from the display method of each applet in the first applet set, which is not limited here. On the basis of the above display, the trigger start operation of the first user on any applet in the first applet set and the second applet set is obtained, such as a click operation on any applet icon, thereby triggering the corresponding applet to start.
[0046] Step S3, determine the source of the first applet that triggers the start operation. If the source is a applet in the first applet set, the first social software is applied to load the first video in the first applet; if the source is a applet in the second applet set, execute step S4; it should be noted that, since the applets in the above two applet sets are from different application instances, it is necessary to determine the source of the currently started first applet and which application instance the first applet is from. If the source is a applet in the first applet set, and the first applet is a applet that has been registered or used in the first social software, the first social software is applied to load the first video in the first applet, and load the first applet and the first video to be edited through the operating environment provided by the first social software. On the contrary, if the source is a applet in the second applet set, execute the subsequent process.
[0047] Step S4, start the clone application and its second applet, obtain the storage path of the first video in the first social software, the second user loads the first video according to the clone application and its second applet application to the path, and applies the second user to save the edited first video to the storage path to save the edited first video. It should be noted that since the applet selected by the user for editing the first video is the second applet derived from the clone application, it is necessary to start the clone application to start the second applet to edit the first video. In order for the second applet to obtain the first video in the operating environment provided by the clone application, it is necessary to obtain the storage path of the first video in the first social software, so that the second user loads the first video according to the clone application and its second applet application to the path, and applies the second user to save the edited first video to save the edited first video in the storage path. The second user here is a registered user of the clone application. It should be emphasized that the purpose of starting the clone application and thus starting the second applet is not only to use the clone application to provide a running environment for the second applet, but also because the second applet has been registered and used in the clone application, the use of the second applet also takes into account the user information provided by the clone application, and these user information involves the user privacy used by the clone application. Therefore, considering the user privacy, if the second applet is a registered applet in the clone application, the clone application must provide a running environment for the use of the second applet; on the contrary, if the second applet is a applet that has been used but not registered in the clone application, the clone application does not need to provide a running environment for the second applet. At this time, the user's trigger start operation can be applied to start the second applet in the first social software, so that the first social software provides a running environment for the second applet, and there is no need to start the clone application.
[0048] The video editing method applied to social software of the present invention not only realizes the selection of video editing applets applied to cross-application instances of social relationships by obtaining mini-programs that can be selected by users in the first social software and its clone applications for video editing, but also realizes the login and editing permission management of mini-programs with the same user identity or different user identities in the clone relationships between these cross-application social software, thereby achieving the sharing of login and video editing permissions of the same user identity between the clone relationships between social software, and improving the privacy of video editing between the same or different user identities.
[0049] As a preferred implementation, after detecting whether the mobile terminal has installed the clone application of the first social software, the method further includes:
[0050] If it does not exist, it is applied to the editing trigger operation to display the first applet set, and identify the trigger start operation of the first user on any applet in the first applet set; it should be noted that if the clone application of the first social software does not exist in the mobile terminal, it indicates that there is no application instance with a social relationship with the first user in the mobile terminal. At this time, the editing operation of the first video is performed only according to the first applet set for editing videos provided by the first social software. Specifically, the mobile terminal identifies the trigger start operation of the first user on any applet in the first applet set, and applies the trigger start operation to start the third applet corresponding to the trigger start operation in the first social software. Since the storage path of the first video is in the first social software, the third applet needs to obtain the storage path of the first video in the first social software, thereby realizing the loading of the first video by the third applet; that is, the first user is applied to the path to load the first video according to the first social software and its third applet, and is applied to the first user's save operation on the edited first video to save the edited first video in the storage path, thereby realizing the editing and saving of the first video by the third applet.
[0051] As a preferred implementation manner, the saving operation applied to the second user on the edited first video saves the edited first video in the storage path, specifically comprising:
[0052] Obtain the storage path of the first video in the first social software; obtain the second identity of the second user of the clone application in the clone application; it should be noted that in order to realize the acquisition and storage of the first video between the first social software and the clone application, that is, between application instances, the present invention is implemented by storage path mapping. Specifically, the storage path is mapped to an anonymous URI using a file provider, and the temporary access right of the anonymous URI is granted to the clone application. The second identity applied to the second applet reads the first video and saves the edited first video according to the temporary access right. The storage path mapping method of the present invention is implemented through the File provider and its content provider provided by Android, and is specifically implemented through the following five steps: the first step is to declare a file provider in the Android manifest, set its export attribute to false, and set Uripermission to true; the second step is to configure the File provider file path file; the third step is to map the file path to a URI; the fourth step is to authorize the obtained uri; the fifth step is to provide the uri to the user. Preferably, the authorization method of the present invention is to add the uri to the data of the Intent, and then set the permission Flag to this uri, thereby realizing temporary authorization. This temporary authorization method can not only realize file sharing, but also can maximize the security of the files in the path where the shared source file is located and its related files. By obtaining the second identity information of the clone application in the second identity identifier of the clone application, the obtained uri is authorized to the user of the second identity identifier; because the authorization method is the anonymous URI, that is, the temporary authorization method, it can not only realize the sharing of files between application instances, but also can maximize the security of the files in the path where the shared source file is located and its related files, which is particularly suitable for the situation where the first social software and the clone application are different registered user identities.
[0053] As a preferred implementation, after step S4, the method further includes:
[0054] Obtain the identity information of the first user and the second user, and determine whether the identity information of the first user and the second user is the same. If not, obtain the fee consumed by the second user of the second mini program to edit the first video; transfer the fee in the first social software of the first user to the account of the second mini program of the second user. It should be noted that the first user who registers the first social software and the second user who registers the clone application may be the same user or different users. Since the mini programs in the first mini program set for video editing are registered or used with the identity of the first user of the first social software, using the mini programs for video editing may consume the points or balance of the corresponding registered user; thus, the consumption of the above points or balance is taken into account when the mini programs across application instances applied to different users provide video editing functions. Specifically, the identity information of the first user of the first social software that provides an operating environment for the mini-programs in the first mini-program set and the second user of the clone application that provides an operating environment for the mini-programs in the second mini-program set is obtained, and it is determined whether the identity information of the first user and the second user is the same. If they are not the same, it is necessary to consider the impact of the points or fees consumed by editing the first video on different users with social relationships, so as to obtain the points or fees consumed by the second user of the second mini-program in editing the first video, and then transfer the fees in the first social software of the first user to the account of the second mini-program of the second user; thereby, the repayment of the points and fees consumed by the first user in editing the first video by using the second mini-program of the clone application is achieved, and the balance of the use of points or fees between different registered users is ensured.
[0055] As a preferred implementation, after step S3 and before step S4, the method further includes:
[0056] The identity information of the second user of the first user and the second applet is obtained, and it is determined whether the identity information of the first user and the second user is the same. If the identity information is the same, the second applet is started in the first social software, and the identity information of the first user is used to log in to the second applet; it should be noted that the identity information of the second user of the second applet can be the user identity information of the clone application, or it can be identity information different from the user identity information of the clone application, which is not limited here. Therefore, it is necessary to obtain the identity information of the second user of the first user and the second applet, and then determine whether the identity information of the first user and the second user is the same. If the identity information is the same, it indicates that although the second applet is provided with an operating environment by the clone application, it has been used to edit the video with the same user identity. At this time, due to the same identity information, the first social software is preferentially used to provide an operating environment for the second applet. At this time, the second applet is started in the first social software, and the identity information of the first user is used to log in to the second applet, so as to run the second social applet through the operating environment provided by the first social software to edit the first video, thereby avoiding starting the clone application and reducing the occupation of the memory resources of the mobile terminal.
[0057] The second applet obtains the storage path of the first video in the first social software, the first user loads the first video according to the first social software and its second applet applied to the path, and the first user saves the edited first video in the storage path. It should be noted that in order to realize the editing of the first video by the second applet, it is necessary to obtain the storage path of the first video in the first social software. Therefore, the second applet obtains the storage path of the first video in the first social software, the first user loads the first video according to the first social software and its second applet applied to the path to facilitate the user's editing of the first video, and finally, the first user saves the edited first video in the storage path to realize the editing and saving of the first video.
[0058] As a preferred implementation, the application for the edit trigger operation to display the first set of mini-programs and the second set of mini-programs further includes:
[0059] The number of mini-programs in the first mini-program set and the second mini-program set is obtained. If the number is greater than the first quantity threshold, the user level, user authority, user points and account balance of all the mini-programs are obtained. It should be noted that since the number of mini-programs for video editing registered or used by the user may be large, in order to facilitate the user to select mini-programs with a greater possibility of use, the present invention obtains the number of mini-programs in the first mini-program set and the second mini-program set. If the number is greater than the first quantity threshold, it indicates that the number of mini-programs to be displayed is large, which will cause the user to be unable to quickly select from them. At this time, the user level, user authority, user points and account balance of all the mini-programs are obtained, and the user level, user authority, user points and account balance are used to calculate the priority of all the mini-programs, for example, the priority of each mini-program is calculated by weighted summation. The first quantity threshold number of mini-programs with higher priority is displayed for the editing trigger operation, so that the user can quickly make a choice from them. In addition, the number of clone applications in the present invention can be one or more, which is not limited here.
[0060] As another example, Figure 2 As shown, the present invention provides a video editing device applied to social software, which is applied to a mobile terminal. The device includes the following modules:
[0061] The clone application identification module is used to obtain the editing trigger operation of the first user on the first social software on the first video, identify the first applet set of applet registered and used by the first user in the first social software, detect whether the mobile terminal has installed the clone application of the first social software, and if so, identify the second applet set of applet registered and used by the second user of the clone application; it should be noted that the first social application of the present invention can be social software such as WeChat, QQ, etc., and can also be other types of social software, which is not limited here. The first video of the user in the first social software can be a video shot by the first social software, or a video sent by other users received by the user of the first social software, which is not limited here. For example, the user of the first social software receives the first video sent by his friend, and enters the video editing mode by clicking on the first video; thereby identifying the first applet set of applet registered and used by the first user in the first social software. It should be noted that since the user has entered the video editing mode, the first program set identified is an applet with video editing function, so that the applet set with registration and use history in the current first social software is automatically found for the first user for selection by the first user. The first user here is a registered user of the first social software, that is, the user operating the current mobile terminal. Then, the mobile terminal monitors whether the first social software's clone application is installed in the current operating system, that is, a certain social software has other application instances of the same or different users. It should be emphasized that the relationship between the first social software and the clone application here is the relationship between different application instances of the same application, that is, the first social software can be the original application instance, and the corresponding clone application is other application instances corresponding to the original application instance; or, the clone application is the original application instance, and the first social software is other application instances corresponding to the original use instance. On this basis, it is detected whether the mobile terminal has the clone application of the first social software installed; because the clone application and the first social software have a social relationship applied to the same mobile terminal, that is, the two have the same user identity or a user identity with a social relationship, so that the range of the applet set for editing the first video can be expanded, so that the user can make the choice of applet for editing the first video more diversified. Furthermore, if it is monitored that the mobile terminal has an avatar application of the first social software installed, a second mini-program set of mini-programs that have been registered and used by a second user of the avatar application is identified, and the user is provided with an expansion of the mini-programs in the first mini-program set for selection. Such expansion not only takes into account the diversity of choices of mini-programs for editing videos, but also takes into account the privacy of mini-program sharing between application instances with interactive relationships.
[0062] The mini-program startup module is used to display the first mini-program set and the second mini-program set in the editing trigger operation, and identify the trigger startup operation of the first user on any mini-program in the first mini-program set and the second mini-program set; it should be noted that after the user triggers the editing operation on the first video, the first mini-program set and the second mini-program set for editing videos are displayed on the interface currently displaying the first video for the user to select. Among them, the display method of displaying the first mini-program set and the display method of displaying the second mini-program set can be the same or different; for example, each mini-program in the first mini-program set can be displayed in the same area, displaying the same mini-program logo background, and dynamic effects, and the display method of each mini-program in the second mini-program set can be the same as or different from the display method of each mini-program in the first mini-program set, which is not limited here. On the basis of the above display, the trigger startup operation of the first user on any mini-program in the first mini-program set and the second mini-program set is obtained, such as a click operation on any mini-program icon, thereby triggering the corresponding mini-program startup.
[0063] The mini-program source identification module is used to determine the source of the first mini-program that triggers the startup operation. If the source is a mini-program in the first mini-program set, the first social software is used to load the first video in the first mini-program; if the source is a mini-program in the second mini-program set, the video editing module is executed; it should be noted that since the mini-programs in the above two mini-program sets are from different application instances, it is necessary to determine the source of the currently started first mini-program and which application instance the first mini-program is from. If the source is a mini-program in the first mini-program set, and the first mini-program is a mini-program that has been registered or used in the first social software, the first social software is used to load the first video in the first mini-program, and the first mini-program and the first video to be edited are loaded through the operating environment provided by the first social software. On the contrary, if the source is a mini-program in the second mini-program set, the subsequent process is executed.
[0064] The video editing module is used to start the clone application and its second applet, obtain the storage path of the first video in the first social software, and the second user loads the first video according to the clone application and its second applet application to the path, and applies the second user to save the edited first video to the storage path to save the edited first video. It should be noted that since the applet selected by the user for editing the first video is the second applet derived from the clone application, it is necessary to start the clone application to start the second applet to perform the editing operation on the first video. In order for the second applet to obtain the first video in the operating environment provided by the clone application, it is necessary to obtain the storage path of the first video in the first social software, so that the second user loads the first video according to the clone application and its second applet application to the path, and applies the second user to save the edited first video to save the edited first video in the storage path. The second user here is a registered user of the clone application. It should be emphasized that the purpose of starting the clone application and thus starting the second applet is not only to use the clone application to provide a running environment for the second applet, but also because the second applet has been registered and used in the clone application, the use of the second applet also takes into account the user information provided by the clone application, and these user information involves the user privacy used by the clone application. Therefore, considering the user privacy, if the second applet is a registered applet in the clone application, the clone application must provide a running environment for the use of the second applet; on the contrary, if the second applet is a applet that has been used but not registered in the clone application, the clone application does not need to provide a running environment for the second applet. At this time, the user's trigger start operation can be applied to start the second applet in the first social software, so that the first social software provides a running environment for the second applet, and there is no need to start the clone application.
[0065] The video editing method applied to social software of the present invention not only realizes the selection of video editing applets applied to cross-application instances of social relationships by obtaining mini-programs that can be selected by users in the first social software and its clone applications for video editing, but also realizes the login and editing permission management of mini-programs with the same user identity or different user identities in the clone relationships between these cross-application social software, thereby achieving the sharing of login and video editing permissions of the same user identity between the clone relationships between social software, and improving the privacy of video editing between the same or different user identities.
[0066] As a preferred implementation, after detecting whether the mobile terminal has installed the clone application of the first social software, the method further includes:
[0067] If it does not exist, it is applied to the editing trigger operation to display the first applet set, and identify the trigger start operation of the first user on any applet in the first applet set; it should be noted that if the clone application of the first social software does not exist in the mobile terminal, it indicates that there is no application instance with a social relationship with the first user in the mobile terminal. At this time, the editing operation of the first video is performed only according to the first applet set for editing videos provided by the first social software. Specifically, the mobile terminal identifies the trigger start operation of the first user on any applet in the first applet set, and applies the trigger start operation to start the third applet corresponding to the trigger start operation in the first social software. Since the storage path of the first video is in the first social software, the third applet needs to obtain the storage path of the first video in the first social software, thereby realizing the loading of the first video by the third applet; that is, the first user is applied to the path to load the first video according to the first social software and its third applet, and is applied to the first user's save operation on the edited first video to save the edited first video in the storage path, thereby realizing the editing and saving of the first video by the third applet.
[0068] As a preferred implementation manner, the saving operation applied to the second user on the edited first video saves the edited first video in the storage path, specifically comprising:
[0069] Obtain the storage path of the first video in the first social software; obtain the second identity of the second user of the clone application in the clone application; it should be noted that in order to realize the acquisition and storage of the first video between the first social software and the clone application, that is, between application instances, the present invention is implemented by storage path mapping. Specifically, the storage path is mapped to an anonymous URI using a file provider, and the temporary access right of the anonymous URI is granted to the clone application. The second identity applied to the second applet reads the first video and saves the edited first video according to the temporary access right. The storage path mapping method of the present invention is implemented through the File provider and its content provider provided by Android, and is specifically implemented through the following five steps: the first step is to declare a file provider in the Android manifest, set its export attribute to false, and set Uripermission to true; the second step is to configure the File provider file path file; the third step is to map the file path to a URI; the fourth step is to authorize the obtained uri; the fifth step is to provide the uri to the user. Preferably, the authorization method of the present invention is to add the uri to the data of the Intent, and then set the permission Flag to this uri, thereby realizing temporary authorization. This temporary authorization method can not only realize file sharing, but also can maximize the security of the files in the path where the shared source file is located and its related files. By obtaining the second identity information of the clone application in the second identity identifier of the clone application, the obtained uri is authorized to the user of the second identity identifier; because the authorization method is the anonymous URI, that is, the temporary authorization method, it can not only realize the sharing of files between application instances, but also can maximize the security of the files in the path where the shared source file is located and its related files, which is particularly suitable for the situation where the first social software and the clone application are different registered user identities.
[0070] As a preferred implementation, after the video editing module, the video editing module further includes:
[0071] Obtain the identity information of the first user and the second user, and determine whether the identity information of the first user and the second user is the same. If not, obtain the fee consumed by the second user of the second mini program to edit the first video; transfer the fee in the first social software of the first user to the account of the second mini program of the second user. It should be noted that the first user who registers the first social software and the second user who registers the clone application may be the same user or different users. Since the mini programs in the first mini program set for video editing are registered or used with the identity of the first user of the first social software, using the mini programs for video editing may consume the points or balance of the corresponding registered user; thus, the consumption of the above points or balance is taken into account when the mini programs across application instances applied to different users provide video editing functions. Specifically, the identity information of the first user of the first social software that provides an operating environment for the mini-programs in the first mini-program set and the second user of the clone application that provides an operating environment for the mini-programs in the second mini-program set is obtained, and it is determined whether the identity information of the first user and the second user is the same. If they are not the same, it is necessary to consider the impact of the points or fees consumed by editing the first video on different users with social relationships, so as to obtain the points or fees consumed by the second user of the second mini-program in editing the first video, and then transfer the fees in the first social software of the first user to the account of the second mini-program of the second user; thereby, the repayment of the points and fees consumed by the first user in editing the first video by using the second mini-program of the clone application is achieved, and the balance of the use of points or fees between different registered users is ensured.
[0072] As a preferred implementation, after the mini-program source identification module and before the video editing module, it also includes:
[0073] The identity information of the second user of the first user and the second applet is obtained, and it is determined whether the identity information of the first user and the second user is the same. If the identity information is the same, the second applet is started in the first social software, and the identity information of the first user is used to log in to the second applet; it should be noted that the identity information of the second user of the second applet can be the user identity information of the clone application, or it can be identity information different from the user identity information of the clone application, which is not limited here. Therefore, it is necessary to obtain the identity information of the second user of the first user and the second applet, and then determine whether the identity information of the first user and the second user is the same. If the identity information is the same, it indicates that although the second applet is provided with an operating environment by the clone application, it has been used to edit the video with the same user identity. At this time, due to the same identity information, the first social software is preferentially used to provide an operating environment for the second applet. At this time, the second applet is started in the first social software, and the identity information of the first user is used to log in to the second applet, so as to run the second social applet through the operating environment provided by the first social software to edit the first video, thereby avoiding starting the clone application and reducing the occupation of the memory resources of the mobile terminal.
[0074] The second applet obtains the storage path of the first video in the first social software, the first user loads the first video according to the first social software and its second applet applied to the path, and the first user saves the edited first video in the storage path. It should be noted that in order to realize the editing of the first video by the second applet, it is necessary to obtain the storage path of the first video in the first social software. Therefore, the second applet obtains the storage path of the first video in the first social software, the first user loads the first video according to the first social software and its second applet applied to the path to facilitate the user's editing of the first video, and finally, the first user saves the edited first video in the storage path to realize the editing and saving of the first video.
[0075] As a preferred implementation, the application for the edit trigger operation to display the first set of mini-programs and the second set of mini-programs further includes:
[0076] The number of mini-programs in the first mini-program set and the second mini-program set is obtained. If the number is greater than the first quantity threshold, the user level, user authority, user points and account balance of all the mini-programs are obtained. It should be noted that since the number of mini-programs for video editing registered or used by the user may be large, in order to facilitate the user to select mini-programs with a greater possibility of use, the present invention obtains the number of mini-programs in the first mini-program set and the second mini-program set. If the number is greater than the first quantity threshold, it indicates that the number of mini-programs to be displayed is large, which will cause the user to be unable to quickly select from them. At this time, the user level, user authority, user points and account balance of all the mini-programs are obtained, and the user level, user authority, user points and account balance are used to calculate the priority of all the mini-programs, for example, the priority of each mini-program is calculated by weighted summation. The first quantity threshold number of mini-programs with higher priority is displayed for the editing trigger operation, so that the user can quickly make a choice from them. In addition, the number of clone applications in the present invention can be one or more, which is not limited here.
[0077] The video editing device applied to social software of the present invention not only realizes the selection of video editing applets applied to cross-application instances of social relationships by acquiring mini-programs selectable by users within the first social software and its clone applications for video editing, but also realizes the login and editing permission management of mini-programs with the same user identity or different user identities in the clone relationships between these cross-application social software, thereby achieving the sharing of login and video editing permissions of the same user identity between the clone relationships between social software, and improving the privacy of video editing between the same or different user identities.
[0078] Embodiment three:
[0079] As another embodiment, the present invention provides a video editing system applied to social software, and the system executes the video editing method applied to social software of the aforementioned embodiment.
[0080] It will be appreciated by those skilled in the art that the present invention includes devices for performing one or more of the operations described in the present application. These devices may be specially designed and manufactured for the desired purpose, or may include known devices in general-purpose computers. These devices have computer programs stored therein, which are selectively activated or reconfigured. Such computer programs may be stored in a device (e.g., computer) readable medium or in any type of medium suitable for storing electronic instructions and coupled to a bus, respectively, the computer readable medium including but not limited to any type of disk (including floppy disk, hard disk, optical disk, CD-ROM, and magneto-optical disk), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or optical card. That is, the readable medium includes any medium that stores or transmits information in a readable form by a device (e.g., computer).
[0081] Those skilled in the art will appreciate that each block in these structure diagrams and / or block diagrams and / or flow charts and combinations of blocks in these structure diagrams and / or block diagrams and / or flow charts can be implemented using computer program instructions. Those skilled in the art will appreciate that these computer program instructions can be provided to a general-purpose computer, a professional computer, or a processor of other programmable data processing methods to implement, thereby executing the scheme specified in the block or multiple blocks of the structure diagram and / or block diagram and / or flow chart disclosed in the present invention through the processor of the computer or other programmable data processing method.
[0082] Those skilled in the art will appreciate that the various operations, methods, steps, measures, and schemes discussed in the present invention may be alternated, modified, combined, or deleted. Further, other steps, measures, and schemes in the various operations, methods, and schemes discussed in the present invention may also be alternated, modified, rearranged, decomposed, combined, or deleted. Further, the steps, measures, and schemes in the prior art that are similar to those disclosed in the present invention may also be alternated, modified, rearranged, decomposed, combined, or deleted.
[0083] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A video editing method applied to social software, applied to a mobile terminal, It is characterized in that The method comprises the following steps: Step S1, obtaining a trigger operation of editing a first video by a first user in a first social software, identifying a first set of mini-programs in the first social software that have been registered and used by the first user, detecting whether the mobile terminal has installed a clone application of the first social software, and if so, identifying a second set of mini-programs that have been registered and used by a second user of the clone application; Step S2, applying the editing trigger operation to display the first mini-program set and the second mini-program set, and identifying the trigger start operation of the first user on any mini-program in the first mini-program set and the second mini-program set; Step S3, determining the source of the first mini-program that triggers the start operation, and if the source is a mini-program in the first mini-program set, applying the first social software to load the first video in the first mini-program; if the source is a mini-program in the second mini-program set, executing step S4; Step S4, start the clone application and its second mini-program, obtain the storage path of the first video in the first social software, the second user loads the first video according to the path according to the clone application and its second mini-program, and the second user saves the edited first video in the storage path through the save operation of the edited first video.
2. The video editing method applied to social software according to claim 1, It is characterized in that After detecting whether the mobile terminal has installed the clone application of the first social software, the method further includes: If it does not exist, the editing trigger operation is applied to display the first mini-program set, and the trigger start operation of the first user on any mini-program in the first mini-program set is identified; Launching a third mini-program corresponding to the triggering launch operation in the first social software; The storage path of the first video in the first social software is obtained, and the first user loads the first video according to the path based on the first social software and the third applet thereof, and the first user saves the edited first video in the storage path through a save operation on the edited first video.
3. The video editing method applied to social software according to claim 1 or 2, It is characterized in that The saving operation applied to the second user on the edited first video, saving the edited first video in the storage path, specifically includes: Obtaining a storage path of the first video in the first social software; Obtaining a second identity identifier of the second user of the clone application in the clone application; Use a file provider to map the storage path to an anonymous URI, grant the clone application temporary access rights to the anonymous URI, and use the second identity identifier applied to the second mini program to read the first video and save the edited first video based on the temporary access rights.
4. The video editing method applied to social software according to claim 1, It is characterized in that After step S4, the method further includes: Obtaining identity information of the first user and the second user, and determining whether the identity information of the first user and the second user is the same; if not, obtaining the fee consumed by the second user of the second mini program for editing the first video; The fees in the first social software of the first user are transferred to the account of the second mini program of the second user.
5. The video editing method applied to social software according to claim 1, It is characterized in that After step S3 and before step S4, the method further includes: Obtaining identity information of the first user and the second user of the second mini program, determining whether the identity information of the first user and the second user are the same, and if they are the same, launching the second mini program in the first social software, and logging in to the second mini program using the identity information of the first user; The second mini program obtains the storage path of the first video in the first social software, and the first user loads the first video according to the first social software and its second mini program according to the path, and the first user saves the edited first video in the storage path through a save operation of the first user.
6. The video editing method applied to social software according to claim 1, It is characterized in that The application for the edit trigger operation to display the first set of mini-programs and the second set of mini-programs further includes: Obtain the number of mini-programs in the first mini-program set and the second mini-program set, and if the number is greater than a first number threshold, obtain the user level, user authority, user points, and account balance of all the mini-programs; The priority of all the mini-programs is calculated based on the user level, the user authority, the user points and the account balance, and the first quantity threshold number of mini-programs with higher priority is displayed in the editing trigger operation.
7. A video editing device applied to social software, It is characterized in that The device comprises the following modules: A clone application identification module is used to obtain an editing trigger operation of a first user on a first social software on a first video, identify a first set of mini-programs in the first social software that have been registered and used by the first user, detect whether the mobile terminal has installed a clone application of the first social software, and if so, identify a second set of mini-programs that have been registered and used by a second user of the clone application; A mini-program startup module, used for displaying the first mini-program set and the second mini-program set in the editing trigger operation, and identifying the trigger startup operation of the first user on any mini-program in the first mini-program set and the second mini-program set; A mini-program source identification module, used to determine the source of the first mini-program that triggers the start operation, and if the source is a mini-program in the first mini-program set, the first social software is applied to load the first video in the first mini-program; if the source is a mini-program in the second mini-program set, the video editing module is executed; A video editing module is used to start the clone application and its second mini program, obtain the storage path of the first video in the first social software, and the second user loads the first video according to the path according to the clone application and its second mini program, and the second user saves the edited first video in the storage path.
8. The video editing device for social software according to claim 7, It is characterized in that The saving operation applied to the second user on the edited first video, saving the edited first video in the storage path, specifically includes: Obtaining a storage path of the first video in the first social software; Obtaining a second identity identifier of the second user of the clone application in the clone application; Use a file provider to map the storage path to an anonymous URI, grant the clone application temporary access rights to the anonymous URI, and use the second identity identifier applied to the second mini program to read the first video and save the edited first video based on the temporary access rights.
9. A video editing system applied to social software, It is characterized in that The system executes the video editing method applied to social software as described in any one of claims 1-7.
10. A computer-readable storage medium storing a computer program. It is characterized in that The computer program executes the video editing method applied to social software as described in any one of claims 1-7.
