Disclosure of Invention
In view of this, the present application aims to provide a method and an apparatus for generating a document template, so as to improve the efficiency of generating the document template.
In a first aspect, an embodiment of the present application provides a method for generating a document template, including:
acquiring label information corresponding to a to-be-filled area in a blank document template, inquiring a preset label library according to the label information, and acquiring a to-be-filled label matched with the label information;
inquiring a mapping relation library of preset label types and grammar formats according to the types of the labels to be filled, and acquiring the grammar formats of the labels to be filled;
updating the tag variable names in the acquired grammar formats into the tags to be filled to obtain grammar editing tags with grammar formats;
filling the grammar editing tag into the to-be-filled area to generate a document template.
With reference to the first aspect, the present invention provides a first possible implementation manner of the first aspect, wherein the obtaining tag information corresponding to a to-be-filled area in a blank document template, querying a preset tag library according to the tag information, and obtaining a to-be-filled tag matched with the tag information includes:
receiving label information of labels to be filled, which are determined by a user in an area to be filled;
retrieving the tag library according to the tag information, and displaying a plurality of tags matched with the tag information;
and receiving labels selected by the user according to the displayed multiple labels to obtain the labels to be filled.
With reference to the first aspect, the present invention provides a second possible implementation manner of the first aspect, where before the acquiring tag information corresponding to a to-be-filled area in the blank document template, the method further includes:
receiving a custom tag from a user, and inquiring the tag library according to the tag identification of the custom tag;
if the custom tag is not stored in the tag library, storing the custom tag and a data source corresponding to the custom tag into the tag library.
With reference to the second possible implementation manner of the first aspect, the present invention provides a third possible implementation manner of the first aspect, wherein the storing the custom tag and the data source corresponding to the custom tag in the tag library includes:
extracting keywords contained in a data source corresponding to the custom tag;
according to the extracted keywords, calculating the similarity of the keywords corresponding to each classified label sub-library in the label library, and obtaining the classified label sub-library with the highest similarity;
and classifying the custom tags into the classified tag sub-library with the highest similarity.
With reference to the second possible implementation manner of the first aspect, the present invention provides a fourth possible implementation manner of the first aspect, wherein the method further includes:
if the label library stores the labels identical to the customized labels, displaying the stored labels and the data sources corresponding to the labels;
and receiving a renamed tag obtained by renaming the customized tag according to the displayed tag and a data source corresponding to the tag by the user, determining that the tag library does not store the tag identical to the renamed tag, and storing the renamed tag and the data source corresponding to the renamed tag into the tag library.
With reference to the first aspect, any one of the first to fourth possible implementation manners of the first aspect, the present invention provides a fifth possible implementation manner of the first aspect, wherein the method further includes:
receiving a document editing request, and loading a target document template corresponding to the document editing request;
reading a hierarchical directory in the target document template, and obtaining a target label under the hierarchical directory;
and acquiring a data source mapped by the target tag, and filling the position corresponding to the target tag according to the acquired data source to generate a document.
With reference to the fifth possible implementation manner of the first aspect, the present invention provides a sixth possible implementation manner of the first aspect, wherein the tag is a structured tag, the acquiring the data source mapped by the target tag, and filling the location corresponding to the target tag according to the acquired data source includes:
displaying data in a structured data source corresponding to the structured tag;
and receiving data selected by a user according to the structured data source, and filling the selected data according to the corresponding relation between the data field names and the target labels.
With reference to the fifth possible implementation manner of the first aspect, the present invention provides a seventh possible implementation manner of the first aspect, wherein the tag is an unstructured tag, the acquiring the data source mapped by the target tag, and filling the location corresponding to the target tag according to the acquired data source includes:
displaying data in an unstructured data source corresponding to the unstructured label;
receiving data selected by a user according to an unstructured data source, and inquiring a file stream of the data file by taking a data file identifier corresponding to the selected data as an inquiry condition;
filling the file stream to the position of the unstructured label.
With reference to the fifth possible implementation manner of the first aspect, the present invention provides an eighth possible implementation manner of the first aspect, wherein the tag is a text tag, the acquiring the data source mapped by the target tag, and filling the location corresponding to the target tag according to the acquired data source includes:
displaying a text box or a text field corresponding to the text label;
receiving text content input by a user in the text box or text field, and filling the received text content to the position of the text label;
adjusting the area size of the text box or text field according to the text content input by the user in the text box or text field;
and acquiring the text box or text field of the text content which is not input by the user, and processing the text box or text field of the text content which is not input according to a preset strategy.
In a second aspect, an embodiment of the present application provides an apparatus for generating a document template, including:
the label inquiry module is used for acquiring label information corresponding to a to-be-filled area in the blank document template, inquiring a preset label library according to the label information, and acquiring a to-be-filled label matched with the label information;
the grammar query module is used for querying a mapping relation library of preset label types and grammar formats according to the types of the labels to be filled, and acquiring the grammar formats of the label mapping to be filled;
the grammar mapping module is used for updating the tag variable names in the acquired grammar formats into the tags to be filled to obtain grammar editing tags with the grammar formats;
and the template generation module is used for filling the grammar editing tag into the region to be filled so as to generate a document template.
In a third aspect, embodiments of the present application provide a computer device including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the computer program.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the method described above.
According to the method and the device for generating the document template, label information corresponding to the to-be-filled area in the blank document template is obtained, a preset label library is queried according to the label information, and a to-be-filled label matched with the label information is obtained; inquiring a mapping relation library of preset label types and grammar formats according to the types of the labels to be filled, and acquiring the grammar formats of the labels to be filled; updating the tag variable names in the acquired grammar formats into the tags to be filled to obtain grammar editing tags with grammar formats; filling the grammar editing tag into the to-be-filled area to generate a document template. Therefore, the grammar format corresponding to the label to be filled is obtained by presetting the label type mapping grammar format and inquiring according to the label type, so that the label to be filled is written into the grammar format, grammar format editing for the label to be filled is not required by a user, the time required for generating the document template is reduced, and the efficiency of generating the document template can be effectively improved.
In order to make the above objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, which are generally described and illustrated in the figures herein, may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as provided in the accompanying drawings, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, are intended to be within the scope of the present application.
FIG. 1 is a flowchart of a method for generating a document template according to an embodiment of the present application. As shown in fig. 1, the method includes:
step 101, obtaining label information corresponding to a to-be-filled area in a blank document template, inquiring a preset label library according to the label information, and obtaining a to-be-filled label matched with the label information;
in the embodiment of the application, a user can define a chapter structure, a character format, a paragraph format, a page format and the like of the blank document template in advance, and determine each area to be filled and a label to be filled in of each area to be filled in according to the actual requirement of the user.
In the embodiment of the present application, the tag information may be a tag identifier, including but not limited to: a tag name, a tag code name, etc. The label information is some characteristic information of the labels to be filled, which are determined by the user in the area to be filled, and because the user cannot determine the accurate label information of the labels to be filled, fuzzy retrieval can be performed according to the characteristic information of the labels determined by the user, retrieval results are listed, and the user can determine the labels to be selected according to the retrieval results. As an optional embodiment, obtaining tag information corresponding to a to-be-filled area in a blank document template, querying a preset tag library according to the tag information, and obtaining a to-be-filled tag matched with the tag information, where the method includes:
a01, receiving label information of labels to be filled, which are determined by a user in a region to be filled;
a02, searching the tag library according to the tag information, and displaying a plurality of tags matched with the tag information;
and A03, receiving labels selected by the user according to the displayed multiple labels, and obtaining the labels to be filled.
In this embodiment, the user may customize the personalized tag according to the actual need and store the personalized tag in the tag library to meet the personalized requirement of the user for editing the document template, so as an optional embodiment, before obtaining the tag information corresponding to the to-be-filled area in the blank document template, the method further includes:
a11, receiving a custom tag from a user, and inquiring the tag library according to the tag identification of the custom tag;
in the embodiment of the application, the user can generate the label according to the data source through analyzing the data source to form the customized label, so that familiarity and friendliness of the user when applying the label can be improved.
In this embodiment, as an optional embodiment, the tag is identified by a tag name and/or a tag code name. The label name can be Chinese characters, and the label code name can also be Chinese characters, and the label name corresponds to the label code name one by one.
And A12, if the custom tag is not stored in the tag library, storing the custom tag and a data source corresponding to the custom tag into the tag library.
In the present embodiment, data sources include, but are not limited to: system data sources, application data sources, log data sources, etc. In order to facilitate label management, the stored labels can be classified and managed in a label library. For example, the tags are classified according to the categories of the data sources (geological domain data sources, communication domain data sources, electromechanical domain data sources, etc.), and thus, as an alternative embodiment, storing the custom tags and the data sources corresponding to the custom tags into the tag library includes:
a121, extracting keywords contained in a data source corresponding to the custom tag;
a122, calculating the similarity of the keywords corresponding to each classified label sub-library in the label library according to the extracted keywords, and obtaining the classified label sub-library with the highest similarity;
in the embodiment of the application, the classification label sub-library is identified by one or more keywords.
And A123, classifying the customized labels into the classified label sub-library with the highest similarity.
In this embodiment, as an optional embodiment, the classifying tag sub-library includes: structured tag sub-libraries, unstructured tag sub-libraries, and text (txt) tag sub-libraries. Wherein the structured tag sub-library is used to store structured tags, e.g., relational database tables/view tags; the unstructured tag sub-library is used for storing unstructured tags, such as data file tags in a file system; the text label sub-library is used to store text labels, such as labels formed by user input content.
In this embodiment, as an optional embodiment, if the tag library already stores the tag with the same tag identifier as the custom tag, the user may be notified to rename the custom tag, so the method may further include:
b11, if the label library stores the labels identical to the customized labels, displaying the stored labels and the data sources corresponding to the labels;
and B12, receiving a renamed label obtained by renaming the customized label according to the displayed label and a data source corresponding to the label by the user, determining that the label library does not store the label identical to the renamed label, and storing the renamed label and the data source corresponding to the renamed label into the label library.
In this embodiment of the present application, when the custom tag of the user is the same as the tag stored in the tag library, but the corresponding data sources are different, the user may modify the custom tag name to avoid tag duplication, and if the corresponding data sources are the same, the user may cancel renaming the custom tag and discard the storage. In this way, the user can decide whether to continue to create a new label or select an original label according to the search result by searching according to the label information of the customized label and listing the search result.
Step 102, inquiring a mapping relation library of preset label types and grammar formats according to the types of the labels to be filled, and obtaining the grammar formats of the label mapping to be filled;
in this embodiment of the present application, according to the type tag sub-library in which the tag to be filled is located, the type of the tag to be filled may be obtained, that is, the type of the type tag sub-library is the type of the tag to be filled.
In the embodiment of the present application, as an alternative embodiment, the syntax format includes, but is not limited to, a density syntax format.
In the embodiment of the present application, the labels in the label library do not carry a variability grammar format. Thus, the tags in the tag library or the sort tag sub-library cannot be directly applied in the process of generating the document template.
In the embodiment of the application, for each classification tag, a corresponding grammar format is preset, and in the grammar format, information of the corresponding tag is represented by a tag variable name. In this way, in subsequent applications, the tag variable name may be replaced with a specific tag, thereby enabling the tag to have a grammatical format.
Step 103, updating the tag variable names in the acquired grammar formats into the tags to be filled to obtain grammar editing tags with grammar formats;
in the embodiment of the application, when a user obtains a to-be-filled tag from a tag library and fills the to-be-filled tag into a corresponding to-be-filled area, a grammar format is generated for the to-be-filled tag, so that the release of the grammar format of the to-be-filled tag is realized. In this way, the grammar format corresponding to the label to be filled is obtained by inquiring in a label type matching mode, so that the label to be filled is written into the grammar format, and a user does not need to edit the density grammar format for the label to be filled, so that the user does not need to know and master java or other object-oriented programming languages, the technical requirement on generating the document template is low, and the time required for generating the document template is reduced, the generation efficiency of the document template is effectively improved, and meanwhile, the personalized compiling of the document template can be realized.
And 104, filling the grammar editing tags into the to-be-filled area to generate a document template.
In the embodiment of the application, the user can set the position (to-be-filled area), form and the like of the label in the document template. As an alternative embodiment, the document template includes, but is not limited to: contract templates, resume templates, financial templates, etc. For example, the contract template includes: a party a tag, a party b signature item tag, a general term tag, a special term tag, a legal person tag, etc., the resume template comprises: personal information labels, work experience labels, educational labels, professional skill labels, desired industry labels, desired salary labels, and the like.
In this embodiment of the present application, as an optional embodiment, filling the grammar editing tag into the region to be filled in to generate a document template, including:
c11, filling the grammar editing tag into the region to be filled;
and C12, traversing each region to be filled in the blank document template, and determining that each region to be filled in is filled with a corresponding grammar editing tag to obtain the document template.
According to the embodiment of the application, according to the label information corresponding to each to-be-filled area, a label library and a mapping relation library are sequentially queried, grammar editing labels corresponding to the label information are obtained, and the grammar editing labels are filled into the corresponding to-be-filled areas in the blank document template.
In this embodiment of the present application, editing may be performed based on a document template to obtain a document, so as an alternative embodiment, fig. 2 is another flowchart of a method for generating a document template according to an embodiment of the present application, where the method includes:
step 201, obtaining label information corresponding to a to-be-filled area in a blank document template, inquiring a preset label library according to the label information, and obtaining a to-be-filled label matched with the label information;
step 202, inquiring a mapping relation library of preset label types and grammar formats according to the types of the labels to be filled, and obtaining the grammar formats of the label mapping to be filled;
step 203, updating the tag variable name in the acquired grammar format to the tag to be filled to obtain a grammar editing tag with the grammar format;
and 204, filling the grammar editing tags into the to-be-filled area to generate a document template.
In the present embodiment, steps 201-204 are the same as steps 101-104, respectively.
Step 205, receiving a document editing request, and loading a target document template corresponding to the document editing request;
in the embodiment of the application, the user can select the corresponding target document template to load according to the document actually required. For example, if the user needs to edit the personal resume document, the personal resume template is selected from the document template library to be loaded.
Step 206, reading the hierarchical directory in the target document template and obtaining a target label under the hierarchical directory;
in the embodiment of the application, the target document template comprises one or more hierarchical directories, and corresponding target labels are respectively arranged at different positions under each hierarchical directory.
Step 207, obtaining a data source mapped by the target tag, and filling a position corresponding to the target tag according to the obtained data source to generate a document.
In this embodiment, as an optional embodiment, the plurality of positions corresponding to the target tag, each of which is distinguished by a position identifier, the filling the position corresponding to the target tag according to the acquired data source to generate the document includes:
and inquiring data corresponding to the position identifier from the acquired data source aiming at each position identifier corresponding to the target tag, and filling the inquired data into the position corresponding to the position identifier to generate a document.
In the embodiment of the application, the labels in the document templates are extracted, the data sources matched with the labels are searched and acquired from the label library according to the labels, and filling information matched with the position identifications is acquired from the data sources according to the position identifications and filled in the positions of the position identifications. For example, a tag in the document template is "financial statement-001", a data source matching the "financial statement-001" is found from the tag library, and a plurality of location identifiers and filling information corresponding to or associated with each location identifier are found from the data source. For example, according to the position identification "upper left-001" in the label "financial statement-001", in the acquired data source, the filling information associated with "upper left-001" is acquired, and the associated filling information is filled into the position corresponding to "upper left-001", thereby generating the document.
In this embodiment of the present application, as an optional embodiment, the document template includes a plurality of identical labels, and the information filled in the positions corresponding to the identical labels is identical. For the same position identification under the same label, the corresponding filling information is the same.
In this embodiment, as an optional embodiment, the tag is a structured tag, the obtaining a data source mapped by the target tag, and filling, according to the obtained data source, a location corresponding to the target tag includes:
displaying data in a structured data source corresponding to the structured tag;
and receiving data selected by a user according to the structured data source, and filling the selected data according to the corresponding relation between the data field names and the target labels.
In embodiments of the present application, structured tags may support text and form filling. When the structured label is filled with data, the structured label can be respectively assigned according to the names of the data fields, so that filling of a single field or a single table or a complex table can be realized.
In this embodiment, as another optional embodiment, the tag is an unstructured tag, the obtaining a data source mapped by the target tag, and filling, according to the obtained data source, a location corresponding to the target tag includes:
displaying data in an unstructured data source corresponding to the unstructured label;
receiving data selected by a user according to an unstructured data source, and inquiring a file stream of the data file by taking a data file identifier corresponding to the selected data as an inquiry condition;
filling the file stream to the position of the unstructured label.
In the embodiment of the application, the unstructured label can support picture filling, and when filling data, a file stream is acquired according to the data file identifier to fill.
In this embodiment, as still another optional embodiment, the tag is a text tag, the obtaining a data source mapped by the target tag, and filling, according to the obtained data source, a location corresponding to the target tag includes:
displaying a text box or a text field corresponding to the text label;
receiving text content input by a user in the text box or text field, and filling the received text content to the position of the text label;
adjusting the area size of the text box or text field according to the text content input by the user in the text box or text field;
and acquiring the text box or text field of the text content which is not input by the user, and processing the text box or text field of the text content which is not input according to a preset strategy.
In an embodiment of the present application, the processing includes: and deleting or reserving the text boxes or text fields of the text content which is not input according to the preset area, and simultaneously, automatically adjusting the area size of the text labels. Therefore, the reserved area of each text box or text field of the document template is matched with the area occupied by the text content which needs to be input by the user, and the waste of the area in the document template is avoided.
In the embodiment of the application, when the txt label is filled in a document, a text box or a text field is displayed when a user positions the txt label, and the user can fill in text content in the text box or the text field to realize text filling.
FIG. 3 is a schematic diagram of an apparatus for generating a document template according to an embodiment of the present application. As shown in fig. 3, the apparatus includes:
the label inquiry module 301 is configured to obtain label information corresponding to a to-be-filled area in a blank document template, inquire a preset label library according to the label information, and obtain a to-be-filled label matched with the label information;
in the embodiment of the present application, the tag information may be a tag identifier, including but not limited to: a tag name, a tag code name, etc.
In this embodiment, as an optional embodiment, the tag query module 301 is specifically configured to:
receiving label information of labels to be filled, which are determined by a user in an area to be filled;
retrieving the tag library according to the tag information, and displaying a plurality of tags matched with the tag information;
and receiving labels selected by the user according to the displayed multiple labels to obtain the labels to be filled.
The grammar query module 302 is configured to query a mapping relation library of preset tag types and grammar formats according to the types of the tags to be filled, and obtain the grammar format mapped by the tags to be filled;
in the embodiment of the present application, as an alternative embodiment, the syntax format includes, but is not limited to, a density syntax format. For each classified label, a corresponding grammar format is preset, and in the grammar format, information of the corresponding label is represented by a label variable name. In this way, in subsequent applications, the tag variable name may be replaced with a specific tag, thereby enabling the tag to have a grammatical format.
The grammar mapping module 303 is configured to update the tag variable name in the obtained grammar format to the tag to be filled, so as to obtain a grammar editing tag with the grammar format;
the template generating module 304 is configured to fill the grammar editing tag into the to-be-filled area to generate a document template.
In this embodiment, as an optional embodiment, the template generating module 304 is specifically configured to:
filling the grammar editing tag into the region to be filled;
traversing each to-be-filled area in the blank document template, and determining that each to-be-filled area is filled with a corresponding grammar editing tag to obtain the document template.
In an embodiment of the present application, as an optional embodiment, the apparatus further includes:
a label customizing module (not shown in the figure) for receiving a customized label from a user, and inquiring the label library according to the label identification of the customized label;
if the custom tag is not stored in the tag library, storing the custom tag and a data source corresponding to the custom tag into the tag library.
In this embodiment of the present application, as an optional embodiment, the storing the custom tag and the data source corresponding to the custom tag to the tag library includes:
extracting keywords contained in a data source corresponding to the custom tag;
according to the extracted keywords, calculating the similarity of the keywords corresponding to each classified label sub-library in the label library, and obtaining the classified label sub-library with the highest similarity;
and classifying the custom tags into the classified tag sub-library with the highest similarity.
In the embodiment of the application, the classification label sub-library is identified by one or more keywords. As an alternative embodiment, the categorization label sub-library comprises: structured label sub-libraries, unstructured label sub-libraries and text label sub-libraries.
In this embodiment of the present application, as another optional embodiment, the tag customization module is specifically further configured to:
if the label library stores the labels identical to the customized labels, displaying the stored labels and the data sources corresponding to the labels;
and receiving a renamed tag obtained by renaming the customized tag according to the displayed tag and a data source corresponding to the tag by the user, determining that the tag library does not store the tag identical to the renamed tag, and storing the renamed tag and the data source corresponding to the renamed tag into the tag library.
In the embodiment of the application, the label information of the customized label is used for searching, the search result is listed, and the user can decide whether to continue to create a new label or select an original label according to the search result.
In an embodiment of the present application, as another optional embodiment, the apparatus further includes:
a template loading module (not shown in the figure) for receiving a document editing request and loading a target document template corresponding to the document editing request;
the target label acquisition module is used for reading the hierarchical catalogue in the target document template and acquiring a target label under the hierarchical catalogue;
and the document generation module is used for acquiring the data source mapped by the target tag and filling the position corresponding to the target tag according to the acquired data source so as to generate a document.
In this embodiment of the present application, as an optional embodiment, the tag is a structured tag, and the document generating module is specifically configured to:
displaying data in a structured data source corresponding to the structured tag;
and receiving data selected by a user according to the structured data source, and filling the selected data according to the corresponding relation between the data field names and the target labels.
In this embodiment of the present application, as another optional embodiment, the tag is an unstructured tag, and the document generating module is specifically configured to:
displaying data in an unstructured data source corresponding to the unstructured label;
receiving data selected by a user according to an unstructured data source, and inquiring a file stream of the data file by taking a data file identifier corresponding to the selected data as an inquiry condition;
filling the file stream to the position of the unstructured label.
In this embodiment of the present application, as yet another optional embodiment, the tag is a text tag, and the document generating module is specifically configured to:
displaying a text box or a text field corresponding to the text label;
receiving text content input by a user in the text box or text field, and filling the received text content to the position of the text label;
adjusting the area size of the text box or text field according to the text content input by the user in the text box or text field;
and acquiring the text box or text field of the text content which is not input by the user, and processing the text box or text field of the text content which is not input according to a preset strategy.
As shown in fig. 4, an embodiment of the present application provides a computer device 400 for executing the method for generating a document template in fig. 1, where the device includes a memory 401, a processor 402, and a computer program stored in the memory 401 and executable on the processor 402, where the steps of the method for generating a document template are implemented when the processor 402 executes the computer program.
Specifically, the above-described memory 401 and processor 402 can be general-purpose memories and processors, and are not particularly limited herein, and the above-described method of generating a document template can be performed when the processor 402 runs a computer program stored in the memory 401.
Corresponding to the method of generating a document template in fig. 1, the embodiments of the present application also provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the above-described method of generating a document template.
In particular, the storage medium can be a general-purpose storage medium, such as a removable disk, a hard disk, or the like, on which the computer program is executed to perform the above-described method of generating a document template.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments provided in the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
It should be noted that: like reference numerals and letters in the following figures denote like items, and thus once an item is defined in one figure, no further definition or explanation of it is required in the following figures, and furthermore, the terms "first," "second," "third," etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the foregoing examples are merely specific embodiments of the present application, and are not intended to limit the scope of the present application, but the present application is not limited thereto, and those skilled in the art will appreciate that while the foregoing examples are described in detail, the present application is not limited thereto. Any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or make equivalent substitutions for some of the technical features within the technical scope of the disclosure of the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the corresponding technical solutions. Are intended to be encompassed within the scope of this application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.