CN115828881A - Data template generation method, device, electronic device and storage medium - Google Patents
Data template generation method, device, electronic device and storage medium Download PDFInfo
- Publication number
- CN115828881A CN115828881A CN202211538591.9A CN202211538591A CN115828881A CN 115828881 A CN115828881 A CN 115828881A CN 202211538591 A CN202211538591 A CN 202211538591A CN 115828881 A CN115828881 A CN 115828881A
- Authority
- CN
- China
- Prior art keywords
- data template
- historical
- target
- historical data
- elements
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本申请提供一种数据模板生成方法、装置、电子设备及存储介质,涉及大数据领域。所述方法包括:接收用户端发送的数据模板生成请求,所述数据模板生成请求包括至少一个第一要素;根据所述数据模板生成请求获取至少一个历史数据模板,所述历史数据模板包括多个历史要素;根据所述至少一个历史数据模板和所述至少一个第一要素,生成目标数据模板,并向所述用户端发送所述目标数据模板。以上方案,可以根据用户的数据模板生成请求,参考已有的历史数据模板,生成新的数据模板,而不需要配置大量的历史数据模板,从而降低开发难度。
The present application provides a data template generation method, device, electronic equipment and storage medium, which relate to the field of big data. The method includes: receiving a data template generation request sent by a client, the data template generation request including at least one first element; acquiring at least one historical data template according to the data template generation request, the historical data template including multiple A historical element: generating a target data template according to the at least one historical data template and the at least one first element, and sending the target data template to the client. The above solution can generate a request according to the user's data template, refer to the existing historical data template, and generate a new data template, without configuring a large number of historical data templates, thereby reducing the difficulty of development.
Description
技术领域technical field
本申请涉及大数据领域,尤其涉及一种数据模板生成方法、装置、电子设备及存储介质。The present application relates to the field of big data, and in particular to a data template generation method, device, electronic equipment and storage medium.
背景技术Background technique
近年来,随着金融领域的快速发展,银行业面临诸多巨大的挑战。随着业务的扩展,越来越多的用户产生不同种类的要求,其中包括个人定制的需求,尤其在对数据进行导入导出操作时,用户对于数据模板的形式有个性化的需求,这种个性化定制带给用户多样的使用体验。In recent years, with the rapid development of the financial field, the banking industry is facing many huge challenges. With the expansion of business, more and more users have different kinds of requirements, including personal customization requirements, especially when importing and exporting data, users have personalized requirements for the form of data templates. Customized to bring users a variety of experience.
在相关技术中,对已有的历史数据模板建立数据模板库,当接收到用户的数据模板生成请求时,检索数据模板库匹配得到符合数据模板生成请求的历史数据模板。这种方案需要配置大量的历史数据模板,才能根据用户的数据模板生成请求匹配到与之符合的历史数据模板,并且需要频繁更新数据模板库,导致开发难度高。In related technologies, a data template library is established for existing historical data templates, and when a user's data template generation request is received, the data template library is searched for matching to obtain a historical data template that meets the data template generation request. This solution needs to configure a large number of historical data templates to match the matching historical data templates according to the user's data template generation request, and needs to update the data template library frequently, making development difficult.
发明内容Contents of the invention
本申请提供一种数据模板生成方法、装置、电子设备及存储介质,用于降低数据模板生成的开发难度。The present application provides a data template generation method, device, electronic equipment and storage medium, which are used to reduce the development difficulty of data template generation.
第一方面,本申请提供一种数据模板生成方法,包括:接收用户端发送的数据模板生成请求,所述数据模板生成请求包括至少一个第一要素;根据所述数据模板生成请求获取至少一个历史数据模板,所述历史数据模板包括多个历史要素;根据所述至少一个历史数据模板和所述至少一个第一要素,生成目标数据模板,并向所述用户端发送所述目标数据模板。In a first aspect, the present application provides a method for generating a data template, including: receiving a data template generation request sent by a client, the data template generation request including at least one first element; obtaining at least one history according to the data template generation request A data template, wherein the historical data template includes a plurality of historical elements; a target data template is generated according to the at least one historical data template and the at least one first element, and the target data template is sent to the client.
在一种可能的实施方式中,根据所述至少一个历史数据模板和所述至少一个第一要素,生成目标数据模板,包括:若所述至少一个历史数据模板中存在目标历史数据模板,则将所述目标历史数据模板确定为所述目标数据模板,所述目标历史数据模板中包括的历史要素与所述至少一个第一要素相同;若所述至少一个历史数据模板中不存在所述目标历史数据模板,则根据所述至少一个历史数据模板中的历史要素,确定至少一个必要要素组,并根据所述至少一个必要要素组和所述至少一个第一要素,生成所述目标数据模板,所述必要要素组中的各必要要素之间存在运算逻辑。In a possible implementation manner, generating a target data template according to the at least one historical data template and the at least one first element includes: if a target historical data template exists in the at least one historical data template, generating The target historical data template is determined as the target data template, and the historical elements included in the target historical data template are the same as the at least one first element; if the target history does not exist in the at least one historical data template data template, then determine at least one necessary element group according to the historical elements in the at least one historical data template, and generate the target data template according to the at least one necessary element group and the at least one first element, so There is operation logic between each necessary element in the above-mentioned necessary element group.
在一种可能的实施方式中,根据所述至少一个必要要素组和所述至少一个第一要素,生成所述目标数据模板,包括:将所述至少一个第一要素分别与每个必要要素组进行匹配处理,以判断所述至少一个必要要素组中是否存在目标必要要素组,所述至少一个第一要素中包括所述目标必要要素组中的必要要素;若确定所述至少一个必要要素组中存在所述目标必要要素组,则根据所述至少一个第一要素,生成所述目标数据模板。In a possible implementation manner, generating the target data template according to the at least one necessary element group and the at least one first element includes: combining the at least one first element with each necessary element group Perform matching processing to determine whether there is a target necessary element group in the at least one necessary element group, and the at least one first element includes the necessary elements in the target necessary element group; if it is determined that the at least one necessary element group If the target necessary element group exists in the target element, the target data template is generated according to the at least one first element.
在一种可能的实施方式中,根据所述至少一个第一要素,生成所述目标数据模板,包括:确定所述至少一个第一要素的拼接方式;按照所述拼接方式,对所述至少一个第一要素进行拼接处理,得到所述目标数据模板。In a possible implementation manner, generating the target data template according to the at least one first element includes: determining a concatenation mode of the at least one first element; The first element is spliced to obtain the target data template.
在一种可能的实施方式中,所述方法还包括:若所述至少一个第一要素中存在第一必要要素组中的部分必要要素,则向所述用户端发送第一提示信息,所述第一提示信息中包括所述第一必要要素组,所述第一提示信息还用于指示用户输入的要素缺失;若所述至少一个第一要素中不存在必要要素,则向所述用户端发送第二提示信息,所述第二提示信息用于指示数据模板生成失败。In a possible implementation manner, the method further includes: if there are some necessary elements in the first necessary element group in the at least one first element, sending first prompt information to the user terminal, the The first prompt information includes the first necessary element group, and the first prompt information is also used to indicate that the elements input by the user are missing; if there is no necessary element in the at least one first element, the user terminal Sending second prompt information, where the second prompt information is used to indicate that the generation of the data template fails.
在一种可能的实施方式中,针对所述至少一个历史数据模板中的任意一个历史数据模板;根据所述历史数据模板中的历史要素,确定所述历史数据模板对应的必要要素组,包括:确定所述历史数据模板中各历史要素之间的目标运算逻辑;根据所述历史数据模板中各历史要素之间的目标运算逻辑,在所述历史数据模板的多个历史要素中确定所述历史数据模板对应的必要要素组。In a possible implementation manner, for any one of the at least one historical data template; according to the historical elements in the historical data template, determining the necessary element group corresponding to the historical data template includes: Determine the target operation logic among the historical elements in the historical data template; according to the target operation logic between the historical elements in the historical data template, determine the historical data among multiple historical elements in the historical data template The required element group corresponding to the data template.
在一种可能的实施方式中,确定所述历史数据模板中各历史要素之间的目标运算逻辑,包括:在所述历史数据模板中确定多个待选运算逻辑;确定所述历史数据模板中各历史要素对应的多个历史数据;根据所述多个历史数据对所述待选运算逻辑进行验证处理,得到每个待选运算逻辑对应的验证结果;将验证结果为验证成功的待选运算逻辑确定为所述目标运算逻辑。In a possible implementation manner, determining the target operation logic among the historical elements in the historical data template includes: determining a plurality of candidate operation logics in the historical data template; a plurality of historical data corresponding to each historical element; perform verification processing on the candidate operation logic according to the plurality of historical data, and obtain a verification result corresponding to each candidate operation logic; use the verification result as a candidate operation successfully verified Logic is determined as the target operation logic.
第二方面,本申请提供一种数据模板生成装置,包括:接收模块,用于接收用户端发送的数据模板生成请求,所述数据模板生成请求包括至少一个第一要素;获取模块,用于根据所述数据模板生成请求获取至少一个历史数据模板,所述历史数据模板包括多个历史要素;生成模块,用于根据所述至少一个历史数据模板和所述至少一个第一要素,生成目标数据模板,并向所述用户端发送所述目标数据模板。In a second aspect, the present application provides a data template generation device, including: a receiving module, configured to receive a data template generation request sent by a client, where the data template generation request includes at least one first element; an acquisition module, configured to The data template generation request acquires at least one historical data template, and the historical data template includes a plurality of historical elements; a generation module is configured to generate a target data template according to the at least one historical data template and the at least one first element , and send the target data template to the client.
在一种可能的实施方式中,所述生成模块,具体用于若所述至少一个历史数据模板中存在目标历史数据模板,则将所述目标历史数据模板确定为所述目标数据模板,所述目标历史数据模板中包括的历史要素与所述至少一个第一要素相同;所述生成模块,具体还用于若所述至少一个历史数据模板中不存在所述目标历史数据模板,则根据所述至少一个历史数据模板中的历史要素,确定至少一个必要要素组,并根据所述至少一个必要要素组和所述至少一个第一要素,生成所述目标数据模板,所述必要要素组中的各必要要素之间存在运算逻辑。In a possible implementation manner, the generating module is specifically configured to, if a target historical data template exists in the at least one historical data template, determine the target historical data template as the target data template, the The historical elements included in the target historical data template are the same as the at least one first element; the generating module is specifically further configured to: if the target historical data template does not exist in the at least one historical data template, according to the historical elements in at least one historical data template, determine at least one necessary element group, and generate the target data template according to the at least one necessary element group and the at least one first element, each of the necessary element groups Operational logic exists between necessary elements.
在一种可能的实施方式中,所述生成模块,具体用于将所述至少一个第一要素分别与每个必要要素组进行匹配处理,以判断所述至少一个必要要素组中是否存在目标必要要素组,所述至少一个第一要素中包括所述目标必要要素组中的必要要素;所述生成模块,具体还用于若确定所述至少一个必要要素组中存在所述目标必要要素组,则根据所述至少一个第一要素,生成所述目标数据模板。In a possible implementation manner, the generation module is specifically configured to match the at least one first element with each necessary element group, so as to determine whether there is a target requirement in the at least one necessary element group. The element group, the at least one first element includes the necessary elements in the target necessary element group; the generating module is further configured to determine that the target necessary element group exists in the at least one necessary element group, Then, the target data template is generated according to the at least one first element.
在一种可能的实施方式中,所述生成模块,具体用于确定所述至少一个第一要素的拼接方式;所述生成模块,具体还用于按照所述拼接方式,对所述至少一个第一要素进行拼接处理,得到所述目标数据模板。In a possible implementation manner, the generating module is specifically configured to determine the splicing manner of the at least one first element; the generating module is specifically further configured to, according to the splicing manner, One element is spliced to obtain the target data template.
在一种可能的实施方式中,所述装置还包括:发送模块,用于若所述至少一个第一要素中存在第一必要要素组中的部分必要要素,则向所述用户端发送第一提示信息,所述第一提示信息中包括所述第一必要要素组,所述第一提示信息还用于指示用户输入的要素缺失;所述发送模块,还用于若所述至少一个第一要素中不存在必要要素,则向所述用户端发送第二提示信息,所述第二提示信息用于指示数据模板生成失败。In a possible implementation manner, the apparatus further includes: a sending module, configured to send the first Prompt information, the first prompt information includes the first necessary element group, the first prompt information is also used to indicate that the elements input by the user are missing; the sending module is also used to if the at least one first If there is no essential element among the elements, then send second prompt information to the client, where the second prompt information is used to indicate that the generation of the data template fails.
在一种可能的实施方式中,所述装置还包括:确定模块,用于确定所述历史数据模板中各历史要素之间的目标运算逻辑;所述确定模块,还用于根据所述历史数据模板中各历史要素之间的目标运算逻辑,在所述历史数据模板的多个历史要素中确定所述历史数据模板对应的必要要素组。In a possible implementation manner, the device further includes: a determination module, configured to determine the target operation logic among the historical elements in the historical data template; The target operation logic among the historical elements in the template determines the necessary element group corresponding to the historical data template among the multiple historical elements of the historical data template.
在一种可能的实施方式中,所述确定模块,具体用于在所述历史数据模板中确定多个待选运算逻辑;所述确定模块,具体还用于确定所述历史数据模板中各历史要素对应的多个历史数据;所述确定模块,具体还用于根据所述多个历史数据对所述待选运算逻辑进行验证处理,得到每个待选运算逻辑对应的验证结果;所述确定模块,具体还用于将验证结果为验证成功的待选运算逻辑确定为所述目标运算逻辑。In a possible implementation manner, the determining module is specifically configured to determine a plurality of operation logics to be selected in the historical data template; the determining module is specifically configured to determine each history A plurality of historical data corresponding to the elements; the determination module is specifically further configured to perform verification processing on the candidate operation logic according to the plurality of historical data, and obtain a verification result corresponding to each candidate operation logic; the determination The module is specifically further configured to determine the candidate operation logic whose verification result is a successful verification as the target operation logic.
第三方面,本申请提供一种电子设备,包括:处理器,以及与所述处理器通信连接的存储器;所述存储器存储计算机执行指令;所述处理器执行所述存储器存储的计算机执行指令,以实现第一方面中任一项所述的方法。In a third aspect, the present application provides an electronic device, including: a processor, and a memory communicatively connected to the processor; the memory stores computer-executable instructions; the processor executes the computer-executable instructions stored in the memory, To realize the method described in any one of the first aspect.
第四方面,本申请提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行如第一方面中任一项所述的方法。In a fourth aspect, the present application provides a computer-readable storage medium, wherein computer-executable instructions are stored in the computer-readable storage medium, and the computer-executable instructions are executed by a processor as described in any one of the first aspects. .
本申请提供的数据模板生成方法、装置、电子设备及存储介质,接收用户端发送的数据模板生成请求,所述数据模板生成请求包括至少一个第一要素;根据所述数据模板生成请求获取至少一个历史数据模板,所述历史数据模板包括多个历史要素;根据所述至少一个历史数据模板和所述至少一个第一要素,生成目标数据模板,并向所述用户端发送所述目标数据模板。以上方案,可以根据用户的数据模板生成请求,参考已有的历史数据模板,生成新的数据模板,而不需要配置大量的历史数据模板,从而降低开发难度。The data template generation method, device, electronic equipment, and storage medium provided by the present application receive a data template generation request sent by a client, and the data template generation request includes at least one first element; obtain at least one element according to the data template generation request A historical data template, the historical data template including a plurality of historical elements; generating a target data template according to the at least one historical data template and the at least one first element, and sending the target data template to the client. The above solution can generate a request according to the user's data template, refer to the existing historical data template, and generate a new data template, without configuring a large number of historical data templates, thereby reducing the difficulty of development.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application.
图1为本申请实施例提供的一种数据模板生成方法的应用场景示意图;FIG. 1 is a schematic diagram of an application scenario of a method for generating a data template provided in an embodiment of the present application;
图2为本申请实施例一提供的一种数据模板生成方法的流程示意图;FIG. 2 is a schematic flowchart of a method for generating a data template provided in Embodiment 1 of the present application;
图3为本申请实施例提供的生成目标数据模板示例;FIG. 3 is an example of generating a target data template provided by an embodiment of the present application;
图4为本申请实施例提供的确定运算逻辑示例;FIG. 4 is an example of the determination operation logic provided by the embodiment of the present application;
图5为本申请实施例二提供的一种数据模板生成装置的结构示例图;FIG. 5 is a structural example diagram of a data template generating device provided in Embodiment 2 of the present application;
图6为本申请实施例三提供的一种数据模板生成装置的装置框图;FIG. 6 is a device block diagram of a data template generating device provided in Embodiment 3 of the present application;
图7为本申请实施例四中提供的一种电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device provided in Embodiment 4 of the present application.
通过上述附图,已示出本申请明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本申请构思的范围,而是通过参考特定实施例为本领域技术人员说明本申请的概念。By means of the above drawings, specific embodiments of the present application have been shown, which will be described in more detail hereinafter. These drawings and text descriptions are not intended to limit the scope of the concept of the application in any way, but to illustrate the concept of the application for those skilled in the art by referring to specific embodiments.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本申请相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本申请的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present application as recited in the appended claims.
需要说明的是,本公开数据模板生成方法、装置、电子设备及存储介质可用于大数据领域。也可用于除大数据领域以外的任意领域。本公开数据模板生成方法、装置、电子设备及存储介质应用领域不作限定。It should be noted that the data template generation method, device, electronic equipment and storage medium of the present disclosure can be used in the field of big data. It can also be used in any field other than the field of big data. The application field of the disclosed data template generation method, device, electronic equipment and storage medium is not limited.
图1为本申请实施例提供的一种数据模板生成方法的应用场景示意图,结合图示的场景进行举例:用户端向服务器发送数据模板生成请求,生成请求中包括第一要素,服务器以历史数据模板中的历史要素的规律为依据,将第一要素生成目标数据模板,并向用户端发送目标数据模板。Figure 1 is a schematic diagram of an application scenario of a method for generating a data template provided by an embodiment of the present application. An example is given in conjunction with the illustrated scenario: the client sends a data template generation request to the server, the generation request includes the first element, and the server uses historical data Based on the laws of the historical elements in the template, the first element is used to generate a target data template, and the target data template is sent to the client.
下面以具体的实施例对本申请的技术方案以及本申请的技术方案进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。在本申请的描述中,除非另有明确的规定和限定,各术语应在本领域内做广义理解。下面将结合附图,对本申请的实施例进行描述。The technical solutions of the present application and the technical solutions of the present application will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. In the description of the present application, unless otherwise clearly specified and limited, each term should be interpreted in a broad sense within the field. Embodiments of the present application will be described below in conjunction with the accompanying drawings.
实施例一Embodiment one
图2为本申请实施例一提供的一种数据模板生成方法的流程示意图,该方法包括以下步骤:Fig. 2 is a schematic flow chart of a method for generating a data template provided in Embodiment 1 of the present application, and the method includes the following steps:
S201、接收用户端发送的数据模板生成请求,所述数据模板生成请求包括至少一个第一要素;S201. Receive a data template generation request sent by the client, where the data template generation request includes at least one first element;
举例来说,第一要素包括但不限于:本金、利率、利息、收入以及支出等类型。For example, the first element includes, but is not limited to: principal, interest rate, interest, income, and expenditure.
S202、根据所述数据模板生成请求获取至少一个历史数据模板,所述历史数据模板包括多个历史要素;S202. Obtain at least one historical data template according to the data template generation request, where the historical data template includes a plurality of historical elements;
S203、根据所述至少一个历史数据模板和所述至少一个第一要素,生成目标数据模板,并向所述用户端发送所述目标数据模板。S203. Generate a target data template according to the at least one historical data template and the at least one first element, and send the target data template to the client.
作为示例,该实施例的执行主体可以为数据模板生成装置,该数据模板生成装置的实现有多种。例如,可以为程序软件,也可以为存储有相关计算机程序的介质,例如,U盘等;或者,该装置还可以为集成或安装有相关计算机程序的实体设备,例如,芯片、智能终端、电脑、服务器等。As an example, the execution subject of this embodiment may be a data template generation device, and there are various implementations of the data template generation device. For example, it can be program software, or a medium that stores related computer programs, such as a USB flash drive, etc.; or, the device can also be an entity device that integrates or installs related computer programs, such as a chip, an intelligent terminal, a computer , server, etc.
在一个示例中,S203具体包括:若所述至少一个历史数据模板中存在目标历史数据模板,则将所述目标历史数据模板确定为所述目标数据模板,所述目标历史数据模板中包括的历史要素与所述至少一个第一要素相同;若所述至少一个历史数据模板中不存在所述目标历史数据模板,则根据所述至少一个历史数据模板中的历史要素,确定至少一个必要要素组,并根据所述至少一个必要要素组和所述至少一个第一要素,生成所述目标数据模板,所述必要要素组中的各必要要素之间存在运算逻辑。In one example, S203 specifically includes: if there is a target historical data template in the at least one historical data template, determining the target historical data template as the target data template, and the history included in the target historical data template The elements are the same as the at least one first element; if the target historical data template does not exist in the at least one historical data template, at least one necessary element group is determined according to the historical elements in the at least one historical data template, And generating the target data template according to the at least one necessary element group and the at least one first element, and there is an operation logic among the necessary elements in the necessary element group.
结合场景示例来说,每个历史数据模板中包括历史要素,若第一要素和任意一个历史数据模板中的历史要素一致,则可以直接将该历史数据模板作为目标数据模板。若第一要素和任意一个历史数据模板中的历史要素都不一致,则需要生成目标数据模板。可以理解,本申请可以生成目标数据模板,而不需要配置大量的历史数据模板。Referring to the scenario example, each historical data template includes historical elements, and if the first element is consistent with the historical elements in any historical data template, the historical data template can be directly used as the target data template. If the first element is inconsistent with any historical element in any historical data template, a target data template needs to be generated. It can be understood that the present application can generate target data templates without configuring a large number of historical data templates.
作为一种可实施的方式,如图3所示,图3为生成目标数据模板示例。根据数据模板生成请求,获取历史数据模板。判断历史数据模板中是否存在目标历史数据模板,若存在,则将目标历史数据模板作为目标数据模板。若不存在,则从历史数据模板中的历史要素中确定必要要素组,根据必要要素组生成目标数据模板。As an implementable manner, as shown in FIG. 3 , FIG. 3 is an example of generating a target data template. Generate a request based on the data template to obtain the historical data template. It is judged whether the target historical data template exists in the historical data template, and if it exists, the target historical data template is used as the target data template. If it does not exist, the necessary element group is determined from the historical elements in the historical data template, and the target data template is generated according to the necessary element group.
举例来说,以收入、支出以及余额要素作为必要要素组,必要要素组满足余额=收入-支出的运算逻辑,必要要素组中缺少任意一个要素都不能实现运算逻辑。For example, taking income, expenditure and balance elements as the necessary element group, the necessary element group satisfies the operation logic of balance=income-expenditure, and the operation logic cannot be realized without any element in the necessary element group.
基于以上实施方式,以历史数据模板作为依据生成目标数据模板,可以减少配置的历史数据模板的数量,从而降低开发难度。Based on the above implementation manners, generating the target data template based on the historical data template can reduce the number of configured historical data templates, thereby reducing development difficulty.
在一个示例中,根据所述至少一个必要要素组和所述至少一个第一要素,生成所述目标数据模板,包括:将所述至少一个第一要素分别与每个必要要素组进行匹配处理,以判断所述至少一个必要要素组中是否存在目标必要要素组,所述至少一个第一要素中包括所述目标必要要素组中的必要要素;若确定所述至少一个必要要素组中存在所述目标必要要素组,则根据所述至少一个第一要素,生成所述目标数据模板。In an example, generating the target data template according to the at least one necessary element group and the at least one first element includes: matching the at least one first element with each necessary element group, To judge whether there is a target essential element group in the at least one necessary element group, the at least one first element includes the necessary elements in the target essential element group; if it is determined that the at least one necessary element group exists in the The target necessary element group is to generate the target data template according to the at least one first element.
结合场景示例来说,若第一要素包括非必要要素:用户编号和修改时间,以及包括必要要素:收入、支出以及余额,必要要素组包括:收入、支出以及余额。则说明第一要素与必要要素组匹配,第一要素可以生成目标数据模板,根据第一要素,生成目标数据模板。In conjunction with the scenario example, if the first element includes non-essential elements: user number and modification time, and includes necessary elements: income, expenditure, and balance, the group of necessary elements includes: income, expenditure, and balance. It means that the first element matches the necessary element group, the first element can generate a target data template, and the target data template is generated according to the first element.
基于以上实施方式,必要要素组根据运算逻辑确定,以必要要素组作为依据生成目标数据模板的准确度更高。Based on the above embodiments, the necessary element group is determined according to the operation logic, and the accuracy of generating the target data template based on the necessary element group is higher.
在一个示例中,根据所述至少一个第一要素,生成所述目标数据模板,包括:确定所述至少一个第一要素的拼接方式;按照所述拼接方式,对所述至少一个第一要素进行拼接处理,得到所述目标数据模板。In an example, generating the target data template according to the at least one first element includes: determining a splicing method of the at least one first element; Splicing processing to obtain the target data template.
作为一种可实施的方式,将历史数据模板的历史要素的拼接顺序作为拼接方式,按照拼接方式对第一要素进行拼接处理。As an implementable manner, the splicing order of the historical elements of the historical data template is used as a splicing manner, and the splicing process is performed on the first element according to the splicing manner.
作为另一种可实施的方式,拼接方式由用户定制,数据模板生成请求中包括拼接方式。As another implementable manner, the splicing manner is customized by the user, and the splicing manner is included in the data template generation request.
作为另一种可实施的方式,随机生成拼接方式,按照随机生成的拼接方式对第一要素进行拼接处理。As another implementable manner, a splicing manner is randomly generated, and splicing processing is performed on the first element according to the randomly generated splicing manner.
基于以上实施方式,通过多种拼接方式对第一要素进行拼接,可以根据用户的需求实现定制化生成数据模板。Based on the above implementation manners, the first elements are spliced through various splicing methods, and a customized data template can be generated according to the needs of users.
在一个示例中,数据模板生成方法还包括:若所述至少一个第一要素中存在第一必要要素组中的部分必要要素,则向所述用户端发送第一提示信息,所述第一提示信息中包括所述第一必要要素组,所述第一提示信息还用于指示用户输入的要素缺失;若所述至少一个第一要素中不存在必要要素,则向所述用户端发送第二提示信息,所述第二提示信息用于指示数据模板生成失败。In an example, the method for generating a data template further includes: if there are some necessary elements in the first necessary element group in the at least one first element, sending first prompt information to the client, the first prompt The information includes the first necessary element group, and the first prompt information is also used to indicate that the element input by the user is missing; if there is no necessary element in the at least one first element, then send the second Prompt information, the second prompt information is used to indicate that the generation of the data template fails.
结合场景示例来说,若第一要素中包括必要要素:收入和余额,与必要要素组不匹配,必要要素组包括:收入、支出以及余额,则向客户端发送指示用户输入的要素缺失的信息,信息中包括缺少必要要素支出的内容。用户根据提示信息可以明确如何补充第一要素能够生成数据模板。若第一要素中只包括非必要要素:用户编号和修改时间,不能生成数据模板,则向用户端发送的第二提示信息指示数据模板生成失败。In conjunction with the scenario example, if the first element includes the necessary elements: income and balance, and does not match the necessary element group, the necessary element group includes: income, expenditure, and balance, then send a message indicating that the elements entered by the user are missing to the client , the information includes missing required element expenditures. According to the prompt information, the user can specify how to supplement the first element to generate a data template. If the first element only includes non-essential elements: user number and modification time, and the data template cannot be generated, the second prompt message sent to the client indicates that the generation of the data template failed.
基于以上实施方式,反馈给用户端的提示信息可以便于用户根据提示信息修改数据模板生成请求。Based on the above implementation manners, the prompt information fed back to the user terminal may facilitate the user to modify the data template generation request according to the prompt information.
在一个示例中,针对所述至少一个历史数据模板中的任意一个历史数据模板;根据所述历史数据模板中的历史要素,确定所述历史数据模板对应的必要要素组,包括:确定所述历史数据模板中各历史要素之间的目标运算逻辑;根据所述历史数据模板中各历史要素之间的目标运算逻辑,在所述历史数据模板的多个历史要素中确定所述历史数据模板对应的必要要素组。In an example, for any one of the at least one historical data template; according to the historical elements in the historical data template, determining the necessary element group corresponding to the historical data template includes: determining the historical The target operation logic between the historical elements in the data template; according to the target operation logic between the historical elements in the historical data template, determine the corresponding value of the historical data template among the multiple historical elements of the historical data template Required element group.
结合场景示例来说,将符合运算逻辑的历史要素作为必要要素组,针对一个历史数据模板确定必要要素组,不同的历史数据模板对应不同的应用场景,不同应用场景下的历史要素不能通过运算逻辑建立联系。Combined with the scenario example, the historical elements that conform to the operation logic are used as the necessary element group, and the necessary element group is determined for a historical data template. Different historical data templates correspond to different application scenarios, and historical elements in different application scenarios cannot pass through the operation logic. build connection.
基于以上实施方式,以运算逻辑作为依据,可以准确区分必要元素和非必要元素,从而提升确定必要要素组的准确度。Based on the above implementation manners, based on the operation logic, necessary elements and non-essential elements can be accurately distinguished, thereby improving the accuracy of determining the necessary element group.
进一步的,在一个示例中,确定所述历史数据模板中各历史要素之间的目标运算逻辑,包括:在所述历史数据模板中确定多个待选运算逻辑;确定所述历史数据模板中各历史要素对应的多个历史数据;根据所述多个历史数据对所述待选运算逻辑进行验证处理,得到每个待选运算逻辑对应的验证结果;将验证结果为验证成功的待选运算逻辑确定为所述目标运算逻辑。Further, in an example, determining the target operation logic among the historical elements in the historical data template includes: determining a plurality of candidate operation logics in the historical data template; determining each A plurality of historical data corresponding to the historical elements; verifying the candidate operation logic according to the plurality of historical data to obtain a verification result corresponding to each candidate operation logic; Determine the operation logic for the target.
作为一种可实施的方式,如图4所示,图4为确定运算逻辑示例。从历史数据模板中初步确定待选运算逻辑,待选运算逻辑通过部分数据确定得到。通过全部历史数据对待选运算逻辑进行验证,若超过预设百分比数量的历史数据验证通过,则将待选运算逻辑作为目标运算逻辑。As an implementable manner, as shown in FIG. 4 , FIG. 4 is an example of determining operation logic. The operation logic to be selected is preliminarily determined from the historical data template, and the operation logic to be selected is determined through partial data. The to-be-selected operation logic is verified through all historical data, and if the verification of the historical data exceeding the preset percentage is passed, the to-be-selected operation logic is used as the target operation logic.
结合场景示例来说,若部分历史数据中存在错误,则存在错误的历史数据验证不通过,因此设置百分比数量作为验证的目标。In combination with the scenario example, if there are errors in some of the historical data, the historical data with errors will fail the verification, so set the percentage amount as the verification target.
基于以上实施方式,通过历史数据验证得到目标运算逻辑,准确度更高。Based on the above embodiments, the target operation logic is obtained through historical data verification, and the accuracy is higher.
本实施例提供的数据模板生成方法中,接收用户端发送的数据模板生成请求,所述数据模板生成请求包括至少一个第一要素;根据所述数据模板生成请求获取至少一个历史数据模板,所述历史数据模板包括多个历史要素;根据所述至少一个历史数据模板和所述至少一个第一要素,生成目标数据模板,并向所述用户端发送所述目标数据模板。以上方案,可以根据用户的数据模板生成请求,参考已有的历史数据模板,生成新的数据模板,而不需要配置大量的历史数据模板,从而降低开发难度。In the data template generation method provided in this embodiment, the data template generation request sent by the client is received, and the data template generation request includes at least one first element; at least one historical data template is obtained according to the data template generation request, and the The historical data template includes a plurality of historical elements; a target data template is generated according to the at least one historical data template and the at least one first element, and the target data template is sent to the client. The above solution can generate a request according to the user's data template, refer to the existing historical data template, and generate a new data template, without configuring a large number of historical data templates, thereby reducing the difficulty of development.
实施例二Embodiment two
图5为本申请实施例二提供的一种数据模板生成装置的结构示意图,如图5所示,所述数据模板生成装置包括:FIG. 5 is a schematic structural diagram of a data template generating device provided in Embodiment 2 of the present application. As shown in FIG. 5, the data template generating device includes:
接收模块61,用于接收用户端发送的数据模板生成请求,所述数据模板生成请求包括至少一个第一要素;The receiving
举例来说,第一要素包括但不限于:本金、利率、利息、收入以及支出等类型。For example, the first element includes, but is not limited to: principal, interest rate, interest, income, and expenditure.
获取模块62,用于根据所述数据模板生成请求获取至少一个历史数据模板,所述历史数据模板包括多个历史要素;An
生成模块63,用于根据所述至少一个历史数据模板和所述至少一个第一要素,生成目标数据模板,并向所述用户端发送所述目标数据模板。The generating
在一个示例中,生成模块63,具体用于若所述至少一个历史数据模板中存在目标历史数据模板,则将所述目标历史数据模板确定为所述目标数据模板,所述目标历史数据模板中包括的历史要素与所述至少一个第一要素相同;生成模块63,具体还用于若所述至少一个历史数据模板中不存在所述目标历史数据模板,则根据所述至少一个历史数据模板中的历史要素,确定至少一个必要要素组,并根据所述至少一个必要要素组和所述至少一个第一要素,生成所述目标数据模板,所述必要要素组中的各必要要素之间存在运算逻辑。In an example, the generating
结合场景示例来说,每个历史数据模板中包括历史要素,若第一要素和任意一个历史数据模板中的历史要素一致,则可以直接将该历史数据模板作为目标数据模板。若第一要素和任意一个历史数据模板中的历史要素都不一致,则需要生成目标数据模板。可以理解,本申请可以生成目标数据模板,而不需要配置大量的历史数据模板。Referring to the scenario example, each historical data template includes historical elements, and if the first element is consistent with the historical elements in any historical data template, the historical data template can be directly used as the target data template. If the first element is inconsistent with any historical element in any historical data template, a target data template needs to be generated. It can be understood that the present application can generate target data templates without configuring a large number of historical data templates.
作为一种可实施的方式,如图3所示,图3为生成目标数据模板示例。根据数据模板生成请求,获取历史数据模板。判断历史数据模板中是否存在目标历史数据模板,若存在,则将目标历史数据模板作为目标数据模板。若不存在,则从历史数据模板中的历史要素中确定必要要素组,根据必要要素组生成目标数据模板。As an implementable manner, as shown in FIG. 3 , FIG. 3 is an example of generating a target data template. Generate a request based on the data template to obtain the historical data template. It is judged whether the target historical data template exists in the historical data template, and if it exists, the target historical data template is used as the target data template. If it does not exist, the necessary element group is determined from the historical elements in the historical data template, and the target data template is generated according to the necessary element group.
举例来说,以收入、支出以及余额要素作为必要要素组,必要要素组满足余额=收入-支出的运算逻辑,必要要素组中缺少任意一个要素都不能实现运算逻辑。For example, taking income, expenditure and balance elements as the necessary element group, the necessary element group satisfies the operation logic of balance=income-expenditure, and the operation logic cannot be realized without any element in the necessary element group.
基于以上实施方式,以历史数据模板作为依据生成目标数据模板,可以减少配置的历史数据模板的数量,从而降低开发难度。Based on the above implementation manners, generating the target data template based on the historical data template can reduce the number of configured historical data templates, thereby reducing development difficulty.
在一个示例中,生成模块63,具体用于将所述至少一个第一要素分别与每个必要要素组进行匹配处理,以判断所述至少一个必要要素组中是否存在目标必要要素组,所述至少一个第一要素中包括所述目标必要要素组中的必要要素;生成模块63,具体还用于若确定所述至少一个必要要素组中存在所述目标必要要素组,则根据所述至少一个第一要素,生成所述目标数据模板。In an example, the generating
结合场景示例来说,若第一要素包括非必要要素:用户编号和修改时间,以及包括必要要素:收入、支出以及余额,必要要素组包括:收入、支出以及余额。则说明第一要素与必要要素组匹配,第一要素可以生成目标数据模板,根据第一要素,生成目标数据模板。In conjunction with the scenario example, if the first element includes non-essential elements: user number and modification time, and includes necessary elements: income, expenditure, and balance, the group of necessary elements includes: income, expenditure, and balance. It means that the first element matches the necessary element group, the first element can generate a target data template, and the target data template is generated according to the first element.
基于以上实施方式,必要要素组根据运算逻辑确定,以必要要素组作为依据生成目标数据模板的准确度更高。Based on the above embodiments, the necessary element group is determined according to the operation logic, and the accuracy of generating the target data template based on the necessary element group is higher.
在一个示例中,生成模块63,具体用于确定所述至少一个第一要素的拼接方式;生成模块63,具体还用于按照所述拼接方式,对所述至少一个第一要素进行拼接处理,得到所述目标数据模板。In an example, the generating
作为一种可实施的方式,将历史数据模板的历史要素的拼接顺序作为拼接方式,按照拼接方式对第一要素进行拼接处理。As an implementable manner, the splicing order of the historical elements of the historical data template is used as a splicing manner, and the splicing process is performed on the first element according to the splicing manner.
作为另一种可实施的方式,拼接方式由用户定制,数据模板生成请求中包括拼接方式。As another implementable manner, the splicing manner is customized by the user, and the splicing manner is included in the data template generation request.
作为另一种可实施的方式,随机生成拼接方式,按照随机生成的拼接方式对第一要素进行拼接处理。As another implementable manner, a splicing manner is randomly generated, and splicing processing is performed on the first element according to the randomly generated splicing manner.
基于以上实施方式,通过多种拼接方式对第一要素进行拼接,可以根据用户的需求实现定制化生成数据模板。Based on the above implementation manners, the first elements are spliced through various splicing methods, and a customized data template can be generated according to the needs of users.
在一个示例中,数据模板生成装置还包括:发送模块64,用于若所述至少一个第一要素中存在第一必要要素组中的部分必要要素,则向所述用户端发送第一提示信息,所述第一提示信息中包括所述第一必要要素组,所述第一提示信息还用于指示用户输入的要素缺失;发送模块64,还用于若所述至少一个第一要素中不存在必要要素,则向所述用户端发送第二提示信息,所述第二提示信息用于指示数据模板生成失败。In one example, the data template generation device further includes: a sending
结合场景示例来说,若第一要素中包括必要要素:收入和余额,与必要要素组不匹配,必要要素组包括:收入、支出以及余额,则向客户端发送指示用户输入的要素缺失的信息,信息中包括缺少必要要素支出的内容。用户根据提示信息可以明确如何补充第一要素能够生成数据模板。若第一要素中只包括非必要要素:用户编号和修改时间,不能生成数据模板,则向用户端发送的第二提示信息指示数据模板生成失败。In conjunction with the scenario example, if the first element includes the necessary elements: income and balance, and does not match the necessary element group, the necessary element group includes: income, expenditure, and balance, then send a message indicating that the elements entered by the user are missing to the client , the information includes missing required element expenditures. According to the prompt information, the user can specify how to supplement the first element to generate a data template. If the first element only includes non-essential elements: user number and modification time, and the data template cannot be generated, the second prompt message sent to the client indicates that the generation of the data template failed.
基于以上实施方式,反馈给用户端的提示信息可以便于用户根据提示信息修改数据模板生成请求。Based on the above implementation manners, the prompt information fed back to the user terminal may facilitate the user to modify the data template generation request according to the prompt information.
在一个示例中,数据模板生成装置还包括:确定模块65,用于确定所述历史数据模板中各历史要素之间的目标运算逻辑;确定模块65,还用于根据所述历史数据模板中各历史要素之间的目标运算逻辑,在所述历史数据模板的多个历史要素中确定所述历史数据模板对应的必要要素组。In one example, the data template generating device further includes: a
结合场景示例来说,将符合运算逻辑的历史要素作为必要要素组,针对一个历史数据模板确定必要要素组,不同的历史数据模板对应不同的应用场景,不同应用场景下的历史要素不能通过运算逻辑建立联系。Combined with the scenario example, the historical elements that conform to the operation logic are used as the necessary element group, and the necessary element group is determined for a historical data template. Different historical data templates correspond to different application scenarios, and historical elements in different application scenarios cannot pass through the operation logic. build connection.
基于以上实施方式,以运算逻辑作为依据,可以准确区分必要元素和非必要元素,从而提升确定必要要素组的准确度。Based on the above implementation manners, based on the operation logic, necessary elements and non-essential elements can be accurately distinguished, thereby improving the accuracy of determining the necessary element group.
进一步的,在一个示例中,确定模块65,具体用于在所述历史数据模板中确定多个待选运算逻辑;确定模块65,具体还用于确定所述历史数据模板中各历史要素对应的多个历史数据;确定模块65,具体还用于根据所述多个历史数据对所述待选运算逻辑进行验证处理,得到每个待选运算逻辑对应的验证结果;确定模块65,具体还用于将验证结果为验证成功的待选运算逻辑确定为所述目标运算逻辑。Further, in an example, the
作为一种可实施的方式,如图4所示,图4为确定运算逻辑示例。从历史数据模板中初步确定待选运算逻辑,待选运算逻辑通过部分数据确定得到。通过全部历史数据对待选运算逻辑进行验证,若超过预设百分比数量的历史数据验证通过,则将待选运算逻辑作为目标运算逻辑。As an implementable manner, as shown in FIG. 4 , FIG. 4 is an example of determining operation logic. The operation logic to be selected is preliminarily determined from the historical data template, and the operation logic to be selected is determined through partial data. The to-be-selected operation logic is verified through all historical data, and if the verification of the historical data exceeding the preset percentage is passed, the to-be-selected operation logic is used as the target operation logic.
结合场景示例来说,若部分历史数据中存在错误,则存在错误的历史数据验证不通过,因此设置百分比数量作为验证的目标。In combination with the scenario example, if there are errors in some of the historical data, the historical data with errors will fail the verification, so set the percentage amount as the verification target.
基于以上实施方式,通过历史数据验证得到目标运算逻辑,准确度更高。Based on the above embodiments, the target operation logic is obtained through historical data verification, and the accuracy is higher.
本实施例提供的数据模板生成装置中,接收模块,用于接收用户端发送的数据模板生成请求,所述数据模板生成请求包括至少一个第一要素;获取模块,用于根据所述数据模板生成请求获取至少一个历史数据模板,所述历史数据模板包括多个历史要素;生成模块,用于根据所述至少一个历史数据模板和所述至少一个第一要素,生成目标数据模板,并向所述用户端发送所述目标数据模板。以上方案,可以根据用户的数据模板生成请求,参考已有的历史数据模板,生成新的数据模板,而不需要配置大量的历史数据模板,从而降低开发难度。In the data template generation device provided in this embodiment, the receiving module is configured to receive a data template generation request sent by the client, and the data template generation request includes at least one first element; the acquisition module is configured to generate a data template according to the data template Request to acquire at least one historical data template, the historical data template includes a plurality of historical elements; a generating module, configured to generate a target data template according to the at least one historical data template and the at least one first element, and send to the The client sends the target data template. The above solution can generate a request according to the user's data template, refer to the existing historical data template, and generate a new data template, without configuring a large number of historical data templates, thereby reducing the difficulty of development.
实施例三Embodiment three
图6是根据一示例性实施例示出的一种数据模板生成装置的装置框图,该装置可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。Fig. 6 is a block diagram of a device for generating a data template according to an exemplary embodiment, the device may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, or a fitness device , personal digital assistants, etc.
装置800可以包括以下一个或多个组件:处理组件802,存储器804,电源组件806,多媒体组件808,音频组件810,输入/输出接口812,传感器组件814,以及通信组件816。
处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The
存储器804被配置为存储各种类型的数据以支持在装置800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(Static Random-Access Memory,简称SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,简称EEPROM),可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,简称EPROM),可编程只读存储器(Programmable Read-Only Memory,简称PROM),只读存储器(Read-Only Memory,简称ROM),磁存储器,快闪存储器,磁盘或光盘。The
电源组件806为装置800的各种组件提供电力。电源组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。The
多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(Liquid Crystal Display,简称LCD)和触摸面板(Touch Panel,简称TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当装置800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。The
音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(Microphone,简称MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。The
输入/输出接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The input/
传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到装置800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如互补金属氧化物半导体(Complementary Metal Oxide Semiconductor,简称CMOS)图像传感器或电荷耦合元件(Charge-coupled Device,简称CCD),用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如WiFi,第二代移动通信技术(2nd-GenerationCommunication Technology,简称2G),第三代移动通信技术(3rd-GenerationCommunication Technology,简称3G),第四代移动通信技术(4th-GenerationCommunication Technology,简称4G)或第五代移动通信技术(5th-GenerationCommunication Technology,简称5G)或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(Near Field Communication,简称NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(Radio Frequency Identification,简称RFID)技术,红外数据协会(Infrared Data Association,简称IrDA)技术,超宽带(UltraWide Band,简称UWB)技术,蓝牙(Bluetooth,简称BT)技术和其他技术来实现。The
在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ApplicationSpecific Integrated Circuit,简称ASIC)、数字信号处理器(Digital Signal Process,简称DSP)、数字信号处理设备(Digital Signal Process Device,简称DSPD)、可编程逻辑器件(Programmable Logic Device,简称PLD)、现场可编程门阵列(Field ProgrammableGate Array,简称FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。In an exemplary embodiment, the
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(Random Access Memory,简称RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium including instructions, such as the
实施例四Embodiment four
图7为本申请实施例中提供的一种电子设备的结构示意图,如图7所示,该电子设备包括:FIG. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present application. As shown in FIG. 7, the electronic device includes:
处理器(processor)291,电子设备还包括了存储器(memory)292;还可以包括通信接口(Communication Interface)293和总线294。其中,处理器291、存储器292、通信接口293、可以通过总线294完成相互间的通信。通信接口293可以用于信息传输。处理器291可以调用存储器292中的逻辑指令,以执行上述实施例的方法。A processor (processor) 291 , the electronic device also includes a memory (memory) 292 ; it may also include a communication interface (Communication Interface) 293 and a
此外,上述的存储器292中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the above-mentioned logic instructions in the
存储器292作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本申请实施例中的方法对应的程序指令/模块。处理器291通过运行存储在存储器292中的软件程序、指令以及模块,从而执行功能应用以及数据处理,即实现上述方法实施例中的方法。The
存储器292可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据终端设备的使用所创建的数据等。此外,存储器292可以包括高速随机存取存储器,还可以包括非易失性存储器。The
本申请实施例提供一种非临时性计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,所述计算机执行指令被处理器执行时用于实现如前述实施例所述的方法。An embodiment of the present application provides a non-transitory computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the computer-executable instructions are executed by a processor, they are used to implement the above-mentioned embodiments. method.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求书指出。Other embodiments of the present application will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the application, these modifications, uses or adaptations follow the general principles of the application and include common knowledge or conventional technical means in the technical field not disclosed in the application . The specification and examples are to be considered exemplary only, with a true scope and spirit of the application indicated by the following claims.
需要说明的是,本申请所涉及的用户信息(包括但不限于用户设备信息、用户个人信息等)和数据(包括但不限于用于分析的数据、存储的数据、展示的数据等),均为经用户授权或者经过各方充分授权的信息和数据,并且相关数据的收集、使用和处理需要遵守相关国家和地区的相关法律法规和标准,并提供有相应的操作入口,供用户选择授权或者拒绝。It should be noted that the user information (including but not limited to user equipment information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all It is information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of the relevant countries and regions, and provide corresponding operation entrances for users to choose authorization or reject.
应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求书来限制。It should be understood that the present application is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211538591.9A CN115828881B (en) | 2022-12-02 | 2022-12-02 | Data template generation method, apparatus, electronic device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211538591.9A CN115828881B (en) | 2022-12-02 | 2022-12-02 | Data template generation method, apparatus, electronic device and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN115828881A true CN115828881A (en) | 2023-03-21 |
| CN115828881B CN115828881B (en) | 2025-12-02 |
Family
ID=85544949
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211538591.9A Active CN115828881B (en) | 2022-12-02 | 2022-12-02 | Data template generation method, apparatus, electronic device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115828881B (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116362220A (en) * | 2023-03-31 | 2023-06-30 | 广州品唯软件有限公司 | A use case generation method, device, device and storage medium |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012166071A1 (en) * | 2011-05-31 | 2012-12-06 | Echostar Ukraine, L.L.C. | Apparatus, systems and methods for optimizing graphical user interfaces based on user selection history |
| CN103581212A (en) * | 2012-07-18 | 2014-02-12 | 百度在线网络技术(北京)有限公司 | Automatic form filling method, system and device based on cloud analysis |
| WO2016073479A1 (en) * | 2014-11-03 | 2016-05-12 | Automated Clinical Guidelines, Llc | Method and platform/system for creating a web-based form that incorporates an embedded knowledge base, wherein the form provides automatic feedback to a user during and following completion of the form |
| CN111190882A (en) * | 2019-12-03 | 2020-05-22 | 泰康保险集团股份有限公司 | Target template creating method and device, electronic equipment and storage medium |
| US20210004862A1 (en) * | 2019-07-02 | 2021-01-07 | Bsi Business Systems Integration Ag | Campaign management system - test mode |
| CN113486641A (en) * | 2021-06-29 | 2021-10-08 | 平安信托有限责任公司 | Method, device and equipment for generating product report template and storage medium |
| US20210390133A1 (en) * | 2020-06-12 | 2021-12-16 | Beijing Baidu Netcom Science Technology Co., Ltd. | Method, apparatus and electronic device for annotating information of structured document |
-
2022
- 2022-12-02 CN CN202211538591.9A patent/CN115828881B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2012166071A1 (en) * | 2011-05-31 | 2012-12-06 | Echostar Ukraine, L.L.C. | Apparatus, systems and methods for optimizing graphical user interfaces based on user selection history |
| CN103581212A (en) * | 2012-07-18 | 2014-02-12 | 百度在线网络技术(北京)有限公司 | Automatic form filling method, system and device based on cloud analysis |
| WO2016073479A1 (en) * | 2014-11-03 | 2016-05-12 | Automated Clinical Guidelines, Llc | Method and platform/system for creating a web-based form that incorporates an embedded knowledge base, wherein the form provides automatic feedback to a user during and following completion of the form |
| US20210004862A1 (en) * | 2019-07-02 | 2021-01-07 | Bsi Business Systems Integration Ag | Campaign management system - test mode |
| CN111190882A (en) * | 2019-12-03 | 2020-05-22 | 泰康保险集团股份有限公司 | Target template creating method and device, electronic equipment and storage medium |
| US20210390133A1 (en) * | 2020-06-12 | 2021-12-16 | Beijing Baidu Netcom Science Technology Co., Ltd. | Method, apparatus and electronic device for annotating information of structured document |
| CN113486641A (en) * | 2021-06-29 | 2021-10-08 | 平安信托有限责任公司 | Method, device and equipment for generating product report template and storage medium |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN116362220A (en) * | 2023-03-31 | 2023-06-30 | 广州品唯软件有限公司 | A use case generation method, device, device and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115828881B (en) | 2025-12-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP3133528A1 (en) | Method and apparatus for fingerprint identification | |
| EP3200125A1 (en) | Fingerprint template input method and device | |
| US20170185988A1 (en) | Mpayment method and apparatus | |
| CN113807253B (en) | Face recognition method and device, electronic device and storage medium | |
| CN107798309A (en) | Fingerprint input method, device and computer-readable recording medium | |
| EP3016349A1 (en) | Method and apparatus for verifying terminal and computer program product | |
| CN111371837B (en) | Function presenting method, function presenting device, and storage medium | |
| CN110704030A (en) | Interface configuration information generation method and device, electronic equipment and storage medium | |
| CN105183571A (en) | Function calling method and device | |
| CN107330391A (en) | Product information reminding method and device | |
| CN107145771B (en) | Application unlocking method, device and terminal | |
| CN113869295B (en) | Object detection method and device, electronic equipment and storage medium | |
| CN115828881A (en) | Data template generation method, device, electronic device and storage medium | |
| CN107784211A (en) | Method of password authentication and device | |
| US12147727B2 (en) | Method and apparatus for processing multimedia data, and storage medium | |
| CN113885713B (en) | A method and device for generating handwritten formula | |
| CN113778385B (en) | Component registration method, device, terminal and storage medium | |
| CN106712960B (en) | Processing method and device of verification code information | |
| CN116567057A (en) | Application configuration method, device, equipment and storage medium | |
| RU2645590C2 (en) | Data processing means and method | |
| CN110490285B (en) | Method, device and storage medium for simulating card | |
| CN106383915A (en) | Label processing method and device, and terminal | |
| CN119397994B (en) | On-chip network verification method, device, electronic device and readable storage medium | |
| CN111104297B (en) | Multi-process data dotting method and device, electronic equipment and storage medium | |
| CN107526683A (en) | Detection method, device and the storage medium of function of application redundancy |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |
