CN113986376A - Resource file updating method based on Flutter platform and related equipment thereof - Google Patents

Resource file updating method based on Flutter platform and related equipment thereof Download PDF

Info

Publication number
CN113986376A
CN113986376A CN202111239293.5A CN202111239293A CN113986376A CN 113986376 A CN113986376 A CN 113986376A CN 202111239293 A CN202111239293 A CN 202111239293A CN 113986376 A CN113986376 A CN 113986376A
Authority
CN
China
Prior art keywords
file
configuration
resource
folder
flutter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111239293.5A
Other languages
Chinese (zh)
Inventor
王国彬
牟锟伦
彭军
桂湘波
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tubatu Group Co Ltd
Original Assignee
Tubatu Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tubatu Group Co Ltd filed Critical Tubatu Group Co Ltd
Priority to CN202111239293.5A priority Critical patent/CN113986376A/en
Publication of CN113986376A publication Critical patent/CN113986376A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • G06F16/162Delete operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The embodiment of the application discloses a resource file updating method based on a Flutter platform, which is applied to the Flutter platform. The method in the embodiment of the application comprises the following steps: monitoring whether file change occurs in a configuration folder, wherein the configuration folder is used for storing resource files, and a corresponding relation exists between the configuration folder and the configuration files; if the file is changed in the configuration file folder, updating the configuration file according to the file change condition; and executing an upgrading instruction to enable the updated configuration file to take effect. By the technical means, when a new resource file needs to be added in the development process of using the Flutter platform, a user does not need to manually input the relative path, the file name and other contents of the resource file, a large amount of repeated labor of the user is avoided, the accuracy of adding the resource file is ensured, and the efficiency of the development process is improved.

Description

