WO2020119536A1 - Alliance chain information release control method and terminal device - Google Patents

Alliance chain information release control method and terminal device Download PDF

Info

Publication number
WO2020119536A1
WO2020119536A1 PCT/CN2019/122880 CN2019122880W WO2020119536A1 WO 2020119536 A1 WO2020119536 A1 WO 2020119536A1 CN 2019122880 W CN2019122880 W CN 2019122880W WO 2020119536 A1 WO2020119536 A1 WO 2020119536A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
chain channel
information
network device
alliance
Prior art date
Application number
PCT/CN2019/122880
Other languages
French (fr)
Chinese (zh)
Inventor
冯承勇
Original Assignee
深圳壹账通智能科技有限公司
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 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2020119536A1 publication Critical patent/WO2020119536A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/04Payment circuits
    • G06Q20/06Private payment circuits, e.g. involving electronic currency used among participants of a common payment scheme
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange

Definitions

  • This application belongs to the field of blockchain technology, and particularly relates to alliance chain information release control method and terminal equipment.
  • the alliance chain technology is mainly used between organizations with business connections for information sharing and management between organizations.
  • any alliance member or alliance node in the alliance chain can publish the information of its own organization, so that all alliance members or alliance nodes in the alliance chain can share the information.
  • only the administrator needs to pass to join the alliance chain .
  • chaos management of members or nodes in the alliance chain which will cause some members of the alliance chain to publish untrusted information, resulting in the problem of reduced trust in information sharing in the alliance chain, which is not conducive to the development of alliance chain technology, so control the alliance
  • the issue of trusted information for members of the organization to be shared by members of the alliance chain has become an urgent problem to be solved.
  • the first aspect of the embodiments of the present application provides a method for controlling release of alliance chain information, including:
  • each information sharing alliance contains multiple network device groups, and each network device group contains multiple node devices;
  • the chain channel identification rule includes the identity of each network device group in the chain channel data
  • the target node device When receiving the alliance chain channel join request sent by the target node device, it parses out the target chain channel identifier and the identity data of the target node device carried in the join request, and judges whether all the alliance channel channels are in the chain channel identifier The target chain channel identifier exists;
  • the target chain channel identifier exists in the chain channel identifier of the alliance chain channel, determine whether the identity data of the target node device exists in the identity data of each network device group in the chain channel;
  • the identity data of the target node device exists in the identity data of each network device group in the chain channel, add the target node device to the target alliance chain channel corresponding to the target chain channel identifier;
  • the information to be released is controlled to be published on the target alliance chain channel.
  • a second aspect of an embodiment of the present application provides a terminal device, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, and the processor executes the computer
  • the following steps are realized when the instructions are readable:
  • each information sharing alliance contains multiple network device groups, and each network device group contains multiple node devices;
  • the chain channel identification rule includes the identity of each network device group in the chain channel data
  • the target node device When receiving the alliance chain channel join request sent by the target node device, it parses out the target chain channel identifier and the identity data of the target node device carried in the join request, and judges whether all the alliance channel channels are in the chain channel identifier The target chain channel identifier exists;
  • the target chain channel identifier exists in the chain channel identifier of the alliance chain channel, determine whether the identity data of the target node device exists in the identity data of each network device group in the chain channel;
  • the identity data of the target node device exists in the identity data of each network device group in the chain channel, add the target node device to the target alliance chain channel corresponding to the target chain channel identifier;
  • the information to be released is controlled to be published on the target alliance chain channel.
  • a third aspect of the embodiments of the present application provides an alliance chain information release control device, including:
  • Information sharing alliance division unit used to divide multiple network device groups into multiple information sharing alliances according to preset rules, where each information sharing alliance contains multiple network device groups, and each network device group contains multiple node devices ;
  • the alliance chain channel setting unit is used to set an alliance chain channel between each network device group of each information sharing alliance, and configure a chain channel identifier and a chain channel identification rule for each alliance chain channel, the chain channel identification rule includes Identity data of each network device group in the chain channel;
  • the chain channel identification judgment unit is used to parse out the target chain channel identifier and the identity data of the target node device carried in the join request when receiving the alliance chain channel join request sent by the target node device, and judge all alliances Whether the target chain channel identifier exists in the chain channel identifier of the chain channel;
  • the identity data judging unit is used to judge whether the identity data of the target node device exists in the identity data of each network device group in the chain channel if the target chain channel identifier exists in the chain channel identifier of the alliance chain channel;
  • the alliance chain channel joining unit is used to add the target node device to the target alliance chain corresponding to the target chain channel identifier if the identity data of the target node device exists in the identity data of each network device group in the chain channel aisle;
  • the information release control unit is configured to, when receiving the information to be released sent by the target node device, control the information to be released to be distributed on the target alliance chain channel.
  • a fourth aspect of the embodiments of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores computer-readable instructions, which are implemented by a processor as described in the first aspect The steps of the alliance chain information release control method.
  • multiple network device groups are divided into multiple information sharing alliances according to preset rules, and an alliance chain channel is set between each network device group of each information sharing alliance, and then carried in the join request according to the alliance chain channel
  • the target chain channel identifier and the target node device's identity data first determine whether the target chain channel identifier exists in the chain channel identifier of all alliance chain channels, and if so, then determine whether the target exists in the identity data of each network device group in the chain channel
  • the identity data of the node device if it exists, add the target member section to the target alliance chain channel corresponding to all the target chain channel identifiers, and when receiving the information to be published sent by the target node device, control the information to be published on the target alliance chain channel Publishing can ensure that the node devices that join the alliance chain to publish information are trusted devices of the alliance chain channel, reduce the release of untrusted information, and increase the trust of information sharing within the alliance chain.
  • FIG. 1 is a schematic flowchart of a method for controlling release of alliance chain information according to an embodiment of the present application
  • FIG. 2 is a schematic flowchart of a method for controlling release of alliance chain information provided by another embodiment of the present application
  • FIG. 3 is a schematic flowchart of a method for controlling release of alliance chain information provided by yet another embodiment of the present application.
  • FIG. 4 is a schematic flowchart of a method for controlling release of alliance chain information according to another embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.
  • FIG. 6 is a functional block diagram of an alliance chain information distribution control device provided by an embodiment of the present application.
  • FIG. 1 is a schematic flowchart of a method for controlling release of alliance chain information provided by an embodiment of the present application.
  • the side of the alliance chain consensus management server is used as an execution subject for explanation.
  • the alliance chain consensus management server can be one, or can be completed through communication and cooperation of multiple servers.
  • the processing procedure of the server may include the following steps:
  • S101 Divide multiple network device groups into multiple information sharing alliances according to preset rules, where each information sharing alliance contains multiple network device groups, and each network device group contains multiple node devices.
  • the network device group may be a collection of node devices of a company or organization, where the node devices may be devices such as personal computers, servers, or mobile terminals.
  • the information sharing alliance may be a collection of multiple network device groups divided according to the type of shared information.
  • S102 Set up an alliance chain channel between each network device group of each information sharing alliance, and configure a chain channel identifier and a chain channel identification rule for each alliance chain channel.
  • the chain channel identification rule includes the identity of each network device group in the chain channel data.
  • the alliance chain channel is a channel for sharing information types corresponding to each information sharing alliance between network device groups.
  • the chain channel identifier may be an array that uniquely identifies the alliance chain channel. Chain channel identification rules are used to determine whether the conditions for joining the alliance chain channel are met when other node devices join the alliance chain channel.
  • the network device group identity data may be the name or ID (Identification) of the network device group.
  • the target node device is a node device in any network device group applying to join the alliance chain channel for information release.
  • the identity data of the target node device is the identity data of the network device group to which the target node device belongs.
  • the target chain channel identifier exists in the chain channel identifier of all alliance chain channels, including: traversing the chain channel identifier of each alliance chain channel according to the storage order of the chain channel identifier of the alliance chain channel, Stop the traversal query when the chain channel ID is the same.
  • S104 If the target chain channel identifier exists in the chain channel identifier of the alliance chain channel, determine whether the identity data of the target node device exists in the identity data of each network device group in the chain channel.
  • S105 If the identity data of the target node device exists in the identity data of each network device group in the chain channel, add the target node device to the target alliance chain channel corresponding to the target chain channel identifier.
  • adding the target node device to the target alliance chain channel corresponding to the marked chain channel identifier refers to that the target node device can publish information between each network device group in the target alliance chain channel.
  • the information to be published if the information to be published meets the publishing conditions, the information to be published is sent to each node device in each network device group corresponding to the target alliance chain channel for recording. Since each node device performs distributed storage on the information to be released, the validity and stability of the information to be released are guaranteed.
  • multiple network device groups are divided into multiple information sharing alliances according to preset rules, and an alliance chain channel is set between each network device group of each information sharing alliance, and then according to the alliance chain channel Join the target chain channel ID and target node device identity data carried in the request, first determine whether the target chain channel ID exists in the chain channel ID of all alliance chain channels, and if so, then determine the identity data of each network device group in the chain channel Whether the identity data of the target node device exists in it, if it exists, the target member section is added to the target alliance chain channel corresponding to all target chain channel identifiers, and when the information to be released sent by the target node device is received, the information to be released is controlled at The target alliance chain channel is released, which can ensure that the node devices that join the alliance chain to publish information are trusted devices of the alliance chain channel, reduce the release of untrusted information, and improve the trust of information sharing within the alliance chain.
  • FIG. 2 is a schematic flowchart of a method for controlling release of alliance chain information according to another embodiment of the present application. Based on the foregoing embodiment, step S101 specifically includes the following steps:
  • S201 Acquire all posting information sent by each network device group within a preset time period, and determine the type of each posting information according to the number of occurrences of keywords in each posting information.
  • the preset time period may be one quarter (3 months). All published information sent by each network device group refers to all published information sent by each network device group to other external network device groups.
  • each posting information determines the type of each posting information, including: obtaining the number of occurrences of keywords (for example, "senior life insurance") in each posting information, when the keyword appears When the number of times reaches the preset number of times threshold (for example, 10 times), the type of the published information is determined as "senior life insurance".
  • the number of occurrences of keywords for example, "senior life insurance”
  • the preset number of times threshold for example, 10 times
  • the type of each published information is determined according to preset types (for example, senior life insurance, adult life insurance, child life insurance, education insurance, investment insurance, accident insurance), and then the statistics of each type of published information are counted. Quantity. For example, according to the types of released information, there are 50 elderly life insurances, 10 adult life insurances, 10 child life insurances, 11 education insurances, 9 investment insurances, and 10 accident insurances.
  • the target network device group is divided into information sharing alliances corresponding to the target type, where the target network device group For any one of multiple network device groups, the target type is any one of the types of information published by the target network device group.
  • the preset ratio may be 0.6.
  • the total number of published information (50) is 0.625, which is greater than the preset ratio of 0.6, and the target network device group is divided into information sharing alliances corresponding to the target type.
  • the network device group is divided into different information sharing alliances, and it is possible to divide the network device groups related to the type of information released or similar into an information sharing alliance.
  • FIG. 3 is a schematic flowchart of a federation chain information release control method provided by yet another embodiment of the present application.
  • the chain channel identification rule in this example also includes a read corresponding to the identity data of each network device group in the chain channel.
  • the write permission specifically includes the following steps in step S106:
  • S301 When receiving the information to be published sent by the target node device, query the read and write permissions corresponding to the identity data of each network device group in the target chain channel according to the identity data of the target node device to obtain the read and write permissions of the target node device.
  • the identity data of the target node device is the identity data of the network device group to which the target node device belongs.
  • the read and write permissions of the target node device only include read permissions (only the published information can be read in the alliance chain channel, and cannot be published in the alliance chain channel), or it can include read permissions and write permissions (both (Reading and publishing information in the alliance chain channel can also publish information in the alliance chain channel).
  • the recording node device is a node device that records the information to be released in the alliance chain. By recording the information to be released on the recording node device, the distributed storage of the published information is realized.
  • a prompt is issued that the target alliance link is not allowed to be published Information to the target node device.
  • the target node device can meet the requirement for the permission diversity of the published information.
  • the alliance chain channel join request further includes a digital signature of a network device group to which the target node device belongs;
  • Step S103 after receiving the alliance chain channel join request sent by the target node device further includes the following steps:
  • S401 Determine the digital certificate of the network device group to which the target node device belongs based on the identity data of the target node device.
  • the identity data of the target node device is the identity data of the network device group to which the target node device belongs.
  • the digital certificate of the network device group to which the target node device belongs may be determined according to the correspondence between the pre-stored network device group identity data and the digital certificate according to the network device group identity data to which the target node device belongs.
  • S402 Verify the digital signature according to the digital certificate. If the verification is successful, continue to perform the step of determining whether the target chain channel identifier exists in the chain channel identifiers of all alliance chain channels.
  • verifying the digital signature according to the digital certificate may be verifying the digital signature according to the encryption algorithm of the digital certificate to the array of digital signatures.
  • the digital signature is used to verify the digital signature to further ensure that the target node device belongs to a trusted node device.
  • FIG. 5 shows a schematic structural diagram of a terminal device provided by an embodiment of the present application. For ease of explanation, only parts related to this embodiment are shown.
  • the alliance chain information distribution control device 600 is installed and operated in the terminal device 60.
  • the terminal device 60 may be a mobile terminal, a palmtop computer, a server, or the like.
  • the terminal device 60 may include, but is not limited to, a memory 601, a processor 602, and a display 603.
  • FIG. 5 only shows the terminal device 60 having the components 601-603, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead.
  • the memory 601 may be an internal storage unit of the terminal device 60, such as a hard disk or a memory of the terminal device 60.
  • the memory 601 may also be an external storage device of the terminal device 60, for example, a plug-in hard disk equipped on the terminal device 60, a smart memory card (Smart Media Card, SMC), or a secure digital device. (Secure Digital, SD) card, flash card (Flash Card), etc.
  • the memory 601 may also include both an internal storage unit of the terminal device 60 and an external storage device.
  • the memory 601 is used to store application software and various types of data installed in the terminal device 60, such as program codes of the alliance chain information release control device 600.
  • the memory 601 may also be used to temporarily store data that has been output or will be output.
  • the processor 602 may be a central processor (Central Processing Unit (CPU), microprocessor or other data processing chip, used to run the program code or processing data stored in the memory 601, for example, to execute the alliance chain information release control device 600.
  • CPU Central Processing Unit
  • microprocessor or other data processing chip, used to run the program code or processing data stored in the memory 601, for example, to execute the alliance chain information release control device 600.
  • the display 603 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an organic light-emitting diode (Organic Light-Emitting Diode, OLED) touch device, or the like.
  • the display 603 is used to display information processed in the terminal device 60 and to display a visual user interface, such as an application menu interface, an application icon interface, and the like.
  • the components 601-603 of the terminal device 60 communicate with each other through a system bus.
  • FIG. 6 is a functional block diagram of an alliance chain information release control device 600 provided by an embodiment of the present application.
  • the alliance chain information release control device 600 may be divided into one or more modules, the one or more modules are stored in the memory 601, and are controlled by one or more processors (This embodiment is executed by the processor 602) to complete this application.
  • the alliance chain information distribution control device 600 may be divided into an information sharing alliance division unit 701, an alliance chain channel setting unit 702, a chain channel identification judgment unit 703, an identity data judgment unit 704, an alliance chain The channel joining unit 705 and the information distribution control unit 706.
  • the unit referred to in this application refers to a series of computer-readable instruction segments capable of performing specific functions, and is more suitable than a program for describing the execution process of the alliance chain information distribution control device 600 in the terminal device 60.
  • the following description will specifically introduce the capabilities of the units 701-706.
  • the information sharing alliance division unit 701 is used to divide multiple network device groups into multiple information sharing alliances according to preset rules, wherein each information sharing alliance contains multiple network device groups, and each network device group contains multiple Node equipment;
  • the alliance chain channel setting unit 702 is used to set an alliance chain channel between each network device group of each information sharing alliance, and configure a chain channel identifier and a chain channel identification rule for each alliance chain channel, the chain channel identification rule Including the identity data of each network device group in the chain channel;
  • the chain channel identification judgment unit 703 is used to parse out the target chain channel identifier and the identity data of the target node device carried in the join request when receiving the alliance chain channel join request sent by the target node device, and judge all Whether the target chain channel identifier exists in the chain channel identifier of the alliance chain channel;
  • the identity data judging unit 704 is configured to judge whether the identity data of the target node device exists in the identity data of each network device group in the chain channel if the target chain channel identifier exists in the chain channel identifier of the alliance chain channel;
  • the alliance chain channel joining unit 705 is used to add the target node device to the target alliance corresponding to the target chain channel identifier if the identity data of the target node device exists in the identity data of each network device group in the chain channel Chain channel
  • the information release control unit 706 is configured to, when receiving the information to be released sent by the target node device, control the information to be released to be distributed on the target alliance chain channel.
  • multiple network device groups are divided into multiple information sharing alliances according to preset rules, and an alliance chain channel is set between each network device group of each information sharing alliance, and then according to the alliance chain channel Join the target chain channel ID and target node device ID data carried in the request, first determine whether the target chain channel ID exists in the chain channel ID of all alliance chain channels, and if so, then determine the identity data of each network device group in the chain channel Whether there is identity data of the target node device in it, if it exists, add the target member section to the target alliance chain channel corresponding to all target chain channel identifiers, and when receiving the information to be released sent by the target node device, control the information to be released
  • the target alliance chain channel is released, which can ensure that the node devices that join the alliance chain to publish information are trusted devices of the alliance chain channel, reduce the release of untrusted information, and improve the trust of information sharing within the alliance chain.
  • the information sharing alliance dividing unit 701 is specifically used to obtain all the posting information sent by each network device group within a preset time period, and determine the number of occurrences of keywords in each posting information according to Types of published information; count the number of each type of published information in all published information sent by each network equipment group; if the number of published information of the target type in the target network equipment group accounts for more than the preset number of published information ,
  • the target network device group is divided into information sharing alliances corresponding to the target type, wherein the target network device group is any one of a plurality of network device groups, and the target type is the target Any of the types of information published by the network device group.
  • the chain channel identification rule further includes read and write permissions corresponding to the identity data of each network device group in the chain channel;
  • the information release control unit 706 is specifically used to receive the target When the to-be-published information sent by the node device, according to the identity data of the target node device, query the read and write permissions corresponding to the identity data of each network device group in the target chain channel to obtain the read and write permissions of the target node device;
  • the read and write permission of the target node device includes the write permission, and then the information to be released is sent to the recording node device in each network device group corresponding to the target alliance chain channel for recording.
  • the method further includes: if the read-write permission of the target node device does not include the write permission, sending the information to be released It is allowed to publish the prompt information to the target node device at the target alliance link.
  • the alliance chain information release control device 600 further includes:
  • the digital signature verification unit 707 determines the digital certificate of the network device group to which the target node device belongs according to the identity data of the target node device; verifies the digital signature according to the digital certificate, and if it passes the verification, it continues to judge all alliances Whether there is a step of the target chain channel identifier in the chain channel identifier of the chain channel.
  • each functional unit and module is used as an example for illustration.
  • the above-mentioned functions may be allocated by different functional units
  • Module completion means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above.
  • the functional units and modules in the embodiments may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit may use hardware It can also be implemented in the form of software functional units.
  • the specific names of each functional unit and module are only for the purpose of distinguishing each other, and are not used to limit the protection scope of the present application.
  • the disclosed device/terminal device and method may be implemented in other ways.
  • the device/terminal device embodiments described above are only schematic.
  • the division of the module or unit is only a logical function division, and in actual implementation, there may be another division manner, such as multiple units Or components can be combined or integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or software functional unit.
  • the integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the present application implements all or part of the processes in the methods of the above embodiments, and can also be completed by instructing relevant hardware through computer-readable instructions, which can be stored in a computer-readable storage medium
  • the computer readable instructions include computer readable instruction codes
  • the computer readable instruction codes may be in source code form, object code form, executable file, or some intermediate form, etc.
  • the computer-readable medium may include: any entity or device capable of carrying the computer-readable instruction code, a recording medium, a U disk, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), electrical carrier signals, telecommunication signals and software distribution media, etc.
  • a recording medium a U disk, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), electrical carrier signals, telecommunication signals and software distribution media, etc.
  • ROM read-only memory
  • RAM random access memory
  • electrical carrier signals telecommunication signals and software distribution media

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • Strategic Management (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Technology Law (AREA)
  • Information Transfer Between Computers (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present application is applicable to the technical field of blockchains, and provides an alliance chain information release control method and a terminal device. The method comprises: distributing a plurality of network device groups into a plurality of information sharing alliances according to a preset rule; setting up alliance chain channels among the network device groups of each information sharing alliance; then, first determining, according to target chain channel identifiers and identity data of a target node device carried in an alliance chain channel join request, whether the target chain channel identifiers exist in chain channel identifiers of all the alliance chain channels; if yes, determining whether the identity data of the target node device exists in the identity data of the network device groups in the chain channels; if yes, adding the target member node to a target alliance chain channel corresponding to all the target chain channel identifiers; and upon receiving information to be released sent by the target node device, controlling said information to be released in the target alliance chain channel. The release of untrusted information can be reduced, and the trust of information sharing in an alliance chain is improved.

Description

联盟链信息发布控制方法及终端设备Alliance chain information release control method and terminal equipment
本申请要求于2018年12月14日提交中国专利局、申请号为201811529458.0、发明名称为“联盟链信息发布控制方法及终端设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of the Chinese patent application filed on December 14, 2018 in the Chinese Patent Office with the application number 201811529458.0 and the invention titled "Consortium chain information release control method and terminal equipment", the entire contents of which are incorporated herein by reference Applying.
技术领域Technical field
本申请属于区块链技术领域,尤其涉及联盟链信息发布控制方法及终端设备。This application belongs to the field of blockchain technology, and particularly relates to alliance chain information release control method and terminal equipment.
背景技术Background technique
随着数字加密货币在的发展,其背后的区块技术也逐渐得到了广泛的关注与研究。当下区块链行业发展方兴未艾,各种技术发展迅速,目前对区块链技术的主流划分主要有公有链、私有脸和联盟链。联盟链技术主要应用在有业务关联的组织之间,用于组织间的信息共享和管理。With the development of digital cryptocurrencies, the block technology behind it has gradually gained extensive attention and research. At present, the development of the blockchain industry is booming, and various technologies are developing rapidly. At present, the mainstream division of blockchain technology mainly includes public chains, private faces and alliance chains. The alliance chain technology is mainly used between organizations with business connections for information sharing and management between organizations.
目前,联盟链内的任意一个联盟成员或联盟节点都可以发布自己所属组织的信息,使得联盟链内的所有联盟成员或联盟节点都能共享该信息,目前加入联盟链仅需要管理员通过即可,易造成联盟链内成员或节点管理混乱,进而导致联盟链内某些成员会发布不可信的信息,造成联盟链内信息共享信任度下降的问题,不利于联盟链技术的发展,因此控制联盟组织成员发布可信信息供联盟链成员共享就成了一个亟需要解决的问题。At present, any alliance member or alliance node in the alliance chain can publish the information of its own organization, so that all alliance members or alliance nodes in the alliance chain can share the information. At present, only the administrator needs to pass to join the alliance chain , It is easy to cause chaos management of members or nodes in the alliance chain, which will cause some members of the alliance chain to publish untrusted information, resulting in the problem of reduced trust in information sharing in the alliance chain, which is not conducive to the development of alliance chain technology, so control the alliance The issue of trusted information for members of the organization to be shared by members of the alliance chain has become an urgent problem to be solved.
技术问题technical problem
对集群中某个节点创建数据快照时,需要提前从管理服务器请求一个快照标识,在网络拥堵的情况下,请求快照标识的时间过长,会造成创建数据快照的时间长、效率差的问题。When creating a data snapshot for a node in the cluster, you need to request a snapshot ID from the management server in advance. In the case of network congestion, the time required to request the snapshot ID is too long, which will cause the problem of long time for creating data snapshots and poor efficiency.
技术解决方案Technical solution
本申请实施例的第一方面提供了一种联盟链信息发布控制方法,包括:The first aspect of the embodiments of the present application provides a method for controlling release of alliance chain information, including:
将多个网络设备组按照预设的规则划分为多个信息共享联盟,其中每个信息共享联盟包含多个网络设备组,每个网络设备组包含多个节点设备;Divide multiple network device groups into multiple information sharing alliances according to preset rules, where each information sharing alliance contains multiple network device groups, and each network device group contains multiple node devices;
在每个信息共享联盟的各网络设备组之间设置联盟链通道,并为每个联盟链通道配置链通道标识和链通道识别规则,所述链通道识别规则包括链通道内各网络设备组身份数据;Set up an alliance chain channel between each network device group of each information sharing alliance, and configure a chain channel identifier and a chain channel identification rule for each alliance chain channel, the chain channel identification rule includes the identity of each network device group in the chain channel data;
在接收到目标节点设备发送的联盟链通道加入请求时,解析出所述加入请求中携带的目标链通道标识和所述目标节点设备的身份数据,并判断所有联盟链通道的链通道标识中是否存在所述目标链通道标识;When receiving the alliance chain channel join request sent by the target node device, it parses out the target chain channel identifier and the identity data of the target node device carried in the join request, and judges whether all the alliance channel channels are in the chain channel identifier The target chain channel identifier exists;
若联盟链通道的链通道标识中存在所述目标链通道标识,则判断所述链通道内各网络设备组身份数据中是否存在所述目标节点设备的身份数据;If the target chain channel identifier exists in the chain channel identifier of the alliance chain channel, determine whether the identity data of the target node device exists in the identity data of each network device group in the chain channel;
若所述链通道内各网络设备组身份数据中存在所述目标节点设备的身份数据,则将所述目标节点设备加入所述目标链通道标识对应的目标联盟链通道;If the identity data of the target node device exists in the identity data of each network device group in the chain channel, add the target node device to the target alliance chain channel corresponding to the target chain channel identifier;
在接收到所述目标节点设备发送的待发布信息时,控制所述待发布信息在所述目标联盟链通道进行发布。When receiving the information to be released sent by the target node device, the information to be released is controlled to be published on the target alliance chain channel.
本申请实施例的第二方面提供了一种终端设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:A second aspect of an embodiment of the present application provides a terminal device, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, and the processor executes the computer The following steps are realized when the instructions are readable:
将多个网络设备组按照预设的规则划分为多个信息共享联盟,其中每个信息共享联盟包含多个网络设备组,每个网络设备组包含多个节点设备;Divide multiple network device groups into multiple information sharing alliances according to preset rules, where each information sharing alliance contains multiple network device groups, and each network device group contains multiple node devices;
在每个信息共享联盟的各网络设备组之间设置联盟链通道,并为每个联盟链通道配置链通道标识和链通道识别规则,所述链通道识别规则包括链通道内各网络设备组身份数据;Set up an alliance chain channel between each network device group of each information sharing alliance, and configure a chain channel identifier and a chain channel identification rule for each alliance chain channel, the chain channel identification rule includes the identity of each network device group in the chain channel data;
在接收到目标节点设备发送的联盟链通道加入请求时,解析出所述加入请求中携带的目标链通道标识和所述目标节点设备的身份数据,并判断所有联盟链通道的链通道标识中是否存在所述目标链通道标识;When receiving the alliance chain channel join request sent by the target node device, it parses out the target chain channel identifier and the identity data of the target node device carried in the join request, and judges whether all the alliance channel channels are in the chain channel identifier The target chain channel identifier exists;
若联盟链通道的链通道标识中存在所述目标链通道标识,则判断所述链通道内各网络设备组身份数据中是否存在所述目标节点设备的身份数据;If the target chain channel identifier exists in the chain channel identifier of the alliance chain channel, determine whether the identity data of the target node device exists in the identity data of each network device group in the chain channel;
若所述链通道内各网络设备组身份数据中存在所述目标节点设备的身份数据,则将所述目标节点设备加入所述目标链通道标识对应的目标联盟链通道;If the identity data of the target node device exists in the identity data of each network device group in the chain channel, add the target node device to the target alliance chain channel corresponding to the target chain channel identifier;
在接收到所述目标节点设备发送的待发布信息时,控制所述待发布信息在所述目标联盟链通道进行发布。When receiving the information to be released sent by the target node device, the information to be released is controlled to be published on the target alliance chain channel.
本申请实施例的第三方面提供了一种联盟链信息发布控制装置,包括:A third aspect of the embodiments of the present application provides an alliance chain information release control device, including:
信息共享联盟划分单元,用于将多个网络设备组按照预设的规则划分为多个信息共享联盟,其中每个信息共享联盟包含多个网络设备组,每个网络设备组包含多个节点设备;Information sharing alliance division unit, used to divide multiple network device groups into multiple information sharing alliances according to preset rules, where each information sharing alliance contains multiple network device groups, and each network device group contains multiple node devices ;
联盟链通道设置单元,用于在每个信息共享联盟的各网络设备组之间设置联盟链通道,并为每个联盟链通道配置链通道标识和链通道识别规则,所述链通道识别规则包括链通道内各网络设备组身份数据;The alliance chain channel setting unit is used to set an alliance chain channel between each network device group of each information sharing alliance, and configure a chain channel identifier and a chain channel identification rule for each alliance chain channel, the chain channel identification rule includes Identity data of each network device group in the chain channel;
链通道标识判断单元,用于在接收到目标节点设备发送的联盟链通道加入请求时,解析出所述加入请求中携带的目标链通道标识和所述目标节点设备的身份数据,并判断所有联盟链通道的链通道标识中是否存在所述目标链通道标识;The chain channel identification judgment unit is used to parse out the target chain channel identifier and the identity data of the target node device carried in the join request when receiving the alliance chain channel join request sent by the target node device, and judge all alliances Whether the target chain channel identifier exists in the chain channel identifier of the chain channel;
身份数据判断单元,用于若联盟链通道的链通道标识中存在所述目标链通道标识,则判断所述链通道内各网络设备组身份数据中是否存在所述目标节点设备的身份数据;The identity data judging unit is used to judge whether the identity data of the target node device exists in the identity data of each network device group in the chain channel if the target chain channel identifier exists in the chain channel identifier of the alliance chain channel;
联盟链通道加入单元,用于若所述链通道内各网络设备组身份数据中存在所述目标节点设备的身份数据,则将所述目标节点设备加入所述目标链通道标识对应的目标联盟链通道;The alliance chain channel joining unit is used to add the target node device to the target alliance chain corresponding to the target chain channel identifier if the identity data of the target node device exists in the identity data of each network device group in the chain channel aisle;
信息发布控制单元,用于在接收到所述目标节点设备发送的待发布信息时,控制所述待发布信息在所述目标联盟链通道进行发布。The information release control unit is configured to, when receiving the information to be released sent by the target node device, control the information to be released to be distributed on the target alliance chain channel.
本申请实施例的第四方面提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,所述计算机可读指令被处理器执行时实现如第一方面所述的联盟链信息发布控制方法的步骤。A fourth aspect of the embodiments of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores computer-readable instructions, which are implemented by a processor as described in the first aspect The steps of the alliance chain information release control method.
有益效果Beneficial effect
本申请实施例将多个网络设备组按照预设的规则划分为多个信息共享联盟,在每个信息共享联盟的各网络设备组之间设置联盟链通道,然后根据联盟链通道加入请求中携带的目标链通道标识和目标节点设备的身份数据,首先判断所有联盟链通道的链通道标识中是否存在目标链通道标识,若存在,则再判断链通道内各网络设备组身份数据中是否存在目标节点设备的身份数据,若存在,则将目标成员节加入所有目标链通道标识对应的目标联盟链通道,在接收到目标节点设备发送的待发布信息时,控制待发布信息在目标联盟链通道进行发布,能够保证加入联盟链发布信息的节点设备属于联盟链通道可信任的设备,减少不可信的信息的发布,提高联盟链内信息共享信任度。In this embodiment of the present application, multiple network device groups are divided into multiple information sharing alliances according to preset rules, and an alliance chain channel is set between each network device group of each information sharing alliance, and then carried in the join request according to the alliance chain channel The target chain channel identifier and the target node device's identity data, first determine whether the target chain channel identifier exists in the chain channel identifier of all alliance chain channels, and if so, then determine whether the target exists in the identity data of each network device group in the chain channel The identity data of the node device, if it exists, add the target member section to the target alliance chain channel corresponding to all the target chain channel identifiers, and when receiving the information to be published sent by the target node device, control the information to be published on the target alliance chain channel Publishing can ensure that the node devices that join the alliance chain to publish information are trusted devices of the alliance chain channel, reduce the release of untrusted information, and increase the trust of information sharing within the alliance chain.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only for the application In some embodiments, for those of ordinary skill in the art, without paying creative labor, other drawings may be obtained based on these drawings.
图  1是本申请一实施例提供的联盟链信息发布控制方法的示意流程图;FIG. 1 is a schematic flowchart of a method for controlling release of alliance chain information according to an embodiment of the present application;
图2是本申请另一实施例提供的联盟链信息发布控制方法的示意流程图;2 is a schematic flowchart of a method for controlling release of alliance chain information provided by another embodiment of the present application;
图3是本申请再一实施例提供的联盟链信息发布控制方法的示意流程图;3 is a schematic flowchart of a method for controlling release of alliance chain information provided by yet another embodiment of the present application;
图4是本申请又一实施例提供的联盟链信息发布控制方法的示意流程图;4 is a schematic flowchart of a method for controlling release of alliance chain information according to another embodiment of the present application;
图5是本申请一实施例提供的终端设备的结构示意图;5 is a schematic structural diagram of a terminal device provided by an embodiment of the present application;
图6是本申请一实施例提供的联盟链信息发布控制装置的功能模块图。6 is a functional block diagram of an alliance chain information distribution control device provided by an embodiment of the present application.
本发明的实施方式Embodiments of the invention
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as specific system structure and technology are proposed to thoroughly understand the embodiments of the present application. However, those skilled in the art should understand that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to avoid unnecessary details hindering the description of the present application.
为了说明本申请所述的技术方案,下面通过具体实施例来进行说明。In order to explain the technical solutions described in the present application, the following will be described with specific embodiments.
请参阅图1,图1是本申请一实施例提供的一种联盟链信息发布控制方法的示意流程图,在该实施例中,以联盟链共识管理服务器一侧为执行主体进行说明,这里,联盟链共识管理服务器可以为一台,也可以通过多台服务器通信协作完成。如图1所示,在该实施例中,服务器的处理过程可以包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a method for controlling release of alliance chain information provided by an embodiment of the present application. In this embodiment, the side of the alliance chain consensus management server is used as an execution subject for explanation. Here, The alliance chain consensus management server can be one, or can be completed through communication and cooperation of multiple servers. As shown in FIG. 1, in this embodiment, the processing procedure of the server may include the following steps:
S101:将多个网络设备组按照预设的规则划分为多个信息共享联盟,其中每个信息共享联盟包含多个网络设备组,每个网络设备组包含多个节点设备。S101: Divide multiple network device groups into multiple information sharing alliances according to preset rules, where each information sharing alliance contains multiple network device groups, and each network device group contains multiple node devices.
在本实施例中,网络设备组可以是一个公司或组织的节点设备的集合,其中节点设备可以是个人电脑、服务器或移动终端等设备。信息共享联盟可以是按照共享信息的类型划分的多个网络设备组的集合。In this embodiment, the network device group may be a collection of node devices of a company or organization, where the node devices may be devices such as personal computers, servers, or mobile terminals. The information sharing alliance may be a collection of multiple network device groups divided according to the type of shared information.
S102:在每个信息共享联盟的各网络设备组之间设置联盟链通道,并为每个联盟链通道配置链通道标识和链通道识别规则,链通道识别规则包括链通道内各网络设备组身份数据。S102: Set up an alliance chain channel between each network device group of each information sharing alliance, and configure a chain channel identifier and a chain channel identification rule for each alliance chain channel. The chain channel identification rule includes the identity of each network device group in the chain channel data.
在本实施例中,联盟链通道为用于各网络设备组之间共享每个信息共享联盟对应的信息类型的通道。链通道标识可以是为唯一标识联盟链通道的数组。链通道识别规则用于其他节点设备加入联盟链通道时,判断是否满足加入联盟链通道的条件。网络设备组身份数据可以是网络设备组的名称或ID(Identification,身份标识)。In this embodiment, the alliance chain channel is a channel for sharing information types corresponding to each information sharing alliance between network device groups. The chain channel identifier may be an array that uniquely identifies the alliance chain channel. Chain channel identification rules are used to determine whether the conditions for joining the alliance chain channel are met when other node devices join the alliance chain channel. The network device group identity data may be the name or ID (Identification) of the network device group.
S103:在接收到目标节点设备发送的联盟链通道加入请求时,解析出加入请求中携带的目标链通道标识和目标节点设备的身份数据,并判断所有联盟链通道的链通道标识中是否存在目标链通道标识。S103: When receiving the alliance chain channel join request sent by the target node device, parse out the target chain channel identifier and the identity data of the target node device carried in the join request, and judge whether there is a target in the chain channel identifier of all alliance chain channels Chain channel identification.
在本实施例中,目标节点设备为任一网络设备组中申请加入联盟链通道进行信息发布的节点设备。目标节点设备的身份数据为目标节点设备所属的网络设备组的身份数据。In this embodiment, the target node device is a node device in any network device group applying to join the alliance chain channel for information release. The identity data of the target node device is the identity data of the network device group to which the target node device belongs.
具体地,判断所有联盟链通道的链通道标识中是否存在目标链通道标识,包括:按照联盟链通道的链通道标识的存储顺序,遍历每个联盟链通道的链通道标识,当查询到与目标链通道标识相同的链通道标识时停止遍历查询。Specifically, it is determined whether the target chain channel identifier exists in the chain channel identifier of all alliance chain channels, including: traversing the chain channel identifier of each alliance chain channel according to the storage order of the chain channel identifier of the alliance chain channel, Stop the traversal query when the chain channel ID is the same.
S104:若联盟链通道的链通道标识中存在目标链通道标识,则判断链通道内各网络设备组身份数据中是否存在目标节点设备的身份数据。S104: If the target chain channel identifier exists in the chain channel identifier of the alliance chain channel, determine whether the identity data of the target node device exists in the identity data of each network device group in the chain channel.
具体地,判断链通道内各网络设备组身份数据中是否存在目标节点设备的身份数据,包括:按照各网络设备组身份数据存储顺序,遍历每个网络设备组身份数据,当查询到与目标节点设备的身份数据相同的网络设备组身份数据时停止遍历查询。Specifically, it is determined whether the identity data of the target node device exists in the identity data of each network device group in the chain channel, including: traversing the identity data of each network device group according to the storage order of the identity data of each network device group, when querying with the target node Stop the traversal query when the identity data of the network device group with the same device identity data.
S105:若链通道内各网络设备组身份数据中存在目标节点设备的身份数据,则将目标节点设备加入目标链通道标识对应的目标联盟链通道。S105: If the identity data of the target node device exists in the identity data of each network device group in the chain channel, add the target node device to the target alliance chain channel corresponding to the target chain channel identifier.
在本实施例中,将目标节点设备加入所标链通道标识对应的目标联盟链通道指的是目标节点设备可以在目标联盟链通道内的各网络设备组之间发布信息。In this embodiment, adding the target node device to the target alliance chain channel corresponding to the marked chain channel identifier refers to that the target node device can publish information between each network device group in the target alliance chain channel.
S106:在接收到目标节点设备发送的待发布信息时,控制待发布信息在目标联盟链通道进行发布。S106: When receiving the information to be published sent by the target node device, control the information to be published to be published on the target alliance chain channel.
在本实施例中,若待发布信息满足发布条件,将待发布信息发送至目标联盟链通道对应的各网络设备组中的各节点设备进行记录。由于各节点设备对所述待发布信息进行分布式存储,保证待发布信息的有效性和稳定性。In this embodiment, if the information to be published meets the publishing conditions, the information to be published is sent to each node device in each network device group corresponding to the target alliance chain channel for recording. Since each node device performs distributed storage on the information to be released, the validity and stability of the information to be released are guaranteed.
从上述描述可知,本实施例将多个网络设备组按照预设的规则划分为多个信息共享联盟,在每个信息共享联盟的各网络设备组之间设置联盟链通道,然后根据联盟链通道加入请求中携带的目标链通道标识和目标节点设备的身份数据,首先判断所有联盟链通道的链通道标识中是否存在目标链通道标识,若存在,则再判断链通道内各网络设备组身份数据中是否存在目标节点设备的身份数据,若所存在,则将目标成员节加入所有目标链通道标识对应的目标联盟链通道,在接收到目标节点设备发送的待发布信息时,控制待发布信息在目标联盟链通道进行发布,能够保证加入联盟链发布信息的节点设备属于联盟链通道可信任的设备,减少不可信的信息的发布,提高联盟链内信息共享信任度。As can be seen from the above description, in this embodiment, multiple network device groups are divided into multiple information sharing alliances according to preset rules, and an alliance chain channel is set between each network device group of each information sharing alliance, and then according to the alliance chain channel Join the target chain channel ID and target node device identity data carried in the request, first determine whether the target chain channel ID exists in the chain channel ID of all alliance chain channels, and if so, then determine the identity data of each network device group in the chain channel Whether the identity data of the target node device exists in it, if it exists, the target member section is added to the target alliance chain channel corresponding to all target chain channel identifiers, and when the information to be released sent by the target node device is received, the information to be released is controlled at The target alliance chain channel is released, which can ensure that the node devices that join the alliance chain to publish information are trusted devices of the alliance chain channel, reduce the release of untrusted information, and improve the trust of information sharing within the alliance chain.
请参阅图2,图2为本申请另一实施例提供的联盟链信息发布控制方法的示意流程图,在上述实施例的基础上,步骤S101具体包括以下步骤:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of a method for controlling release of alliance chain information according to another embodiment of the present application. Based on the foregoing embodiment, step S101 specifically includes the following steps:
S201:获取预设时间段内每个网络设备组发送的所有发布信息,根据每条发布信息中关键词出现的次数,确定每条发布信息的类型。S201: Acquire all posting information sent by each network device group within a preset time period, and determine the type of each posting information according to the number of occurrences of keywords in each posting information.
在本实施例中,预设时间段可以是一个季度(3个月)。每个网络设备组发送的所有发布信息指的是每个网络设备组向外部的其他网络设备组发送的所有的发布信息。In this embodiment, the preset time period may be one quarter (3 months). All published information sent by each network device group refers to all published information sent by each network device group to other external network device groups.
具体地,据每条发布信息中关键词出现的次数,确定每条发布信息的类型,包括:获取每条发布信息中关键词(例如,“老年寿险”)出现的次数,当关键词出现的次数达到预设的次数阈值(例如,10次)时,则将该发布信息的类型确定为“老年寿险”。Specifically, according to the number of occurrences of keywords in each posting information, determine the type of each posting information, including: obtaining the number of occurrences of keywords (for example, "senior life insurance") in each posting information, when the keyword appears When the number of times reaches the preset number of times threshold (for example, 10 times), the type of the published information is determined as "senior life insurance".
S202:统计每个网络设备组发送的所有发布信息中每种类型的发布信息的数量。S202: Count the number of each type of release information in all the release information sent by each network device group.
在本实施例中,按照预设的类型种类(例如,老年寿险、成人寿险、儿童寿险、教育险、投资险、意外险)确定每个发布信息的类型,然后统计每种类型的发布信息的数量。例如,统计后的发布信息按照类型分为老年寿险为50个、成人寿险为10个、儿童寿险为10个、教育险为11个、投资险为9个、意外险为10个。In this embodiment, the type of each published information is determined according to preset types (for example, senior life insurance, adult life insurance, child life insurance, education insurance, investment insurance, accident insurance), and then the statistics of each type of published information are counted. Quantity. For example, according to the types of released information, there are 50 elderly life insurances, 10 adult life insurances, 10 child life insurances, 11 education insurances, 9 investment insurances, and 10 accident insurances.
S203:若目标网络设备组中目标类型的发布信息的数量占发布信息总数量的比例超过预设的比值,则将目标网络设备组划分为目标类型对应的信息共享联盟中,其中目标网络设备组为多个网络设备组中的任一个,目标类型为目标网络设备组发布的信息的类型中的任一个。S203: If the proportion of the published information of the target type in the target network device group to the total number of published information exceeds a preset ratio, the target network device group is divided into information sharing alliances corresponding to the target type, where the target network device group For any one of multiple network device groups, the target type is any one of the types of information published by the target network device group.
在本实施例中,预设的比值可以为0.6。例如,统计后的发布信息按照类型分为老年寿险为50个、成人寿险为7个、儿童寿险为3个、教育险为6个、投资险为9个、意外险为5个,则老年寿险发布信息(50个)占发布信息总数量(个)为0.625,大于预设的比值0.6,则将目标网络设备组划分到目标类型对应的信息共享联盟中。In this embodiment, the preset ratio may be 0.6. For example, according to the types of information released after statistics, there are 50 old-age life insurance, 7 adult life insurance, 3 child life insurance, 6 education insurance, 9 investment insurance, and 5 accident insurance. The total number of published information (50) is 0.625, which is greater than the preset ratio of 0.6, and the target network device group is divided into information sharing alliances corresponding to the target type.
从上述描述可知,通过发布信息的类型及每种类型的数量,将网络设备组划分为不同的信息共享联盟,能够实现将发布信息类型相关或类似的网络设备组划分到一个信息共享联盟。It can be seen from the above description that by dividing the type of information and the number of each type, the network device group is divided into different information sharing alliances, and it is possible to divide the network device groups related to the type of information released or similar into an information sharing alliance.
请参阅图3,图3为本申请再一实施例提供的联盟链信息发布控制方法的示意流程图,本实例中的链通道识别规则还包括与链通道内各网络设备组身份数据对应的读写权限,在上述实施例的基础上,步骤S106具体包括以下步骤:Please refer to FIG. 3, which is a schematic flowchart of a federation chain information release control method provided by yet another embodiment of the present application. The chain channel identification rule in this example also includes a read corresponding to the identity data of each network device group in the chain channel. On the basis of the above embodiment, the write permission specifically includes the following steps in step S106:
S301:在接收到目标节点设备发送的待发布信息时,根据目标节点设备的身份数据查询所述目标链通道内各网络设备组身份数据对应的读写权限,获取目标节点设备的读写权限。S301: When receiving the information to be published sent by the target node device, query the read and write permissions corresponding to the identity data of each network device group in the target chain channel according to the identity data of the target node device to obtain the read and write permissions of the target node device.
在本实施例中,目标节点设备的身份数据为目标节点设备所属的网络设备组身份数据。目标节点设备的读写权限可是仅包括读取权限(只能在联盟链通道内读取发布信息,不能在联盟链通道内发布信息),也可以是包括读取权限和写入权限(既能在联盟链通道内读取发布信息,也能在联盟链通道内发布信息)。In this embodiment, the identity data of the target node device is the identity data of the network device group to which the target node device belongs. The read and write permissions of the target node device only include read permissions (only the published information can be read in the alliance chain channel, and cannot be published in the alliance chain channel), or it can include read permissions and write permissions (both (Reading and publishing information in the alliance chain channel can also publish information in the alliance chain channel).
S302:若目标节点设备的读写权限包括写入权限,则将待发布信息发送至目标联盟链通道对应的各网络设备组中的记录节点设备进行记录。S302: If the read and write permission of the target node device includes the write permission, send the information to be released to the recording node device in each network device group corresponding to the target alliance chain channel for recording.
在本实施例中,记录节点设备为联盟链中记录待发布信息的节点设备,通过在记录节点设备记录待发布信息,实现对发布信息的分布式存储。In this embodiment, the recording node device is a node device that records the information to be released in the alliance chain. By recording the information to be released on the recording node device, the distributed storage of the published information is realized.
S303:若目标节点设备的读写权限不包括写入权限,则发送待发布信息不允许在的目标联盟链通发布的提示信息到目标节点设备。S303: If the read-write permission of the target node device does not include the write permission, send a prompt message to the target node device that the information to be released is not allowed to be released by the target alliance link.
在本实施例中,为了限制某些不信任节点设备发布不信任的信息,当目标节点设备的读写权限不包括写入权限时,发送待发布信息不允许在的目标联盟链通发布的提示信息到目标节点设备。In this embodiment, in order to restrict certain untrusted node devices from publishing untrusted information, when the read and write permission of the target node device does not include the write permission, a prompt is issued that the target alliance link is not allowed to be published Information to the target node device.
从上述描述可知,通过设置链通道识别规则中与链通道内各网络设备组身份数据对应的读写权限,实现对目标节点设备满足发布信息的权限多样性的需求。As can be seen from the above description, by setting the read and write permissions corresponding to the identity data of each network device group in the chain channel in the chain channel identification rule, the target node device can meet the requirement for the permission diversity of the published information.
请参阅图4,图4为本申请又一实施例提供的联盟链信息发布控制方法的示意流程图,所述联盟链通道加入请求还包括所述目标节点设备所属网络设备组的数字签名;在步骤S103在接收到目标节点设备发送的联盟链通道加入请求之后,还包括以下步骤:Please refer to FIG. 4, which is a schematic flowchart of a federation chain information release control method according to another embodiment of the present application. The alliance chain channel join request further includes a digital signature of a network device group to which the target node device belongs; Step S103 after receiving the alliance chain channel join request sent by the target node device, further includes the following steps:
S401:根据目标节点设备的身份数据,确定目标节点设备所属网络设备组的数字证书。S401: Determine the digital certificate of the network device group to which the target node device belongs based on the identity data of the target node device.
在本实施例中,目标节点设备的身份数据为目标节点设备所属的网络设备组身份数据。In this embodiment, the identity data of the target node device is the identity data of the network device group to which the target node device belongs.
具体地,可以根据目标节点设备所属的网络设备组身份数据查询预存的网络设备组身份数据与数字证书的对应关系,确定目标节点设备所属网络设备组的数字证书。Specifically, the digital certificate of the network device group to which the target node device belongs may be determined according to the correspondence between the pre-stored network device group identity data and the digital certificate according to the network device group identity data to which the target node device belongs.
S402:根据数字证书对数字签名进行验证,若验证通过则继续执行判断所有联盟链通道的链通道标识中是否存在目标链通道标识的步骤。S402: Verify the digital signature according to the digital certificate. If the verification is successful, continue to perform the step of determining whether the target chain channel identifier exists in the chain channel identifiers of all alliance chain channels.
在本实施例中,根据数字证书对数字签名进行验证可以是将数字签名按照数字证书的加密算法对数字签名的数组进行验证。In this embodiment, verifying the digital signature according to the digital certificate may be verifying the digital signature according to the encryption algorithm of the digital certificate to the array of digital signatures.
从上述描述可知,通过数字证书对数字签名进行验证,进一步保证目标节点设备属于可信任的节点设备。It can be seen from the above description that the digital signature is used to verify the digital signature to further ensure that the target node device belongs to a trusted node device.
对应于上文实施例的联盟链信息发布控制方法,图5示出了本申请一实施例提供的终端设备的结构示意图。为了便于说明,仅示出了与本实施例相关的部分。Corresponding to the method for controlling the distribution of alliance chain information in the above embodiment, FIG. 5 shows a schematic structural diagram of a terminal device provided by an embodiment of the present application. For ease of explanation, only parts related to this embodiment are shown.
在本实施例中,联盟链信息发布控制装置600安装并运行于终端设备60中。该终端设备60可以是移动终端、掌上电脑、服务器等。该终端设备60可包括,但不仅限于,存储器601、处理器602及显示器603。图5仅示出了具有组件601-603的终端设备60,但是应理解的是,并不要求实施所有示出的组件,可以替代的实施更多或者更少的组件。In this embodiment, the alliance chain information distribution control device 600 is installed and operated in the terminal device 60. The terminal device 60 may be a mobile terminal, a palmtop computer, a server, or the like. The terminal device 60 may include, but is not limited to, a memory 601, a processor 602, and a display 603. FIG. 5 only shows the terminal device 60 having the components 601-603, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead.
存储器601在一些实施例中可以是所述终端设备60的内部存储单元,例如该终端设备60的硬盘或内存。所述存储器601在另一些实施例中也可以是所述终端设备60的外部存储设备,例如所述终端设备60上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述存储器601还可以既包括所述终端设备60的内部存储单元也包括外部存储设备。所述存储器601用于存储安装于所述终端设备60的应用软件及各类数据,例如所述联盟链信息发布控制装置600的程序代码等。所述存储器601还可以用于暂时地存储已经输出或者将要输出的数据。In some embodiments, the memory 601 may be an internal storage unit of the terminal device 60, such as a hard disk or a memory of the terminal device 60. In other embodiments, the memory 601 may also be an external storage device of the terminal device 60, for example, a plug-in hard disk equipped on the terminal device 60, a smart memory card (Smart Media Card, SMC), or a secure digital device. (Secure Digital, SD) card, flash card (Flash Card), etc. Further, the memory 601 may also include both an internal storage unit of the terminal device 60 and an external storage device. The memory 601 is used to store application software and various types of data installed in the terminal device 60, such as program codes of the alliance chain information release control device 600. The memory 601 may also be used to temporarily store data that has been output or will be output.
所述处理器602在一些实施例中可以是一中央处理器(Central Processing Unit,CPU),微处理器或其他数据处理芯片,用于运行所述存储器601中存储的程序代码或处理数据,例如执行所述联盟链信息发布控制装置600等。In some embodiments, the processor 602 may be a central processor (Central Processing Unit (CPU), microprocessor or other data processing chip, used to run the program code or processing data stored in the memory 601, for example, to execute the alliance chain information release control device 600.
所述显示器603在一些实施例中可以是LED显示器、液晶显示器、触控式液晶显示器以及有机发光二极管(Organic Light-Emitting Diode,OLED)触摸器等。所述显示器603用于显示在所述终端设备60中处理的信息以及用于显示可视化的用户界面,例如应用菜单界面、应用图标界面等。所述终端设备60的部件601-603通过系统总线相互通信。In some embodiments, the display 603 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an organic light-emitting diode (Organic Light-Emitting Diode, OLED) touch device, or the like. The display 603 is used to display information processed in the terminal device 60 and to display a visual user interface, such as an application menu interface, an application icon interface, and the like. The components 601-603 of the terminal device 60 communicate with each other through a system bus.
请参阅图6,是本申请一实施例提供的联盟链信息发布控制装置600的功能模块图。在本实施例中,所述的联盟链信息发布控制装置600可以被分割成一个或多个模块,所述一个或者多个模块被存储于所述存储器601中,并由一个或多个处理器(本实施例为所述处理器602)所执行,以完成本申请。例如,在图6中,所述的联盟链信息发布控制装置600可以被分割成信息共享联盟划分单元701、联盟链通道设置单元702、链通道标识判断单元703、身份数据判断单元704、联盟链通道加入单元705和信息发布控制单元706。Please refer to FIG. 6, which is a functional block diagram of an alliance chain information release control device 600 provided by an embodiment of the present application. In this embodiment, the alliance chain information release control device 600 may be divided into one or more modules, the one or more modules are stored in the memory 601, and are controlled by one or more processors (This embodiment is executed by the processor 602) to complete this application. For example, in FIG. 6, the alliance chain information distribution control device 600 may be divided into an information sharing alliance division unit 701, an alliance chain channel setting unit 702, a chain channel identification judgment unit 703, an identity data judgment unit 704, an alliance chain The channel joining unit 705 and the information distribution control unit 706.
本申请所称的单元是指能够完成特定功能的一系列计算机可读指令段,比程序更适合于描述所述联盟链信息发布控制装置600在所述终端设备60中的执行过程。以下描述将具体介绍所述单元701-706能。The unit referred to in this application refers to a series of computer-readable instruction segments capable of performing specific functions, and is more suitable than a program for describing the execution process of the alliance chain information distribution control device 600 in the terminal device 60. The following description will specifically introduce the capabilities of the units 701-706.
其中,信息共享联盟划分单元701,用于将多个网络设备组按照预设的规则划分为多个信息共享联盟,其中每个信息共享联盟包含多个网络设备组,每个网络设备组包含多个节点设备;Among them, the information sharing alliance division unit 701 is used to divide multiple network device groups into multiple information sharing alliances according to preset rules, wherein each information sharing alliance contains multiple network device groups, and each network device group contains multiple Node equipment;
联盟链通道设置单元702,用于在每个信息共享联盟的各网络设备组之间设置联盟链通道,并为每个联盟链通道配置链通道标识和链通道识别规则,所述链通道识别规则包括链通道内各网络设备组身份数据;The alliance chain channel setting unit 702 is used to set an alliance chain channel between each network device group of each information sharing alliance, and configure a chain channel identifier and a chain channel identification rule for each alliance chain channel, the chain channel identification rule Including the identity data of each network device group in the chain channel;
链通道标识判断单元703,用于在接收到目标节点设备发送的联盟链通道加入请求时,解析出所述加入请求中携带的目标链通道标识和所述目标节点设备的身份数据,并判断所有联盟链通道的链通道标识中是否存在所述目标链通道标识;The chain channel identification judgment unit 703 is used to parse out the target chain channel identifier and the identity data of the target node device carried in the join request when receiving the alliance chain channel join request sent by the target node device, and judge all Whether the target chain channel identifier exists in the chain channel identifier of the alliance chain channel;
身份数据判断单元704,用于若联盟链通道的链通道标识中存在所述目标链通道标识,则判断所述链通道内各网络设备组身份数据中是否存在所述目标节点设备的身份数据;The identity data judging unit 704 is configured to judge whether the identity data of the target node device exists in the identity data of each network device group in the chain channel if the target chain channel identifier exists in the chain channel identifier of the alliance chain channel;
联盟链通道加入单元705,用于若所述链通道内各网络设备组身份数据中存在所述目标节点设备的身份数据,则将所述目标节点设备加入所述目标链通道标识对应的目标联盟链通道;The alliance chain channel joining unit 705 is used to add the target node device to the target alliance corresponding to the target chain channel identifier if the identity data of the target node device exists in the identity data of each network device group in the chain channel Chain channel
信息发布控制单元706,用于在接收到所述目标节点设备发送的待发布信息时,控制所述待发布信息在所述目标联盟链通道进行发布。The information release control unit 706 is configured to, when receiving the information to be released sent by the target node device, control the information to be released to be distributed on the target alliance chain channel.
从上述描述可知,本实施例将多个网络设备组按照预设的规则划分为多个信息共享联盟,在每个信息共享联盟的各网络设备组之间设置联盟链通道,然后根据联盟链通道加入请求中携带的目标链通道标识和目标节点设备的身份数据,首先判断所有联盟链通道的链通道标识中是否存在目标链通道标识,若存在,则再判断链通道内各网络设备组身份数据中是否存在目标节点设备的身份数据,若所存在,则将目标成员节加入所有目标链通道标识对应的目标联盟链通道,在接收到目标节点设备发送的待发布信息时,控制待发布信息在目标联盟链通道进行发布,能够保证加入联盟链发布信息的节点设备属于联盟链通道可信任的设备,减少不可信的信息的发布,提高联盟链内信息共享信任度。As can be seen from the above description, in this embodiment, multiple network device groups are divided into multiple information sharing alliances according to preset rules, and an alliance chain channel is set between each network device group of each information sharing alliance, and then according to the alliance chain channel Join the target chain channel ID and target node device ID data carried in the request, first determine whether the target chain channel ID exists in the chain channel ID of all alliance chain channels, and if so, then determine the identity data of each network device group in the chain channel Whether there is identity data of the target node device in it, if it exists, add the target member section to the target alliance chain channel corresponding to all target chain channel identifiers, and when receiving the information to be released sent by the target node device, control the information to be released The target alliance chain channel is released, which can ensure that the node devices that join the alliance chain to publish information are trusted devices of the alliance chain channel, reduce the release of untrusted information, and improve the trust of information sharing within the alliance chain.
在本申请的一个实施例中,信息共享联盟划分单元701,具体用于获取预设时间段内每个网络设备组发送的所有发布信息,根据每条发布信息中关键词出现的次数,确定每条发布信息的类型;统计每个网络设备组发送的所有发布信息中每种类型的发布信息的数量;若目标网络设备组中目标类型的发布信息的数量占发布信息总数量的比例超过预设的比值,则将所述目标网络设备组划分为所述目标类型对应的信息共享联盟中,其中所述目标网络设备组为多个网络设备组中的任一个,所述目标类型为所述目标网络设备组发布的信息的类型中的任一个。In an embodiment of the present application, the information sharing alliance dividing unit 701 is specifically used to obtain all the posting information sent by each network device group within a preset time period, and determine the number of occurrences of keywords in each posting information according to Types of published information; count the number of each type of published information in all published information sent by each network equipment group; if the number of published information of the target type in the target network equipment group accounts for more than the preset number of published information , The target network device group is divided into information sharing alliances corresponding to the target type, wherein the target network device group is any one of a plurality of network device groups, and the target type is the target Any of the types of information published by the network device group.
在本申请的一个实施例中,所述链通道识别规则还包括与链通道内各网络设备组身份数据对应的读写权限;所述信息发布控制单元706,具体用于在接收到所述目标节点设备发送的待发布信息时,根据所述目标节点设备的身份数据查询所述目标链通道内各网络设备组身份数据对应的读写权限,获取所述目标节点设备的读写权限;若所述目标节点设备的读写权限包括写入权限,则将所述待发布信息发送至所述目标联盟链通道对应的各网络设备组中的记录节点设备进行记录。In an embodiment of the present application, the chain channel identification rule further includes read and write permissions corresponding to the identity data of each network device group in the chain channel; the information release control unit 706 is specifically used to receive the target When the to-be-published information sent by the node device, according to the identity data of the target node device, query the read and write permissions corresponding to the identity data of each network device group in the target chain channel to obtain the read and write permissions of the target node device; The read and write permission of the target node device includes the write permission, and then the information to be released is sent to the recording node device in each network device group corresponding to the target alliance chain channel for recording.
在本申请的一个实施例中,所述获取所述目标节点设备的读写权限之后,还包括:若所述目标节点设备的读写权限不包括写入权限,则发送所述待发布信息不允许在的目标联盟链通发布的提示信息到所述目标节点设备。In an embodiment of the present application, after acquiring the read-write permission of the target node device, the method further includes: if the read-write permission of the target node device does not include the write permission, sending the information to be released It is allowed to publish the prompt information to the target node device at the target alliance link.
在本申请的一个实施例中,所述联盟链信息发布控制装置600还包括:In an embodiment of the present application, the alliance chain information release control device 600 further includes:
数字签名验证单元707,根据目标节点设备的身份数据,确定所述目标节点设备所属网络设备组的数字证书;根据所述数字证书对所述数字签名进行验证,若验证通过则继续执行判断所有联盟链通道的链通道标识中是否存在所述目标链通道标识的步骤。The digital signature verification unit 707 determines the digital certificate of the network device group to which the target node device belongs according to the identity data of the target node device; verifies the digital signature according to the digital certificate, and if it passes the verification, it continues to judge all alliances Whether there is a step of the target chain channel identifier in the chain channel identifier of the chain channel.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for convenience and conciseness of description, only the above-mentioned division of each functional unit and module is used as an example for illustration. In practical applications, the above-mentioned functions may be allocated by different functional units, Module completion means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above integrated unit may use hardware It can also be implemented in the form of software functional units. In addition, the specific names of each functional unit and module are only for the purpose of distinguishing each other, and are not used to limit the protection scope of the present application. For the specific working processes of the units and modules in the above system, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For a part that is not detailed or recorded in an embodiment, you can refer to the related descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art may realize that the units and algorithm steps of the examples described in conjunction with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are executed in hardware or software depends on the specific application of the technical solution and design constraints. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
在本申请所提供的实施例中,应该理解到,所揭露的装置/终端设备和方法,可以通过其它的方式实现。例如,以上所描述的装置/终端设备实施例仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed device/terminal device and method may be implemented in other ways. For example, the device/terminal device embodiments described above are only schematic. For example, the division of the module or unit is only a logical function division, and in actual implementation, there may be another division manner, such as multiple units Or components can be combined or integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above integrated unit may be implemented in the form of hardware or software functional unit.
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,也可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一计算机可读存储介质中,该计算机可读指令在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机可读指令包括计算机可读指令代码,所述计算机可读指令代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机可读指令代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。If the integrated module/unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the methods of the above embodiments, and can also be completed by instructing relevant hardware through computer-readable instructions, which can be stored in a computer-readable storage medium In this case, when the computer-readable instructions are executed by the processor, the steps of the foregoing method embodiments may be implemented. Wherein, the computer readable instructions include computer readable instruction codes, and the computer readable instruction codes may be in source code form, object code form, executable file, or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer-readable instruction code, a recording medium, a U disk, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, a read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), electrical carrier signals, telecommunication signals and software distribution media, etc. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in jurisdictions. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media Does not include electrical carrier signals and telecommunications signals.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still implement the foregoing The technical solutions described in the examples are modified, or some of the technical features are equivalently replaced; and these modifications or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application. Within the scope of protection of this application.

Claims (20)

  1. 一种联盟链信息发布控制方法,其特征在于,包括:A method for controlling the release of alliance chain information, characterized in that it includes:
    将多个网络设备组按照预设的规则划分为多个信息共享联盟,其中每个信息共享联盟包含多个网络设备组,每个网络设备组包含多个节点设备;Divide multiple network device groups into multiple information sharing alliances according to preset rules, where each information sharing alliance contains multiple network device groups, and each network device group contains multiple node devices;
    在每个信息共享联盟的各网络设备组之间设置联盟链通道,并为每个联盟链通道配置链通道标识和链通道识别规则,所述链通道识别规则包括链通道内各网络设备组身份数据;Set up an alliance chain channel between each network device group of each information sharing alliance, and configure a chain channel identifier and a chain channel identification rule for each alliance chain channel, the chain channel identification rule includes the identity of each network device group in the chain channel data;
    在接收到目标节点设备发送的联盟链通道加入请求时,解析出所述加入请求中携带的目标链通道标识和所述目标节点设备的身份数据,并判断所有联盟链通道的链通道标识中是否存在所述目标链通道标识;When receiving the alliance chain channel join request sent by the target node device, it parses out the target chain channel identifier and the identity data of the target node device carried in the join request, and judges whether all the alliance channel channels are in the chain channel identifier The target chain channel identifier exists;
    若联盟链通道的链通道标识中存在所述目标链通道标识,则判断所述链通道内各网络设备组身份数据中是否存在所述目标节点设备的身份数据;If the target chain channel identifier exists in the chain channel identifier of the alliance chain channel, determine whether the identity data of the target node device exists in the identity data of each network device group in the chain channel;
    若所述链通道内各网络设备组身份数据中存在所述目标节点设备的身份数据,则将所述目标节点设备加入所述目标链通道标识对应的目标联盟链通道;If the identity data of the target node device exists in the identity data of each network device group in the chain channel, add the target node device to the target alliance chain channel corresponding to the target chain channel identifier;
    在接收到所述目标节点设备发送的待发布信息时,控制所述待发布信息在所述目标联盟链通道进行发布。When receiving the information to be released sent by the target node device, the information to be released is controlled to be published on the target alliance chain channel.
  2. 如权利要求1所述的联盟链信息发布控制方法,其特征在于,所述将多个网络设备组按照预设的规则划分为多个信息共享联盟,包括:The alliance chain information release control method according to claim 1, wherein the dividing multiple network device groups into multiple information sharing alliances according to a preset rule includes:
    获取预设时间段内每个网络设备组发送的所有发布信息,根据每条发布信息中关键词出现的次数,确定每条发布信息的类型;Obtain all the posting information sent by each network device group within a preset time period, and determine the type of each posting information according to the number of occurrences of keywords in each posting information;
    统计每个网络设备组发送的所有发布信息中每种类型的发布信息的数量;Count the number of each type of published information in all published information sent by each network device group;
    若目标网络设备组中目标类型的发布信息的数量占发布信息总数量的比例超过预设的比值,则将所述目标网络设备组划分为所述目标类型对应的信息共享联盟中,其中所述目标网络设备组为多个网络设备组中的任一个,所述目标类型为所述目标网络设备组发布的信息的类型中的任一个。If the ratio of the number of published information of the target type in the target network device group to the total number of published information exceeds a preset ratio, the target network device group is divided into information sharing alliances corresponding to the target type, wherein the The target network device group is any one of a plurality of network device groups, and the target type is any one of types of information issued by the target network device group.
  3. 如权利要求1所述的联盟链信息发布控制方法,其特征在于,所述链通道识别规则还包括与链通道内各网络设备组身份数据对应的读写权限;The alliance chain information release control method according to claim 1, wherein the chain channel identification rule further includes read and write permissions corresponding to the identity data of each network device group in the chain channel;
    所述在接收到所述目标节点设备发送的待发布信息时,控制所述待发布信息在所述目标联盟链通道进行发布,包括:When receiving the information to be published sent by the target node device, controlling the information to be published to be published on the target alliance chain channel includes:
    在接收到所述目标节点设备发送的待发布信息时,根据所述目标节点设备的身份数据查询所述目标链通道内各网络设备组身份数据对应的读写权限,获取所述目标节点设备的读写权限;When receiving the information to be released sent by the target node device, query the read and write permissions corresponding to the identity data of each network device group in the target chain channel according to the identity data of the target node device to obtain the target node device’s Read and write permissions;
    若所述目标节点设备的读写权限包括写入权限,则将所述待发布信息发送至所述目标联盟链通道对应的各网络设备组中的记录节点设备进行记录。If the read-write permission of the target node device includes the write permission, the information to be released is sent to the recording node device in each network device group corresponding to the target alliance chain channel for recording.
  4. 如权利要求1所述的联盟链信息发布控制方法,其特征在于,所述联盟链通道加入请求还包括所述目标节点设备所属网络设备组的数字签名;The alliance chain information release control method according to claim 1, wherein the alliance chain channel join request further includes a digital signature of a network device group to which the target node device belongs;
    在接收到目标节点设备发送的联盟链通道加入请求之后,还包括:After receiving the alliance chain channel join request sent by the target node device, it also includes:
    根据目标节点设备的身份数据,确定所述目标节点设备所属网络设备组的数字证书;Determine the digital certificate of the network device group to which the target node device belongs based on the identity data of the target node device;
    根据所述数字证书对所述数字签名进行验证,若验证通过则继续执行判断所有联盟链通道的链通道标识中是否存在所述目标链通道标识的步骤。Verify the digital signature according to the digital certificate, and if the verification is successful, continue to perform the step of determining whether the target chain channel identifier exists in the chain channel identifiers of all alliance chain channels.
  5. 如权利要求3所述的联盟链信息发布控制方法,其特征在于,所述获取所述目标节点设备的读写权限之后,还包括:The alliance chain information release control method according to claim 3, wherein after acquiring the read-write permission of the target node device, further comprising:
    若所述目标节点设备的读写权限不包括写入权限,则发送所述待发布信息不允许在的目标联盟链通发布的提示信息到所述目标节点设备。If the read-write permission of the target node device does not include the write permission, then send a prompt message to the target node device that the information to be released is not allowed to be released by the target alliance link.
  6. 一种终端设备,其特征在于,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:A terminal device is characterized by comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, and the processor implements the computer-readable instructions as follows step:
    将多个网络设备组按照预设的规则划分为多个信息共享联盟,其中每个信息共享联盟包含多个网络设备组,每个网络设备组包含多个节点设备;Divide multiple network device groups into multiple information sharing alliances according to preset rules, where each information sharing alliance contains multiple network device groups, and each network device group contains multiple node devices;
    在每个信息共享联盟的各网络设备组之间设置联盟链通道,并为每个联盟链通道配置链通道标识和链通道识别规则,所述链通道识别规则包括链通道内各网络设备组身份数据;Set up an alliance chain channel between each network device group of each information sharing alliance, and configure a chain channel identifier and a chain channel identification rule for each alliance chain channel, the chain channel identification rule includes the identity of each network device group in the chain channel data;
    在接收到目标节点设备发送的联盟链通道加入请求时,解析出所述加入请求中携带的目标链通道标识和所述目标节点设备的身份数据,并判断所有联盟链通道的链通道标识中是否存在所述目标链通道标识;When receiving the alliance chain channel join request sent by the target node device, it parses out the target chain channel identifier and the identity data of the target node device carried in the join request, and judges whether all the alliance channel channels are in the chain channel identifier The target chain channel identifier exists;
    若联盟链通道的链通道标识中存在所述目标链通道标识,则判断所述链通道内各网络设备组身份数据中是否存在所述目标节点设备的身份数据;If the target chain channel identifier exists in the chain channel identifier of the alliance chain channel, determine whether the identity data of the target node device exists in the identity data of each network device group in the chain channel;
    若所述链通道内各网络设备组身份数据中存在所述目标节点设备的身份数据,则将所述目标节点设备加入所述目标链通道标识对应的目标联盟链通道;If the identity data of the target node device exists in the identity data of each network device group in the chain channel, add the target node device to the target alliance chain channel corresponding to the target chain channel identifier;
    在接收到所述目标节点设备发送的待发布信息时,控制所述待发布信息在所述目标联盟链通道进行发布。When receiving the information to be released sent by the target node device, the information to be released is controlled to be published on the target alliance chain channel.
  7. 如权利要求6所述的终端设备,其特征在于,所述将多个网络设备组按照预设的规则划分为多个信息共享联盟,包括:The terminal device according to claim 6, wherein the dividing of multiple network device groups into multiple information sharing alliances according to a preset rule includes:
    获取预设时间段内每个网络设备组发送的所有发布信息,根据每条发布信息中关键词出现的次数,确定每条发布信息的类型;Obtain all the posting information sent by each network device group within a preset time period, and determine the type of each posting information according to the number of occurrences of keywords in each posting information;
    统计每个网络设备组发送的所有发布信息中每种类型的发布信息的数量;Count the number of each type of published information in all published information sent by each network device group;
    若目标网络设备组中目标类型的发布信息的数量占发布信息总数量的比例超过预设的比值,则将所述目标网络设备组划分为所述目标类型对应的信息共享联盟中,其中所述目标网络设备组为多个网络设备组中的任一个,所述目标类型为所述目标网络设备组发布的信息的类型中的任一个。If the ratio of the number of published information of the target type in the target network device group to the total number of published information exceeds a preset ratio, the target network device group is divided into information sharing alliances corresponding to the target type, wherein the The target network device group is any one of a plurality of network device groups, and the target type is any one of types of information issued by the target network device group.
  8. 如权利要求6所述的终端设备,其特征在于,所述链通道识别规则还包括与链通道内各网络设备组身份数据对应的读写权限;The terminal device according to claim 6, wherein the chain channel identification rule further includes read and write permissions corresponding to the identity data of each network device group in the chain channel;
    所述在接收到所述目标节点设备发送的待发布信息时,控制所述待发布信息在所述目标联盟链通道进行发布,包括:When receiving the information to be published sent by the target node device, controlling the information to be published to be published on the target alliance chain channel includes:
    在接收到所述目标节点设备发送的待发布信息时,根据所述目标节点设备的身份数据查询所述目标链通道内各网络设备组身份数据对应的读写权限,获取所述目标节点设备的读写权限;When receiving the information to be released sent by the target node device, query the read and write permissions corresponding to the identity data of each network device group in the target chain channel according to the identity data of the target node device to obtain the target node device’s Read and write permissions;
    若所述目标节点设备的读写权限包括写入权限,则将所述待发布信息发送至所述目标联盟链通道对应的各网络设备组中的记录节点设备进行记录。If the read-write permission of the target node device includes the write permission, the information to be released is sent to the recording node device in each network device group corresponding to the target alliance chain channel for recording.
  9. 如权利要求6所述的终端设备,其特征在于,所述联盟链通道加入请求还包括所述目标节点设备所属网络设备组的数字签名;The terminal device according to claim 6, wherein the alliance chain channel join request further includes a digital signature of the network device group to which the target node device belongs;
    在接收到目标节点设备发送的联盟链通道加入请求之后,还包括:After receiving the alliance chain channel join request sent by the target node device, it also includes:
    根据目标节点设备的身份数据,确定所述目标节点设备所属网络设备组的数字证书;Determine the digital certificate of the network device group to which the target node device belongs based on the identity data of the target node device;
    根据所述数字证书对所述数字签名进行验证,若验证通过则继续执行判断所有联盟链通道的链通道标识中是否存在所述目标链通道标识的步骤。Verify the digital signature according to the digital certificate, and if the verification is successful, continue to perform the step of determining whether the target chain channel identifier exists in the chain channel identifiers of all alliance chain channels.
  10. 如权利要求8所述的终端设备,其特征在于,所述获取所述目标节点设备的读写权限之后,还包括:The terminal device according to claim 8, wherein after acquiring the read-write permission of the target node device, the method further comprises:
    若所述目标节点设备的读写权限不包括写入权限,则发送所述待发布信息不允许在的目标联盟链通发布的提示信息到所述目标节点设备。If the read-write permission of the target node device does not include the write permission, then send a prompt message to the target node device that the information to be released is not allowed to be released by the target alliance link.
  11. 一种联盟链信息发布控制装置,其特征在于,包括:An alliance chain information release control device, characterized in that it includes:
    信息共享联盟划分单元,用于将多个网络设备组按照预设的规则划分为多个信息共享联盟,其中每个信息共享联盟包含多个网络设备组,每个网络设备组包含多个节点设备;Information sharing alliance division unit, used to divide multiple network device groups into multiple information sharing alliances according to preset rules, where each information sharing alliance contains multiple network device groups, and each network device group contains multiple node devices ;
    联盟链通道设置单元,用于在每个信息共享联盟的各网络设备组之间设置联盟链通道,并为每个联盟链通道配置链通道标识和链通道识别规则,所述链通道识别规则包括链通道内各网络设备组身份数据;The alliance chain channel setting unit is used to set an alliance chain channel between each network device group of each information sharing alliance, and configure a chain channel identifier and a chain channel identification rule for each alliance chain channel, the chain channel identification rule includes Identity data of each network device group in the chain channel;
    链通道标识判断单元,用于在接收到目标节点设备发送的联盟链通道加入请求时,解析出所述加入请求中携带的目标链通道标识和所述目标节点设备的身份数据,并判断所有联盟链通道的链通道标识中是否存在所述目标链通道标识;The chain channel identification judgment unit is used to parse out the target chain channel identifier and the identity data of the target node device carried in the join request when receiving the alliance chain channel join request sent by the target node device, and judge all alliances Whether the target chain channel identifier exists in the chain channel identifier of the chain channel;
    身份数据判断单元,用于若联盟链通道的链通道标识中存在所述目标链通道标识,则判断所述链通道内各网络设备组身份数据中是否存在所述目标节点设备的身份数据;The identity data judging unit is used to judge whether the identity data of the target node device exists in the identity data of each network device group in the chain channel if the target chain channel identifier exists in the chain channel identifier of the alliance chain channel;
    联盟链通道加入单元,用于若所述链通道内各网络设备组身份数据中存在所述目标节点设备的身份数据,则将所述目标节点设备加入所述目标链通道标识对应的目标联盟链通道;The alliance chain channel joining unit is used to add the target node device to the target alliance chain corresponding to the target chain channel identifier if the identity data of the target node device exists in the identity data of each network device group in the chain channel aisle;
    信息发布控制单元,用于在接收到所述目标节点设备发送的待发布信息时,控制所述待发布信息在所述目标联盟链通道进行发布。The information release control unit is configured to, when receiving the information to be released sent by the target node device, control the information to be released to be distributed on the target alliance chain channel.
  12. 如权利要求11所述的联盟链信息发布控制装置,其特征在于,所述信息共享联盟划分单元用于:The alliance chain information distribution control device according to claim 11, wherein the information sharing alliance division unit is used to:
    获取预设时间段内每个网络设备组发送的所有发布信息,根据每条发布信息中关键词出现的次数,确定每条发布信息的类型;Obtain all the posting information sent by each network device group within a preset time period, and determine the type of each posting information according to the number of occurrences of keywords in each posting information;
    统计每个网络设备组发送的所有发布信息中每种类型的发布信息的数量;Count the number of each type of published information in all published information sent by each network device group;
    若目标网络设备组中目标类型的发布信息的数量占发布信息总数量的比例超过预设的比值,则将所述目标网络设备组划分为所述目标类型对应的信息共享联盟中,其中所述目标网络设备组为多个网络设备组中的任一个,所述目标类型为所述目标网络设备组发布的信息的类型中的任一个。If the ratio of the number of published information of the target type in the target network device group to the total number of published information exceeds a preset ratio, the target network device group is divided into information sharing alliances corresponding to the target type, wherein the The target network device group is any one of a plurality of network device groups, and the target type is any one of types of information issued by the target network device group.
  13. 如权利要求11所述的联盟链信息发布控制装置,其特征在于,所述链通道识别规则还包括与链通道内各网络设备组身份数据对应的读写权限;The alliance chain information release control device according to claim 11, wherein the chain channel identification rule further includes read and write permissions corresponding to the identity data of each network device group in the chain channel;
    所述信息发布控制单元用于:The information release control unit is used to:
    在接收到所述目标节点设备发送的待发布信息时,根据所述目标节点设备的身份数据查询所述目标链通道内各网络设备组身份数据对应的读写权限,获取所述目标节点设备的读写权限;When receiving the information to be released sent by the target node device, query the read and write permissions corresponding to the identity data of each network device group in the target chain channel according to the identity data of the target node device to obtain the target node device’s Read and write permissions;
    若所述目标节点设备的读写权限包括写入权限,则将所述待发布信息发送至所述目标联盟链通道对应的各网络设备组中的记录节点设备进行记录。If the read-write permission of the target node device includes the write permission, the information to be released is sent to the recording node device in each network device group corresponding to the target alliance chain channel for recording.
  14. 如权利要求11所述的联盟链信息发布控制装置,其特征在于,所述联盟链通道加入请求还包括所述目标节点设备所属网络设备组的数字签名;The alliance chain information release control apparatus according to claim 11, wherein the alliance chain channel join request further includes a digital signature of a network device group to which the target node device belongs;
    所述联盟链信息发布控制装置还包括数字签名验证单元;The alliance chain information release control device also includes a digital signature verification unit;
    所述数字签名验证单元用于:根据目标节点设备的身份数据,确定所述目标节点设备所属网络设备组的数字证书;根据所述数字证书对所述数字签名进行验证,若验证通过则继续执行判断所有联盟链通道的链通道标识中是否存在所述目标链通道标识的步骤。The digital signature verification unit is used to: determine the digital certificate of the network device group to which the target node device belongs according to the identity data of the target node device; verify the digital signature according to the digital certificate, and continue to execute if the verification is passed The step of determining whether the target chain channel identifier exists in the chain channel identifiers of all alliance chain channels.
  15. 如权利要求13所述的联盟链信息发布控制装置,其特征在于,所述信息发布控制单元用于还用于:The alliance chain information distribution control device according to claim 13, wherein the information distribution control unit is further used to:
    若所述目标节点设备的读写权限不包括写入权限,则发送所述待发布信息不允许在的目标联盟链通发布的提示信息到所述目标节点设备。If the read-write permission of the target node device does not include the write permission, then send a prompt message to the target node device that the information to be released is not allowed to be released by the target alliance link.
  16. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机可读指令,其特征在于,所述计算机可读指令被处理器执行时实现如下步骤:A computer-readable storage medium, the computer-readable storage medium storing computer-readable instructions, characterized in that, when the computer-readable instructions are executed by a processor, the following steps are implemented:
    将多个网络设备组按照预设的规则划分为多个信息共享联盟,其中每个信息共享联盟包含多个网络设备组,每个网络设备组包含多个节点设备;Divide multiple network device groups into multiple information sharing alliances according to preset rules, where each information sharing alliance contains multiple network device groups, and each network device group contains multiple node devices;
    在每个信息共享联盟的各网络设备组之间设置联盟链通道,并为每个联盟链通道配置链通道标识和链通道识别规则,所述链通道识别规则包括链通道内各网络设备组身份数据;Set up an alliance chain channel between each network device group of each information sharing alliance, and configure a chain channel identifier and a chain channel identification rule for each alliance chain channel, the chain channel identification rule includes the identity of each network device group in the chain channel data;
    在接收到目标节点设备发送的联盟链通道加入请求时,解析出所述加入请求中携带的目标链通道标识和所述目标节点设备的身份数据,并判断所有联盟链通道的链通道标识中是否存在所述目标链通道标识;When receiving the alliance chain channel join request sent by the target node device, it parses out the target chain channel identifier and the identity data of the target node device carried in the join request, and judges whether all the alliance channel channels are in the chain channel identifier The target chain channel identifier exists;
    若联盟链通道的链通道标识中存在所述目标链通道标识,则判断所述链通道内各网络设备组身份数据中是否存在所述目标节点设备的身份数据;If the target chain channel identifier exists in the chain channel identifier of the alliance chain channel, determine whether the identity data of the target node device exists in the identity data of each network device group in the chain channel;
    若所述链通道内各网络设备组身份数据中存在所述目标节点设备的身份数据,则将所述目标节点设备加入所述目标链通道标识对应的目标联盟链通道;If the identity data of the target node device exists in the identity data of each network device group in the chain channel, add the target node device to the target alliance chain channel corresponding to the target chain channel identifier;
    在接收到所述目标节点设备发送的待发布信息时,控制所述待发布信息在所述目标联盟链通道进行发布。When receiving the information to be released sent by the target node device, the information to be released is controlled to be published on the target alliance chain channel.
  17. 如权利要求16所述的计算机可读存储介质,其特征在于,所述将多个网络设备组按照预设的规则划分为多个信息共享联盟,包括:The computer-readable storage medium according to claim 16, wherein the dividing of multiple network device groups into multiple information sharing alliances according to a preset rule includes:
    获取预设时间段内每个网络设备组发送的所有发布信息,根据每条发布信息中关键词出现的次数,确定每条发布信息的类型;Obtain all the posting information sent by each network device group within a preset time period, and determine the type of each posting information according to the number of occurrences of keywords in each posting information;
    统计每个网络设备组发送的所有发布信息中每种类型的发布信息的数量;Count the number of each type of published information in all published information sent by each network device group;
    若目标网络设备组中目标类型的发布信息的数量占发布信息总数量的比例超过预设的比值,则将所述目标网络设备组划分为所述目标类型对应的信息共享联盟中,其中所述目标网络设备组为多个网络设备组中的任一个,所述目标类型为所述目标网络设备组发布的信息的类型中的任一个。If the ratio of the number of published information of the target type in the target network device group to the total number of published information exceeds a preset ratio, the target network device group is divided into information sharing alliances corresponding to the target type, wherein the The target network device group is any one of a plurality of network device groups, and the target type is any one of types of information issued by the target network device group.
  18. 如权利要求16所述的计算机可读存储介质,其特征在于,所述链通道识别规则还包括与链通道内各网络设备组身份数据对应的读写权限;The computer-readable storage medium of claim 16, wherein the chain channel identification rule further includes read and write permissions corresponding to the identity data of each network device group in the chain channel;
    所述在接收到所述目标节点设备发送的待发布信息时,控制所述待发布信息在所述目标联盟链通道进行发布,包括:When receiving the information to be published sent by the target node device, controlling the information to be published to be published on the target alliance chain channel includes:
    在接收到所述目标节点设备发送的待发布信息时,根据所述目标节点设备的身份数据查询所述目标链通道内各网络设备组身份数据对应的读写权限,获取所述目标节点设备的读写权限;When receiving the information to be released sent by the target node device, query the read and write permissions corresponding to the identity data of each network device group in the target chain channel according to the identity data of the target node device to obtain the target node device’s Read and write permissions;
    若所述目标节点设备的读写权限包括写入权限,则将所述待发布信息发送至所述目标联盟链通道对应的各网络设备组中的记录节点设备进行记录。If the read-write permission of the target node device includes the write permission, the information to be released is sent to the recording node device in each network device group corresponding to the target alliance chain channel for recording.
  19. 如权利要求16所述的计算机可读存储介质,其特征在于,所述联盟链通道加入请求还包括所述目标节点设备所属网络设备组的数字签名;The computer-readable storage medium of claim 16, wherein the alliance chain channel join request further includes a digital signature of a network device group to which the target node device belongs;
    在接收到目标节点设备发送的联盟链通道加入请求之后,还包括:After receiving the alliance chain channel join request sent by the target node device, it also includes:
    根据目标节点设备的身份数据,确定所述目标节点设备所属网络设备组的数字证书;Determine the digital certificate of the network device group to which the target node device belongs based on the identity data of the target node device;
    根据所述数字证书对所述数字签名进行验证,若验证通过则继续执行判断所有联盟链通道的链通道标识中是否存在所述目标链通道标识的步骤。Verify the digital signature according to the digital certificate, and if the verification is successful, continue to perform the step of determining whether the target chain channel identifier exists in the chain channel identifiers of all alliance chain channels.
  20. 如权利要求18所述的计算机可读存储介质,其特征在于,所述获取所述目标节点设备的读写权限之后,还包括:The computer-readable storage medium of claim 18, wherein after acquiring read and write permissions of the target node device, further comprising:
    若所述目标节点设备的读写权限不包括写入权限,则发送所述待发布信息不允许在的目标联盟链通发布的提示信息到所述目标节点设备。If the read-write permission of the target node device does not include the write permission, then send a prompt message to the target node device that the information to be released is not allowed to be released by the target alliance link.
PCT/CN2019/122880 2018-12-14 2019-12-04 Alliance chain information release control method and terminal device WO2020119536A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811529458.0 2018-12-14
CN201811529458.0A CN109784882A (en) 2018-12-14 2018-12-14 Alliance's chain information distribution control method and terminal device

Publications (1)

Publication Number Publication Date
WO2020119536A1 true WO2020119536A1 (en) 2020-06-18

Family

ID=66496201

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/122880 WO2020119536A1 (en) 2018-12-14 2019-12-04 Alliance chain information release control method and terminal device

Country Status (2)

Country Link
CN (1) CN109784882A (en)
WO (1) WO2020119536A1 (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109784882A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 Alliance's chain information distribution control method and terminal device
CN110245843B (en) * 2019-05-24 2023-08-18 深圳市元征科技股份有限公司 Information management method and related device based on blockchain
CN110489488B (en) * 2019-08-21 2021-06-15 腾讯科技(深圳)有限公司 Data processing method and device
CN110599181B (en) * 2019-09-26 2021-05-11 腾讯科技(深圳)有限公司 Data processing method, device and equipment based on block chain and storage medium
CN110727939B (en) * 2019-12-17 2020-04-28 成都四方伟业软件股份有限公司 Block chain-based data use right authentication method and system
CN111327623A (en) * 2020-02-28 2020-06-23 上海哈世科技有限公司 Alliance link information transmission method, device, equipment and storage medium
CN112102081B (en) * 2020-08-19 2024-04-09 天星数科科技有限公司 Method, device, readable storage medium and blockchain network for generating blockchain
CN111949423A (en) * 2020-09-01 2020-11-17 宁波视睿迪光电有限公司 Data sharing method and device, electronic equipment and storage medium
CN112910858B (en) * 2021-01-18 2022-08-02 中国工商银行股份有限公司 Method and node for determining alliance chain transaction statistical information and transaction processing
CN113159955B (en) * 2021-05-13 2024-04-09 银清科技有限公司 Alliance chain block chain management system and management method
CN115426256B (en) * 2021-05-31 2024-07-02 中移雄安信息通信科技有限公司 Alliance chain configuration method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018125A (en) * 2017-02-17 2017-08-04 阿里巴巴集团控股有限公司 A kind of block catenary system, date storage method and device
US20180349621A1 (en) * 2017-06-01 2018-12-06 Schvey, Inc. d/b/a/ Axoni Distributed privately subspaced blockchain data structures with secure access restriction management
CN109784882A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 Alliance's chain information distribution control method and terminal device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10140504B2 (en) * 2015-10-14 2018-11-27 David Alan Finkelstein System and method utilizing facial recognition with online (social) network to access casualty health information in an emergency situation
CN105719172A (en) * 2016-01-19 2016-06-29 布比(北京)网络技术有限公司 Information issuing method and device
CN107911421B (en) * 2017-10-30 2020-05-15 上海点融信息科技有限责任公司 Method, apparatus, and computer storage medium for configuring cross-network communications in a blockchain
CN108389045A (en) * 2018-02-01 2018-08-10 北京泰尔英福网络科技有限责任公司 Network identity root zone data managing method based on block chain technology and system
CN112600841B (en) * 2018-04-19 2023-09-19 创新先进技术有限公司 Credit record sharing method and device based on block chain and electronic equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107018125A (en) * 2017-02-17 2017-08-04 阿里巴巴集团控股有限公司 A kind of block catenary system, date storage method and device
US20180349621A1 (en) * 2017-06-01 2018-12-06 Schvey, Inc. d/b/a/ Axoni Distributed privately subspaced blockchain data structures with secure access restriction management
CN109784882A (en) * 2018-12-14 2019-05-21 深圳壹账通智能科技有限公司 Alliance's chain information distribution control method and terminal device

Also Published As

Publication number Publication date
CN109784882A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
WO2020119536A1 (en) Alliance chain information release control method and terminal device
WO2020119476A1 (en) Alliance chain information release control method and terminal equipment
CN108460687B (en) Execution of hardware blockchain consensus operational procedure
CN108460686B (en) Execution of hardware blockchain correction consensus operation procedure
WO2020119506A1 (en) Identity authentication method based on alliance chain, and terminal device
US10956614B2 (en) Expendable access control
US7987496B2 (en) Automatic application of information protection policies
CN110543545B (en) File management method, device and storage medium based on block chain
CN110855777B (en) Node management method and device based on block chain
WO2021042849A1 (en) Cloud platform, service processing method, command interface and computer device
CN112154434A (en) Automatic data projection of intelligent contract groups on blockchains
GB2540976A (en) Access control
CN110517145B (en) Data transaction method based on multi-block chain and related equipment
CN112036876B (en) Endorsement based on metadata
CN107465687B (en) Method, device and terminal for realizing permission configuration
CN111182527B (en) OTA (over the air) firmware upgrading method and device, terminal equipment and storage medium thereof
CN111698198B (en) Secret generation and share distribution
US20220294637A1 (en) System and Method of Establishing a Trusted Relationship in a Distributed System
WO2023040453A1 (en) Transaction information processing method and apparatus
US20240265126A1 (en) Enforcing location-based data privacy rules across networked workloads
WO2020177601A1 (en) Group-based blockchain system, and group management method and device
EP4357950A1 (en) Device management method, system and apparatus
WO2021184642A1 (en) Blockchain-based transaction method and apparatus, electronic device, and readable storage medium
US8595848B2 (en) Method for moving rights object and method for managing rights of issuing rights object and system thereof
US20220229938A1 (en) Method and System for Integrity Protected Distributed Ledger for Component Certificate Attestation

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19895861

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 29/09/2021)

122 Ep: pct application non-entry in european phase

Ref document number: 19895861

Country of ref document: EP

Kind code of ref document: A1