Method and equipment for generating monitoring subject
Technical Field
The application relates to the technical field of internet, in particular to a method and equipment for generating a monitoring theme.
Background
Public opinion information refers to attitudes or ideas of people on a certain object, and a public opinion platform is also called an internet public opinion monitoring system, and refers to capturing out the concerned public opinion information from the miscellaneous information on the internet according to a certain rule and method through related professional public opinion software, and processing the information in a way of analysis, filtering and the like to finally present the public opinion information matched with the demand.
In the prior art, in order to obtain related public sentiment information through a public sentiment platform, a monitoring theme needs to be manually configured on the public sentiment platform, and the public sentiment information is obtained based on the monitoring theme. However, when the service information of the service platform changes, the monitoring theme cannot be manually configured on the public opinion platform in time. Moreover, when the monitoring theme is manually configured, the configuration workload is increased, and problems such as configuration errors occur.
Disclosure of Invention
The embodiment of the application provides a method and equipment for generating a monitoring theme, which are used for dynamically generating the monitoring theme on a public opinion platform, and the monitoring theme does not need to be configured manually, so that the configuration workload is reduced.
The embodiment of the application provides a method for generating a monitoring theme, which comprises the following steps:
the dynamic theme generator determines the changed service information;
the dynamic theme generator generates a monitoring theme according to the changed service information;
the dynamic theme generator configures the monitoring theme to a public opinion platform.
The method for determining the changed service information by the dynamic theme generator specifically comprises the following steps:
the dynamic theme generator periodically sends a request message to the service platform, and the request message is used for acquiring current service information on the service platform; the dynamic theme generator receives a response message returned by the service platform, wherein the response message carries current service information on the service platform; the dynamic theme generator compares all the service information determined before with the current service information; if all the service information determined before does not contain the current service information, the dynamic body generator determines the current service information as the changed service information; or,
when the service information on the service platform changes, the dynamic theme generator receives the current service information on the service platform, which is sent to the dynamic theme generator by the service platform; the dynamic theme generator compares all the service information determined before with the current service information; and if all the previously determined service information does not contain the current service information, the dynamic body generator determines the current service information as the changed service information.
After the dynamic theme generator generates the monitoring theme according to the changed service information, the method further includes: the dynamic theme generator splits the monitoring theme into keywords according to a preset splitting strategy; the dynamic topic generator configures the keywords to the public opinion platform.
The dynamic theme generator is specifically a dynamic theme generator independent of the public opinion platform, and the dynamic theme generator is connected with the public opinion platform and the business platform; or, the dynamic theme generator is specifically a function module on the public opinion platform.
The embodiment of the application provides a method for generating a monitoring theme, which comprises the following steps:
the service platform determines the changed service information;
and the service platform sends the changed service information to a dynamic theme generator, and the dynamic theme generator generates a monitoring theme according to the changed service information.
The process of sending the changed service information to the dynamic theme generator by the service platform specifically includes: the service platform receives a request message sent to the service platform by the dynamic theme generator, wherein the request message is used for acquiring current service information on the service platform; the service platform sends a response message to the dynamic theme generator, the response message carries current service information on the service platform, and the dynamic theme generator determines the changed service information by using the current service information; or when the service information on the service platform changes, the service platform sends the current service information on the service platform to the dynamic theme generator, and the dynamic theme generator determines the changed service information by using the current service information.
The dynamic theme generator is specifically a dynamic theme generator independent of the public opinion platform, and the dynamic theme generator is connected with the public opinion platform and the business platform; or, the dynamic theme generator is specifically a function module on the public opinion platform.
The embodiment of the present application provides a dynamic theme generator, which specifically includes:
the determining module is used for determining the changed service information;
the generating module is used for generating a monitoring theme according to the changed service information;
and the configuration module is used for configuring the monitoring theme to a public opinion platform.
The determining module is specifically configured to periodically send a request message to a service platform, where the request message is used to obtain current service information on the service platform; receiving a response message returned by the service platform, wherein the response message carries current service information on the service platform; comparing all the service information determined before with the current service information; if all the service information determined before does not contain the current service information, determining the current service information as the changed service information; or,
when the service information on the service platform changes, receiving the current service information on the service platform, which is sent to the dynamic theme generator by the service platform; comparing all the service information determined before with the current service information; and if all the service information determined before does not contain the current service information, determining the current service information as the changed service information.
The configuration module is further configured to split the monitoring theme into keywords according to a preset splitting strategy after the monitoring theme is generated according to the changed service information, and configure the keywords to the public opinion platform.
The dynamic theme generator is specifically a dynamic theme generator independent of the public opinion platform, and the dynamic theme generator is connected with the public opinion platform and the business platform; or, the dynamic theme generator is specifically a function module on the public opinion platform.
The embodiment of the present application provides a service platform, where the service platform specifically includes:
the determining module is used for determining the changed service information;
and the sending module is used for sending the changed service information to a dynamic theme generator, and the dynamic theme generator generates a monitoring theme according to the changed service information.
The sending module is specifically configured to receive a request message sent by the dynamic theme generator to the service platform, where the request message is used to obtain current service information on the service platform; sending a response message to a dynamic theme generator, wherein the response message carries current service information on a service platform, and the dynamic theme generator determines the changed service information by using the current service information; or,
when the service information on the service platform changes, the current service information on the service platform is sent to the dynamic theme generator, and the dynamic theme generator determines the changed service information by using the current service information.
The dynamic theme generator is specifically a dynamic theme generator independent of the public opinion platform, and the dynamic theme generator is connected with the public opinion platform and the business platform; or, the dynamic theme generator is specifically a function module on the public opinion platform.
Compared with the prior art, the embodiment of the application has at least the following advantages that the dynamic theme generator determines the changed business information, generates the monitoring theme based on the changed business information, and configures the monitoring theme to the public opinion platform, so that the monitoring theme is dynamically generated on the public opinion platform, manual configuration of the monitoring theme is not needed, and configuration workload is reduced. Furthermore, the above method can configure the monitoring theme on the public opinion platform in time when the service information of the service platform changes, thereby avoiding the problem caused by untimely configuration of the monitoring theme.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments of the present application will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings of the embodiments of the present application without creative efforts.
Fig. 1 is a schematic diagram of an application scenario proposed in an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for generating a monitoring topic according to a first embodiment of the present application;
FIG. 3 is a schematic structural diagram of a dynamic theme generator according to a second embodiment of the present application;
fig. 4 is a schematic structural diagram of a service platform provided in the third embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Example one
To solve the problems in the prior art, an embodiment of the present invention provides a method for generating a monitoring topic, and fig. 1 is a schematic view of an application scenario of an embodiment of the present invention. The dynamic theme generator is a generator for generating a monitoring theme, which is provided in the embodiment of the application, and is specifically a dynamic theme generator independent of a public opinion platform, and the dynamic theme generator is connected with the public opinion platform and connected with a service platform; alternatively, the dynamic theme generator is embodied as a function module on the public opinion platform, and the dynamic theme generator is taken as an example of the dynamic theme generator independent of the public opinion platform in fig. 1. The service platform includes but is not limited to a system publishing platform, an information publishing platform, a marketing campaign platform, an event fault platform, and the like.
In the application scenario, as shown in fig. 2, the method for generating the monitoring topic includes the following steps:
step 201, the dynamic theme generator determines the changed service information.
In the embodiment of the present application, the process of determining the changed service information by the dynamic topic generator specifically includes, but is not limited to, the following manners: the dynamic theme generator periodically sends a request message to the service platform, and the request message is used for acquiring current service information on the service platform; the dynamic theme generator receives a response message returned by the service platform, wherein the response message carries current service information on the service platform; the dynamic theme generator compares all the service information determined before with the current service information; if all the service information determined before does not contain the current service information, the dynamic main body generator determines the current service information as the changed service information; or when the service information on the service platform changes, the dynamic theme generator receives the current service information on the service platform, which is sent to the dynamic theme generator by the service platform; the dynamic theme generator compares all the service information determined before with the current service information; and if all the service information determined before does not contain the current service information, the dynamic body generator determines the current service information as the changed service information.
Based on the above process, the relevant processing of the service platform includes: and the service platform determines the changed service information and sends the changed service information to the dynamic theme generator. Further, the process of sending the changed service information to the dynamic theme generator by the service platform specifically includes: the service platform receives a request message sent to the service platform by the dynamic theme generator, wherein the request message is used for acquiring current service information on the service platform; the service platform sends a response message to the dynamic theme generator, the response message carries current service information on the service platform, and the dynamic theme generator determines the changed service information by using the current service information; or when the service information on the service platform changes, the service platform sends the current service information on the service platform to the dynamic theme generator, and the dynamic theme generator determines the changed service information by using the current service information.
Step 202, the dynamic theme generator generates a monitoring theme according to the changed service information.
When the information publishing platform needs to publish a new product, the information publishing platform informs the dynamic theme generator of the service information (namely the changed service information) of the new product to be published, and the dynamic theme generator generates a monitoring theme according to the changed service information. For example, the information publishing platform notifies the first period of money and treasures (i.e., the service information of a new product, i.e., the changed service information) to the dynamic theme generator, and the dynamic theme generator generates the monitoring theme according to the changed service information as the first period of money and treasures.
For another example, when the marketing campaign platform needs to issue the marketing campaign, the marketing campaign platform notifies the dynamic topic generator of the service information (i.e., the changed service information) of the marketing campaign, and the dynamic topic generator generates the monitoring topic according to the changed service information. When the event fault platform needs to release the system fault, the event fault platform informs the service information of the release system fault (namely the changed service information) to the dynamic theme generator, and the dynamic theme generator generates a monitoring theme according to the changed service information. When the system release platform needs to release a new system version, the system release platform notifies the dynamic theme generator of service information (namely changed service information) of the released new system version, and the dynamic theme generator generates a monitoring theme according to the changed service information.
In step 203, the dynamic theme generator configures the monitoring theme to the public opinion platform.
Specifically, the dynamic theme generator sends the monitoring theme to the public opinion platform, and the public opinion platform configures the monitoring theme on the public opinion platform, for example, the monitoring theme is configured as a treasure.
The monitoring theme configured to the public opinion platform is a monitoring theme corresponding to the change inside the enterprise, namely, the monitoring theme corresponding to the change inside the enterprise is configured to the public opinion platform in real time.
In summary, the embodiment of the present application has at least the following advantages that, in the embodiment of the present application, the dynamic theme generator determines the changed service information, generates the monitoring theme based on the changed service information, and configures the monitoring theme on the public opinion platform, so that the monitoring theme is dynamically generated on the public opinion platform, and the monitoring theme does not need to be configured manually, thereby reducing the workload of configuration. Furthermore, the above method can configure the monitoring theme on the public opinion platform in time when the service information of the service platform changes, so as to avoid the problem caused by untimely configuration of the monitoring theme.
In the embodiment of the application, after the dynamic theme generator generates the monitoring theme according to the changed service information, the dynamic theme generator can also split the monitoring theme into keywords according to a preset splitting strategy; further, the dynamic theme generator configures the keyword to a public opinion platform.
In the embodiment of the application, the preset splitting strategy can be arbitrarily set based on practical experience, for example, the preset splitting strategy can be common words or general words. If aiming at the monitoring theme 'first-time treasured management', the treasured management is a common word, and the first-time treasured management is a common word, therefore, the dynamic theme generator divides the treasured management into the treasured management and the first-time treasured management, the treasured management is a keyword, and the first-time treasured management is a keyword. Further, the dynamic theme generator sends the keyword 'financing treasure' and the keyword 'first-instar' to the public opinion platform, and the public opinion platform configures the keyword 'financing treasure' and the keyword 'first-instar' on the public opinion platform.
Based on the technical scheme, the public opinion platform can obtain the monitoring theme and the keywords, and then the monitoring theme (treasures is in first term) and the keywords (treasures is in first term) can be associated. And then, the public opinion platform monitors public opinions according to the dynamically configured monitoring theme and finds public opinion information brought by new product release in time. For example, the public opinion platform clusters related public opinion information through a data crawler and other manners to extract keywords from the public opinion information, and then divides the public opinion information into corresponding monitoring topics based on the keywords, so as to obtain all public opinion information under the monitoring topics. For example, the public opinion platform finds two pieces of information in the Xinlang microblog according to two keywords of 'financing treasures' and 'first-term' to match with the keyword: 1. the product of @ Xiaowang 'first-stage financing and treasure' is not good; 2. the @ Xiaoli 'financing treasure' is on line, but seemingly the 'first-time' function is too thin, and even the basic quick redemption function is not available. At the moment, under the monitoring theme of 'treasures and treasures in the public opinion platform', the two pieces of public opinion information are available.
Example two
Based on the same application concept as the method described above, an embodiment of the present application provides a dynamic theme generator device, as shown in fig. 3, where the dynamic theme generator specifically includes:
a determining module 11, configured to determine the changed service information;
the generating module 12 is configured to generate a monitoring theme according to the changed service information;
and the configuration module 13 is used for configuring the monitoring theme to a public opinion platform.
The determining module 11 is specifically configured to periodically send a request message to a service platform, where the request message is used to obtain current service information on the service platform; receiving a response message returned by the service platform, wherein the response message carries current service information on the service platform; comparing all the service information determined before with the current service information; if all the service information determined before does not contain the current service information, determining the current service information as the changed service information; or,
when the service information on the service platform changes, receiving the current service information on the service platform, which is sent to the dynamic theme generator by the service platform; comparing all the service information determined before with the current service information; and if all the service information determined before does not contain the current service information, determining the current service information as the changed service information.
The configuration module 13 is further configured to split the monitoring topic into keywords according to a preset splitting policy after generating the monitoring topic according to the changed service information, and configure the keywords to the public opinion platform.
The dynamic theme generator is specifically a dynamic theme generator independent of the public opinion platform, and the dynamic theme generator is connected with the public opinion platform and the business platform; or, the dynamic theme generator is specifically a function module on the public opinion platform.
The modules of the device can be integrated into a whole or can be separately deployed. The modules can be combined into one module, and can also be further split into a plurality of sub-modules.
EXAMPLE III
Based on the same application concept as the method, an embodiment of the present application provides a service platform, as shown in fig. 4, where the service platform specifically includes:
a determining module 21, configured to determine the changed service information;
a sending module 22, configured to send the changed service information to a dynamic theme generator, where the dynamic theme generator generates a monitoring theme according to the changed service information.
The sending module 22 is specifically configured to receive a request message sent by the dynamic theme generator to the service platform, where the request message is used to obtain current service information on the service platform; sending a response message to a dynamic theme generator, wherein the response message carries current service information on a service platform, and the dynamic theme generator determines the changed service information by using the current service information; or when the service information on the service platform changes, sending the current service information on the service platform to the dynamic theme generator, and determining the changed service information by the dynamic theme generator by using the current service information.
The dynamic theme generator is specifically a dynamic theme generator independent of the public opinion platform, and the dynamic theme generator is connected with the public opinion platform and the business platform; or, the dynamic theme generator is specifically a function module on the public opinion platform.
The modules of the device can be integrated into a whole or can be separately deployed. The modules can be combined into one module, and can also be further split into a plurality of sub-modules.
Through the above description of the embodiments, those skilled in the art will clearly understand that the present invention may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better embodiment. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention. Those skilled in the art will appreciate that the drawings are merely schematic representations of one preferred embodiment and that the blocks or flow diagrams in the drawings are not necessarily required to practice the present invention. Those skilled in the art will appreciate that the modules in the devices in the embodiments may be distributed in the devices in the embodiments according to the description of the embodiments, and may be correspondingly changed in one or more devices different from the embodiments. The modules of the above embodiments may be combined into one module, or further split into multiple sub-modules. The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. The above disclosure is only for a few specific embodiments of the present invention, but the present invention is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present invention.