A method and device for predicting violations based on blockchain

Through the blockchain-based violation prediction method, the violation prediction model is updated to detect multi-user and gang behaviors, which solves the accuracy and cost problems of violation detection in the existing technology and achieves efficient violation identification.

CN112269794BActive Publication Date: 2024-09-17LIANSHANG XINCHANG NETWORK TECH CO LTD
View PDF 10 Cites 0 Cited by

Patent Information

Application Number
CN202010976560.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-16
Publication Date
2024-09-17
Estimated Expiration
2040-09-16

AI Technical Summary

Technical Problem

Existing social network violation detection is difficult to effectively detect violations by multiple users or groups, and the detection accuracy of small companies is low when the number of users is small, and the existing technology cannot effectively cope with the diversity of ways to send illegal content .

Method used

Adopting a blockchain-based violation prediction method, by sending a model acquisition request to the blockchain, receiving and updating the violation prediction model, using incremental data information to update the model, and then predicting the violation probability of the target behavior, realizing the prediction of multiple users and gangs Detection of behavior.

Benefits of technology

It improves the accuracy and efficiency of violation detection, reduces model training costs, is suitable for companies of different sizes, and can cope with the diversity of ways to send illegal content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112269794B
    Figure CN112269794B
Patent Text Reader

Abstract

The purpose of this application is to provide a method and device for predicting violations based on blockchain, including: sending a model acquisition request to the blockchain, and receiving a first violation prediction model and first data information corresponding to the first violation prediction model returned by the blockchain in response to the model acquisition request; determining second calibration information corresponding to incremental data information according to the first calibration information; updating the first violation prediction model according to the incremental data information and the second calibration information; inputting the target behavior provided by the node into the updated first violation prediction model to obtain the violation probability information of the target behavior. This application can improve the accuracy of predicting violations through models, while reducing the cost of training models.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communications, and in particular to a technology for predicting violations based on blockchain. Background Art

[0002] With the rapid development of the Internet, social networks have become an important part of people's daily lives. However, prohibited behaviors in social networks are emerging in an endless stream, and their harm is becoming increasingly serious. Now, every company with social products generally detects prohibited behaviors through machine review and manual review. The existing social software criminals send prohibited content in a variety of ways, which has caused great difficulties in daily review. In addition, general review can only review the prohibited behavior of one user, but cannot detect that multiple users are actually one real user, nor can it detect the prohibited behavior of a group. Moreover, the number of users owned by each company is different. In some cases, except for large companies with a large number of users, which can obtain more accurate results under the detection of a large number of users, some small companies have a low detection accuracy rate when reviewing users. Summary of the invention

[0003] One purpose of the present application is to provide a method and device for violation prediction based on blockchain.

[0004] According to one aspect of the present application, a method for predicting violations based on blockchain is provided, the method comprising:

[0005] Send a model acquisition request to a blockchain, and receive a first violation prediction model and first data information corresponding to the first violation prediction model returned by the blockchain in response to the model acquisition request, wherein the first data information includes first calibration information, multiple behavior information, and multiple content information, and the first calibration information is used to calibrate sample information of each behavior information in the multiple behavior information and to calibrate sample information of each content information in the multiple content information;

[0006] Determining second calibration information corresponding to the incremental data information according to the first calibration information, wherein the incremental data information belongs to the node corresponding to the network device, the incremental data information includes multiple incremental behavior information and multiple incremental content information, and the second calibration information is used to calibrate sample information of each behavior information in the multiple incremental behavior information and to calibrate sample information of each content information in the multiple incremental content information;

[0007] Update the first violation prediction model according to the incremental data information and the second calibration information;

[0008] The target behavior provided by the node is input into the updated first violation prediction model and then the violation probability information of the target behavior is obtained.

[0009] According to one aspect of the present application, a network device for performing violation prediction based on blockchain is provided, the device comprising:

[0010] A module, configured to send a model acquisition request to a blockchain, and receive a first violation prediction model returned by the blockchain in response to the model acquisition request and first data information corresponding to the first violation prediction model, wherein the first data information includes first calibration information, a plurality of behavior information, and a plurality of content information, and the first calibration information is used to calibrate sample information of each behavior information in the plurality of behavior information and to calibrate sample information of each content information in the plurality of content information;

[0011] Module one and module two, used to determine second calibration information corresponding to incremental data information according to the first calibration information, wherein the incremental data information belongs to the node corresponding to the network device, the incremental data information includes multiple incremental behavior information and multiple incremental content information, and the second calibration information is used to calibrate sample information of each behavior information in the multiple incremental behavior information and to calibrate sample information of each content information in the multiple incremental content information;

[0012] A module 3, configured to update the first violation prediction model according to the incremental data information and the second calibration information;

[0013] A fourth module is used to input the target behavior provided by the node into the updated first violation prediction model and then obtain the violation probability information of the target behavior.

[0014] According to one aspect of the present application, a device for predicting violations based on blockchain is provided, the device comprising:

[0015] Processor; and

[0016] A memory arranged to store computer executable instructions which, when executed, cause the processor to perform the operations of any of the methods described above.

[0017] According to another aspect of the present application, a computer-readable medium storing instructions is provided, wherein when the instructions are executed, the system performs the operation of any of the methods described above.

[0018] Compared with the prior art, the network device in the present application can obtain a first violation prediction model for violation prediction from the blockchain, and update the first violation prediction model according to the incremental data information, and input the target behavior into the updated first violation prediction model for prediction, wherein the first violation prediction model can be a model jointly trained and maintained by multiple companies, having a huge user behavior data base, thereby having a high accuracy in predicting violation behaviors, on this basis, the network device updates the first violation prediction model through incremental data information to make the model more in line with the platform user characteristics of the platform to which the incremental data information belongs, and reduce the model training cost of the platform (e.g., company). BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0020] Figure 1 A system topology diagram according to the present application is shown;

[0021] Figure 2 A flowchart of a method for predicting violations based on blockchain according to another embodiment of the present application is shown;

[0022] Figure 3 A schematic diagram of a network device for performing violation prediction based on blockchain according to an embodiment of the present application is shown;

[0023] Figure 4 An exemplary system is shown that can be used to implement the various embodiments described in the present invention.

[0024] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION

[0025] The present application is described in further detail below in conjunction with the accompanying drawings.

[0026] In a typical configuration of the present application, the terminal, the device of the service network and the trusted party all include one or more processors (eg, a central processing unit (CPU)), an input / output interface, a network interface and a memory.

[0027] Memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash memory. Memory is an example of a computer-readable medium.

[0028] Computer readable media include permanent and non-permanent, removable and non-removable media that can be used to store information by any method or technology. Information can be computer readable instructions, data structures, modules of programs or other data. Examples of computer storage media include, but are not limited to, Phase-Change Memory (PCM), Programmable Random Access Memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0029] The devices referred to in this application include but are not limited to user devices, network devices, or devices formed by integrating user devices and network devices through a network. The user devices include but are not limited to any mobile electronic products that can interact with users (for example, interact with users through a touchpad), such as smart phones, tablet computers, etc. The mobile electronic products can use any operating system, such as Android operating system, iOS operating system, etc. Among them, the network device includes an electronic device that can automatically perform numerical calculations and information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field Programmable Gate Array, FPGA), digital signal processors (Digital Signal Processor, DSP), embedded devices, etc. The network devices include but are not limited to computers, network hosts, single network servers, multiple network server sets or multiple servers. The cloud is composed of a large number of computers or network servers based on cloud computing (Cloud Computing), wherein cloud computing is a type of distributed computing, a virtual supercomputer composed of a group of loosely coupled computer sets. The network includes but is not limited to the Internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless self-organizing network (Ad Hoc network), etc. Preferably, the device may also be a program running on the user device, the network device, or a device formed by integrating the user device and the network device, the network device, the touch terminal, or the network device and the touch terminal through a network.

[0030] Of course, those skilled in the art should understand that the above-mentioned devices are only examples, and other existing or future devices that are applicable to the present application should also be included in the scope of protection of the present application and are included here by reference.

[0031] In the description of the present application, “plurality” means two or more, unless otherwise clearly and specifically defined.

[0032] Figure 1A typical scenario of the present application is shown. Company A is a company with multiple social application products, each of which has a considerable number of users. The network equipment of Company A collects user data of all users, wherein the user data includes the social behavior of each user in the social application and the social content generated, and the social behavior and the social content generated are sorted by time. The network equipment generates feature information (e.g., content feature information, behavior feature information, and connection relationship feature information) for the social behavior and social content at each time node in a preset manner, and inputs the feature information into a time series model (e.g., LSTM (Long Short-Term Memory, long short-term memory artificial neural network) network) for training to generate a violation prediction model MA, and uploads the violation prediction model MA to the blockchain. Company B, Company C, and Company D download the violation prediction model MA from the blockchain respectively, and Company B, Company C, and Company D respectively train the violation prediction model MA with the feature information corresponding to the user data collected based on the company's products to generate the violation prediction model MA B , violation prediction model MA C , violation prediction model MA D , and then the violation prediction model MA B , violation prediction model MA C , violation prediction model MA D Upload to the blockchain. Company E and Company F download the violation prediction model MA from the blockchain respectively. B The violation prediction model MA is trained using the feature information corresponding to the user data collected by our products. B Generate violation prediction model MA BE , Violation Prediction Model A BF , and the violation prediction model MA BE , violation prediction model MA BF Upload to the blockchain; Company G, Company H, and Company I download the violation prediction model MA from the blockchain respectively D The violation prediction model MA is trained using the feature information corresponding to the user data collected by our products. D Generate violation prediction model MA DG , violation prediction model MA DH , violation prediction model MA DI, and upload it to the blockchain. By analogy, each company can obtain a violation prediction model, retrain it, and upload it to the blockchain. Each trained violation prediction model carries the logo of the corresponding company. After the target company sends a model acquisition request to the blockchain, it obtains a target violation prediction model. For example, the target violation user determination model is one of the violation prediction model templates uploaded to the blockchain. The network device corresponding to the company inputs the target user's behavior information into the target violation prediction model to predict the probability information that the behavior information is a violation behavior. If the probability information is greater than the predetermined probability threshold, the network device can mark the target user and the behavior information as high risk, and input the relevant information of the behavior information at the previous time point (for example, behavior / content) and the relevant information at the next time point (for example, behavior / content) into the model for detection, so as to more comprehensively review the behavior.

[0033] Figure 2 A method for predicting violations based on blockchain according to an embodiment of the present application is shown, and the method includes step S101, step S102, step S103, and step S104.

[0034] Specifically, in step S101, the network device sends a model acquisition request to the blockchain, and receives the first violation prediction model returned by the blockchain in response to the model acquisition request and the first data information corresponding to the first violation prediction model, wherein the first data information includes first calibration information, multiple behavior information, and multiple content information, and the first calibration information is used to calibrate the sample information of each behavior information in the multiple behavior information and the sample information of each content information in the multiple content information. The blockchain is a decentralized distributed database, which does not rely on any centralized server, but is composed of thousands of "small servers" and "nodes", wherein a node generally refers to a computer that has downloaded the node software of the relevant cryptocurrency to participate in a peer-to-peer network, such as a computer in a blockchain network including a mobile phone, a mining machine, and a server, etc. A person operating a node can be an ordinary wallet user, a miner, and multiple people collaborate, store, and verify, and everyone can be a node of the blockchain. For example, a terminal device responsible for maintaining network operation can be called a node, and each node can copy and obtain a complete or partial copy of the record. For example, the network device is any node in the blockchain, and the node belongs to a company (for example, the company can upload and download data in the blockchain through the node), and the network device sends a model acquisition request to the blockchain, wherein the model acquisition request includes a model identifier, wherein the model identifier is used to determine the source of the model that the network device wants to obtain (for example, the data information of which company the model was last trained by). The blockchain returns the corresponding first violation prediction model to the network device based on the model acquisition request. In some embodiments, the blockchain also returns the first data information for training the first violation prediction model to the network device, so that other nodes in the subsequent blockchain can organize data according to the rules of the first data information when training the first violation prediction model, and provide a basis for the subsequent update of the first violation prediction model based on the data provided by other nodes, wherein the first violation prediction model can be the initial model training result (for example, a company inputs user data into a semantic network such as LSTM or BERT (BidirectionalEncoder Representation from Transformers, pre-trained model) and then trains it), or it can be a model training result generated after iterative update (for example, based on the initial model training, user data of other companies have been updated). For example, the rule of the first data information includes calibrating sample information (e.g., whether the data information is a positive sample or a negative sample) of each data information (e.g., behavior or content) based on the first calibration information in the first data information. Here, the multiple behavior information and multiple content information in the first data information are described and expressed by their corresponding feature information.

[0035] In step S102, the network device determines the second calibration information corresponding to the incremental data information based on the first calibration information, wherein the incremental data information belongs to the node corresponding to the network device, the incremental data information includes multiple incremental behavior information and multiple incremental content information, and the second calibration information is used to calibrate the sample information of each behavior information in the multiple incremental behavior information and the sample information of each content information in the multiple incremental content information. Among them, the node corresponding to the network device includes but is not limited to: the provider of the incremental data information, such as a company that provides the incremental data information or an application of the company, and the node is used to characterize the company or the application. For example, the incremental data information includes user log data of a user in the company or a social application of the company, wherein the user data includes social behavior and social content generated by social behavior. In some embodiments, the provider of the incremental data information is different from the provider of the first data information. For example, the provider of the first data information includes at least one other data provider in addition to the provider of the incremental data information, so that the provider of the incremental data information can train a violation prediction model based on the data of more other providers. The violation prediction model is not only more widely applicable, but can also predict violations that cannot be identified by relying solely on the provider of the incremental data information, and can also improve the accuracy and success rate of violation prediction.

[0036] In some embodiments, the method further includes step S105 (not shown) before step S102, in which the network device determines the incremental data information. For example, only when the incremental data information of the company to which the network device belongs is obtained, the updating and maintenance of the first violation prediction model has a data basis. In some embodiments, determining the incremental data information includes: determining the incremental data information according to multiple social behaviors of multiple users in the social application corresponding to the node and multiple social contents generated by the multiple social behaviors. The social application corresponding to the node includes one or more social applications under the company corresponding to the node. For example, the company to which the network device belongs has multiple applications (for example, multiple types such as social, games, etc.). Taking social applications as an example, the multiple social applications have a large user group (for example, each user in the user group has installed at least one application in the multiple social applications). After being installed on the user device of each user in the user group, the multiple social applications can identify the address book in the social application in each user device, obtain the content sent by the user in the social application, record all the user's behaviors in the social application, and then send the aforementioned data to the network device. The network device uses the user's behavior in the social application and the content generated by the behavior as incremental data information, wherein the social behavior includes but is not limited to adding friends, creating groups, pulling people into groups, reading friends circles, and refreshing friends circles; the social content includes social content generated by behaviors such as modifying personal information, sending messages in private chats and group chats, and sending friends circles. The social behavior and the social content both correspond to the user who triggered the social behavior. On the premise of obtaining the behaviors and contents generated by one or more users, a basis is provided for the subsequent provision of training data for the first violation prediction model. In some embodiments, the determining of the incremental data information according to the multiple social behaviors of multiple users in the social application corresponding to the node and the multiple social contents generated by the multiple social behaviors includes: sorting the multiple social behaviors of multiple users in the social application corresponding to the node and the multiple social contents generated by the multiple social behaviors according to the occurrence time; determining the incremental data information according to the sorted multiple social behaviors and the multiple social contents. For example, the network device sorts the social behaviors of the one or more users in the social application and the contents generated by the social behaviors according to the occurrence time, and combines them into a mixed context (distinguishing the upper and lower by time nodes, for example, the upper context before a certain time node and the lower context after a certain time node), and the first violation prediction model updated by the incremental data information generated by the time sorting method is convenient for subsequent monitoring and detection according to the context (for example, the context determined by time order), so that all users involved in illegal social behaviors and social contents are detected.Improves detection efficiency (for example, not only detects the violation of one user, but also verifies the violation of other users related to the user).

[0037] In some embodiments, the determining of the second calibration information corresponding to the incremental data information based on the first calibration information includes: determining the rule information used to determine the value of the first calibration information in each sample information; determining the second calibration information corresponding to the incremental data information based on the rule information, wherein the incremental data information belongs to the node corresponding to the network device, the incremental data information includes multiple incremental behavior information and multiple incremental content information, and the second calibration information is used to calibrate the sample information of each behavior information in the multiple incremental behavior information and to calibrate the sample information of each content information in the multiple incremental content information. For example, the first calibration information is used to assign values ​​to each sample information, for example, the value 1 represents the whole sample, and the value 0 represents the negative sample. For example, after determining the second calibration information of the incremental data information, it is beneficial to subsequently classify the samples of the incremental data information to be consistent with the sample training rules of the first violation prediction model. In some embodiments, the rule information includes at least any one of the following:

[0038] 1) if at least one of the plurality of behavior information is manually marked as a violation or at least one of the plurality of content information is manually marked as a violation, mark the at least one behavior information or the at least one content information as positive sample information;

[0039] 2) If at least one of the multiple behavior information is manually marked as non-violation or at least one of the multiple content information is manually marked as non-violation, the at least one behavior information or the at least one content information is marked as negative sample information; for example, the network device classifies each data information (for example, social behavior or social content) in the incremental data information as positive and negative samples in advance, thereby providing a basis for subsequently inputting the positive and negative samples into the first violation prediction model for model update. On this basis, the classification of positive and negative samples is consistent with the positive and negative sample categories used to train the first violation prediction model, so that the subsequent update of the first violation prediction model is consistent with the rules of the previous training of the first violation prediction model, thereby improving the accuracy of the prediction of the first violation prediction model after subsequent update. For example, in the process of training and generating the first violation prediction model, a human or computer can perform a preliminary review of each of the multiple behavior information or multiple content information in the first data information and each piece of content information to determine whether each behavior information and each piece of content information is a violation. If there is a violation of the behavior information and content information, the auditor can manually mark the violation of the behavior information and content information, and mark other behavior information and content information as non-violation. The network device obtains the marking information of each behavior information and each content information, and marks the behavior information and content information with violation marks as positive sample information, and marks the behavior information and content information without violation marks as negative sample information, wherein the network device is a network device for training and generating the first violation prediction model. Under the premise of determining the rule information, the network device marks multiple incremental behavior information and multiple incremental content information in the incremental data information according to the rule information, for example, the incremental behavior information and incremental content information with violation marks are marked as positive samples, and vice versa, the incremental behavior information and incremental content information without violation marks are marked as negative samples. Thus, a basis is provided for the subsequent use of the incremental data information for training the first violation prediction model. In some embodiments, the number of samples marked as positive sample information by the second marking information in the multiple incremental behavior information and the multiple incremental content information is less than the number of samples marked as negative sample information by the second marking information. In some embodiments, the number of negative samples is much larger than the number of positive samples, so as to simulate the mathematical distribution of normal social behavior and content in reality, which accounts for a large proportion. Thus, the generated model has a high predictability.

[0040] In step S103, the network device updates the first violation prediction model according to the incremental data information and the second calibration information. For example, the network device calibrates the sample information corresponding to each data in the incremental data information with the second calibration information, and inputs the calibrated incremental data information into the first violation prediction model to update the first violation prediction model, so that the training data of the first violation prediction model is richer, the prediction result is more accurate, and the updated first violation prediction model is more in line with the usage characteristics of the company to which the network device belongs (for example, the updated first violation prediction model is trained based on the user data of the company, and can more accurately predict the behavior of the company's users, etc.). In some embodiments, feature information corresponding to each social behavior and feature information corresponding to each social content are generated respectively according to the multiple social behaviors and the multiple social contents; the determining the incremental data information according to the sorted multiple social behaviors and the multiple social contents includes: determining the incremental data information according to the sorting information of the multiple social behaviors and the multiple social contents, wherein the multiple incremental behavior information includes feature information corresponding to each social behavior in the multiple social behaviors, and the multiple incremental content information includes feature information corresponding to each social content in the multiple social contents. The feature information is used to represent the corresponding social content and social behavior with feature vectors. For example, under the premise that the social behaviors of the one or more users in the social application and the content generated by the social behaviors are sorted according to the occurrence time, the network device generates corresponding feature information for each social behavior and the content generated by each social behavior, thereby generating one or more feature information sorted according to time, wherein the one or more feature information corresponds to the corresponding social behavior or social content, and on the basis of generating the feature information, a basis is provided for subsequently sending the feature information to the first violation prediction model for training. In some embodiments, the generating, according to the plurality of social behaviors and the plurality of social contents, feature information corresponding to each social behavior and feature information corresponding to each social content respectively includes at least one of the following:

[0041] 1) Encoding the social behavior in a preset manner to generate one or more behavior feature information, wherein the feature information corresponding to the social behavior includes at least one of the behavior feature information; for example, the preset manner includes a multihot encoding manner, which can encode each social behavior into a vector in a multihot manner, such as [0,1,0,0].

[0042] 2) Determine the type information of the social content, and generate one or more content feature information corresponding to the social content in a manner corresponding to the type information, wherein the feature information corresponding to the social content includes at least one of the content feature information; for example, in social content generated by modifying personal information, sending messages in private chats, group chats, and friends circles, each social content corresponds to different category information, wherein the category information includes image content, text content, and voice content. For image content, the network device uses resNet to extract features from the image content, and the feature can be represented by a vector, which is used to characterize the image content; for text content, the network device uses the BERT network to generate sentence vectors for the text content; for voice content, the network device transcodes the voice content and then converts it to text for text encoding to generate a vector.

[0043] 3) Generate one or more connection relationship feature information based on one or more social objects corresponding to the social behavior, wherein the feature information corresponding to the social behavior includes at least one of the connection relationship feature information; for example, there are some social behaviors that can interact with other users, such as adding friends, pulling people into a group, replying to a circle of friends, etc. The network device can generate one or more connection relationship feature information based on one or more social objects corresponding to the interaction (for example, one or more users performing the interaction), for example, A adds friend B, and B joins the group through the QR code shared by A; then, B pulls user C into the group, and C posts illegal content in the group. Based on the interaction between A, B, and C, the network device generates a directed graph connection triple feature information (for example, used to associate A, B, and C, so as to characterize the relationship between the three behaviors). On the basis of characterizing and vectorizing the relationship between each social behavior, social content, and social object, a basis is provided for subsequently sending the feature information in the form of a vector into the first violation prediction model for model update.

[0044] In some embodiments, the updating of the first violation prediction model according to the one or more feature information sorted by occurrence time and the second calibration information includes: updating the first violation prediction model according to the one or more feature information sorted by occurrence time and the positive and negative sample information of each feature information in the one or more feature information calibrated by the second calibration information. For example, under the premise of sorting one or more feature information by occurrence time, positive and negative sample information is determined for each feature information, thereby providing a basis for the subsequent updating of the first violation prediction model based on the positive and negative samples.

[0045] In step S104, the network device inputs the target behavior provided by the node into the updated first violation prediction model and obtains the violation probability information of the target behavior. For example, the network device obtains a target behavior and uses the updated first violation prediction model to predict the violation probability information that the target behavior will cause a violation in the future. In some embodiments, each behavior corresponds to the user who triggered the behavior, and the network device can lock the user according to whether the behavior violates the law in the future, so as to prevent the user from continuing to violate the law in the future, thereby ensuring the social experience and social security of other users in the social application.

[0046] For example, the node corresponding to Company A (for example, the node is a network device of Company A) obtains the first violation prediction model from the blockchain, and Company A obtains data information of multiple users in social applications, wherein the data information includes social behavior information and social content of the multiple users in social applications, and vectorizes the data information and sends it to the first violation prediction model for model training to obtain an updated first violation prediction model. The network device inputs the target behavior (for example, B pulls user C into the group) into the updated model. If the violation probability information after the model output is greater than a predetermined threshold, in some embodiments, the predetermined threshold can be set lower in the initial stage, so as to determine violations in a wider range. The network device determines that the target behavior is predicted to be a violation behavior or a target behavior that may cause other violation behaviors. The network device inputs the two behaviors corresponding to the previous time point and the next time point of the target behavior (for example, B scans the QR code provided by A to join the group and C posts obvious prohibited content in the group) into the updated model for violation prediction. The obtained violation probability information is greater than a predetermined threshold, and the behaviors of the three users are associated. The network device can determine that users A, B, and C may be in a violation group relationship (for example, cooperating in illegal operations for the purpose of posting illegal content) and mark the risk levels of the three users.

[0047] In some embodiments, the method also includes step S107 (not shown). In step S107, if the violation probability information is greater than a predetermined probability threshold, the target occurrence time node corresponding to the target behavior is determined; the previous behavior content information and the next behavior content information of the target occurrence time node are respectively input into the updated first violation prediction model to obtain the first violation probability information and the second violation probability information, wherein the previous behavior content information includes the previous behavior and / or the previous content corresponding to the previous occurrence time node of the target occurrence time node, and the next behavior content information includes the next behavior and / or the next content corresponding to the next occurrence time node of the target occurrence time node; if the first violation probability information and the second violation probability information are both greater than the probability threshold, the first behavior user who performs the target behavior is marked as a risky user. For example, if the violation probability information of the target behavior is greater than a predetermined probability threshold, the network device determines that the target behavior itself is a violation or will cause other violations in the future, and highlights the target behavior (for example, marks it as high risk) and sends it to the manual review channel, and at the same time, the behaviors before and after the time point corresponding to the target behavior are input into the updated first violation prediction model for prediction. This improves the review efficiency, reduces the burden of manual review, speeds up the review process, and predicts the behaviors before and after the time nodes to quickly lock in the key violations in the before and after behaviors, thereby locking in the corresponding key violation users.

[0048] In some embodiments, the method further includes step S108 (not shown), in which the network device determines the second user who performs the previous behavior or the previous content and the third user who performs the next behavior or the next content; the first user, the second user and the third user are marked as the same risk user or the same risk type user. For example, when a user performs a trigger operation in a social application, each behavior will be recorded, and the triggering user and the triggered user corresponding to the behavior will also be recorded. On the premise that the violation probability information of the target behavior is greater than a predetermined probability threshold, the network device determines that the first user who performs the target behavior is a candidate trigger user for violation behavior. Subsequently, the network device obtains the previous behavior / content and the next behavior / content and inputs them into the updated first violation prediction model to obtain the violation probability information. If the violation probability information of the two is greater than the predetermined probability threshold, the network device determines that the behavior / content corresponding to the two is itself a violation or causes the violation of the target behavior, and the network device determines that the second user and the third user who perform the previous behavior / content and the next behavior / content are candidate trigger users for violation behavior. On the basis of having determined the candidate triggering users of illegal behaviors, the network device may consider that the operators of the multiple candidate triggering users of illegal behaviors are actually the same user, or consider that the multiple candidate triggering users of illegal behaviors are a group of illegal behaviors, thereby effectively detecting the illegal behaviors of the group and improving the efficiency of the audit.

[0049] In some embodiments, the method further includes step S109 (not shown), in which the network device uploads the incremental data information and the updated first violation prediction model to the blockchain. For example, the incremental data information can be used for data analysis by the company described in the subsequent network device. After the updated first violation prediction model is uploaded to the blockchain, other nodes in the blockchain can obtain the updated first violation prediction model and use it to detect social behavior, and the obtained detection results are more accurate. Alternatively, other nodes can continue to update and iterate the model to meet the needs of each company.

[0050] In some embodiments, the method further includes step S110 (not shown), in which the network device receives the contribution information of the node to the first violation prediction model sent by the blockchain, wherein the contribution information is determined based on the proportion of the incremental data information in the sum of the first data information and the incremental data information. For example, there is data sharing of multiple companies in the first data information used to train and generate the first violation prediction model, and the blockchain determines the contribution information available to the provider of the incremental data information (e.g., the company that collects the incremental data information) based on the proportion of the incremental data information in the total data used to train the updated first violation prediction model, wherein the contribution information is used for the blockchain to write the corresponding block resources into the node corresponding to the provider, thereby encouraging more companies to update the model and contribute data.

[0051] Figure 3 A network device for violation prediction based on blockchain according to an embodiment of the present application is shown, wherein the network device includes a one-module 101, a one-two module 102, a one-three module 103, and a one-fourth module 104.

[0052] Specifically, a module 101 is used to send a model acquisition request to a blockchain, and receive a first violation prediction model returned by the blockchain in response to the model acquisition request and a first data information corresponding to the first violation prediction model, wherein the first data information includes first calibration information, multiple behavior information, and multiple content information, and the first calibration information is used to calibrate the sample information of each behavior information in the multiple behavior information and the sample information of each content information in the multiple content information. The blockchain is a decentralized distributed database, which does not rely on any centralized server, but is composed of thousands of "small servers" and "nodes", wherein a node generally refers to a computer that has downloaded the node software of the relevant cryptocurrency to participate in a peer-to-peer network, such as a computer in a blockchain network including a mobile phone, a mining machine, and a server, etc. A person operating a node can be an ordinary wallet user, a miner, and multiple people collaborate, store, and verify, and everyone can be a node of the blockchain. For example, a terminal device responsible for maintaining network operation can be called a node, and each node can copy and obtain a complete or partial copy of the record. For example, the network device is any node in the blockchain, and the node belongs to a company (for example, the company can upload and download data in the blockchain through the node), and the network device sends a model acquisition request to the blockchain, wherein the model acquisition request includes a model identifier, wherein the model identifier is used to determine the source of the model that the network device wants to obtain (for example, the data information of which company the model was last trained by). The blockchain returns the corresponding first violation prediction model to the network device based on the model acquisition request. In some embodiments, the blockchain also returns the first data information for training the first violation prediction model to the network device, so that other nodes in the subsequent blockchain can organize data according to the rules of the first data information when training the first violation prediction model, and provide a basis for the subsequent update of the first violation prediction model based on the data provided by other nodes, wherein the first violation prediction model can be the initial model training result (for example, generated by a company inputting user data into a semantic network such as LSTM or BERT) or the model training result generated after iterative update (for example, based on the initial model training, user data of other companies have been updated). For example, the rule of the first data information includes calibrating sample information (eg, whether the data information is a positive sample or a negative sample) of each data information (eg, behavior or content) based on first calibration information in the first data information.

[0053] The one-two module 102 is used to determine the second calibration information corresponding to the incremental data information according to the first calibration information, wherein the incremental data information belongs to the node corresponding to the network device, the incremental data information includes multiple incremental behavior information and multiple incremental content information, and the second calibration information is used to calibrate the sample information of each behavior information in the multiple incremental behavior information and the sample information of each content information in the multiple incremental content information. The incremental data information includes user data of users in social applications collected by the company to which the network device belongs, wherein the user data includes social behaviors and social content generated by social behaviors. In some embodiments, social behaviors do not necessarily generate corresponding social content. In some embodiments, the network device further includes a one-five module 105 (not shown) before the one-two module 102, and the one-five module 105 is used to determine the incremental data information. For example, only on the premise of obtaining the incremental data information of the company to which the network device belongs, the update and maintenance of the first violation prediction model have a data basis. In some embodiments, the determination of the incremental data information includes: determining the incremental data information according to multiple social behaviors of multiple users in the social application corresponding to the node and multiple social contents generated by the multiple social behaviors. The specific implementation method of the one-five module 105 is the same as or similar to the embodiment of the aforementioned step S105, so it will not be repeated here, and is included here by reference. In some embodiments, the determining of the incremental data information based on the multiple social behaviors of multiple users in the social application corresponding to the node and the multiple social contents generated by the multiple social behaviors includes: sorting the multiple social behaviors of multiple users in the social application corresponding to the node and the multiple social contents generated by the multiple social behaviors according to the occurrence time; determining the incremental data information based on the sorted multiple social behaviors and the multiple social contents. The operation of determining the incremental data information based on the social behaviors of one or more users in the social application and the contents generated by the social behaviors is as follows: Figure 2 The embodiments shown are the same or similar, so they are not described again and are incorporated herein by reference.

[0054] In some embodiments, the determining of the second calibration information corresponding to the incremental data information based on the first calibration information includes: determining rule information used to determine the value of the first calibration information in each sample information; determining the second calibration information corresponding to the incremental data information based on the rule information, wherein the incremental data information belongs to the node corresponding to the network device, the incremental data information includes multiple incremental behavior information and multiple incremental content information, and the second calibration information is used to calibrate the sample information of each behavior information in the multiple incremental behavior information and to calibrate the sample information of each content information in the multiple incremental content information. Figure 2 The embodiments shown are the same or similar, so they are not described in detail and are incorporated herein by reference. In some embodiments, the rule information includes at least one of the following:

[0055] 1) if at least one of the plurality of behavior information is manually marked as a violation or at least one of the plurality of content information is manually marked as a violation, mark the at least one behavior information or the at least one content information as positive sample information;

[0056] 2) If at least one of the multiple behavior information is manually marked as non-violation or at least one of the multiple content information is manually marked as non-violation, the at least one behavior information or the at least one content information is marked as negative sample information; the operation of the relevant rule information is the same as Figure 2 The embodiments shown are the same or similar, so they are not described in detail and are included here by reference. In some embodiments, the number of samples in the plurality of incremental behavior information and the plurality of incremental content information that are marked as positive sample information by the second calibration information is less than the number of samples marked as negative sample information by the second calibration information. The operation of the number of samples marked as positive sample information by the second calibration information is less than the number of samples marked as negative sample information by the second calibration information. Figure 2 The embodiments shown are the same or similar, so they are not described again and are incorporated herein by reference.

[0057] Module 103 is used to update the first violation prediction model according to the incremental data information and the second calibration information. For example, the network device calibrates the sample information corresponding to each data in the incremental data information with the second calibration information, and inputs the calibrated incremental data information into the first violation prediction model to update the first violation prediction model, so that the training data of the first violation prediction model is richer, the prediction result is more accurate, and the updated first violation prediction model is more in line with the usage characteristics of the company to which the network device belongs (for example, the updated first violation prediction model is trained based on the user data of the company, and can more accurately predict the behavior of the company's users, etc.). In some embodiments, the network device further includes a one-six module 106 (not shown), and the one-six module 106 is used to generate characteristic information corresponding to each social behavior and characteristic information corresponding to each social content according to the multiple social behaviors and the multiple social contents; the determining the incremental data information according to the sorted multiple social behaviors and the multiple social contents includes: determining the incremental data information according to the sorting information of the multiple social behaviors and the multiple social contents, and the characteristic information corresponding to each social behavior and the characteristic information corresponding to each social content, wherein the multiple incremental behavior information includes the characteristic information corresponding to each social behavior in the multiple social behaviors, and the multiple incremental content information includes the characteristic information corresponding to each social content in the multiple social contents. The specific implementation method of the one-six module 106 is the same or similar to the embodiment of the aforementioned step S106, so it will not be repeated here, and is included here by reference. In some embodiments, the generating of the characteristic information corresponding to each social behavior and the characteristic information corresponding to each social content according to the multiple social behaviors and the multiple social contents includes at least one of the following:

[0058] 1) encoding the social behavior in a preset manner to generate one or more pieces of behavior feature information, wherein the feature information corresponding to the social behavior includes at least one piece of the behavior feature information;

[0059] 2) determining the type information of the social content, and generating one or more content feature information corresponding to the social content in a manner corresponding to the type information, wherein the feature information corresponding to the social content includes at least one of the content feature information;

[0060] 3) generating one or more connection relationship feature information according to one or more social objects corresponding to the social behavior, wherein the feature information corresponding to the social behavior includes at least one of the connection relationship feature information; and generating the feature information corresponding to each social behavior and the feature information corresponding to each social content according to the multiple social behaviors and the multiple social contents respectively. Figure 2The embodiments shown are the same or similar, so they are not described again and are incorporated herein by reference.

[0061] Module 104 is used to input the target behavior provided by the node into the updated first violation prediction model and obtain the violation probability information of the target behavior. For example, the network device obtains a target behavior and uses the updated first violation prediction model to predict the violation probability information that the target behavior will cause a violation in the future. In some embodiments, each behavior corresponds to the user who triggered the behavior, and the network device can lock the user according to whether the behavior violates the rules in the future, so as to prevent the user from continuing to violate the rules in the future, thereby ensuring the social experience and social security of other users in the social application. In some embodiments, the network device further includes a module 107 (not shown), and the module 107 is used to determine the target occurrence time node corresponding to the target behavior if the violation probability information is greater than a predetermined probability threshold; input the previous behavior content information and the next behavior content information of the target occurrence time node into the updated first violation prediction model respectively to obtain the first violation probability information and the second violation probability information, wherein the previous behavior content information includes the previous behavior and / or the previous content corresponding to the previous occurrence time node of the target occurrence time node, and the next behavior content information includes the next behavior and / or the next content corresponding to the next occurrence time node of the target occurrence time node; if the first violation probability information and the second violation probability information are both greater than the probability threshold, the first behavior user who performs the target behavior is marked as a risk user. The specific implementation of the module 107 is the same or similar to the embodiment of the aforementioned step S107, so it will not be repeated here, and is included here by reference.

[0062] Here, examples and specific implementations of the above-mentioned one-one module 101, one-two module 102, one-three module 103, and one-four module 104 are provided. Figure 2 The embodiments of step S101, step S102, step S103, and step S104 are the same or similar, so they are not repeated here and are included here by reference.

[0063] In some embodiments, the network device further includes a module 108 (not shown), the module 108 is used to determine a second behavior user who performs the previous behavior or the previous content and a third behavior user who performs the next behavior or the next content; and mark the first behavior user, the second behavior user, and the third behavior user as the same risk user or the same risk type user. The specific implementation of the module 108 is the same or similar to the embodiment of the aforementioned step S108, so it will not be repeated here, and is included here by reference.

[0064] In some embodiments, the network device further includes a module 109 (not shown), and the module 109 is used to upload the incremental data information and the updated first violation prediction model to the blockchain. The specific implementation of the module 109 is the same or similar to the embodiment of the aforementioned step S109, so it will not be repeated here, and is included here by reference.

[0065] In some embodiments, the network device further includes a one-to-zero module 110 (not shown), the one-to-zero module 110 is used to receive the contribution information of the node to the first violation prediction model sent by the blockchain, wherein the contribution information is determined based on the proportion of the incremental data information in the sum of the first data information and the incremental data information. The specific implementation method of the one-to-zero module 110 is the same or similar to the embodiment of the aforementioned step S110, so it will not be repeated here, and is included here by reference.

[0066] In addition to the methods and devices described in the above embodiments, the present application also provides a computer-readable storage medium, which stores computer code. When the computer code is executed, the method described in any of the preceding items is executed.

[0067] The present application also provides a computer program product. When the computer program product is executed by a computer device, the method described in any of the preceding items is executed.

[0068] The present application also provides a computer device, the computer device comprising:

[0069] one or more processors;

[0070] a memory for storing one or more computer programs;

[0071] When the one or more computer programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any of the preceding items.

[0072] Figure 4 An exemplary system that can be used to implement various embodiments described in this application is shown;

[0073] like Figure 4 In some embodiments shown, the system 300 can be used as any of the devices in the various described embodiments. In some embodiments, the system 300 may include one or more computer-readable media (e.g., system memory or NVM / storage device 320) with instructions and one or more processors (e.g., (one or more) processors 305) coupled to the one or more computer-readable media and configured to execute instructions to implement modules to perform the actions described in this application.

[0074] For one embodiment, system control module 310 may include any suitable interface controller to provide any suitable interface to at least one of processor(s) 305 and / or any suitable device or component in communication with system control module 310 .

[0075] The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315. The memory controller module 330 may be a hardware module, a software module, and / or a firmware module.

[0076] The system memory 315 may be used, for example, to load and store data and / or instructions for the system 300. For one embodiment, the system memory 315 may include any suitable volatile memory, such as a suitable DRAM. In some embodiments, the system memory 315 may include double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).

[0077] For one embodiment, system control module 310 may include one or more input / output (I / O) controllers to provide interfaces to NVM / storage device 320 and communication interface(s) 325 .

[0078] For example, NVM / storage device 320 may be used to store data and / or instructions. NVM / storage device 320 may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable non-volatile storage device(s) (e.g., one or more hard disk drives (HDDs), one or more compact disk (CD) drives, and / or one or more digital versatile disk (DVD) drives).

[0079] NVM / storage device 320 may include storage resources that are physically part of the device on which system 300 is installed, or it may be accessible to the device without being part of the device. For example, NVM / storage device 320 may be accessed over a network via communication interface(s) 325.

[0080] Communication interface(s) 325 may provide an interface for system 300 to communicate over one or more networks and / or with any other suitable devices. System 300 may wirelessly communicate with one or more components of a wireless network in accordance with any of one or more wireless network standards and / or protocols.

[0081] For one embodiment, at least one of the processor(s) 305 may be packaged together with the logic of one or more controllers of the system control module 310 (e.g., the memory controller module 330). For one embodiment, at least one of the processor(s) 305 may be packaged together with the logic of one or more controllers of the system control module 310 to form a system-in-package (SiP). For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with the logic of one or more controllers of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with the logic of one or more controllers of the system control module 310 to form a system on chip (SoC).

[0082] In various embodiments, the system 300 may be, but is not limited to: a server, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet computer, a netbook, etc.). In various embodiments, the system 300 may have more or fewer components and / or a different architecture. For example, in some embodiments, the system 300 includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an application specific integrated circuit (ASIC), and a speaker.

[0083] It should be noted that the present application can be implemented in software and / or a combination of software and hardware, for example, can be implemented using an application specific integrated circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software program of the present application can be executed by a processor to implement the steps or functions described above. Similarly, the software program of the present application (including relevant data structures) can be stored in a computer-readable recording medium, for example, a RAM memory, a magnetic or optical drive or a floppy disk and similar devices. In addition, some steps or functions of the present application can be implemented using hardware, for example, as a circuit that cooperates with a processor to perform each step or function.

[0084] In addition, a part of the present application may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present application through the operation of the computer. Those skilled in the art should understand that the existence of computer program instructions in computer-readable media includes but is not limited to source files, executable files, installation package files, etc., and accordingly, the way in which computer program instructions are executed by a computer includes but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to the computer.

[0085] Communication media include media by which communication signals containing, for example, computer readable instructions, data structures, program modules, or other data are transmitted from one system to another. Communication media may include guided transmission media such as cables and wires (e.g., fiber optic, coaxial, etc.) and wireless (unguided transmission) media that can propagate energy waves, such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied as a modulated data signal in, for example, a wireless medium such as a carrier wave or similar mechanism such as embodied as part of spread spectrum technology. The term "modulated data signal" refers to a signal whose one or more characteristics are changed or set in such a manner as to encode information in the signal. Modulation may be analog, digital, or a hybrid modulation technique.

[0086] By way of example and not limitation, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory, such as random access memory (RAM, DRAM, SRAM); and non-volatile memory, such as flash memory, various read-only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic / ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disks, magnetic tapes, CDs, DVDs); or other media now known or later developed that can store computer-readable information / data for use by a computer system.

[0087] Here, according to an embodiment of the present application, a device is included, which includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein, when the computer program instructions are executed by the processor, the device is triggered to run the methods and / or technical solutions based on the aforementioned multiple embodiments of the present application.

[0088] It is obvious to those skilled in the art that the present application is not limited to the details of the above exemplary embodiments, and that the present application can be implemented in other specific forms without departing from the spirit or basic features of the present application. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive, and the scope of the present application is limited by the attached claims rather than the above description, so it is intended to include all changes that fall within the meaning and scope of the equivalent elements of the claims in the present application. Any figure mark in the claims should not be regarded as limiting the claims involved. In addition, it is obvious that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

Claims

1. A method for predicting violations based on blockchain, applied to network devices, wherein: The method includes: Sending a model acquisition request to a blockchain, and receiving a first violation prediction model and first data information corresponding to the first violation prediction model returned by the blockchain in response to the model acquisition request, wherein the first data information includes first calibration information, multiple behavior information, and multiple content information, the first calibration information is used to calibrate sample information of each behavior information in the multiple behavior information and to calibrate sample information of each content information in the multiple content information, and the first data information is used to train the first violation prediction model; Determining second calibration information corresponding to the incremental data information according to the first calibration information, wherein the incremental data information belongs to the node corresponding to the network device, the incremental data information includes multiple incremental behavior information and multiple incremental content information, and the second calibration information is used to calibrate sample information of each behavior information in the multiple incremental behavior information and to calibrate sample information of each content information in the multiple incremental content information; Update the first violation prediction model according to the incremental data information and the second calibration information; Inputting the target behavior provided by the node into the updated first violation prediction model to obtain violation probability information of the target behavior; Wherein, determining the second calibration information corresponding to the incremental data information according to the first calibration information includes: determining rule information for determining the value of the first calibration information in each sample information; determining the second calibration information corresponding to the incremental data information according to the rule information, wherein the provider of the incremental data information is different from the provider of the first data information; Wherein, the method also includes: if the violation probability information is greater than a predetermined probability threshold, determining the target occurrence time node corresponding to the target behavior; inputting the previous behavior content information and the next behavior content information of the target occurrence time node into the updated first violation prediction model respectively to obtain the first violation probability information and the second violation probability information, wherein the previous behavior content information includes the previous behavior and / or the previous content corresponding to the previous occurrence time node of the target occurrence time node, and the next behavior content information includes the next behavior and / or the next content corresponding to the next occurrence time node of the target occurrence time node; if the first violation probability information and the second violation probability information are both greater than the probability threshold, marking the first behavior user who performs the target behavior as a risky user; determining the second behavior user who performs the previous behavior or the previous content and the third behavior user who performs the next behavior or the next content; marking the first behavior user, the second behavior user and the third behavior user as the same risk user or the same risk type user.

2. The method according to claim 1, wherein: The rule information includes at least one of the following: If at least one of the plurality of behavior information is manually marked as a violation or at least one of the plurality of content information is manually marked as a violation, marking the at least one behavior information or the at least one content information as positive sample information; If at least one of the multiple behavior information is manually marked as no violation or at least one of the multiple content information is manually marked as no violation, the at least one behavior information or the at least one content information is marked as negative sample information.

3. The method according to claim 1 or 2, wherein: The number of samples in the plurality of incremental behavior information and the plurality of incremental content information that are marked as positive sample information by the second calibration information is less than the number of samples that are marked as negative sample information by the second calibration information.

4. The method according to any one of claims 1 to 3, wherein: The method further includes, before determining second calibration information corresponding to incremental data information according to the first calibration information, wherein the incremental data information belongs to a node corresponding to the network device, the incremental data information includes a plurality of incremental behavior information and a plurality of incremental content information, and the second calibration information is used to calibrate sample information of each behavior information in the plurality of incremental behavior information and sample information of each content information in the plurality of incremental content information: The incremental data information is determined.

5. The method according to claim 4, wherein: The determining of the incremental data information comprises: The incremental data information is determined according to a plurality of social behaviors of a plurality of users in a social application corresponding to the node and a plurality of social contents generated by the plurality of social behaviors.

6. The method according to claim 5, wherein: The determining the incremental data information according to multiple social behaviors of multiple users in the social application corresponding to the node and multiple social contents generated by the multiple social behaviors includes: Sorting multiple social behaviors of multiple users in the social application corresponding to the node and multiple social contents generated by the multiple social behaviors according to the occurrence time; and determining the incremental data information according to the sorted multiple social behaviors and the multiple social contents.

7. The method according to claim 6, wherein: The method further comprises: Generating feature information corresponding to each social behavior and feature information corresponding to each social content respectively according to the multiple social behaviors and the multiple social contents; The determining the incremental data information according to the sorted multiple social behaviors and the multiple social contents includes: The incremental data information is determined based on the sorting information of the multiple social behaviors and the multiple social contents, as well as the feature information corresponding to each social behavior and the feature information corresponding to each social content, wherein the multiple incremental behavior information includes the feature information corresponding to each social behavior in the multiple social behaviors, and the multiple incremental content information includes the feature information corresponding to each social content in the multiple social contents.

8. The method according to claim 7, wherein: The generating, according to the plurality of social behaviors and the plurality of social contents, feature information corresponding to each social behavior and feature information corresponding to each social content respectively, comprises at least one of the following: Encoding the social behavior in a preset manner to generate one or more pieces of behavior feature information, wherein the feature information corresponding to the social behavior includes at least one piece of the behavior feature information; Determine type information of the social content, and generate one or more content feature information corresponding to the social content in a manner corresponding to the type information, wherein the feature information corresponding to the social content includes at least one piece of content feature information; One or more connection relationship feature information is generated according to one or more social objects corresponding to the social behavior, wherein the feature information corresponding to the social behavior includes at least one of the connection relationship feature information.

9. The method according to claim 1, wherein: The method further comprises: The incremental data information and the updated first violation prediction model are uploaded to the blockchain.

10. The method according to claim 9, wherein: The method further comprises: Receive contribution information of the node to the first violation prediction model sent by the blockchain, wherein the contribution information is determined based on the proportion of the incremental data information in the sum of the first data information and the incremental data information.

11. A device for predicting violations based on blockchain, characterized in that: The device comprises: Processor; and A memory arranged to store computer executable instructions which, when executed, cause the processor to perform a method as claimed in any one of claims 1 to 10.

12. A computer-readable medium storing instructions, which when executed by a computer cause the computer to perform the operations of the method of any one of claims 1 to 10.

Citation Information

Patent Citations

  • Machine learning model training method, device, storage medium and computer device

    CN109345302A

  • Method and device for predicting violation probability of suspect, computer equipment and storage medium

    CN110009224A

  • Training method and device of unsupervised risk prevention and control model, updating method and device of unsupervised risk prevention and control model

    CN110009359A

  • Driving behavior detection method and device based on blockchain

    CN110533912A

  • Model training method and device

    CN111612153A