Poison condition monitoring method and system

By acquiring and analyzing message data in the communication software, determining and marking drug-related users, and generating portraits of people, the problem of low efficiency in monitoring drug-related molecules in the prior art is solved, and efficient drug-related monitoring is achieved.

CN119578417APending Publication Date: 2025-03-07GUANGDONG DONGYU DETECTION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311344386.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-17
Publication Date
2025-03-07

AI Technical Summary

Technical Problem

The existing technology is difficult to efficiently monitor and analyze the online communication and transaction information of drug-related molecules, resulting in low monitoring efficiency.

Method used

By obtaining the message data in the communication software, mining and analysis, identifying drug-related users and tagging drug-related tags, extracting drug-related information to generate portraits of people, and displaying them to monitor personnel.

Benefits of technology

Automatic analysis and labeling of drug-related users is realized, reducing the difficulty and time spent in human analysis, and improving monitoring efficiency and effectiveness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119578417A_ABST
    Figure CN119578417A_ABST
Patent Text Reader

Abstract

According to the poison condition monitoring method and system, the message data in the communication software is acquired, the message data is mined and analyzed, the poison-related users in the communication software are determined and the poison-related labels are marked, and the poison-related users are automatically analyzed and the poison-related labels are marked, so that the difficulty and the consumed time of manual analysis are reduced, and the efficiency is improved; according to the method, the drug-related information of the corresponding drug-related user is extracted from the message data according to the drug-related label, a figure portrait is generated, the drug-related information comprises at least one of the activity area, the contact information, the drug type and the transaction information, and then the figure portrait is displayed, so that monitoring personnel can quickly and directly obtain the figure portrait of the drug-related person, and the monitoring efficiency is improved. Effective reference is provided for monitoring personnel, and the monitoring efficiency and effect can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of monitoring, and in particular to a drug monitoring method and system. Background Art

[0002] With the development of Internet technology, the communication and transaction methods of drug-related elements are gradually tending to be networked. The communication information and transaction methods of drug-related elements are increasing, which is not conducive to the monitoring of drug-related elements. Nowadays, drug-related elements still rely on offline understanding and acquisition, and artificial analysis, divergent search and tracking are carried out based on certain drug-related elements as the starting point, which is inefficient. If an electronic analysis and monitoring method can be provided, it will be helpful to greatly improve the monitoring efficiency of drug-related elements. Summary of the invention

[0003] The present application provides a method and system for monitoring drug status to solve at least one problem existing in the related art. The technical solution is as follows:

[0004] In a first aspect, an embodiment of the present application provides a method for monitoring drug status, comprising:

[0005] Get message data in communication software;

[0006] Mining and analyzing the message data to identify drug-related users in the communication software and marking them with drug-related tags;

[0007] Extracting drug-related information of the corresponding drug-related user from the message data according to the drug-related tag to generate a character portrait; the drug-related information includes at least one of activity area, contact information, drug type and transaction information;

[0008] The character portrait is displayed.

[0009] In one embodiment, the mining and analyzing of the message data to determine the drug-related users in the communication software and marking drug-related tags includes:

[0010] Determining a first related message from the message data according to a preset drug keyword, and determining a drug-related user who posted the first related message according to the first related message;

[0011] Extracting key drug-related information of the drug-related user from the message data according to preset drug-related keywords; the preset drug-related keywords include evaluation keywords and drug trafficking keywords;

[0012] The type of drug-related user is determined to be the first type or the second type according to the key drug-related information, and the first type is marked with a drug-related label of a suspected drug user, or the second type is marked with a drug-related label of a suspected drug dealer.

[0013] In one implementation, determining the type of the drug-related user as the first type or the second type according to the drug-related key information includes:

[0014] Respectively calculating the first number of the evaluation keywords and the second number of the drug trafficking keywords in the key drug-related information corresponding to each of the drug-related users;

[0015] When the first number is greater than the second number, the type of the drug-related user is determined to be the first type; or, when the first number is less than the second number, the type of the drug-related user is determined to be the second type.

[0016] In one embodiment, the drug monitoring method further comprises:

[0017] According to the preset drug keywords, the occurrence frequency of the drug name corresponding to each preset drug keyword is counted;

[0018] A display graph is generated according to the occurrence frequency, and the display graph is displayed.

[0019] In one embodiment, the drug monitoring method further comprises:

[0020] Performing data analysis on the message data to obtain second related information for a number of time periods; the second related information includes the drug name, trafficking city, transaction method, and transaction price;

[0021] Divide the occurrence frequencies according to a number of the time periods to obtain the periodic frequencies corresponding to the names of the drugs in each of the time periods;

[0022] Respectively counting the sales cities corresponding to each of the drug names, the transaction methods corresponding to each of the drug names, and the transaction prices corresponding to each of the drug names within a number of the time periods, and generating drug trend data or a drug trend chart;

[0023] The drug trend data or the drug trend chart is displayed.

[0024] In one embodiment, the drug monitoring method further comprises:

[0025] Analyze the message data and extract the transaction address;

[0026] The transaction address is monitored and the monitoring results are displayed.

[0027] In one embodiment, the drug monitoring method further comprises:

[0028] Acquire new message data in the communication software in real time or according to a preset time interval;

[0029] In response to the input target area, third relevant information of the target area in the new message data is identified and extracted, and the third relevant information is displayed and tracked.

[0030] In one embodiment, the drug monitoring method further comprises:

[0031] Get the input drug name;

[0032] Matching the drug name with the stored content of the database to determine the target keyword;

[0033] Acquiring popular science information of the target keyword from the database according to the target keyword; the popular science information includes synonyms of the target keyword and introduction content of the target keyword;

[0034] The popular science information is displayed.

[0035] In a second aspect, an embodiment of the present application provides a system for monitoring drug status, including:

[0036] An acquisition module, used to acquire message data in the communication software;

[0037] An analysis module, used to mine and analyze the message data, identify drug-related users in the communication software and mark them with drug-related tags;

[0038] An extraction module, configured to extract drug-related information of a corresponding drug-related user from the message data according to the drug-related label, and generate a character portrait; the drug-related information includes at least one of an activity area, contact information, the drug-related label, drug type, and transaction information;

[0039] A display module is used to display the character portrait.

[0040] In one embodiment, the analysis module comprises:

[0041] a determination unit, configured to determine a first related message from the message data according to a preset drug keyword, and determine a drug-related user who posted the first related message according to the first related message;

[0042] An extraction unit, configured to extract key drug-related information of the drug-related user from the message data according to preset drug-related keywords; the preset drug-related keywords include evaluation keywords and drug trafficking keywords;

[0043] An analysis unit is used to determine the type of drug-related user as the first type or the second type according to the key drug-related information, and mark the first type with a drug-related label of a suspected drug user or mark the second type with a drug-related label of a suspected drug dealer.

[0044] In a third aspect, an embodiment of the present application provides a drug monitoring device, including: a processor and a memory, wherein the memory stores instructions, and the instructions are loaded and executed by the processor to implement the above method.

[0045] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the above method is implemented when the computer program is executed.

[0046] The beneficial effects of the above technical solution include at least:

[0047] By acquiring message data from communication software, mining and analyzing the message data, determining drug-related users in the communication software and marking them with drug-related tags, automatically analyzing drug-related users and marking them with drug-related tags, the difficulty and time of manual analysis are reduced, which is conducive to improving efficiency; drug-related information of corresponding drug-related users is extracted from message data according to drug-related tags, and a character portrait is generated. The drug-related information includes at least one of activity area, contact information, drug type and transaction information, and then the character portrait is displayed so that monitoring personnel can view and quickly and directly obtain the character portrait of drug-related persons, providing effective reference for monitoring personnel, which is conducive to improving monitoring efficiency and effectiveness.

[0048] The above summary is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments and features described above, further aspects, embodiments and features of the present application will be readily apparent by reference to the accompanying drawings and the following detailed description. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] In the accompanying drawings, unless otherwise specified, the same reference numerals throughout the multiple drawings represent the same or similar parts or elements. These drawings are not necessarily drawn to scale. It should be understood that these drawings only depict some embodiments disclosed in the present application and should not be regarded as limiting the scope of the present application.

[0050] Figure 1 A flow chart of a method for monitoring drug status according to an embodiment of the present application;

[0051] Figure 2 This is a structural block diagram of a drug monitoring system according to an embodiment of the present application;

[0052] Figure 3 A schematic diagram of a character portrait in one embodiment of the present application;

[0053] Figure 4 A schematic diagram showing an embodiment of the present application;

[0054] Figure 5A schematic diagram of monitoring results of an embodiment of the present application;

[0055] Figure 6 This is a schematic diagram of group information according to an embodiment of the present application;

[0056] Figure 7 A schematic diagram of a search module according to an embodiment of the present application;

[0057] Figure 8 A schematic diagram of a hot search list according to an embodiment of the present application;

[0058] Fig. 9 This is a structural block diagram of a drug monitoring device according to an embodiment of the present application. DETAILED DESCRIPTION

[0059] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present application. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.

[0060] Reference Figure 1 , showing a flow chart of a drug monitoring method according to an embodiment of the present application, the present application embodiment provides a drug monitoring method, including steps S100-S400:

[0061] S100, obtaining message data in the communication software;

[0062] S200, mining and analyzing the message data, determining drug-related users in the communication software and marking drug-related tags;

[0063] S300, extracting drug-related information of corresponding drug-related users from message data according to drug-related tags, and generating a character portrait; the drug-related information includes at least one of activity area, contact information, drug type, and transaction information;

[0064] S400: Display the character portrait.

[0065] In an embodiment of the present application, by acquiring message data in a communication software, mining and analyzing the message data, determining drug-related users in the communication software and marking them with drug-related tags, automatically analyzing drug-related users and marking them with drug-related tags, the difficulty and time consumed in manual analysis are reduced, which is beneficial to improving efficiency; drug-related information of the corresponding drug-related user is extracted from the message data according to the drug-related tags, and a character portrait is generated, wherein the drug-related information includes at least one of activity areas, contact information, drug types, and transaction information; and then the character portrait is displayed so that monitoring personnel can view and quickly and directly obtain the character portrait of the drug-related person, providing an effective reference for monitoring personnel, which is beneficial to improving monitoring efficiency and effectiveness.

[0066] The drug monitoring method of the embodiment of the present application can be executed by an electronic control unit, a controller, a processor, etc. of a terminal such as a computer, a mobile phone, a tablet, a vehicle-mounted terminal, etc., and can also be executed by a cloud server.

[0067] Reference Figure 2 , shows a structural block diagram of a drug monitoring system according to an embodiment of the present application, the drug monitoring system at least includes an acquisition module, an analysis module, an extraction module and a display module. Among them:

[0068] An acquisition module, used to acquire message data in the communication software;

[0069] The analysis module is used to mine and analyze message data, identify drug-related users in communication software and label them with drug-related tags;

[0070] An extraction module is used to extract drug-related information of corresponding drug-related users from message data according to drug-related tags to generate a character portrait; the drug-related information includes at least one of activity area, contact information, drug-related tags, drug type and transaction information;

[0071] The display module is used to display character portraits.

[0072] In the embodiments of the present application, the above-mentioned drug situation monitoring method can be implemented through a drug situation monitoring system.

[0073] In an embodiment of the present application, the drug monitoring system also includes a statistical module, a trend module, a transaction monitoring module, a hot spot tracking module, a popular science module, a report module, a group module, a follow-up module and a search module.

[0074] In the embodiment of the present application, the acquisition module is used to acquire message data in the communication software. It should be noted that, according to the characteristics of the data source and business needs, the crawling process is created through the combination of components, the parameters are defined to configure the crawling rules, and the data acquisition tasks are quickly generated in a simple and flexible way to acquire the message data in the communication software, such as text content, pictures, videos, etc. In addition, the original message data collected in the communication software can be stored in the database after data cleaning and preprocessing, such as data deduplication, data format conversion, missing value filling, and data cleaning, so as to facilitate the subsequent further analysis of the message data in the database, and to discover the value and clues contained in the data. It should be noted that the time for collecting the message data in the communication software can be set independently, such as real-time acquisition or acquisition at preset intervals, so as to ensure the tracking of the latest messages.

[0075] In an embodiment of the present application, the analysis module is used to mine and analyze message data, identify drug-related users in the communication software and mark them with drug-related tags, introduce big data analysis technology to mine and analyze message data in the database, and mine valuable content, thereby providing meaningful reference for monitoring.

[0076] In some implementations, step S200, performing mining and analysis on message data, determining drug-related users in communication software and marking drug-related tags, includes steps S201-S203:

[0077] S201. Determine a first related message from message data according to a preset drug keyword, and determine a drug-related user who publishes the first related message according to the first related message.

[0078] Optionally, the preset drug keywords are set in advance by the monitoring personnel, and the preset drug keywords can be continuously updated and iterated according to the message data in the communication software.

[0079] S202. Extract key drug-related information of drug-related users from message data according to preset drug-related keywords.

[0080] It should be noted that, since there are many types of drug-related persons, such as drug addicts or drug dealers, in order to facilitate monitoring and improve detection results, drug-related persons are further subdivided in the embodiment of the present application. Similarly, the preset drug-related keywords are set in advance by the monitoring personnel, and the preset drug-related keywords can be continuously updated and iterated according to the message data in the communication software. For example, the preset drug-related keywords can include two major categories, evaluation keywords and drug trafficking keywords. In the embodiment of the present application, the key drug-related information of the drug-related users including the above-mentioned preset drug-related keywords can be extracted from the message data by presetting the drug-related keywords.

[0081] S203. Determine the type of drug-related user as the first type or the second type based on the key drug-related information, and mark the first type with a drug-related label of a suspected drug user or mark the second type with a drug-related label of a suspected drug dealer.

[0082] Optionally, the analysis module includes a determination unit, an extraction unit and an analysis unit, the determination unit is used to execute step S201, the extraction unit is used to execute step S202, and the analysis unit is used to execute step S203.

[0083] Optionally, determining the type of the drug-related user as the first type or the second type according to the drug-related key information in S203 includes S2031-S2032:

[0084] S2031. Calculate respectively the first number of evaluation keywords and the second number of drug trafficking keywords in the key drug-related information corresponding to each drug-related user.

[0085] S2032: When the first number is greater than the second number, determine that the type of drug-related users is the first type; or, when the first number is less than the second number, determine that the type of drug-related users is the second type.

[0086] Optionally, extract the key drug-related information corresponding to each drug-related user, and then calculate and count the first number of evaluation keywords and the second number of drug trafficking keywords in the key drug-related information. When the first number is greater than the second number, determine the type of the drug-related user as a suspected drug user, or, when the first number is less than the second number, determine the type of the drug-related user as a suspected drug dealer. It is understandable that by performing the same operation on each drug-related user, the type corresponding to each drug-related user can be obtained, and after obtaining the type corresponding to each drug-related user, a corresponding drug-related label is added, such as marking a suspected drug user with a drug-related label as a suspected drug user or marking a suspected drug dealer with a drug-related label as a suspected drug dealer, so that the monitoring personnel can intuitively understand what type of user the user is through the drug-related label, and conduct quick and effective monitoring.

