CN115757336A - Data processing method, apparatus, device, medium, and program product - Google Patents
Data processing method, apparatus, device, medium, and program product Download PDFInfo
- Publication number
- CN115757336A CN115757336A CN202211410112.5A CN202211410112A CN115757336A CN 115757336 A CN115757336 A CN 115757336A CN 202211410112 A CN202211410112 A CN 202211410112A CN 115757336 A CN115757336 A CN 115757336A
- Authority
- CN
- China
- Prior art keywords
- protocol
- version
- identifier
- agreement
- identification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本申请提供一种数据处理方法、装置、设备、介质和程序产品,涉及金融科技技术领域,该方法包括:获取与用户关联的协议标识,在预设协议规则配置信息表中确定出当前协议版本,根据协议标识和当前协议版本,在预设协议版本配置信息表中查询得到协议文本标识,根据协议标识、协议文本标识,在预设协议文本配置表中获取协议内容信息,获取用户根据协议内容信息输入的确认信息,并根据协议内容信息和确认信息,生成区块链交易标识,确认信息至少包括用户标识和协议确认日期,将用户标识、协议标识、当前协议版本、协议确认日期和区块链交易标识关联存储至预设协议签订信息表。该技术方案可以避免用户签订低版本协议,提高协议签订的准确性。
The present application provides a data processing method, device, device, medium and program product, which relate to the technical field of financial technology. The method includes: obtaining the protocol identification associated with the user, and determining the current protocol version in the preset protocol rule configuration information table , according to the protocol identifier and the current protocol version, query the protocol text identifier in the preset protocol version configuration information table, obtain the protocol content information in the preset protocol text configuration table according to the protocol identifier and protocol text identifier, and obtain the The confirmation information of the information input, and according to the agreement content information and confirmation information, generate a block chain transaction identification, the confirmation information includes at least the user identification and the agreement confirmation date, and the user identification, agreement identification, current agreement version, agreement confirmation date and block The chain transaction identifier is associated and stored in the default agreement signing information table. This technical solution can prevent users from signing low-version agreements and improve the accuracy of agreement signing.
Description
技术领域technical field
本申请涉及金融科技技术领域,尤其涉及一种数据处理方法、装置、设备、介质和程序产品。The present application relates to the technical field of financial technology, and in particular to a data processing method, device, equipment, medium and program product.
背景技术Background technique
目前用户在网上渠道进行业务办理前,通常会签署一份协议文件,用于展示一些各方面的条款要求,通过与用户的协议签订,代表用户知晓了协议内容,达成用户与服务提供方的协议。At present, users usually sign an agreement document before conducting business through online channels, which is used to show the terms and conditions of some aspects. By signing an agreement with the user, it means that the user knows the content of the agreement and reaches an agreement between the user and the service provider. .
现有技术中,在签订协议时,通常会记录协议内容、用户对于签订协议过程中提交的确定信息和签订日期等,在记录完毕之后这些协议相关信息都会保存起来。In the prior art, when signing an agreement, the content of the agreement, the confirmed information submitted by the user during the signing of the agreement, the date of signing, etc. are usually recorded. After the recording is completed, these agreement-related information will be saved.
但是,现有技术的这种方式,由于协议的版本迭代更新速度快,在新版本的协议发布之后,由于缺乏对新旧版本协议的辨识,用户在签订协议的过程中有可能签订版本低的协议,造成协议签订错误。However, in this way of the existing technology, due to the fast iterative update of the protocol version, after the release of the new version of the protocol, due to the lack of identification of the old and new versions of the protocol, users may sign an agreement with a lower version in the process of signing the agreement , resulting in an agreement signing error.
发明内容Contents of the invention
本申请提供一种数据处理方法、装置、设备、介质和程序产品,用于解决现有协议版本迭代更新速度快,用户容易签订低版本的协议,造成协议签订错误的问题。This application provides a data processing method, device, equipment, medium and program product, which are used to solve the problem that the iterative update speed of the existing agreement version is fast, and the user is easy to sign the agreement of the lower version, resulting in the wrong signing of the agreement.
第一方面,本申请实施例提供一种数据处理方法,包括:In the first aspect, the embodiment of the present application provides a data processing method, including:
在触发协议签订条件时,获取与用户关联的协议标识;When the conditions for signing an agreement are triggered, obtain the agreement identifier associated with the user;
在预设协议规则配置信息表中确定出所述协议标识关联的当前协议版本;Determine the current protocol version associated with the protocol identifier in the preset protocol rule configuration information table;
根据所述协议标识和当前协议版本,在预设协议版本配置信息表中查询得到与所述协议标识和当前协议版本关联的协议主体信息,所述协议主体信息至少包括有协议文本标识;According to the protocol identifier and the current protocol version, query the preset protocol version configuration information table to obtain the protocol subject information associated with the protocol identifier and the current protocol version, and the protocol subject information includes at least the protocol text identifier;
根据所述协议标识、协议文本标识,在预设协议文本配置表中获取与所述协议标识和协议文本标识关联的协议内容信息;Obtain the protocol content information associated with the protocol identifier and the protocol text identifier in the preset protocol text configuration table according to the protocol identifier and the protocol text identifier;
获取用户根据所述协议内容信息输入的确认信息,并根据所述协议内容信息和所述确认信息,生成区块链交易标识,所述确认信息至少包括用户标识和协议确认日期;Obtain the confirmation information input by the user according to the agreement content information, and generate a blockchain transaction identifier according to the agreement content information and the confirmation information, and the confirmation information includes at least the user identification and the agreement confirmation date;
将所述用户标识、协议标识、当前协议版本、协议确认日期和区块链交易标识关联存储至预设协议签订信息表。The user identification, agreement identification, current agreement version, agreement confirmation date and blockchain transaction identification are associated and stored in the preset agreement signing information table.
在第一方面的一种可能设计中,所述获取与用户关联的协议标识,包括:In a possible design of the first aspect, the acquiring the protocol identifier associated with the user includes:
响应于接收到用户的交易请求,从所述交易请求中获取交易标识;In response to receiving a transaction request from a user, obtain a transaction identifier from the transaction request;
根据所述交易标识,在预设交易与协议配置关系表中查询得到与所述交易标识对应的协议标识。According to the transaction identifier, the protocol identifier corresponding to the transaction identifier is obtained by querying the preset transaction and protocol configuration relationship table.
在第一方面的另一种可能设计中,所述方法还包括:In another possible design of the first aspect, the method further includes:
获取所述用户的用户标识;Obtain the user ID of the user;
根据所述用户标识和协议标识,确定所述预设协议签订信息表中是否存在有与所述用户标识和协议标识关联的历史区块链交易标识;According to the user identification and the agreement identification, determine whether there is a historical blockchain transaction identification associated with the user identification and the agreement identification in the preset agreement signing information table;
若所述预设协议签订信息表中存在有所述历史区块链交易标识,则在所述预设协议规则配置信息表中获取与所述协议标识关联的历史协议版本、当前协议版本和版本兼容标识;If the historical block chain transaction identifier exists in the preset agreement signing information table, the historical agreement version, current agreement version and version associated with the agreement identifier are obtained in the preset agreement rule configuration information table Compatibility logo;
根据与所述协议标识关联的历史协议版本、当前协议版本和版本兼容标识,确定是否满足触发所述协议签订条件。According to the historical protocol version associated with the protocol identifier, the current protocol version and the version compatibility identifier, determine whether the triggering condition for signing the agreement is met.
在第一方面的再一种可能设计中,所述触发协议签订条件,包括:In yet another possible design of the first aspect, the triggering conditions for signing an agreement include:
在所述历史协议版本与所述当前协议版本不相同且所述版本兼容标识表征所述历史协议版本与所述当前协议版本不兼容时,触发所述协议签订条件。When the historical protocol version is different from the current protocol version and the version compatibility flag indicates that the historical protocol version is incompatible with the current protocol version, the agreement signing condition is triggered.
在第一方面的又一种可能设计中,所述触发协议签订条件,包括:In yet another possible design of the first aspect, the triggering conditions for signing an agreement include:
若所述预设协议签订信息表中不存在有所述历史区块链交易标识,则触发所述协议签订条件。If the historical blockchain transaction identifier does not exist in the preset agreement signing information table, the agreement signing condition is triggered.
在第一方面的又一种可能设计中,所述方法还包括:In yet another possible design of the first aspect, the method further includes:
响应于与所述协议标识关联的协议版本更新请求,从所述协议版本更新请求中获取待更新协议版本的版本发布日期和版本兼容标识;In response to the protocol version update request associated with the protocol identifier, obtain the version release date and version compatibility identifier of the protocol version to be updated from the protocol version update request;
将待更新协议版本的版本发布日期和版本兼容标识关联更新至所述预设协议规则配置信息表。The release date of the protocol version to be updated and the version compatibility identifier are associated and updated to the preset protocol rule configuration information table.
在第一方面的又一种可能设计中,所述方法还包括:In yet another possible design of the first aspect, the method further includes:
获取与所述待更新协议版本关联的协议文本标识、协议生效日期、协议描述信息和协议发布对象的标识信息;Obtain the agreement text identification, agreement effective date, agreement description information and identification information of the agreement release object associated with the agreement version to be updated;
将所述协议文本标识、版本发布日期、协议生效日期、协议描述信息和协议发布对象的标识信息更新至所述预设协议版本配置信息表。Updating the protocol text identifier, version release date, protocol effective date, protocol description information, and protocol release object identification information to the preset protocol version configuration information table.
在第一方面的又一种可能设计中,所述方法包括:In yet another possible design of the first aspect, the method includes:
获取与所述待更新协议版本关联的协议内容信息;Obtain the protocol content information associated with the protocol version to be updated;
将所述协议文本标识、协议内容信息更新至所述预设协议文本配置表。Updating the protocol text identifier and protocol content information to the preset protocol text configuration table.
第二方面,本申请实施例提供一种数据处理装置,包括:In a second aspect, an embodiment of the present application provides a data processing device, including:
协议标识获取模块,用于在触发协议签订条件时,获取与用户关联的协议标识;The agreement identification acquisition module is used to obtain the agreement identification associated with the user when the agreement signing condition is triggered;
协议版本获取模块,用于在预设协议规则配置信息表中确定出所述协议标识关联的当前协议版本;A protocol version acquisition module, configured to determine the current protocol version associated with the protocol identifier in the preset protocol rule configuration information table;
协议信息获取模块,用于根据所述协议标识和当前协议版本,在预设协议版本配置信息表中查询得到与所述协议标识和当前协议版本关联的协议主体信息,所述协议主体信息至少包括有协议文本标识;The protocol information acquisition module is used to query the preset protocol version configuration information table to obtain the protocol subject information associated with the protocol identifier and the current protocol version according to the protocol identifier and the current protocol version, and the protocol subject information includes at least There is an agreement text mark;
协议内容获取模块,用于根据所述协议标识、协议文本标识,在预设协议文本配置表中获取与所述协议标识和协议文本标识关联的协议内容信息;A protocol content acquisition module, configured to acquire protocol content information associated with the protocol identifier and the protocol text identifier in the preset protocol text configuration table according to the protocol identifier and the protocol text identifier;
标识生成模块,用于获取用户根据所述协议内容信息输入的确认信息,并根据所述协议内容信息和所述确认信息,生成区块链交易标识,所述确认信息至少包括用户标识和协议确认日期;An identification generation module, configured to obtain confirmation information input by the user according to the agreement content information, and generate a block chain transaction identification according to the agreement content information and the confirmation information, and the confirmation information includes at least the user identification and the agreement confirmation date;
关联存储模块,用于将所述用户标识、协议标识、当前协议版本、协议确认日期和区块链交易标识关联存储至预设协议签订信息表。An associative storage module, configured to associate and store the user identification, agreement identification, current agreement version, agreement confirmation date, and blockchain transaction identification in a preset agreement signing information table.
第三方面,本申请实施例提供一种计算机设备,包括:处理器,以及与所述处理器通信连接的存储器;所述存储器存储计算机执行指令;所述处理器执行所述存储器存储的计算机执行指令,以实现如上述的方法。In a third aspect, the embodiment of the present application provides a computer device, including: a processor, and a memory connected in communication with the processor; the memory stores computer-executable instructions; and the processor executes the computer-executable instructions stored in the memory. instructions to implement the method as described above.
第四方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机指令,所述计算机指令被处理器执行时用于实现如上述的方法。In a fourth aspect, the embodiments of the present application provide a computer-readable storage medium, where computer instructions are stored in the computer-readable storage medium, and the computer instructions are used to implement the above method when executed by a processor.
第五方面,本申请实施例提供一种计算机程序产品,包括计算机指令,该计算机指令被处理器执行时实现上述的方法。In a fifth aspect, the embodiments of the present application provide a computer program product, including computer instructions, and when the computer instructions are executed by a processor, the foregoing method is implemented.
本申请实施例提供的数据处理方法、装置、设备、介质和程序产品,通过建立协议规则配置信息表,实时管理协议规则配置信息表中的协议版本,能够及时发现当前最新版本的协议并输出给用户签订,提高协议签订的准确性。The data processing method, device, equipment, medium, and program product provided by the embodiments of the present application can discover the current latest version of the protocol in time and output it to Users sign, improve the accuracy of agreement signing.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理;The accompanying drawings, which are incorporated in and constitute a part of the 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 a scenario of a data processing method provided in an embodiment of the present application;
图2为本申请实施例提供的数据处理方法的流程示意图;FIG. 2 is a schematic flow diagram of a data processing method provided in an embodiment of the present application;
图3为本申请实施例提供的协议签订信息表的示意图;FIG. 3 is a schematic diagram of the agreement signing information form provided by the embodiment of the present application;
图4为本申请实施例提供的预设协议规则配置信息表的示意图;FIG. 4 is a schematic diagram of a preset protocol rule configuration information table provided by an embodiment of the present application;
图5为本申请实施例提供的预设协议版本配置信息表的示意图;FIG. 5 is a schematic diagram of a preset protocol version configuration information table provided by an embodiment of the present application;
图6为本申请实施例提供的预设协议文本配置表的示意图;FIG. 6 is a schematic diagram of a preset protocol text configuration table provided by an embodiment of the present application;
图7为本申请实施例提供的预设协议签订信息表的示意图;FIG. 7 is a schematic diagram of the preset agreement signing information table provided by the embodiment of the present application;
图8为本申请实施例提供的预设交易与协议配置关系表的示意图;FIG. 8 is a schematic diagram of a preset transaction and protocol configuration relationship table provided by the embodiment of the present application;
图9为更新后的预设协议规则配置信息表的示意图;FIG. 9 is a schematic diagram of an updated preset protocol rule configuration information table;
图10为本申请实施例提供的更新后的预设协议版本配置信息表示意图;FIG. 10 is a schematic diagram of an updated preset protocol version configuration information table provided by the embodiment of the present application;
图11为本申请实施例提供的协议签订流程示意图;Figure 11 is a schematic diagram of the agreement signing process provided by the embodiment of the present application;
图12为本申请实施例提供的数据处理装置的结构示意图;FIG. 12 is a schematic structural diagram of a data processing device provided in an embodiment of the present application;
图13为本申请实施例提供的计算机设备的结构示意图。FIG. 13 is a schematic structural diagram of a computer device provided by an embodiment 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
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
需要说明的是,本公开数据处理方法、装置、设备、介质和程序产品可用于金融领域。也可用于除金融领域以外的任意领域。本数据处理方法、装置、设备、介质和程序产品应用领域不作限定。It should be noted that the data processing method, device, equipment, medium and program product disclosed in the present disclosure can be used in the financial field. It can also be used in any field other than the financial field. The application field of the data processing method, device, equipment, medium and program product is not limited.
图1为本申请实施例提供的数据处理方法的场景示意图,如图1所示,通过终端设备11(例如智能手机、个人笔记本、平板电脑等)与服务器12建立网络连接,用户可以通过使用终端设备11在网上渠道进行业务办理。在办理业务之前终端设备11上通常会展示出与业务相关的各种协议,用户在阅读完这些协议并确认签订之后,代表了用户知悉了协议内容,如此服务器12才能继续为用户提供业务服务。但是由于协议通常更新迭代速度较快,而协议签订过程通常只注重协议内容、协议签订日期和用户提交的签订确认信息,导致用户也不清楚其签订的是否为最新版本的协议,例如某一个协议包括有最新的1.1版本和旧的1.0版本,不同的版本可能兼容,也有可能不兼容,对于版本不兼容的情况,如果用户签订的是1.0版本的协议,那么将相当于签订了错误的协议,后续又需要用户去重新签订新版本,如此导致了协议签订的效率很低,而且协议签订的准确率也低。Fig. 1 is a schematic diagram of the scene of the data processing method provided by the embodiment of the present application, as shown in Fig. The
针对上述问题,本申请实施例提供的数据处理方法、装置、设备、介质和程序产品,为了解决协议更新迭代速度快,容易造成用户签订错误版本的协议的问题,需要对协议的版本进行排查,使得用户能够签订当前最新版本的协议。具体的,通过建立协议规则配置信息表,实时管理协议规则配置信息表中的协议版本,能够及时发现当前最新版本的协议并输出给用户签订,提高协议签订的准确性。In view of the above problems, the data processing method, device, equipment, media and program products provided by the embodiments of the present application, in order to solve the problem that the protocol update iteration speed is fast and easily cause the user to sign the wrong version of the protocol, it is necessary to check the version of the protocol, To enable users to sign the latest version of the current agreement. Specifically, by establishing a protocol rule configuration information table and managing the protocol version in the protocol rule configuration information table in real time, the current latest version of the protocol can be found in time and output to the user for signing, improving the accuracy of signing the agreement.
下面,通过具体实施例对本申请的技术方案进行详细说明。需要说明的是,下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。Below, the technical solution of the present application will be described in detail through specific embodiments. It should be noted that 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.
图2为本申请实施例提供的数据处理方法的流程示意图,该方法可以应用于计算机设备或服务器等处理设备中,以服务器作为执行主体为例,如图2所示,该方法具体可以包括如下步骤:步骤S201,在触发协议签订条件时,获取与用户关联的协议标识。Fig. 2 is a schematic flow chart of the data processing method provided by the embodiment of the present application. This method can be applied to processing devices such as computer equipment or servers. Taking the server as the execution subject as an example, as shown in Fig. 2, the method can specifically include the following Step: step S201, when the condition for signing an agreement is triggered, the agreement identifier associated with the user is acquired.
在本实施例中,以用户需要办理交易业务为例,通常不同的用户在办理不同的交易业务时,都有对应的用户ID和交易ID,通过用户ID标识出不同的用户,通过交易ID标识出不同的交易业务。In this embodiment, take a user who needs to handle transaction business as an example. Generally, when different users handle different transaction services, they have corresponding user IDs and transaction IDs. Different users are identified by user IDs, and different users are identified by transaction IDs. different transactions.
协议签订条件的触发依据是的用户的相关信息,例如用户在办理交易业务之前是否曾签订过协议,如果曾经没有签订过协议,则会触发协议签订条件。又例如用户在办理交易业务时曾经签订过低版本的协议,此时也会触发协议签订条件,需要用户重新签订新版本协议。The basis for the triggering of the agreement signing conditions is the relevant information of the user, such as whether the user has signed an agreement before handling the transaction business. If the agreement has not been signed before, the agreement signing condition will be triggered. Another example is that the user has signed a lower version of the agreement when handling the transaction business. At this time, the conditions for signing the agreement will also be triggered, requiring the user to sign a new version of the agreement again.
在本实施例中,协议标识可以是指协议ID,不同的协议的协议ID不相同,不同版本的协议的协议ID相同。示例性的,图3为本申请实施例提供的协议签订信息表的示意图,服务器可以预先构建协议签订信息表并存储在数据库中,当有用户发起业务请求时,可以基于该用户的用户ID查询得到与该用户关联的协议ID(即协议标识)。其中,协议签订信息表中还可以存储有相关的交易描述信息,对该交易做简要的描述说明。In this embodiment, the protocol identifier may refer to a protocol ID. The protocol IDs of different protocols are different, and the protocol IDs of different versions of the protocols are the same. Exemplarily, FIG. 3 is a schematic diagram of the agreement signing information table provided by the embodiment of the present application. The server can pre-build the agreement signing information table and store it in the database. When a user initiates a service request, it can query the information based on the user ID of the user. Obtain the protocol ID (that is, the protocol identifier) associated with the user. Wherein, the agreement signing information table may also store related transaction description information, and briefly describe the transaction.
步骤S202,在预设协议规则配置信息表中确定出协议标识关联的当前协议版本。Step S202, determine the current protocol version associated with the protocol identifier in the preset protocol rule configuration information table.
在本实施例中,预设协议规则配置信息表中建立有协议标识与协议版本的关联关系,通过利用协议标识,在预设协议规则配置信息表中就可以查到当前协议版本(即最新协议版本)。图4为本申请实施例提供的预设协议规则配置信息表的示意图,如图4所示,不同的协议ID(即协议标识)关联有对应的当前最新版本、旧版本、版本兼容标识和版本开始日期。同一个协议ID可能具有一个当前最新版本和旧版本,也可能只具有一个当前最新版本。In this embodiment, the association relationship between the protocol identifier and the protocol version is established in the preset protocol rule configuration information table. By using the protocol identifier, the current protocol version (that is, the latest protocol version) can be found in the preset protocol rule configuration information table. Version). Figure 4 is a schematic diagram of the preset protocol rule configuration information table provided by the embodiment of the present application. As shown in Figure 4, different protocol IDs (i.e., protocol identifiers) are associated with corresponding current latest versions, old versions, version compatible identifiers and versions start date. The same protocol ID may have a current latest version and an old version, or may only have a current latest version.
步骤S203,根据协议标识和当前协议版本,在预设协议版本配置信息表中查询得到与协议标识和当前协议版本关联的协议主体信息。其中,协议主体信息至少包括有协议文本标识。Step S203, according to the protocol identifier and the current protocol version, query the protocol subject information associated with the protocol identifier and the current protocol version in the preset protocol version configuration information table. Wherein, the agreement body information includes at least an agreement text identifier.
在本实施例中,同一个协议标识可能具有不同的版本,例如以上述图4中的协议ID“00002”作为协议标识为例,其包括有当前最新版本1.2和旧版本1.1。其中,同一个协议标识,不同的版本所关联的协议主体信息不相同。In this embodiment, the same protocol ID may have different versions. For example, take the protocol ID "00002" in FIG. 4 as an example, which includes the latest version 1.2 and the old version 1.1. Among them, for the same protocol identifier, the protocol subject information associated with different versions is different.
示例性的,图5为本申请实施例提供的预设协议版本配置信息表的示意图,如图5所示,该预设协议版本配置信息表中包括有协议ID“00001”和协议ID“00002”,其中,协议ID“00001”具有两个协议版本(即版本1.0和版本1.1),不同的版本对应的协议主体信息不相同(包括协议文本ID(协议文本标识)、协议简要描述、协议发布日期、协议生效日期和协议发布人ID(即协议发布对象的标识信息))。Exemplarily, FIG. 5 is a schematic diagram of the preset protocol version configuration information table provided by the embodiment of the present application. As shown in FIG. 5, the preset protocol version configuration information table includes the protocol ID "00001" and the protocol ID "00002 ", where the protocol ID "00001" has two protocol versions (i.e. version 1.0 and version 1.1), and different versions correspond to different protocol body information (including protocol text ID (protocol text identification), protocol brief description, protocol release date, the effective date of the agreement, and the agreement issuer ID (that is, the identification information of the agreement issue object)).
步骤S204,根据协议标识、协议文本标识,在预设协议文本配置表中获取与协议标识和协议文本标识关联的协议内容信息。Step S204, according to the protocol identifier and the protocol text identifier, obtain the protocol content information associated with the protocol identifier and the protocol text identifier in the preset protocol text configuration table.
在本实施例中,预设协议文本配置表中存储有协议ID、协议文本ID和协议内容信息,其中,协议内容信息可以是哈希值的形式,即协议文本哈希。示例性的,图6为本申请实施例提供的预设协议文本配置表的示意图,如图6所示,每一个协议ID和协议文本ID都有对应的协议文本哈希和区块链存证ID(协议文本哈希和区块链存证ID中包括含有协议内容信息),通过利用协议ID和协议文本ID即可从预设协议文本配置表中查找到关联的协议内容信息。In this embodiment, a protocol ID, a protocol text ID, and protocol content information are stored in the preset protocol text configuration table, wherein the protocol content information may be in the form of a hash value, that is, a protocol text hash. Exemplarily, FIG. 6 is a schematic diagram of the preset protocol text configuration table provided by the embodiment of the present application. As shown in FIG. 6, each protocol ID and protocol text ID has a corresponding protocol text hash and blockchain deposit certificate ID (protocol text hash and blockchain storage ID include protocol content information), by using the protocol ID and protocol text ID, the associated protocol content information can be found from the preset protocol text configuration table.
步骤S205,获取用户根据协议内容信息输入的确认信息,并根据协议内容信息和确认信息,生成区块链交易标识。其中,确认信息至少包括用户标识和协议确认日期。Step S205, obtaining confirmation information input by the user according to the agreement content information, and generating a blockchain transaction identifier according to the agreement content information and confirmation information. Wherein, the confirmation information includes at least a user identification and an agreement confirmation date.
在本实施例中,区块链交易标识可以是指区块链交易ID,确认信息可以是用户输入的用户信息(例如用户签名、用户指纹等),区块链交易标识是指区块链ID,将确认信息、区块链存证ID和协议签订日期捆绑关联,形成区块链交易ID。In this embodiment, the block chain transaction identification can refer to the block chain transaction ID, the confirmation information can be the user information (such as user signature, user fingerprint, etc.) input by the user, and the block chain transaction identification refers to the block chain ID , to bind the confirmation information, the blockchain storage certificate ID and the signing date of the agreement to form a blockchain transaction ID.
其中,协议内容信息可以展示到上述图1的终端设备11中的显示界面上供用户查阅,用户在阅读完毕之后可以输入个人签名、个人指纹等信息作为确认信息的一部分,代表用户确认签订了该协议。Among them, the agreement content information can be displayed on the display interface of the
步骤S206,将用户标识、协议标识、当前协议版本、协议确认日期和区块链交易标识关联存储至预设协议签订信息表。Step S206, associate and store the user ID, agreement ID, current agreement version, agreement confirmation date, and blockchain transaction ID into the preset agreement signing information table.
示例性的,图7为本申请实施例提供的预设协议签订信息表的示意图,如图7所示,每一个用户ID都关联有一个协议ID、协议版本、协议确认日期和区块链交易ID。Exemplarily, FIG. 7 is a schematic diagram of the preset agreement signing information table provided by the embodiment of the present application. As shown in FIG. 7, each user ID is associated with an agreement ID, agreement version, agreement confirmation date and blockchain transaction ID.
本申请实施例通过建立协议规则配置信息表,实时管理协议规则配置信息表中的协议版本,能够及时发现当前最新版本的协议并输出给用户签订,提高协议签订的准确性,同时在签订完协议之后,签订之后的协议相关信息会存储到预设协议签订信息表中进行记录,方便用户可以实时查看到其协议签订记录并有效的对签订的协议进行维护管理。In this embodiment of the present application, by establishing a protocol rule configuration information table and managing the protocol version in the protocol rule configuration information table in real time, the current latest version of the agreement can be found in time and output to the user for signing, thereby improving the accuracy of the agreement signing, and at the same time, after signing the agreement Afterwards, the relevant information of the agreement after signing will be stored in the default agreement signing information table for recording, so that users can view their agreement signing records in real time and effectively maintain and manage the signed agreements.
在一些实施例中,在上述步骤S201中“获取与用户关联的协议标识”,具体可以通过如下步骤实现:响应于接收到用户的交易请求,从交易请求中获取交易标识;根据交易标识,在预设交易与协议配置关系表中查询得到与交易标识对应的协议标识。In some embodiments, in the above step S201, "obtaining the protocol identification associated with the user" can be specifically implemented through the following steps: in response to receiving the transaction request from the user, obtaining the transaction identification from the transaction request; according to the transaction identification, in The protocol identifier corresponding to the transaction identifier is obtained by querying the preset transaction and protocol configuration relationship table.
在本实施例中,用户在发起交易请求时,交易请求中携带有用户ID以及交易ID(即交易标识),预设交易与协议配置关系表中包括有每个交易ID和与交易ID关联的协议ID(即协议标识)。In this embodiment, when a user initiates a transaction request, the transaction request carries the user ID and the transaction ID (that is, the transaction identifier), and the preset transaction and protocol configuration relationship table includes each transaction ID and the transaction ID associated with the transaction ID. Protocol ID (that is, protocol identifier).
示例性的,图8为本申请实施例提供的预设交易与协议配置关系表的示意图,如图8所示,交易ID“T00001”关联的协议ID为“000001”,交易ID“00002”关联的协议ID为“000002”。其中,示例性的,预设交易与协议配置关系表中还包括有交易描述信息。Exemplarily, FIG. 8 is a schematic diagram of the preset transaction and protocol configuration relationship table provided by the embodiment of the present application. As shown in FIG. 8, the protocol ID associated with the transaction ID "T00001" is "000001", and the transaction ID "00002" is associated with The protocol ID is "000002". Wherein, for example, the preset transaction and protocol configuration relationship table also includes transaction description information.
本申请实施例通过设置预设交易与协议配置关系表,通过预设交易与协议配置关系表来维护交易ID和协议ID之间的关联关系,在用户发起交易请求时,可以基于交易ID查找到关联的协议ID,基于协议ID可以方便快速的查找到本次交易所需要使用到的协议有哪些,提高了交易的效率和准确率的同时,也方便工作人员维护管理。In this embodiment of the present application, by setting the preset transaction and protocol configuration relationship table, the relationship between the transaction ID and the protocol ID is maintained through the preset transaction and protocol configuration relationship table. When the user initiates a transaction request, it can be found based on the transaction ID. The associated protocol ID, based on the protocol ID, can easily and quickly find out which protocols need to be used in this exchange, which improves the efficiency and accuracy of the transaction and facilitates staff maintenance and management.
在一些实施例中,上述方法还包括如下步骤:获取用户的用户标识;In some embodiments, the above method further includes the following steps: acquiring the user ID of the user;
根据用户标识和协议标识,确定预设协议签订信息表中是否存在有与用户标识和协议标识关联的历史区块链交易标识;若预设协议签订信息表中存在有历史区块链交易标识,则在预设协议规则配置信息表中获取与协议标识关联的历史协议版本、当前协议版本和版本兼容标识;根据与协议标识关联的历史协议版本、当前协议版本和版本兼容标识,确定是否满足触发协议签订条件。According to the user ID and the agreement ID, determine whether there is a historical blockchain transaction ID associated with the user ID and the agreement ID in the default agreement signing information table; if there is a historical blockchain transaction ID in the preset agreement signing information table, Then obtain the historical protocol version, current protocol version, and version compatibility identifier associated with the protocol identifier in the preset protocol rule configuration information table; determine whether the trigger is satisfied according to the historical protocol version, current protocol version, and version compatibility identifier associated with the protocol identifier Agreement signing conditions.
在本实施例中,预设协议签订信息表中存储的是用户签订的协议,其通过用户ID(即用户标识)关联。示例性的,可继续参考上图7,以用户ID为“C0000011”的用户发起交易请求时,可以基于该用户的用户ID查找到预设协议签订信息表中包括有其签订的协议(即协议ID为“000001”的协议),该协议的区块链交易ID为“c031d365d1fa”,协议版本为1.1。基于协议ID“000001”可以在预设规则信息配置表中查找到该协议当前最新的版本为1.1、历史版本为“1.1”且版本兼容标识为“否”。基于预设规则信息配置表中与该协议ID关联的这些信息,可以确定用户签订的协议是最新版本的协议,不需要再触发协议签订条件。In this embodiment, the preset agreement signing information table stores the agreements signed by users, which are associated by user IDs (ie, user identifiers). Exemplarily, you can continue to refer to Figure 7 above. When a user with a user ID of "C0000011" initiates a transaction request, you can find out that the preset agreement signing information table includes the agreement signed by the user based on the user ID of the user (that is, the agreement protocol with ID "000001"), the blockchain transaction ID of this protocol is "c031d365d1fa", and the protocol version is 1.1. Based on the protocol ID "000001", it can be found in the preset rule information configuration table that the current latest version of the protocol is 1.1, the historical version is "1.1", and the version compatibility flag is "No". Based on the information associated with the agreement ID in the preset rule information configuration table, it can be determined that the agreement signed by the user is the latest version of the agreement, and there is no need to trigger the agreement signing condition.
本申请实施例通过查看预设协议签订信息表,可以使得用户查看到曾经是否签订过协议,当用户签订过协议时还可以基于签订的协议标识确定该协议的协议版本是否存在更新,如果存在更新则需要出发协议签订条件,重新签订当前最新版本的协议,保证用户签订的协议的准确性。In the embodiment of the present application, by checking the preset agreement signing information table, the user can check whether the agreement has been signed. When the user has signed the agreement, it can also determine whether there is an update to the agreement version of the agreement based on the signed agreement identifier. If there is an update It is necessary to start the agreement signing conditions and re-sign the latest version of the agreement to ensure the accuracy of the agreement signed by the user.
进一步的,在上述实施例的基础上,在另一些实施例中,在确定是否触发协议签订条件时,具体可以通过如下步骤实现:在历史协议版本与当前协议版本不相同且版本兼容标识表征历史协议版本与当前协议版本不兼容时,触发协议签订条件。Further, on the basis of the above-mentioned embodiments, in some other embodiments, when determining whether to trigger the agreement signing condition, it can be specifically implemented through the following steps: when the historical protocol version is different from the current protocol version and the version compatibility flag represents the history When the agreement version is incompatible with the current agreement version, the agreement signing condition is triggered.
在本实施例中,继续参考上图4,图4中提供了两个协议ID,即协议ID“000001”和协议ID“000002”,其中,协议ID“000001”的当前最新版本为1.1,协议兼容标识为“否”,历史协议版本为1.1,此时协议版本没有发生变更,不会触发协议签订条件。而对于协议ID“000002”,其当前最新版本为1.2,协议兼容标识为“是”,历史协议版本为1.1,此时由于历史协议版本能够与最新协议版本兼容,故而也不会才发协议签订条件。In this embodiment, continue to refer to Figure 4 above. Figure 4 provides two protocol IDs, namely the protocol ID "000001" and the protocol ID "000002", wherein the current latest version of the protocol ID "000001" is 1.1, and the protocol The compatibility flag is "No", and the historical agreement version is 1.1. At this time, the agreement version has not changed, and the agreement signing conditions will not be triggered. For the protocol ID "000002", the current latest version is 1.2, the protocol compatibility flag is "Yes", and the historical protocol version is 1.1. At this time, the historical protocol version is compatible with the latest protocol version, so the agreement will not be signed condition.
示例性的,对于协议ID“000002”,如果协议兼容标识为“否”,且当前最新版本为1.2,历史协议版本为1.1,则会触发协议签订条件。Exemplarily, for the agreement ID "000002", if the agreement compatibility flag is "No", and the current latest version is 1.2, and the historical agreement version is 1.1, the agreement signing condition will be triggered.
本申请实施例通过查找预设协议规则配置信息表中记载的历史协议版本、当前协议版本和版本兼容标识,可以快速确定出用户是否需要重新签订协议,同时也方便对各个版本的协议进行维护管理,保证当新版本协议发布时,用户可以签订最新版本的协议,进一步提高协议签订的准确性。In this embodiment of the application, by searching the historical protocol version, current protocol version, and version compatibility flag recorded in the preset protocol rule configuration information table, it can quickly determine whether the user needs to re-sign the agreement, and it is also convenient to maintain and manage the agreements of each version , to ensure that when a new version of the agreement is released, users can sign the latest version of the agreement, further improving the accuracy of agreement signing.
在另一些实施例中,上述步骤S201中“触发协议签订条件”具体可以通过如下步骤实现:若预设协议签订信息表中不存在有历史区块链交易标识,则触发协议签订条件。In some other embodiments, the "triggering the agreement signing condition" in the above step S201 can be specifically implemented through the following steps: if there is no historical blockchain transaction identifier in the preset agreement signing information table, trigger the agreement signing condition.
在本实施例中,预设协议签订信息表中如果没有历史区块链交易标识,则表示该用户当前没有签订过协议,此时用户如果发起交易请求,则需要签订与该交易相关的协议。In this embodiment, if there is no historical blockchain transaction identifier in the preset agreement signing information table, it means that the user has not signed an agreement at present, and if the user initiates a transaction request at this time, he needs to sign an agreement related to the transaction.
其中,在用户签订与该交易相关的协议时,可以基于该交易ID从预设交易与协议配置关系表中获取关联的协议ID,然后基于该协议ID从预设协议规则配置信息表中查找到当前最新版本的协议并输出给用户,使得用户可以签订当前最新版本的协议。Wherein, when the user signs an agreement related to the transaction, the associated agreement ID can be obtained from the preset transaction and agreement configuration relationship table based on the transaction ID, and then the agreement ID can be found from the preset agreement rule configuration information table based on the agreement ID. The current latest version of the agreement is output to the user, so that the user can sign the current latest version of the agreement.
本申请实施例通过维护预设协议签订信息表,确定预设协议签订信息表中是否存在历史区块链交易标识,当不存在历史区块链交易标识时,可以触发协议签订条件从而获取最新版本协议给用户签订,方便对用户协议签订的管理和维护,提高用户签订协议的效率。In this embodiment of the application, by maintaining the preset agreement signing information table, it is determined whether there is a historical blockchain transaction identifier in the preset agreement signing information table. When there is no historical blockchain transaction identifier, the agreement signing condition can be triggered to obtain the latest version The agreement is signed by the user, which facilitates the management and maintenance of the user agreement signing, and improves the efficiency of the user signing the agreement.
在一些实施例中,上述方法还包括如下步骤:响应于与协议标识关联的协议版本更新请求,从协议版本更新请求中获取待更新协议版本的版本发布日期和版本兼容标识;将待更新协议版本的版本发布日期和版本兼容标识关联更新至预设协议规则配置信息表。In some embodiments, the above method further includes the following steps: in response to the protocol version update request associated with the protocol identifier, obtaining the version release date and the version compatibility identifier of the protocol version to be updated from the protocol version update request; The release date of the version and the version compatible identifier are associated and updated to the preset protocol rule configuration information table.
在本实施例中,当有新版本协议发布时,需要将发布的新版本的相关信息维护更新到预设协议规则配置信息表中。示例性的,参考上图4,当有新版本协议发布时,可以将新版本协议的协议版本、版本兼容标识维护至预设协议规则配置信息表中。In this embodiment, when a new version of the protocol is released, it is necessary to maintain and update the relevant information of the released new version to the preset protocol rule configuration information table. For example, referring to FIG. 4 above, when a new version of the protocol is released, the protocol version and version compatibility identifier of the new version of the protocol can be maintained in the preset protocol rule configuration information table.
示例性的,图9为更新后的预设协议规则配置信息表的示意图,以协议ID为“000001”存在有新版本1.3需要发布为例,如图9所示,此时协议ID“000001”的当前最新版本为1.3,历史版本为1.2,版本兼容标识为“否”。Exemplarily, FIG. 9 is a schematic diagram of the updated preset protocol rule configuration information table. Taking the protocol ID “000001” and a new version 1.3 that needs to be released as an example, as shown in FIG. 9, the protocol ID is “000001” at this time The current latest version is 1.3, the historical version is 1.2, and the version compatibility flag is "No".
本申请实施例通过对预设协议规则配置信息表进行维护更新,能够保证在新版本协议发布之后,可以查询到当前最新的协议版本供用户签订,同时也方便协议维护人员查看到协议版本变化,防止用户签订不兼容的低版本协议,进一步提高协议签订的准确性。In this embodiment of the application, by maintaining and updating the preset protocol rule configuration information table, it can ensure that after the release of the new version of the protocol, the current latest protocol version can be queried for users to sign, and it is also convenient for protocol maintainers to view changes in the protocol version. Prevent users from signing incompatible low-version agreements, and further improve the accuracy of agreement signing.
进一步的,在上述实施例的基础上,在一些实施例中,上述方法还包括:获取与待更新协议版本关联的协议文本标识、协议生效日期、协议描述信息和协议发布对象的标识信息;将协议文本标识、版本发布日期、协议生效日期、协议描述信息和协议发布对象的标识信息更新至预设协议版本配置信息表。Further, on the basis of the above-mentioned embodiments, in some embodiments, the above-mentioned method further includes: obtaining the protocol text identification, the protocol effective date, the protocol description information and the identification information of the protocol release object associated with the protocol version to be updated; The protocol text identifier, version release date, protocol effective date, protocol description information, and protocol release object identification information are updated to the preset protocol version configuration information table.
在本实施例中,继续参考上图5,在预设协议版本配置信息表中包括有协议ID、与协议ID关联的协议版本、协议文本ID、协议发布日期、协议生效日期、协议描述信息以及协议发布对象的标识信息(即协议发布人的ID)。示例性的,图10为本申请实施例提供的更新后的预设协议版本配置信息表示意图,如图10所示,协议ID“000001”的协议版本将更新为1.3,协议文本ID为“10000003”,协议发布日期为2022/1/1,协议生效日期为2022/1/1,协议发布人ID为33333。In this embodiment, continue to refer to Figure 5 above, the protocol ID, the protocol version associated with the protocol ID, the protocol text ID, the protocol release date, the protocol effective date, the protocol description information, and The identification information of the protocol publishing object (that is, the ID of the protocol publisher). Exemplarily, FIG. 10 is a schematic diagram of the updated preset protocol version configuration information table provided by the embodiment of the present application. As shown in FIG. 10, the protocol version of the protocol ID "000001" will be updated to 1.3, and the protocol text ID is "10000003 ", the agreement release date is 2022/1/1, the agreement effective date is 2022/1/1, and the agreement issuer ID is 33333.
本申请实施例通过对预设协议版本配置信息表进行维护更新,能够保证在新版本协议发布之后,基于协议ID可以查询到当前最新的协议版本供用户签订,同时也方便协议维护人员查看到协议版本变化,防止用户签订不兼容的低版本协议,进一步提高协议签订的准确性。In this embodiment of the application, by maintaining and updating the preset protocol version configuration information table, it can ensure that after the release of the new version of the protocol, the current latest protocol version can be queried based on the protocol ID for users to sign, and it is also convenient for protocol maintainers to view the protocol Version changes prevent users from signing incompatible low-version agreements, and further improve the accuracy of agreement signing.
在另一些实施例中,上述方法还包括如下步骤:获取与待更新协议版本关联的协议内容信息;将协议文本标识、协议内容信息更新至预设协议文本配置表。In some other embodiments, the above method further includes the following steps: obtaining the protocol content information associated with the protocol version to be updated; updating the protocol text identifier and the protocol content information to the preset protocol text configuration table.
在本实施例中,继续参考上图6,以协议ID为“10000001”为例,当与协议ID“10000001”关联的协议发布新版本时,与该协议ID“10000001”关联的协议内容信息也会更新到预设协议文本配置表中。In this embodiment, continue to refer to Figure 6 above, taking the protocol ID "10000001" as an example, when the protocol associated with the protocol ID "10000001" releases a new version, the protocol content information associated with the protocol ID "10000001" also It will be updated to the default protocol text configuration table.
本申请实施例通过对预设协议文本配置表进行维护更新,能够保证在新版本协议发布之后,基于协议ID可以查询到当前最新的协议版本供用户签订,同时也方便协议维护人员查看到协议版本变化,防止用户签订不兼容的低版本协议,进一步提高协议签订的准确性。In this embodiment of the application, by maintaining and updating the preset protocol text configuration table, it can ensure that after the release of the new version of the protocol, the current latest protocol version can be queried based on the protocol ID for users to sign, and it is also convenient for protocol maintainers to view the protocol version Changes to prevent users from signing incompatible low-version agreements, and further improve the accuracy of agreement signing.
示例性的,图11为本申请实施例提供的协议签订流程示意图,如图11所示,其包括有如下步骤:S1110,用户进入功能。步骤S1120,获取协议ID。步骤S1130,确定用户是否需要签订协议。步骤S1131,查询用户是否曾签订过协议。步骤S1132,若用户曾签订过协议,则判断协议是否有效。步骤S1133,协议版本兼容,则不需要签订协议。步骤S1140,获取协议配置信息。步骤S1150,查询协议规则配置信息表。步骤S1160,查询协议版本配置信息表。步骤S1170,查询协议文本配置表。步骤S1180,展示协议。步骤S1190,确定签订协议。步骤S1111,区块链存证。步骤S1112,记录用户签订信息至协议签订信息表。Exemplarily, FIG. 11 is a schematic diagram of the agreement signing process provided by the embodiment of the present application. As shown in FIG. 11 , it includes the following steps: S1110, the user enters the function. Step S1120, acquiring a protocol ID. Step S1130, determine whether the user needs to sign an agreement. Step S1131, query whether the user has ever signed an agreement. Step S1132, if the user has signed an agreement, then determine whether the agreement is valid. Step S1133, if the protocol version is compatible, then no agreement needs to be signed. Step S1140, acquiring protocol configuration information. Step S1150, query the protocol rule configuration information table. Step S1160, query the protocol version configuration information table. Step S1170, query the protocol text configuration table. Step S1180, displaying the protocol. In step S1190, it is determined to sign an agreement. Step S1111, blockchain storage certificate. Step S1112, recording the signing information of the user in the agreement signing information table.
其中,用户在终端设备上进行业务操作并进入某一个功能时或者栏目来办理相应的业务时,其对应的会产生一个上文提到的交易ID,根据交易ID可以查询交易与协议配置关系表,得到协议配置信息(协议配置信息中至少包括有协议ID)。Among them, when the user performs business operations on the terminal device and enters a certain function or column to handle the corresponding business, the corresponding transaction ID mentioned above will be generated, and the transaction and protocol configuration relationship table can be queried according to the transaction ID , to obtain protocol configuration information (the protocol configuration information includes at least a protocol ID).
另外,通过协议签订信息表,可以查询到用户曾经签订的协议和协议版本,通过协议规则配置信息表可以查询到协议是否有效(例如当前最新版本是否与历史版本兼容)。如果协议不满足兼容要求和最新版本要求,则确定用户需要签订协议,通过查询协议规则配置信息表、查询协议版本配置信息表、查询协议文本配置表获取协议内容信息,展示给用户签订。用户签订协议后,通过区块链将协议文本的区块链存证ID,用户信息,签订日期进行捆绑,通过区块链生成区块链交易ID,并将用户ID、协议ID、协议版本、签订日期、区块链交易ID存入到协议签订信息表中进行存储。In addition, through the agreement signing information table, the agreement and agreement version signed by the user can be queried, and whether the agreement is valid (for example, whether the latest version is compatible with the previous version) can be queried through the agreement rule configuration information table. If the agreement does not meet the compatibility requirements and the latest version requirements, it is determined that the user needs to sign the agreement, and the agreement content information is obtained by querying the protocol rule configuration information table, querying the protocol version configuration information table, and querying the protocol text configuration table, and showing it to the user for signing. After the user signs the agreement, the blockchain storage certificate ID, user information, and signing date of the agreement text are bundled through the blockchain, and the blockchain transaction ID is generated through the blockchain, and the user ID, agreement ID, agreement version, The signing date and blockchain transaction ID are stored in the agreement signing information table for storage.
同时,在用户签订完协议之后,用户可以通过查询协议签订信息表,查询签订的协议具体文本信息。At the same time, after the user has signed the agreement, the user can query the specific text information of the signed agreement by querying the agreement signing information form.
本申请实施例通过预先设置交易与协议配置关系表、协议规则配置信息表、协议版本配置信息表、协议文本配置表和协议签订信息表,构建了协议管理维护体系,提高了安全的协议存储模式,并且通过对协议版本进行维护管理,支持多协议场景的运用以及协议的版本更新迭代,方便用户进行协议查询。The embodiment of this application builds a protocol management and maintenance system by presetting the transaction and protocol configuration relationship table, protocol rule configuration information table, protocol version configuration information table, protocol text configuration table, and agreement signing information table, and improves the secure protocol storage mode. , and through the maintenance and management of the protocol version, it supports the application of multi-protocol scenarios and the version update iteration of the protocol, which is convenient for users to query the protocol.
下述为本申请装置实施例,可以用于执行本申请方法实施例。对于本申请装置实施例中未披露的细节,请参照本申请方法实施例。The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
图12为本申请实施例提供的数据处理装置的结构示意图,该数据处理装置可以集成在计算机设备或服务器等处理设备上,也可以独立于处理设备且与处理设备协同实现本方案。如图12所示,该数据处理装置1201包括有协议标识获取模块1202、协议版本获取模块1203、协议信息获取模块1204、协议内容获取模块1205、标识生成模块1206和关联存储模块1207。Fig. 12 is a schematic structural diagram of a data processing device provided by an embodiment of the present application. The data processing device may be integrated in a processing device such as a computer device or a server, or may be independent of the processing device and cooperate with the processing device to implement the solution. As shown in FIG. 12 , the
其中,协议标识获取模块1202用于在触发协议签订条件时,获取与用户关联的协议标识。协议版本获取模块1203用于在预设协议规则配置信息表中确定出协议标识关联的当前协议版本。协议信息获取模块1204用于根据协议标识和当前协议版本,在预设协议版本配置信息表中查询得到与协议标识和当前协议版本关联的协议主体信息。其中,协议主体信息至少包括有协议文本标识。协议内容获取模块1205用于根据协议标识、协议文本标识,在预设协议文本配置表中获取与协议标识和协议文本标识关联的协议内容信息。标识生成模块1206用于获取用户根据协议内容信息输入的确认信息,并根据协议内容信息和确认信息,生成区块链交易标识。其中,确认信息至少包括用户标识和协议确认日期。关联存储模块1207用于将用户标识、协议标识、当前协议版本、协议确认日期和区块链交易标识关联存储至预设协议签订信息表。Wherein, the agreement
可选的,协议标识获取模块在获取与用户关联的协议标识时,具体可以用于响应于接收到用户的交易请求,从交易请求中获取交易标识;根据交易标识,在预设交易与协议配置关系表中查询得到与交易标识对应的协议标识。Optionally, when the protocol identification acquisition module acquires the protocol identification associated with the user, it can specifically be used to obtain the transaction identification from the transaction request in response to receiving the user's transaction request; according to the transaction identification, in the preset transaction and protocol configuration The protocol identifier corresponding to the transaction identifier is obtained by querying the relational table.
可选的,上述数据处理装置还可以包括条件判断模块,用于获取用户的用户标识;根据用户标识和协议标识,确定预设协议签订信息表中是否存在有与用户标识和协议标识关联的历史区块链交易标识;若预设协议签订信息表中存在有历史区块链交易标识,则在预设协议规则配置信息表中获取与协议标识关联的历史协议版本、当前协议版本和版本兼容标识;根据与协议标识关联的历史协议版本、当前协议版本和版本兼容标识,确定是否满足触发协议签订条件。Optionally, the above-mentioned data processing device may also include a condition judging module, which is used to acquire the user ID of the user; and determine whether there is a history associated with the user ID and the agreement ID in the preset agreement signing information table according to the user ID and the agreement ID. Blockchain transaction identifier; if there is a historical blockchain transaction identifier in the default agreement signing information table, then obtain the historical protocol version, current protocol version, and version compatibility identifier associated with the protocol identifier in the preset agreement rule configuration information table ; According to the historical protocol version associated with the protocol identifier, the current protocol version and the version compatible identifier, determine whether the triggering agreement signing condition is satisfied.
可选的,上述协议标识获取模块在确定触发协议签订条件时,具体可以用于:在历史协议版本与当前协议版本不相同且版本兼容标识表征历史协议版本与当前协议版本不兼容时,触发协议签订条件。Optionally, when the above-mentioned protocol identification acquisition module determines the conditions for triggering agreement signing, it can be specifically used to: trigger the agreement Sign the conditions.
可选的,上述协议标识获取模块在确定触发协议签订条件时,具体可以用于:若预设协议签订信息表中不存在有历史区块链交易标识,则触发协议签订条件。Optionally, when the above-mentioned agreement identification acquisition module determines the conditions for triggering agreement signing, it can be specifically used to: trigger the agreement signing conditions if there is no historical blockchain transaction identification in the preset agreement signing information table.
可选的,上述数据处理装置还可以包括协议规则配置信息表更新模块,用于:响应于与协议标识关联的协议版本更新请求,从协议版本更新请求中获取待更新协议版本的版本发布日期和版本兼容标识;将待更新协议版本的版本发布日期和版本兼容标识关联更新至预设协议规则配置信息表。Optionally, the above-mentioned data processing device may also include a protocol rule configuration information table update module, configured to: respond to the protocol version update request associated with the protocol identifier, obtain the version release date and the version release date of the protocol version to be updated from the protocol version update request. Version compatibility identifier; update the version release date of the protocol version to be updated and the version compatibility identifier associated to the default protocol rule configuration information table.
可选的,上述数据处理装置还可以包括协议版本配置信息表更新模块,用于:获取与待更新协议版本关联的协议文本标识、协议生效日期、协议描述信息和协议发布对象的标识信息;将协议文本标识、版本发布日期、协议生效日期、协议描述信息和协议发布对象的标识信息更新至预设协议版本配置信息表。Optionally, the above-mentioned data processing device may also include a protocol version configuration information table update module, which is used to: obtain the protocol text identifier associated with the protocol version to be updated, the protocol effective date, the protocol description information, and the identification information of the protocol release object; The protocol text identifier, version release date, protocol effective date, protocol description information, and protocol release object identification information are updated to the preset protocol version configuration information table.
可选的,上述数据处理装置还可以包括协议文本配置表更新模块,用于:获取与待更新协议版本关联的协议内容信息;将协议文本标识、协议内容信息更新至预设协议文本配置表。Optionally, the above-mentioned data processing device may also include a protocol text configuration table update module, configured to: acquire protocol content information associated with the protocol version to be updated; update the protocol text identifier and protocol content information to the preset protocol text configuration table.
本申请实施例提供的装置,可用于执行上述实施例中的方法,其实现原理和技术效果类似,在此不再赘述。The device provided in the embodiment of the present application can be used to execute the method in the above embodiment, and its implementation principle and technical effect are similar, and will not be repeated here.
需要说明的是,应理解以上装置的各个模块的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。且这些模块可以全部以软件通过处理元件调用的形式实现;也可以全部以硬件的形式实现;还可以部分模块通过处理元件调用软件的形式实现,部分模块通过硬件的形式实现。例如,协议标识获取模块可以为单独设立的处理元件,也可以集成在上述装置的某一个芯片中实现,此外,也可以以程序代码的形式存储于上述装置的存储器中,由上述装置的某一个处理元件调用并执行以上协议标识获取模块的功能。其它模块的实现与之类似。此外这些模块全部或部分可以集成在一起,也可以独立实现。这里的处理元件可以是一种集成电路,具有信号的处理能力。在实现过程中,上述方法的各步骤或以上各个模块可以通过处理器元件中的硬件的集成逻辑电路或者软件形式的指令完成。It should be noted that it should be understood that the division of each module of the above device is only a division of logical functions, and may be fully or partially integrated into one physical entity or physically separated during actual implementation. And these modules can all be implemented in the form of calling software through processing elements; they can also be implemented in the form of hardware; some modules can also be implemented in the form of calling software through processing elements, and some modules can be implemented in the form of hardware. For example, the protocol identification acquisition module can be a separate processing element, and can also be integrated in a chip of the above-mentioned device. In addition, it can also be stored in the memory of the above-mentioned device in the form of program code. The processing element invokes and executes the function of the above protocol identification acquisition module. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, and can also be implemented independently. The processing element here may be an integrated circuit, which has a signal processing capability. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or an instruction in the form of software.
图13为本申请实施例提供的计算机设备的结构示意图。如图13所示,该计算机设备1300包括:至少一个处理器1301、存储器1302、总线1303及通信接口1304。其中:处理器1301、通信接口1304以及存储器1302通过总线1303完成相互间的通信。通信接口,用于与其它设备进行通信。处理器1301,用于执行存储器1302中存储的计算机执行指令,具体可以执行上述实施例中所描述的方法中的相关步骤。处理器可能是中央处理器,或者是特定集成电路(Application Specific Integrated Circuit,ASIC),或者是被配置成实施本发明实施例的一个或多个集成电路。计算机设备包括的一个或多个处理器,可以是同一类型的处理器,如一个或多个CPU;也可以是不同类型的处理器,如一个或多个CPU以及一个或多个ASIC。存储器,用于存放计算机执行指令。存储器可能包含高速RAM存储器,也可能还包括非易失性存储器,例如至少一个磁盘存储器。FIG. 13 is a schematic structural diagram of a computer device provided by an embodiment of the present application. As shown in FIG. 13 , the computer device 1300 includes: at least one processor 1301 , a memory 1302 , a bus 1303 and a communication interface 1304 . Wherein: the processor 1301 , the communication interface 1304 and the memory 1302 communicate with each other through the bus 1303 . Communication interface for communicating with other devices. The processor 1301 is configured to execute the computer-executed instructions stored in the memory 1302, and may specifically execute relevant steps in the methods described in the foregoing embodiments. The processor may be a central processing unit, or an Application Specific Integrated Circuit (ASIC), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included in the computer device may be of the same type, such as one or more CPUs, or may be different types of processors, such as one or more CPUs and one or more ASICs. Memory, used to store computer-executable instructions. The memory may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk memory.
本实施例还提供一种计算机可读存储介质,可读存储介质中存储有计算机指令,当计算机设备的至少一个处理器执行该计算机指令时,计算机设备执行上述的各种实施方式提供的数据处理方法。This embodiment also provides a computer-readable storage medium. Computer instructions are stored in the readable storage medium. When at least one processor of the computer device executes the computer instructions, the computer device performs the data processing provided by the above-mentioned various embodiments. method.
本实施例还提供一种计算机程序产品,该程序产品包括计算机指令,该计算机指令存储在可读存储介质中。计算机设备的至少一个处理器可以从可读存储介质读取该计算机指令,至少一个处理器执行该计算机指令使得计算机设备实施上述的各种实施方式提供的数据处理方法。This embodiment also provides a computer program product, where the program product includes computer instructions, and the computer instructions are stored in a readable storage medium. At least one processor of the computer device may read the computer instructions from the readable storage medium, and the at least one processor executes the computer instructions so that the computer device implements the data processing methods provided in the above-mentioned various implementations.
本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系;在公式中,字符“/”,表示前后关联对象是一种“相除”的关系。“以下至少一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中,a,b,c可以是单个,也可以是多个。In this application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist simultaneously, and B exists alone, where A, B can be singular or plural. The character "/" generally indicates that the contextual objects are an "or" relationship; in the formula, the character "/" indicates that the contextual objects are a "division" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one item (piece) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, wherein, a, b, c can be single or multiple indivual.
可以理解的是,在本申请实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。在本申请的实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请的实施例的实施过程构成任何限定。It can be understood that the various numbers involved in the embodiments of the present application are only for convenience of description, and are not used to limit the scope of the embodiments of the present application. In the embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the order of execution, and the execution order of the processes should be determined by their functions and internal logic, and should not constitute a component of the implementation process of the embodiments of the present application. Any restrictions.
最后应说明的是:以上各实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述各实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and are not intended to limit it; although the application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present application. scope.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211410112.5A CN115757336A (en) | 2022-11-11 | 2022-11-11 | Data processing method, apparatus, device, medium, and program product |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202211410112.5A CN115757336A (en) | 2022-11-11 | 2022-11-11 | Data processing method, apparatus, device, medium, and program product |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN115757336A true CN115757336A (en) | 2023-03-07 |
Family
ID=85369344
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202211410112.5A Pending CN115757336A (en) | 2022-11-11 | 2022-11-11 | Data processing method, apparatus, device, medium, and program product |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN115757336A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119359415A (en) * | 2024-12-24 | 2025-01-24 | 四川琪达实业集团有限公司 | A method and system for processing customized clothing orders |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108614878A (en) * | 2018-04-27 | 2018-10-02 | 腾讯科技(深圳)有限公司 | protocol data management method, device, storage medium and system |
| US20180285979A1 (en) * | 2017-04-04 | 2018-10-04 | International Business Machines Corporation | Creating service agreements via blockchain smart contracts |
| CN110084573A (en) * | 2018-11-30 | 2019-08-02 | 阿里巴巴集团控股有限公司 | Multi-media protocol based on block chain signs method and device |
| CN110263145A (en) * | 2019-05-07 | 2019-09-20 | 深圳市买买提信息科技有限公司 | A kind of electronic contract signature method and electronic contract sign equipment |
-
2022
- 2022-11-11 CN CN202211410112.5A patent/CN115757336A/en active Pending
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20180285979A1 (en) * | 2017-04-04 | 2018-10-04 | International Business Machines Corporation | Creating service agreements via blockchain smart contracts |
| CN108614878A (en) * | 2018-04-27 | 2018-10-02 | 腾讯科技(深圳)有限公司 | protocol data management method, device, storage medium and system |
| CN110084573A (en) * | 2018-11-30 | 2019-08-02 | 阿里巴巴集团控股有限公司 | Multi-media protocol based on block chain signs method and device |
| CN110263145A (en) * | 2019-05-07 | 2019-09-20 | 深圳市买买提信息科技有限公司 | A kind of electronic contract signature method and electronic contract sign equipment |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119359415A (en) * | 2024-12-24 | 2025-01-24 | 四川琪达实业集团有限公司 | A method and system for processing customized clothing orders |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108734028B (en) | Blockchain-based data management method, blockchain node and storage medium | |
| CN110020086B (en) | User portrait query method and device | |
| CN108319661A (en) | A kind of structured storage method and device of spare part information | |
| WO2018184535A1 (en) | Insurance service processing method and device, server, and storage medium | |
| CN107992492B (en) | Data block storage method, data block reading method, data block storage device, data block reading device and block chain | |
| CN113052688A (en) | Credit card handling method and device based on block chain | |
| CN111259049A (en) | Information query method, information query device and terminal equipment | |
| WO2019136812A1 (en) | Electronic device, data calling log generation and query method, and storage medium | |
| CN111737564A (en) | An information query method, device, equipment and medium | |
| CN106776785A (en) | A kind of method for writing data and device and data handling system | |
| CN110378680A (en) | A kind of data processing method, device, storage medium and server | |
| CN115408597A (en) | Data query method, device, computer equipment and medium | |
| CN115757336A (en) | Data processing method, apparatus, device, medium, and program product | |
| CN111611056B (en) | Data processing method, device, computer equipment and storage medium | |
| CN113761102A (en) | Data processing method, apparatus, server, system and storage medium | |
| CN114298699B (en) | Method for generating, obtaining and device of non-homogeneous tokens | |
| CN114328620A (en) | Data processing method and system, device and storage medium | |
| CN115438037A (en) | Data processing method and its device, system, storage medium | |
| CN112256689A (en) | Service data cleaning method and device and electronic equipment | |
| CN110599274A (en) | Bill processing method, device, processing equipment and computer storage medium | |
| CN115758475A (en) | Resource data aggregation method and device, computer equipment and storage medium | |
| CN117390011A (en) | Report data processing methods, devices, computer equipment and storage media | |
| CN116341491A (en) | Data processing method and related device | |
| CN112651825A (en) | Information verification method and device, electronic equipment and storage medium | |
| CN115510030A (en) | Data deduplication inquiry method, device, equipment and storage medium |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |
