CN112559679A - Method, device, equipment and storage medium for detecting spreading force of new political law media - Google Patents

Method, device, equipment and storage medium for detecting spreading force of new political law media Download PDF

Info

Publication number
CN112559679A
CN112559679A CN202011308025.XA CN202011308025A CN112559679A CN 112559679 A CN112559679 A CN 112559679A CN 202011308025 A CN202011308025 A CN 202011308025A CN 112559679 A CN112559679 A CN 112559679A
Authority
CN
China
Prior art keywords
political
new
media data
media
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011308025.XA
Other languages
Chinese (zh)
Other versions
CN112559679B (en
Inventor
刘建华
刘冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Yibiaozhi Technology Co ltd
Original Assignee
Beijing Yibiaozhi Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Yibiaozhi Technology Co ltd filed Critical Beijing Yibiaozhi Technology Co ltd
Priority to CN202011308025.XA priority Critical patent/CN112559679B/en
Publication of CN112559679A publication Critical patent/CN112559679A/en
Application granted granted Critical
Publication of CN112559679B publication Critical patent/CN112559679B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • G06F16/3346Query execution using probabilistic model
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/332Query formulation
    • G06F16/3329Natural language query formulation or dialogue systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/18Legal services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Tourism & Hospitality (AREA)
  • Mathematical Physics (AREA)
  • Computational Linguistics (AREA)
  • Technology Law (AREA)
  • Probability & Statistics with Applications (AREA)
  • Human Computer Interaction (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a method for detecting the spreading force of a new political law medium, which comprises the following steps: acquiring new media data of a government department to be detected; inputting the new media data into a pre-trained political news classification model to obtain new political media data; and calculating the transmission power of the new political media according to the new political media data. According to the method for detecting the new political medium transmission capacity, objective data such as manuscripts and audience behavior data issued by a plurality of new medium channels are collected, quantitative analysis is conducted on the new medium transmission capacity of government departments, and the real-time performance, the objectivity and the accuracy of detection results are greatly improved.

Description

Method, device, equipment and storage medium for detecting spreading force of new political law media
Technical Field
The invention relates to the technical field of new media, in particular to a method, a device, equipment and a storage medium for detecting the spreading force of a political and legal new media.
Background
In recent years, with the rapid development of internet technology and 5G technology, various media propagation channels are emerging continuously, such as new media like wechat public numbers, microblogs, jitters, today's headlines, etc., compared with traditional media, the propagation of new media emphasizes the interaction with audiences, such as praise, comment, forwarding, etc.
In the current political field, the media publicity department for measurement and evaluation is mainly based on the measurement standards of the traditional media, such as the number of issued documents, the reading amount and the like, the data source of the traditional method is mainly reported by all departments, the real-time performance and the objectivity of the data have great problems, and no specific quantitative index exists aiming at the characteristic that the interactivity is more emphasized by the new media, so that the transmission capability index system of the traditional media cannot be used for measuring the transmission capability of the new media.
Disclosure of Invention
The embodiment of the disclosure provides a method, a device, equipment and a storage medium for detecting the spreading force of a new political law medium. The following presents a simplified summary in order to provide a basic understanding of some aspects of the disclosed embodiments. This summary is not an extensive overview and is intended to neither identify key/critical elements nor delineate the scope of such embodiments. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description that is presented later.
In a first aspect, an embodiment of the present disclosure provides a method for detecting a new political media dissemination ability, including:
acquiring new media data of a government department to be detected;
inputting new media data into a pre-trained political news classification model to obtain new political media data;
and calculating the transmission power of the new political media according to the new political media data.
In one embodiment, after acquiring new media data of a government department to be detected, the method further comprises:
performing word segmentation processing and vectorization processing on the text of the new media data to obtain vectorized text data;
and extracting key words in the vectorized text data by adopting a TF-IDF algorithm.
In one embodiment, before inputting new media data into the pre-trained political news classification model, the method further comprises:
acquiring a marked political domain news corpus;
performing word segmentation processing and vectorization processing on text data in a news corpus to obtain vectorized text data;
extracting keywords of the vectorized text data by adopting a TF-IDF algorithm;
and training a political news classification model according to the keywords.
In one embodiment, calculating the spreading power of the new political media according to the new political media data comprises the following steps:
and calculating the spreading power of the new political and legal media according to the number of publications, the reading number, the influence, the number of prawns, the number of fans, the number of comments and the number of political and legal correlations in the new media data.
In one embodiment, the political relevance number is obtained according to the number of articles of the political new media acquired by the political news classification model.
In one embodiment, calculating the influence comprises:
acquiring articles to be calculated in new political media data and all news articles collected in a preset time period;
calculating the similarity between the articles to be calculated and all collected news articles;
adding the news articles with the similarity larger than a preset threshold into a similar article list;
and obtaining the influence value according to the number of the articles in the similar article list.
In a second aspect, an embodiment of the present disclosure provides a device for detecting a spreading force of a new political law medium, including:
the acquisition module is used for acquiring new media data of a government department to be detected;
the classification module is used for inputting the new media data into a pre-trained political news classification model to obtain new media data of the politics;
and the calculation module is used for calculating the transmission power of the new political media according to the new political media data.
In a third aspect, the disclosed embodiment provides a device for detecting the spreading force of a new political media, which is characterized by comprising a processor and a memory storing program instructions, wherein the processor is configured to execute the method for detecting the spreading force of the new political media provided by the above embodiment when executing the program instructions.
In a fourth aspect, the disclosed embodiment provides a computer-readable medium, which is characterized by having computer-readable instructions stored thereon, where the computer-readable instructions are executable by a processor to implement the method for detecting the spreading power of a new political media provided by the above embodiment.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the method for detecting the spreading force of the new political media, objective data such as manuscripts and audience behavior data issued by a plurality of new media channels are collected, data are analyzed quantitatively, the spreading force of the new media of government departments is detected, and the real-time property, the accuracy and the objectivity of detection results are greatly improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic flow diagram illustrating a method for political new media transmissibility detection according to an exemplary embodiment;
FIG. 2 is a schematic flow diagram illustrating a method of training a political news classification model in accordance with an exemplary embodiment;
FIG. 3 is a flowchart illustrating a method of operating a political news classification model according to an exemplary embodiment;
FIG. 4 is a flow diagram illustrating a method of impact force calculation in accordance with an exemplary embodiment;
fig. 5 is a schematic structural diagram illustrating a device for detecting a new political media dissemination ability according to an exemplary embodiment;
FIG. 6 is a schematic diagram illustrating a political new media transmissibility detection apparatus in accordance with an exemplary embodiment;
FIG. 7 is a schematic diagram illustrating a computer storage medium in accordance with an exemplary embodiment.
Detailed Description
So that the manner in which the features and elements of the disclosed embodiments can be understood in detail, a more particular description of the disclosed embodiments, briefly summarized above, may be had by reference to the embodiments, some of which are illustrated in the appended drawings. In the following description of the technology, for purposes of explanation, numerous details are set forth in order to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown in simplified form in order to simplify the drawing.
The method for detecting the spreading force of the new political media provided by the embodiment of the application will be described in detail with reference to fig. 1 to 4.
Referring to fig. 1, the method specifically includes the following steps.
S101, new media data of a government department to be detected are obtained.
In an exemplary scenario, a new media dissemination effort of a certain government department needs to be detected, and new media data that has been published by the department within a preset time period is first acquired. For example, new media data that the department has published within one month is acquired.
The new media data may include media data such as WeChat data, microblog data, tremble data, today's headline data, and the like.
S102, inputting the new media data into a pre-trained political news classification model to obtain new media data of the political law.
In a possible implementation manner, the acquired new media data may not be new media data related to the politics, so the acquired new media data is firstly input into a politics news classification model trained in advance to obtain new media data related to the politics field.
Specifically, word segmentation processing and vectorization processing are carried out on the text of the obtained new media data to obtain vectorized text data, the inverse document frequency of each word is calculated by adopting a TF-IDF algorithm, the key words in the vectorized text data are extracted according to the inverse document frequency, and the key words are input into a pre-trained political news classification model to obtain media data related to the political field.
Fig. 3 is a schematic flow chart of a method for operating a political news classification model according to an exemplary embodiment, and as shown in fig. 3, a trained political news classification model is loaded first, then text data is obtained, word segmentation and vectorization are performed on the text to obtain vectorized text data, a TF-IDF algorithm is used to extract keywords in the vectorized text data, the keywords are input into the classification model for classification, new media data related to the political field is obtained, and classification results are stored.
In one exemplary scenario, training the political news classification model is included before inputting new media data into the pre-trained political news classification model.
Specifically, a marked political field news corpus is obtained, in a possible implementation manner, relevant political corpus is captured from a new media platform such as WeChat public number, today's headline and the like by using a crawler technology, preprocessing operations such as format processing and duplicate removal are carried out to obtain 43774 articles, and the articles are marked manually to obtain a political 1875 article, a public security 6647 article, an inspection 8404 article, a court 8720 article, a judicial 8021 article, a political 7301 article and other 2806 articles.
Performing word segmentation processing and vectorization processing on text data in a news corpus to obtain vectorized text data, extracting keywords of the vectorized text data by adopting a TF-IDF algorithm, and training a political news classification model according to the keywords.
Fig. 2 is a schematic flow chart of a method for training a political news classification model according to an exemplary embodiment, and as shown in fig. 2, training text data, that is, a labeled political news corpus is obtained, then word segmentation and vectorization are performed on texts in the corpus, a TF-IDF algorithm is used to extract keywords of the vectorized text data, the political news classification model is trained according to the keywords, verification is performed by using a verification set, and if the classification model meets requirements, the training is stopped, and the trained classification model is stored.
According to this step, new media data related to the political field can be obtained.
S103, calculating the spreading power of the new political media according to the new political media data.
In order to adapt to the form characteristics of the new media, the embodiment of the disclosure calculates the spreading power of the new political media according to the number of releases, the number of read data, the influence, the number of prawns, the number of fans, the number of comments and the number of political relations in the new media data.
In one possible implementation, the new media data may include WeChat data, microblog data, tremble data, and today's top data.
The WeChat data comprises article release number, release times, average reading number, highest reading number, influence, average praise number, highest praise number and political relevant number. The microblog data comprise microblog release number, original microblog number, bean vermicelli number, forwarding number, comment number, average praise number and highest praise number. The jittering data comprises release number, fan number, comment number, share number, average praise number and highest praise number. The current data comprises publication number, vermicelli number, reading number, comment number, average praise number, highest praise number and political correlation number.
Generally, users publish articles in WeChat and today, and political relevance numbers are set up in order to obtain the number of published articles related to the political field. In one possible implementation, the number of articles related to the political field obtained according to the political news classification model is the political relevance number.
For example, the police department may obtain the documents related to the police according to the classification model, the auditorium may obtain the documents related to the auditorium according to the classification model, and the court may obtain the documents related to the court.
Generally, there is no forward load of the micro-letter articles and the headpiece articles, and some articles have no marked source, and the forward load of a certain article needs to be calculated in order to know the influence of the article issued by the government department.
Fig. 4 is a schematic diagram of calculating influence of an article, and as shown in fig. 4, calculating influence of an article includes: the method comprises the steps of obtaining articles to be calculated in political new media data and all news articles collected in a preset time period, preprocessing the obtained articles, including utilizing a natural language processing technology to perform word segmentation on the obtained articles, performing feature word extraction to form feature parameters of texts, then calculating the similarity between the articles to be calculated and all collected news articles on a network, adding the network news articles with the similarity larger than a preset threshold value into a similar article list, and obtaining an influence value according to the number of the articles in the similar article list. According to the step, the articles similar to the articles sent by the government department and flowing on the network can be obtained, and further the forwarding amount of the articles sent by the government department, namely the influence of the articles sent by the government department, can be obtained.
Further, according to the new media data of the politics law, the spreading force of the new media is calculated. In a possible implementation manner, the wechat spreading capacity, the microblog spreading capacity, the tremble spreading capacity and the today's headline spreading capacity are respectively calculated, and the spreading capacity of the political new media is calculated according to the preset weights of the wechat spreading capacity, the microblog spreading capacity, the tremble spreading capacity and the today's headline spreading capacity.
In particular, the WeChat propagation force N1The calculation of (c) is as follows:
Figure BDA0002788822990000061
wherein N ismaxMaximum number of published articles, N, representing all departments within a statistical range111F, representing the number of articles released in the current department to be detectedmaxMaximum value of number of releases, N, of all departments within a statistical range112Indicating number of releases of current department to be detectedThe number of the first and second groups is,
Figure BDA0002788822990000062
maximum value of average reading number of all departments in statistical range, N121Indicating the average reading number of the current department to be detected, RmaxMaximum value of highest read number, N, for all departments within the statistical range122Indicating the highest reading number of the current department to be examined, ImaxMaximum value of influence, N, representing all departments within a statistical range123Indicating the influence of the currently examined department,
Figure BDA0002788822990000063
maximum value of average praise number of all departments in statistical range, N131Represents the average number of praise, Z, of the current department to be detectedmaxMaximum value of maximum like number of all departments in the statistical range, N132Representing the highest praise number, C, of the current department to be detectedmaxMaximum value of the political news related number, N, representing all departments within the statistical range141And showing the political relevant number of the current department to be detected.
Wherein, the selection of the weight meets the standardized condition:
Figure BDA0002788822990000071
microblog propagation force N2The calculation of (c) is as follows:
Figure BDA0002788822990000072
Nmaxmaximum number of published articles, N, representing all departments within a statistical range211Number of articles released from current department to be inspected, YmaxThe maximum value N of the number of original microblogs released by all departments in the statistical range is represented212Representing the number of original microblogs of the current department to be detected, BmaxRepresenting fans of all departments within a statistical rangeMaximum value, N221Number of fans indicating current department to be examined, ImaxMaximum value of the number of retransmissions representing all departments within the statistical range, N222Indicating the number of forwardings, P, of the current department to be examinedmaxMaximum number of comments, N, representing all departments within a statistical range223The number of comments of the department currently to be detected,
Figure BDA0002788822990000073
maximum value of average praise number of all departments in statistical range, N231Represents the average number of praise, Z, of the current department to be detectedmaxMaximum value of maximum like number of all departments in the statistical range, N232And representing the highest praise number of the current department to be detected.
Wherein, the selection of the weight meets the standardized condition:
Figure BDA0002788822990000074
tremble sound transmission force N3The calculation of (c) is as follows:
Figure BDA0002788822990000081
wherein N ismaxMaximum number of published articles, N, representing all departments within a statistical range311Indicating the number of publications currently in the department to be examined, BmaxMaximum number of fans representing all departments within the statistical range, N321Number of fans, P, representing current department to be examinedmaxMaximum number of comments, N, representing all departments within a statistical range322Number of comments indicating current department to be examined, ImaxMaximum value of the number of retransmissions representing all departments within the statistical range, N323Indicating the forwarding number of the department currently to be detected,
Figure BDA0002788822990000082
means average of all departments within the statistical rangeMaximum value of the number of praise, N331Represents the average number of praise, Z, of the current department to be detectedmaxMaximum value of maximum like number of all departments in the statistical range, N332And representing the highest praise number of the current department to be detected.
Wherein, the selection of the weight meets the standardized condition:
Figure BDA0002788822990000083
today's first item transmission force N4The calculation of (c) is as follows:
Figure BDA0002788822990000084
wherein N ismaxMaximum number of published articles, N, representing all departments within a statistical range411Number of articles released from current department to be inspected, BmaxMaximum number of fans representing all departments within the statistical range, N421Indicating the number of fans currently in the department to be detected, RmaxMaximum value of reading number of all departments in statistical range, N422Indicating the number of readings, P, of the current department to be examinedmaxMaximum number of comments, N, representing all departments within a statistical range423The number of comments of the department currently to be detected,
Figure BDA0002788822990000085
maximum value of average praise number of all departments in statistical range, N431Represents the average number of praise, Z, of the current department to be detectedmaxMaximum value of maximum like number of all departments in the statistical range, N432Representing the highest praise number, C, of the current department to be detectedmaxMaximum value of political correlation number, N, representing all departments within a statistical range441And showing the political relevant number of the current department to be detected.
Wherein, the selection of the weight meets the standardized condition:
Figure BDA0002788822990000091
after obtaining the WeChat spreading power, the microblog spreading power, the tremble spreading power and the today's first spreading power, calculating the new media data spreading power NCI of the government department according to the preset weight:
NCI=w1*N1+w2*N2+w3*N3+w4*N4
also, the weights satisfy the normalization condition:
Figure BDA0002788822990000092
the weights of the propagation channels may be set by a person skilled in the art, and the embodiment of the present disclosure is not particularly limited. According to this step, the new media transmission power of the government department to be detected can be calculated. If the new media transmission power of a plurality of departments needs to be sequenced, the new media transmission power of each department can be respectively calculated according to the method.
According to the method for detecting the spreading power of the new political media, provided by the embodiment of the disclosure, objective data such as manuscripts and audience behavior data issued by a plurality of new media channels are collected, the spreading power of the new media of a government department is detected, and the real-time performance, the accuracy and the objectivity of a detection result are greatly improved.
The embodiment of the present disclosure further provides a device for detecting the propagation power of the new political media, where the device is configured to execute the method for detecting the propagation power of the new political media according to the foregoing embodiment, as shown in fig. 5, the device includes:
an obtaining module 501, configured to obtain new media data of a government department to be detected;
the classification module 502 is used for inputting new media data into a pre-trained political news classification model to obtain new political media data;
and the calculating module 503 is configured to calculate the spreading power of the new political media according to the new political media data.
It should be noted that, when the detection apparatus for the new political media transmission capability provided in the foregoing embodiment executes the detection method for the new political media transmission capability, the division of the functional modules is merely exemplified, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules, so as to complete all or part of the functions described above. In addition, the device for detecting the propagation power of the new political media and the method for detecting the propagation power of the new political media provided by the embodiments belong to the same concept, and details of the implementation process are shown in the method embodiments and are not described herein.
In a third aspect, an embodiment of the present disclosure further provides an electronic device corresponding to the method for detecting the new political affairs media spreading force provided in the foregoing embodiment, so as to execute the method for detecting the new political affairs media spreading force.
Please refer to fig. 6, which illustrates a schematic diagram of an electronic device according to some embodiments of the present application. As shown in fig. 6, the electronic apparatus includes: the processor 600, the memory 601, the bus 602 and the communication interface 603, wherein the processor 600, the communication interface 603 and the memory 601 are connected through the bus 602; the memory 601 stores a computer program that can be executed on the processor 600, and the processor 600 executes the method for detecting the new political affairs media transmission capability provided by any one of the foregoing embodiments of the present application when executing the computer program.
The Memory 601 may include a high-speed Random Access Memory (RAM) and may further include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 603 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
Bus 602 can be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 601 is used for storing a program, and the processor 600 executes the program after receiving an execution instruction, and the method for detecting the new political affairs media transmission capability disclosed by any of the embodiments of the present application may be applied to the processor 600, or implemented by the processor 600.
Processor 600 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 600. The Processor 600 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 601, and the processor 600 reads the information in the memory 601 and performs the steps of the above method in combination with the hardware thereof.
The electronic device provided by the embodiment of the application and the method for detecting the propagation force of the new political and legal media provided by the embodiment of the application have the same beneficial effects as the method adopted, operated or realized by the electronic device.
In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium corresponding to the method for detecting the spreading force of the new political affairs medium provided in the foregoing embodiment, please refer to fig. 7, which illustrates a computer-readable storage medium, which is an optical disc 700, on which a computer program (i.e., a program product) is stored, and when the computer program is executed by a processor, the computer program performs the method for detecting the spreading force of the new political affairs medium provided in any of the foregoing embodiments.
It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory, or other optical and magnetic storage media, which are not described in detail herein.
The computer-readable storage medium provided by the above embodiment of the present application and the method for detecting the spreading force of the political novelty media provided by the embodiment of the present application have the same beneficial effects as the method adopted, operated or implemented by the application program stored in the computer-readable storage medium.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A method for detecting the spreading force of new political media is characterized by comprising the following steps:
acquiring new media data of a government department to be detected;
inputting the new media data into a pre-trained political news classification model to obtain new political media data;
and calculating the transmission power of the new political media according to the new political media data.
2. The method of claim 1, wherein after acquiring new media data of the government department to be detected, further comprising:
performing word segmentation processing and vectorization processing on the text of the new media data to obtain vectorized text data;
and extracting key words in the vectorized text data by adopting a TF-IDF algorithm.
3. The method of claim 1, wherein prior to entering the new media data into a pre-trained political news classification model, further comprising:
acquiring a marked political domain news corpus;
performing word segmentation processing and vectorization processing on the text data in the news corpus to obtain vectorized text data;
extracting key words of the vectorized text data by adopting a TF-IDF algorithm;
and training the political news classification model according to the keywords.
4. The method according to claim 1, wherein calculating the transmissibility of the political new media based on the political new media data comprises:
and calculating the spreading power of the new political and legal media according to the number of publications, the number of reading, the influence, the number of praise, the number of fan, the number of comments and the number of political and legal correlations in the new media data.
5. The method of claim 4, wherein the political relevance numbers are obtained from the number of articles of political new media obtained from a political news taxonomy model.
6. The method of claim 4, wherein calculating the influence comprises:
acquiring articles to be calculated in the new political media data and all news articles collected in a preset time period;
calculating the similarity between the article to be calculated and all collected news articles;
adding the news articles with the similarity larger than a preset threshold into a similar article list;
and obtaining the influence value according to the quantity of the articles in the similar article list.
7. A detection device for political new media transmission force is characterized by comprising:
the acquisition module is used for acquiring new media data of a government department to be detected;
the classification module is used for inputting the new media data into a pre-trained political news classification model to obtain political new media data;
and the calculation module is used for calculating the transmission power of the new political media according to the new political media data.
8. The apparatus of claim 7, further comprising:
the preprocessing module is used for performing word segmentation processing and vectorization processing on the text of the new media data to obtain vectorized text data;
and extracting key words in the vectorized text data by adopting a TF-IDF algorithm.
9. A device for detecting the spreading force of a new political medium, comprising a processor and a memory storing program instructions, wherein the processor is configured to execute the method for detecting the spreading force of a new political medium according to any one of claims 1 to 6 when executing the program instructions.
10. A computer readable medium having computer readable instructions stored thereon which are executable by a processor to implement a method of detecting the transmissibility of a political new medium according to any one of claims 1 to 6.
CN202011308025.XA 2020-11-19 2020-11-19 Political new media propagation force detection method, device, equipment and storage medium Active CN112559679B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011308025.XA CN112559679B (en) 2020-11-19 2020-11-19 Political new media propagation force detection method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011308025.XA CN112559679B (en) 2020-11-19 2020-11-19 Political new media propagation force detection method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112559679A true CN112559679A (en) 2021-03-26
CN112559679B CN112559679B (en) 2024-06-21

Family

ID=75044106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011308025.XA Active CN112559679B (en) 2020-11-19 2020-11-19 Political new media propagation force detection method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112559679B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116634230A (en) * 2023-05-24 2023-08-22 天津大学 Throwing method based on multi-channel new media hot event spreading effect analysis

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160085869A1 (en) * 2013-05-13 2016-03-24 Walid Magdy Social media content analysis and output
CN106776841A (en) * 2016-11-28 2017-05-31 福建亿榕信息技术有限公司 The acquisition methods and system of a kind of internet public feelings event propagation index
CN109086289A (en) * 2018-06-07 2018-12-25 杜泽壮 A kind of media data processing method, client, medium and equipment
US20190012374A1 (en) * 2015-05-08 2019-01-10 Thomson Reuters Global Resources Unlimited Company Systems and methods for cross-media event detection and coreferencing
CN110147474A (en) * 2017-10-24 2019-08-20 数熙科技(北京)有限公司 A kind of political situation of the time class news mobile terminal spread index statistical method and device
US20190379628A1 (en) * 2018-06-07 2019-12-12 Arizona Board Of Regents On Behalf Of Arizona State University Method and apparatus for detecting fake news in a social media network
CN110727713A (en) * 2019-10-16 2020-01-24 杜泽壮 Method and device for inquiring spreading index of time news and storage medium
US20200201896A1 (en) * 2018-12-21 2020-06-25 S&P Global Inc. Controversy Detection, Impact Assessment And Impact Prediction Based On Social Media Data
CN111666428A (en) * 2020-06-04 2020-09-15 杭州凡闻科技有限公司 Network media propagation evaluation method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160085869A1 (en) * 2013-05-13 2016-03-24 Walid Magdy Social media content analysis and output
US20190012374A1 (en) * 2015-05-08 2019-01-10 Thomson Reuters Global Resources Unlimited Company Systems and methods for cross-media event detection and coreferencing
CN106776841A (en) * 2016-11-28 2017-05-31 福建亿榕信息技术有限公司 The acquisition methods and system of a kind of internet public feelings event propagation index
CN110147474A (en) * 2017-10-24 2019-08-20 数熙科技(北京)有限公司 A kind of political situation of the time class news mobile terminal spread index statistical method and device
CN109086289A (en) * 2018-06-07 2018-12-25 杜泽壮 A kind of media data processing method, client, medium and equipment
US20190379628A1 (en) * 2018-06-07 2019-12-12 Arizona Board Of Regents On Behalf Of Arizona State University Method and apparatus for detecting fake news in a social media network
US20200201896A1 (en) * 2018-12-21 2020-06-25 S&P Global Inc. Controversy Detection, Impact Assessment And Impact Prediction Based On Social Media Data
CN110727713A (en) * 2019-10-16 2020-01-24 杜泽壮 Method and device for inquiring spreading index of time news and storage medium
CN111666428A (en) * 2020-06-04 2020-09-15 杭州凡闻科技有限公司 Network media propagation evaluation method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
张宏邦;: "公众视角:政法新媒体发展表征与路径优化――基于陕甘宁29市149县(区)的调查", 西南民族大学学报(人文社科版), no. 10 *
张宏邦;: "公众视角:政法新媒体发展表征与路径优化――基于陕甘宁29市149县(区)的调查", 西南民族大学学报(人文社科版), no. 10, 10 October 2020 (2020-10-10) *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116634230A (en) * 2023-05-24 2023-08-22 天津大学 Throwing method based on multi-channel new media hot event spreading effect analysis
CN116634230B (en) * 2023-05-24 2024-03-22 天津大学 Throwing method based on multi-channel new media hot event spreading effect analysis

Also Published As

Publication number Publication date
CN112559679B (en) 2024-06-21

Similar Documents

Publication Publication Date Title
CN106778241B (en) Malicious file identification method and device
CN106599155B (en) Webpage classification method and system
CN107463605B (en) Method and device for identifying low-quality news resource, computer equipment and readable medium
JP7153004B2 (en) COMMUNITY Q&A DATA VERIFICATION METHOD, APPARATUS, COMPUTER DEVICE, AND STORAGE MEDIUM
CN108090216B (en) Label prediction method, device and storage medium
CN106874253A (en) Recognize the method and device of sensitive information
CN110309251B (en) Text data processing method, device and computer readable storage medium
WO2017173093A1 (en) Method and device for identifying spam mail
CN111797239A (en) Application program classification method and device and terminal equipment
CN111967503B (en) Construction method of multi-type abnormal webpage classification model and abnormal webpage detection method
CN109933648B (en) Real user comment distinguishing method and device
CN113656660A (en) Cross-modal data matching method, device, equipment and medium
Budhiraja et al. A supervised learning approach for heading detection
Choi et al. Using topic modeling and adversarial neural networks for fake news video detection
CN116719997A (en) Policy information pushing method and device and electronic equipment
CN112559679A (en) Method, device, equipment and storage medium for detecting spreading force of new political law media
CN113965377A (en) Attack behavior detection method and device
CN112818206A (en) Data classification method, device, terminal and storage medium
CN116089732B (en) User preference identification method and system based on advertisement click data
CN115801455B (en) Method and device for detecting counterfeit website based on website fingerprint
CN112115280A (en) Full-media influence propagation analysis method and device
CN114884686B (en) PHP threat identification method and device
CN116189215A (en) Automatic auditing method and device, electronic equipment and storage medium
CN110598115A (en) Sensitive webpage identification method and system based on artificial intelligence multi-engine
CN111813964B (en) Data processing method based on ecological environment and related equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant