Method, device and medium for managing software functions based on shared scripts

By creating shared files and scripts in Adobe After Effects software, a visual list of functions is generated, solving the problems of fragmented functions and synchronization difficulties. This enables dynamic updates and secure sharing of functions, improving team collaboration efficiency and data security.

CN116009901BActive Publication Date: 2025-11-28SHANGHAI INGOT NETWORK TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310118292.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-15
Publication Date
2025-11-28
Estimated Expiration
2043-02-15

AI Technical Summary

Technical Problem

The existing Adobe After Effects software has fragmented functions, requiring multiple script installations to achieve the desired features. This makes it difficult for team members to synchronize the latest content, and it also results in low efficiency for large-scale processing.

Method used

By creating shared files on a server or computer, writing shared scripts, and generating a visual list of functions, centralized management and sharing of functions can be achieved. It supports one-click updates, backups, and searches, records usage counts, and manages user permissions.

Benefits of technology

It enables synchronized updates without reinstalling the script, improving team collaboration efficiency, ensuring security and feature sharing, supporting accurate statistics and location functions, and periodic backups to prevent data loss.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116009901B_ABST
    Figure CN116009901B_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of computer, particularly relates to a software function management method and device based on shared script, equipment and medium, the method specifically includes: creating a shared file in the server or in the first computer, and determining a shared path for a plurality of second computers to access the shared file; writing a shared script, and based on the read-write function of the shared script, a plurality of function components of the Adobe After Effects software are entered into the shared file; the shared file is called through the shared script and a first visual function list is generated, and the first visual function list is distributed to the plurality of second computers; according to the instruction of the plurality of second computers, the shared file and the first visual function list are processed based on the shared script. The present application realizes the centralized use and shared intercommunication of the functions of Adobe After Effects software, and the function list can be dynamically updated without reinstalling the script.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of computer, in particular to a software function management method and device based on shared scripts, equipment and medium. BACKGROUND

[0002] Adobe After Effects is an indispensable design tool in the video design process, but the existing function is relatively limited, and there are still many tedious and inevitable operations in video creation. There are many modular auxiliary tools in the market at present, but the functions are relatively scattered, and sometimes several scripts need to be installed together to realize a function; from the perspective of a team, the tools of each member are independent of each other, and once new functions or new scripts are needed, each member of the team needs to install them, which not only wastes time but also makes it difficult to synchronize the latest content. In addition, a large number of processing work often occurs in Adobe After Effects video production, such as adding a specified prefix name to several hundred layers or a certain filter or effect, which will be very inefficient if operated manually, so an auxiliary tool is needed to realize batch processing and efficient work processing using the built-in functions of Adobe After Effects. SUMMARY

[0003] The purpose of the present application is to provide a software function management method and device based on shared scripts, equipment and medium, which can realize centralized use and shared intercommunication of Adobe After Effects software functions, and dynamically update the function list without reinstalling the script, to solve at least one of the above technical problems.

[0004] The present application provides a software function management method based on shared scripts, applied to Adobe After Effects software, which specifically includes:

[0005] Creating a shared file in the server or the first computer, and determining a shared path for the second computer to access the shared file;

[0006] Writing a shared script, and recording a plurality of function components of the Adobe After Effects software into the shared file based on the read-write function of the shared script;

[0007] Calling the shared file through the shared script and generating a first visual function list, and distributing the first visual function list to the plurality of second computers;

[0008] According to the instructions of the second computers, the shared file and the first visual function list are processed based on the shared script, and registration information and use requests of users of the first visual function list are managed through the server.

[0009] Further, the shared file and the first visual function list are processed based on the shared script according to the instructions of the second computers, and specifically include:

[0010] The update instructions of the second computers are obtained, and the first visual function list is updated based on the shared script;

[0011] Backup instructions of the second computers are obtained, and the shared file is backed up based on the shared script;

[0012] Search instructions of the second computers are obtained, and functions on the first visual function list are searched based on the shared script;

[0013] The use times of all functions on the first visual function list are recorded according to the shared script.

[0014] Further, the update instructions of the second computers are obtained, and the first visual function list is updated based on the shared script, and specifically include:

[0015] When the update instructions of the second computers are received, it is detected and judged whether the shared file and the first visual function list are consistent in content based on the shared script;

[0016] If the contents are inconsistent, the first visual function list is deleted, the content of the shared file is read again through the shared script, and a second visual function list is generated.

[0017] Further, the backup instructions of the second computers are obtained, and the shared file is backed up based on the shared script, and specifically include:

[0018] An index file is created and stored in the shared file, and a local backup path is determined in the second computers;

[0019] Based on the shared script, the shared path and the local backup path are checked and judged whether the shared file exists in the shared path and the local backup path according to the index file every preset time period;

[0020] If the shared file exists in the shared path, the shared file is stored in the local backup path;

[0021] If the shared file does not exist in the shared path in the second computer and the shared file exists in the local backup path, it is determined whether the number of the shared files in the local backup path is plural, if not, the shared file is stored in the shared path, if yes, the shared file with the latest date is determined and stored in the shared path.

[0022] Further, the search instruction of the second computer is acquired, and the function on the first visualization function list is searched based on the shared script, specifically including:

[0023] A first record table and a second record table are created, and an index relationship is established between the first record table and the second record table, the first record table is used to store the information of all functions on the first visualization function list, and the second record table is used to store the storage location of all functions on the first visualization function list;

[0024] When the search instruction of the second computer is received, it is determined whether the search instruction is legal based on the shared script, if not, an invalid result is returned, otherwise, the corresponding storage location on the second record table is determined according to the first record table, and a search result is returned.

[0025] Further, the use frequency of all functions on the first visualization function list is recorded according to the shared script, specifically including:

[0026] A third record table, a fourth record table and a fifth record table are created, and an index relationship is established between the third record table and the fourth record table and between the third record table and the fifth record table, the third record table is used to store the name of all functions on the first visualization function list, the fourth record table is used to store the use frequency of all functions on the first visualization function list, and the fifth record table is used to store the user information of a plurality of third computers using all functions on the first visualization function list;

[0027] When the shared script detects that a third computer uses a first function on the first visualization function list, the corresponding first record area on the fourth record table is determined according to the third record table, the first use frequency N stored in the first record area is changed to N+1, and the user information of the third computer is stored in the fifth record table.

[0028] Further, the registration information and use request of a plurality of users of the first visualization function list are managed by the server, specifically including:

[0029] The registration information of a plurality of users of the first visualization function list is acquired and stored in the server;

[0030] The server grants the use permission of the first visual function list to the several users and responds to the use request of the several users.

[0031] The application further provides a shared script-based software function management device applied to Adobe AfterEffects software, and the device specifically comprises:

[0032] A shared creation module is configured to create a shared file in a server or a first computer and determine a shared path of the shared file for several second computers;

[0033] A first processing module is configured to write a shared script and record several function components of the Adobe AfterEffects software into the shared file based on read-write functions of the shared script;

[0034] A second processing module is configured to call the shared file through the shared script, generate a first visual function list, and distribute the first visual function list to the several second computers;

[0035] A third processing module is configured to process the shared file and the first visual function list based on the shared script according to the instruction of the several second computers, and manage the registration information and use request of the several users of the first visual function list through the server.

[0036] The application further provides a computer device comprising a memory, a processor and a computer program stored in the memory, and when the computer program is executed on the processor, the shared script-based software function management method in any one of the above methods is realized.

[0037] The application further provides a computer readable storage medium, characterized in that a computer program is stored on the computer readable storage medium, and when the computer program is executed on a processor, the shared script-based software function management method in any one of the above methods is realized.

[0038] Compared with the prior art, the application has at least one of the following technical effects:

[0039] 1. The latest software function is synchronously updated to the users under a specified network by one key, and the shared script function is dynamically updated without reinstallation of the script, and the function sharing intercommunication and real-time synchronous update are realized under the same network.

[0040] 2. The application has certain security, and cannot be used when outside a specified network address range or a specified account.

[0041] 3, can real-time accurate statistics using members and the number of times, record the user name and the number of times of each function, facilitate the use of statistical frequency and do subsequent function development.

[0042] 4, all functions are packaged into a list, and can be one-key enabled.

[0043] 5, can be accurate or fuzzy search specified function name, function description, operation description and quickly locate through the search box.

[0044] 6, periodic timing backup shared files to local backup path, avoid the problem of being inadvertently tampered or deleted framework caused by the adverse effects of LAN adjustment. BRIEF DESCRIPTION OF DRAWINGS

[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.

[0046] Figure 1 is a flowchart of the software function management method based on shared scripts provided by the embodiments of the present application;

[0047] Figure 2 is an interface diagram of the first visual function list or the second visual function list of the software function management method based on shared scripts provided by the embodiments of the present application;

[0048] Figure 3 is another interface diagram of the first visual function list or the second visual function list of the software function management method based on shared scripts provided by the embodiments of the present application;

[0049] Figure 4 is a structural diagram of the software function management device based on shared scripts provided by the embodiments of the present application;

[0050] Figure 5 is a structural diagram of a computer device provided by the embodiments of the present application. DETAILED DESCRIPTION

[0051] In the following description, specific details such as specific system structures, techniques, etc. are presented in order to thoroughly understand the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits and methods are omitted to avoid unnecessary details that hinder the description of the present application.

[0052] It should be understood that the term "includes" when used in the specification and the appended claims herein is used to indicate included, but not to the exclusion of, one or more additional features, integers, steps, operations, elements, and / or groups thereof.

[0053] It should also be understood that the term "and / or" when used in the specification and the appended claims herein is used to mean one or the other and / or both in the combinations described.

[0054] As used in the specification and the appended claims herein, the term "if' can be construed to mean "when" or "upon" or "in response to determining" or "in response to detecting" depending on the context. Similarly, the phrase "if it is determined" or "if [a described condition or event] is detected" can be construed to mean "upon determining" or "in response to determining" or "upon detecting [the described condition or event]" or "in response to detecting [the described condition or event]" depending on the context.

[0055] In addition, the terms "first", "second", "third", etc. as used in the description of the specification and the appended claims herein are merely used for distinguishing, and do not necessarily have a sequential or chronological significance.

[0056] Reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. Thus, appearances of the phrases "in one embodiment", "in some embodiments", "in other embodiments", "in additional embodiments", and so on, in various places throughout this specification are not necessarily all referring to the same embodiment, unless otherwise specified. The terms "including", "containing", "comprising", and similar terms are meant to be open-ended, unless otherwise noted, so that other components, elements, steps, or structures can be added without departing from the application. Likewise, the term "comprises" is meant not to be a limiting term but rather to encompass the item listed after the term as well as other possible items.

[0057] Adobe After Effects is an indispensable design tool in the video design process, but the existing functions are relatively limited, and there are still many tedious and unavoidable operations in video creation. There are many modular auxiliary tools in the market today, but the functions are relatively scattered, and sometimes several scripts need to be installed together to achieve a function; from the perspective of a team, each member's tool is independent of each other, and once a new function and new script are needed, each member of the team needs to install it, which is time-consuming and difficult to synchronize the latest content.

[0058] Based on this, referring to Figure 1 , the embodiment of the present application provides a software function management method based on a shared script, which is applied to Adobe After Effects software, and the method specifically comprises the following steps:

[0059] S101: creating a shared file in a server or a first computer, and determining a shared path of the shared file which can be accessed by a plurality of second computers;

[0060] writing a shared script, and entering a plurality of function components of the Adobe After Effects software into the shared file based on read-write functions of the shared script;

[0061] calling the shared file through the shared script, generating a first visual function list, and distributing the first visual function list to the plurality of second computers.

[0062] In the embodiment, the shared framework is built on the basis of a local area network, therefore, the plurality of second computers with the shared path of the shared file are computer terminals of the local area network, and there are two methods for storing the shared file. One method is that a server can be built, and the shared file is stored in the server, so that the shared file data can be managed through the server, and more management functions can be developed in the later period, and the other method is a lower-cost method, that is, the first computer is used as a host for storing the shared file, the shared file is set with a shared attribute in the first computer, and the plurality of second computers are set with the permission of accessing the shared file.

[0063] Since the script program of the Adobe after effects is written based on an extendscript environment, the shared script can be written in a javascript language similar to the extendscript language, and the script content is read or written through the read-write functions provided by the javascript language. For example, Figure 2 and Figure 3 As shown in the UI interface of the first visual function list or the second visual function list, after the first visual function list is generated by calling the shared file through the shared script, the bottom of the first visual function list has two button operations of "add" and "enter file", after the "add" button is clicked, an input box for writing the script content is popped up, the function to be input can be written, then the "enter file" button is clicked, and the shared script encodes the script content into a string and stores the string in the shared file.

[0064] S102: According to the instructions of the second computer, the shared file and the first visualization function list are processed based on the shared script, and the registration information and use requests of the users of the first visualization function list are managed through the server.

[0065] In some embodiments, the processing of the shared file and the first visualization function list based on the shared script according to the instructions of the second computer specifically includes:

[0066] Obtaining the update instructions of the second computer, updating the first visualization function list based on the shared script;

[0067] Obtaining the backup instructions of the second computer, backing up the shared file based on the shared script;

[0068] Obtaining the search instructions of the second computer, searching for functions on the first visualization function list based on the shared script;

[0069] Recording the number of uses of all functions on the first visualization function list according to the shared script.

[0070] In some embodiments, the obtaining of the update instructions of the second computer and the updating of the first visualization function list based on the shared script specifically includes:

[0071] Upon receiving the update instructions of the second computer, detecting and judging whether the shared file and the first visualization function list are consistent in content based on the shared script;

[0072] If the contents are inconsistent, deleting the first visualization function list, and re-reading the content of the shared file through the shared script and generating a second visualization function list.

[0073] In this embodiment, as shown in the UI interface of the first visualization function list or the second visualization function list, Figure 2 and Figure 3 the bottom of the UI interface has a "synchronization" button operation. When the "synchronization" button is clicked, an instruction to update the first visualization function list will be initiated. After the shared script receives the instruction, the content of the shared file and the first visualization function list is traversed. If the shared file has changes such as addition or reduction, the first visualization function list is initialized and the content of the shared file is re-read to generate a second visualization function list. Through this method, the latest software function can be updated to the users under the specified network with one key, without the need to reinstall the script, realizing dynamic updating of the shared script function, and realizing function sharing intercommunication and real-time synchronization updating under the same network.

[0074] In some embodiments, the backup instruction of the second computer is obtained, and the shared file is backed up based on the shared script, specifically comprising:

[0075] The index file is created and stored in the shared file, and the local backup path is determined in the second computer;

[0076] Based on the shared script, the shared path and the local backup path are checked and determined according to the index file every preset time period whether the shared file exists;

[0077] If the shared file exists in the shared path, the shared file is stored in the local backup path;

[0078] If the shared file does not exist in the shared path of the second computer and the shared file exists in the local backup path, it is determined whether the number of the shared file in the local backup path is plural, if not, the shared file is stored in the shared path, if it is plural, the latest date of the shared file is determined and stored in the shared path.

[0079] In this embodiment, the index file is created to avoid other files unrelated to the shared file existing in the shared memory of the server or the first computer storing the shared file, so that the shared file to be found can be quickly determined through the index file. When writing the shared script, the instruction of periodically backing up the shared file is added, such as checking whether the shared file exists in the shared path every day at zero o'clock, if yes, it is stored in the local backup path of the computer, if not, the latest date of the shared file in the local backup path is copied to the shared path, which maximizes the reduction of the loss caused by the loss of shared file data, and avoids the adverse effects caused by the problem of unintentional tampering or deletion of the framework due to the adjustment of the local area network.

[0080] In some embodiments, the search instruction of the second computer is obtained, and the function on the first visualization function list is searched based on the shared script, specifically comprising:

[0081] The first record table and the second record table are created, and the index relationship between the first record table and the second record table is established, the first record table is used to store the information of all functions on the first visualization function list, and the second record table is used to store the storage location of all functions on the first visualization function list;

[0082] When the search instruction of the second computer is received, it is determined whether the search instruction is legal based on the shared script, if not, an invalid result is returned, otherwise, the corresponding storage location on the second record table is determined according to the first record table, and the search result is returned.

[0083] In this embodiment, the search function of the first visual function list is implemented through a first record table and a second record table with an index relationship, such as... Figure 2 As shown, the information stored in the first record table includes textual descriptions such as function name, function description, and operation instructions. The storage location of a function is determined by searching for keywords. If the search query contains keywords not within the scope of these textual descriptions, invalid results are returned. Therefore, when there are many functions that are difficult to find, the function name can be precisely or fuzzily searched using the search box to quickly locate it.

[0084] In some embodiments, recording the usage counts of all functions on the first visualization function list according to the shared script specifically includes:

[0085] Create a third record table, a fourth record table, and a fifth record table, and establish index relationships between the third record table and the fourth record table, and between the third record table and the fifth record table. The third record table is used to store the names of all functions on the first visualization function list, the fourth record table is used to store the number of times all functions on the first visualization function list are used, and the fifth record table is used to store user information of several third computers that use all functions on the first visualization function list.

[0086] When the shared script detects that a third computer is using a first function on the first visual function list, it determines the corresponding first record area on the fourth record table according to the third record table, changes the first usage count N stored in the first record area to N+1, and simultaneously stores the user information of the third computer in the fifth record table.

[0087] In this embodiment, a third and fourth record table with an indexed relationship are used to record the usage count of all functions, such as... Figure 3 As shown, the usage frequency and users of each function are counted, thus identifying which functions are used more frequently, which facilitates subsequent function development.

[0088] In some embodiments, the step of managing the registration information and usage requests of a plurality of users of the first visual function list through the server specifically includes:

[0089] Obtain the registration information of several users from the first visualization function list and store it in the server;

[0090] The server grants access to the first list of visualization functions to the users and responds to their usage requests.

[0091] In this embodiment, within the shared framework of storing shared files on a server, the server's support allows for more standardized management of software functions and ensures the security of shared files. For example, by registering and managing accounts, specific functions can be granted to designated users, and the scope and permissions of functions can be assigned to users of different skill levels. Specific functional content can also be customized for specific individuals or groups, rather than all users sharing all functions. The "one user, one account" management model aims to more systematically manage the usage permissions of designated users, ensuring the security of shared files and preventing the leakage of confidential information. Simultaneously, it allows for a more intuitive view of each user's function usage, analyzing which functions are used most frequently, and clarifying the direction of future function development.

[0092] Reference Figure 4 This invention provides a software function management device 4 based on shared scripts, applied to Adobe After Effects software. The device 4 specifically includes: a shared creation module 401, used to create shared files within a server or a first computer, and to determine shared paths accessible to several second computers; a first processing module 402, used to write shared scripts and, based on the read / write functions of the shared scripts, input several functional components of the Adobe After Effects software into the shared files; a second processing module 403, used to call the shared files through the shared scripts and generate a first visual function list, and to distribute the first visual function list to the several second computers; and a third processing module 404, used to process the shared files and the first visual function list based on the instructions of the several second computers and, simultaneously, manage the registration information and usage requests of several users of the first visual function list through the server.

[0093] It is understandable that, such as Figure 1 The content of the software function management method embodiment based on shared scripts shown is applicable to the software function management device embodiment based on shared scripts. The specific functions implemented by the software function management device embodiment based on shared scripts are the same as those shown in the example. Figure 1 The illustrated embodiment of the software function management method based on shared scripts is the same, and the beneficial effects achieved are the same as those shown. Figure 1 The beneficial effects achieved by the software function management method based on shared scripts shown in the embodiment are also the same.

[0094] It should be noted that the information interaction and execution process between the above-mentioned devices are based on the same concept as the method embodiments of the present invention. For details on their specific functions and technical effects, please refer to the method embodiments section, which will not be repeated here.

[0095] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0096] Reference Figure 5 The present invention provides a computer device 5, including: a memory 502 and a processor 501, and a computer program 503 stored in the memory 502. When the computer program 503 is executed on the processor 501, it implements the software function management method based on shared scripts as described in any of the above methods.

[0097] The computer device 5 may be a desktop computer, laptop, handheld computer, or cloud server, etc. This computer device may include, but is not limited to, a processor 501 and a memory 502. Those skilled in the art will understand that... Figure 5 The computer device 5 is merely an example and does not constitute a limitation on the computer device 5. It may include more or fewer components than shown, or combine certain components, or different components, such as input / output devices, network access devices, etc.

[0098] The processor 501 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0099] In some embodiments, the memory 502 may be an internal storage unit of the computer device 5, such as a hard disk or memory of the computer device 5. In other embodiments, the memory 502 may be an external storage device of the computer device 5, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the computer device 5. Further, the memory 502 may include both internal and external storage units of the computer device 5. The memory 502 is used to store the operating system, applications, bootloader, data, and other programs, such as the program code of the computer program. The memory 502 can also be used to temporarily store data that has been output or will be output.

[0100] The present invention also provides a computer-readable storage medium, characterized in that it stores a computer program thereon, which, when executed by a processor, implements the software function management method based on shared scripts as described in any of the above methods.

[0101] In this embodiment, if the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to a photographing device / terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.

[0102] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0103] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0104] In the embodiments disclosed in this application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the displayed or discussed mutual coupling or direct coupling or communication connection may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.

[0105] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

Claims

1. A method for managing software functions based on a shared script, applied to Adobe After Effects software, characterized in that, The method specifically comprises: creating a shared file in a server or a first computer and determining a shared path for a plurality of second computers to access the shared file; writing a shared script and entering a plurality of functional components of the Adobe After Effects software into the shared file based on read-write functions of the shared script; calling the shared file through the shared script and generating a first visual function list, and distributing the first visual function list to the plurality of second computers; processing the shared file and the first visual function list based on the shared script according to instructions of the plurality of second computers, while managing registration information and use requests of a plurality of users of the first visual function list through the server; wherein the processing of the shared file and the first visual function list based on the shared script according to the instructions of the plurality of second computers specifically comprises: obtaining update instructions of the plurality of second computers and updating the first visual function list based on the shared script; obtaining backup instructions of the plurality of second computers and backing up the shared file based on the shared script; obtaining search instructions of the plurality of second computers and searching for functions on the first visual function list based on the shared script; recording the number of uses of all functions on the first visual function list according to the shared script; wherein the obtaining of the update instructions of the plurality of second computers and the updating of the first visual function list based on the shared script specifically comprises: when the update instructions of the plurality of second computers are received, detecting and judging whether the shared file and the first visual function list are consistent in content based on the shared script; if the contents are inconsistent, deleting the first visual function list, re-reading the content of the shared file through the shared script and generating a second visual function list.

2. The method of claim 1, wherein, the obtaining of the backup instructions of the plurality of second computers and the backing up of the shared file based on the shared script specifically comprises: creating an index file and storing it in the shared file, while determining a local backup path in the plurality of second computers; based on the shared script, checking and judging whether the shared path and the local backup path exist the shared file according to the index file every preset time period; if the shared path exists the shared file, storing the shared file in the local backup path; if the shared path in the plurality of second computers does not exist the shared file and the local backup path exists the shared file, judging whether the number of the shared files in the local backup path is plural, if not, storing the shared file in the shared path, if yes, determining the shared file of the latest date and storing it in the shared path.

3. The method of claim 1, wherein, the obtaining of the search instructions of the plurality of second computers and the searching for functions on the first visual function list based on the shared script specifically comprises: create a first record table and a second record table, and establish an index relationship between the first record table and the second record table, the first record table is used to store information of all functions on the first visual function list, and the second record table is used to store storage positions of all functions on the first visual function list; when receiving a search instruction of the second computer, judging whether the search instruction is legal based on the shared script, if not, returning an invalid result, otherwise, determining a corresponding storage position on the second record table according to the first record table, and returning a search result.

4. The method of claim 1, wherein, the use frequency of all functions on the first visual function list is recorded according to the shared script, specifically including: create a third record table, a fourth record table and a fifth record table, and establish an index relationship between the third record table and the fourth record table and between the third record table and the fifth record table, the third record table is used to store names of all functions on the first visual function list, the fourth record table is used to store use frequencies of all functions on the first visual function list, and the fifth record table is used to store user information of a plurality of third computers using all functions on the first visual function list; when the shared script detects that a third computer uses a first function on the first visual function list, a corresponding first record area on the fourth record table is determined according to the third record table, a first use frequency N stored in the first record area is changed to N+1, and user information of the third computer is stored in the fifth record table.

5. The method of claim 1, wherein, the registration information and use request of a plurality of users of the first visual function list are managed by the server, specifically including: obtain the registration information of a plurality of users of the first visual function list and store it in the server; grant the use permission of the first visual function list to the plurality of users through the server, and respond to the use request of the plurality of users.

6. A software function management apparatus based on a shared script, applied to Adobe After Effects software, characterized in that, the device specifically includes: a shared creation module for creating a shared file in the server or the first computer, and determining a shared path of the shared file for a plurality of second computers; a first processing module for writing a shared script, and recording a plurality of function components of the Adobe After Effects software into the shared file based on read-write functions of the shared script; a second processing module for calling the shared file through the shared script and generating a first visual function list, and distributing the first visual function list to the plurality of second computers; a third processing module for processing the shared file and the first visual function list based on the shared script according to an instruction of the plurality of second computers, and managing the registration information and use request of a plurality of users of the first visual function list through the server; wherein, the processing of the shared file and the first visual function list based on the shared script according to the instruction of the plurality of second computers specifically includes: acquiring update instructions of the second computers, updating the first visual function list based on the shared script; acquiring backup instructions of the second computers, backing up the shared file based on the shared script; acquiring search instructions of the second computers, searching functions on the first visual function list based on the shared script; recording the number of times of use of all functions on the first visual function list according to the shared script; wherein the acquiring update instructions of the second computers, updating the first visual function list based on the shared script, specifically comprises: when the update instructions of the second computers are received, detecting and judging whether the shared file and the first visual function list are consistent in content based on the shared script; if the content is inconsistent, deleting the first visual function list, and generating a second visual function list by re-reading the content of the shared file based on the shared script.

7. A computer device, comprising: comprise: a memory and a processor, and a computer program stored in the memory, when the computer program is executed on the processor, the method for managing software functions based on a shared script according to any one of claims 1 to 5 is implemented.

8. A computer-readable storage medium, characterized in that, a computer program is stored thereon, when the computer program is executed on the processor, the method for managing software functions based on a shared script according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Program configuration management method and device, storage medium and electronic equipment

    CN112379948A