[0087] In the embodiment of the present application, the extraction module is used to extract the drug-related information of the corresponding drug-related user from the message data according to the drug-related label to generate a character portrait. Optionally, after the analysis module analyzes and marks the drug-related label, all drug-related information of the drug-related user corresponding to the drug-related label can be extracted from the message data, thereby forming character portraits of different drug-related users, and the character portraits contain all drug-related information of the drug-related user.

[0088] In the embodiment of the present application, the display module is used to display the character portrait, such as Figure 3 As shown. Since the character portrait contains all the drug-related information of the drug-related user, the monitoring personnel can pay targeted attention to the drug-related user through the display module, and through the character portrait of the drug-related user, they can understand the information of the drug-related user and grasp the dynamics of the drug-related user, which is conducive to monitoring and arresting the drug-related user. In addition, the monitoring personnel can display relevant information by clicking on the corresponding "circle", for example, clicking on the "circle" of the activity area can display the relevant information of the activity area. For example, the monitoring personnel can induce and trade with the drug-related user through the registered account, thereby arresting the drug-related user. Optionally, the drug-related information includes but is not limited to the activity area, contact information, drug type, and transaction information, etc., and other embodiments may include one or more of them.

[0089] In the embodiment of the present application, the drug monitoring method further includes steps S211-S212, which can be performed by the statistical module:

[0090] S211. According to the preset drug keywords, count the frequency of occurrence of the drug name corresponding to each preset drug keyword

[0091] S212: Generate a display graph according to the frequency of occurrence, and display the display graph.

[0092] Optionally, the display graph is sent to the display module for display. According to the above-mentioned preset drug keywords, the frequency of occurrence of the drug name corresponding to each preset drug keyword can be counted, so as to understand which drug is currently more popular, and in order to enable monitoring personnel to more intuitively understand the statistical situation of the frequency of occurrence, a display graph is generated according to the frequency of occurrence, such as Figure 4 As shown, the display diagram is sent to the display module for display.

[0093] In the embodiment of the present application, the trend module is used to perform the following steps S221-S224:

[0094] S221. Analyze the message data to obtain second relevant information of several time periods.

[0095] Optionally, the data acquisition may be for acquiring message data within a period of time. In order to analyze trends, several time periods may be preset, and the length of each time period may be set according to actual needs. For example, if the message data acquired is several months, the time period may be set to one week, two weeks, or one month, and the message data may be analyzed to acquire the second related information of several time periods. The second related information includes, but is not limited to, the drug name, the city of sale, the transaction method, and the transaction price.

[0096] S222. Divide the occurrence frequency according to a number of time periods to obtain the periodic frequency corresponding to each drug name in each time period.

[0097] Optionally, the occurrence frequency is divided according to several time periods, for example, if the time period is 1 month, the periodic frequency corresponding to each drug name in each month can be obtained.

[0098] S223. Count the sales cities corresponding to each drug name, the transaction methods corresponding to each drug name, and the transaction prices corresponding to each drug name in a number of time periods, and generate drug trend data or a drug trend chart.

[0099] Optionally, for example, if the time period is 1 month, the sales cities corresponding to each drug name, the transaction methods corresponding to each drug name, and the transaction prices corresponding to each drug name are counted over several months, and drug trend data or a drug trend chart is generated.

[0100] S224. Display drug trend data or drug trend chart.

[0101] For example, the data is sent to a display module for display. It should be noted that the drug trend data is directly displayed on the page of the display module, or displayed in the form of a table, file, etc.

[0102] In the embodiment of the present application, the drug monitoring method further includes steps S231-S232, which are performed by the transaction monitoring module:

[0103] S231. Analyze the message data and extract the transaction address.

[0104] S232: Monitor the transaction address and display the monitoring result, specifically send it to the display module for display.

[0105] Optionally, the transaction monitoring module can analyze the message data to identify and extract the transaction address in the message data. Specifically, the blockchain + big data technology can be used to monitor specific transaction addresses, including the sender's address and the receiver's address, and then the monitoring results can be sent to the display module for display, thereby realizing the monitoring and analysis of the flow of funds at the drug dealer's transaction address, such as Figure 5 shown.

[0106] In the embodiment of the present application, the drug monitoring method further includes steps S241-S242, which are performed by the hotspot tracking module:

[0107] S241. Acquire new message data in the communication software in real time or according to a preset time interval.

[0108] S242. In response to the input target area, identify and extract third relevant information of the target area in the new message data, and display and track the third relevant information, specifically send it to the display module for display and tracking.

[0109] Optionally, the preset time interval can be set according to actual needs, and the hotspot tracking module obtains new message data in the communication software in real time or according to the preset time interval. When the monitoring personnel need to understand a specific target area, the monitoring personnel input the target area, and the hotspot tracking module responds to the input target area, identifies and extracts the third relevant information of the target area in the new message data, and sends the third relevant information to the display module for display tracking, so that the monitoring personnel can pay attention to the third relevant information of the target area. Among them, the third relevant information includes but is not limited to drug-related users, activity areas, contact information, drug-related tags, drug types, transaction information, transaction prices, etc.

[0110] In the embodiment of the present application, the drug monitoring method further includes steps S251-S254, which are performed by the popular science module:

[0111] S251. Obtain the input drug name.

[0112] S252. Match the drug name with the stored content of the database to determine the target keyword.

[0113] S253. Obtain popular science information of the target keyword from a database according to the target keyword.

[0114] S254, displaying the popular science information, specifically through a display module.

[0115] Optionally, when some people do not know about a certain drug or only know one of the names / code words / metaphors of a certain drug, the system matches the drug name with the storage content of the database according to the input drug name, determines the target keyword that is the same as or corresponding to the drug name, and then obtains popular science information of the target keyword from the database based on the target keyword. The popular science information includes synonyms of the target keyword such as metaphors / code words, introduction content of the target keyword, and price, etc. The popular science information is sent to the display module for display, which is conducive to understanding the content and market conditions of the drug.

[0116] In the embodiment of the present application, the reporting module is used to generate a monitoring report based on the collected message data, so that the monitoring personnel can understand the drug information through the monitoring report. For example, the monitoring report can include a data summary of the acquired message data, hot drugs, selling cities, transaction methods, prices, and market distribution analysis, and can be combined with a neural network module to perform trend prediction for reference by the monitoring personnel to improve the monitoring effect. Optionally, the report generation time interval can be set, for example, a monthly report can be generated every one month, or an annual report can be generated every one year.

[0117] In the embodiment of the present application, the group module is used for group management and group analysis. The group module can display the information of the people in the group and the chat history of the group, and analyze the group and the group members according to the content of the group. Among them, the group module can display the information of all groups, including group ID, group name, number of members, number of messages, latest release time, etc. Figure 6 As shown, all groups can be filtered in response to the filtering conditions input by the user, and in response to a click-details instruction, the group details page is jumped to view the detailed content of the group or the related content of the users in the group.

[0118] In the embodiment of the present application, the attention module has the functions of My attention and Focus attention. In My attention, you can follow specific accounts and specific groups, and you can set the account type for the account and group you follow, such as drug addicts, drug dealers, guarantors, etc. When the account or group you follow publishes content, you will be reminded in time, while in My attention, only a certain account of this account can see it. In the Focus attention function, on the basis of the My attention function, all accounts under one account can be seen, which is convenient for monitoring personnel to monitor.

[0119] In the embodiment of the present application, the search module is used for monitoring personnel to input search conditions for searching, and the searched content is displayed in the display module. For example, conditional screening and searching can be performed based on fields such as account ID, group, message keyword, rule and source, such as Figure 7 As shown, when certain accounts are searched, the account information to which the message belongs and all the chat records of the account can be viewed, the group information and group chat records to which certain chat records belong can be searched, the context messages and reply messages can be viewed, and so on.