Resource file updating method based on Flutter platform and related equipment thereof
Technical Field
The application belongs to the technical field of computers, and particularly relates to a resource file updating method based on a Flutter platform and related equipment thereof.
Background
Flutter is a mobile UI (User Interface) framework published by google, is an SDK (Software Development Kit) for constructing a cross-platform mobile phone app, and can quickly construct a high-quality User Interface on Android and iOS systems. Flutter supports mobile, Web, desktop, and embedded platforms. Flutter has a loose open source protocol and is suitable for different kinds of development projects.
When a new resource file (such as pictures (png, jpg, jpeg, gif, and other formats) and fonts (ttf formats)) needs to be added in a development process using the Flutter platform, a relative path and a file name of the newly added resource file need to be manually configured in a configuration file, a new reference variable needs to be added after configuration is completed, and an execution command is executed to use the newly added resource file.
The process requires a user to manually input the contents of the resource file, such as the relative path, the file name and the like, a large number of resource files are required to be added when a new development task is carried out, and the process is mechanical repeated labor and is easy to cause errors to influence the development process.
Disclosure of Invention
The present invention is directed to solving the existing problems, and the present application provides a method including:
a first aspect of the embodiments of the present application provides a resource file updating method based on a Flutter platform, where the method is applied to the Flutter platform and includes:
monitoring whether file change occurs in a configuration folder, wherein the configuration folder is used for storing resource files, and a corresponding relation exists between the configuration folder and the configuration files;
if the file is changed in the configuration file folder, updating the configuration file according to the file change condition;
and executing an upgrading instruction to enable the updated configuration file to take effect.
Based on the resource file updating method provided in the first aspect of the embodiment of the present application, optionally, the file changing includes: any one or more of adding a new resource file in the configuration folder, deleting the resource file in the configuration folder, and modifying the resource file in the configuration folder.
Based on the resource file updating method provided in the first aspect of the embodiment of the present application, optionally, the updating the resource file according to the file change condition includes:
acquiring a file change record, wherein the file change record comprises a file name and a relative path related to the file change;
modifying the configuration file according to the file change record;
and generating a reference file corresponding to the modified configuration file.
Based on the resource file updating method provided in the first aspect of the embodiment of the present application, optionally, the executing an upgrade instruction to enable the configuration file to take effect includes:
executing a Flutter pubget instruction or a Flutter update instruction to validate the configuration file.
A second aspect of the embodiments of the present application provides a resource file updating device based on a Flutter platform, where the device is applied to the Flutter platform, and includes:
the monitoring unit is used for monitoring whether file change occurs in a configuration folder, the configuration folder is used for storing resource files, and a corresponding relation exists between the configuration folder and the configuration files;
the updating unit is used for updating the configuration file according to the file change condition if the file change occurs in the configuration file folder;
an execution unit, configured to execute an upgrade instruction, so as to enable the updated configuration file to take effect.
Based on the resource file updating apparatus provided in the second aspect of the embodiment of the present application, optionally, the file change includes: any one or more of adding a new resource file in the configuration folder, deleting the resource file in the configuration folder, and modifying the resource file in the configuration folder.
Based on the resource file updating apparatus provided in the second aspect of the embodiment of the present application, optionally, the update-dependent unit is specifically configured to:
acquiring a file change record, wherein the file change record comprises a file name and a relative path related to the file change;
modifying the configuration file according to the file change record;
and generating a reference file corresponding to the modified configuration file.
Based on the resource file updating apparatus provided in the second aspect of the embodiment of the present application, optionally, the executing an upgrade instruction to enable the configuration file to take effect includes:
executing a Flutter pubget instruction or a Flutter update instruction to validate the configuration file.
A third aspect of the embodiments of the present application provides a resource file updating apparatus, including:
the system comprises a central processing unit, a memory, an input/output interface, a wired or wireless network interface and a power supply;
the memory is a transient memory or a persistent memory;
the central processing unit is configured to communicate with the memory, and execute the instruction operations in the memory on the resource file configuration to execute the resource file updating method according to any one of the first aspect of the embodiments of the present application.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, including instructions, which, when executed on a computer, cause the computer to perform the method according to any one of the first aspects of embodiments of the present application.
A fifth aspect of embodiments of the present application provides a computer program product containing instructions, which when executed on a computer, cause the computer to perform the method according to any one of the first aspect of embodiments of the present application.
According to the technical scheme, the embodiment of the application has the following advantages: monitoring whether a file change occurs in a configuration folder, wherein the configuration folder is used for storing resource files, and a corresponding relation exists between the configuration folder and the configuration files; if the file is changed in the configuration file folder, updating the configuration file according to the file change condition; and executing an upgrading instruction to enable the updated configuration file to take effect. By the technical means, when a new resource file needs to be added in the development process of using the Flutter platform, a user does not need to manually input the relative path, the file name and other contents of the resource file, a large amount of repeated labor of the user is avoided, the accuracy of adding the resource file is ensured, and the efficiency of the development process is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic flowchart of an embodiment of a resource file updating method based on a Flutter platform according to the present application;
fig. 2 is a schematic flowchart of an embodiment of a resource file updating method based on the Flutter platform according to the present application;
fig. 3 is a schematic flowchart of an embodiment of a resource file updating method based on the Flutter platform according to the present application;
fig. 4 is a flowchart illustrating an embodiment of a resource file updating method based on the Flutter platform according to the present application.
Detailed Description
The embodiment of the application provides a resource file updating method, so that when a new resource file needs to be added in the development process using a Flutter platform, a user does not need to manually input the contents such as the relative path, the file name and the like of the resource file, a large amount of repeated labor of the user is avoided, the accuracy of adding the resource file is ensured, and the efficiency of the development process is improved.
In order to make the technical solutions in the embodiments of the present application better understood, the technical solutions in the embodiments of the present application are clearly and completely described below, and it is obvious that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the drawings described above, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Flutter is a mobile UI (User Interface) framework published by google, is an SDK (Software Development Kit) for constructing a cross-platform mobile phone app, and can quickly construct a high-quality User Interface on Android and iOS systems. Flutter supports mobile, Web, desktop, and embedded platforms. Flutter has a loose open source protocol and is suitable for different kinds of development projects.
When a new resource file (such as pictures (png, jpg, jpeg, gif, and other formats) and fonts (ttf formats)) needs to be added in a development process using the Flutter platform, a relative path and a file name of the newly added resource file need to be manually configured in a configuration file, a new reference variable needs to be added after configuration is completed, and an execution command is executed to use the newly added resource file.
When a new resource file is added, the name of the resource file is easily wrongly written in the process of modifying the configuration file or adding the reference variable, so that the resource file cannot be used; the adding process has no compiling check to cause 'unable to be used' error, such as: name written by one letter, file suffix written by mistake or not, etc.
The new demand development adds a large resource file, and the process is mechanical and repeated, and easily causes the first problem.
To solve the above problem, the present application provides a new method for updating a resource file based on a Flutter platform, and referring to fig. 1, an embodiment of the method for updating a resource file based on a Flutter platform provided by the present application includes: step 101-step 103.
101. And monitoring whether the file change occurs in the configuration file folder.
Specifically, the application environment of the method is based on a Flutter platform, Flutter is a mobile UI (User Interface) framework published by google, is an SDK (Software Development Kit) for constructing a cross-platform mobile phone app, and can quickly construct a high-quality User Interface on Android and iOS systems. Flutter supports mobile, Web, desktop, and embedded platforms. Flutter has a loose open source protocol and is suitable for different kinds of development projects.
When using Flutter for development, Flutter will have a corresponding configuration folder for storing resource files so as to support development work, and the Flutter platform will also have a configuration file corresponding to the configuration folder, and based on the configuration file, the Flutter platform can call the resource files stored in the configuration folder. The general configuration file is in pubspec.yaml form on the Flutter platform.
The method can be executed in a plug-in mode, the specific mode can be determined according to the actual situation, and is not limited herein, in the actual implementation process, it is often necessary to additionally add a new resource file to the configuration file, and at this time, it is necessary to monitor whether a file change occurs in the configuration folder, where the configuration folder is used to store the resource file, and when the file in the configuration folder changes, it is determined that the file change occurs in the configuration folder, and specifically, the file change may include: adding new resource files in the configuration file folder, deleting the resource files in the configuration file folder and modifying the resource files in the configuration file folder. The specific situation may be determined according to actual circumstances, and is not limited herein. If the file in the configuration folder is changed, step 102 is executed to update the configuration file according to the file change condition. If the file in the configuration folder is not changed, the existing resource file is enough to support the development process, and other processing is not needed. There is a correspondence between the configuration folders and the configuration files. The configuration file is used to describe the content stored in the configuration folder.
102. And updating the configuration file according to the file change condition.
And if the file is changed in the configuration file folder, updating the configuration file according to the file change condition. Specifically, the file name of the resource file and the path of the changed resource file related to the case where the file is changed can be determined.
The method includes the steps of updating a configuration file and modifying original records in the configuration file, modifying the original records to be consistent with the existing resource file condition of the configuration file folder, specifically, for the condition that a resource file is added in the configuration file folder, obtaining a file name and a file path of the newly added resource file and additionally adding the file name and the file path to the content recorded in the configuration file, and deleting corresponding information originally recorded in the configuration file if some original resource files are deleted in the configuration file folder. After the configuration file is updated, an update process of the reference file corresponding to the configuration file may be further included, which may be determined according to the actual situation, and is not limited herein.
103. And executing an upgrading instruction to enable the updated configuration file to take effect.
Specifically, an upgrade instruction is executed to enable the updated configuration file to take effect. The upgrade instruction may be a Flutter pubget instruction or a Flutter update instruction, a specific instruction form may be determined according to an actual situation, and is not limited herein, and the updated configuration file may be identified and used by the Flutter platform by executing the upgrade instruction, so that the resource file modified in the resource folder becomes effective, and execution of subsequent development work is facilitated.
According to the technical scheme, the embodiment of the application has the following advantages: monitoring whether a file change occurs in a configuration folder, wherein the configuration folder is used for storing resource files, and a corresponding relation exists between the configuration folder and the configuration files; if the file is changed in the configuration file folder, updating the configuration file according to the file change condition; and executing an upgrading instruction to enable the updated configuration file to take effect. By the technical means, when a new resource file needs to be added in the development process of using the Flutter platform, a user does not need to manually input the relative path, the file name and other contents of the resource file, a large amount of repeated labor of the user is avoided, the accuracy of adding the resource file is ensured, and the efficiency of the development process is improved.
On the other hand, an embodiment of the present application further provides an embodiment that can be implemented selectively and in more detail, referring to fig. 2, an embodiment of a resource file updating method based on a Flutter platform of the present application includes: step 201-step 205.
201. And monitoring whether the file change occurs in the configuration file folder.
Specifically, the method can be executed in a plug-in mode, for example, before the step is executed, a default assets-plug in. The specific manner may be determined according to actual circumstances, and is not limited herein, in an actual implementation process, it is often necessary to additionally add a new resource file to the configuration file, and at this time, it is necessary to monitor whether a file change occurs in the configuration folder, where the configuration folder is used to store the resource file, and when a file in the configuration folder changes, it is determined that the file change occurs in the configuration folder, and specifically, the file change may include: adding new resource files in the configuration file folder, deleting the resource files in the configuration file folder and modifying the resource files in the configuration file folder. The specific situation may be determined according to actual circumstances, and is not limited herein. If the file change occurs in the configuration folder, step 202 is executed to obtain a file change record. If the file in the configuration folder is not changed, the existing resource file is enough to support the development process, and other processing is not needed. There is a correspondence between the configuration folders and the configuration files. The configuration file is used to describe the content stored in the configuration folder.
202. A file change record is obtained.
Specifically, the obtained file change record is determined according to the preset plug-in setting for executing the method, and generally, the file name of the resource file related to the file change condition and the path of the changed resource file can be determined, and the corresponding information is taken as the file change record. It can be understood that, in some cases, the file change in the resource folder does not need to be updated, and at this time, the plug-in executing the method may be configured, the file type monitored by the plug-in may be configured, and after the non-monitored file type is filtered, the change record collection may be performed on the change.
203. Modifying the configuration file according to said file change record
Specifically, modifying the configuration file according to the file change record includes: and formatting the collection record, and updating the pubspec.yaml file resource area. The pubspec.yaml file resource region records the original resource file directory, and after the resource file is changed, the pubspec.yaml file resource region needs to be updated correspondingly, so that the changed resource file can be normally used. Specifically, for the case of adding resource files into the configuration folder, the file name and file path of the newly added resource file can be acquired and additionally added into the content recorded in the configuration file, if some original resource files are deleted from the configuration folder, the corresponding information recorded in the configuration file can be deleted,
204. and generating a reference file corresponding to the modified configuration file.
Specifically, a reference file corresponding to the modified configuration file is generated. After the configuration file is modified, the reference file corresponding to the configuration file needs to be updated to ensure normal use of the configuration file, that is, the reference file is generated or updated according to the properties file configuration after the update is completed, and a specific reference file generation process may refer to the prior art, which is not described herein in detail.
205. And executing a flutter pubget instruction or a flutter update instruction to enable the configuration file to be effective.
Specifically, an upgrade instruction is executed to enable the updated configuration file to take effect. The upgrade instruction may be a Flutter pubget instruction or a Flutter update instruction, a specific instruction form may be determined according to an actual situation, and is not limited herein, and the updated configuration file may be identified and used by the Flutter platform by executing the upgrade instruction, so that the resource file modified in the resource folder becomes effective, and execution of subsequent development work is facilitated.
According to the technical scheme, the embodiment of the application has the following advantages: monitoring whether a file change occurs in a configuration folder, wherein the configuration folder is used for storing resource files, and a corresponding relation exists between the configuration folder and the configuration files; if the file is changed in the configuration file folder, updating the configuration file according to the file change condition; and executing an upgrading instruction to enable the updated configuration file to take effect. By the technical means, when a new resource file needs to be added in the development process of using the Flutter platform, a user does not need to manually input the relative path, the file name and other contents of the resource file, a large amount of repeated labor of the user is avoided, the accuracy of adding the resource file is ensured, and the efficiency of the development process is improved.
The foregoing describes the method for updating a resource file based on a Flutter platform provided by the present application, and referring to fig. 3, the following describes a resource file updating device based on a Flutter platform provided by the present application, where an embodiment of the resource file updating device based on a Flutter platform includes: a listening unit 301, an updating unit 302 and an executing unit 304. The resource file updating device is applied to a Flutter platform, wherein:
a monitoring unit 301, where the monitoring unit 301 is configured to monitor whether a file change occurs in a configuration folder, where the configuration folder is used to store a resource file, and a corresponding relationship exists between the configuration folder and the configuration file;
an updating unit 302, where the updating unit 302 is configured to update the configuration file according to a situation of the file change if the file change occurs in the configuration folder;
an execution unit 303, where the execution unit 303 is configured to execute an upgrade instruction to validate the updated configuration file.
In this embodiment, the process executed by each unit in the resource file updating apparatus is similar to the method process described in the embodiment corresponding to fig. 1 or fig. 2, and is not described herein again.
Through the resource file updating equipment based on the Flutter platform, when a new resource file needs to be added in the development process using the Flutter platform, a user does not need to manually input the contents such as the relative path, the file name and the like of the resource file, a large amount of repeated labor of the user is avoided, the accuracy of adding the resource file is ensured, and the efficiency of the development process is improved.
Optionally, the file change includes: any one or more of adding a new resource file in the configuration folder, deleting the resource file in the configuration folder, and modifying the resource file in the configuration folder.
Optionally, the update-dependent unit is specifically configured to:
acquiring a file change record, wherein the file change record comprises a file name and a relative path related to the file change;
modifying the configuration file according to the file change record;
and generating a reference file corresponding to the modified configuration file.
The executing the upgrade instructions to validate the configuration file comprises:
executing a Flutter pubget instruction or a Flutter update instruction to validate the configuration file.
Fig. 4 is a schematic structural diagram of a server for executing a resource file updating method according to an embodiment of the present disclosure, where the server 400 may include one or more Central Processing Units (CPUs) 401 and a memory 405, and the memory 405 stores one or more application programs or data.
In this embodiment, the specific functional module division in the central processing unit 401 may be similar to the functional module division manner of each unit described in the foregoing fig. 4, and is not described here again.
Memory 405 may be volatile storage or persistent storage, among other things. The program stored in memory 405 may include one or more modules, each of which may include a sequence of instructions operating on a server. Still further, the central processor 401 may be arranged to communicate with the memory 405, and to execute a series of instruction operations in the memory 405 on the server 400.
The server 400 may also include one or more power supplies 402, one or more wired or wireless network interfaces 403, one or more input-output interfaces 404, and/or one or more operating systems, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
The central processing unit 401 may perform the operations performed by the resource file updating method based on the Flutter platform in the embodiment shown in fig. 1, and details thereof are not described herein again.
The embodiment of the present application further provides a computer storage medium, where the computer storage medium is used to store computer software instructions for the Flutter platform-based resource file updating method, and includes a program designed to execute the Flutter platform-based resource file updating method.
The Flutter platform based resource file updating method may be the Flutter platform based resource file updating method described in the foregoing fig. 1.
An embodiment of the present application further provides a computer program product, where the computer program product includes computer software instructions, and the computer software instructions may be loaded by a processor to implement the flow of the Flutter platform-based resource file updating method in any one of fig. 1 and fig. 2.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, equivalent circuit transformations, partitions of units, and logic functions may be merely one type of partitioning, and in actual implementation, there may be other partitioning manners, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents or improvements made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (10)

1. A resource file updating method based on a FLUTTER platform is characterized in that the method is applied to the FLUTTER platform and comprises the following steps:
monitoring whether file change occurs in a configuration folder, wherein the configuration folder is used for storing resource files, and a corresponding relation exists between the configuration folder and the configuration files;
if the file is changed in the configuration file folder, updating the configuration file according to the file change condition;
and executing an upgrading instruction to enable the updated configuration file to take effect.
2. The Flutter platform-based resource file updating method according to claim 1, wherein the file change comprises: any one or more of adding a new resource file in the configuration folder, deleting the resource file in the configuration folder, and modifying the resource file in the configuration folder.
3. The Flutter platform-based resource file updating method according to claim 1, wherein the updating the resource file according to the file change condition comprises:
acquiring a file change record, wherein the file change record comprises a file name and a relative path related to the file change;
modifying the configuration file according to the file change record;
and generating a reference file corresponding to the modified configuration file.
4. The Flutter platform-based resource file updating method according to claim 1, wherein the executing the upgrade instruction to validate the configuration file comprises:
executing a Flutter pubget instruction or a Flutter update instruction to validate the configuration file.
5. The utility model provides a resource file updating device based on Flutter platform which characterized in that, the equipment is applied to the Flutter platform, includes:
the monitoring unit is used for monitoring whether file change occurs in a configuration folder, the configuration folder is used for storing resource files, and a corresponding relation exists between the configuration folder and the configuration files;
the updating unit is used for updating the configuration file according to the file change condition if the file change occurs in the configuration file folder;
an execution unit, configured to execute an upgrade instruction, so as to enable the updated configuration file to take effect.
6. The Flutter platform-based resource file updating device according to claim 5, wherein the file change comprises: any one or more of adding a new resource file in the configuration folder, deleting the resource file in the configuration folder, and modifying the resource file in the configuration folder.
7. The Flutter platform-based resource file updating device according to claim 5, wherein the updating unit is specifically configured to:
acquiring a file change record, wherein the file change record comprises a file name and a relative path related to the file change;
modifying the configuration file according to the file change record;
and generating a reference file corresponding to the modified configuration file.
8. The Flutter platform-based resource file updating apparatus according to claim 5, wherein the executing the upgrade instruction to validate the configuration file comprises:
executing a Flutter pubget instruction or a Flutter update instruction to validate the configuration file.
9. A resource file updating device based on a Flutter platform is characterized by comprising:
the system comprises a central processing unit, a memory, an input/output interface, a wired or wireless network interface and a power supply;
the memory is a transient memory or a persistent memory;
the central processor is configured to communicate with the memory, the instructions in the memory operating on the resource file configuration to perform the method of any of claims 1 to 4.
10. A computer-readable storage medium comprising instructions which, when executed on a computer, cause the computer to perform the method of any one of claims 1 to 4.
CN202111239293.5A 2021-10-25 2021-10-25 Resource file updating method based on Flutter platform and related equipment thereof Pending CN113986376A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111239293.5A CN113986376A (en) 2021-10-25 2021-10-25 Resource file updating method based on Flutter platform and related equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111239293.5A CN113986376A (en) 2021-10-25 2021-10-25 Resource file updating method based on Flutter platform and related equipment thereof

Publications (1)

Publication Number Publication Date
CN113986376A true CN113986376A (en) 2022-01-28

Family

ID=79740839

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111239293.5A Pending CN113986376A (en) 2021-10-25 2021-10-25 Resource file updating method based on Flutter platform and related equipment thereof

Country Status (1)

Country Link
CN (1) CN113986376A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739278A (en) * 2009-12-17 2010-06-16 中国电力科学研究院 Enterprise-level application software updating method and system
CN102012807A (en) * 2010-08-19 2011-04-13 上海酷吧信息技术有限公司 Configuration file control method and device in program development process
CN105141643A (en) * 2015-10-26 2015-12-09 南威软件股份有限公司 Document encryption management method and device
CN110990023A (en) * 2019-12-16 2020-04-10 上海钧正网络科技有限公司 aar file dependency uploading method and device, storage medium and electronic equipment
CN111026635A (en) * 2019-09-27 2020-04-17 珠海随变科技有限公司 Software project testing system, method, device and storage medium
CN111475199A (en) * 2020-04-03 2020-07-31 北京金山云网络技术有限公司 aar file generation method and device and electronic equipment
CN112084747A (en) * 2020-09-17 2020-12-15 瑞庭网络技术(上海)有限公司 Resource management method and device, electronic equipment and storage medium
CN112256579A (en) * 2020-10-23 2021-01-22 展讯通信(上海)有限公司 Automatic integrated test method, device, system, equipment and medium
CN112799737A (en) * 2021-01-25 2021-05-14 网易(杭州)网络有限公司 Game resource processing method, device, processor and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101739278A (en) * 2009-12-17 2010-06-16 中国电力科学研究院 Enterprise-level application software updating method and system
CN102012807A (en) * 2010-08-19 2011-04-13 上海酷吧信息技术有限公司 Configuration file control method and device in program development process
CN105141643A (en) * 2015-10-26 2015-12-09 南威软件股份有限公司 Document encryption management method and device
CN111026635A (en) * 2019-09-27 2020-04-17 珠海随变科技有限公司 Software project testing system, method, device and storage medium
CN110990023A (en) * 2019-12-16 2020-04-10 上海钧正网络科技有限公司 aar file dependency uploading method and device, storage medium and electronic equipment
CN111475199A (en) * 2020-04-03 2020-07-31 北京金山云网络技术有限公司 aar file generation method and device and electronic equipment
CN112084747A (en) * 2020-09-17 2020-12-15 瑞庭网络技术(上海)有限公司 Resource management method and device, electronic equipment and storage medium
CN112256579A (en) * 2020-10-23 2021-01-22 展讯通信(上海)有限公司 Automatic integrated test method, device, system, equipment and medium
CN112799737A (en) * 2021-01-25 2021-05-14 网易(杭州)网络有限公司 Game resource processing method, device, processor and storage medium

Similar Documents

Publication Publication Date Title
US9301164B2 (en) Method, system, and terminal for performing system update between mobile communication terminals
CN109408393B (en) Application testing method, device and equipment and computer readable storage medium
EP3007062A1 (en) Firmware upgrade method and apparatus, and communication device
CN104866391B (en) A kind of end message backup method and device based on increment information system
CN105511911A (en) System firmware upgrade package generation method and device
CN104317667A (en) Method for synchronizing DMI (desktop management interface) and FRU (field replace unit)
WO2017185954A1 (en) Method, host, and system for implementing usb device management
CN109669692B (en) Source code sharing method, server, computer readable storage medium and system
WO2017045491A1 (en) Method and system for upgrading sqlite3 embedded database
CN111068328A (en) Game advertisement configuration table generation method, terminal device and medium
CN103853535A (en) Method and device for modifying middleware
CN102262684A (en) Method and device for generating webpage page of mobile terminal
CN107291507B (en) Upgrading method for virtual hard disk of virtual machine and electronic equipment
CN110908837A (en) Application program exception handling method and device, electronic equipment and storage medium
CN112148337A (en) Firmware upgrading method and device
CN114780019A (en) Electronic device management method and device, electronic device and storage medium
CN104461621A (en) Attribute information updating method and device
CN111782474A (en) Log processing method and device, electronic equipment and medium
CN113986376A (en) Resource file updating method based on Flutter platform and related equipment thereof
CN114721681A (en) Configuration file updating method, device, equipment and storage medium
CN109634690A (en) Data clearing method, device, terminal and storage medium based on WinPE system
CN116048609A (en) Configuration file updating method, device, computer equipment and storage medium
WO2017096889A1 (en) Method and device for upgrading and downgrading system
CN102801749B (en) A kind of dispositions method of J2ME application program and device
CN115129360A (en) Code file management method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination