Illegal behavior detection method and system based on virtual social network
By combining correlation analysis and manual judgment in the virtual social network, the social actions and language features of the digital avatar are extracted and analyzed, which solves the problem of misjudgment in violation detection in the existing technology and improves the accuracy of detection and user experience.
Patent Information
- Application Number
- CN202311305463.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-10
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2043-10-10
AI Technical Summary
Existing illegal behavior detection methods in virtual social networks only rely on language and action detection, resulting in complex behavior and language interpretation in different contexts and scenarios, prone to misjudgment, and affecting the construction of virtual social environments and user experience.
Using a method based on correlation analysis and manual judgment, by obtaining the user's digital avatar social behavior information, extracting action and language features, using pre-built illegal action and language recognition models to perform feature extraction and correlation analysis, and generating a relevant feature matrix. Incorporate manual determination to increase the accuracy and credibility of violations.
By comprehensively considering the social actions and language information of digital avatars, we can reduce misjudgments, improve the accuracy and credibility of violation detection, and improve the construction and user experience of virtual social environments.
Smart Images

Figure CN117272113B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of virtual social networking, and in particular to a method and system for detecting illegal behaviors based on a virtual social network. Background Art
[0002] The Metaverse social network creates and simulates a social network in a virtual social space based on technologies such as virtual reality (VR), augmented reality (AR), and mixed reality (MR). In the Metaverse social network, users can interact and socialize with other users through their virtual identities, without being restricted by their geographical location or actual body. In the Metaverse social network, users control the movements of their digital avatars through somatosensory devices and communicate through audio sensors such as microphones.
[0003] In the virtual social network of the Metaverse, violation detection of user digital avatars only stops at detecting whether there is clear insulting language in the communication language, and whether there is clear insulting behavior in the digital avatar's actions; however, the diversity of language and actions will increase the complexity of judgment. Behavior and language in different contexts and scenarios may have different meanings and interpretations. Existing violation detection methods often lead to misjudgment, which seriously affects the construction of the virtual social environment and affects the user experience. Summary of the invention
[0004] In order to solve the above technical problems, the present invention provides a method for detecting illegal behaviors based on a virtual social network, which utilizes correlation analysis and manual judgment to improve the accuracy and credibility of illegal behaviors.
[0005] In a first aspect, the present invention provides a method for detecting illegal behaviors based on a virtual social network, the method being applied to a virtual social network, the method comprising:
[0006] Obtaining social behavior information of the user's digital avatar within a set time in the virtual social network;
[0007] Extracting data from the digital avatar social behavior information to obtain digital avatar social action information and digital avatar social language information;
[0008] Inputting the digital avatar social action information into a pre-built illegal action recognition model, performing feature extraction on the digital avatar social action information, and obtaining an illegal action feature set;
[0009] Inputting the digital avatar social language information into a pre-built illegal language recognition model, performing feature extraction on the digital avatar social language information, and obtaining an illegal language feature set;
[0010] Performing a correlation analysis on the illegal action feature set and the illegal language feature set to obtain a correlation feature matrix of the illegal action feature set and the illegal language feature set; in the correlation feature matrix, the correlation between each illegal action feature and each illegal language feature is recorded;
[0011] Using the pre-set violation correlation screening interval, the relevant feature matrix is traversed and compared:
[0012] Extract the illegal action features and illegal language features corresponding to the correlation within the illegal correlation screening interval to obtain a set of suspected illegal behaviors;
[0013] Extract the illegal action features and illegal language features corresponding to the correlation between the screening areas that is greater than the illegal correlation, and obtain a set of confirmed illegal behaviors;
[0014] Manually determine the behavioral features in the suspected violation set, enter the confirmed violation into the confirmed violation set, and handle the violation against the user based on the confirmed violation.
[0015] Furthermore, the method for constructing the illegal action recognition model includes:
[0016] Collect social action data of digital avatars, including normal and illegal behaviors, and manually annotate them;
[0017] Preprocess the collected data, including data cleaning, denoising and data format conversion
[0018] A computer vision-based method is used to extract relevant features from the digital avatar social action data to describe the characteristics of different behaviors, including the speed, angle, amplitude and frequency of the action;
[0019] Select a machine learning model for illegal action recognition;
[0020] Divide the data set into a training set and a test set; use the training set data to train the model, and use the test set data to evaluate the performance and accuracy of the model; based on the evaluation results, tune and improve the model;
[0021] The illegal action recognition model is deployed in the actual virtual social network environment; the illegal action recognition model is applied in the virtual social network to perform real-time illegal action recognition and extraction.
[0022] Furthermore, the method for constructing the illegal language identification model includes:
[0023] Collect social language information data containing normal and illegal behaviors and manually annotate them;
[0024] Preprocess and clean the collected social language information data, including removing special characters, punctuation marks, and emoticons, and performing text segmentation to split long texts into words or phrases;
[0025] Extract relevant features from the preprocessed text, including word frequency, syntactic structure, sentiment polarity, and topic model;
[0026] Select a machine learning algorithm or deep learning model to build a model for identifying illegal language;
[0027] Use labeled datasets to train, evaluate, and fine-tune the illegal language identification model;
[0028] The illegal language recognition model is deployed in an actual virtual social network environment; the illegal language recognition model is applied in the virtual social network to perform real-time illegal language recognition and extraction.
[0029] Furthermore, the method for obtaining a correlation feature matrix of the illegal action feature set and the illegal language feature set includes:
[0030] The Spearman rank correlation coefficient is used to calculate the correlation between the digital avatar's illegal action features and the digital avatar's illegal language features;
[0031] Using the obtained correlation analysis results, a correlation feature matrix is constructed; in the correlation feature matrix, rows represent the illegal action features of the digital avatar, columns represent the illegal language features of the digital avatar, and each element represents the correlation between corresponding features;
[0032] Traverse all combinations of digital avatar illegal action features and digital avatar illegal language features, calculate the correlation between them, and fill the results into the corresponding positions of the relevant feature matrix.
[0033] Furthermore, the feature-related feature matrix is as follows:
[0034]
[0035] Among them, R nm It represents the correlation between the nth illegal action feature and the mth illegal language feature.
[0036] Furthermore, the method for traversing and comparing the relevant feature matrix includes:
[0037] Traverse all elements in the correlation feature matrix, where the elements represent the correlation between each violation action feature and each violation language feature;
[0038] For each pair of illegal action features and illegal language features, the correlation is compared with the pre-set illegal correlation screening interval:
[0039] If the relevance is greater than or equal to the minimum threshold of the violation relevance screening interval and less than or equal to the maximum threshold of the violation relevance screening interval, then the violation action feature and the violation language feature corresponding to the relevance are added to the suspected violation behavior set;
[0040] If the relevance is greater than the maximum threshold of the violation relevance screening interval, the violation action feature and the violation language feature corresponding to the relevance are added to the confirmed violation behavior set.
[0041] Furthermore, violation actions are taken against users based on confirmed violations, including warnings, account bans, and content deletions.
[0042] On the other hand, the present application also provides a violation detection system based on a virtual social network, the system comprising:
[0043] A data acquisition module is used to acquire and send the social behavior information of the user's digital avatar in the virtual social network within a set time;
[0044] A data extraction module is used to receive the digital avatar social behavior information, extract data from the digital avatar social behavior information, obtain the digital avatar social action information and the digital avatar social language information, and send them;
[0045] The illegal behavior identification module is used to receive the digital avatar social action information and the digital avatar social language information, and use the pre-stored illegal action identification model to extract features from the digital avatar social action information to obtain an illegal action feature set; use the pre-stored illegal language identification model to extract features from the digital avatar social language information to obtain an illegal language feature set; and package the illegal action feature set and the illegal language feature set for transmission;
[0046] A correlation analysis module is used to receive a set of illegal action features and a set of illegal language features; and to perform a correlation analysis on the set of illegal action features and the set of illegal language features, generate a correlation feature matrix, and send it; the correlation feature matrix describes the correlation between each illegal action feature and each illegal language feature;
[0047] The screening module is used to receive the relevant feature matrix, and use the pre-set violation correlation screening interval to traverse and compare the relevant feature matrix: extract the violation action features and violation language features corresponding to the correlation within the violation correlation screening interval, obtain the suspected violation behavior set, and send it; extract the violation action features and violation language features corresponding to the correlation greater than the violation correlation screening interval, obtain the confirmed violation behavior set, and send it;
[0048] A manual determination module is used to receive a set of suspected illegal behaviors, manually determine the behavior characteristics in the set of suspected illegal behaviors, enter the confirmed illegal behaviors into a set of confirmed illegal behaviors, and send it;
[0049] The violation handling module is used to receive a set of confirmed violation behaviors and perform violation handling on the user according to the confirmed violation behaviors.
[0050] In a third aspect, the present application provides an electronic device, comprising a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the transceiver, the memory, and the processor are connected via the bus, and the computer program, when executed by the processor, implements the steps of any one of the above methods.
[0051] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps in any one of the above-mentioned methods when executed by a processor.
[0052] Compared with the prior art, the present invention has the following beneficial effects:
[0053] The present invention takes into account the social actions and social language information of the digital avatar at the same time, comprehensively analyzes the behavior of users in the virtual social network, and is not limited to the detection of language or actions; it can more comprehensively identify illegal behaviors and improve the accuracy of detection;
[0054] By inputting the digital avatar's social actions and social language information into the pre-built violation action recognition model and violation language recognition model, the feature extraction and modeling process can help the system understand the relationship between different behaviors and language features, so as to better judge the violation behavior;
[0055] The construction of the correlation feature matrix can record the correlation between different illegal action features and illegal language features, thus providing more information when judging illegal behaviors; this correlation analysis helps to reduce the occurrence of misjudgments because it takes the relationship between different features into consideration;
[0056] Although automated detection methods can provide a preliminary set of suspected violations and confirmed violations, submitting suspected violations to manual judgment can further eliminate false positives and ensure that only true violations are confirmed and recorded so that appropriate violation handling measures can be taken;
[0057] In summary, the violation detection method based on virtual social networks improves the accuracy and credibility of violations by comprehensively considering the social actions and social language information of digital avatars and using correlation analysis and manual judgment. It has important advantages in building a virtual social environment and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] Figure 1 is a flow chart of the present invention;
[0059] Figure 2 It is a flowchart for building a model for illegal action recognition;
[0060] Figure 3 It is a flow chart to obtain the relevant feature matrix;
[0061] Figure 4 It is a structural diagram of the violation detection system based on virtual social network. DETAILED DESCRIPTION
[0062] In the description of the present application, those skilled in the art should know that the present application can be implemented as a method, an apparatus, an electronic device, and a computer-readable storage medium. Therefore, the present application can be specifically implemented in the following forms: complete hardware, complete software (including firmware, resident software, microcode, etc.), a combination of hardware and software. In addition, in some embodiments, the present application can also be implemented in the form of a computer program product in one or more computer-readable storage media, and the computer-readable storage medium contains computer program code.
[0063] The above-mentioned computer-readable storage medium may adopt any combination of one or more computer-readable storage media. Computer-readable storage media include: electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or devices, or any combination of the above. More specific examples of computer-readable storage media include: portable computer disks, hard disks, random access memories, read-only memories, erasable programmable read-only memories, flash memories, optical fibers, optical disc read-only memories, optical storage devices, magnetic storage devices, or any combination of the above. In the present application, computer-readable storage media can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device, or device.
[0064] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws.
[0065] The present application describes the provided methods, devices, and electronic devices through flowcharts and / or block diagrams.
[0066] It should be understood that each box in the flowchart and / or block diagram and the combination of boxes in the flowchart and / or block diagram can be implemented by computer-readable program instructions. These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable data processing device to produce a machine, and these computer-readable program instructions are executed by a computer or other programmable data processing device to produce a device that implements the functions / operations specified by the boxes in the flowchart and / or block diagram.
[0067] These computer-readable program instructions may also be stored in a computer-readable storage medium that enables a computer or other programmable data processing device to work in a specific manner. In this way, the instructions stored in the computer-readable storage medium produce an instruction device product including functions / operations specified in the blocks in the flowchart and / or block diagram.
[0068] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device, so that a series of operational steps are performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby enabling the instructions executed on the computer or other programmable data processing apparatus to provide a process for implementing the functions / operations specified in the blocks in the flowchart and / or block diagram.
[0069] The present application is described below in conjunction with the drawings in the present application.
[0070] Embodiment 1
[0071] like Figures 1 to 3 As shown, the method for detecting illegal behaviors based on a virtual social network of the present invention is applied to a virtual social network and specifically comprises the following steps:
[0072] S1. Obtaining social behavior information of the user's digital avatar within a set time in the virtual social network;
[0073] In a virtual social network, a user's digital avatar, also called a virtual character or avatar, is a user's representative in the virtual world; a user can interact and socialize with other users through technologies such as virtual reality (VR), augmented reality (AR), and mixed reality (MR), without being restricted by geographic location and actual body; step S1 is to obtain the social behavior information of the user's digital avatar within a set time in the virtual social network; in order to achieve this step, it is necessary to use the API or data interface provided by the virtual social network platform to collect the user's social behavior information;
[0074] The user's digital avatar social behavior information within a set time period is obtained through the API of the virtual social network platform; the digital avatar social behavior information includes the user's movement trajectory, interactive behavior, voice conversation record, etc. in the virtual environment; the user's virtual identity can control the movement of the digital avatar through the somatosensory device and communicate through the audio sensor such as the microphone; the virtual social network platform can record and store this behavior information and provide corresponding interfaces for developers to access;
[0075] In step S1, it is necessary to call the API of the virtual social network platform and use appropriate parameters to specify the time range to obtain the user's social behavior information; this step involves using the user's authentication token or authorization mechanism to ensure secure access to the data; once the user's social behavior information is obtained, further data extraction and processing can be performed for subsequent violation detection and analysis.
[0076] It should be noted that the specific data extraction and processing steps vary depending on the virtual social network platform; different platforms may provide data of different types and formats, so they need to be adapted and processed according to actual conditions; in short, step S1 is based on the API or data interface of the virtual social network platform to obtain the social behavior information of the user's digital avatar within a set time; this step is to establish the data foundation of the entire violation detection method, laying the foundation for subsequent data extraction, feature extraction and analysis.
[0077] S2, extracting data from the digital avatar social behavior information to obtain digital avatar social action information and digital avatar social language information;
[0078] In a virtual social network, the user's digital avatar is controlled by somatosensory devices, including head trackers, hand trackers, body trackers, etc. These devices can capture the user's movements and postures in the virtual space and convert them into digital data. The specific methods for extracting the digital avatar's social action information and the digital avatar's social language information include the following:
[0079] Extraction of social action information of digital avatars: Use sensors in virtual reality devices (such as head trackers, hand trackers, etc.) to record user action data; these sensors can track information such as the user's head direction, hand movements, body postures, etc., and can capture various actions of users in virtual space; process and analyze the data captured by the sensors to extract key social action information of digital avatars; for example, indicators such as user gestures (such as waving, hugging, shaking hands, etc.), body postures (such as jumping, bowing, etc.), and head direction can be extracted;
[0080] Extraction of social language information of digital avatars: In virtual social networks, users can communicate with each other through audio sensors such as microphones; these sensors can record the user's voice input and convert it into digital voice data; the recorded voice data is processed by voice recognition to convert the voice into text data; this can use existing voice recognition technologies and services, such as voice recognition models in the field of natural language processing (NLP); the converted text data is analyzed and processed to extract key social language information of digital avatars; for example, the user's speech content, emotional expression, speaking speed, intonation and other features can be extracted;
[0081] In step S2, the extracted digital avatar social action information and digital avatar social language information will be used as input for subsequent steps for feature extraction and analysis of the violation detection model; this information will help the system determine whether the user's social behavior contains violations, and further perform correlation analysis and screening of violations.
[0082] S3, inputting the digital avatar social action information into a pre-built illegal action recognition model, performing feature extraction on the digital avatar social action information, and obtaining a set of illegal action features;
[0083] In step S3, the digital avatar social action information is input into a pre-built illegal action recognition model to extract features and obtain a set of illegal action features; wherein the method for building the illegal action recognition model specifically includes the following steps:
[0084] S31. Data collection and labeling: Collect a large amount of digital avatar social action data containing normal and illegal behaviors, and manually label them; these data include different types of actions, such as normal behavior, insulting behavior, aggressive behavior, etc.
[0085] S32, data preprocessing: preprocess the collected data, including data cleaning, denoising, data format conversion and other operations; ensure the quality and consistency of the data;
[0086] S33. Feature extraction: Extract relevant features from the digital avatar social action data to describe the characteristics of different behaviors; the features may include the speed, angle, amplitude, frequency, etc. of the action; the action data may be analyzed and features extracted using computer vision-based methods;
[0087] S34, Model selection and architecture design: According to the requirements of the problem and the characteristics of the data, select a suitable machine learning model for illegal action recognition; commonly used models include convolutional neural network (CNN), recurrent neural network (RNN), long short-term memory network (LSTM), etc.; design a suitable architecture, including the number of network layers, number of nodes, etc.;
[0088] S35, Data division and training: Divide the data set into a training set and a test set; use the training set data to train the model, and update the weights and parameters of the model through the back propagation algorithm so that it can accurately classify normal and illegal actions;
[0089] S36, Model evaluation and tuning: Use the test set data to evaluate the performance and accuracy of the model; based on the evaluation results, tune and improve the model, such as adjusting hyperparameters, increasing training data, introducing regularization, etc.
[0090] S37, Deployment and Application: After completing the training and tuning of the model, deploy it in the actual virtual social network environment; apply the model in the metaverse to perform real-time illegal action recognition and extraction;
[0091] It should be noted that the construction of the illegal action recognition model is an iterative process. According to the feedback and needs in actual applications, it is necessary to continuously improve the performance and accuracy of the model, and improve the effect of the model by increasing training data, optimizing the model architecture, improving feature extraction, etc. In addition, it is necessary to properly tune and iteratively improve the model according to the actual application situation. The specific implementation of model construction depends on the selected machine learning framework and programming language. Commonly used machine learning frameworks include TensorFlow, PyTorch, etc., and the programming language can choose Python or other languages that support machine learning. The specific implementation method can be selected according to the actual situation and technical reserves of the developer.
[0092] In this step, by inputting the digital avatar social actions into the pre-built illegal action recognition model, relevant features can be automatically extracted without manual feature engineering; this can reduce labor costs and improve the efficiency and accuracy of feature extraction; through the pre-built illegal action recognition model, it is possible to quickly process the digital avatar social actions and quickly obtain the illegal action feature set; this makes it possible to perform real-time illegal action recognition in the metaverse, and to promptly discover and handle illegal behaviors;
[0093] Since a machine learning model is used for illegal action recognition, the model can be trained and tuned based on a large amount of labeled data, so that it has higher accuracy and discrimination ability; compared with the traditional manual rule method, the model can better capture the characteristics of different types of illegal behaviors and improve the accuracy of recognition; the pre-built illegal action recognition model has a certain versatility and can adapt to different digital avatar social action scenarios and different types of illegal behaviors; when new illegal behaviors need to be identified, the model can be expanded and improved by adding new training data and adjusting model parameters; by actually deploying the application model and performing real-time illegal action recognition in the metaverse, feedback data on user behavior can be obtained; these feedback data can be used to improve and update the model to improve its performance and adaptability; through continuous iteration and improvement of the model, the effect of illegal action recognition can be continuously improved.
[0094] S4, inputting the digital avatar social language information into a pre-built illegal language recognition model, performing feature extraction on the digital avatar social language information, and obtaining an illegal language feature set;
[0095] In step S4, the social language information of the digital avatar is input into a pre-built illegal language recognition model, and feature extraction is performed to obtain an illegal language feature set, wherein the method for constructing the illegal language recognition model specifically includes the following steps:
[0096] S41. Data collection: First, it is necessary to collect sufficient quantity and diversity of social language information data of users in virtual social networks; these data include chat records, voice communications, comments or posts posted on social media, etc. sent by users in virtual social networks; data collection needs to follow the principles of privacy protection and data security;
[0097] S42. Data preprocessing: Before inputting the data into the illegal language identification model, the data needs to be preprocessed and cleaned, including removing special characters, punctuation marks, emoticons, etc., and performing text segmentation to split long text into words or phrases;
[0098] S43, Feature Extraction: Extract relevant features from the preprocessed text according to the selected illegal language identification model; these features include word frequency, syntactic structure, sentiment polarity, topic model, etc.; commonly used techniques include bag-of-words, word embeddings, etc.; the goal of feature extraction is to convert text data into numerical representations that can be understood and processed by machine learning algorithms;
[0099] S44. Construction of illegal language identification model: Select appropriate machine learning algorithms or deep learning models to build illegal language identification models; commonly used methods include naive Bayes classifier, support vector machine (SVM), logistic regression, deep neural network, etc.; model training requires the use of labeled data sets, which contain examples of illegal and non-illegal behaviors; the training process uses the extracted features and corresponding labels to optimize the model parameters;
[0100] S45, Model evaluation and tuning: After building the illegal language recognition model, it needs to be evaluated and tuned. This involves inputting the reserved test data set into the model and evaluating its performance, such as accuracy, recall, F1 score, etc. Based on the evaluation results, the model parameters can be adjusted and optimized to improve the performance and generalization ability of the model.
[0101] When designing and implementing illegal language identification models, extensive data collection and labeling work is required, and artificial intelligence algorithms and manual review should be combined to improve accuracy; in addition, attention should also be paid to user privacy protection and data usage compliance issues to ensure compliance with relevant laws and policies during data processing.
[0102] In this step, the use of illegal language recognition models can realize the automatic recognition of a large amount of digital avatar social language information, which can reduce the workload of manual review of illegal content and improve processing speed and efficiency. By collecting data from virtual social networks with sufficient quantity and diversity, a more comprehensive illegal language recognition model can be built. Such a model can handle various types of illegal language, including malicious speech, insults, discriminatory speech, etc. The diversity of data helps the model better understand and identify different types of illegal behaviors.
[0103] During the data collection process, it is necessary to follow the principles of privacy protection and data security, which includes ensuring that the user's personal information and privacy are protected and taking appropriate measures to prevent data leakage and abuse. Protecting the privacy and security of user data is an important requirement for building a trusted illegal language recognition model. In steps S43 and S44, feature extraction is performed on the preprocessed text data, and an appropriate machine learning algorithm or deep learning model is selected to build an illegal language recognition model. The optimal feature representation and model structure can be selected according to actual conditions to improve the accuracy and performance of the recognition model. In step S45, the model is evaluated and tuned to ensure that the model has good performance and generalization ability. By evaluating the model's accuracy, recall rate, F1 score and other indicators, the model can be adjusted and optimized to further improve its effectiveness in identifying illegal language.
[0104] S5, performing correlation analysis on the illegal action feature set and the illegal language feature set to obtain a correlation feature matrix between the illegal action feature set and the illegal language feature set; in the correlation feature matrix, the correlation between each illegal action feature and each illegal language feature is recorded;
[0105] In step S5, the purpose of calculating the relevant feature matrix is to analyze the social behaviors of the digital avatars of users in the virtual social network, especially the correlation between the illegal action features of the digital avatars and the illegal language features of the digital avatars, so as to help identify potential illegal behaviors; specifically, the following steps are included:
[0106] S51. Establishing correlation analysis: used to calculate the correlation between the illegal action features of the digital avatar and the illegal language features of the digital avatar; common correlation analysis methods include Pearson correlation coefficient, Spearman rank correlation coefficient, etc.; these methods can measure the linear or nonlinear correlation between two features;
[0107] S52, constructing a correlation feature matrix: using the obtained correlation analysis results, constructing a correlation feature matrix; this matrix is a two-dimensional matrix, in which rows represent the illegal action features of the digital avatar, columns represent the illegal language features of the digital avatar, and each element represents the correlation between corresponding features;
[0108] S53, filling in the relevant feature matrix: traverse all combinations of the digital avatar's illegal action features and the digital avatar's illegal language features, calculate the correlation between them, and fill the results into the corresponding positions of the relevant feature matrix.
[0109] Specifically, the correlation between the illegal action features of the digital avatar and the illegal language features of the digital avatar is calculated to obtain the following table:
[0110]
[0111]
[0112] Among them A n represents the nth illegal action feature, L m represents the mth illegal language feature, R nm Indicates the correlation between the nth illegal action feature and the mth illegal language feature; delete the vertical header and the horizontal header in the above table to obtain the feature correlation feature matrix; the feature correlation feature matrix is as follows:
[0113]
[0114] In this step, the correlation feature matrix provides the specific numerical correlation between the illegal action features of the digital avatar and the illegal language features of the digital avatar; this quantitative data can help the system analyze user behavior more accurately, rather than just subjective judgment; the correlation feature matrix covers the illegal action features and illegal language features of multiple digital avatars, and can consider multiple aspects of information at the same time, so as to understand user behavior more comprehensively;
[0115] The choice of correlation analysis method is flexible, and different correlation indicators can be selected according to specific circumstances, including Pearson correlation coefficient, Spearman rank correlation coefficient, etc.; this allows the analysis to adapt to different types of data and relationships; once the framework of the correlation feature matrix is established, the system can automatically fill in the data in the matrix without human intervention; this can improve analysis efficiency and reduce the cost of processing large amounts of data; the correlation feature matrix can be used to support decision making; the system can identify potential violations or abnormal behaviors based on the correlation in the matrix, helping administrators or regulators to take necessary measures; visualizing the correlation feature matrix can help users more easily understand the behavior of digital avatars and their correlations, which helps to better regulate and manage virtual social networks.
[0116] S6. Using the pre-set violation correlation screening interval, traverse and compare the relevant feature matrix: extract the violation action features and violation language features corresponding to the correlation within the violation correlation screening interval to obtain a set of suspected violation behaviors; extract the violation action features and violation language features corresponding to the correlation greater than the violation correlation screening interval to obtain a set of confirmed violation behaviors;
[0117] Step S6 involves correlation analysis and screening of illegal behaviors. In the technical solution of virtual social networking, this step needs to be processed by strict algorithms to ensure accuracy and reliability. The method for determining the illegal correlation screening interval specifically includes the following steps:
[0118] S6a1. Data collection and labeling: First, a large amount of virtual social behavior data needs to be collected and labeled to indicate which behaviors are illegal and which are normal. These data can be the actual behavior records of users in virtual social networks.
[0119] S6a2, Feature Engineering: After collecting and labeling the data, it is necessary to extract features from the data, including converting the social behavior information of the digital avatar into quantifiable features, such as the speed and frequency of the action, the emotional tendency of the language, etc.
[0120] S6a3, establishing a correlation model: using the extracted features, establishing a correlation model, which can analyze the correlation between the digital avatar social action information and the digital avatar social language information; this model can use statistical methods, machine learning algorithms, etc.;
[0121] S6a4, initial threshold setting: according to the previous experiments and analysis, set an initial violation correlation screening interval; this threshold can be an empirical value or set according to data distribution and model effect;
[0122] S6a5, Experimental verification and adjustment: Use a portion of the data for experimental verification to observe the performance of the model; based on the experimental results, the violation relevance screening interval can be adjusted to enable the model to more accurately identify violations;
[0123] S6a6, Cross-validation: During the adjustment process, techniques such as cross-validation can be used to ensure the stability and accuracy of the model on different data sets;
[0124] S6a7, Feedback loop: Based on actual usage, the model should be regularly fed back and improved; the violation relevance screening interval needs to be continuously adjusted to adapt to different scenarios and user needs;
[0125] It should be pointed out that determining the violation relevance screening interval is a dynamic process, which requires comprehensive consideration of the model's performance, user feedback, and changes in actual application scenarios; at the same time, protecting user privacy is also an important consideration, and measures need to be taken during the design phase to protect users' personal information and the security of virtual social spaces.
[0126] In step S6, it is necessary to use the pre-set violation correlation screening interval to traverse and compare the relevant feature matrix to determine suspected violations and confirmed violations, which specifically includes the following steps:
[0127] S6b1. Traverse the correlation feature matrix: First, it is necessary to traverse all elements in the correlation feature matrix, which represent the correlation between each illegal action feature and each illegal language feature. Generally, various statistical methods can be used to calculate the correlation, such as the Pearson correlation coefficient or the Spearman rank correlation coefficient.
[0128] S6b2, comparing according to the screening interval: for each pair of the correlation between the illegal action feature and the illegal language feature, comparing it with the pre-set illegal correlation screening interval;
[0129] If the correlation is within the screening interval, that is, greater than or equal to the minimum threshold and less than or equal to the maximum threshold, the illegal action features and illegal language features corresponding to the correlation are added to the set of suspected illegal behaviors; this means that these behaviors and languages are related to a certain extent and require further manual review;
[0130] If the correlation is greater than the maximum threshold of the violation correlation screening interval, then the violation action features and violation language features corresponding to the correlation are added to the confirmed violation behavior set; this means that these behaviors and languages are very relevant and are likely to constitute violations and require further processing.
[0131] In this step, by using the pre-set violation relevance screening interval, the relevant feature matrix can be finely screened to concentrate data with potential signs of violations; this helps to reduce the subsequent manual review workload, because only violations with a relevance higher than a certain threshold will be further processed, reducing the number of false alarms; the pre-setting of the screening interval allows the system to be adjusted according to specific circumstances; if stricter or looser violation relevance standards are required, this can be achieved by adjusting the threshold; this flexibility allows the system to be customized according to actual needs and adapt to different application scenarios; once the screening interval and threshold are set, the entire process can be executed automatically without human intervention; this can improve efficiency, especially when processing large-scale data; adding violations with high relevance to the confirmed violation set can more accurately identify potential violations; this reduces the possibility of underreporting and improves the accuracy of the system.
[0132] S7. Manually determine the behavior characteristics in the suspected violation behavior set, enter the confirmed violation behavior into the confirmed violation behavior set, and handle the violation of the user according to the confirmed violation behavior;
[0133] Step S7 is a key step in the entire violation detection process. It needs to comprehensively consider the technical solutions of virtual social networks as well as legal, ethical and social norms to ensure fair, accurate and legal processing. It specifically includes the following steps:
[0134] S71. In the previous steps, the user's virtual social behaviors have been analyzed and classified through the machine learning model, and suspected illegal behaviors have been identified, including illegal actions and illegal language; the features of these behaviors have been extracted and recorded in the suspected illegal behavior set;
[0135] S72. In order to finally determine which suspected violations are real violations, manual judgment is required; this step is usually performed by professional social network administrators or auditors who need to have an in-depth understanding of the rules, policies, and laws and regulations of the virtual social network platform;
[0136] S73. When making manual judgments, auditors need to refer to the rules and policies of the virtual social network platform, which usually stipulate what behaviors are considered violations; for example, racial discrimination, threats of violence, pornographic content, etc. are not allowed; auditors need to evaluate whether each suspected violation complies with the rules based on these criteria;
[0137] S74. Auditors also need to consider whether the behavior is legal and ethical, not just the platform’s rules; for example, while certain comments may not directly violate the platform’s rules, they also need to be considered if they infringe on the privacy rights of others or may incite hatred;
[0138] S75. Auditors need to keep detailed records of their decisions, including the determination of each suspected violation and the corresponding actions taken in accordance with the platform rules; such records are of great value for future legal or user complaints;
[0139] S76. Once a behavior is confirmed to be illegal, the virtual social network platform will usually take a series of measures to deal with the illegal behavior, including warnings, account bans, content deletion, etc. The severity of the treatment usually depends on the nature and frequency of the behavior;
[0140] S77. If a user's behavior is determined to be in violation, the virtual social network will usually notify the user and provide the user with an opportunity to appeal; this is part of ensuring fair treatment and allows users to explain their behavior or point out errors in the judgment;
[0141] S78. Virtual social network platforms need to continuously improve their methods for detecting and handling violations to ensure more accurate and fair results; this includes improving machine learning models, increasing the accuracy of automated detection, and training auditors to improve the quality of manual judgments.
[0142] In summary, step S7 is a key step in detecting violations in virtual social networks, which requires careful, fair, and legal execution to maintain the order of the virtual social environment and the user experience. The auditor's professionalism and in-depth understanding of platform rules are crucial, and the platform needs to continuously improve its technology and processes to cope with the ever-changing virtual social network environment.
[0143] Embodiment 2
[0144] like Figure 4 As shown, the illegal behavior detection system based on virtual social network of the present invention specifically includes the following modules:
[0145] A data acquisition module is used to acquire and send the social behavior information of the user's digital avatar in the virtual social network within a set time;
[0146] A data extraction module is used to receive the digital avatar social behavior information, extract data from the digital avatar social behavior information, obtain the digital avatar social action information and the digital avatar social language information, and send them;
[0147] The illegal behavior identification module is used to receive the digital avatar social action information and the digital avatar social language information, and use the pre-stored illegal action identification model to extract features from the digital avatar social action information to obtain an illegal action feature set; use the pre-stored illegal language identification model to extract features from the digital avatar social language information to obtain an illegal language feature set; and package the illegal action feature set and the illegal language feature set for transmission;
[0148] A correlation analysis module is used to receive a set of illegal action features and a set of illegal language features; and to perform a correlation analysis on the set of illegal action features and the set of illegal language features, generate a correlation feature matrix, and send it; the correlation feature matrix describes the correlation between each illegal action feature and each illegal language feature;
[0149] The screening module is used to receive the relevant feature matrix, and use the pre-set violation correlation screening interval to traverse and compare the relevant feature matrix: extract the violation action features and violation language features corresponding to the correlation within the violation correlation screening interval, obtain the suspected violation behavior set, and send it; extract the violation action features and violation language features corresponding to the correlation greater than the violation correlation screening interval, obtain the confirmed violation behavior set, and send it;
[0150] A manual determination module is used to receive a set of suspected illegal behaviors, manually determine the behavior characteristics in the set of suspected illegal behaviors, enter the confirmed illegal behaviors into a set of confirmed illegal behaviors, and send it;
[0151] The violation handling module is used to receive a set of confirmed violation behaviors and perform violation handling on the user according to the confirmed violation behaviors.
[0152] In this embodiment, the system comprehensively considers the social behavior information of the digital avatar in the virtual social network, including actions and language, and provides comprehensive violation detection; by combining the social action information and social language information of the digital avatar, it can more accurately determine whether the user's behavior violates the rules;
[0153] The system uses a violation behavior recognition module, which uses pre-stored violation action and violation language recognition models to extract features from the social action information and language information of the digital avatar and generate a feature set. It can quickly and accurately identify digital avatars that may have violated regulations, thereby improving the detection efficiency of the system.
[0154] The system uses the correlation analysis module to perform correlation analysis on the illegal action features and illegal language features and generate a correlation feature matrix; it can more comprehensively understand the relationship between the social behavior information of the digital avatar, so as to better judge whether there is illegal behavior;
[0155] The screening module in the system can screen violations according to specific needs by setting the violation relevance screening interval; it can flexibly identify and process violations in a customized manner according to different application scenarios and standards;
[0156] The manual judgment module in the system can receive a set of suspected violations, make manual judgments, and enter the confirmed violations into the set of confirmed violations. This link fully combines the subjective judgment ability of people and can improve the accuracy of the system.
[0157] In summary, the violation detection system based on virtual social networks has the advantages of comprehensiveness, automation, efficiency, correlation analysis, flexibility, and manual judgment and processing, which helps to improve and enhance the construction of the virtual social environment and enhance the user experience.
[0158] The various variations and specific embodiments of the method for detecting violations based on a virtual social network in the aforementioned embodiment 1 are also applicable to the system for detecting violations based on a virtual social network in this embodiment. Through the aforementioned detailed description of the method for detecting violations based on a virtual social network, those skilled in the art can clearly understand the implementation method of the system for detecting violations based on a virtual social network in this embodiment, so for the sake of brevity of the specification, it will not be described in detail here.
[0159] In addition, the present application also provides an electronic device, including a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor. The transceiver, the memory, and the processor are respectively connected via a bus. When the computer program is executed by the processor, each process of the above-mentioned method for controlling output data is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0160] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A method for detecting illegal behaviors based on a virtual social network, characterized in that: The method is applied to a virtual social network, and comprises: Obtaining social behavior information of the user's digital avatar within a set time in the virtual social network; Extracting data from the digital avatar social behavior information to obtain digital avatar social action information and digital avatar social language information; Inputting the digital avatar social action information into a pre-built illegal action recognition model, performing feature extraction on the digital avatar social action information, and obtaining an illegal action feature set; Inputting the digital avatar social language information into a pre-built illegal language recognition model, performing feature extraction on the digital avatar social language information, and obtaining an illegal language feature set; Performing a correlation analysis on the illegal action feature set and the illegal language feature set to obtain a correlation feature matrix of the illegal action feature set and the illegal language feature set; in the correlation feature matrix, the correlation between each illegal action feature and each illegal language feature is recorded; Using the pre-set violation correlation screening interval, the relevant feature matrix is traversed and compared: Extract the illegal action features and illegal language features corresponding to the correlation within the illegal correlation screening interval to obtain a set of suspected illegal behaviors; Extract the illegal action features and illegal language features corresponding to the correlation between the screening areas that is greater than the illegal correlation, and obtain a set of confirmed illegal behaviors; Manually determine the behavioral features in the suspected violation set, enter the confirmed violation into the confirmed violation set, and handle the violation against the user based on the confirmed violation.
2. The method for detecting illegal behaviors based on a virtual social network as claimed in claim 1, characterized in that: The method for constructing the illegal action recognition model includes: Collect social action data of digital avatars, including normal and illegal behaviors, and manually annotate them; Preprocess the collected data, including data cleaning, denoising and data format conversion; A computer vision-based method is used to extract relevant features from the digital avatar social action data, including the speed, angle, amplitude and frequency of the action; Select a machine learning model for illegal action recognition; Divide the data set into a training set and a test set; use the training set data to train the model, and use the test set data to evaluate the performance and accuracy of the model; based on the evaluation results, tune and improve the model; The illegal action recognition model is deployed in the actual virtual social network environment; the illegal action recognition model is applied in the virtual social network to perform real-time illegal action recognition and extraction.
3. The method for detecting illegal behaviors based on a virtual social network as claimed in claim 1, characterized in that: The method for constructing the illegal language identification model includes: Collect social language information data containing normal and illegal behaviors and manually annotate them; Preprocess and clean the collected social language information data, including removing special characters, punctuation marks, and emoticons, and performing text segmentation to split long texts into words or phrases; Extract relevant features from the preprocessed text, including word frequency, syntactic structure, sentiment polarity, and topic model; Select a machine learning algorithm or deep learning model to build a model for identifying illegal language; Use labeled datasets to train, evaluate, and fine-tune the illegal language identification model; The illegal language recognition model is deployed in an actual virtual social network environment; the illegal language recognition model is applied in the virtual social network to perform real-time illegal language recognition and extraction.
4. The method for detecting illegal behaviors based on a virtual social network as claimed in claim 1, characterized in that: The method for obtaining a correlation feature matrix between the illegal action feature set and the illegal language feature set includes: The Spearman rank correlation coefficient is used to calculate the correlation between the digital avatar's illegal action features and the digital avatar's illegal language features; Using the obtained correlation analysis results, a correlation feature matrix is constructed; in the correlation feature matrix, rows represent the illegal action features of the digital avatar, columns represent the illegal language features of the digital avatar, and each element represents the correlation between corresponding features; Traverse all combinations of digital avatar illegal action features and digital avatar illegal language features, calculate the correlation between them, and fill the results into the corresponding positions of the relevant feature matrix.
5. The method for detecting illegal behaviors based on a virtual social network as claimed in claim 4, characterized in that: The relevant feature matrix is as follows: Among them, R nm It represents the correlation between the nth illegal action feature and the mth illegal language feature.
6. The method for detecting illegal behaviors based on a virtual social network as claimed in claim 5, characterized in that: The method for traversing and comparing the relevant feature matrix includes: Traverse all elements in the correlation feature matrix, where the elements represent the correlation between each violation action feature and each violation language feature; For each pair of illegal action features and illegal language features, the correlation is compared with the pre-set illegal correlation screening interval: If the relevance is greater than or equal to the minimum threshold of the violation relevance screening interval and less than or equal to the maximum threshold of the violation relevance screening interval, then the violation action feature and the violation language feature corresponding to the relevance are added to the suspected violation behavior set; If the relevance is greater than the maximum threshold of the violation relevance screening interval, the violation action feature and the violation language feature corresponding to the relevance are added to the confirmed violation behavior set.
7. The method for detecting illegal behaviors based on a virtual social network as claimed in claim 1, characterized in that: Users will be subject to violation actions based on confirmed violations, which may include warnings, account bans, and content deletions.
8. A violation detection system based on a virtual social network, characterized in that: The system comprises: A data acquisition module is used to acquire and send the social behavior information of the user's digital avatar in the virtual social network within a set time; A data extraction module is used to receive the digital avatar social behavior information, extract data from the digital avatar social behavior information, obtain the digital avatar social action information and the digital avatar social language information, and send them; The illegal behavior identification module is used to receive the digital avatar social action information and the digital avatar social language information, and use the pre-stored illegal action identification model to extract features from the digital avatar social action information to obtain an illegal action feature set; use the pre-stored illegal language identification model to extract features from the digital avatar social language information to obtain an illegal language feature set; and package the illegal action feature set and the illegal language feature set for transmission; A correlation analysis module is used to receive a set of illegal action features and a set of illegal language features; and to perform a correlation analysis on the set of illegal action features and the set of illegal language features, generate a correlation feature matrix, and send it; the correlation feature matrix describes the correlation between each illegal action feature and each illegal language feature; The screening module is used to receive the relevant feature matrix, and use the pre-set violation correlation screening interval to traverse and compare the relevant feature matrix: extract the violation action features and violation language features corresponding to the correlation within the violation correlation screening interval, obtain the suspected violation behavior set, and send it; extract the violation action features and violation language features corresponding to the correlation greater than the violation correlation screening interval, obtain the confirmed violation behavior set, and send it; A manual determination module is used to receive a set of suspected illegal behaviors, manually determine the behavior characteristics in the set of suspected illegal behaviors, enter the confirmed illegal behaviors into a set of confirmed illegal behaviors, and send it; The violation handling module is used to receive a set of confirmed violation behaviors and perform violation handling on the user according to the confirmed violation behaviors.
9. An electronic device for detecting illegal behaviors based on a virtual social network, comprising a bus, a transceiver, a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the transceiver, the memory, and the processor are connected via the bus, and characterized in that: When the computer program is executed by the processor, the steps in the method according to any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps in the method according to any one of claims 1 to 7 are implemented.