[0120] In the embodiment of the present application, the hot spot tracking module is also used to generate a hot list by counting drug-related keywords according to a preset time length, and to generate a hot search list by counting search content of a preset time length, such as Figure 8 As shown, monitoring personnel can understand the real-time heat.

[0121] Reference Fig. 9 , shows a structural block diagram of a drug monitoring device according to an embodiment of the present application, the device includes: a memory 310 and a processor 320, the memory 310 stores instructions that can be run on the processor 320, and the processor 320 loads and executes the instructions to implement the drug monitoring method in the above embodiment. The number of the memory 310 and the processor 320 can be one or more.

[0122] In one embodiment, the device also includes a communication interface 330 for communicating with external devices and performing data exchange transmission. If the memory 310, the processor 320 and the communication interface 330 are implemented independently, the memory 310, the processor 320 and the communication interface 330 can be interconnected through a bus and complete mutual communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0123] Optionally, in a specific implementation, if the memory 310, the processor 320 and the communication interface 330 are integrated on a chip, the memory 310, the processor 320 and the communication interface 330 can communicate with each other through an internal interface.

[0124] An embodiment of the present application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the drug monitoring method provided in the above embodiment.

[0125] An embodiment of the present application also provides a chip, which includes a processor for calling and executing instructions stored in the memory from the memory, so that a communication device equipped with the chip executes the method provided by the embodiment of the present application.

[0126] An embodiment of the present application also provides a chip, including: an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected via an internal connection path, and the processor is used to execute the code in the memory. When the code is executed, the processor is used to execute the method provided in the embodiment of the application.

[0127] It should be understood that the processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. It is worth noting that the processor may be a processor supporting the advanced RISC machines (ARM) architecture.

[0128] Further, optionally, the above-mentioned memory may include a read-only memory and a random access memory, and may also include a non-volatile random access memory. The memory may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may include a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may include a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available. For example, static RAM (SRAM), dynamic random access memory (DRAM), synchronous DRAM (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct rambus RAM (DR RAM).

[0129] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function according to the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.

[0130] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine different embodiments or examples described in this specification and the features of different embodiments or examples, unless they are contradictory.

[0131] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0132] Any process or method description in the flow chart or otherwise described herein can be understood to represent a module, fragment or portion of a code including one or more executable instructions for implementing the steps of a specific logical function or process. And the scope of the preferred embodiment of the present application includes other implementations, in which the functions may not be performed in the order shown or discussed, including in a substantially simultaneous manner or in a reverse order according to the functions involved.

[0133] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, which can be embodied in any computer-readable medium for use by an instruction execution system, apparatus or device (such as a computer-based system, a system including a processor or other system that can fetch instructions from an instruction execution system, apparatus or device and execute instructions), or used in combination with these instruction execution systems, apparatuses or devices.

[0134] It should be understood that the various parts of the present application can be implemented with hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented with software or firmware stored in a memory and executed by a suitable instruction execution system. All or part of the steps of the above embodiment method can be completed by instructing the relevant hardware through a program, which can be stored in a computer-readable storage medium, and when the program is executed, it includes one of the steps of the method embodiment or a combination thereof.

[0135] In addition, each functional unit in each embodiment of the present application can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into one module. The above-mentioned integrated module can be implemented in the form of hardware or in the form of a software functional module. If the above-mentioned integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. The storage medium can be a read-only memory, a disk or an optical disk, etc.

[0136] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of various changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for monitoring drug status, characterized in that: include: Get message data in communication software; Mining and analyzing the message data to identify drug-related users in the communication software and marking them with drug-related tags; Extracting drug-related information of the corresponding drug-related user from the message data according to the drug-related tag to generate a character portrait; the drug-related information includes at least one of activity area, contact information, drug type and transaction information; The character portrait is displayed.

