Information output method and device
By acquiring and analyzing real-time and historical public opinion information and generating public opinion assessment information, it solves the problem of rapid spread of public opinion and difficulty in monitoring, and achieves effective assessment and management of public opinion trends.
Patent Information
- Application Number
- CN201810049253.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2018-01-18
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2038-01-18
Smart Images

Figure CN110110250B
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of computer technology, specifically to the field of Internet technology, and in particular to an information output method and device. Background Art
[0002] Public sentiment is the abbreviation of "public opinion situation", which usually refers to the social attitudes generated and held by the public as the subject towards the social managers, enterprises, individuals and other organizations as the object and their political, social, moral and other orientations within a certain social space, surrounding the occurrence, development and changes of intermediary social events.
[0003] Public opinion information is a description and reflection of public opinion. In theory, public opinion information usually refers to the information, news, messages, intelligence, instructions, data and signals that objectively reflect the state of public opinion and its movement during the process of collecting, sorting, analyzing, reporting, using and feedback of people's social and political attitudes.
[0004] In the era of big data on the Internet, the spread and evolution of public opinion on major emergencies are becoming increasingly diverse and multi-faceted. In particular, with the popularization of new social media represented by Weibo and WeChat, the time from the generation to the outbreak of online public opinion is getting shorter and shorter. If public opinion with malicious orientation is not controlled and responded to in a timely manner, it is very easy to cause negative impacts and public relations crises for the parties involved in the incident targeted by the public opinion. Summary of the invention
[0005] The embodiments of the present application provide an information output method and device.
[0006] In a first aspect, an embodiment of the present application provides an information output method, the method comprising: obtaining public opinion information under a specified topic disseminated by a communication channel indicated by a communication channel identifier in a preset communication channel identifier set, wherein the above public opinion information includes real-time public opinion information disseminated within a first preset time period and historical public opinion information disseminated within a second preset time period, and each piece of public opinion information corresponds to related information; for each communication channel identifier in the above communication channel identifier set, based on the obtained related information corresponding to the real-time public opinion information and the historical public opinion information associated with the communication channel identifier, respectively, the real-time public opinion information and the historical public opinion information are analyzed to generate first information corresponding to the communication channel identifier for indicating the topic tendency and second information for indicating the influence of the communication channel; based on the generated first information and second information, third information reflecting the public opinion situation is generated, and the above third information is output.
[0007] In some embodiments, the associated information corresponding to the public opinion information includes the following items: a label used to indicate that the public opinion information is positive public opinion information or negative public opinion information, a quantitative value corresponding to an indicator identifier in a preset indicator identifier set, the indicator identifier also corresponds to a weight value and a parent indicator identifier, and the above-mentioned parent indicator identifier corresponds to a weight value.
[0008] In some embodiments, the above-mentioned real-time public opinion information and historical public opinion information associated with the communication channel identifier are analyzed based on the acquired associated information respectively corresponding to the real-time public opinion information and the historical public opinion information, and the first information corresponding to the communication channel identifier for indicating the topic tendency and the second information corresponding to the communication channel influence are generated, including: statistical analysis is performed on the real-time public opinion information and the historical public opinion information respectively to determine the following quantitative information: the number of positive real-time public opinion information, the number of negative real-time public opinion information, the total number of real-time public opinion information, the number of positive historical public opinion information, the number of negative historical public opinion information and the total number of historical public opinion information; based on the above-mentioned quantitative information, the first information corresponding to the communication channel identifier is generated; based on the quantitative value corresponding to the indicator identifier in the above-mentioned indicator identifier set, the weight value corresponding to the indicator identifier and the weight value corresponding to the parent indicator identifier corresponding to the indicator identifier, the second information corresponding to the communication channel identifier is generated.
[0009] In some embodiments, the above-mentioned first information corresponding to the communication channel identifier is generated based on the above-mentioned quantity information, including: determining the ratio of the number of the above-mentioned positive historical public opinion information to the total number of the above-mentioned historical public opinion information to obtain a first value; determining the ratio of the number of the above-mentioned negative historical public opinion information to the total number of the above-mentioned historical public opinion information to obtain a second value; based on the above-mentioned first value, the above-mentioned second value, the number of the above-mentioned positive real-time public opinion information, the number of the above-mentioned negative real-time public opinion information and the total number of the above-mentioned real-time public opinion information, the first information corresponding to the communication channel identifier is generated.
[0010] In some embodiments, the first information and the second information are respectively information represented by numerical values; and based on the generated pieces of first information and second information, the third information used to reflect the public opinion situation is generated, including: determining the product of the first information and the second information corresponding to each communication channel identifier in the above-mentioned communication channel identifier set; based on the determined product, generating the third information.
[0011] In some embodiments, the generating of the third information based on the determined product includes: if the propagation channel identifier set includes a propagation channel identifier, generating the third information including the determined product.
[0012] In some embodiments, the generating of the third information based on the determined products further includes: if the communication channel identifier set includes at least two communication channel identifiers, determining the sum of the determined products, and generating the third information including the sum.
[0013] In the second aspect, an embodiment of the present application provides an information output device, which includes: an acquisition unit, configured to acquire public opinion information under a specified topic disseminated by a communication channel indicated by a communication channel identifier in a preset communication channel identifier set, wherein the public opinion information includes real-time public opinion information disseminated within a first preset time period and historical public opinion information disseminated within a second preset time period, and each piece of public opinion information corresponds to related information; a generation unit, configured to, for each communication channel identifier in the above-mentioned communication channel identifier set, analyze the real-time public opinion information and the historical public opinion information based on the acquired related information corresponding to the real-time public opinion information and the historical public opinion information associated with the communication channel identifier, and generate first information corresponding to the communication channel identifier for indicating the topic tendency and second information for indicating the influence of the communication channel; an output unit, configured to generate third information reflecting the public opinion situation based on the generated first information and second information, and output the third information.
[0014] In some embodiments, the associated information corresponding to the public opinion information includes the following items: a label used to indicate that the public opinion information is positive public opinion information or negative public opinion information, a quantitative value corresponding to an indicator identifier in a preset indicator identifier set, the indicator identifier also corresponds to a weight value and a parent indicator identifier, and the above-mentioned parent indicator identifier corresponds to a weight value.
[0015] In some embodiments, the above-mentioned generation unit includes: a first determination sub-unit, configured to perform statistical analysis on the real-time public opinion information and the historical public opinion information respectively, and determine the following quantitative information: the number of positive real-time public opinion information, the number of negative real-time public opinion information, the total number of real-time public opinion information, the number of positive historical public opinion information, the number of negative historical public opinion information and the total number of historical public opinion information; a first generation sub-unit, configured to generate first information corresponding to the communication channel identifier based on the above-mentioned quantitative information; a second generation sub-unit, configured to generate second information corresponding to the communication channel identifier based on the quantitative value corresponding to the indicator identifier in the above-mentioned indicator identifier set, the weight value corresponding to the indicator identifier and the weight value corresponding to the parent indicator identifier corresponding to the indicator identifier, included in the associated information respectively corresponding to the real-time public opinion information and the historical public opinion information.
[0016] In some embodiments, the above-mentioned first generating sub-unit includes: a first determination module, configured to determine the ratio of the number of the above-mentioned positive historical public opinion information to the total number of the above-mentioned historical public opinion information, and obtain a first value; a second determination module, configured to determine the ratio of the number of the above-mentioned negative historical public opinion information to the total number of the above-mentioned historical public opinion information, and obtain a second value; a generation module, configured to generate the first information corresponding to the communication channel identifier based on the above-mentioned first value, the above-mentioned second value, the number of the above-mentioned positive real-time public opinion information, the number of the above-mentioned negative real-time public opinion information and the total number of the above-mentioned real-time public opinion information.
[0017] In some embodiments, the first information and the second information are respectively information represented by numerical values; and the above-mentioned output unit includes: a second determination subunit, configured to determine the product of the first information and the second information corresponding to each communication channel identifier in the above-mentioned communication channel identifier set; a third generation subunit, configured to generate third information based on the determined product.
[0018] In some embodiments, the third generating subunit is further configured to: if the propagation channel identifier set includes one propagation channel identifier, generate third information including the determined product.
[0019] In some embodiments, the third generating subunit is further configured to: if the communication channel identifier set includes at least two communication channel identifiers, determine the sum of the determined products, and generate third information including the sum.
[0020] In a third aspect, an embodiment of the present application provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs; when the one or more programs are executed by the one or more processors, the one or more processors implement a method as reflected in any implementation method in the first aspect.
[0021] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the method reflected in any implementation manner in the first aspect is implemented.
[0022] The information output method and device provided in the embodiment of the present application obtains the real-time public opinion information and historical public opinion information under the specified topic transmitted by the communication channel indicated by the communication channel identifier in the preset communication channel identifier set, so as to analyze the real-time public opinion information and the historical public opinion information based on the associated information corresponding to the real-time public opinion information and the historical public opinion information associated with each communication channel identifier in the communication channel identifier set, and generate the first information corresponding to the communication channel identifier for indicating the topic tendency and the second information for indicating the influence of the communication channel. Then, based on the generated first information and second information, the third information for reflecting the public opinion situation is generated and output. Thereby, the acquired real-time public opinion information and historical public opinion information are effectively utilized to realize the public opinion evaluation for the specified communication channel (i.e., the communication channel indicated by the communication channel identifier in the above-mentioned communication channel identifier set). BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Other features, objects and advantages of the present application will become more apparent by reading the detailed reflection of non-limiting embodiments made with reference to the following drawings:
[0024] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;
[0025] Figure 2 is a flow chart of an embodiment of the information output method according to the present application;
[0026] Figure 3 is a schematic diagram of an application scenario of the information output method according to the present application;
[0027] Figure 4 is a schematic structural diagram of an embodiment of an information output device according to the present application;
[0028] Figure 5 It is a structural diagram of a computer system suitable for implementing an electronic device of an embodiment of the present application. DETAILED DESCRIPTION
[0029] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments reflected herein are only used to explain the relevant invention, rather than to limit the invention. It is also necessary to explain that, for ease of reflection, only the parts related to the relevant invention are shown in the accompanying drawings.
[0030] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0031] Figure 1An exemplary system architecture 100 is shown to which an embodiment of the information output method or information output device of the present application can be applied.
[0032] like Figure 1 As shown, system architecture 100 may include servers 101, 103 and network 102. Network 102 is used to provide a medium for a communication link between server 101 and server 103. Network 102 may include various connection types, such as wired, wireless communication links or fiber optic cables.
[0033] The server 101 may be a server that provides various services, such as a data storage server that stores public opinion information transmitted by a communication channel indicated by a communication channel identifier in a preset communication channel identifier set.
[0034] The server 103 may be a server that provides various services, such as a server that performs analysis and other processing on public opinion information. The server may obtain public opinion information (such as real-time public opinion information and historical public opinion information) under a specified topic transmitted by the communication channel indicated by the communication channel identifier in the above communication channel identifier set from the server 101, and perform analysis and other processing on the public opinion information, and output the processing result (such as the generated third information used to reflect the public opinion situation).
[0035] It should be noted that the information output method provided in the embodiment of the present application is generally executed by the server 103 , and accordingly, the information output device is generally arranged in the server 103 .
[0036] It should be pointed out that if the public opinion information acquired by the server 103 is pre-stored locally, then the system architecture 100 may not include the server 101 .
[0037] It should be understood that Figure 1 The number of servers and networks in the embodiment is only for illustration. Any number of servers and networks may be provided as required.
[0038] Continue to refer Figure 2 , shows a process 200 of an embodiment of an information output method according to the present application. The process 200 of the information output method includes the following steps:
[0039] Step 201, obtaining public opinion information under a specified topic transmitted through a communication channel indicated by a communication channel identifier in a preset communication channel identifier set.
[0040] In this embodiment, the electronic device (eg, Figure 1The server 103 shown in the figure can obtain the public opinion information under the specified topic propagated by the propagation channel indicated by the propagation channel identifier in the preset propagation channel identifier set in real time or regularly. Among them, the public opinion information may include the real-time public opinion information propagated within the first preset time period and the historical public opinion information propagated within the second preset time period. In addition, each piece of public opinion information may correspond to related information. The related information may include, for example, the number of likes and comments corresponding to the public opinion information, etc.
[0041] It should be understood that the start time of the first preset time period is usually later than the end time of the second preset time period. As an example, the first preset time period may be a time period with the previous moment before the current moment as the end time and a duration of the first specified duration; the second preset time period may be a time period with the previous moment before the start time of the first preset time period as the end time and a duration of the second specified duration. The first specified duration may be, for example, one day, two days, seven days, etc. The second specified duration may be greater than or equal to the first specified duration. Here, the first preset time period and the second preset time period may be adjusted according to actual needs, and this embodiment does not impose any limitation on this aspect.
[0042] It should be noted that the public opinion information obtained by the electronic device may be pre-stored locally or in a server (eg, Figure 1 In the server 101 shown.
[0043] It should be noted that the communication channels may include, for example, social networking sites, microblogs, WeChat, blogs, forums, podcasts, etc. The communication channel identifier may be the name or number of the communication channel, etc. Here, the above communication channel identifier set and the above designated topic may be pre-set by the user according to actual needs. The above designated topic may be, for example, a topic related to the enterprise where the user is located, a topic related to the entertainment celebrity that the user is concerned about, or a topic related to the user himself, etc. This embodiment does not make any limitation on this aspect.
[0044] In some optional implementations of the present embodiment, the associated information corresponding to the public opinion information may include the following items: a label for indicating that the public opinion information is positive public opinion information or negative public opinion information, and a quantitative value corresponding to an indicator identifier in a preset indicator identifier set. In addition, the indicator identifier may also correspond to a weight value and a parent indicator identifier. The parent indicator identifier may correspond to a weight value. Among them, the indicator indicated by the indicator identifier may be, for example, the number of readings, the number of shares, or the number of comments, etc. The parent indicator indicated by the parent indicator identifier corresponding to the indicator identifier for indicating the number of readings or the number of shares may be, for example, the degree of spread. The degree of spread indicator can be used to reflect the spread of public opinion information. The parent indicator indicated by the parent indicator identifier corresponding to the indicator identifier for indicating the number of comments may be, for example, an interaction index. The interaction index indicator can be used to reflect the interaction of user groups with respect to public opinion information.
[0045] Step 202, for each communication channel identifier in the communication channel identifier set, based on the acquired association information corresponding to the real-time public opinion information and the historical public opinion information associated with the communication channel identifier, respectively, the real-time public opinion information and the historical public opinion information are analyzed to generate first information corresponding to the communication channel identifier for indicating the topic tendency and second information for indicating the influence of the communication channel.
[0046] In this embodiment, after the above-mentioned electronic device obtains the public opinion information, for each communication channel identifier in the above-mentioned communication channel identifier set, the above-mentioned electronic device can analyze the real-time public opinion information and the historical public opinion information based on the acquired associated information corresponding to the real-time public opinion information and the historical public opinion information associated with the communication channel identifier, and generate first information corresponding to the communication channel identifier for indicating the topic tendency and second information for indicating the influence of the communication channel.
[0047] As an example, the above-mentioned electronic device may pre-store a negative keyword set and a positive keyword set locally. Among them, negative keywords may refer to keywords that convey negative information, such as "bad", "nonsense", "poor performance", etc. Positive keywords may refer to keywords that convey positive information, such as "promising", "good performance", "durable", "beautiful", etc. For the real-time public opinion information and historical public opinion information associated with the communication channel identifier, first, the above-mentioned electronic device may determine whether the real-time public opinion information belongs to positive real-time public opinion information or negative public opinion information by matching each real-time public opinion information and historical public opinion information with the above-mentioned negative keyword set and the above-mentioned positive keyword set, and determine whether the historical public opinion information belongs to positive historical public opinion information or negative historical public opinion information. Then, the above-mentioned electronic device may count the following quantity information based on the determination result: the number of positive real-time public opinion information, the number of negative real-time public opinion information, the total number of real-time public opinion information, the number of positive historical public opinion information, the number of negative historical public opinion information, and the total number of historical public opinion information. Then, the electronic device can input the associated information corresponding to the quantity information, the real-time public opinion information and the historical public opinion information into a pre-trained prediction model to obtain the first information and the second information corresponding to the communication channel identifier. The prediction model can be used to characterize the corresponding relationship between the information group and the first information and the second information, and the information group can include the quantity information and the associated information corresponding to the real-time public opinion information and the historical public opinion information associated with the quantity information.
[0048] It should be noted that the prediction model can be a correspondence table that is pre-formulated by technicians based on statistics of a large number of information groups and prediction results (including first information and second information), and stores the correspondence between multiple information groups and prediction results; or it can be a calculation formula that is pre-set by technicians based on statistics of a large amount of data and stored in the above-mentioned electronic device, which performs numerical calculations on one or more values in the information group to obtain calculation results for indicating topic tendency and for indicating the influence of communication channels.
[0049] In some optional implementations of this embodiment, if the associated information corresponding to the public opinion information includes the following items: a label indicating that the public opinion information is positive public opinion information or negative public opinion information, and a quantity value corresponding to the indicator identifier in the above indicator identifier set, the above electronic device can determine the first information and the second information corresponding to the communication channel identifier by performing the following steps (i.e., step 1, step 2, and step 3):
[0050] Step one: Since the public opinion information is associated with the above-mentioned label, the above-mentioned electronic device can perform statistical analysis on the real-time public opinion information and historical public opinion information associated with the communication channel identifier, and calculate the following quantitative information: the number of positive real-time public opinion information, the number of negative real-time public opinion information, the total number of real-time public opinion information, the number of positive historical public opinion information, the number of negative historical public opinion information and the total number of historical public opinion information.
[0051] Step 2: The electronic device may generate first information corresponding to the communication channel identifier based on the statistical quantity information. For example, the electronic device may calculate the ratio of the number of positive historical public opinion information to the total number of historical public opinion information, and use the ratio as the first value; calculate the ratio of the number of negative historical public opinion information to the total number of historical public opinion information, and use the ratio as the second value; based on the first value, the second value, the number of positive real-time public opinion information, the number of negative real-time public opinion information, and the total number of real-time public opinion information, generate the first information corresponding to the communication channel identifier.
[0052] As an example, the electronic device may generate first information corresponding to the communication channel identifier based on the first value, the second value, the amount of positive real-time public opinion information, the amount of negative real-time public opinion information, and the total amount of real-time public opinion information by performing the following steps (i.e., 1)-3)):
[0053] 1) Let the first value be p1, the second value be p2, the number of positive real-time public opinion information be pos, the number of negative real-time public opinion information be neg, and the total number of real-time public opinion information be total. According to the Moivre-Laplace theorem, we can set:
[0054] pos~N(total*p1,total*p1(1-p1));
[0055] neg~N(total*p2,total*p2(1-p2)).
[0056] Where N can represent a normal distribution. pos~N(total*p1,total*p1(1-p1)) can indicate that pos conforms to a normal distribution with total*p1 as mean and total*p1(1-p1) as variance. neg~N(total*p2,total*p2(1-p2)) can indicate that neg conforms to a normal distribution with total*p2 as mean and total*p2(1-p2) as variance.
[0057] In addition, the Rimoiv-Laplace theorem in the central limit theorem of probability theory gives an approximate calculation formula for the binomial distribution. Since the Rimoiv-Laplace theorem is a well-known technology that is widely studied and applied, it will not be repeated here.
[0058] 2) The above electronic equipment can be standardized as follows:
[0059]
[0060]
[0061] Among them, Y1 can represent the number of standardized positive real-time public opinion information, and Y2 can represent the number of standardized negative real-time public opinion information.
[0062] 3) Let the tendency index be Score. The electronic device can use the following formula to solve Score:
[0063]
[0064] Score~(-1,1)
[0065] Wherein, f can represent the standard normal function, f(Y1) can represent the cumulative distribution probability of Y1 in the standard normal distribution, and f(Y2) can represent the cumulative distribution probability of Y2 in the standard normal distribution.
[0066] Here, the electronic device may determine the solved Score as the first information corresponding to the communication channel identifier.
[0067] Step three, the above-mentioned electronic device can generate second information corresponding to the communication channel identifier based on the associated information corresponding to the real-time public opinion information and historical public opinion information associated with the communication channel identifier, including the quantity value corresponding to the indicator identifier in the above-mentioned indicator identifier set, the weight value corresponding to the indicator identifier and the weight value corresponding to the parent indicator identifier corresponding to the indicator identifier.
[0068] As an example, first, the electronic device may summarize the quantity values corresponding to the indicator identifiers in the indicator identifier set included in the associated information corresponding to the real-time public opinion information and the historical public opinion information associated with the communication channel identifier, that is, sum the quantity values of the corresponding indicator identifiers to obtain the total quantity value corresponding to each indicator identifier in the indicator identifier set. Then, for each indicator identifier in the indicator identifier set, assuming that the total quantity value corresponding to the indicator identifier is X1, the electronic device may perform the following standardization on X1: a1=ln(X1+1). Wherein, a1 may represent the standardized total quantity value corresponding to the indicator identifier. Afterwards, for each indicator identifier in the indicator identifier set, the electronic device may calculate the product of the weight value corresponding to the indicator identifier and the standardized total quantity value, and use the product as the third value corresponding to the indicator identifier. Then, for each parent indicator identifier, the electronic device may sum the third values corresponding to each indicator identifier corresponding to the parent indicator identifier, and determine the product of the summed value and the weight value corresponding to the parent indicator identifier as the fourth value corresponding to the parent indicator identifier. Finally, the electronic device may sum the fourth values corresponding to the respective parent indicator identifiers, and use the summed value as the second information corresponding to the communication channel identifier.
[0069] Step 203: Based on the generated first information and second information, generate third information for reflecting the public opinion situation, and output the third information.
[0070] In this embodiment, after the electronic device generates the first information and the second information corresponding to each communication channel identifier in the communication channel identifier set, the electronic device may generate third information reflecting the public opinion situation based on each piece of the generated first information and second information, and output the third information. For example, the third information is output to the terminal device of the user.
[0071] It should be noted that the electronic device may locally store a correspondence table for characterizing the correspondence between the information pair set and the third information, wherein the information pair may include the first information and the second information. The electronic device may search the correspondence table for the information pair set that matches the generated set of each piece of first information and second information, and determine the third information corresponding to the information pair set as the third information used to reflect the public opinion situation.
[0072] It should be noted that the electronic device can output the generated third information to the terminal device of the user, so that the user can timely understand the public opinion situation of the communication channel indicated by the communication channel identifier in the communication channel identifier set for the specified topic, so that the public opinion trend can be controlled and an immediate response strategy can be prepared. In addition, by analyzing the public opinion situation in combination with the topic tendency and the influence of the communication channel, the generated third information used to reflect the public opinion situation can have a higher accuracy.
[0073] In some optional implementations of this embodiment, if the first information and the second information generated by the electronic device are information represented by numerical values, the electronic device may first determine the product of the first information and the second information corresponding to each communication channel identifier in the communication channel identifier set, and then generate the third information based on the determined product.
[0074] As an example, if the communication channel identification set includes one communication channel identification, the electronic device may generate the third information including the determined product. If the communication channel identification set includes at least two communication channel identifications, the electronic device may first determine the sum of the determined products and then generate the third information including the sum.
[0075] Continue to see Figure 3 , Figure 3 FIG. 1 is a schematic diagram of an application scenario of the information output method according to this embodiment. Figure 3In the application scenario, if the user wants to know the public opinion situation of the communication channel "** Weibo" for topic A, the user can use the terminal device 301 held by him to submit the communication channel identifier of "** Weibo" and the topic identifier of topic A to the server 302, and can set the server 302 to execute the information output process regularly. When the time for triggering the execution of the information output process arrives, the server 302 can locally obtain the public opinion information under the topic A disseminated by "** Weibo" based on the communication channel identifier and topic identifier submitted by the above user, wherein the public opinion information may include real-time public opinion information 303 disseminated within the first preset time period (24 hours before the current time) and historical public opinion information 304 disseminated within the second preset time period (with the previous moment of the start time of the first preset time period as the end time and a time period of one month), wherein each piece of public opinion information corresponds to related information. Then, the server 302 can analyze the real-time public opinion information 303 and the historical public opinion information 304 based on the associated information corresponding to the real-time public opinion information 303 and the historical public opinion information 304, and generate the first information 305 indicating the topic tendency and the second information 306 indicating the influence of the communication channel. Finally, the server 302 can generate the third information 307 reflecting the public opinion situation of the communication channel "** Weibo" for topic A based on the first information 305 and the second information 306. The server 302 can output the third information 307 to the terminal device 301 for the above-mentioned user to view.
[0076] The method provided by the above-mentioned embodiment of the present application effectively utilizes the acquired real-time public opinion information and historical public opinion information to realize the public opinion evaluation for the designated communication channel.
[0077] Further references Figure 4 As an implementation of the methods shown in the above figures, the present application provides an embodiment of an information output device, which is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.
[0078] like Figure 4As shown, the information output device 400 shown in this embodiment includes: an acquisition unit 401, a generation unit 402 and an output unit 403. The acquisition unit 401 is configured to acquire public opinion information under a specified topic transmitted by a communication channel indicated by a communication channel identifier in a preset communication channel identifier set, wherein the public opinion information may include real-time public opinion information transmitted within a first preset time period and historical public opinion information transmitted within a second preset time period, and each piece of public opinion information corresponds to associated information; the generation unit 402 is configured to analyze the real-time public opinion information and the historical public opinion information for each communication channel identifier in the above communication channel identifier set based on the associated information corresponding to the acquired real-time public opinion information and the historical public opinion information associated with the communication channel identifier, and generate first information corresponding to the communication channel identifier for indicating the topic tendency and second information for indicating the influence of the communication channel; the output unit 403 is configured to generate third information for reflecting the public opinion situation based on the generated first information and second information, and output the third information.
[0079] In this embodiment, in the information output device 400, the specific processing of the acquisition unit 401, the generation unit 402 and the output unit 403 and the technical effects thereof can be referred to in Figure 2 The relevant descriptions of step 201, step 202 and step 203 in the corresponding embodiment are not repeated here.
[0080] In some optional implementations of this embodiment, the associated information corresponding to the public opinion information may include the following items: a label for indicating that the public opinion information is positive public opinion information or negative public opinion information, and a quantity value corresponding to an indicator identifier in a preset indicator identifier set. The indicator identifier may also correspond to a weight value and a parent indicator identifier, and the parent indicator identifier may correspond to a weight value.
[0081] In some optional implementations of the present embodiment, the above-mentioned generation unit 402 may include: a first determination subunit (not shown in the figure), configured to perform statistical analysis on the real-time public opinion information and the historical public opinion information respectively, and determine the following quantitative information: the number of positive real-time public opinion information, the number of negative real-time public opinion information, the total number of real-time public opinion information, the number of positive historical public opinion information, the number of negative historical public opinion information and the total number of historical public opinion information; a first generation subunit (not shown in the figure), configured to generate first information corresponding to the communication channel identifier based on the above-mentioned quantitative information; a second generation subunit (not shown in the figure), configured to generate second information corresponding to the communication channel identifier based on the quantitative value corresponding to the indicator identifier in the above-mentioned indicator identifier set, the weight value corresponding to the indicator identifier and the weight value corresponding to the parent indicator identifier corresponding to the indicator identifier, included in the associated information corresponding to the real-time public opinion information and the historical public opinion information respectively.
[0082] In some optional implementations of the present embodiment, the above-mentioned first generating sub-unit may include: a first determination module (not shown in the figure), configured to determine the ratio of the number of the above-mentioned positive historical public opinion information to the total number of the above-mentioned historical public opinion information, and obtain a first value; a second determination module (not shown in the figure), configured to determine the ratio of the number of the above-mentioned negative historical public opinion information to the total number of the above-mentioned historical public opinion information, and obtain a second value; a generation module (not shown in the figure), configured to generate the first information corresponding to the communication channel identifier based on the above-mentioned first value, the above-mentioned second value, the above-mentioned positive real-time public opinion information number, the above-mentioned negative real-time public opinion information number and the above-mentioned total number of real-time public opinion information.
[0083] In some optional implementations of this embodiment, the first information and the second information may be information represented by numerical values respectively; and the above-mentioned output unit 403 may include: a second determination subunit (not shown in the figure), configured to determine the product of the first information and the second information corresponding to each communication channel identifier in the above-mentioned communication channel identifier set; a third generation subunit (not shown in the figure), configured to generate the third information based on the determined product.
[0084] In some optional implementations of this embodiment, the third generating subunit may be further configured to: if the propagation channel identifier set includes one propagation channel identifier, generate third information including the determined product.
[0085] In some optional implementations of this embodiment, the third generating subunit may be further configured to: if the communication channel identifier set includes at least two communication channel identifiers, determine the sum of the determined products, and generate third information including the sum.
[0086] The device provided by the above-mentioned embodiment of the present application effectively utilizes the acquired real-time public opinion information and historical public opinion information to realize the public opinion evaluation for the designated communication channel.
[0087] Reference below Figure 5 , which shows a schematic diagram of the structure of a computer system 500 suitable for implementing an electronic device of an embodiment of the present application. Figure 5 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0088] like Figure 5As shown, the computer system 500 includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage part 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the system 500 are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0089] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.
[0090] In particular, according to an embodiment of the present disclosure, the process reflected in the above reference flow chart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains a program code for executing the method shown in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 509, and / or installed from a removable medium 511. When the computer program is executed by a central processing unit (CPU) 501, the above-mentioned functions defined in the system of the present application are executed.
[0091] It should be noted that the computer-readable medium shown in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.
[0092] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the above-mentioned module, program segment or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0093] The units involved in the embodiments of the present application may be implemented by software or by hardware. The reflected units may also be set in a processor. For example, they may be reflected as follows: a processor includes an acquisition unit, a generation unit, and an output unit. Among them, the names of these units do not constitute a limitation on the unit itself under certain circumstances. For example, the acquisition unit may also be reflected as "a unit for acquiring public opinion information under a specified topic disseminated by a communication channel indicated by a communication channel identifier in a preset communication channel identifier set."
[0094] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device reflected in the above embodiment; or it may exist independently and not be assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device includes: obtaining public opinion information under a specified topic transmitted by a transmission channel indicated by a transmission channel identifier in a preset transmission channel identifier set, wherein the public opinion information may include real-time public opinion information transmitted within a first preset time period and historical public opinion information transmitted within a second preset time period, and each piece of public opinion information may correspond to associated information; for each transmission channel identifier in the above transmission channel identifier set, based on the associated information corresponding to the real-time public opinion information and the historical public opinion information associated with the transmission channel identifier, the real-time public opinion information and the historical public opinion information are analyzed, and first information corresponding to the transmission channel identifier for indicating the topic tendency and second information for indicating the influence of the transmission channel are generated; based on the generated first information and second information, third information for reflecting the public opinion situation is generated, and the third information is output.
[0095] The above is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other.
Claims
1. An information output method, comprising: Obtaining public opinion information under a specified topic transmitted by a communication channel indicated by a communication channel identifier in a preset communication channel identifier set, wherein the public opinion information includes real-time public opinion information transmitted within a first preset time period and historical public opinion information transmitted within a second preset time period, and each piece of public opinion information corresponds to related information; For each communication channel identifier in the communication channel identifier set, based on the acquired association information corresponding to the real-time public opinion information and the historical public opinion information associated with the communication channel identifier, the real-time public opinion information and the historical public opinion information are analyzed to generate first information corresponding to the communication channel identifier for indicating the topic tendency and second information for indicating the influence of the communication channel; Based on the generated pieces of first information and second information, determine the product of the first information and the second information corresponding to each communication channel identifier in the communication channel identifier set, wherein the first information and the second information are information represented by numerical values respectively; Based on the determined product, third information reflecting the public opinion situation is generated, and the third information is output.
2. The method according to claim 1, wherein: The associated information corresponding to the public opinion information includes the following items: a label used to indicate that the public opinion information is positive public opinion information or negative public opinion information, a quantitative value corresponding to an indicator identifier in a preset indicator identifier set, the indicator identifier also corresponds to a weight value and a parent indicator identifier, and the parent indicator identifier corresponds to a weight value.
3. The method according to claim 2, wherein: The method comprises: analyzing the real-time public opinion information and the historical public opinion information based on the acquired association information respectively corresponding to the real-time public opinion information and the historical public opinion information associated with the communication channel identifier, and generating first information corresponding to the communication channel identifier for indicating the topic tendency and second information for indicating the influence of the communication channel, including: Conduct statistical analysis on the real-time public opinion information and the historical public opinion information respectively to determine the following quantitative information: the number of positive real-time public opinion information, the number of negative real-time public opinion information, the total number of real-time public opinion information, the number of positive historical public opinion information, the number of negative historical public opinion information, and the total number of historical public opinion information; Based on the quantity information, generating first information corresponding to the communication channel identifier; Based on the associated information corresponding to the real-time public opinion information and the historical public opinion information respectively, including the quantity value corresponding to the indicator identifier in the indicator identifier set, the weight value corresponding to the indicator identifier and the weight value corresponding to the parent indicator identifier corresponding to the indicator identifier, the second information corresponding to the communication channel identifier is generated.
4. The method according to claim 3, wherein: The step of generating first information corresponding to the communication channel identifier based on the quantity information includes: Determine the ratio of the amount of the positive historical public opinion information to the total amount of the historical public opinion information to obtain a first value; Determine the ratio of the amount of the negative historical public opinion information to the total amount of the historical public opinion information to obtain a second value; Based on the first value, the second value, the amount of positive real-time public opinion information, the amount of negative real-time public opinion information and the total amount of real-time public opinion information, first information corresponding to the communication channel identifier is generated.
5. The method according to claim 1, wherein: The generating third information based on the determined product comprises: If the set of communication channel identifiers includes one communication channel identifier, third information including the determined product is generated.
6. The method according to claim 5, wherein: The step of generating third information based on the determined product further includes: If the communication channel identifier set includes at least two communication channel identifiers, a sum of the determined products is determined, and third information including the sum is generated.
7. An information output device, comprising: An acquisition unit is configured to acquire public opinion information under a specified topic transmitted by a communication channel indicated by a communication channel identifier in a preset communication channel identifier set, wherein the public opinion information includes real-time public opinion information transmitted within a first preset time period and historical public opinion information transmitted within a second preset time period, and each piece of public opinion information corresponds to related information; A generating unit configured to analyze the real-time public opinion information and the historical public opinion information for each communication channel identifier in the communication channel identifier set based on the acquired association information corresponding to the real-time public opinion information and the historical public opinion information associated with the communication channel identifier, and generate first information corresponding to the communication channel identifier for indicating the topic tendency and second information for indicating the influence of the communication channel; The output unit is configured to determine the product of the first information and the second information corresponding to each communication channel identifier in the communication channel identifier set based on the generated first information and second information, wherein the first information and the second information are information represented by numerical values respectively; based on the determined product, generate third information for reflecting the public opinion situation, and output the third information.
8. An electronic device, comprising: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, wherein: When the program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
