Filter item configuration method, system, medium and device based on JSON configuration file
By using a JSON configuration file-based filter configuration method to dynamically generate and bind filter conditions, the problem of wasted development time caused by manual configuration of filter conditions in the data management page is solved, and efficient filter condition configuration is achieved.
Patent Information
- Application Number
- CN202410280054.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-12
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2044-03-12
AI Technical Summary
In existing technologies, each filter condition on the data management page requires manual addition and configuration of new filter variables, which wastes a lot of development time.
By obtaining a pre-edited JSON configuration file, a list of configuration information is generated. The condition information of the filter items is obtained in a loop, a return object is generated, and DOM nodes are dynamically generated according to the filter type. The type is determined and the filter value is bound to achieve dynamic configuration of the filter conditions.
It reduces repetitive work, improves development efficiency, lowers the development threshold, and simplifies the configuration process of screening criteria.
Smart Images

Figure CN118034690B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a filtering item configuration method, system, medium and device based on a JSON configuration file. Background Art
[0002] With the advent of the digital age, more and more business scenarios have shifted online, and online and paperless offices have become the norm. As business scenarios shift, more and more demand for the development of online data management systems has also been brought about.
[0003] Among them, the most common online data management system is the data management page, which requires a large number of filtering conditions. However, the traditional development method requires a lot of repetitive development work. Each filtering condition must be added manually, and then new filtering variables must be configured, which wastes a lot of development time. Summary of the invention
[0004] Based on this, the purpose of the present invention is to provide a filtering item configuration method, system, medium and device based on a JSON configuration file, aiming to solve the technical problem in the prior art that each filtering condition in the data management page needs to be manually added and configured with a new filtering variable, which wastes a lot of development time.
[0005] A first aspect of the present invention is to provide a method for configuring filter items based on a JSON configuration file, the method comprising:
[0006] Acquire pre-edited configuration information, and generate a configuration information list according to the configuration information;
[0007] Looping the configuration information list, obtaining condition information of each filter item, and generating a corresponding return object according to the condition information; wherein the condition information includes the filter type, return value name and filter value of the filter item;
[0008] generating an object attribute with the same name as the return value name in a feature variable of the return object, and outputting the return object as a screening condition object;
[0009] According to the filter type of the filter item, a plurality of DOM nodes are generated in a loop, and the DOM nodes are rendered into the target page to dynamically generate the filter condition;
[0010] Determine whether the type of the screening condition is a single check box or a multiple check box;
[0011] If so, obtain the filter value of the filter item and bind it to the DOM node, and bind the attribute corresponding to the returned object to the DOM node with the same name as the returned value.
[0012] According to one aspect of the above technical solution, the steps of looping the configuration information list, obtaining condition information of each filter item, and generating a corresponding return object according to the condition information specifically include:
[0013] The configuration information list is looped, and condition information corresponding to each filter item in the configuration information list is obtained according to a preset matching rule;
[0014] A return object corresponding to the filter item is generated according to the condition information.
[0015] According to one aspect of the above technical solution, the step of obtaining condition information corresponding to each filter item in the configuration information list according to a preset matching rule specifically includes:
[0016] According to the key identifier of the filtering item, the condition information corresponding to the key identifier is filtered in the configuration information list.
[0017] According to one aspect of the above technical solution, according to the filtering type of the filtering item, a plurality of DOM nodes are cyclically generated, and the DOM nodes are rendered into the target page to dynamically generate the filtering conditions, specifically including:
[0018] According to the filter type of the filter item, a number of DOM nodes are generated in a loop;
[0019] Divide the DOM nodes according to the node levels of the screening type, and render the DOM nodes into a target page;
[0020] The rendered DOM nodes are sorted according to the node levels to dynamically generate the filtering conditions of the filtering items.
[0021] According to one aspect of the above technical solution, the step of cyclically generating a plurality of DOM nodes according to the filter type of the filter item specifically includes:
[0022] Extracting a characteristic identifier of the screening type according to the screening type of the screening item;
[0023] According to the feature identifier and the condition information, a plurality of DOM nodes are generated cyclically.
[0024] According to one aspect of the above technical solution, the method further includes:
[0025] Identify and judge the hierarchical arrangement of the DOM nodes;
[0026] When it is identified that there is an error in the hierarchy of the DOM node, the DOM node is corrected, and the corrected DOM syntax tree is converted into executable SQL.
[0027] A second aspect of the present invention is to provide a filter item configuration system based on a JSON configuration file, the system comprising:
[0028] An information acquisition module, used to acquire pre-edited configuration information and generate a configuration information list according to the configuration information;
[0029] An information circulation module, used to circulate the configuration information list, obtain the condition information of each filter item, and generate a corresponding return object according to the condition information; wherein the condition information includes the filter type, return value name and filter value of the filter item;
[0030] An attribute matching module, used for generating an object attribute with the same name as the return value name in the feature variable of the return object, and outputting the return object as a screening condition object;
[0031] A node rendering module, used to cyclically generate a number of DOM nodes according to the filtering type of the filtering item, and render the DOM nodes into the target page to dynamically generate filtering conditions;
[0032] A type determination module is used to determine whether the type of the screening condition is a single-select box or a multiple-select box;
[0033] The node binding module is used to obtain the filter value of the filter item and bind it to the DOM node, and bind the attribute corresponding to the returned object to the DOM node with the same name as the returned value.
[0034] According to one aspect of the above technical solution, the information circulation module is specifically used for:
[0035] The configuration information list is looped, and condition information corresponding to each filter item in the configuration information list is obtained according to a preset matching rule;
[0036] A return object corresponding to the filter item is generated according to the condition information.
[0037] The third aspect of the present invention is to provide a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the steps of the method described in the above technical solution.
[0038] The fourth aspect of the present invention is to provide a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the above technical solution when executing the program.
[0039] Compared with the prior art, the method, system, medium and device for configuring filtering items based on the JSON configuration file shown in the present invention have the following beneficial effects:
[0040] In the process of configuring the filter items, by obtaining the pre-edited configuration information, a configuration information list is generated based on the configuration information, the configuration information list is looped to obtain the condition information of each filter item, a return object is generated according to the condition information, and the return object is used as the filter condition object, and finally a number of DOM nodes are looped to generate according to the filter type of the filter item, the DOM node is rendered to dynamically generate the filter condition, and the filter value of the filter item is bound to the DOM node, and the attribute corresponding to the return object is bound to the DOM node with the same name as the return value. Therefore, in this embodiment, the filter conditions are dynamically added through configuration to adapt to pages of different scenarios; the attribute name of the output object is bound, and the page can directly use the output object without further processing and integration; the multi-configuration processing can improve development efficiency and reduce repetitive work; it can be used simply through JSON configuration, which reduces the development threshold. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] Figure 1 It is a flowchart of a method for configuring filtering items based on a JSON configuration file in the first embodiment of the present invention;
[0042] Figure 2 It is a structural block diagram of a filtering item configuration system based on a JSON configuration file in a third embodiment of the present invention;
[0043] The following specific implementation manner will further illustrate the present invention in conjunction with the above-mentioned drawings. DETAILED DESCRIPTION
[0044] In order to facilitate the understanding of the present invention, the present invention will be described more fully below with reference to the relevant drawings. Several embodiments of the present invention are given in the drawings. However, the present invention can be implemented in many different forms and is not limited to the embodiments described herein. On the contrary, the purpose of providing these embodiments is to make the disclosure of the present invention more thorough and comprehensive.
[0045] It should be noted that when an element is referred to as being "fixed to" another element, it may be directly on the other element or there may be a central element. When an element is considered to be "connected to" another element, it may be directly connected to the other element or there may be a central element at the same time. The terms "vertical", "horizontal", "left", "right" and similar expressions used herein are for illustrative purposes only.
[0046] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present invention belongs. The terms used herein in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used herein includes any and all combinations of one or more of the related listed items.
[0047] Embodiment 1
[0048] See also Figure 1 , which is a flow chart of a method for configuring filter items based on a JSON configuration file in a first embodiment of the present invention, wherein the method comprises steps S10 to S60:
[0049] Step S10, obtaining pre-edited configuration information, and generating a configuration information list according to the configuration information.
[0050] The configuration information is pre-edited and is a configuration file in JSON format, which includes the above configuration information. Then, a configuration information list is generated based on the configuration information in the configuration file.
[0051] Step S20, looping through the configuration information list, obtaining condition information of each filter item, and generating a corresponding return object according to the condition information.
[0052] In this embodiment, the configuration information list is looped, and the condition information corresponding to each filter item in the configuration information list is obtained according to the preset matching rule, and then a return object corresponding to the filter item is generated according to the condition information.
[0053] The condition information includes the filter type, return value name and filter value of the filter item.
[0054] Specifically, before obtaining the condition information corresponding to each filter item in the configuration information list, the key identifier of the filter item is predetermined, the condition information corresponding to the key identifier is filtered in the configuration information list, and then a return object corresponding to the filter item is generated based on the condition information.
[0055] Step S30, generating an object attribute with the same name as the return value name in the feature variable of the return object, and outputting the return object as a screening condition object.
[0056] In this embodiment, the configuration information list is looped to obtain the condition information of each filter item, and then a return object form is generated. The filter return value name in the configuration item is generated into a property with the same name in the form variable. This return object will be used as the filter condition object output by this method.
[0057] Step S40, according to the filter type of the filter item, a plurality of DOM nodes are generated in a loop, and the DOM nodes are rendered into the target page to dynamically generate the filter condition.
[0058] Among them, according to the filtering type of the filtering item, a plurality of DOM nodes are generated cyclically, and the DOM nodes are rendered into the target page to dynamically generate the filtering conditions, which specifically includes:
[0059] According to the filter type of the filter item, a number of DOM nodes are generated in a loop;
[0060] Divide the DOM nodes according to the node levels of the screening type, and render the DOM nodes into a target page;
[0061] The rendered DOM nodes are sorted according to the node levels to dynamically generate the filtering conditions of the filtering items.
[0062] Further, according to the filter type of the filter item, the step of cyclically generating a plurality of DOM nodes specifically includes:
[0063] Extracting a characteristic identifier of the screening type according to the screening type of the screening item;
[0064] According to the feature identifier and the condition information, a plurality of DOM nodes are generated cyclically.
[0065] In this embodiment, when dynamically generating filtering conditions, the DOM nodes corresponding to the filtering items of this type will be generated in a loop according to the filtering type of the filtering items, that is, the various hierarchical branches of the filtering items, and the node hierarchies to which the DOM nodes of the filtering items belong will be divided. Then, the DOM nodes will be rendered to the target page, that is, the DOM nodes will be rendered to the corresponding data management page, and the DOM nodes will be sorted according to the node hierarchies, so that the filtering conditions of the filtering items can be dynamically generated.
[0066] Specifically, the filter item is a port item in the data management page used to filter background data. Each filter item can be set with any number of sub-ports, and each sub-port can also be set with a corresponding branch port, so that the data matching it in the background database can be filtered through these ports and displayed to users for data query, etc.
[0067] Step S50, determining whether the type of the screening condition is a single-selection box or a multiple-selection box.
[0068] In this embodiment, it is determined whether the type of the filter condition is a single-select box or a multiple-select box.
[0069] If the type of the screening condition is a single-selection box or a multiple-selection box, the method shown in this embodiment proceeds to step S60.
[0070] Step S60, obtaining the filter value of the filter item and binding it to a DOM node, and binding the attribute corresponding to the returned object to the DOM node with the same name as the returned value.
[0071] In this embodiment, the configuration item filtering type is judged, if it is a single-select box or a multiple-select box, the configured filtering value array is read and bound to the DOM node.
[0072] Finally, bind the corresponding attributes of the returned object to the DOM with the same name as the corresponding filter return value. Then, when you select the filter conditions or enter the filter content in any filter box, you can update the return object and output the most recent filter conditions for filtering.
[0073] Compared with the prior art, the filtering item configuration method based on the JSON configuration file shown in this embodiment has the following beneficial effects:
[0074] In the process of configuring the filter items, by obtaining the pre-edited configuration information, a configuration information list is generated based on the configuration information, the configuration information list is looped to obtain the condition information of each filter item, a return object is generated according to the condition information, and the return object is used as the filter condition object, and finally a number of DOM nodes are looped to generate according to the filter type of the filter item, the DOM node is rendered to dynamically generate the filter condition, and the filter value of the filter item is bound to the DOM node, and the attribute corresponding to the return object is bound to the DOM node with the same name as the return value. Therefore, in this embodiment, the filter conditions are dynamically added through configuration to adapt to pages of different scenarios; the attribute name of the output object is bound, and the page can directly use the output object without further processing and integration; the multi-configuration processing can improve development efficiency and reduce repetitive work; it can be used simply through JSON configuration, which reduces the development threshold.
[0075] Embodiment 2
[0076] The second embodiment of the present invention also provides a method for configuring filtering items based on a JSON configuration file. The method for configuring filtering items based on a JSON configuration file shown in this embodiment is basically similar to the method for configuring filtering items based on a JSON configuration file shown in the first embodiment, except that the method in this embodiment further includes:
[0077] Identify and judge the hierarchical arrangement of the DOM nodes;
[0078] When it is identified that there is an error in the hierarchy of the DOM node, the DOM node is corrected, and the corrected DOM syntax tree is converted into executable SQL.
[0079] Specifically, in this embodiment, after a number of DOM nodes are generated in a loop and rendered into a target page, and filtering conditions are dynamically generated, the hierarchical arrangement of the predetermined DOM nodes will be identified and judged. When there is an error in the hierarchy of the DOM node, the DOM node will be corrected, and the corrected DOM syntax tree will be converted into executable SQL, thereby realizing the hierarchical identification of the DOM node.
[0080] Embodiment 3
[0081] See also Figure 2 , which is a structural block diagram of a filter item configuration system based on a JSON configuration file in a first embodiment of the present invention, wherein the system comprises:
[0082] The information acquisition module 10 is used to acquire pre-edited configuration information and generate a configuration information list according to the configuration information.
[0083] The configuration information is pre-edited and is a configuration file in JSON format, which includes the above configuration information. Then, a configuration information list is generated based on the configuration information in the configuration file.
[0084] The information circulation module 20 is used to circulate the configuration information list, obtain the condition information of each filter item, and generate a corresponding return object according to the condition information.
[0085] In this embodiment, the configuration information list is looped, and the condition information corresponding to each filter item in the configuration information list is obtained according to the preset matching rule, and then a return object corresponding to the filter item is generated according to the condition information.
[0086] The condition information includes the filter type, return value name and filter value of the filter item.
[0087] Specifically, before obtaining the condition information corresponding to each filter item in the configuration information list, the key identifier of the filter item is predetermined, the condition information corresponding to the key identifier is filtered in the configuration information list, and then a return object corresponding to the filter item is generated based on the condition information.
[0088] The attribute matching module 30 is used to generate an object attribute with the same name as the return value name in the feature variable of the return object, and output the return object as a screening condition object.
[0089] In this embodiment, the configuration information list is looped to obtain the condition information of each filter item, and then a return object form is generated. The filter return value name in the configuration item is generated into an attribute with the same name in the form variable. This return object will be used as the filter condition object output by this system.
[0090] The node rendering module 40 is used to cyclically generate a number of DOM nodes according to the filtering type of the filtering item, and render the DOM nodes into the target page to dynamically generate filtering conditions.
[0091] Among them, according to the filtering type of the filtering item, a plurality of DOM nodes are generated cyclically, and the DOM nodes are rendered into the target page to dynamically generate the filtering conditions, which specifically includes:
[0092] According to the filter type of the filter item, a number of DOM nodes are generated in a loop;
[0093] Divide the DOM nodes according to the node levels of the screening type, and render the DOM nodes into a target page;
[0094] The rendered DOM nodes are sorted according to the node levels to dynamically generate the filtering conditions of the filtering items.
[0095] Further, according to the filter type of the filter item, the step of cyclically generating a plurality of DOM nodes specifically includes:
[0096] Extracting a characteristic identifier of the screening type according to the screening type of the screening item;
[0097] According to the feature identifier and the condition information, a plurality of DOM nodes are generated cyclically.
[0098] In this embodiment, when dynamically generating filtering conditions, the DOM nodes corresponding to the filtering items of this type will be generated in a loop according to the filtering type of the filtering items, that is, the various hierarchical branches of the filtering items, and the node hierarchies to which the DOM nodes of the filtering items belong will be divided. Then, the DOM nodes will be rendered to the target page, that is, the DOM nodes will be rendered to the corresponding data management page, and the DOM nodes will be sorted according to the node hierarchies, so that the filtering conditions of the filtering items can be dynamically generated.
[0099] Specifically, the filter item is a port item in the data management page used to filter background data. Each filter item can be set with any number of sub-ports, and each sub-port can also be set with a corresponding branch port, so that the data matching it in the background database can be filtered through these ports and displayed to users for data query, etc.
[0100] The type determination module 50 is used to determine whether the type of the screening condition is a single-select box or a multiple-select box.
[0101] In this embodiment, it is determined whether the type of the filter condition is a single-select box or a multiple-select box.
[0102] The node binding module 60 is used to obtain the filter value of the filter item and bind it to the DOM node when the type judgment module 50 determines that the type of the filter condition is a radio button or a multiple-choice box, and bind the attribute corresponding to the returned object to the DOM node with the same name as the returned value.
[0103] In this embodiment, the configuration item filtering type is judged, if it is a single-select box or a multiple-select box, the configured filtering value array is read and bound to the DOM node.
[0104] Finally, bind the corresponding attributes of the returned object to the DOM with the same name as the corresponding filter return value. Then, when you select the filter conditions or enter the filter content in any filter box, you can update the return object and output the most recent filter conditions for filtering.
[0105] Compared with the prior art, the filtering item configuration system based on the JSON configuration file shown in this embodiment has the following beneficial effects:
[0106] In the process of configuring the filter items, by obtaining the pre-edited configuration information, a configuration information list is generated based on the configuration information, the configuration information list is looped to obtain the condition information of each filter item, a return object is generated according to the condition information, and the return object is used as the filter condition object, and finally a number of DOM nodes are looped to generate according to the filter type of the filter item, the DOM node is rendered to dynamically generate the filter condition, and the filter value of the filter item is bound to the DOM node, and the attribute corresponding to the return object is bound to the DOM node with the same name as the return value. Therefore, in this embodiment, the filter conditions are dynamically added through configuration to adapt to pages of different scenarios; the attribute name of the output object is bound, and the page can directly use the output object without further processing and integration; the multi-configuration processing can improve development efficiency and reduce repetitive work; it can be used simply through JSON configuration, which reduces the development threshold.
[0107] Embodiment 4
[0108] A fourth embodiment of the present invention provides a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement the steps of the method described in the above embodiment.
[0109] Embodiment 5
[0110] A fifth embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the above embodiment when executing the program.
[0111] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0112] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0113] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
Claims
1. A method for configuring filter items based on a JSON configuration file, characterized in that: The method comprises: Acquire pre-edited configuration information, and generate a configuration information list according to the configuration information; Looping the configuration information list, obtaining condition information of each filter item, and generating a corresponding return object according to the condition information; wherein the condition information includes the filter type, return value name and filter value of the filter item; generating an object attribute with the same name as the return value name in a feature variable of the return object, and outputting the return object as a screening condition object; According to the filter type of the filter item, a plurality of DOM nodes are generated in a loop, and the DOM nodes are rendered into the target page to dynamically generate the filter condition; Determine whether the type of the screening condition is a single check box or a multiple check box; If so, obtain the filter value of the filter item and bind it to the DOM node, and bind the attribute corresponding to the returned object to the DOM node with the same name as the returned value.
2. The method for configuring filtering items based on a JSON configuration file according to claim 1, characterized in that: The steps of looping through the configuration information list, obtaining condition information of each filter item, and generating a corresponding return object according to the condition information specifically include: The configuration information list is looped, and condition information corresponding to each filter item in the configuration information list is obtained according to a preset matching rule; A return object corresponding to the filter item is generated according to the condition information.
3. The method for configuring filtering items based on a JSON configuration file according to claim 2, characterized in that: The step of obtaining condition information corresponding to each filter item in the configuration information list according to a preset matching rule specifically includes: According to the key identifier of the filtering item, the condition information corresponding to the key identifier is filtered in the configuration information list.
4. The method for configuring filtering items based on a JSON configuration file according to claim 1, characterized in that: According to the filtering type of the filtering item, a plurality of DOM nodes are generated in a loop, and the DOM nodes are rendered into a target page to dynamically generate the filtering conditions, specifically including: According to the filter type of the filter item, a number of DOM nodes are generated in a loop; Divide the DOM nodes according to the node levels of the screening type, and render the DOM nodes into a target page; The rendered DOM nodes are sorted according to the node levels to dynamically generate the filtering conditions of the filtering items.
5. The method for configuring filtering items based on a JSON configuration file according to claim 4, characterized in that: According to the filter type of the filter item, the steps of looping to generate several DOM nodes specifically include: Extracting a characteristic identifier of the screening type according to the screening type of the screening item; According to the feature identifier and the condition information, a plurality of DOM nodes are generated cyclically.
6. The method for configuring filtering items based on a JSON configuration file according to any one of claims 1 to 5, characterized in that: The method further comprises: Identify and judge the hierarchical arrangement of the DOM nodes; When it is identified that there is an error in the hierarchy of the DOM node, the DOM node is corrected, and the corrected DOM syntax tree is converted into executable SQL.
7. A filter item configuration system based on a JSON configuration file, characterized in that: The system comprises: An information acquisition module, used to acquire pre-edited configuration information and generate a configuration information list according to the configuration information; An information circulation module, used to circulate the configuration information list, obtain the condition information of each filter item, and generate a corresponding return object according to the condition information; wherein the condition information includes the filter type, return value name and filter value of the filter item; An attribute matching module, used for generating an object attribute with the same name as the return value name in the feature variable of the return object, and outputting the return object as a screening condition object; A node rendering module, used to cyclically generate a number of DOM nodes according to the filtering type of the filtering item, and render the DOM nodes into the target page to dynamically generate filtering conditions; A type determination module is used to determine whether the type of the screening condition is a single-select box or a multiple-select box; The node binding module is used to obtain the filtering value of the filtering item and bind it to the DOM node when the type judgment module determines that the type of the filtering condition is a radio button or a multiple-choice box, and bind the attribute corresponding to the returned object to the DOM node with the same name as the returned value.
8. The filtering item configuration system based on the JSON configuration file according to claim 7, characterized in that: The information circulation module is specifically used for: The configuration information list is looped, and condition information corresponding to each filter item in the configuration information list is obtained according to a preset matching rule; A return object corresponding to the filter item is generated according to the condition information.
9. A computer-readable storage medium having computer instructions stored thereon, characterized in that: When the instruction is executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the method according to any one of claims 1 to 6 are implemented.