2. The method for monitoring drug status according to claim 1, characterized in that: The mining and analyzing of the message data to determine the drug-related users in the communication software and marking drug-related tags includes: Determining a first related message from the message data according to a preset drug keyword, and determining a drug-related user who posted the first related message according to the first related message; Extracting key drug-related information of the drug-related user from the message data according to preset drug-related keywords; the preset drug-related keywords include evaluation keywords and drug trafficking keywords; The type of drug-related user is determined to be the first type or the second type according to the key drug-related information, and the first type is marked with a drug-related label of a suspected drug user, or the second type is marked with a drug-related label of a suspected drug dealer.

3. The method for monitoring drug situation according to claim 2, characterized in that: The determining, according to the drug-related key information, that the type of the drug-related user is the first type or the second type includes: Respectively calculating the first number of the evaluation keywords and the second number of the drug trafficking keywords in the key drug-related information corresponding to each of the drug-related users; When the first number is greater than the second number, the type of the drug-related user is determined to be the first type; or, when the first number is less than the second number, the type of the drug-related user is determined to be the second type.

4. The method for monitoring drug status according to claim 1, characterized in that: The method for monitoring drug situation further comprises: According to the preset drug keywords, the occurrence frequency of the drug name corresponding to each preset drug keyword is counted; A display graph is generated according to the occurrence frequency, and the display graph is displayed.

5. The method for monitoring drug situation according to claim 4, characterized in that: The method for monitoring drug situation further comprises: Performing data analysis on the message data to obtain second related information for a number of time periods; the second related information includes the drug name, trafficking city, transaction method, and transaction price; Divide the occurrence frequencies according to a number of the time periods to obtain the periodic frequencies corresponding to the names of the drugs in each of the time periods; Respectively counting the sales cities corresponding to each of the drug names, the transaction methods corresponding to each of the drug names, and the transaction prices corresponding to each of the drug names within a number of the time periods, and generating drug trend data or a drug trend chart; The drug trend data or the drug trend chart is displayed.

6. The method for monitoring drug situation according to claim 1, characterized in that: The method for monitoring drug situation further comprises: Analyze the message data and extract the transaction address; The transaction address is monitored and the monitoring results are displayed.

7. The method for monitoring drug status according to claim 1, characterized in that: The method for monitoring drug situation further comprises: Acquire new message data in the communication software in real time or according to a preset time interval; In response to the input target area, third relevant information of the target area in the new message data is identified and extracted, and the third relevant information is displayed and tracked.

8. The method for monitoring drug situation according to claim 1, characterized in that: The method for monitoring drug situation further comprises: Get the input drug name; Matching the drug name with the stored content of the database to determine the target keyword; Acquiring popular science information of the target keyword from the database according to the target keyword; the popular science information includes synonyms of the target keyword and introduction content of the target keyword; The popular science information is displayed.

9. A drug monitoring system, characterized in that: include: An acquisition module, used to acquire message data in the communication software; An analysis module, used to mine and analyze the message data, identify drug-related users in the communication software and mark them with drug-related tags; An extraction module, configured to extract drug-related information of a corresponding drug-related user from the message data according to the drug-related label, and generate a character portrait; the drug-related information includes at least one of an activity area, contact information, the drug-related label, drug type, and transaction information; A display module is used to display the character portrait.

10. The drug monitoring system according to claim 9, characterized in that: The analysis module comprises: a determination unit, configured to determine a first related message from the message data according to a preset drug keyword, and determine a drug-related user who posted the first related message according to the first related message; An extraction unit, configured to extract key drug-related information of the drug-related user from the message data according to preset drug-related keywords; the preset drug-related keywords include evaluation keywords and drug trafficking keywords; An analysis unit is used to determine the type of drug-related user as the first type or the second type according to the key drug-related information, and mark the first type with a drug-related label of a suspected drug user or mark the second type with a drug-related label of a suspected drug dealer.

Citation Information

Patent Citations

  • Personnel portrait analysis method and device and storage medium

    CN107633022A

  • Information processing method and device, medium and equipment

    CN112668800A