CN116032793B - Information processing method, information processing device, electronic equipment and computer readable medium - Google Patents

Information processing method, information processing device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN116032793B
CN116032793B CN202211459798.7A CN202211459798A CN116032793B CN 116032793 B CN116032793 B CN 116032793B CN 202211459798 A CN202211459798 A CN 202211459798A CN 116032793 B CN116032793 B CN 116032793B
Authority
CN
China
Prior art keywords
network access
target
log information
blockchain
node
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.)
Active
Application number
CN202211459798.7A
Other languages
Chinese (zh)
Other versions
CN116032793A (en
Inventor
田新雪
肖征荣
邴建
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211459798.7A priority Critical patent/CN116032793B/en
Publication of CN116032793A publication Critical patent/CN116032793A/en
Application granted granted Critical
Publication of CN116032793B publication Critical patent/CN116032793B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses an information processing method, an information processing device, electronic equipment and a computer readable medium, which are applied to network access equipment nodes in a blockchain, wherein the method comprises the following steps: acquiring a test record issued by a first user node; responding to the test record, and acquiring network access log information corresponding to the terminal equipment, wherein the network access log information is generated after the terminal equipment is accessed to an operator network based on target network access equipment, and the target network access equipment corresponds to the network access equipment node; and generating a target ciphertext by using a preset encryption algorithm according to the network log information, and issuing the target ciphertext to the block chain. The method can improve the solution efficiency of the test problem corresponding to the terminal equipment and avoid potential safety hazard problems possibly brought in the information transmission process.

Description

信息处理方法、装置、电子设备及计算机可读介质Information processing methods, devices, electronic equipment and computer-readable media

技术领域Technical field

本发明涉及计算机技术领域,具体涉及一种信息处理方法、装置、电子设备及计算机可读介质,本发明同时还涉及一种测试问题处理方法。The present invention relates to the field of computer technology, and specifically to an information processing method, device, electronic equipment and computer-readable medium. The present invention also relates to a test problem processing method.

背景技术Background technique

目前,在终端测试过程中发现测试问题时,通常是由用户通过电话方式进行问题反馈,再由运营商的客服人员通过人工联络函方式进行线下问题解决,整个流程冗长繁琐,例如,该流程可能涉及到终端用户、一线人员、运维专家、硬件厂商、终端厂商、终端软件厂商、研究院等多个角色的配合,而该些流程中往往存在参与积极性不高的问题,导致在沟通环节耗费较大精力和时间,从而可能导致问题的解决效率极低;并且在线下沟通的过程中,还可能因为传递的线下文件丢失从而带来安全隐患,因此,有必要提供一种信息处理方法,以解决上述问题。At present, when a test problem is discovered during terminal testing, the user usually provides feedback on the problem over the phone, and then the operator's customer service staff solves the problem offline through manual contact letters. The entire process is lengthy and cumbersome. For example, this process It may involve the cooperation of multiple roles such as end users, front-line personnel, operation and maintenance experts, hardware manufacturers, terminal manufacturers, terminal software manufacturers, research institutes, etc. However, these processes often have the problem of low participation enthusiasm, resulting in poor communication during the process. It consumes a lot of energy and time, which may lead to extremely low problem-solving efficiency; and during the process of offline communication, it may also cause security risks due to the loss of offline files transferred. Therefore, it is necessary to provide an information processing method. , to solve the above problems.

发明内容Contents of the invention

为此,本发明提供一种信息处理方法,以解决相关技术中在处理测试问题时可能存在的效率低下以及信息泄露而可能带来安全隐患的问题。To this end, the present invention provides an information processing method to solve the problems of low efficiency and potential security risks caused by information leakage in the related art when processing test problems.

为了实现上述目的,本发明第一方面提供一种信息处理方法,应用于区块链中的网络接入设备节点,该方法包括:In order to achieve the above objects, the first aspect of the present invention provides an information processing method, which is applied to network access device nodes in the blockchain. The method includes:

获取第一用户节点发布的测试记录,其中,所述测试记录用于描述第一用户的终端设备对应的测试问题,所述第一用户节点与所述第一用户对应;Obtain the test record published by the first user node, where the test record is used to describe the test problem corresponding to the first user's terminal device, and the first user node corresponds to the first user;

响应于所述测试记录,获取所述终端设备对应的入网日志信息,其中,所述入网日志信息为所述终端设备在基于目标网络接入设备接入运营商网络后产生的日志信息,所述目标网络接入设备与所述网络接入设备节点对应;In response to the test record, obtaining network access log information corresponding to the terminal device, wherein the network access log information is log information generated after the terminal device accesses the operator network based on the target network access device, and the target network access device corresponds to the network access device node;

根据所述入网日志信息,使用预设加密算法生成目标密文,并将所述目标密文发布至所述区块链中;According to the network access log information, use a preset encryption algorithm to generate a target ciphertext, and publish the target ciphertext to the blockchain;

其中,所述目标密文中包含有访问策略,所述访问策略用于限定解密所述目标密文的解密方的属性,所述目标密文用于供所述区块链中的节点获取所述入网日志信息,并基于所述入网日志信息和所述测试记录解决所述测试问题。Wherein, the target ciphertext contains an access policy, the access policy is used to limit the attributes of the decryption party that decrypts the target ciphertext, and the target ciphertext is used for nodes in the blockchain to obtain the Network access log information, and solve the test problem based on the network access log information and the test record.

可选地,所述根据所述入网日志信息,使用预设加密算法生成目标密文,包括:获取预设公共参数和用于描述所述访问策略的访问结构;根据所述预设公共参数和所述访问结构对所述入网日志信息进行基于属性的加密处理,获得所述目标密文;其中,所述预设公共参数是在构建所述区块链时生成并分发至所述区块链中的每一节点的参数;所述预设公共参数用于在区块链中的节点接收到所述目标密文的情况下解密所述目标密文以获取所述入网日志信息。Optionally, using a preset encryption algorithm to generate target ciphertext based on the network access log information includes: obtaining preset public parameters and an access structure used to describe the access policy; The access structure performs attribute-based encryption on the network access log information to obtain the target ciphertext; wherein the preset public parameters are generated and distributed to the blockchain when building the blockchain. The parameters of each node in the blockchain; the preset public parameters are used to decrypt the target ciphertext to obtain the network access log information when the node in the blockchain receives the target ciphertext.

可选地,所述获取用于描述所述访问策略的访问结构,包括:获取与所述终端设备和/或所述目标网络接入设备对应的目标用户的目标属性信息;根据所述目标属性信息,生成所述访问结构。Optionally, the obtaining the access structure used to describe the access policy includes: obtaining the target attribute information of the target user corresponding to the terminal device and/or the target network access device; according to the target attribute information to generate the access structure.

可选地,在执行所述响应于所述测试记录,获取所述终端设备对应的入网日志信息的步骤之前,所述方法还包括:从所述测试记录中,获取所述终端设备对应的终端标识;根据所述终端标识,校验所述终端设备使用的运营商网络是否是基于所述目标网络接入设备接入的;在校验所述终端设备基于所述目标网络接入设备接入所述运营商网络的情况下,执行所述响应于所述测试记录,获取所述终端设备对应的入网日志信息的步骤。Optionally, before performing the step of obtaining network access log information corresponding to the terminal device in response to the test record, the method further includes: obtaining the terminal device corresponding to the terminal device from the test record. Identification; according to the terminal identification, verify whether the operator network used by the terminal device is accessed based on the target network access device; verify that the terminal device is accessed based on the target network access device In the case of the operator network, execute the step of obtaining network access log information corresponding to the terminal device in response to the test record.

为了实现上述目的,本发明第二方面还提供另一种信息处理方法,应用于区块链中的第二用户节点,所述方法包括:In order to achieve the above object, the second aspect of the present invention also provides another information processing method, which is applied to the second user node in the blockchain. The method includes:

获取第一用户节点发布的测试记录,其中,所述测试记录用于描述第一用户的终端设备对应的测试问题,所述第一用户节点与所述第一用户对应;Obtain the test record published by the first user node, where the test record is used to describe the test problem corresponding to the first user's terminal device, and the first user node corresponds to the first user;

响应于所述测试记录,获取目标密文,其中,所述目标密文是由所述终端设备对应的网络接入设备节点基于预设加密算法对所述终端设备的入网日志信息进行加密后生成的、包含有访问策略的密文;In response to the test record, a target ciphertext is obtained, wherein the target ciphertext is a ciphertext including an access policy, which is generated by encrypting the network access log information of the terminal device based on a preset encryption algorithm by a network access device node corresponding to the terminal device;

使用预设解密算法解密所述目标密文,获得所述入网日志信息;Decrypt the target ciphertext using a preset decryption algorithm to obtain the network access log information;

根据所述入网日志信息,生成用于解决所述测试问题的解决方案,并将所述解决方案发布至所述区块链中,其中,所述解决方案用于供所述区块链中的运营商节点解决所述测试问题。According to the network access log information, a solution for solving the test problem is generated, and the solution is published to the blockchain, where the solution is used for The operator node solves the test problem described.

可选地,所述使用预设解密算法解密所述目标密文,获得所述入网日志信息,包括:获取预设公共参数和所述第二用户节点的目标私钥,其中,所述目标私钥是所述第二用户节点在所述区块链中注册时基于所述第二用户节点的属性生成的;根据所述预设公共参数和所述目标私钥对所述目标密文进行基于属性的解密处理,获得所述入网日志信息。Optionally, using a preset decryption algorithm to decrypt the target ciphertext and obtain the network access log information includes: obtaining preset public parameters and the target private key of the second user node, wherein the target private key The key is generated based on the attributes of the second user node when the second user node registers in the blockchain; the target ciphertext is based on the preset public parameters and the target private key. Decrypt the attributes to obtain the network access log information.

可选地,所述根据所述预设公共参数和所述目标私钥对所述目标密文进行基于属性的解密处理,获得所述入网日志信息,包括:在根据所述预设公共参数和所述目标私钥对所述目标密文进行基于属性的解密处理的过程中,获取所述目标密文中用于描述所述访问策略的访问结构,并在所述目标私钥所表示的所述第二用户节点的属性与所述访问结构中所表示的目标用户的目标属性信息匹配的情况下,获得所述入网日志信息。Optionally, performing attribute-based decryption processing on the target ciphertext according to the preset public parameters and the target private key to obtain the network access log information includes: During the attribute-based decryption process of the target ciphertext by the target private key, the access structure used to describe the access policy in the target ciphertext is obtained, and the access structure represented by the target private key is When the attributes of the second user node match the target attribute information of the target user represented in the access structure, the network access log information is obtained.

为了实现上述目的,本发明第三方面还提供一种测试问题处理方法,应用于区块链中的运营商节点,所述方法包括:In order to achieve the above purpose, the third aspect of the present invention also provides a test problem processing method, which is applied to operator nodes in the blockchain. The method includes:

获取第一用户节点发布的测试记录,其中,所述测试记录用于描述第一用户的终端设备对应的测试问题,所述第一用户节点与所述第一用户对应;Obtain the test record published by the first user node, where the test record is used to describe the test problem corresponding to the first user's terminal device, and the first user node corresponds to the first user;

响应于所述测试记录,从所述区块链中获取第二用户节点发布的、用于解决所述测试问题的至少一个解决方案,其中,所述解决方案是由所述第二用户节点在获取到所述测试记录的情况下,根据解密目标密文得到的入网日志信息生成的,所述入网日志信息是由所述区块链中的网络接入设备节点响应于所述测试记录获取到的;In response to the test record, obtaining from the blockchain at least one solution published by a second user node for solving the test problem, wherein the solution is generated by the second user node according to network access log information obtained by decrypting a target ciphertext when the test record is obtained, and the network access log information is obtained by a network access device node in the blockchain in response to the test record;

根据所述至少一个解决方案处理所述测试问题,并根据处理结果在所述区块链中发布验证请求,其中,所述验证请求用于请求所述第一用户验证所述测试问题是否已解决;Processing the test problem according to the at least one solution, and publishing a verification request in the blockchain according to the processing result, wherein the verification request is used to request the first user to verify whether the test problem has been solved;

在获取到与所述验证请求对应的响应消息的情况下,根据所述响应消息,在所述区块链中发布问题解决结果。When a response message corresponding to the verification request is obtained, the problem solving result is published in the blockchain according to the response message.

可选地,所述问题解决结果用于触发所述区块链中的计算节点根据参与节点的贡献度计算每一参与节点的奖励;所述参与节点包括所述网络接入设备节点、所述运营商节点、所述第二用户节点以及所述第二用户所归属的厂商节点中的至少一项,所述厂商节点包括终端厂商节点、应用厂商节点和网络接入厂商节点中的至少一项;所述厂商节点用于在接收到所述运营商节点发布的目标工单的情况下,生成用于修复所述测试问题的目标处理结果,所述目标处理结果包括用于修复所述测试问题的软件更新包或者操作信息。Optionally, the problem solving result is used to trigger the computing node in the blockchain to calculate the reward of each participating node according to the contribution of the participating node; the participating node includes the network access device node, the At least one of the operator node, the second user node, and the vendor node to which the second user belongs. The vendor node includes at least one of a terminal vendor node, an application vendor node, and a network access vendor node. ; The manufacturer node is configured to generate a target processing result for repairing the test problem upon receiving a target work order issued by the operator node, and the target processing result includes a target processing result for repairing the test problem. software update package or operation information.

为了实现上述目的,本发明第四方面还提供一种信息处理装置,应用于区块链中的网络接入设备节点,该装置包括:In order to achieve the above object, the fourth aspect of the present invention also provides an information processing device, which is applied to a network access equipment node in a blockchain. The device includes:

第一记录获取模块,用于获取第一用户节点发布的测试记录,其中,所述测试记录用于描述第一用户的终端设备对应的测试问题,所述第一用户节点与所述第一用户对应;The first record acquisition module is used to obtain the test record published by the first user node, wherein the test record is used to describe the test problem corresponding to the first user's terminal device, the first user node and the first user correspond;

信息获取模块,用于响应于所述测试记录,获取所述终端设备对应的入网日志信息,其中,所述入网日志信息为所述终端设备在基于目标网络接入设备接入运营商网络后产生的日志信息,所述目标网络接入设备与所述网络接入设备节点对应;an information acquisition module, configured to acquire network access log information corresponding to the terminal device in response to the test record, wherein the network access log information is log information generated after the terminal device accesses the operator network based on a target network access device, and the target network access device corresponds to the network access device node;

信息处理模块,用于根据所述入网日志信息,使用预设加密算法生成目标密文,并将所述目标密文发布至所述区块链中;An information processing module, configured to use a preset encryption algorithm to generate a target ciphertext based on the network access log information, and publish the target ciphertext to the blockchain;

其中,所述目标密文中包含有访问策略,所述访问策略用于限定解密所述目标密文的解密方的属性,所述目标密文用于供所述区块链中的节点获取所述入网日志信息,并基于所述入网日志信息和所述测试记录解决所述测试问题。Wherein, the target ciphertext contains an access policy, the access policy is used to limit the attributes of the decryption party that decrypts the target ciphertext, and the target ciphertext is used for nodes in the blockchain to obtain the Network access log information, and solve the test problem based on the network access log information and the test record.

为了实现上述目的,本发明第五方面还提供一种电子设备,包括:In order to achieve the above object, the fifth aspect of the present invention also provides an electronic device, including:

一个或多个处理器;one or more processors;

存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本发明第一方面、第二方面或第三方面中任意一项所述的方法;A memory on which one or more programs are stored. When the one or more programs are executed by the one or more processors, the one or more processors implement the first and second aspects of the present invention. or the method described in any of the third aspects;

一个或多个I/O接口,连接在所述处理器与存储器之间,配置为实现所述处理器与存储器的信息交互。One or more I/O interfaces are connected between the processor and the memory, and are configured to realize information exchange between the processor and the memory.

为了实现上述目的,本发明第六方面还提供一种计算机可读介质,其上存储有计算机程序,所述程序被处理器执行时实现本发明第一方面、第二方面或第三方面中任意一项所述的方法。In order to achieve the above object, the sixth aspect of the present invention also provides a computer-readable medium on which a computer program is stored. When the program is executed by a processor, any of the first, second or third aspects of the present invention can be realized. The method described in one item.

本发明具有如下优点:根据本发明实施例,在区块链中的网络接入设备节点在获取到第一用户节点发布的、终端设备对应的测试记录的情况下,在获取到该终端设备对应的入网日志信息之后,为了便于区块链中的其他节点可以基于该入网日志信息生成解决该测试记录中所记录的测试问题的解决方案,同时还避免该入网日志信息在发布至区块链之后被恶意利用而可能带来的安全隐患,可以基于预设加密算法对该入网日志信息进行加密得到目标密文并将该目标密文发布至区块链中,由于该目标密文中包含有用于限定解密该目标密文的解密方的访问策略,从而可以避免该目标密文被恶意利用而可能带来的安全隐患问题;同时,基于该区块链发布终端设备的测试记录,并基于该区块链传递该入网日志信息,使得可以形成测试问题发布、解决方案征集、测试问题处理、处理结果验证以及解决结果发布的线上闭环,从而可以高效地解决终端设备对应的测试问题。The present invention has the following advantages: according to an embodiment of the present invention, when a network access device node in a blockchain obtains a test record corresponding to a terminal device and published by a first user node, after obtaining the network access log information corresponding to the terminal device, in order to facilitate other nodes in the blockchain to generate a solution to the test problem recorded in the test record based on the network access log information, and to avoid the security risks that may be caused by the malicious use of the network access log information after being published to the blockchain, the network access log information can be encrypted based on a preset encryption algorithm to obtain a target ciphertext and the target ciphertext can be published to the blockchain. Since the target ciphertext contains an access policy for limiting the decryption party of the target ciphertext, the security risks that may be caused by the malicious use of the target ciphertext can be avoided; at the same time, the test record of the terminal device is published based on the blockchain, and the network access log information is transmitted based on the blockchain, so that an online closed loop of test problem publishing, solution solicitation, test problem processing, processing result verification and solution result publishing can be formed, so that the test problem corresponding to the terminal device can be efficiently solved.

附图说明Description of drawings

附图是用来提供对本发明的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本发明,但并不构成对本发明的限制。The drawings are used to provide a further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the following specific embodiments, but do not constitute a limitation of the present invention.

图1为本发明实施例提供的一种信息处理方法的流程示意图;Figure 1 is a schematic flow chart of an information processing method provided by an embodiment of the present invention;

图2为本发明实施例提供的另一种信息处理方法的流程示意图;Figure 2 is a schematic flow chart of another information processing method provided by an embodiment of the present invention;

图3为本发明实施例提供的一种测试问题处理方法的流程示意图;FIG3 is a schematic diagram of a flow chart of a test problem processing method provided by an embodiment of the present invention;

图4为本发明实施例提供的一种信息处理装置的组成方框图;Figure 4 is a block diagram of an information processing device provided by an embodiment of the present invention;

图5为本发明实施例提供的另一种信息处理装置的组成方框图;Figure 5 is a block diagram of another information processing device provided by an embodiment of the present invention;

图6为本发明实施例提供的一种测试问题处理装置的组成方框图;Figure 6 is a block diagram of a test problem processing device provided by an embodiment of the present invention;

图7为本发明实施例提供的一种电子设备的结构示意图。FIG. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.

具体实施方式Detailed ways

以下结合附图对本发明的具体实施方式进行详细说明。应当理解的是,此处所描述的具体实施方式仅用于说明和解释本发明,并不用于限制本发明。Specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described here are only used to illustrate and explain the present invention, and are not intended to limit the present invention.

需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序;并且,在不冲突的情况下,本发明中的实施例及实施例中的特征可以相互任意组合。It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence; Furthermore, the embodiments and features in the embodiments of the present invention may be arbitrarily combined with each other as long as there is no conflict.

如本发明所使用的,术语“和/或”包括一个或多个相关列举条目的任何和全部组合。As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.

本发明所使用的术语仅用于描述特定实施例,且不意欲限制本发明。如本发明所使用的,单数形式“一个”和“该”也意欲包括复数形式,除非上下文另外清楚指出。The terminology used herein is only used to describe specific embodiments and is not intended to limit the invention. As used herein, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise.

当本发明中使用术语“包括”和/或“由……制成”时,指定存在所述特征、整体、步骤、操作、元件和/或组件,但不排除存在或添加一个或多个其它特征、整体、步骤、操作、元件、组件和/或其群组。When the terms "comprising" and/or "made of" are used herein, the presence of stated features, integers, steps, operations, elements and/or components is specified but does not exclude the presence or addition of one or more other Features, integers, steps, operations, elements, components and/or groups thereof.

除非另外限定,否则本发明所用的全部术语(包括技术和科学术语)的含义与本领域普通技术人员通常理解的含义相同。还将理解,诸如那些在常用字典中限定的那些术语应当被解释为具有与其在相关技术以及本发明的背景下的含义一致的含义,且将不解释为具有理想化或过度形式上的含义,除非本发明明确如此限定。Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be construed to have meanings consistent with their meanings in the context of the relevant art and the present invention, and will not be construed as having idealized or excessive formal meanings, Unless the invention is expressly so limited.

在相关技术中,用户或者测试人员在使用终端设备或者测试终端设备的过程中,当发现终端设备在存在测试问题,例如呼叫或通信问题的情况下,通常是依赖于线下方式来解决该测试问题。In related technologies, when users or testers find that there are test problems in the terminal equipment during the use or testing of the terminal equipment, such as calling or communication problems, they usually rely on offline methods to solve the test. question.

例如,在相关技术中,当测试人员发现终端设备存在某一呼叫或通信相关的测试问题时,往往是通过电话方式向该终端设备使用的网络所归属的运营商的客服进行问题反馈,再由运营商的客服以人工联络函方式进行线下问题解决,整个问题解决流程涉及的角色较多,而这些流程中往往存在用户参与积极性不高的问题,从而导致问题的解决效率极低;并且在线下沟通的过程中,还可能因为传递的线下文件丢失从而带来安全隐患。For example, in related technologies, when a tester discovers that a terminal device has a test problem related to a certain call or communication, he or she often provides problem feedback to the customer service of the operator to which the network used by the terminal device belongs by telephone, and then the tester will The operator's customer service uses manual contact letters to solve offline problems. The entire problem-solving process involves many roles, and there is often a problem in these processes that users are not enthusiastic about participating, resulting in extremely low problem-solving efficiency; and online In the process of offline communication, there may also be security risks caused by the loss of transferred offline files.

为解决上述问题,以安全且高效地解决终端设备存在的测试问题,本发明实施例提供了一种信息处理方法。请参看图1,其为本发明实施例提供的一种信息处理方法的流程示意图。该方法可以由电子设备设施,该电子设备具体可以为区块链中的网络接入设备节点。In order to solve the above problems and solve the testing problems existing in the terminal equipment safely and efficiently, embodiments of the present invention provide an information processing method. Please refer to Figure 1, which is a schematic flow chart of an information processing method provided by an embodiment of the present invention. The method can be implemented by electronic equipment, and the electronic equipment can specifically be a network access device node in the blockchain.

本发明实施例中的区块链可以由运营商节点所属的运营商构建,该区块链用于所有参与者通过线上方式对终端设备对应的测试问题进行闭环解决,该参与者可以包括使用或对终端设备进行测试的第一用户,终端厂商、应用厂商、硬件厂商(例如,网络接入设备厂商)、隶属于不同厂商的第二用户以及还可以包括网络接入设备。The blockchain in the embodiment of the present invention can be constructed by the operator to which the operator node belongs. The blockchain is used by all participants to solve the test problems corresponding to the terminal equipment in a closed-loop manner online. The participants can include using Or the first user who tests the terminal equipment, terminal manufacturer, application manufacturer, hardware manufacturer (for example, network access equipment manufacturer), second user belonging to different manufacturers, and may also include network access equipment.

需要说明的是,本发明实施例中的网络接入设备中可以安装有区块链客户端,从而使该网络接入设备可以作为区块链中的一个节点,即网络接入设备节点接入区块链中,并参与解决终端设备对应的测试问题。例如,该网络接入设备可以基于该区块链客户端检测区块链上发布的测试记录,并基于测试记录中的终端标识,例如终端设备关联的手机号码,获取该终端设备在接入运营商网络后的入网日志信息。It should be noted that the network access device in the embodiment of the present invention can be installed with a blockchain client, so that the network access device can serve as a node in the blockchain, that is, the network access device node access In the blockchain, and participate in solving testing problems corresponding to terminal equipment. For example, the network access device can detect the test record published on the blockchain based on the blockchain client, and based on the terminal identification in the test record, such as the mobile phone number associated with the terminal device, obtain the access operation of the terminal device. The network access log information behind the commercial network.

可以理解的是,该区块链中除了可以包含与网络接入设备对应的网络接入设备节点,还可以根据需要包含有与每一参与者对应的节点,例如还可以包含与第一用户对应的第一用户节点、与第二用户对应的第二用户节点、与终端厂商对应的终端厂商节点、与应用厂商对应的应用厂商节点以及与不同硬件厂商对应的硬件厂商节点中的至少一项,该硬件厂商节点例如可以为与网络接入设备厂商对应的网络接入厂商节点。It can be understood that in addition to the network access device node corresponding to the network access device, the blockchain may also include nodes corresponding to each participant as needed, for example, it may also include a first user node corresponding to the first user, a second user node corresponding to the second user, a terminal manufacturer node corresponding to the terminal manufacturer, an application manufacturer node corresponding to the application manufacturer, and at least one of hardware manufacturer nodes corresponding to different hardware manufacturers. The hardware manufacturer node may, for example, be a network access manufacturer node corresponding to the network access device manufacturer.

在本发明实施例中,考虑到网络接入设备获取的与终端设备对应的入网日志信息可能会暴露设备自身漏洞,从而为设备带来安全隐患,因此,本公开实施例中的区块链在构建,即初始化时可以由区块链构建者生成一个系统级的预设公共参数PK,以及生成一个主密钥MK,每一参与者在区块链中发布自己身份,即注册时可以获得该预设公共参数PK,同时区块链还会为每一参与者生成一个私钥,该私钥可以是通过预设私钥生成算法生成,例如可以基于公式:SK=Key Generation(MK,S)生成,其中,SK表示生成的私钥,MK表示上述主密钥,S用于描述该密钥或者该参与者的至少一个属性,Key Generation表示该预设私钥生成算法。In the embodiment of the present invention, considering that the network access log information corresponding to the terminal device obtained by the network access device may expose the device's own vulnerabilities, thereby bringing security risks to the device, therefore, the blockchain in the embodiment of the present disclosure is Construction, that is, during initialization, the blockchain builder can generate a system-level preset public parameter PK and generate a master key MK. Each participant publishes his or her identity in the blockchain, which can be obtained when registering. The public parameter PK is preset, and the blockchain will also generate a private key for each participant. The private key can be generated through a preset private key generation algorithm, for example, it can be based on the formula: SK=Key Generation (MK, S) Generation, where SK represents the generated private key, MK represents the above-mentioned master key, S is used to describe at least one attribute of the key or the participant, and Key Generation represents the preset private key generation algorithm.

以上对本发明实施例中的区块链、区块链中可能包含的节点以及节点可能包含的信息进行了简单说明。当然,在实际中,该区块链中也可以包含其他参与者的节点,此处不做特殊限定。The above is a brief description of the blockchain in the embodiment of the present invention, the nodes that may be included in the blockchain, and the information that the nodes may contain. Of course, in practice, the blockchain can also include nodes of other participants, and there are no special restrictions here.

如图1所述,本发明实施例提供的第一信息处理方法可以包括如下步骤S101-S103,以下予以详细说明。As shown in FIG. 1 , the first information processing method provided by the embodiment of the present invention may include the following steps S101 - S103 , which are described in detail below.

步骤S101,获取第一用户节点发布的测试记录,其中,所述测试记录用于描述第一用户的终端设备对应的测试问题,所述第一用户节点与所述第一用户对应。Step S101: Acquire a test record published by a first user node, wherein the test record is used to describe a test problem corresponding to a terminal device of the first user, and the first user node corresponds to the first user.

在本发明实施例中,终端设备可以基于运营商网络进行呼叫或者通信的设备,其中,终端设备使用的运营商网络可以与运营商节点对应,即,运营商网络是由运营商节点对应的运营商运营的。In the embodiment of the present invention, the terminal device can be a device that makes calls or communicates based on an operator network. The operator network used by the terminal equipment can correspond to an operator node. That is, the operator network is an operator operated by a corresponding operator node. Operated by merchants.

该终端设备例如可以为手机,当然其也可以为其他设备,例如也可以为平板电脑、智能手表等,此处不做特殊限定。The terminal device can be, for example, a mobile phone. Of course, it can also be other devices, such as a tablet computer, a smart watch, etc., which are not specifically limited here.

第一用户,可以是使用终端设备或者对终端设备进行测试的用户。The first user may be a user who uses a terminal device or tests the terminal device.

本发明实施例中的测试记录可以是第一用户,即终端用户或者终端测试人员在发现终端设备存在的测试问题的时候,生成的用于描述该测试问题的记录,其中,该测试问题可以是与呼叫或通信相关的问题,当然,该测试问题也可以为其它类型的问题,此处不做特殊限定。The test record in the embodiment of the present invention may be a record generated by the first user, i.e., the terminal user or the terminal tester, to describe the test problem when the test problem is discovered in the terminal device, wherein the test problem may be a problem related to calls or communications. Of course, the test problem may also be other types of problems, which are not specifically limited here.

另外,在一些实施例中,该第一用户节点也可以为该终端设备,在该种实施方式中,该测试记录也可以是在第一用户发现终端存在测试问题的情况下,基于预先在该终端设备中安装的区块链记录生成应用程序进行问题复现,并自动记录终端相关的信息,例如终端侧的各种信令交互信息,并自动生成测试记录以及将该测试记录发布至区块链中。In addition, in some embodiments, the first user node can also be the terminal device. In this implementation, the test record can also be based on the pre-recorded information in the terminal when the first user discovers that there is a test problem in the terminal. The blockchain record generation application installed in the terminal device reproduces the problem and automatically records terminal-related information, such as various signaling interaction information on the terminal side, and automatically generates test records and publishes the test records to the block in the chain.

该测试记录,可以包括有终端设备对应的终端信息、终端设备对应的终端标识、存在问题的目标应用的应用信息以及问题描述信息,该问题描述信息例如可以为终端侧的信令交互信息。The test record may include terminal information corresponding to the terminal device, terminal identification corresponding to the terminal device, application information of the problematic target application, and problem description information. The problem description information may be, for example, signaling interaction information on the terminal side.

其中,终端标识可以为终端设备关联的手机号码;目标应用可以为任一应用,应用信息可以包括目标应用的应用标识、版本信息等信息。The terminal identifier may be a mobile phone number associated with the terminal device; the target application may be any application, and the application information may include the application identifier, version information and other information of the target application.

为提升问题解决效率,该测试记录可以不必依赖于线下传输,而是可以由第一用户节点以私钥签名的广播消息的方式发布至本发明实施例的区块链中。In order to improve the efficiency of problem solving, the test record does not need to rely on offline transmission, but can be published by the first user node to the blockchain in the embodiment of the present invention in the form of a broadcast message signed by a private key.

步骤S102,响应于测试记录,获取终端设备对应的入网日志信息,其中,入网日志信息为终端设备在基于目标网络接入设备接入运营商网络后产生的日志信息,目标网络接入设备与网络接入设备节点对应。Step S102: In response to the test record, obtain the network access log information corresponding to the terminal device. The network access log information is the log information generated after the terminal device accesses the operator's network based on the target network access device. The target network access device and the network Corresponds to the access device node.

该入网日志信息,可以是终端设备在接入运营商网络后与网络接入设备之间进行的信令交互的信息。当然,在一些实施例中,为了便于区块链中的参与者能够快速定位测试问题并提供解决方案,该入网日志信息也可以包括原始日志信息和异常分析报告,其中,原始日志信息可以为网络接入设备中原始生成的与终端设备对应的信令交互信息,该异常分析报告可以是该网络设备接入节点基于测试问题的发生时间自动分析该原始日志信息得到的、可能导致发生该测试问题的分析报告。The network access log information may be information about the signaling interaction between the terminal device and the network access device after accessing the operator's network. Of course, in some embodiments, in order to facilitate the participants in the blockchain to quickly locate the test problem and provide a solution, the network access log information may also include original log information and an abnormal analysis report, wherein the original log information may be the signaling interaction information originally generated in the network access device and corresponding to the terminal device, and the abnormal analysis report may be an analysis report that may cause the test problem to occur, obtained by the network device access node automatically analyzing the original log information based on the time of occurrence of the test problem.

需要说明的是,在本发明实施例中,测试问题对应的问题类型可以有:终端问题、应用问题、网络接入设备问题等类型中的至少一项,其中,终端问题表示测试问题是由终端设备引起的,例如,由终端设备的操作系统或终端厂商内置的底层应用引起的问题;应用问题是指由用户在终端设备上安装的目标应用所引起的问题;网络接入设备问题是指由网络接入设备运行异常而引起的问题。It should be noted that, in an embodiment of the present invention, the problem types corresponding to the test problems may include: at least one of the following types: terminal problem, application problem, network access device problem, etc., wherein the terminal problem indicates that the test problem is caused by the terminal device, for example, a problem caused by the operating system of the terminal device or the underlying application built into the terminal manufacturer; an application problem refers to a problem caused by a target application installed by a user on the terminal device; a network access device problem refers to a problem caused by abnormal operation of the network access device.

即,在本发明实施例中,由于第一用户在提交测试记录时,其往往只能获取到终端设备测的问题现场信息,例如,问题提示信息、问题截图、终端设备测问题日志等信息,而并不能获取到网络侧的问题,因此,为了便于区块链中的参与者寻找问题解决方案,网络接入设备节点可以在检测到区块链中与终端设备对应的测试记录之后,基于该测试记录中包括的终端设备的终端标识,获取终端设备对应的入网日志信息,以便于区块链的参与者基于该网络侧的入网日志信息分析该测试记录中的测试问题,以提供解决该测试问题的解决方案。That is, in an embodiment of the present invention, when the first user submits a test record, he or she can often only obtain on-site information of the problem measured by the terminal device, such as problem prompt information, problem screenshots, terminal device problem logs and other information, but cannot obtain problems on the network side. Therefore, in order to facilitate participants in the blockchain to find solutions to the problems, the network access device node can, after detecting the test record corresponding to the terminal device in the blockchain, obtain the network access log information corresponding to the terminal device based on the terminal identification of the terminal device included in the test record, so that participants in the blockchain can analyze the test problems in the test record based on the network access log information on the network side to provide solutions to the test problems.

在本发明实施例中,网络接入设备节点中安装有区块链客户端,该网络接入设备在检测到区块链中发布了测试记录之后,可以获取该测试记录,并获取终端设备对应的入网日志信息,以便于提供网络侧的日志信息用区块链中的参与者参与提供解决该测试问题的解决方案。In the embodiment of the present invention, a blockchain client is installed in the network access device node. After detecting that the test record is published in the blockchain, the network access device can obtain the test record and obtain the corresponding terminal device Network access log information, in order to provide log information on the network side and use participants in the blockchain to participate in providing solutions to the test problem.

在一些实施例中,在执行本步骤S102之前,该方法还可以包括:从测试记录中,获取终端设备对应的终端标识;根据终端标识,校验终端设备使用的运营商网络是否是基于该目标网络接入设备接入的;在校验终端设备基于目标网络接入设备接入运营商网络的情况下,执行本步骤,即,响应于测试记录,获取终端设备对应的入网日志信息。In some embodiments, before executing this step S102, the method may also include: obtaining a terminal identifier corresponding to the terminal device from the test record; based on the terminal identifier, verifying whether the operator network used by the terminal device is accessed based on the target network access device; when verifying that the terminal device accesses the operator network based on the target network access device, execute this step, that is, in response to the test record, obtain the network access log information corresponding to the terminal device.

即,在本发明实施例中,区块链中的网络设备接入节点在获取到第一用户节点发布的测试记录的情况下,可以先校验终端设备是否是基于自身接入到其使用的运营商网络中的,若不是,则可以不必进行处理,以避免资源浪费问题。That is, in the embodiment of the present invention, when the network device access node in the blockchain obtains the test record published by the first user node, it can first verify whether the terminal device is accessed based on its own use. In the operator's network, if not, there is no need to process it to avoid resource waste.

步骤S103,根据入网日志信息,使用预设加密算法生成目标密文,并将目标密文发布至区块链中;其中,目标密文中包含有访问策略,访问策略用于限定解密目标密文的解密方的属性,目标密文用于供区块链中的节点获取入网日志信息,并基于入网日志信息和测试记录解决测试问题。Step S103, according to the network access log information, use the preset encryption algorithm to generate the target ciphertext, and publish the target ciphertext to the blockchain; wherein the target ciphertext contains an access policy, the access policy is used to limit the attributes of the decryption party that decrypts the target ciphertext, and the target ciphertext is used for the nodes in the blockchain to obtain the network access log information, and solve the test problems based on the network access log information and the test records.

在一些实施例中,所述根据入网日志信息,使用预设加密算法生成目标密文,可以包括:获取预设公共参数和用于描述访问策略的访问结构;根据预设公共参数和访问结构对入网日志信息进行基于属性的加密处理,获得目标密文;其中,预设公共参数是在构建区块链时生成并分发至区块链中的每一节点的参数;预设公共参数用于在区块链中的节点接收到目标密文的情况下解密目标密文以获取入网日志信息。In some embodiments, using a preset encryption algorithm to generate target ciphertext based on network access log information may include: obtaining preset public parameters and an access structure used to describe the access policy; The network access log information is encrypted based on attributes to obtain the target ciphertext; among them, the preset public parameters are parameters generated when building the blockchain and distributed to each node in the blockchain; the preset public parameters are used in When the node in the blockchain receives the target ciphertext, it decrypts the target ciphertext to obtain the network access log information.

其中,在该种实施方式中,所述获取用于描述访问策略的访问结构,包括:获取与终端设备和/或目标网络接入设备对应的目标用户的目标属性信息;根据该目标属性信息,生成该访问结构。Among them, in this implementation, the obtaining of the access structure for describing the access policy includes: obtaining target attribute information of the target user corresponding to the terminal device and/or the target network access device; and generating the access structure according to the target attribute information.

即,在本发明实施例中,由于入网日志信息包含有网络接入设备在将终端设备接入运营商网络时进行的信令交互的信息,因此其可能暴露设备存在的漏洞,若以明文形式发布至区块链,则可能对设备带来安全隐患,为此,在本发明实施例中,可以基于预设加密算法对该入网日志进行基于属性的加密处理,从而一方面保障该入网日志信息可以被信任的参与者得到并解析,另一方面由于该预设加密算法为基于属性的加密处理,因此,在任一方解密方得到目标密文之后,可以直接基于预设公共参数PK和用于描述其属性的私钥,即可基于该目标密文中包含的访问策略,对该目标密文进行解密处理,从而可以保障该入网日志信息只会被区块链中受该网络接入设备信任,即具有的属性符合访问结构的参与者得到。That is, in the embodiment of the present invention, since the network access log information contains information on the signaling interaction performed by the network access device when connecting the terminal device to the operator's network, it may expose vulnerabilities in the device. If it is published to the blockchain in plain text, it may bring security risks to the device. For this reason, in the embodiment of the present invention, the network access log can be encrypted based on attributes based on a preset encryption algorithm, thereby ensuring that the network access log information can be obtained and parsed by trusted participants on the one hand, and on the other hand, since the preset encryption algorithm is an attribute-based encryption process, after any decryption party obtains the target ciphertext, it can directly decrypt the target ciphertext based on the preset public parameter PK and the private key used to describe its attributes, that is, based on the access policy contained in the target ciphertext, thereby ensuring that the network access log information will only be obtained by participants in the blockchain who are trusted by the network access device, that is, participants whose attributes conform to the access structure.

在该种实施方式中,为了保障该入网日志信息可以被信任的参与者得到并解析,在生成该目标密文时,其访问结构可以是通过获取与该终端设备和/或与该目标网络接入设备对应的目标用户的目标属性信息,并基于该目标属性信息,生成该访问结构。In this implementation, in order to ensure that the network access log information can be obtained and parsed by trusted participants, when generating the target ciphertext, the access structure may be obtained by accessing the terminal device and/or the target network interface. Enter the target attribute information of the target user corresponding to the device, and generate the access structure based on the target attribute information.

该目标用户可以为与终端设备对应的终端厂商中的用户、与终端设备所使用的运营商网络对应的运营商中的用户、与该目标网络接入设备对应的网络接入设备厂商中的用户以及与终端设备中运行的应用程序对应的应用厂商中的用户中的至少一项;当然,该目标用户也可以是与终端厂商、运营商、应用厂商以及网络接入设备厂商关联但并不隶属于任意厂商的关联用户,该关联用户例如可以为某一厂商的外聘专家。The target user may be a user in the terminal manufacturer corresponding to the terminal device, a user in the operator corresponding to the operator network used by the terminal device, or a user in the network access equipment manufacturer corresponding to the target network access device. and at least one of the users from the application manufacturers corresponding to the applications running in the terminal device; of course, the target user can also be associated with but not affiliated with the terminal manufacturer, operator, application manufacturer and network access equipment manufacturer An associated user of any manufacturer. For example, the associated user can be an external expert of a certain manufacturer.

在本发明实施例中,该目标密文可以通过以下公式得到:CT=Encrypt(PK,M,A),其中,PK表示预设公共参数,M表示该入网日志信息,A表示访问结构,Encrypt表示该预设加密算法。In the embodiment of the present invention, the target ciphertext can be obtained by the following formula: CT=Encrypt(PK,M,A), where PK represents the preset public parameters, M represents the network access log information, A represents the access structure, and Encrypt Indicates the default encryption algorithm.

在解密方,例如受网络接入设备信任的第二用户节点得到该目标密文并成功解密该目标密文得到该入网日志信息之后,即可参与提供用于解决该测试问题的解决方案,以供区块链中的运营商节点基于该些解决方案修复该测试问题,其中,该受网络接入设备信任的第二用户节点可以为其属性与上述访问结构中所描述的目标用户的目标属性信息匹配的任一第二用户所对应的节点。After the decryption party, such as a second user node trusted by the network access device, obtains the target ciphertext and successfully decrypts the target ciphertext to obtain the network access log information, it can participate in providing solutions to solve the test problem, so as to Provide operator nodes in the blockchain to fix the test problem based on these solutions, where the second user node trusted by the network access device can have its attributes consistent with the target attributes of the target user described in the above access structure. The node corresponding to any second user whose information matches.

可见,本发明实施例提供的该信息处理方法,区块链中的网络接入设备节点在获取到第一用户节点发布的、终端设备对应的测试记录的情况下,在获取到该终端设备对应的入网日志信息之后,为了便于区块链中的其他节点可以基于该入网日志信息生成解决该测试记录中所记录的测试问题的解决方案,同时还避免该入网日志信息在发布至区块链之后被恶意利用而可能带来的安全隐患,可以基于预设加密算法对该入网日志信息进行加密得到目标密文并将该目标密文发布至区块链中,由于该目标密文中包含有用于限定解密该目标密文的解密方的访问策略,从而可以避免该目标密文被恶意利用而可能带来的安全隐患问题;同时,基于该区块链发布终端设备的测试记录,并基于该区块链传递该入网日志信息,使得可以形成测试问题发布、解决方案征集、测试问题处理、处理结果验证以及解决结果发布的线上闭环,从而可以高效地解决终端设备对应的测试问题。It can be seen that in the information processing method provided by the embodiment of the present invention, when the network access device node in the blockchain obtains the test record corresponding to the terminal device published by the first user node, it obtains the test record corresponding to the terminal device. After the network access log information, in order to facilitate other nodes in the blockchain to generate solutions to the test problems recorded in the test record based on the network access log information, and also to avoid the network access log information after being released to the blockchain For possible security risks caused by malicious use, the network access log information can be encrypted based on the preset encryption algorithm to obtain the target ciphertext and publish the target ciphertext to the blockchain, because the target ciphertext contains restrictions. The access policy of the decryptor who decrypts the target ciphertext can avoid potential security risks caused by malicious use of the target ciphertext; at the same time, the test record of the terminal device is released based on the blockchain, and based on the block The chain transfers the network access log information, so that an online closed loop of test problem release, solution collection, test problem processing, processing result verification, and solution result release can be formed, so that the test problems corresponding to the terminal equipment can be efficiently solved.

另外,请参看图2,其为本发明实施例提供的另一种信息处理方法的流程示意图。与上述应用于网络接入设备节点中的第一信息处理方法对应,图2所示的第二信息处理方法可以应用于区块链中的第二用户节点,该第二用户节点可以作为发布至区块链中的目标密文的解密方,基于由自身具有的至少一个属性生成的私钥对该目标密文进行解密处理,以得到与待解决的测试问题对应的入网日志信息,以供其对应的第二用户基于该入网日志信息分析并生成用于解决该测试问题的解决方案。In addition, please refer to Figure 2, which is a flow chart of another information processing method provided by an embodiment of the present invention. Corresponding to the first information processing method applied to the network access device node, the second information processing method shown in Figure 2 can be applied to the second user node in the blockchain, and the second user node can be used as the decryption party of the target ciphertext published to the blockchain, and decrypt the target ciphertext based on the private key generated by at least one attribute of itself, so as to obtain the network access log information corresponding to the test problem to be solved, so that the corresponding second user can analyze and generate a solution for solving the test problem based on the network access log information.

如图2所示,该第二信息处理方法可以包括如下步骤S201-S204,以下予以详细说明。As shown in Figure 2, the second information processing method may include the following steps S201-S204, which will be described in detail below.

步骤S201,获取第一用户节点发布的测试记录,其中,测试记录用于描述第一用户的终端设备对应的测试问题,第一用户节点与第一用户对应。Step S201: Acquire a test record published by a first user node, wherein the test record is used to describe a test problem corresponding to a terminal device of the first user, and the first user node corresponds to the first user.

步骤S202,响应于测试记录,获取目标密文,其中,目标密文是由终端设备对应的网络接入设备节点基于预设加密算法对终端设备的入网日志信息进行加密后生成的、包含有访问策略的密文。Step S202, in response to the test record, obtaining a target ciphertext, wherein the target ciphertext is a ciphertext including an access policy, generated by encrypting the network access log information of the terminal device based on a preset encryption algorithm by a network access device node corresponding to the terminal device.

步骤S203,使用预设解密算法解密目标密文,获得入网日志信息。Step S203: Decrypt the target ciphertext using a preset decryption algorithm to obtain network access log information.

即,在本发明实施例中,区块链中的第二用户节点在检测到区块链中存在第一用户节点发布的测试记录的情况下,可以检测区块链中与终端设备对应的网络接入设备节点发布的上述目标密文,以对该目标密文进行解密处理,从而获取终端设备对应的网络侧的入网日志信息,以分析用于解决其对应的测试问题的解决方案。That is, in the embodiment of the present invention, when the second user node in the blockchain detects that there is a test record published by the first user node in the blockchain, it can detect the network corresponding to the terminal device in the blockchain The above-mentioned target ciphertext published by the access device node is used to decrypt the target ciphertext, thereby obtaining the network access log information corresponding to the network side of the terminal device to analyze the solution for solving the corresponding test problem.

在一些实施例中,所述使用预设解密算法解密目标密文,获得入网日志信息,可以包括:获取预设公共参数和第二用户节点的目标私钥,其中,目标私钥是第二用户节点在区块链中注册时基于第二用户节点的属性生成的;根据预设公共参数和目标私钥对目标密文进行基于属性的解密处理,获得入网日志信息。In some embodiments, the use of a preset decryption algorithm to decrypt the target ciphertext and obtain network access log information may include: obtaining preset public parameters and a target private key of the second user node, wherein the target private key is generated based on the attributes of the second user node when the second user node is registered in the blockchain; performing attribute-based decryption processing on the target ciphertext according to the preset public parameters and the target private key to obtain network access log information.

即,在该种实施方式中,由于第二用户节点在区块链中注册时,可以得到基于自身具有的至少一个属性生成的私钥,因此,在得到网络接入设备使用预设加密算法生成的目标密文之后,可以根据上述预设公共参数和自身的目标私钥,使用与该预设加密算法对应的预设解密算法对该目标密文进行解析,以确定其是否可以解密得到入网日志信息。That is, in this implementation, since the second user node can obtain a private key generated based on at least one attribute it possesses when registering in the blockchain, the network access device uses a preset encryption algorithm to generate the private key. After obtaining the target ciphertext, you can use the preset decryption algorithm corresponding to the preset encryption algorithm to parse the target ciphertext based on the above preset public parameters and your own target private key to determine whether it can be decrypted to obtain the network access log. information.

其中,所述根据预设公共参数和目标私钥对目标密文进行基于属性的解密处理,获得入网日志信息,可以为:在根据预设公共参数和目标私钥对目标密文进行基于属性的解密处理的过程中,获取目标密文中用于描述访问策略的访问结构,并在目标私钥所表示的第二用户节点的属性与访问结构中所表示的目标用户的目标属性信息匹配的情况下,获得入网日志信息。Wherein, performing attribute-based decryption processing on the target ciphertext according to the preset public parameters and the target private key to obtain the network access log information may be: performing attribute-based decryption on the target ciphertext according to the preset public parameters and the target private key. During the decryption process, the access structure used to describe the access policy in the target ciphertext is obtained, and when the attributes of the second user node represented by the target private key match the target attribute information of the target user represented in the access structure , obtain the network access log information.

该预设解密算法可以表示为:M=Decrypt(PK,CT,SK),其中,M表示解密目标密文后得到的入网日志信息,PK表示预设公共参数,CT表示目标密文,SK表示第二用户节点的目标私钥。The preset decryption algorithm can be expressed as: M=Decrypt(PK,CT,SK), where M represents the network access log information obtained after decrypting the target ciphertext, PK represents the preset public parameters, CT represents the target ciphertext, and SK represents The target private key of the second user node.

即,由于目标私钥是基于第二用户节点的属性生成的,因此,在第二用户节点基于该预设加密算法对目标密文进行解密处理时,若该第二用户节点的属性与目标密文中用于描述访问策略的访问结构中的目标用户的目标属性信息相匹配,则可以成功解密该目标密文,得到该入网日志信息;若不匹配,则说明当前的第二用户节点并不受目标网络接入设备信任,为了保障目标网络接入设备的安全,则解密处理失败,该第二用户节点并不能得到该入网日志信息。That is, since the target private key is generated based on the attributes of the second user node, when the second user node decrypts the target ciphertext based on the preset encryption algorithm, if the attributes of the second user node are the same as the target ciphertext, If the target attribute information of the target user in the access structure used to describe the access policy matches, the target ciphertext can be successfully decrypted and the network access log information can be obtained; if it does not match, it means that the current second user node is not protected. The target network access device is trusted. In order to ensure the security of the target network access device, the decryption process fails, and the second user node cannot obtain the network access log information.

步骤S204,根据入网日志信息,生成用于解决测试问题的解决方案,并将解决方案发布至区块链中,其中,解决方案用于供区块链中的运营商节点解决测试问题。Step S204: Generate a solution for solving the test problem based on the network access log information, and publish the solution to the blockchain, where the solution is used for operator nodes in the blockchain to solve the test problem.

可见,本公开实施例提供的信息处理方法,由于网络接入设备节点发布至区块链中的目标密文中包含有用于限定解密该目标密文的解密方的访问策略,从而可以避免该目标密文被恶意利用而可能带来的安全隐患问题;同时,基于该区块链发布终端设备的测试记录,并基于该区块链传递该入网日志信息,使得满足条件的解密方可以解密该目标密文得到入网日志信息,并基于入网日志信息生成解决方案并将解决方案发布至区块链中,从而可以形成测试问题发布、解决方案征集、测试问题处理、处理结果验证以及解决结果发布的线上闭环,以高效地解决终端设备对应的测试问题。It can be seen that the information processing method provided by the embodiment of the present disclosure can prevent the target ciphertext from being decrypted because the target ciphertext published by the network access device node to the blockchain contains an access policy for limiting the decryption party that decrypts the target ciphertext. Possible security risks caused by malicious use of the text; at the same time, the test records of the terminal equipment are released based on the blockchain, and the network access log information is transmitted based on the blockchain, so that the decryption party that meets the conditions can decrypt the target password. We obtain the network access log information, generate a solution based on the network access log information, and publish the solution to the blockchain, thus forming an online platform for testing problem release, solution collection, test problem processing, processing result verification, and solution result release. Closed loop to efficiently solve test problems corresponding to terminal equipment.

此外,与上述两种信息处理方法对应,本发明实施例还提供一种测试问题处理方法,请参看图3,其为本发明实施例提供的一种测试问题处理方法的流程示意图,该方法可以应用于区块链中的运营商节点。In addition, corresponding to the above two information processing methods, an embodiment of the present invention also provides a test problem processing method. Please refer to Figure 3, which is a flow chart of a test problem processing method provided by an embodiment of the present invention. This method can be applied to operator nodes in the blockchain.

如图3所示,该测试问题处理方法可以包括如下步骤S301-S304,以下予以详细说明。As shown in FIG. 3 , the test problem processing method may include the following steps S301 - S304 , which are described in detail below.

步骤S301,获取第一用户节点发布的测试记录,其中,测试记录用于描述第一用户的终端设备对应的测试问题,第一用户节点与第一用户对应。Step S301: Obtain the test record published by the first user node, where the test record is used to describe the test problem corresponding to the first user's terminal device, and the first user node corresponds to the first user.

步骤S302,响应于测试记录,从区块链中获取第二用户节点发布的、用于解决测试问题的至少一个解决方案,其中,解决方案是由第二用户节点在获取到测试记录的情况下,根据解密目标密文得到的入网日志信息生成的,入网日志信息是由区块链中的网络接入设备节点响应于测试记录获取到的。Step S302: In response to the test record, obtain at least one solution issued by the second user node from the blockchain to solve the test problem, where the solution is provided by the second user node after obtaining the test record. , generated based on the network access log information obtained by decrypting the target ciphertext. The network access log information is obtained by the network access device node in the blockchain in response to the test record.

步骤S303,根据至少一个解决方案处理测试问题,并根据处理结果在区块链中发布验证请求,其中,验证请求用于请求第一用户验证测试问题是否已解决。Step S303: Process the test problem according to at least one solution, and issue a verification request in the blockchain according to the processing result, where the verification request is used to request the first user to verify whether the test problem has been solved.

步骤S304,在获取到与验证请求对应的响应消息的情况下,根据响应消息,在区块链中发布问题解决结果。Step S304: When the response message corresponding to the verification request is obtained, publish the problem resolution result in the blockchain according to the response message.

即,在本发明实施例中,运营商节点在接收到终端设备对应的测试记录之后,可以从区块链中获取由第二用户节点发布的至少一个解决方案,并从该至少一个解决方案中确定一个目标解决方案;若该目标解决方案表示需要对应的厂商,例如,终端厂商、应用厂商或者网络接入设备厂商等厂商中的任一者进行处理,例如需要厂商以修改代码或者指导操作的方式来修复该测试问题,则运营商节点可以执行如下步骤:根据该目标解决方案生成目标工单,将该目标工单发布至区块链中,其中,目标工单用于所述区块链中与目标解决方案对应的厂商节点处理该测试问题;在接收到该厂商节点发布的目标处理结果的情况下,根据目标处理结果生成上述验证请求。That is, in the embodiment of the present invention, after receiving the test record corresponding to the terminal device, the operator node can obtain at least one solution published by the second user node from the blockchain, and obtain from the at least one solution Determine a target solution; if the target solution requires a corresponding manufacturer, for example, any one of the terminal manufacturers, application manufacturers, or network access equipment manufacturers to handle it, for example, the manufacturer needs to modify the code or guide the operation. To fix the test problem, the operator node can perform the following steps: generate a target work order based on the target solution, and publish the target work order to the blockchain, where the target work order is used in the blockchain The vendor node corresponding to the target solution handles the test problem; upon receiving the target processing result published by the vendor node, the above verification request is generated based on the target processing result.

在本发明实施例中,目标处理结果可以为用于修复测试问题的软件更新包,或者为用于修复测试问题的操作信息。In this embodiment of the present invention, the target processing result may be a software update package for repairing test problems, or operation information for repairing test problems.

可以理解的是,在目标解决方案对应的厂商节点为终端厂商节点或者应用厂商节点的情况下,在基于目标处理结果生成验证请求时,该验证请求中需要包含用于修复该测试问题的软件更新包或者操作信息,以供第一用户在接收到该验证请求之后,基于该软件更新包或者操作信息确定是否可以解决终端设备对应的该测试问题;而在目标解决方案对应的厂商节点为网络接入厂商节点的情况下,则可以由运营商节点在接收到网络接入设备节点返回的结果响应消息的情况下,直接向第一用户节点发送验证请求,其中,该结果响应消息是网络接入设备节点在获取到区块链中发布的目标处理结果的情况下,执行修复操作后返回的执行结果信息。It can be understood that when the vendor node corresponding to the target solution is a terminal vendor node or an application vendor node, when a verification request is generated based on the target processing results, the verification request needs to include a software update to fix the test problem. package or operation information for the first user to determine whether the test problem corresponding to the terminal device can be solved based on the software update package or operation information after receiving the verification request; and the manufacturer node corresponding to the target solution is the network interface In the case of entering the manufacturer node, the operator node can directly send a verification request to the first user node after receiving the result response message returned by the network access device node, where the result response message is the network access device node. The execution result information returned after the device node performs the repair operation after obtaining the target processing result published in the blockchain.

另外,在本发明实施例中,运营商节点发布至区块链中的问题解决结果可以用于触发区块链中的计算节点根据参与节点的贡献度计算每一参与节点的奖励;参与节点包括网络接入设备节点、运营商节点、第二用户节点以及第二用户所归属的厂商节点中的至少一项,厂商节点包括终端厂商节点、应用厂商节点和网络接入厂商节点中的至少一项;厂商节点用于在接收到运营商节点发布的目标工单的情况下,生成用于修复测试问题的目标处理结果,目标处理结果包括用于修复所述测试问题的软件更新包或者操作信息。In addition, in the embodiment of the present invention, the problem solving results published by the operator node to the blockchain can be used to trigger the computing nodes in the blockchain to calculate the rewards of each participating node according to the contribution of the participating nodes; the participating nodes include At least one of a network access equipment node, an operator node, a second user node, and a vendor node to which the second user belongs. The vendor node includes at least one of a terminal vendor node, an application vendor node, and a network access vendor node. ; The manufacturer node is configured to generate a target processing result for repairing the test problem upon receiving a target work order issued by the operator node. The target processing result includes a software update package or operation information for repairing the test problem.

即,在本发明实施例中,针对第一用户发布的测试记录,区块链中的每一参与者均可参与解决该测试记录中的测试问题,区块链可以准确的记录每一参与者所作出的贡献,从而可以在运营商节点发布问题解决结果之后,即完成问题的闭环之后,由计算节点根据区块链中记录的每一参与者发布的记录,针对每一记录的贡献度向每一参与者给与不同等级的Token奖励,其中,针对被采纳的解决方案,即最终解决该测试问题的解决方案的参与者还可以给与额外的Token奖励,以提升每一参与者的积极性,促使测试问题能够被高效地解决。That is, in the embodiment of the present invention, for the test record published by the first user, each participant in the blockchain can participate in solving the test problems in the test record, and the blockchain can accurately record each participant Therefore, after the operator node releases the problem solution result, that is, after completing the closed loop of the problem, the computing node will calculate the contribution of each record to the operator based on the records released by each participant recorded in the blockchain. Different levels of Token rewards will be given to each participant. Among them, additional Token rewards can be given to participants who have adopted solutions, that is, the solutions that ultimately solve the test problem, to increase the enthusiasm of each participant. , enabling test problems to be solved efficiently.

另外,还需要说明的是,以上各方法实施例中各种方法的步骤划分,只是为了描述清楚,实现时可以合并为一个步骤或者对某些步骤进行拆分,分解为多个步骤,只要包括相同的逻辑关系,都在本专利的保护范围内;对算法中或者流程中添加无关紧要的修改或者引入无关紧要的设计,但不改变其算法和流程的核心设计都在该专利的保护范围内。In addition, it should be noted that the steps of various methods in the above method embodiments are only for clear description. During implementation, they can be combined into one step or some steps can be split into multiple steps, as long as they include The same logical relationships are all within the scope of protection of this patent; adding insignificant modifications or introducing irrelevant designs to the algorithm or process, but not changing the core design of the algorithm and process are all within the scope of protection of this patent. .

本发明实施例还提供一种信息处理装置,可以应用于区块链中的网络接入设备节点,如图4所示,该信息处理装置400包括:第一记录获取模块401、信息获取模块402和信息处理模块403。Embodiments of the present invention also provide an information processing device, which can be applied to network access equipment nodes in the blockchain. As shown in Figure 4, the information processing device 400 includes: a first record acquisition module 401, an information acquisition module 402 and information processing module 403.

该第一记录获取模块401,用于获取第一用户节点发布的测试记录,其中,所述测试记录用于描述第一用户的终端设备对应的测试问题,所述第一用户节点与所述第一用户对应。The first record acquisition module 401 is used to obtain a test record published by a first user node, where the test record is used to describe a test problem corresponding to the first user's terminal device, and the first user node is related to the first user node. One user corresponds.

该信息获取模块402,用于响应于所述测试记录,获取所述终端设备对应的入网日志信息,其中,所述入网日志信息为所述终端设备在基于目标网络接入设备接入运营商网络后产生的日志信息,所述目标网络接入设备与所述网络接入设备节点对应。The information acquisition module 402 is used to obtain the network access log information corresponding to the terminal device in response to the test record, wherein the network access log information is the log information generated after the terminal device accesses the operator network based on the target network access device, and the target network access device corresponds to the network access device node.

该信息处理模块403,用于根据所述入网日志信息,使用预设加密算法生成目标密文,并将所述目标密文发布至所述区块链中;其中,所述目标密文中包含有访问策略,所述访问策略用于限定解密所述目标密文的解密方的属性,所述目标密文用于供所述区块链中的节点获取所述入网日志信息,并基于所述入网日志信息和所述测试记录解决所述测试问题。The information processing module 403 is configured to use a preset encryption algorithm to generate a target ciphertext based on the network access log information, and publish the target ciphertext to the blockchain; wherein the target ciphertext contains Access policy, the access policy is used to limit the attributes of the decryption party that decrypts the target ciphertext. The target ciphertext is used for nodes in the blockchain to obtain the network access log information, and based on the network access The log information and the test records resolve the test issues.

在一些实施例中,信息处理模块403在根据所述入网日志信息,使用预设加密算法生成目标密文时,可以用于:获取预设公共参数和用于描述所述访问策略的访问结构;根据所述预设公共参数和所述访问结构对所述入网日志信息进行基于属性的加密处理,获得所述目标密文;其中,所述预设公共参数是在构建所述区块链时生成并分发至所述区块链中的每一节点的参数;所述预设公共参数用于在区块链中的节点接收到所述目标密文的情况下解密所述目标密文以获取所述入网日志信息。In some embodiments, when the information processing module 403 generates a target ciphertext based on the network access log information using a preset encryption algorithm, it can be used to: obtain preset public parameters and an access structure for describing the access policy; perform attribute-based encryption processing on the network access log information according to the preset public parameters and the access structure to obtain the target ciphertext; wherein the preset public parameters are parameters generated when the blockchain is constructed and distributed to each node in the blockchain; the preset public parameters are used to decrypt the target ciphertext when a node in the blockchain receives the target ciphertext to obtain the network access log information.

在一些实施例中,信息处理模块403在获取用于描述访问策略的访问结构时,可以用于:获取与终端设备和/或目标网络接入设备对应的目标用户的目标属性信息;根据目标属性信息,生成访问结构。In some embodiments, when acquiring an access structure for describing an access policy, the information processing module 403 can be used to: acquire target attribute information of a target user corresponding to a terminal device and/or a target network access device; and generate an access structure based on the target attribute information.

本发明实施例还提供另一种信息处理装置,可以应用于区块链中的第二用户节点,如图5所示,该信息处理装置500包括:第二记录获取模块501、密文获取模块502、解密处理模块503和方案生成模块504。The embodiment of the present invention also provides another information processing device, which can be applied to the second user node in the blockchain. As shown in Figure 5, the information processing device 500 includes: a second record acquisition module 501, a ciphertext acquisition module 502. Decryption processing module 503 and solution generation module 504.

第二记录获取模块501,用于获取第一用户节点发布的测试记录,其中,所述测试记录用于描述第一用户的终端设备对应的测试问题,所述第一用户节点与所述第一用户对应。The second record acquisition module 501 is used to acquire a test record published by a first user node, wherein the test record is used to describe a test problem corresponding to a terminal device of the first user, and the first user node corresponds to the first user.

密文获取模块502,用于响应于所述测试记录,获取目标密文,其中,所述目标密文是由所述终端设备对应的网络接入设备节点基于预设加密算法对所述终端设备的入网日志信息进行加密后生成的、包含有访问策略的密文。The ciphertext acquisition module 502 is configured to obtain a target ciphertext in response to the test record, where the target ciphertext is generated by the network access device node corresponding to the terminal device based on a preset encryption algorithm. The ciphertext containing the access policy is generated after encrypting the network access log information.

解密处理模块503,用于使用预设解密算法解密所述目标密文,获得所述入网日志信息。The decryption processing module 503 is used to decrypt the target ciphertext using a preset decryption algorithm to obtain the network access log information.

方案生成模块504,用于根据所述入网日志信息,生成用于解决所述测试问题的解决方案,并将所述解决方案发布至所述区块链中,其中,所述解决方案用于供所述区块链中的运营商节点解决所述测试问题。The solution generation module 504 is configured to generate a solution for solving the test problem according to the network access log information, and publish the solution to the blockchain, where the solution is used to provide Operator nodes in the blockchain solve the testing problem.

在一些实施例中,解密处理模块503在使用预设解密算法解密所述目标密文,获得所述入网日志信息时,可以用于:获取预设公共参数和所述第二用户节点的目标私钥,其中,所述目标私钥是所述第二用户节点在所述区块链中注册时基于所述第二用户节点的属性生成的;根据所述预设公共参数和所述目标私钥对所述目标密文进行基于属性的解密处理,获得所述入网日志信息。In some embodiments, when the decryption processing module 503 uses a preset decryption algorithm to decrypt the target ciphertext and obtain the network access log information, it can be used to: obtain the preset public parameters and the target privacy of the second user node. key, wherein the target private key is generated based on the attributes of the second user node when the second user node registers in the blockchain; according to the preset public parameters and the target private key Perform attribute-based decryption processing on the target ciphertext to obtain the network access log information.

在一些实施例中,该解密处理模块503在根据预设公共参数和目标私钥对目标密文进行基于属性的解密处理,获得入网日志信息时,可以用于:在根据预设公共参数和目标私钥对目标密文进行基于属性的解密处理的过程中,获取目标密文中用于描述访问策略的访问结构,并在目标私钥所表示的第二用户节点的属性与访问结构中所表示的目标用户的目标属性信息匹配的情况下,获得入网日志信息。In some embodiments, when the decryption processing module 503 performs attribute-based decryption on the target ciphertext according to the preset public parameters and the target private key to obtain network access log information, it can be used to: During the attribute-based decryption process of the target ciphertext by the private key, the access structure used to describe the access policy in the target ciphertext is obtained, and the attributes and access structures of the second user node represented by the target private key are obtained. If the target attribute information of the target user matches, the network access log information is obtained.

本发明实施例还提供一种测试问题处理装置,可以应用于区块链中的运营商节点,如图6所示,该测试问题处理装置600包括:第三记录获取模块601、方案获取模块602、方案验证模块603和结果发布模块604。The embodiment of the present invention also provides a test problem processing device, which can be applied to operator nodes in the blockchain. As shown in Figure 6, the test problem processing device 600 includes: a third record acquisition module 601 and a solution acquisition module 602 , solution verification module 603 and result release module 604.

第三记录获取模块601,用于获取第一用户节点发布的测试记录,其中,所述测试记录用于描述第一用户的终端设备对应的测试问题,所述第一用户节点与所述第一用户对应。The third record acquisition module 601 is used to obtain the test record published by the first user node, where the test record is used to describe the test problem corresponding to the first user's terminal device, and the first user node is related to the first user node. User correspondence.

方案获取模块602,用于响应于所述测试记录,从所述区块链中获取第二用户节点发布的、用于解决所述测试问题的至少一个解决方案,其中,所述解决方案是由所述第二用户节点在获取到所述测试记录的情况下,根据解密目标密文得到的入网日志信息生成的,所述入网日志信息是由所述区块链中的网络接入设备节点响应于所述测试记录获取到的。Solution acquisition module 602, configured to acquire at least one solution published by the second user node for solving the test problem from the blockchain in response to the test record, wherein the solution is provided by When the second user node obtains the test record, it is generated based on the network access log information obtained by decrypting the target ciphertext. The network access log information is responded to by the network access equipment node in the blockchain. Obtained from the test records.

方案验证模块603,用于根据所述至少一个解决方案处理所述测试问题,并根据处理结果在所述区块链中发布验证请求,其中,所述验证请求用于请求所述第一用户验证所述测试问题是否已解决。Solution verification module 603, configured to process the test problem according to the at least one solution, and issue a verification request in the blockchain according to the processing result, where the verification request is used to request verification by the first user Whether the stated test issue has been resolved.

结果发布模块604,用于在获取到与所述验证请求对应的响应消息的情况下,根据所述响应消息,在所述区块链中发布问题解决结果。The result publishing module 604 is configured to publish a problem solving result in the blockchain according to the response message when a response message corresponding to the verification request is obtained.

本发明实施例提供的装置具有的功能或包含的模块可以用于执行上文对应方法实施例描述的方法,其具体实现和技术效果可参照上文方法实施例的描述,为了简洁,这里不再赘述。The functions or modules included in the device provided in the embodiment of the present invention can be used to execute the method described in the corresponding method embodiment above. Its specific implementation and technical effects can refer to the description of the above method embodiment. For the sake of brevity, they will not be repeated here.

需要说明的是,本实施方式中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本发明的创新部分,本实施方式中并没有将与解决本发明所提出的技术问题关系不太密切的单元引入,但这并不表明本实施方式中不存在其它的单元。It should be noted that all modules involved in this embodiment are logic modules. In practical applications, a logic unit may be a physical unit, or a part of a physical unit, or may be implemented as a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, this embodiment does not introduce units that are not closely related to solving the technical problem proposed by the present invention, but this does not mean that there are no other units in this embodiment.

本发明实施例提供一种电子设备,其包括:An embodiment of the present invention provides an electronic device, which includes:

一个或多个处理器701;one or more processors 701;

存储器702,其上存储有一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现上述实施例中任意一项的方法;Memory 702, on which one or more programs are stored, when one or more programs are executed by one or more processors, so that one or more processors implement the method of any one of the above embodiments;

一个或多个I/O接口703,连接在处理器与存储器之间,配置为实现处理器与存储器的信息交互。One or more I/O interfaces 703 are connected between the processor and the memory, and are configured to implement information exchange between the processor and the memory.

其中,处理器701为具有数据处理能力的器件,其包括但不限于中央处理器(CPU)等;存储器702为具有数据存储能力的器件,其包括但不限于随机存取存储器(RAM,更具体如SDRAM、DDR等)、只读存储器(ROM)、带电可擦可编程只读存储器(EEPROM)、闪存(FLASH);I/O接口(读写接口)703连接在处理器701与存储器702间,能实现处理器701与存储器702的信息交互,其包括但不限于数据总线(Bus)等。Among them, the processor 701 is a device with data processing capabilities, including but not limited to a central processing unit (CPU), etc.; the memory 702 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically Such as SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); I/O interface (read-write interface) 703 is connected between the processor 701 and the memory 702 , can realize information interaction between the processor 701 and the memory 702, which includes but is not limited to a data bus (Bus), etc.

