WO2022033130A1 - Method for editing and saving json configuration file - Google Patents

Method for editing and saving json configuration file Download PDF

Info

Publication number
WO2022033130A1
WO2022033130A1 PCT/CN2021/097780 CN2021097780W WO2022033130A1 WO 2022033130 A1 WO2022033130 A1 WO 2022033130A1 CN 2021097780 W CN2021097780 W CN 2021097780W WO 2022033130 A1 WO2022033130 A1 WO 2022033130A1
Authority
WO
WIPO (PCT)
Prior art keywords
editable
content
edited
user
mark
Prior art date
Application number
PCT/CN2021/097780
Other languages
French (fr)
Chinese (zh)
Inventor
邵猛
魏博
Original Assignee
深圳市前海手绘科技文化有限公司
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 深圳市前海手绘科技文化有限公司 filed Critical 深圳市前海手绘科技文化有限公司
Publication of WO2022033130A1 publication Critical patent/WO2022033130A1/en

Links

Images

Classifications

    • 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
    • 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/17Details of further file system functions
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/117Tagging; Marking up; Designating a block; Setting of attributes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting

Definitions

  • the invention belongs to the technical field of editing and saving, in particular to a method for editing and saving JSON configuration files.
  • the editor In hand-drawn video production, the editor generally provides templates for users to edit and use, and the templates generally exist in the form of JSON configuration files. When users use it, download the JSON configuration file and download the resource materials in the configuration file, and when the user saves after editing, the edited complete JSON configuration file is also saved. Downloading and saving the entire JSON configuration file and resource material in the prior art has the technical problems that the file volume is large, the file content is also very complex, and the storage performance and network transmission performance have certain defects.
  • the present invention provides a method for editing and saving a JSON configuration file, comprising the following steps:
  • the present invention provides a device for editing and saving a JSON configuration file, including:
  • Marker module for marking editable parts of JSON configuration files
  • the calling module is used to call the editable part for the user to edit and generate the user-edited content according to the mark;
  • the storage module is used to save the user edit content to the JSON configuration file according to the tag, so as to update the corresponding content of the editable part.
  • marking in the present invention may be marked by ID records, which facilitates the subsequent one-to-one correspondence and retrieval of the editable part, the content in the editable part, and the corresponding edited content through the ID.
  • the present invention marks the editable part of the JSON configuration file; according to the mark, the editable part is called for the user to edit to generate user edit content; according to the mark, the user edit content is saved to the JSON configuration file to update The corresponding content of the editable section.
  • the steps of marking the editable part of the JSON configuration file include:
  • the markup module includes:
  • Editable section markup unit used to mark editable sections
  • Content markup unit in editable section used to mark the content in editable section.
  • the steps of retrieving the editable part for the user to edit to generate the user-edited content include:
  • the editing content is called for user editing to generate user editing content.
  • the calling module includes:
  • the editable part recall unit is used to call the editable part according to the mark of the editable part
  • the content retrieving unit in the editable part is used for retrieving the editing content for the user to edit according to the mark of the content in the editable part to generate the user-edited content.
  • the steps of saving the content edited by the user to the JSON configuration file to update the corresponding content of the editable part include:
  • the user edit content is updated to the corresponding edit content of the editable part.
  • the storage module includes:
  • Lookup unit used to find editable parts based on the markup of editable parts
  • the updating unit is configured to update the corresponding editing content of the editable part with the user's editing content according to the mark of the content in the editable part.
  • Updates to the user edits update the corresponding edits of the editable portion through the markup of the editable portion and the markup of the content in the editable portion.
  • the step of marking the editable part of the JSON configuration file it also includes:
  • a device for editing and saving a JSON configuration file further includes:
  • Recognition module for recognizing editable sections.
  • JSON configuration file includes an editable part and an uneditable part. During the reading process, the scope of the editable part in the JSON configuration file needs to be identified first.
  • the JSON configuration file includes multiple editable parts
  • the selection information including at least one indicia
  • the editable portion corresponding to the markup is called up.
  • Pre-selecting a template at least one editable part is preset at the template, and each editable part has a unique mark between the template and the template;
  • the user-edited content corresponding to the mark in the edited set is retrieved.
  • the markers in the edited set are sequentially aligned with the markers in the selection information based on the ranking result.
  • retrieval module configured to perform the following steps, including:
  • the JSON configuration file includes multiple editable parts
  • the selection information including at least one indicia
  • the editable portion corresponding to the markup is called up.
  • the fetching module is further configured to perform the following steps, including:
  • Pre-selecting a template at least one editable part is preset at the template, and each editable part has a unique mark between the template and the template;
  • the statistics module is configured to perform the following steps, including:
  • the statistics module is further configured to perform the following steps, including:
  • the user-edited content corresponding to the mark in the edited set is retrieved.
  • the statistics module is further configured to perform the following steps, including:
  • the markers in the edited set are sequentially aligned with the markers in the selection information based on the ranking result.
  • the present invention also provides a storage medium storing a computer program, and the computer program can implement any of the above methods when executed in a processor.
  • the editable part of the JSON configuration file is marked; according to the mark, the editable part is called for editing by the user to generate user editing content; according to the mark, the user editing content is saved in the JSON configuration file to update the editable part corresponding content.
  • FIG. 1 is a flowchart of a method for editing and saving a JSON configuration file provided by an embodiment
  • FIG. 2 is a module architecture diagram of a device for editing and saving a JSON configuration file provided by an embodiment
  • Fig. 3 is the flow chart of marking the editable part of JSON configuration file
  • FIG. 4 is a frame diagram of a marking module provided by an embodiment
  • FIG. 5 is a flowchart of invoking an editable part for user editing to generate user editing content provided by an embodiment.
  • FIG. 6 is a frame diagram of a calling module provided by an embodiment.
  • FIG. 7 is a flow chart of saving user edited content to a JSON configuration file to update corresponding content of an editable part according to an embodiment.
  • FIG. 8 is a frame diagram of a storage module provided by an embodiment.
  • FIG. 9 is a flow chart of reading and identifying steps provided by an embodiment.
  • FIG. 10 is a frame diagram of a reading and identification module provided by an embodiment.
  • the term “storage medium” may be various media that can store computer programs, such as ROM, RAM, magnetic disk or optical disk.
  • the term "processor” can be CPLD (Complex Programmable Logic Device: Complex Programmable Logic Device), FPGA (Field-Programmable GateArray: Field Programmable Gate Array), MCU (Microcontroller Unit: Micro Control Unit), PLC (Programmable Logic Controller) : Programmable logic controller) and CPU (Central Processing Unit: Central Processing Unit) and other chips or circuits with data processing functions.
  • electronic device may be any device with data processing and storage functions, and may generally include both stationary and mobile terminals. Fixed terminals such as desktops, etc. Mobile terminals such as mobile phones, PADs and mobile robots. In addition, the technical features involved in the different embodiments of the present invention described later can be combined with each other as long as there is no conflict with each other.
  • the present invention provides a method for editing and saving a JSON configuration file, comprising the following steps:
  • the present embodiment provides a device for editing and saving a JSON configuration file, including:
  • Marking module 1 used to mark the editable part of the JSON configuration file
  • the calling module 2 is used for calling the editable part for the user to edit and generate the user-edited content according to the mark;
  • the storage module 3 is used to save the content edited by the user to the JSON configuration file according to the mark, so as to update the corresponding content of the editable part.
  • the present invention marks the editable part of the JSON configuration file; according to the mark, the editable part is called for the user to edit to generate user editing content; according to the mark, the user editing content is saved to the JSON configuration file to update The corresponding content of the editable section.
  • JSON JavaScript Object Notation
  • step S1 and step S2 are creatively combined into an inseparable integral technical means for retrieving the editable part.
  • the editable part of the JSON configuration file is marked, and the editable part in the JSON configuration file can be selected in advance, and the entire JSON configuration file does not need to be processed, thereby reducing workload for subsequent programs.
  • the editable part is called for the user to edit and generate the user-edited content, so that the user only needs to call the editable part in the actual use process, and does not need to call the entire JSON configuration file, which improves the calculation speed and efficiency. , saving computing space.
  • Steps S1 and S2 jointly accurately mark the editable part and the content in the editable part, so as to realize the retrieval of the user-edited content without repeatedly retrieving the entire JSON configuration file.
  • step S2 and step S3 are creatively combined into an integral technical means that cannot be separated, so as to satisfy the user's retrieval and update of the editable part and the content in the editable part. It avoids repeated updates to the entire JSON configuration file, improves the efficiency and speed of editing and saving, and reduces the running space and time during the update and replacement process.
  • step S1, step S2, and step S3 are creatively combined into an integral technical means that cannot be separated, so as to realize the marking of the editable part and the precise marking and retrieval of the content in the editable part, the editing of the user can be improved.
  • the content updates the corresponding editable content of the editable section.
  • the update and replacement of editable content is realized without the need to update and replace the entire JSON configuration file, which reduces the running space and time during the update and replacement process, and improves the speed and efficiency of the update and replacement.
  • the present invention can also reduce the occupation of broadband during the transmission process and improve network transmission performance.
  • step S1 includes:
  • the editable part refers to the editable range in the JSON configuration file, and the content in the editable part is the specific content in the editable range.
  • the marking module 1 includes:
  • the content marking unit 12 in the editable part is used for marking the content in the editable part.
  • the marking method may be a marking method such as ID record.
  • step S2 includes:
  • the calling module 2 includes:
  • the editable part calling unit 21 is used to call the editable part according to the mark of the editable part
  • the content retrieval unit 22 in the editable part is configured to retrieve the edited content according to the mark of the content in the editable part for the user to edit and generate the user-edited content.
  • the marking method may be a marking method such as ID record.
  • step S3 includes:
  • the storage module 3 includes:
  • a search unit 31 for searching the editable part according to the mark of the editable part
  • the updating unit 32 is configured to update the editing content of the user to the corresponding editing content of the editable part according to the mark of the content in the editable part.
  • the marking method may be a marking method such as ID record.
  • step S1 it further includes:
  • the device for editing and saving the JSON configuration file includes:
  • Reading module 4 used to read the JSON configuration file
  • the identification module 5 is used to identify the editable part.
  • the marking method may be a marking method such as ID record.
  • the JSON configuration file includes a plurality of editable parts
  • the selection information including at least one indicia
  • the editable portion corresponding to the markup is called up.
  • the corresponding editable parts can be called according to the user selection, that is, when the JSON configuration file needs to be edited, one or more editable parts can be edited according to the user's selection.
  • it also includes: preselecting a template, presetting at least one editable part at the template, and each editable part and the template have a unique mark;
  • the corresponding JSON configuration file can be generated according to the selected template. Because the templates required under different video production backgrounds and scenarios are also different, the technical solution provided by the present invention is that JSON can be generated according to the selected template. configuration files, instead of directly using all templates as JSON configuration files, so as to reduce the amount of data storage.
  • the multiple editable parts and the mark of each editable part are obtained; the mark may be an ID, etc., and the function of the mark is to make an identity correspondence to the variable and part.
  • the edited set is generated by counting the tags corresponding to the edited editable parts among the multiple editable parts.
  • each template is preset with at least one editable part.
  • the edited parts in the editable part are counted to generate an edited set.
  • the editable parts can be classified. If the editable parts have been edited, their marks are in the edited set, and if the editable parts have not been edited, the editable parts are marked in the unedited set. It is convenient for subsequent retrieval work.
  • the method further includes: after receiving the selection information of the user, preferentially traversing the tags in the edited set and comparing the tags in the selection information. Since different tags correspond to different editable parts and user-edited content, when they want to call the editable part and ⁇ or user-edited content, the default user will give priority to calling the edited editable part, so as to reduce the cost of Recall the calculation amount of editable parts and ⁇ or user-edited content to improve work efficiency.
  • the user-edited content corresponding to the mark in the edited set is retrieved. After the comparison is consistent, it is proved that the edited set has user-edited content corresponding to the mark. At this time, it is retrieved and displayed to facilitate subsequent editing and processing by the user.
  • the markers in the edited set are sequentially aligned with the markers in the selection information based on the ranking result.
  • the number of times the editable part is edited is counted, and the sorting of each mark in the edited set is updated according to the statistics to obtain a new sorting result.
  • the tags in the edited set are compared with the tags in the selection information in sequence according to the sorting result, so as to reduce the calculation amount of the system when searching for tags.
  • the present invention is based on the artificial intelligence technology of deep learning, and can change the sorting result according to the user's selection of the mark.
  • the application sorts the marks according to this habit, thereby reducing the number of tags provided by the present invention. The amount of calculation of the technical solution.
  • retrieval module configured to perform the following steps, including:
  • the JSON configuration file includes multiple editable parts
  • the selection information including at least one indicia
  • the editable portion corresponding to the markup is called up.
  • the corresponding editable parts can be called according to the user selection, that is, when the JSON configuration file needs to be edited, one or more editable parts can be edited according to the user's selection.
  • fetching module is also used to perform the following steps, including:
  • Pre-selecting a template at least one editable part is preset at the template, and each editable part has a unique mark between the template and the template;
  • the corresponding JSON configuration file can be generated according to the selected template. Because the templates required under different video production backgrounds and scenarios are also different, the technical solution provided by the present invention is that JSON can be generated according to the selected template. configuration files, instead of directly using all templates as JSON configuration files, so as to reduce the amount of data storage.
  • a statistical module is also included, and the statistical module is configured to perform the following steps, including:
  • the multiple editable parts and the mark of each editable part are obtained; the mark may be an ID, etc., and the function of the mark is to make an identity correspondence to the variable and part.
  • the edited set is generated by counting the tags corresponding to the edited editable parts among the multiple editable parts.
  • each template is preset with at least one editable part.
  • the edited parts in the editable part are counted to generate an edited set.
  • the editable parts can be classified. If the editable parts have been edited, their marks are in the edited set, and if the editable parts have not been edited, the editable parts are marked in the unedited set. It is convenient for subsequent retrieval work.
  • the statistics module is also used to perform the following steps, including:
  • the tags in the edited set are preferentially traversed and compared with the tags in the selection information. Since different tags correspond to different editable parts and user-edited content, when they want to call the editable part and ⁇ or user-edited content, the default user will give priority to calling the edited editable part, so as to reduce the cost of Recall the calculation amount of editable parts and ⁇ or user-edited content to improve work efficiency.
  • the user-edited content corresponding to the mark in the edited set is retrieved. After the comparison is consistent, it is proved that the edited set has user-edited content corresponding to the mark. At this time, it is retrieved and displayed to facilitate subsequent editing and processing by the user.
  • the statistics module is also used to perform the following steps, including:
  • the markers in the edited set are sequentially aligned with the markers in the selection information based on the ranking result.
  • the number of times the editable part is edited is counted, and the sorting of each mark in the edited set is updated according to the statistics to obtain a new sorting result.
  • the tags in the edited set are compared with the tags in the selection information in sequence according to the sorting result, so as to reduce the calculation amount of the system when searching for tags.
  • the present invention is based on the artificial intelligence technology of deep learning, and can change the sorting result according to the user's selection of the mark.
  • the application sorts the marks according to this habit, thereby reducing the number of tags provided by the present invention. The amount of calculation of the technical solution.
  • the present invention also provides a storage medium storing a computer program, and the computer program can implement any of the above methods when executed in a processor.
  • the editable part of the JSON configuration file is marked; according to the mark, the editable part is called for editing by the user to generate user editing content; according to the mark, the user editing content is saved in the JSON configuration file to update the editable part corresponding content.

Abstract

A method for editing and saving a JSON configuration file, comprising: marking an editable portion of a JSON configuration file (S1); retrieving, according to the mark, the editable portion for a user to edit, so as to generate user edited content (S2); saving, according to the mark, the user edited content to the JSON configuration file to update corresponding content of the editable portion (S3). The method solves the technical problems of a large downflowing and saving volume and complex file content of an entire JSON configuration file, and certain defects in both saving performance and network transmission performance, thus achieving the technical effects of reducing the volume and complexity of a user saving a JSON configuration file, and improving the saving efficiency, the editing efficiency and the network transmission performance.

Description

一种JSON配置文件的编辑保存方法A method for editing and saving JSON configuration files 技术领域technical field
本发明属于编辑保存技术领域,尤其涉及一种JSON配置文件的编辑保存方法。The invention belongs to the technical field of editing and saving, in particular to a method for editing and saving JSON configuration files.
背景技术Background technique
在手绘视频制作中,编辑器内一般会提供模板供用户编辑使用,模板一般会以JSON配置文件形式存在。用户使用时,通过下载JSON配置文件,并下载配置文件中的资源素材,而在用户编辑后保存时,同样把编辑后的完整JSON配置文件保存起来。现有技术中下载和保存整个JSON配置文件和资源素材存在文件体积较大,文件内容也很复杂,保存性能和网络传输性能方面都有一定的缺陷的技术问题。In hand-drawn video production, the editor generally provides templates for users to edit and use, and the templates generally exist in the form of JSON configuration files. When users use it, download the JSON configuration file and download the resource materials in the configuration file, and when the user saves after editing, the edited complete JSON configuration file is also saved. Downloading and saving the entire JSON configuration file and resource material in the prior art has the technical problems that the file volume is large, the file content is also very complex, and the storage performance and network transmission performance have certain defects.
发明内容SUMMARY OF THE INVENTION
为解决上述技术问题,本发明提供一种JSON配置文件的编辑保存方法,包括如下步骤:In order to solve the above-mentioned technical problems, the present invention provides a method for editing and saving a JSON configuration file, comprising the following steps:
对JSON配置文件的可编辑部分进行标记;mark the editable part of the JSON configuration file;
根据标记,调取可编辑部分以供用户编辑生成用户编辑内容;According to the tag, call the editable part for user editing to generate user editing content;
根据标记,将用户编辑内容保存到JSON配置文件,以更新可编辑部分的对应内容。Based on the markup, save the user edits to a JSON configuration file to update the corresponding content of the editable section.
对应的,本发明提供一种JSON配置文件的编辑保存的装置,包括:Correspondingly, the present invention provides a device for editing and saving a JSON configuration file, including:
标记模块,用于对JSON配置文件的可编辑部分进行标记;Marker module for marking editable parts of JSON configuration files;
调取模块,用于根据标记,调取可编辑部分以供用户编辑生成用户编辑内容;The calling module is used to call the editable part for the user to edit and generate the user-edited content according to the mark;
存储模块,用于根据标记,将用户编辑内容保存到JSON配置文件,以更新可编辑部分的对应内容。The storage module is used to save the user edit content to the JSON configuration file according to the tag, so as to update the corresponding content of the editable part.
需要说明的是,本发明中的标记可以是通过ID记录进行标记,方便后续通过ID对可编辑部分、可编辑部分中的内容以及对应编辑内容进行一一对应和调取。It should be noted that the marking in the present invention may be marked by ID records, which facilitates the subsequent one-to-one correspondence and retrieval of the editable part, the content in the editable part, and the corresponding edited content through the ID.
技术效果说明:本发明通过对JSON配置文件的可编辑部分进行标记;根据标记,调取可编辑部分以供用户编辑生成用户编辑内容;根据标记,将用户编辑 内容保存到JSON配置文件,以更新可编辑部分的对应内容。通过以上的技术手段,降低用户保存JSON配置文件的体积和复杂度,提升保存效率、编辑效率以及网络传输性能。Technical effect description: the present invention marks the editable part of the JSON configuration file; according to the mark, the editable part is called for the user to edit to generate user edit content; according to the mark, the user edit content is saved to the JSON configuration file to update The corresponding content of the editable section. Through the above technical means, the volume and complexity of the JSON configuration file saved by the user is reduced, and the saving efficiency, editing efficiency and network transmission performance are improved.
具体的,对JSON配置文件的可编辑部分进行标记的步骤包括:Specifically, the steps of marking the editable part of the JSON configuration file include:
对可编辑部分进行标记;mark editable parts;
对可编辑部分中的内容进行标记。Mark up content in editable sections.
对应的,标记模块包括:Correspondingly, the markup module includes:
可编辑部分标记单元,用于对可编辑部分进行标记;Editable section markup unit, used to mark editable sections;
可编辑部分中的内容标记单元,用于对可编辑部分中的内容进行标记。Content markup unit in editable section, used to mark the content in editable section.
需要说明的是,在对可编辑部分和可编辑部分中的内容标记之后,将标记保存在草稿文件中。It should be noted that after marking the editable part and the content in the editable part, the marking is saved in the draft file.
技术效果说明:通过对可编辑部分和可编辑部分中的内容进行标记,从而确定JSON配置文件中可以编辑的范围。Technical effect description: By marking the editable section and the content in the editable section, the editable scope in the JSON configuration file is determined.
具体的,根据标记,调取可编辑部分以供用户编辑生成用户编辑内容的步骤包括:Specifically, according to the mark, the steps of retrieving the editable part for the user to edit to generate the user-edited content include:
根据可编辑部分的标记,调取可编辑部分;According to the mark of the editable part, call the editable part;
根据可编辑部分中的内容的标记,调取编辑内容以供用户编辑生成用户编辑内容。According to the markup of the content in the editable part, the editing content is called for user editing to generate user editing content.
对应的,调取模块包括:Correspondingly, the calling module includes:
可编辑部分调取单元,用于根据可编辑部分的标记,调取可编辑部分;The editable part recall unit is used to call the editable part according to the mark of the editable part;
可编辑部分中的内容调取单元,用于根据可编辑部分中的内容的标记,调取编辑内容以供用户编辑生成用户编辑内容。The content retrieving unit in the editable part is used for retrieving the editing content for the user to edit according to the mark of the content in the editable part to generate the user-edited content.
技术效果说明:通过可编辑部分的标记和可编辑部分中的内容的标记,仅仅对可编辑部分和可编辑部分中的内容进行调取,而不需要对整个JSON配置文件进行调取,提高了调取的速度和效率,减少了对运行空间的浪费。Technical effect description: Through the markup of the editable part and the markup of the content in the editable part, only the editable part and the content in the editable part can be called, without calling the entire JSON configuration file, which improves the The speed and efficiency of retrieval reduces the waste of running space.
具体的,根据标记,将用户编辑内容保存到JSON配置文件,以更新可编辑部分的对应内容的步骤包括:Specifically, according to the markup, the steps of saving the content edited by the user to the JSON configuration file to update the corresponding content of the editable part include:
根据可编辑部分的标记,查找可编辑部分;Find the editable section based on the markup of the editable section;
根据可编辑部分中的内容的标记,将用户编辑内容更新可编辑部分的对应编辑内容。According to the markup of the content in the editable part, the user edit content is updated to the corresponding edit content of the editable part.
对应的,存储模块包括:Correspondingly, the storage module includes:
查找单元,用于根据可编辑部分的标记,查找可编辑部分;Lookup unit, used to find editable parts based on the markup of editable parts;
更新单元,用于根据可编辑部分中的内容的标记,将用户编辑内容更新可编辑部分的对应编辑内容。The updating unit is configured to update the corresponding editing content of the editable part with the user's editing content according to the mark of the content in the editable part.
需要说明的是,通过在上述草稿文件中获取JSON配置文件的标识,加载出JSON配置文件中的不可编辑部分。It should be noted that, by obtaining the identifier of the JSON configuration file in the above-mentioned draft file, the uneditable part in the JSON configuration file is loaded.
通过可编辑部分的标记和可编辑部分中的内容的标记,更新对用户编辑内容更新可编辑部分的对应编辑内容。Updates to the user edits update the corresponding edits of the editable portion through the markup of the editable portion and the markup of the content in the editable portion.
技术效果说明:通过可编辑部分的标记和可编辑部分中的内容的标记,对用户编辑内容更新可编辑部分的对应编辑内容。实现了对可编辑内容的更新和替换,而不需要对整个JSON配置文件进行更新和替换,降低了更新替换过程中的运行空间和时间,提高了更新替换的速度和效率。Description of technical effect: Through the mark of the editable part and the mark of the content in the editable part, the corresponding edit content of the editable part is updated to the user edit content. The update and replacement of editable content is realized without the need to update and replace the entire JSON configuration file, which reduces the running space and time during the update and replacement process, and improves the speed and efficiency of the update and replacement.
具体的,对JSON配置文件的可编辑部分进行标记的步骤之前还包括:Specifically, before the step of marking the editable part of the JSON configuration file, it also includes:
读取JSON配置文件;Read JSON configuration file;
识别可编辑部分。Identify editable sections.
对应的,一种JSON配置文件的编辑保存的装置还包括:Correspondingly, a device for editing and saving a JSON configuration file further includes:
读取模块,用于读取JSON配置文件;Read module for reading JSON configuration files;
识别模块,用于识别可编辑部分。Recognition module for recognizing editable sections.
需要说明的是,上述提到的JSON配置文件中包括编辑部分和不可编辑部分,在读取过程中,需要先识别可编辑部分在JSON配置文件中的范围。It should be noted that the above-mentioned JSON configuration file includes an editable part and an uneditable part. During the reading process, the scope of the editable part in the JSON configuration file needs to be identified first.
技术效果说明:通过读取JSON配置文件,然后识别JSON配置文件中的可编辑部分,对后续过程中对可编辑部分的标记提供前提条件。Technical effect description: By reading the JSON configuration file, and then identifying the editable parts in the JSON configuration file, it provides preconditions for marking the editable parts in the subsequent process.
具体的,还包括:Specifically, it also includes:
其中,所述JSON配置文件包括多个可编辑部分;Wherein, the JSON configuration file includes multiple editable parts;
接收用户的选择信息,所述选择信息包括至少一个标记;receiving user selection information, the selection information including at least one indicia;
基于所述标记调取与该标记对应的可编辑部分。Based on the markup, the editable portion corresponding to the markup is called up.
具体的,还包括:Specifically, it also includes:
预先选定一模板,在所述模板处预先设置至少一个可编辑部分,每个可编辑部分与模板之间具有唯一的标记;Pre-selecting a template, at least one editable part is preset at the template, and each editable part has a unique mark between the template and the template;
将所述模板以JSON配置文件的形式存储。Store the template as a JSON configuration file.
具体的,还包括:Specifically, it also includes:
获取所述多个可编辑部分以及每个可编辑部分的标记;obtaining the plurality of editable parts and a tag for each editable part;
将多个可编辑部分中被编辑过的可编辑部分对应的标记进行统计生成已编辑集合;Statistically generate an edited set from the tags corresponding to the edited editable parts in multiple editable parts;
将多个未被编辑过的可编辑部分对应的标记进行统计生成未编辑集合;Statistically generate an unedited collection of tags corresponding to multiple unedited editable parts;
具体的,还包括:Specifically, it also includes:
在接收到用户的选择信息后,优先遍历所述已编辑集合中的标记与选择信息中的标记进行比对;After receiving the user's selection information, preferentially traverse the tags in the edited set and compare the tags in the selection information;
当已编辑集合中的标记与选择信息中的标记比对一致后,调取与已编辑集合中的标记对应的用户编辑内容。After the mark in the edited set is consistent with the mark in the selection information, the user-edited content corresponding to the mark in the edited set is retrieved.
具体的,还包括:Specifically, it also includes:
统计每个已编辑集合中的标记对应的可编辑部分被编辑的次数;Count the number of times the editable part corresponding to the markup in each edited set has been edited;
基于冒泡算法根据被编辑的次数对每个已编辑集合中的标记进行排序得到排序结果;Sort the tags in each edited set based on the number of edits based on the bubbling algorithm to get the sorting result;
基于所述排序结果将已编辑集合中的标记与选择信息中的标记依次比对。The markers in the edited set are sequentially aligned with the markers in the selection information based on the ranking result.
具体的,还包括调取模块,所述调取模块用于执行以下步骤,包括:Specifically, it also includes a retrieval module, and the retrieval module is configured to perform the following steps, including:
其中,所述JSON配置文件包括多个可编辑部分;Wherein, the JSON configuration file includes multiple editable parts;
接收用户的选择信息,所述选择信息包括至少一个标记;receiving user selection information, the selection information including at least one indicia;
基于所述标记调取与该标记对应的可编辑部分。Based on the markup, the editable portion corresponding to the markup is called up.
具体的,所述调取模块还用于执行以下步骤,包括:Specifically, the fetching module is further configured to perform the following steps, including:
预先选定一模板,在所述模板处预先设置至少一个可编辑部分,每个可编辑部分与模板之间具有唯一的标记;Pre-selecting a template, at least one editable part is preset at the template, and each editable part has a unique mark between the template and the template;
将所述模板以JSON配置文件的形式存储。Store the template as a JSON configuration file.
具体的,还包括统计模块,所述统计模块用于执行以下步骤,包括:Specifically, it also includes a statistics module, and the statistics module is configured to perform the following steps, including:
获取所述多个可编辑部分以及每个可编辑部分的标记;obtaining the plurality of editable parts and a tag for each editable part;
将多个可编辑部分中被编辑过的可编辑部分对应的标记进行统计生成已编辑集合;Statistically generate an edited set from the tags corresponding to the edited editable parts in multiple editable parts;
将多个未被编辑过的可编辑部分对应的标记进行统计生成未编辑集合;Statistically generate an unedited collection of tags corresponding to multiple unedited editable parts;
具体的,所述统计模块还用于执行以下步骤,包括:Specifically, the statistics module is further configured to perform the following steps, including:
在接收到用户的选择信息后,优先遍历所述已编辑集合中的标记与选择信息 中的标记进行比对;After receiving the user's selection information, preferentially traverse the tags in the edited set and compare the tags in the selection information;
当已编辑集合中的标记与选择信息中的标记比对一致后,调取与已编辑集合中的标记对应的用户编辑内容。After the mark in the edited set is consistent with the mark in the selection information, the user-edited content corresponding to the mark in the edited set is retrieved.
具体的,所述统计模块还用于执行以下步骤,包括:Specifically, the statistics module is further configured to perform the following steps, including:
统计每个已编辑集合中的标记对应的可编辑部分被编辑的次数;Count the number of times the editable part corresponding to the markup in each edited set has been edited;
基于冒泡算法根据被编辑的次数对每个已编辑集合中的标记进行排序得到排序结果;Sort the tags in each edited set based on the number of edits based on the bubbling algorithm to get the sorting result;
基于所述排序结果将已编辑集合中的标记与选择信息中的标记依次比对。The markers in the edited set are sequentially aligned with the markers in the selection information based on the ranking result.
本发明还提供一种存储介质,存储计算机程序,计算机程序在处理器中执行可实现上述任一种方法。The present invention also provides a storage medium storing a computer program, and the computer program can implement any of the above methods when executed in a processor.
本发明通过对JSON配置文件的可编辑部分进行标记;根据标记,调取可编辑部分以供用户编辑生成用户编辑内容;根据标记,将用户编辑内容保存到JSON配置文件,以更新可编辑部分的对应内容。通过以上的技术手段,降低用户保存JSON配置文件的体积和复杂度,提升保存效率、编辑效率以及网络传输性能。In the present invention, the editable part of the JSON configuration file is marked; according to the mark, the editable part is called for editing by the user to generate user editing content; according to the mark, the user editing content is saved in the JSON configuration file to update the editable part corresponding content. Through the above technical means, the volume and complexity of the JSON configuration file saved by the user is reduced, and the saving efficiency, editing efficiency and network transmission performance are improved.
附图说明Description of drawings
图1为一实施例提供的JSON配置文件的编辑保存方法的流程图;1 is a flowchart of a method for editing and saving a JSON configuration file provided by an embodiment;
图2为一实施例提供的JSON配置文件的编辑保存的装置的模块架构图;2 is a module architecture diagram of a device for editing and saving a JSON configuration file provided by an embodiment;
图3为对JSON配置文件的可编辑部分进行标记的流程图;Fig. 3 is the flow chart of marking the editable part of JSON configuration file;
图4为一实施例提供的标记模块的框架图;4 is a frame diagram of a marking module provided by an embodiment;
图5为一实施例提供的调取可编辑部分以供用户编辑生成用户编辑内容的流程图。FIG. 5 is a flowchart of invoking an editable part for user editing to generate user editing content provided by an embodiment.
图6为一实施例提供的调取模块的框架图。FIG. 6 is a frame diagram of a calling module provided by an embodiment.
图7为一实施例提供的将用户编辑内容保存到JSON配置文件,以更新可编辑部分的对应内容的流程图。FIG. 7 is a flow chart of saving user edited content to a JSON configuration file to update corresponding content of an editable part according to an embodiment.
图8为一实施例提供的存储模块的框架图。FIG. 8 is a frame diagram of a storage module provided by an embodiment.
图9为一实施例提供的读取和识别步骤的流程图。FIG. 9 is a flow chart of reading and identifying steps provided by an embodiment.
图10为一实施例提供的读取和识别模块的框架图。FIG. 10 is a frame diagram of a reading and identification module provided by an embodiment.
具体实施方式detailed description
为了使本发明的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本发明进行进一步详细说明。应当理解,在本发明的描述中,除非另有明确的规定和限定,术语“存储介质”可以是ROM、RAM、磁碟或者光盘等各种可以存储计算机程序的介质。术语“处理器”可以是CPLD(Complex Programmable Logic Device:复杂可编程逻辑器件)、FPGA(Field-Programmable GateArray:现场可编程门阵列)、MCU(Microcontroller Unit:微控制单元)、PLC(Programmable Logic Controller:可编程逻辑控制器)以及CPU(Central Processing Unit:中央处理器)等具备数据处理功能的芯片或电路。术语“电子设备”可以是具有数据处理功能和存储功能的任何设备,通常可以包括固定终端和移动终端。固定终端如台式机等。移动终端如手机、PAD以及移动机器人等。此外,后续所描述的本发明不同实施方式中所涉及的技术特征只要彼此之间未构成冲突就可以相互结合。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that, in the description of the present invention, unless otherwise expressly specified and limited, the term "storage medium" may be various media that can store computer programs, such as ROM, RAM, magnetic disk or optical disk. The term "processor" can be CPLD (Complex Programmable Logic Device: Complex Programmable Logic Device), FPGA (Field-Programmable GateArray: Field Programmable Gate Array), MCU (Microcontroller Unit: Micro Control Unit), PLC (Programmable Logic Controller) : Programmable logic controller) and CPU (Central Processing Unit: Central Processing Unit) and other chips or circuits with data processing functions. The term "electronic device" may be any device with data processing and storage functions, and may generally include both stationary and mobile terminals. Fixed terminals such as desktops, etc. Mobile terminals such as mobile phones, PADs and mobile robots. In addition, the technical features involved in the different embodiments of the present invention described later can be combined with each other as long as there is no conflict with each other.
下面,本发明提出部分优选实施例以教导本领域技术人员实现。Below, the present invention provides some preferred embodiments to teach those skilled in the art to realize them.
实施例一Example 1
参见图1,本发明提供一种JSON配置文件的编辑保存方法,包括如下步骤:Referring to Fig. 1, the present invention provides a method for editing and saving a JSON configuration file, comprising the following steps:
S1、对JSON配置文件的可编辑部分进行标记;S1. Mark the editable part of the JSON configuration file;
S2、根据标记,调取可编辑部分以供用户编辑生成用户编辑内容;S2, according to the mark, call the editable part for the user to edit and generate the user edit content;
S3、根据标记,将用户编辑内容保存到JSON配置文件,以更新可编辑部分的对应内容。S3. According to the tag, save the content edited by the user to the JSON configuration file, so as to update the corresponding content of the editable part.
实施例二 Embodiment 2
参见图2,对应的,本实施例提供一种JSON配置文件的编辑保存的装置,包括:Referring to FIG. 2, correspondingly, the present embodiment provides a device for editing and saving a JSON configuration file, including:
标记模块1,用于对JSON配置文件的可编辑部分进行标记;Marking module 1, used to mark the editable part of the JSON configuration file;
调取模块2,用于根据标记,调取可编辑部分以供用户编辑生成用户编辑内容;The calling module 2 is used for calling the editable part for the user to edit and generate the user-edited content according to the mark;
存储模块3,用于根据标记,将用户编辑内容保存到JSON配置文件,以更新可编辑部分的对应内容。The storage module 3 is used to save the content edited by the user to the JSON configuration file according to the mark, so as to update the corresponding content of the editable part.
技术效果说明:本发明通过对JSON配置文件的可编辑部分进行标记;根据标记,调取可编辑部分以供用户编辑生成用户编辑内容;根据标记,将用户编辑内容保存到JSON配置文件,以更新可编辑部分的对应内容。通过以上的技术手 段,降低用户保存JSON配置文件的体积和复杂度,提升保存效率、编辑效率以及网络传输性能。Technical effect description: the present invention marks the editable part of the JSON configuration file; according to the mark, the editable part is called for the user to edit to generate user editing content; according to the mark, the user editing content is saved to the JSON configuration file to update The corresponding content of the editable section. Through the above technical means, the volume and complexity of the JSON configuration file saved by the user is reduced, and the saving efficiency, editing efficiency and network transmission performance are improved.
需要说明的是,在本领域的技术人员而言,JSON(JavaScript Object Notation)文件是一种轻量级的数据交换格式。易于人阅读和编写。同时也易于机器解析和生成。It should be noted that, for those skilled in the art, a JSON (JavaScript Object Notation) file is a lightweight data exchange format. Easy for humans to read and write. It is also easy to parse and generate by machine.
还需要说明的是,步骤S1和步骤S2创造性地组合为不可分割的整体技术手段,用于调取可编辑部分。其中,步骤S1对JSON配置文件的可编辑部分进行标记,可以提前选出JSON配置文件中的可编辑部分,不需要对整个JSON配置文件进行处理,为后续的程序减少工作量。步骤S2调取可编辑部分以供用户编辑生成用户编辑内容,可以让使用者在实际使用过程中,仅仅只需要调取可编辑部分,不需要调取整个JSON配置文件,提高了计算速度和效率,节省了运算的空间。步骤S1和步骤S2共同精确标记可编辑部分和可编辑部分中的内容,以实现对用户编辑内容的调取,而不需要重复调取整个JSON配置文件。It should also be noted that step S1 and step S2 are creatively combined into an inseparable integral technical means for retrieving the editable part. Wherein, in step S1, the editable part of the JSON configuration file is marked, and the editable part in the JSON configuration file can be selected in advance, and the entire JSON configuration file does not need to be processed, thereby reducing workload for subsequent programs. In step S2, the editable part is called for the user to edit and generate the user-edited content, so that the user only needs to call the editable part in the actual use process, and does not need to call the entire JSON configuration file, which improves the calculation speed and efficiency. , saving computing space. Steps S1 and S2 jointly accurately mark the editable part and the content in the editable part, so as to realize the retrieval of the user-edited content without repeatedly retrieving the entire JSON configuration file.
还需要说明的是,步骤S2和步骤S3创造性地组合为不可分割的整体技术手段,满足用户对可编辑部分和可编辑部分中的内容的调取和更新。避免了重复对整个JSON配置文件的更新,提高了编辑保存的效率和速度,降低了更新替换过程中的运行空间和时间。It should also be noted that step S2 and step S3 are creatively combined into an integral technical means that cannot be separated, so as to satisfy the user's retrieval and update of the editable part and the content in the editable part. It avoids repeated updates to the entire JSON configuration file, improves the efficiency and speed of editing and saving, and reduces the running space and time during the update and replacement process.
还需要说明的是,步骤S1、步骤S2、步骤S3创造性地组合为不可分割的整体技术手段,实现了通过可编辑部分的标记和可编辑部分中的内容的精准标记和调取,对用户编辑内容更新可编辑部分的对应编辑内容。实现了对可编辑内容的更新和替换,而不需要对整个JSON配置文件进行更新和替换,降低了更新替换过程中的运行空间和时间,提高了更新替换的速度和效率。It should also be noted that step S1, step S2, and step S3 are creatively combined into an integral technical means that cannot be separated, so as to realize the marking of the editable part and the precise marking and retrieval of the content in the editable part, the editing of the user can be improved. The content updates the corresponding editable content of the editable section. The update and replacement of editable content is realized without the need to update and replace the entire JSON configuration file, which reduces the running space and time during the update and replacement process, and improves the speed and efficiency of the update and replacement.
还需要说明的是,当需要进行网络传输或者向云端进行保存时,本发明还能够减少在传输过程中对宽带的占用,提高网络传输性能。It should also be noted that, when network transmission or storage to the cloud is required, the present invention can also reduce the occupation of broadband during the transmission process and improve network transmission performance.
实施例三 Embodiment 3
参见图3,具体的,步骤S1包括:Referring to FIG. 3, specifically, step S1 includes:
S11、对可编辑部分进行标记;S11. Mark the editable part;
S12、对可编辑部分中的内容进行标记。S12. Mark the content in the editable part.
需要说明的是可编辑部分是指JSON配置文件中的可编辑的范围,而可编辑部分中的内容是可编辑范围中的具体内容。It should be noted that the editable part refers to the editable range in the JSON configuration file, and the content in the editable part is the specific content in the editable range.
实施例四 Embodiment 4
参见图4,对应的,标记模块1包括:Referring to Figure 4, correspondingly, the marking module 1 includes:
可编辑部分标记单元11,用于对可编辑部分进行标记;An editable part marking unit 11, for marking the editable part;
可编辑部分中的内容标记单元12,用于对可编辑部分中的内容进行标记。The content marking unit 12 in the editable part is used for marking the content in the editable part.
技术效果说明:通过对可编辑部分和可编辑部分中的内容进行标记,从而确定JSON配置文件中可以编辑的范围。Technical effect description: By marking the editable section and the content in the editable section, the editable scope in the JSON configuration file is determined.
需要说明的是,标记的方式可以是ID记录等标记方式。It should be noted that the marking method may be a marking method such as ID record.
实施例五 Embodiment 5
参见图5,具体的,步骤S2包括:Referring to Figure 5, specifically, step S2 includes:
S21、根据可编辑部分的标记,调取可编辑部分;S21. Call the editable part according to the mark of the editable part;
S22、根据可编辑部分中的内容的标记,调取编辑内容以供用户编辑生成用户编辑内容。S22. According to the mark of the content in the editable part, retrieve the edited content for the user to edit to generate the user-edited content.
实施例六Embodiment 6
参见图6,对应的,调取模块2包括:Referring to Fig. 6, correspondingly, the calling module 2 includes:
可编辑部分调取单元21,用于根据可编辑部分的标记,调取可编辑部分;The editable part calling unit 21 is used to call the editable part according to the mark of the editable part;
可编辑部分中的内容调取单元22,用于根据可编辑部分中的内容的标记,调取编辑内容以供用户编辑生成用户编辑内容。The content retrieval unit 22 in the editable part is configured to retrieve the edited content according to the mark of the content in the editable part for the user to edit and generate the user-edited content.
技术效果说明:通过可编辑部分的标记和可编辑部分中的内容的标记,仅仅对可编辑部分和可编辑部分中的内容进行调取,而不需要对整个JSON配置文件进行调取,提高了调取的速度和效率,减少了对运行空间的浪费。Technical effect description: Through the markup of the editable part and the markup of the content in the editable part, only the editable part and the content in the editable part can be called, without calling the entire JSON configuration file, which improves the The speed and efficiency of retrieval reduces the waste of running space.
需要说明的是,标记的方式可以是ID记录等标记方式。It should be noted that the marking method may be a marking method such as ID record.
实施例七Embodiment 7
参见图7,具体的,步骤S3包括:Referring to Fig. 7, specifically, step S3 includes:
S31、根据可编辑部分的标记,查找可编辑部分;S31. Find the editable part according to the mark of the editable part;
S32、根据可编辑部分中的内容的标记,将用户编辑内容更新可编辑部分的对应编辑内容。S32 , according to the mark of the content in the editable part, update the editable content of the user to the corresponding editable content of the editable part.
实施例八Embodiment 8
参见图8,对应的,存储模块3包括:Referring to FIG. 8, correspondingly, the storage module 3 includes:
查找单元31,用于根据可编辑部分的标记,查找可编辑部分;a search unit 31, for searching the editable part according to the mark of the editable part;
更新单元32,用于根据可编辑部分中的内容的标记,将用户编辑内容更新 可编辑部分的对应编辑内容。The updating unit 32 is configured to update the editing content of the user to the corresponding editing content of the editable part according to the mark of the content in the editable part.
技术效果说明:通过可编辑部分的标记和可编辑部分中的内容的标记,对用户编辑内容更新可编辑部分的对应编辑内容。实现了对可编辑内容的更新和替换,而不需要对整个JSON配置文件进行更新和替换,降低了更新替换过程中的运行空间和时间,提高了更新替换的速度和效率。Description of technical effect: Through the mark of the editable part and the mark of the content in the editable part, the corresponding edit content of the editable part is updated to the user edit content. The update and replacement of editable content is realized without the need to update and replace the entire JSON configuration file, which reduces the running space and time during the update and replacement process, and improves the speed and efficiency of the update and replacement.
需要说明的是,标记的方式可以是ID记录等标记方式。It should be noted that the marking method may be a marking method such as ID record.
实施例九Embodiment 9
参见图9,具体的,步骤S1之前还包括:Referring to FIG. 9, specifically, before step S1, it further includes:
S0、读取JSON配置文件;S0, read the JSON configuration file;
S01、识别可编辑部分。S01. Identify the editable part.
实施例十Embodiment ten
参见图10,对应的,JSON配置文件的编辑保存的装置包括:Referring to Figure 10, correspondingly, the device for editing and saving the JSON configuration file includes:
读取模块4,用于读取JSON配置文件;Reading module 4, used to read the JSON configuration file;
识别模块5,用于识别可编辑部分。The identification module 5 is used to identify the editable part.
技术效果说明:通过读取JSON配置文件,然后识别JSON配置文件中的可编辑部分,对后续对可编辑部分的标记提供前提条件。Technical effect description: By reading the JSON configuration file, and then identifying the editable parts in the JSON configuration file, it provides preconditions for the subsequent marking of the editable parts.
需要说明的是,标记的方式可以是ID记录等标记方式。It should be noted that the marking method may be a marking method such as ID record.
进一步的,还包括:其中,所述JSON配置文件包括多个可编辑部分;Further, it also includes: wherein, the JSON configuration file includes a plurality of editable parts;
接收用户的选择信息,所述选择信息包括至少一个标记;receiving user selection information, the selection information including at least one indicia;
基于所述标记调取与该标记对应的可编辑部分。Based on the markup, the editable portion corresponding to the markup is called up.
通过以上的技术方案,能够根据用于选择调取对应的可编辑部分,即在需要编辑JSON配置文件时,可以根据用户的选择对一个或多个可编辑部分进行编辑。Through the above technical solutions, the corresponding editable parts can be called according to the user selection, that is, when the JSON configuration file needs to be edited, one or more editable parts can be edited according to the user's selection.
进一步的,还包括:预先选定一模板,在所述模板处预先设置至少一个可编辑部分,每个可编辑部分与模板之间具有唯一的标记;Further, it also includes: preselecting a template, presetting at least one editable part at the template, and each editable part and the template have a unique mark;
将所述模板以JSON配置文件的形式存储。Store the template as a JSON configuration file.
通过以上的技术方案,可以根据选定的模板生成相应的JSON配置文件,因为在不同的视频制作背景、场景下需要的模板也不同,所以本发明提供的技术方案是可以根据选择的模板制作JSON配置文件,而不是直接将所有的模板全部直接作为制作JSON配置文件,以此降低数据的存储量。Through the above technical solution, the corresponding JSON configuration file can be generated according to the selected template. Because the templates required under different video production backgrounds and scenarios are also different, the technical solution provided by the present invention is that JSON can be generated according to the selected template. configuration files, instead of directly using all templates as JSON configuration files, so as to reduce the amount of data storage.
进一步的,还包括:Further, it also includes:
获取所述多个可编辑部分以及每个可编辑部分的标记;标记可以是ID等等,标记起到的作用是对可变及部分进行一个身份的对应。The multiple editable parts and the mark of each editable part are obtained; the mark may be an ID, etc., and the function of the mark is to make an identity correspondence to the variable and part.
将多个可编辑部分中被编辑过的可编辑部分对应的标记进行统计生成已编辑集合。在实际的视频制作过程中,会采用多种模板,每个模板都预先设置有至少一个可编辑部分。但是根据实际需要,并不是每个可编辑部分都会被编辑,所以此时将可编辑部分中被编辑过的部分进行统计,生成已编辑集合,已编辑集合内存在多个标记,每个标记对应的可编辑部分都被编辑过。The edited set is generated by counting the tags corresponding to the edited editable parts among the multiple editable parts. In the actual video production process, a variety of templates are used, and each template is preset with at least one editable part. However, according to actual needs, not every editable part will be edited, so at this time, the edited parts in the editable part are counted to generate an edited set. There are multiple tags in the edited set, and each tag corresponds to The editable parts of are edited.
将多个未被编辑过的可编辑部分对应的标记进行统计生成未编辑集合。Statistically generate an unedited set of tags corresponding to multiple unedited editable parts.
通过以上的技术方案,可以对可编辑部分进行分类,如果可编辑部分被编辑过,则其标记位于已编辑集合内,如果可编辑部分未被编辑过,则其标记在未编辑集合内。方便后续的调取工作。Through the above technical solutions, the editable parts can be classified. If the editable parts have been edited, their marks are in the edited set, and if the editable parts have not been edited, the editable parts are marked in the unedited set. It is convenient for subsequent retrieval work.
进一步的,还包括:在接收到用户的选择信息后,优先遍历所述已编辑集合中的标记与选择信息中的标记进行比对。由于不同的标记对应不同的可编辑部分以及用户编辑内容,所以此时在想调取可编辑部分和\或用户编辑内容时,默认用户优先调取已经编辑过的可编辑部分,以此降低在调取可编辑部分和\或用户编辑内容的计算量,提高工作效率。Further, the method further includes: after receiving the selection information of the user, preferentially traversing the tags in the edited set and comparing the tags in the selection information. Since different tags correspond to different editable parts and user-edited content, when they want to call the editable part and\or user-edited content, the default user will give priority to calling the edited editable part, so as to reduce the cost of Recall the calculation amount of editable parts and\or user-edited content to improve work efficiency.
当已编辑集合中的标记与选择信息中的标记比对一致后,调取与已编辑集合中的标记对应的用户编辑内容。在比对一致后,则证明在已编辑集合中具有与该标记对应的用户编辑内容,此时进行调取、显示,方便使用者进行后续的编辑、处理。After the mark in the edited set is consistent with the mark in the selection information, the user-edited content corresponding to the mark in the edited set is retrieved. After the comparison is consistent, it is proved that the edited set has user-edited content corresponding to the mark. At this time, it is retrieved and displayed to facilitate subsequent editing and processing by the user.
进一步的,还包括:Further, it also includes:
统计每个已编辑集合中的标记对应的可编辑部分被编辑的次数;Count the number of times the editable part corresponding to the markup in each edited set has been edited;
基于冒泡算法根据被编辑的次数对每个已编辑集合中的标记进行排序得到排序结果;Sort the tags in each edited set based on the number of edits based on the bubbling algorithm to get the sorting result;
基于所述排序结果将已编辑集合中的标记与选择信息中的标记依次比对。The markers in the edited set are sequentially aligned with the markers in the selection information based on the ranking result.
通过上述的技术方案,对可编辑部分被编辑的次数进行统计,并根据该统计更新已编辑集合中各个标记的排序,得到新的排序结果。当用户输入选择信息后,将已编辑集合中的标记按照排序结果依次与选择信息中的标记进行比对,以此降低本系统在寻找标记时的计算量。Through the above technical solution, the number of times the editable part is edited is counted, and the sorting of each mark in the edited set is updated according to the statistics to obtain a new sorting result. After the user inputs the selection information, the tags in the edited set are compared with the tags in the selection information in sequence according to the sorting result, so as to reduce the calculation amount of the system when searching for tags.
本发明基于深度学习的人工智能技术,能够根据用户对标记的选择对排序结果进行改变。在实际的视频编辑、制作、草稿编辑过程中,使用者会频繁的对一个可编辑部分进行重复、多次的编辑,所以本申请根据该习惯,对标记进行排序,进而降低了本发明提供的技术方案的计算量。The present invention is based on the artificial intelligence technology of deep learning, and can change the sorting result according to the user's selection of the mark. In the actual process of video editing, production, and draft editing, users will frequently edit an editable part repeatedly and multiple times. Therefore, the application sorts the marks according to this habit, thereby reducing the number of tags provided by the present invention. The amount of calculation of the technical solution.
进一步的,还包括调取模块,所述调取模块用于执行以下步骤,包括:Further, it also includes a retrieval module, and the retrieval module is configured to perform the following steps, including:
其中,所述JSON配置文件包括多个可编辑部分;Wherein, the JSON configuration file includes multiple editable parts;
接收用户的选择信息,所述选择信息包括至少一个标记;receiving user selection information, the selection information including at least one indicia;
基于所述标记调取与该标记对应的可编辑部分。Based on the markup, the editable portion corresponding to the markup is called up.
通过以上的技术方案,能够根据用于选择调取对应的可编辑部分,即在需要编辑JSON配置文件时,可以根据用户的选择对一个或多个可编辑部分进行编辑。Through the above technical solutions, the corresponding editable parts can be called according to the user selection, that is, when the JSON configuration file needs to be edited, one or more editable parts can be edited according to the user's selection.
进一步的,所述调取模块还用于执行以下步骤,包括:Further, the fetching module is also used to perform the following steps, including:
预先选定一模板,在所述模板处预先设置至少一个可编辑部分,每个可编辑部分与模板之间具有唯一的标记;Pre-selecting a template, at least one editable part is preset at the template, and each editable part has a unique mark between the template and the template;
将所述模板以JSON配置文件的形式存储。Store the template as a JSON configuration file.
通过以上的技术方案,可以根据选定的模板生成相应的JSON配置文件,因为在不同的视频制作背景、场景下需要的模板也不同,所以本发明提供的技术方案是可以根据选择的模板制作JSON配置文件,而不是直接将所有的模板全部直接作为制作JSON配置文件,以此降低数据的存储量。Through the above technical solution, the corresponding JSON configuration file can be generated according to the selected template. Because the templates required under different video production backgrounds and scenarios are also different, the technical solution provided by the present invention is that JSON can be generated according to the selected template. configuration files, instead of directly using all templates as JSON configuration files, so as to reduce the amount of data storage.
进一步的,还包括统计模块,所述统计模块用于执行以下步骤,包括:Further, a statistical module is also included, and the statistical module is configured to perform the following steps, including:
获取所述多个可编辑部分以及每个可编辑部分的标记;标记可以是ID等等,标记起到的作用是对可变及部分进行一个身份的对应。The multiple editable parts and the mark of each editable part are obtained; the mark may be an ID, etc., and the function of the mark is to make an identity correspondence to the variable and part.
将多个可编辑部分中被编辑过的可编辑部分对应的标记进行统计生成已编辑集合。在实际的视频制作过程中,会采用多种模板,每个模板都预先设置有至少一个可编辑部分。但是根据实际需要,并不是每个可编辑部分都会被编辑,所以此时将可编辑部分中被编辑过的部分进行统计,生成已编辑集合,已编辑集合内存在多个标记,每个标记对应的可编辑部分都被编辑过。The edited set is generated by counting the tags corresponding to the edited editable parts among the multiple editable parts. In the actual video production process, a variety of templates are used, and each template is preset with at least one editable part. However, according to actual needs, not every editable part will be edited, so at this time, the edited parts in the editable part are counted to generate an edited set. There are multiple tags in the edited set, and each tag corresponds to The editable parts of are edited.
将多个未被编辑过的可编辑部分对应的标记进行统计生成未编辑集合。Statistically generate an unedited set of tags corresponding to multiple unedited editable parts.
通过以上的技术方案,可以对可编辑部分进行分类,如果可编辑部分被编辑过,则其标记位于已编辑集合内,如果可编辑部分未被编辑过,则其标记在未编 辑集合内。方便后续的调取工作。Through the above technical solutions, the editable parts can be classified. If the editable parts have been edited, their marks are in the edited set, and if the editable parts have not been edited, the editable parts are marked in the unedited set. It is convenient for subsequent retrieval work.
进一步的,所述统计模块还用于执行以下步骤,包括:Further, the statistics module is also used to perform the following steps, including:
在接收到用户的选择信息后,优先遍历所述已编辑集合中的标记与选择信息中的标记进行比对。由于不同的标记对应不同的可编辑部分以及用户编辑内容,所以此时在想调取可编辑部分和\或用户编辑内容时,默认用户优先调取已经编辑过的可编辑部分,以此降低在调取可编辑部分和\或用户编辑内容的计算量,提高工作效率。After receiving the user's selection information, the tags in the edited set are preferentially traversed and compared with the tags in the selection information. Since different tags correspond to different editable parts and user-edited content, when they want to call the editable part and\or user-edited content, the default user will give priority to calling the edited editable part, so as to reduce the cost of Recall the calculation amount of editable parts and\or user-edited content to improve work efficiency.
当已编辑集合中的标记与选择信息中的标记比对一致后,调取与已编辑集合中的标记对应的用户编辑内容。在比对一致后,则证明在已编辑集合中具有与该标记对应的用户编辑内容,此时进行调取、显示,方便使用者进行后续的编辑、处理。After the mark in the edited set is consistent with the mark in the selection information, the user-edited content corresponding to the mark in the edited set is retrieved. After the comparison is consistent, it is proved that the edited set has user-edited content corresponding to the mark. At this time, it is retrieved and displayed to facilitate subsequent editing and processing by the user.
进一步的,所述统计模块还用于执行以下步骤,包括:Further, the statistics module is also used to perform the following steps, including:
统计每个已编辑集合中的标记对应的可编辑部分被编辑的次数;Count the number of times the editable part corresponding to the markup in each edited set has been edited;
基于冒泡算法根据被编辑的次数对每个已编辑集合中的标记进行排序得到排序结果;Sort the tags in each edited set based on the number of edits based on the bubbling algorithm to get the sorting result;
基于所述排序结果将已编辑集合中的标记与选择信息中的标记依次比对。The markers in the edited set are sequentially aligned with the markers in the selection information based on the ranking result.
通过上述的技术方案,对可编辑部分被编辑的次数进行统计,并根据该统计更新已编辑集合中各个标记的排序,得到新的排序结果。当用户输入选择信息后,将已编辑集合中的标记按照排序结果依次与选择信息中的标记进行比对,以此降低本系统在寻找标记时的计算量。Through the above technical solution, the number of times the editable part is edited is counted, and the sorting of each mark in the edited set is updated according to the statistics to obtain a new sorting result. After the user inputs the selection information, the tags in the edited set are compared with the tags in the selection information in sequence according to the sorting result, so as to reduce the calculation amount of the system when searching for tags.
本发明基于深度学习的人工智能技术,能够根据用户对标记的选择对排序结果进行改变。在实际的视频编辑、制作、草稿编辑过程中,使用者会频繁的对一个可编辑部分进行重复、多次的编辑,所以本申请根据该习惯,对标记进行排序,进而降低了本发明提供的技术方案的计算量。The present invention is based on the artificial intelligence technology of deep learning, and can change the sorting result according to the user's selection of the mark. In the actual process of video editing, production, and draft editing, users will frequently edit an editable part repeatedly and multiple times. Therefore, the application sorts the marks according to this habit, thereby reducing the number of tags provided by the present invention. The amount of calculation of the technical solution.
本发明还提供一种存储介质,存储计算机程序,所述计算机程序在处理器中执行可实现上述任一种方法。The present invention also provides a storage medium storing a computer program, and the computer program can implement any of the above methods when executed in a processor.
本发明通过对JSON配置文件的可编辑部分进行标记;根据标记,调取可编辑部分以供用户编辑生成用户编辑内容;根据标记,将用户编辑内容保存到JSON配置文件,以更新可编辑部分的对应内容。通过以上的技术手段,降低用户保存JSON配置文件的体积和复杂度,提升保存效率、编辑效率以及网络传输性能。In the present invention, the editable part of the JSON configuration file is marked; according to the mark, the editable part is called for editing by the user to generate user editing content; according to the mark, the user editing content is saved in the JSON configuration file to update the editable part corresponding content. Through the above technical means, the volume and complexity of the JSON configuration file saved by the user is reduced, and the saving efficiency, editing efficiency and network transmission performance are improved.
以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included in the protection of the present invention. within the range.

Claims (20)

  1. 一种JSON配置文件的编辑保存方法,其特征在于,包括如下步骤:A method for editing and saving a JSON configuration file, comprising the steps of:
    对JSON配置文件的可编辑部分进行标记;mark the editable part of the JSON configuration file;
    根据所述标记,调取所述可编辑部分以供用户编辑生成用户编辑内容;According to the mark, call the editable part for user editing to generate user editing content;
    根据所述标记,将所述用户编辑内容保存到所述JSON配置文件,以更新所述可编辑部分的对应内容。According to the markup, the user edited content is saved to the JSON configuration file to update the corresponding content of the editable portion.
  2. 如权利要求1所述的方法,其特征在于,所述的对JSON配置文件的可编辑部分进行标记的步骤包括:The method of claim 1, wherein the step of marking the editable part of the JSON configuration file comprises:
    对所述可编辑部分进行标记;marking the editable portion;
    对所述可编辑部分中的内容进行标记。Content in the editable section is marked.
  3. 如权利要求1所述的方法,其特征在于,所述的根据所述标记,调取所述可编辑部分以供用户编辑生成用户编辑内容的步骤包括:The method of claim 1, wherein the step of retrieving the editable part for the user to edit and generate the user-edited content according to the mark comprises:
    根据所述可编辑部分的标记,调取所述可编辑部分;calling the editable part according to the mark of the editable part;
    根据所述可编辑部分中的内容的标记,调取所述编辑内容以供用户编辑生成所述用户编辑内容。According to the markup of the content in the editable part, the edited content is retrieved for user editing to generate the user edited content.
  4. 如权利要求1所述的方法,其特征在于,所述的根据所述标记,将所述用户编辑内容保存到所述JSON配置文件,以更新所述可编辑部分的对应内容的步骤包括:The method of claim 1, wherein the step of saving the user-edited content to the JSON configuration file according to the mark to update the corresponding content of the editable part comprises:
    根据所述可编辑部分的标记,查找所述可编辑部分;Find the editable portion based on the tag of the editable portion;
    根据所述可编辑部分中的内容的标记,将所述用户编辑内容更新所述可编辑部分的对应编辑内容。The user edits are updated with corresponding edits of the editable portion according to the marking of the content in the editable portion.
  5. 一种JSON配置文件的编辑保存的装置,其特征在于,包括:A device for editing and saving a JSON configuration file, comprising:
    标记模块,用于对JSON配置文件的可编辑部分进行标记;Marker module for marking editable parts of JSON configuration files;
    调取模块,用于根据所述标记,调取所述可编辑部分以供用户编辑生成用户编辑内容;a retrieval module, configured to retrieve the editable part for the user to edit and generate user-edited content according to the mark;
    存储模块,用于根据所述标记,将所述用户编辑内容保存到所述JSON配置文件,以更新所述可编辑部分的对应内容。A storage module, configured to save the user-edited content to the JSON configuration file according to the mark, so as to update the corresponding content of the editable part.
  6. 如权利要求5所述的装置,其特征在于,所述标记模块包括:The apparatus of claim 5, wherein the marking module comprises:
    可编辑部分标记单元,用于对所述可编辑部分进行标记;an editable part marking unit for marking the editable part;
    可编辑部分中的内容标记单元,用于对所述可编辑部分中的内容进行标记。The content marking unit in the editable part is used to mark the content in the editable part.
  7. 如权利要求5所述的装置,其特征在于,所述调取模块包括:The apparatus of claim 5, wherein the retrieval module comprises:
    可编辑部分调取单元,用于根据所述可编辑部分的标记,调取所述可编辑部分;an editable part calling unit, used for calling the editable part according to the mark of the editable part;
    可编辑部分中的内容调取单元,用于根据所述可编辑部分中的内容的标记,调取所述编辑内容以供用户编辑生成所述用户编辑内容。The content retrieval unit in the editable part is configured to retrieve the edited content according to the mark of the content in the editable part for the user to edit and generate the user edited content.
  8. 如权利要求5所述的装置,其特征在于,所述存储模块包括:The apparatus of claim 5, wherein the storage module comprises:
    查找单元,用于根据所述可编辑部分的标记,查找所述可编辑部分;a search unit for searching the editable part according to the mark of the editable part;
    更新单元,用于根据所述可编辑部分中的内容的标记,将所述用户编辑内容更新所述可编辑部分的对应编辑内容。An updating unit, configured to update the user editing content to the corresponding editing content of the editable part according to the mark of the content in the editable part.
  9. 如权利要求1所述的方法,其特征在于,所述的对JSON配置文件的可编辑部分进行标记的步骤之前还包括:The method of claim 1, wherein before the step of marking the editable part of the JSON configuration file, the step further comprises:
    读取所述JSON配置文件;Read the JSON configuration file;
    识别所述可编辑部分。Identify the editable portion.
  10. 如权利要求1所述的方法,其特征在于,还包括:The method of claim 1, further comprising:
    其中,所述JSON配置文件包括多个可编辑部分;Wherein, the JSON configuration file includes multiple editable parts;
    接收用户的选择信息,所述选择信息包括至少一个标记;receiving user selection information, the selection information including at least one indicia;
    基于所述标记调取与该标记对应的可编辑部分。Based on the markup, the editable portion corresponding to the markup is called up.
  11. 如权利要求10所述的方法,其特征在于,还包括:The method of claim 10, further comprising:
    预先选定一模板,在所述模板处预先设置至少一个可编辑部分,每个可编辑部分与模板之间具有唯一的标记;Pre-selecting a template, at least one editable part is preset at the template, and each editable part has a unique mark between the template and the template;
    将所述模板以JSON配置文件的形式存储。Store the template as a JSON configuration file.
  12. 如权利要求10所述的方法,其特征在于,还包括:The method of claim 10, further comprising:
    获取所述多个可编辑部分以及每个可编辑部分的标记;obtaining the plurality of editable parts and a tag for each editable part;
    将多个可编辑部分中被编辑过的可编辑部分对应的标记进行统计生成已编辑集合;Statistically generate an edited set from the tags corresponding to the edited editable parts in multiple editable parts;
    将多个未被编辑过的可编辑部分对应的标记进行统计生成未编辑集合;Statistically generate an unedited collection of tags corresponding to multiple unedited editable parts;
  13. 如权利要求12所述的方法,其特征在于,还包括:The method of claim 12, further comprising:
    在接收到用户的选择信息后,优先遍历所述已编辑集合中的标记与选择信息中的标记进行比对;After receiving the user's selection information, preferentially traverse the tags in the edited set and compare the tags in the selection information;
    当已编辑集合中的标记与选择信息中的标记比对一致后,调取与已编辑集合中的标记对应的用户编辑内容。After the mark in the edited set is consistent with the mark in the selection information, the user-edited content corresponding to the mark in the edited set is retrieved.
  14. 如权利要求13所述的方法,其特征在于,还包括:The method of claim 13, further comprising:
    统计每个已编辑集合中的标记对应的可编辑部分被编辑的次数;Count the number of times the editable part corresponding to the markup in each edited set has been edited;
    基于冒泡算法根据被编辑的次数对每个已编辑集合中的标记进行排序得到排序结果;Sort the tags in each edited set based on the number of edits based on the bubbling algorithm to get the sorting result;
    基于所述排序结果将已编辑集合中的标记与选择信息中的标记依次比对。The markers in the edited set are sequentially aligned with the markers in the selection information based on the ranking result.
  15. 如权利要求5所述的装置,其特征在于,还包括调取模块,所述调取模块用于执行以下步骤,包括:The apparatus of claim 5, further comprising a retrieval module, wherein the retrieval module is configured to perform the following steps, comprising:
    其中,所述JSON配置文件包括多个可编辑部分;Wherein, the JSON configuration file includes multiple editable parts;
    接收用户的选择信息,所述选择信息包括至少一个标记;receiving user selection information, the selection information including at least one indicia;
    基于所述标记调取与该标记对应的可编辑部分。Based on the markup, the editable portion corresponding to the markup is called up.
  16. 如权利要求15所述的装置,其特征在于,所述调取模块还用于执行以下步骤,包括:The apparatus of claim 15, wherein the retrieval module is further configured to perform the following steps, comprising:
    预先选定一模板,在所述模板处预先设置至少一个可编辑部分,每个可编辑部分与模板之间具有唯一的标记;Pre-selecting a template, at least one editable part is preset at the template, and each editable part has a unique mark between the template and the template;
    将所述模板以JSON配置文件的形式存储。Store the template as a JSON configuration file.
  17. 如权利要求15所述的装置,其特征在于,还包括统计模块,所述统计模块用于执行以下步骤,包括:The apparatus of claim 15, further comprising a statistics module configured to perform the following steps, comprising:
    获取所述多个可编辑部分以及每个可编辑部分的标记;obtaining the plurality of editable parts and a tag for each editable part;
    将多个可编辑部分中被编辑过的可编辑部分对应的标记进行统计生成已编辑集合;Statistically generate an edited set from the tags corresponding to the edited editable parts in multiple editable parts;
    将多个未被编辑过的可编辑部分对应的标记进行统计生成未编辑集合;Statistically generate an unedited collection of tags corresponding to multiple unedited editable parts;
  18. 如权利要求17所述的装置,其特征在于,所述统计模块还用于执行以下步骤,包括:The apparatus of claim 17, wherein the statistics module is further configured to perform the following steps, comprising:
    在接收到用户的选择信息后,优先遍历所述已编辑集合中的标记与选择信息中的标记进行比对;After receiving the user's selection information, preferentially traverse the tags in the edited set and compare the tags in the selection information;
    当已编辑集合中的标记与选择信息中的标记比对一致后,调取与已编辑集合中的标记对应的用户编辑内容。After the mark in the edited set is consistent with the mark in the selection information, the user-edited content corresponding to the mark in the edited set is retrieved.
  19. 如权利要求18所述的装置,其特征在于,所述统计模块还用于执行以下步骤,包括:The apparatus of claim 18, wherein the statistics module is further configured to perform the following steps, comprising:
    统计每个已编辑集合中的标记对应的可编辑部分被编辑的次数;Count the number of times the editable part corresponding to the markup in each edited set has been edited;
    基于冒泡算法根据被编辑的次数对每个已编辑集合中的标记进行排序得到排序结果;Sort the tags in each edited set based on the number of edits based on the bubbling algorithm to get the sorting result;
    基于所述排序结果将已编辑集合中的标记与选择信息中的标记依次比对。The markers in the edited set are sequentially aligned with the markers in the selection information based on the ranking result.
  20. 一种存储介质,存储计算机程序,其特征在于,所述计算机程序在处理器中执行可实现权利要求1-4、9-14中任一种方法。A storage medium storing a computer program, wherein the computer program can be executed in a processor to implement any one of the methods in claims 1-4 and 9-14.
PCT/CN2021/097780 2020-08-11 2021-06-01 Method for editing and saving json configuration file WO2022033130A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010803941.4A CN111949613A (en) 2020-08-11 2020-08-11 Method for editing and saving JSON configuration file
CN202010803941.4 2020-08-11

Publications (1)

Publication Number Publication Date
WO2022033130A1 true WO2022033130A1 (en) 2022-02-17

Family

ID=73331805

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/097780 WO2022033130A1 (en) 2020-08-11 2021-06-01 Method for editing and saving json configuration file

Country Status (2)

Country Link
CN (1) CN111949613A (en)
WO (1) WO2022033130A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949613A (en) * 2020-08-11 2020-11-17 深圳市前海手绘科技文化有限公司 Method for editing and saving JSON configuration file

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573970A (en) * 2015-12-18 2016-05-11 航天恒星科技有限公司 Data package reconstruction method and device
CN106650500A (en) * 2016-12-28 2017-05-10 广州杰赛科技股份有限公司 Method and system for modifying user authority
US10282398B1 (en) * 2016-12-29 2019-05-07 Intuit, Inc. Editing tool for domain-specific objects with reference variables corresponding to preceding pages
CN109766139A (en) * 2018-12-13 2019-05-17 平安普惠企业管理有限公司 The configuration method and device of configuration file
CN111949613A (en) * 2020-08-11 2020-11-17 深圳市前海手绘科技文化有限公司 Method for editing and saving JSON configuration file

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110258169A1 (en) * 2010-04-14 2011-10-20 Bank Of America Corporation Customization of Information Using a Desktop Module
CN109787957B (en) * 2018-12-13 2023-02-10 平安普惠企业管理有限公司 Configuration method of configuration file and related device
CN111506298A (en) * 2020-03-10 2020-08-07 南京行者易智能交通科技有限公司 Method for carrying out interface visual configuration based on JSON object

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105573970A (en) * 2015-12-18 2016-05-11 航天恒星科技有限公司 Data package reconstruction method and device
CN106650500A (en) * 2016-12-28 2017-05-10 广州杰赛科技股份有限公司 Method and system for modifying user authority
US10282398B1 (en) * 2016-12-29 2019-05-07 Intuit, Inc. Editing tool for domain-specific objects with reference variables corresponding to preceding pages
CN109766139A (en) * 2018-12-13 2019-05-17 平安普惠企业管理有限公司 The configuration method and device of configuration file
CN111949613A (en) * 2020-08-11 2020-11-17 深圳市前海手绘科技文化有限公司 Method for editing and saving JSON configuration file

Also Published As

Publication number Publication date
CN111949613A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
CN108416003A (en) A kind of picture classification method and device, terminal, storage medium
CN103345469B (en) The storage of set of numbers, querying method and device thereof
CN111191125A (en) Data analysis method based on tagging
CN106156047B (en) A kind of SNAPSHOT INFO processing method and processing device
WO2022033130A1 (en) Method for editing and saving json configuration file
CN106970958A (en) A kind of inquiry of stream file and storage method and device
CN109657803B (en) Construction of machine learning models
CN108829651A (en) A kind of method, apparatus of document treatment, terminal device and storage medium
CN110956271B (en) Multi-stage classification method and device for mass data
CN104933077B (en) Rule-based multifile information analysis method
CN109299352B (en) Method and device for updating website data in search engine and search engine
CN111126626A (en) Training method, device, server, platform and storage medium
CN111984666A (en) Database access method and device, computer readable storage medium and computer equipment
CN112800371A (en) Method and device for processing spreadsheet data in web page
WO2022134547A1 (en) Method and apparatus for recording video material on animated video platform
WO2022033135A1 (en) Story line-based hand-drawn video creation method and apparatus
CN108255486A (en) For view conversion method, device and the electronic equipment of form design
CN113221516B (en) Method and system for assisting in editing document
CN111984600B (en) File aggregation method, device, equipment and readable storage medium
CN111125483B (en) Webpage data extraction template generation method and device, computer device and storage medium
CN111488327B (en) Data standard management method and system
CN116910770B (en) Firmware base address recognition system and method based on density
CN110222105A (en) Data summarization processing method and processing device
CN116681408B (en) System management method, device, computer equipment and storage medium
CN114119326A (en) Method for quickly tracking order track and extracting data

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21855186

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 04/04/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21855186

Country of ref document: EP

Kind code of ref document: A1