An icon library application method, device, equipment and medium
By pulling icon resources from the server and generating resources using build tools, combined with static processing and remote connection, the problems of high manpower and time costs and slow user experience in icon library applications are solved, achieving efficient icon updates and easy-to-manage resource applications.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHENZHEN LANLING SOFTWARE CO LTD
- Filing Date
- 2023-01-20
- Publication Date
- 2026-04-24
AI Technical Summary
In the application of icon libraries, existing technologies suffer from problems such as high labor costs, high time costs, slow user perception, chaotic resource management, and duplication and waste.
By pulling icon resources from a preset server, generating post-build resources using build tools, and determining the application strategy based on static processing instructions, the resources are applied to the client; when updated resources are received, they are recorded and remotely connected to the client.
It enables efficient use of the icon library, shortens the project time, reduces process steps, and improves the convenience of icon updates and the ease of resource management.
Smart Images

Figure CN116088920B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of icon library applications, and in particular to an icon library application method, apparatus, device, and medium. Background Technology
[0002] Currently, icon library applications generally lack an entry point for uploading custom icons. Furthermore, when designers modify or add icons, developers need to upload them to the repository each time, which is time-consuming and labor-intensive. Business layer developers need to replace the business code; if there are many business lines, each line needs to be replaced, or a new resource replacement strategy needs to be planned. This results in significant manpower and time costs for program maintenance. Moreover, from the time a designer creates an icon to its upload and display on the client side, it takes at least 1-2 days, but developers often take at least 1 day to reduce frequent releases, leading to a slow user experience. Additionally, when the system is used in B2B business applications, online icon resources may be used, easily leading to resource duplication, waste, and poor resource management.
[0003] As can be seen from the above, how to improve the efficiency of resource application and achieve efficient application of icon libraries is a problem that needs to be solved in this field. Summary of the Invention
[0004] In view of this, the purpose of this invention is to provide an icon library application method, apparatus, device, and medium, which can realize the efficient application of icon libraries. The specific solution is as follows:
[0005] Firstly, this application discloses a method for applying an icon library, including:
[0006] Icon resources are retrieved from a preset database connected to a preset icon library on a preset server, and the icon resources are constructed using a preset construction tool to generate constructed resources;
[0007] Based on whether a target instruction for static processing of the constructed resources is received, a corresponding target application strategy is determined, and the constructed resources are applied to a preset client using the target application strategy.
[0008] When the preset icon upload entry receives an update resource for updating icon resources in the preset icon library, the updated resource is recorded in the preset database using a preset recording method, and then the updated resource is applied to the preset client through a preset remote connection method.
[0009] Optionally, the step of retrieving icon resources from a preset database connected to a preset icon library on a preset server, and constructing the icon resources using a preset construction tool to generate constructed resources, includes:
[0010] The system uses a preset continuous integration tool to pull icon resources from a preset database connected to a preset icon library on a preset server, and uses a preset build tool to build the icon resources to generate the built resources.
[0011] Optionally, the step of using a preset continuous integration tool to pull icon resources from a preset database connected to a preset icon library on a preset server, and using a preset build tool to build the icon resources to generate built resources, includes:
[0012] Jenkins is used to pull icon resources from a preset MongoDB database connected to a preset icon library on a preset server, and webpack is used to build the icon resources to generate the built resources.
[0013] Optionally, the step of determining a corresponding target application strategy based on whether a target instruction for static processing of the built resources is received, and applying the built resources to a preset client using the target application strategy, includes:
[0014] Determine whether a target instruction for staticizing the constructed resources has been received;
[0015] If no target instruction for static processing of the constructed resources is received, the constructed resources are applied to a preset client using a preset remote connection method.
[0016] If a target instruction is received to statically process the constructed resource, the constructed resource is compared with the previously saved constructed resource.
[0017] If the constructed resource is inconsistent with the previously saved constructed resource, the constructed resource will be applied to a preset client using a preset remote connection method.
[0018] If the constructed resource is consistent with the previously saved constructed resource, then the statically processed resource after static processing will be applied to the preset client.
[0019] Optionally, recording the updated resources to the preset database using a preset recording method includes:
[0020] The updated resources are recorded in the preset database using Node.js.
[0021] Optionally, the icon library application method further includes:
[0022] The method of configuring the preset remote connection method as an HTTP-based call to interface services.
[0023] Optionally, before retrieving icon resources from a preset database connected to a preset icon library on a preset server, the method further includes:
[0024] Receive resource application code used to apply resources to a preset client;
[0025] Accordingly, resources are applied to preset clients, including:
[0026] Execute the resource application code to apply the resource to the preset client.
[0027] Secondly, this application discloses an icon library application device, comprising:
[0028] The resource building module is used to pull icon resources from a preset database connected to a preset icon library on a preset server, and use a preset building tool to build the icon resources to generate the built resources;
[0029] The resource application module is used to determine the corresponding target application strategy based on whether a target instruction for static processing of the constructed resources is received, and to apply the constructed resources to a preset client using the target application strategy.
[0030] The resource update module is used to record the updated resource into the preset database using a preset recording method when the preset icon upload entry receives an update resource for updating icon resources in the preset icon library, and then apply the updated resource to the preset client through a preset remote connection method.
[0031] Thirdly, this application discloses an electronic device, including:
[0032] Memory, used to store computer programs;
[0033] A processor is used to execute the computer program to implement the aforementioned icon library application method.
[0034] Fourthly, this application discloses a computer storage medium for storing a computer program; wherein, when the computer program is executed by a processor, it implements the steps of the aforementioned disclosed icon library application method.
[0035] In this application, icon resources are first retrieved from a preset database connected to a preset icon library on a preset server, and then constructed using a preset construction tool to generate constructed resources. Based on whether a target instruction for static processing of the constructed resources is received, a corresponding target application strategy is determined, and the constructed resources are applied to a preset client using the target application strategy. When a preset icon upload entry receives an update resource for updating icon resources in the preset icon library, the update resource is recorded in the preset database using a preset recording method, and then applied to the preset client via a preset remote connection method. In this way, the automatic retrieval and construction process of icon resources completes the automated construction of resources, and the resources are applied according to specific business scenarios. Furthermore, in subsequent icon library applications, when updated icon resources are received, the updated resources can be directly applied to the client via a remote connection method. The method in this embodiment shortens the project time, reduces the number of steps in the entire process, achieves convenience in icon updates during specific business execution, and ensures easy management of icon resources. Attached Figure Description
[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0037] Figure 1 A flowchart of an icon library application method provided in this application;
[0038] Figure 2 A flowchart illustrating a specific icon library application method provided in this application;
[0039] Figure 3 A schematic diagram of the overall process provided for this application;
[0040] Figure 4 A schematic diagram of an icon library application device provided in this application;
[0041] Figure 5 This application provides a structural diagram of an electronic device. Detailed Implementation
[0042] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0043] Existing technologies require significant manpower and time to implement icon libraries, and the user experience is often slow. This application shortens the project timeline, reduces the number of steps in the process, and enables convenient icon updates during actual business operations.
[0044] This invention discloses a method for applying an icon library, see [link to relevant documentation]. Figure 1 The method includes:
[0045] Step S11: Pull icon resources from a preset database connected to a preset icon library on a preset server, and use a preset building tool to build the icon resources to generate the built resources.
[0046] In this embodiment, the step of pulling icon resources from a preset database connected to a preset icon library on a preset server and building the icon resources using a preset building tool to generate the built resources may include: using a preset continuous integration tool to pull icon resources from a preset database connected to a preset icon library on a preset server and building the icon resources using the preset building tool to generate the built resources.
[0047] In this embodiment, the preset icon library can provide icon resources for users to use. The icon library is connected to a preset database, which is preferably MogoDB. In other embodiments, it can also be replaced with a MySQL database.
[0048] In this step, the preset continuous integration tool can pull icon resources from a preset database connected to a preset icon library on a preset server. The preset integration tool is preferably Jenkins. In a specific implementation, Jenkins can pull icon resources from the preset database connected to the preset icon library on the preset server. After pulling the data resources, the preset build tool can be used to build the icon resources to obtain the built resources. The preset build tool is preferably Webpack, but in other real-time methods, Rollup can also be used.
[0049] Step S12: Determine the corresponding target application strategy based on whether a target instruction for static processing of the constructed resources is received, and apply the constructed resources to a preset client using the target application strategy.
[0050] In this embodiment, the decision to staticize the built resources can be determined based on the specific implementation scenario. If a target instruction for staticizing the built resources is received, it indicates that staticization is required, and the corresponding target application strategy for staticization is then determined. If no target instruction for staticization is received, it indicates that staticization is not required, and the corresponding target application strategy for not requiring staticization is then determined. The built resources can then be applied to a preset client using the determined target application strategy.
[0051] Step S13: When the preset icon upload entry receives the update resource for updating the icon resources in the preset icon library, the updated resource is recorded in the preset database using the preset recording method, and then the updated resource is applied to the preset client through the preset remote connection method.
[0052] In this embodiment, designers can update the icon resources in the preset icon library. During implementation, designers can add, delete, modify, and query icon resources in the library. When adding or modifying an icon, the designer can upload the new icon through the interface provided by the icon library. The new icon then becomes the updated icon resource. Specifically, designers can use Node.js to process the code and record the updated resource in the preset database to complete the update of the icon resources.
[0053] The process also includes generating a preview link based on the updated resource and returning the preview link. That is, after updating the icon, the designer can preview the updated icon resource in real time.
[0054] In this embodiment, the icon library application method may further include: configuring the preset remote connection method to call the interface service based on HTTP (Hypertext Transfer Protocol).
[0055] In this embodiment, before retrieving icon resources from a preset database connected to a preset icon library on a preset server, the process may further include: receiving resource application code for applying resources to a preset client; correspondingly, applying resources to the preset client may include: executing the resource application code to apply the resources to the preset client. That is, in a specific implementation of this embodiment, developers can configure resource application code for applying resources to the preset client during business development, and then directly execute the resource application code to apply the resources to the preset client when applying icon resources subsequently.
[0056] In the specific implementation of this invention, GitLab can be used to manage icon resources, avoiding resource duplication, waste, and poor resource management, thus ensuring effective icon management.
[0057] In this embodiment, icon resources are first retrieved from a preset database connected to a preset icon library on a preset server, and then constructed using a preset construction tool to generate constructed resources. Based on whether a target instruction for static processing of the constructed resources is received, a corresponding target application strategy is determined, and the constructed resources are applied to a preset client using the target application strategy. When a preset icon upload entry receives an update resource for updating icon resources in the preset icon library, the update resource is recorded in the preset database using a preset recording method, and then applied to the preset client via a preset remote connection method. In this way, the automatic retrieval and construction process of icon resources completes the automated construction of resources, and the resources are applied according to specific business scenarios. Furthermore, in subsequent icon library applications, when updated icon resources are received, the updated resources can be directly applied to the client via a remote connection method. This embodiment shortens the project time, reduces the number of steps in the entire process, achieves convenience in icon updates during specific business execution, and ensures easy management of icon resources.
[0058] Figure 2 A flowchart illustrating a specific icon library application method provided in this application embodiment. See also... Figure 2 As shown, the method includes:
[0059] Step S21: Use Jenkins to pull icon resources from a preset MongoDB database connected to a preset icon library on a preset server, and use webpack to build the icon resources to generate the built resources.
[0060] That is, in this embodiment, the preset integration tool is preferably jenkens, the preset database is preferably MogoDB, and the preset build tool is preferably webpack.
[0061] Step S22: Determine whether a target instruction for static processing of the constructed resource has been received. If no target instruction for static processing of the constructed resource has been received, apply the constructed resource to a preset client using a preset remote connection method. If a target instruction for static processing of the constructed resource has been received, compare the constructed resource with the previously saved constructed resource.
[0062] In this embodiment, if no target instruction for static processing of the constructed resource is received, the constructed resource is applied to a preset client using a preset remote connection method; if a target instruction for static processing of the constructed resource is received, the constructed resource is compared with the previously saved constructed resource in order to determine whether the constructed resource has been changed.
[0063] Step S23: If the constructed resource is inconsistent with the previously saved constructed resource, the constructed resource is applied to the preset client using a preset remote connection method; if the constructed resource is consistent with the previously saved constructed resource, the processed static resource after static processing of the constructed resource is applied to the preset client.
[0064] In this embodiment, if the constructed resource is inconsistent with the previously saved constructed resource, it indicates that the constructed resource has been changed. In this case, the constructed resource is applied to the preset client using a preset remote connection method. If the constructed resource is consistent with the previously saved constructed resource, it indicates that the constructed resource has not been changed. In this case, the processed static resource after staticizing the constructed resource is applied to the preset client.
[0065] Step S24: When the preset icon upload entry receives the update resource for updating the icon resources in the preset icon library, the updated resource is recorded in the preset database using Node.js, and then the updated resource is applied to the preset client through the preset remote connection method.
[0066] That is, in this embodiment, the updated resources can be recorded in the preset database using Node.js. In other embodiments, the updated resources can also be recorded in the preset database using any backend language such as Java or PHP (i.e., Personal Home Page).
[0067] like Figure 3The diagram illustrates the overall process proposed in this invention. At the bottom, Jenkins is used to pull icon resources from a preset MongoDB database connected to a preset icon library on a preset server. Webpack is then used to build these icon resources. The process then determines whether icon staticization is required. If not, the resource is applied directly via a remote connection. If staticization is required, it checks if the built icon has been modified. If modified, the resource is applied via a remote connection; otherwise, the statically processed icon is used. On the left side, designers can add or modify icons in the icon library. When uploading an icon, Node.js code is used to record the changes in the database, completing the modification. Subsequent remote connection applications are possible. Furthermore, after modification, a preview link can be generated to display the icon in real-time, facilitating the designer's workflow. Resource application can be accomplished using code predefined by developers during business development. This resource application code can be:<lcon name=“a”normalize / > Ultimately, the icon library resources can be used directly on the client side.
[0068] In this embodiment, Jenkins is used to pull icon resources from a preset MongoDB database connected to a preset icon library on a preset server. Webpack is then used to build the icon resources to generate a post-built resource. It is determined whether a target instruction for staticizing the post-built resource has been received. If no such instruction is received, the post-built resource is applied to a preset client using a preset remote connection method. If a target instruction for staticizing the post-built resource is received, the post-built resource is compared with a previously saved post-built resource. If the post-built resource is inconsistent with the previously saved post-built resource, it is applied to the preset client using a preset remote connection method. If the post-built resource is consistent with the previously saved post-built resource, the statically processed post-built resource is applied to the preset client. When the preset icon upload entry receives an update resource for updating icon resources in the preset icon library, Node.js is used to record the updated resource in the preset database, and then the updated resource is applied to the preset client via a preset remote connection method. This embodiment shortens the project duration and reduces the number of steps in the entire process. It enables convenient icon updates during specific business execution and facilitates the management of icon resources.
[0069] See Figure 4 As shown in the figure, this application discloses an icon library application device, which may specifically include:
[0070] The resource building module 11 is used to pull icon resources from a preset database connected to a preset icon library in a preset server, and use a preset building tool to build the icon resources to generate the built resources;
[0071] The resource application module 12 is used to determine the corresponding target application strategy based on whether a target instruction for static processing of the constructed resources is received, and to apply the constructed resources to a preset client using the target application strategy.
[0072] The resource update module 13 is used to record the updated resource into the preset database using a preset recording method when the preset icon upload entry receives the updated resource for updating the icon resources in the preset icon library, and then apply the updated resource to the preset client through a preset remote connection method.
[0073] In this embodiment, icon resources are first retrieved from a preset database connected to a preset icon library on a preset server, and then constructed using a preset construction tool to generate constructed resources. Based on whether a target instruction for static processing of the constructed resources is received, a corresponding target application strategy is determined, and the constructed resources are applied to a preset client using the target application strategy. When a preset icon upload entry receives an update resource for updating icon resources in the preset icon library, the update resource is recorded in the preset database using a preset recording method, and then applied to the preset client via a preset remote connection method. In this way, the automatic retrieval and construction process of icon resources completes the automated construction of resources, and the resources are applied according to specific business scenarios. Furthermore, in subsequent icon library applications, when updated icon resources are received, the updated resources can be directly applied to the client via a remote connection method. This embodiment shortens the project time, reduces the number of steps in the entire process, achieves convenience in icon updates during specific business execution, and ensures easy management of icon resources.
[0074] In some specific embodiments, the resource construction module 11 includes:
[0075] The resource building unit is used to pull icon resources from a preset database connected to a preset icon library on a preset server using a preset continuous integration tool, and to build the icon resources using a preset building tool to generate the built resources.
[0076] In some specific embodiments, the resource construction unit specifically includes:
[0077] The resource building subunit is used to pull icon resources from a preset MongoDB database connected to a preset icon library on a preset server using Jenkins, and to build the icon resources using webpack to generate the built resources.
[0078] In some specific embodiments, the resource application module 12 includes:
[0079] The judgment unit is used to determine whether a target instruction for static processing of the constructed resources has been received.
[0080] The first execution subunit is configured to apply the constructed resources to a preset client using a preset remote connection method if no target instruction for static processing of the constructed resources is received.
[0081] The second execution subunit is configured to, upon receiving a target instruction for static processing of the constructed resource, compare the constructed resource with the previously saved constructed resource; if the constructed resource is inconsistent with the previously saved constructed resource, apply the constructed resource to a preset client using a preset remote connection method; if the constructed resource is consistent with the previously saved constructed resource, apply the processed static resource after static processing of the constructed resource to the preset client.
[0082] In some specific embodiments, the resource update module 13 specifically includes:
[0083] The resource recording unit is used to record the updated resources to the preset database using Node.js.
[0084] In some specific embodiments, the icon library application device further includes:
[0085] The method configuration unit is used to configure the preset remote connection method as a method for calling interface services based on HTTP.
[0086] In some specific embodiments, the icon library application device further includes:
[0087] The code receiving unit is used to receive resource application code for applying resources to a preset client;
[0088] The code execution unit is used to execute the resource application code to apply the resource to a preset client.
[0089] Furthermore, embodiments of this application also disclose an electronic device, Figure 5This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content of the diagram should not be construed as limiting the scope of use of this application.
[0090] Figure 5 This is a schematic diagram of the structure of an electronic device 20 provided in an embodiment of this application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a display screen 24, an input / output interface 25, a communication interface 26, and a communication bus 27. The memory 22 stores a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the icon library application method disclosed in any of the foregoing embodiments. Alternatively, the electronic device 20 in this embodiment may specifically be a computer.
[0091] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 26 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 25 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.
[0092] In addition, the memory 22, as a carrier for resource storage, can be a read-only memory, random access memory, disk or optical disk, etc. The resources stored thereon can include operating system 221, computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0093] The operating system 221 is used to manage and control the various hardware devices on the electronic device 20 and the computer program 222, which may be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program capable of performing the icon library application method executed by the electronic device 20 as disclosed in any of the foregoing embodiments, the computer program 222 may further include a computer program capable of performing other specific tasks.
[0094] Furthermore, this application also discloses a computer-readable storage medium, which includes random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, magnetic disks, optical disks, or any other form of storage medium known in the art. When the computer program is executed by a processor, it implements the aforementioned icon library application method. Specific steps of this method can be found in the corresponding content disclosed in the foregoing embodiments, and will not be repeated here.
[0095] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatuses disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the descriptions are relatively simple; relevant parts can be referred to the method section. Those skilled in the art will further 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, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the foregoing description. 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 implementations should not be considered beyond the scope of this application.
[0096] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.
[0097] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0098] The above provides a detailed description of the icon library application method, apparatus, device, and storage medium provided by the present invention. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for applying an icon library, characterized in that, include: Icon resources are retrieved from a preset database connected to a preset icon library on a preset server, and the icon resources are constructed using a preset construction tool to generate constructed resources; Based on whether a target instruction for static processing of the constructed resources is received, a corresponding target application strategy is determined, and the constructed resources are applied to a preset client using the target application strategy. When the preset icon upload entry receives an update resource for updating icon resources in the preset icon library, the updated resource is recorded in the preset database using a preset recording method, and then the updated resource is applied to the preset client through a preset remote connection method. The step of determining a corresponding target application strategy based on whether a target instruction for static processing of the built resources is received, and applying the built resources to a preset client using the target application strategy, includes: Determine whether a target instruction for staticizing the constructed resources has been received; If no target instruction for static processing of the constructed resources is received, the constructed resources are applied to a preset client using a preset remote connection method. If a target instruction is received to statically process the constructed resource, the constructed resource is compared with the previously saved constructed resource. If the constructed resource is inconsistent with the previously saved constructed resource, the constructed resource will be applied to a preset client using a preset remote connection method. If the constructed resource is consistent with the previously saved constructed resource, then the statically processed resource after static processing will be applied to the preset client.
2. The icon library application method according to claim 1, characterized in that, The process of retrieving icon resources from a preset database connected to a preset icon library on a preset server and constructing the icon resources using a preset construction tool to generate constructed resources includes: The system uses a preset continuous integration tool to pull icon resources from a preset database connected to a preset icon library on a preset server, and uses a preset build tool to build the icon resources to generate the built resources.
3. The icon library application method according to claim 2, characterized in that, The process of using a preset continuous integration tool to pull icon resources from a preset database connected to a preset icon library on a preset server, and using a preset build tool to build the icon resources to generate the built resources, includes: Jenkins is used to pull icon resources from a preset MongoDB database connected to a preset icon library on a preset server, and webpack is used to build the icon resources to generate the built resources.
4. The icon library application method according to claim 1, characterized in that, The step of recording the updated resources to the preset database using a preset recording method includes: The updated resources are recorded in the preset database using Node.js.
5. The icon library application method according to claim 1, characterized in that, Also includes: The method of configuring the preset remote connection method as an HTTP-based call to interface services.
6. The icon library application method according to any one of claims 1 to 5, characterized in that, Before fetching icon resources from the preset database connected to the preset icon library in the preset server, the process also includes: Receive resource application code used to apply resources to a preset client; Accordingly, resources are applied to preset clients, including: Execute the resource application code to apply the resource to the preset client.
7. An icon library application device, characterized in that, include: The resource building module is used to pull icon resources from a preset database connected to a preset icon library on a preset server, and use a preset building tool to build the icon resources to generate the built resources; The resource application module is used to determine the corresponding target application strategy based on whether a target instruction for static processing of the constructed resources is received, and to apply the constructed resources to a preset client using the target application strategy. The resource update module is used to record the updated resource into the preset database using a preset recording method when the preset icon upload entry receives an updated resource for updating icon resources in the preset icon library, and then apply the updated resource to the preset client through a preset remote connection method. The resource application module includes: The judgment unit is used to determine whether a target instruction for static processing of the constructed resources has been received. The first execution subunit is configured to apply the constructed resources to a preset client using a preset remote connection method if no target instruction for static processing of the constructed resources is received. The second execution subunit is configured to, upon receiving a target instruction for static processing of the constructed resource, compare the constructed resource with the previously saved constructed resource; if the constructed resource is inconsistent with the previously saved constructed resource, apply the constructed resource to a preset client using a preset remote connection method; if the constructed resource is consistent with the previously saved constructed resource, apply the processed static resource after static processing of the constructed resource to the preset client.
8. An electronic device, characterized in that, It includes a processor and a memory; wherein, when the processor executes a computer program stored in the memory, it implements the icon library application method as described in any one of claims 1 to 6.
9. A computer-readable storage medium, characterized in that, Used to store computer programs; wherein, when the computer programs are executed by a processor, they implement the icon library application method as described in any one of claims 1 to 6.