在一些实施例中,处理器701、存储器702和I/O接口703通过总线相互连接,进而与计算设备的其它组件连接。In some embodiments, processor 701, memory 702, and I/O interface 703 are connected to each other and, in turn, to other components of the computing device via a bus.

本发明实施例还提供一种计算机可读介质,其上存储有计算机程序,所述程序被处理器执行时实现上述实施例中任意一项的方法,为避免重复描述,在此不再赘述具体步骤。Embodiments of the present invention also provide a computer-readable medium on which a computer program is stored. When the program is executed by a processor, the method of any one of the above embodiments is implemented. To avoid repeated description, details will not be described again here. step.

本领域普通技术人员可以理解,上文中所发明方法中的全部或某些步骤、系统、装置中的功能模块/单元可以被实施为软件、固件、硬件及其适当的组合。在硬件实施方式中,在以上描述中提及的功能模块/单元之间的划分不一定对应于物理组件的划分;例如,一个物理组件可以具有多个功能,或者一个功能或步骤可以由若干物理组件合作执行。某些物理组件或所有物理组件可以被实施为由处理器,如中央处理器、数字信号处理器或微处理器执行的软件,或者被实施为硬件,或者被实施为集成电路,如专用集成电路。这样的软件可以分布在计算机可读介质上,计算机可读介质可以包括计算机存储介质(或非暂时性介质)和通信介质(或暂时性介质)。如本领域普通技术人员公知的,术语计算机存储介质包括在用于存储信息(诸如计算机可读指令、数据结构、程序模块或其它数据)的任何方法或技术中实施的易失性和非易失性、可移除和不可移除介质。计算机存储介质包括但不限于RAM、ROM、EEPROM、闪存或其它存储器技术、CD-ROM、数字多功能盘(DVD)或其它光盘存储、磁盒、磁带、磁盘存储或其它磁存储器、或者可以用于存储期望的信息并且可以被计算机访问的任何其它的介质。此外,本领域普通技术人员公知的是,通信介质通常包含计算机可读指令、数据结构、程序模块或者诸如载波或其它传输机制之类的调制数据信号中的其它数据,并且可包括任何信息递送介质。Persons of ordinary skill in the art can understand that all or some steps, systems, and functional modules/units in the devices invented above can be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may consist of several physical components. Components execute cooperatively. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit . Such software may be distributed on computer-readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). As is known to those of ordinary skill in the art, the term computer storage media includes volatile and nonvolatile media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. removable, removable and non-removable media. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disk (DVD) or other optical disk storage, magnetic cassettes, tapes, disk storage or other magnetic storage, or may be used Any other medium that stores the desired information and can be accessed by a computer. Additionally, it is known to those of ordinary skill in the art that communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media .

需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this document, the terms "comprising", "comprises" or any other variations thereof are intended to cover a non-exclusive inclusion, such that a process, method, article or device that includes a series of elements not only includes those elements, It also includes other elements not expressly listed or inherent in the process, method, article or apparatus. Without further limitation, an element defined by the statement "comprises a..." does not exclude the presence of additional identical elements in a process, method, article or apparatus that includes that element.

本领域的技术人员能够理解,尽管在此所述的一些实施例包括其它实施例中所包括的某些特征而不是其它特征,但是不同实施例的特征的组合意味着处于本发明实施例的范围之内并且形成不同的实施例。Those skilled in the art will understand that although some embodiments described herein include certain features included in other embodiments but not others, combinations of features of different embodiments are meant to be within the scope of embodiments of the invention. within and form different embodiments.

可以理解的是,以上实施方式仅仅是为了说明本发明的原理而采用的示例性实施方式,然而本发明并不局限于此。对于本领域内的普通技术人员而言,在不脱离本发明的精神和实质的情况下,可以做出各种变型和改进,这些变型和改进也视为本发明的保护范围。It can be understood that the above embodiments are only exemplary embodiments adopted to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also regarded as the protection scope of the present invention.

Claims (11)

1.一种信息处理方法,其特征在于,应用于区块链中的网络接入设备节点,所述方法包括:1. An information processing method, characterized in that it is applied to network access device nodes in a blockchain, and the method includes: 获取第一用户节点发布的测试记录,其中,所述测试记录用于描述第一用户的终端设备对应的测试问题,所述第一用户节点与所述第一用户对应;Acquire a test record published by a first user node, wherein the test record is used to describe a test problem corresponding to a terminal device of the first user, and the first user node corresponds to the first user; 响应于所述测试记录,获取所述终端设备对应的入网日志信息,其中,所述入网日志信息为所述终端设备在基于目标网络接入设备接入运营商网络后产生的日志信息,所述目标网络接入设备与所述网络接入设备节点对应;In response to the test record, obtain network access log information corresponding to the terminal device, where the network access log information is log information generated after the terminal device accesses the operator network based on the target network access device, and the The target network access device corresponds to the network access device node; 根据所述入网日志信息,使用预设加密算法生成目标密文,并将所述目标密文发布至所述区块链中;According to the network access log information, a target ciphertext is generated using a preset encryption algorithm, and the target ciphertext is published to the blockchain; 其中,所述目标密文中包含有访问策略,所述访问策略用于限定解密所述目标密文的解密方的属性,所述目标密文用于供所述区块链中的第二用户节点获取所述入网日志信息,并由所述区块链中的运营商节点基于所述入网日志信息和所述测试记录解决所述测试问题。Wherein, the target ciphertext contains an access policy, the access policy is used to limit the attributes of the decryption party that decrypts the target ciphertext, and the target ciphertext is used for the second user node in the blockchain The network access log information is obtained, and the operator node in the blockchain solves the test problem based on the network access log information and the test record. 2.根据权利要求1所述的方法,其特征在于,所述根据所述入网日志信息,使用预设加密算法生成目标密文,包括:2. The method according to claim 1, characterized in that generating target ciphertext using a preset encryption algorithm according to the network access log information includes: 获取预设公共参数和用于描述所述访问策略的访问结构;Obtain preset public parameters and access structures used to describe the access policy; 根据所述预设公共参数和所述访问结构对所述入网日志信息进行基于属性的加密处理,获得所述目标密文;Perform attribute-based encryption processing on the network access log information according to the preset public parameters and the access structure to obtain the target ciphertext; 其中,所述预设公共参数是在构建所述区块链时生成并分发至所述区块链中的每一节点的参数;所述预设公共参数用于在区块链中的节点接收到所述目标密文的情况下解密所述目标密文以获取所述入网日志信息。Wherein, the preset public parameters are parameters generated and distributed to each node in the blockchain when building the blockchain; the preset public parameters are used for receiving by nodes in the blockchain When the target ciphertext is obtained, the target ciphertext is decrypted to obtain the network access log information. 3.根据权利要求2所述的方法,其特征在于,所述获取用于描述所述访问策略的访问结构,包括:3. The method according to claim 2, wherein obtaining the access structure for describing the access policy comprises: 获取与所述终端设备和/或所述目标网络接入设备对应的目标用户的目标属性信息;Obtain target attribute information of the target user corresponding to the terminal device and/or the target network access device; 根据所述目标属性信息,生成所述访问结构。The access structure is generated according to the target attribute information. 4.根据权利要求1所述的方法,其特征在于,在执行所述响应于所述测试记录,获取所述终端设备对应的入网日志信息的步骤之前,所述方法还包括:4. The method according to claim 1, characterized in that before executing the step of obtaining network access log information corresponding to the terminal device in response to the test record, the method further comprises: 从所述测试记录中,获取所述终端设备对应的终端标识;Obtain the terminal identifier corresponding to the terminal device from the test record; 根据所述终端标识,校验所述终端设备使用的运营商网络是否是基于所述目标网络接入设备接入的;According to the terminal identification, verify whether the operator network used by the terminal device is accessed based on the target network access device; 在校验所述终端设备基于所述目标网络接入设备接入所述运营商网络的情况下,执行所述响应于所述测试记录,获取所述终端设备对应的入网日志信息的步骤。When verifying that the terminal device accesses the operator network based on the target network access device, the step of obtaining network access log information corresponding to the terminal device in response to the test record is performed. 5.一种信息处理方法,其特征在于,应用于区块链中的第二用户节点,所述方法包括:5. An information processing method, characterized in that it is applied to the second user node in the blockchain, and the method includes: 获取第一用户节点发布的测试记录,其中,所述测试记录用于描述第一用户的终端设备对应的测试问题,所述第一用户节点与所述第一用户对应;Obtain the test record published by the first user node, where the test record is used to describe the test problem corresponding to the first user's terminal device, and the first user node corresponds to the first user; 响应于所述测试记录,获取目标密文,其中,所述目标密文是由所述终端设备对应的网络接入设备节点基于预设加密算法对所述终端设备的入网日志信息进行加密后生成的、包含有访问策略的密文;In response to the test record, a target ciphertext is obtained, wherein the target ciphertext is generated by the network access device node corresponding to the terminal device encrypting the network access log information of the terminal device based on a preset encryption algorithm. , containing the ciphertext of the access policy; 使用预设解密算法解密所述目标密文,获得所述入网日志信息;Decrypt the target ciphertext using a preset decryption algorithm to obtain the network access log information; 根据所述入网日志信息,生成用于解决所述测试问题的解决方案,并将所述解决方案发布至所述区块链中,其中,所述解决方案用于供所述区块链中的运营商节点解决所述测试问题。According to the network access log information, a solution for solving the test problem is generated, and the solution is published to the blockchain, where the solution is used for The operator node solves the test problem described. 6.根据权利要求5所述的方法,其特征在于,所述使用预设解密算法解密所述目标密文,获得所述入网日志信息,包括:6. The method according to claim 5, characterized in that using a preset decryption algorithm to decrypt the target ciphertext and obtain the network access log information includes: 获取预设公共参数和所述第二用户节点的目标私钥,其中,所述目标私钥是所述第二用户节点在所述区块链中注册时基于所述第二用户节点的属性生成的;Obtaining preset public parameters and a target private key of the second user node, wherein the target private key is generated based on the attributes of the second user node when the second user node is registered in the blockchain; 根据所述预设公共参数和所述目标私钥对所述目标密文进行基于属性的解密处理,获得所述入网日志信息。Perform attribute-based decryption processing on the target ciphertext according to the preset public parameters and the target private key to obtain the network access log information. 7.根据权利要求6所述的方法,其特征在于,所述根据所述预设公共参数和所述目标私钥对所述目标密文进行基于属性的解密处理,获得所述入网日志信息,包括:7. The method according to claim 6, characterized in that, performing attribute-based decryption processing on the target ciphertext according to the preset public parameters and the target private key to obtain the network access log information, include: 在根据所述预设公共参数和所述目标私钥对所述目标密文进行基于属性的解密处理的过程中,获取所述目标密文中用于描述所述访问策略的访问结构,并在所述目标私钥所表示的所述第二用户节点的属性与所述访问结构中所表示的目标用户的目标属性信息匹配的情况下,获得所述入网日志信息。In the process of performing attribute-based decryption processing on the target ciphertext according to the preset public parameters and the target private key, the access structure used to describe the access policy in the target ciphertext is obtained, and when the attribute of the second user node represented by the target private key matches the target attribute information of the target user represented in the access structure, the network access log information is obtained. 8.一种测试问题处理方法,其特征在于,应用于区块链中的运营商节点,所述方法包括:8. A test problem processing method, characterized in that it is applied to operator nodes in the blockchain, and the method includes: 获取第一用户节点发布的测试记录,其中,所述测试记录用于描述第一用户的终端设备对应的测试问题,所述第一用户节点与所述第一用户对应;Obtain the test record published by the first user node, where the test record is used to describe the test problem corresponding to the first user's terminal device, and the first user node corresponds to the first user; 响应于所述测试记录,从所述区块链中获取第二用户节点发布的、用于解决所述测试问题的至少一个解决方案,其中,所述解决方案是由所述第二用户节点在获取到所述测试记录的情况下,根据解密目标密文得到的入网日志信息生成的,所述入网日志信息是由所述区块链中的网络接入设备节点响应于所述测试记录获取到的;In response to the test record, at least one solution published by the second user node for solving the test problem is obtained from the blockchain, wherein the solution is obtained by the second user node in When the test record is obtained, it is generated based on the network access log information obtained by decrypting the target ciphertext. The network access log information is obtained by the network access device node in the blockchain in response to the test record. of; 根据所述至少一个解决方案处理所述测试问题,并根据处理结果在所述区块链中发布验证请求,其中,所述验证请求用于请求所述第一用户验证所述测试问题是否已解决;The test problem is processed according to the at least one solution, and a verification request is issued in the blockchain according to the processing result, wherein the verification request is used to request the first user to verify whether the test problem has been solved. ; 在获取到与所述验证请求对应的响应消息的情况下,根据所述响应消息,在所述区块链中发布问题解决结果。When a response message corresponding to the verification request is obtained, the problem solving result is published in the blockchain according to the response message. 9.一种信息处理装置,其特征在于,应用于区块链中的网络接入设备节点,所述装置包括:9. An information processing device, characterized in that it is applied to a network access equipment node in a blockchain, and the device includes: 第一记录获取模块,用于获取第一用户节点发布的测试记录,其中,所述测试记录用于描述第一用户的终端设备对应的测试问题,所述第一用户节点与所述第一用户对应;The first record acquisition module is used to obtain the test record published by the first user node, wherein the test record is used to describe the test problem corresponding to the first user's terminal device, the first user node and the first user correspond; 信息获取模块,用于响应于所述测试记录,获取所述终端设备对应的入网日志信息,其中,所述入网日志信息为所述终端设备在基于目标网络接入设备接入运营商网络后产生的日志信息,所述目标网络接入设备与所述网络接入设备节点对应;an information acquisition module, configured to acquire network access log information corresponding to the terminal device in response to the test record, wherein the network access log information is log information generated after the terminal device accesses the operator network based on a target network access device, and the target network access device corresponds to the network access device node; 信息处理模块,用于根据所述入网日志信息,使用预设加密算法生成目标密文,并将所述目标密文发布至所述区块链中;An information processing module, configured to use a preset encryption algorithm to generate a target ciphertext based on the network access log information, and publish the target ciphertext to the blockchain; 其中,所述目标密文中包含有访问策略,所述访问策略用于限定解密所述目标密文的解密方的属性,所述目标密文用于供所述区块链中的第二用户节点获取所述入网日志信息,并由所述区块链中的运营商节点基于所述入网日志信息和所述测试记录解决所述测试问题。Wherein, the target ciphertext contains an access policy, the access policy is used to limit the attributes of the decryption party that decrypts the target ciphertext, and the target ciphertext is used for the second user node in the blockchain The network access log information is obtained, and the operator node in the blockchain solves the test problem based on the network access log information and the test record. 10.一种电子设备,其特征在于,包括:10. An electronic device, comprising: 一个或多个处理器;one or more processors; 存储器,其上存储有一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现权利要求1-8中任意一项所述的方法;A memory having one or more programs stored thereon, which when the one or more programs are executed by the one or more processors, causes the one or more processors to implement any one of claims 1-8 the method described; 一个或多个I/O接口,连接在所述处理器与存储器之间,配置为实现所述处理器与存储器的信息交互。One or more I/O interfaces are connected between the processor and the memory and are configured to implement information interaction between the processor and the memory. 11.一种计算机可读介质,其上存储有计算机程序,所述程序被处理器执行时实现权利要求1-8中任意一项所述的方法。11. A computer-readable medium having a computer program stored thereon, which implements the method of any one of claims 1-8 when executed by a processor.
CN202211459798.7A 2022-11-17 2022-11-17 Information processing method, information processing device, electronic equipment and computer readable medium Active CN116032793B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211459798.7A CN116032793B (en) 2022-11-17 2022-11-17 Information processing method, information processing device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211459798.7A CN116032793B (en) 2022-11-17 2022-11-17 Information processing method, information processing device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN116032793A CN116032793A (en) 2023-04-28
CN116032793B true CN116032793B (en) 2024-04-02

Family

ID=86069814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211459798.7A Active CN116032793B (en) 2022-11-17 2022-11-17 Information processing method, information processing device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN116032793B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737430A (en) * 2018-05-25 2018-11-02 全链通有限公司 The encryption communication method and system of block chain node
CN109523040A (en) * 2018-11-23 2019-03-26 南京荣链科技有限公司 A kind of user equipment that protecting privacy reports method, server, system and medium for repairment
WO2020082917A1 (en) * 2018-10-26 2020-04-30 阿里巴巴集团控股有限公司 Methods and systems for publishing programming problem, publishing solution code, and checking solution code
CN111159306A (en) * 2020-04-02 2020-05-15 支付宝(杭州)信息技术有限公司 Information publishing method and device based on block chain and computer equipment
CN113609224A (en) * 2021-08-06 2021-11-05 四川工小为科技有限公司 Crowdsourcing operation method and system for realizing privacy protection based on block chain
CN115085902A (en) * 2022-06-09 2022-09-20 深圳供电局有限公司 Power grid dispatching log management method and system
KR20220133740A (en) * 2021-03-25 2022-10-05 주식회사 한컴코드게이트 Solution inquiry service server that supports to be able to inquire the answer information and the commentary information for user-selected question based on the two-dimensional code printed in learning book and operating method thereof

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA3144715A1 (en) * 2018-06-21 2019-12-26 Haibin Zhang Systems and methods for permissioned blockchain infrastructure with fine-grained access control and confidentiality-preserving publish/subscribe messaging
US20200311695A1 (en) * 2019-03-27 2020-10-01 International Business Machines Corporation Privacy-preserving gridlock resolution
US11449478B2 (en) * 2020-10-08 2022-09-20 Kyndryl, Inc. Blockchain implemented data migration audit trail

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108737430A (en) * 2018-05-25 2018-11-02 全链通有限公司 The encryption communication method and system of block chain node
WO2020082917A1 (en) * 2018-10-26 2020-04-30 阿里巴巴集团控股有限公司 Methods and systems for publishing programming problem, publishing solution code, and checking solution code
CN109523040A (en) * 2018-11-23 2019-03-26 南京荣链科技有限公司 A kind of user equipment that protecting privacy reports method, server, system and medium for repairment
CN111159306A (en) * 2020-04-02 2020-05-15 支付宝(杭州)信息技术有限公司 Information publishing method and device based on block chain and computer equipment
CN112487100A (en) * 2020-04-02 2021-03-12 支付宝(杭州)信息技术有限公司 Information publishing method and device based on block chain and computer equipment
KR20220133740A (en) * 2021-03-25 2022-10-05 주식회사 한컴코드게이트 Solution inquiry service server that supports to be able to inquire the answer information and the commentary information for user-selected question based on the two-dimensional code printed in learning book and operating method thereof
CN113609224A (en) * 2021-08-06 2021-11-05 四川工小为科技有限公司 Crowdsourcing operation method and system for realizing privacy protection based on block chain
CN115085902A (en) * 2022-06-09 2022-09-20 深圳供电局有限公司 Power grid dispatching log management method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
区块链工作量证明共识算法的研究与实现;张鹏;中国优秀硕士学位论文全文数据库信息科技辑;20220115;全文 *

Also Published As

Publication number Publication date
CN116032793A (en) 2023-04-28

Similar Documents

Publication Publication Date Title
CN112583802B (en) Data sharing platform system and equipment based on block chain and data sharing method
CN106850699B (en) A kind of mobile terminal login authentication method and system
US11258792B2 (en) Method, device, system for authenticating an accessing terminal by server, server and computer readable storage medium
US20150113618A1 (en) Verifying the security of a remote server
CN104506487B (en) The credible execution method of privacy policy under cloud environment
CN111753014B (en) Identity authentication method and device based on block chain
CN114205072B (en) Authentication method, device and system
WO2015003503A1 (en) Network device, terminal device and information security improving method
CN108923925B (en) Data storage method and device applied to block chain
CN114978635B (en) Cross-domain authentication method and device, user registration method and device
CN109245897B (en) A node authentication method and device based on non-interactive zero-knowledge proof
CN115811412A (en) Communication method and device, SIM card, electronic equipment and terminal equipment
US9449171B2 (en) Methods, systems, and computer readable mediums for providing supply chain validation
US20220311616A1 (en) Connection resilient multi-factor authentication
CN111414640B (en) Key access control method and device
CN114338212A (en) Identity authentication token management method and device, electronic equipment and readable storage medium
CN111010283B (en) Method and apparatus for generating information
MX2007013310A (en) Method, system, and program product for connecting a client to a network.
CN108289096B (en) A method and device for following and verifying attention in a live broadcast room
CN114449515B (en) Verification method, verification system, application platform and terminal
CN116032793B (en) Information processing method, information processing device, electronic equipment and computer readable medium
CN110232570B (en) Information supervision method and device
CN112579998A (en) Webpage access method, management system and electronic equipment in information interaction platform
CN115733687A (en) System account login control method, device, server and readable storage medium
CN116094793A (en) Method and system for establishing connection between operation center and security equipment based on data certificate

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