Abnormality early warning method, device and equipment based on interaction content and medium
Patent Information
- Application Number
- CN202410948723.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-11-26
Smart Images

Figure CN119025638A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computer technology, and specifically relates to an abnormal warning method, device, equipment and medium based on interactive content. Background Art
[0002] With the advancement of technology, various applications are developing rapidly. Take games as an example. Electronic games have become the most popular and fastest-growing part of the gaming field. More and more people choose to relax, interact with friends or find new entertainment experiences through electronic games. Among them, game content and game performance are important factors for players to evaluate a game. Therefore, it is very important to ensure that the game content is reasonable and novel and the game performance is stable and smooth.
[0003] Currently, the way to monitor whether there are abnormalities in the game is mainly to identify whether there are known abnormalities in the game through a preset early warning mechanism. This method not only cannot identify unknown abnormalities in the game, but also cannot determine the severity and scope of the impact of the identified game abnormalities on the user. Therefore, how to monitor game abnormalities from the user's perspective and issue early warnings is a problem that people in this field urgently need to solve. Summary of the invention
[0004] The embodiments of the present application provide an abnormal warning method, device, equipment and medium based on interactive content, the purpose of which is to help staff understand the user experience and discover game abnormalities in a timely manner, so as to better optimize the game.
[0005] In a first aspect, an embodiment of the present application provides an abnormal warning method based on interactive content, the method comprising:
[0006] Get the text information of the user interaction content;
[0007] Performing word segmentation processing on the text information and counting frequency information of word units in the text information;
[0008] Performing a matching operation on the word units based on a pre-built knowledge base to determine weight information of each word unit;
[0009] Performing weighted processing on the frequency information of the word unit based on the weight information to determine the interactive keyword;
[0010] Determining an abnormal feedback level according to the interaction keyword;
[0011] When the abnormality feedback level exceeds a set level, abnormality warning information is generated.
[0012] In a second aspect, an embodiment of the present application provides an abnormal warning device based on interactive content, the device comprising:
[0013] A text information acquisition module is used to acquire text information of user interaction content;
[0014] A frequency information statistics module, used to perform word segmentation processing on the text information and to count the frequency information of word units in the text information;
[0015] A weight information determination module, used to perform a matching operation on the word units based on a pre-built knowledge base to determine the weight information of each word unit;
[0016] A keyword determination module, configured to perform weighted processing on the frequency information of the word units based on the weight information to determine interactive keywords;
[0017] A feedback level determination module, used to determine the abnormal feedback level according to the interaction keyword;
[0018] The warning information generation module is used to generate abnormal warning information when the abnormal feedback level exceeds the set level.
[0019] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0020] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0021] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0022] In an embodiment of the present application, the text information of the user interaction content is obtained; the text information is segmented, and the frequency information of the word units in the text information is counted; the word units are matched based on a pre-constructed knowledge base to determine the weight information of each word unit; the frequency information of the word units is weighted based on the weight information to determine the interaction keywords; the abnormal feedback level is determined according to the interaction keywords; when the abnormal feedback level exceeds the set level, abnormal warning information is generated. The above-mentioned abnormal warning method based on interactive content can help staff understand the user experience and discover game abnormalities in a timely manner by determining the interactive keywords related to game abnormalities and evaluations based on the user's interactive text information and providing feedback, so as to better optimize the game. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 It is a flowchart of an abnormal warning method based on interactive content provided in Example 1 of the present application;
[0024] Figure 2 It is a flowchart of an abnormal warning method based on interactive content provided in Example 2 of the present application;
[0025] Figure 3 It is a flowchart of an abnormal warning method based on interactive content provided in Example 3 of the present application;
[0026] Figure 4 It is a structural diagram of an abnormal warning device based on interactive content provided in Embodiment 4 of the present application;
[0027] Figure 5 It is a schematic diagram of the structure of an electronic device provided in Example 5 of the present application. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only the part related to the present application but not all the contents are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.
[0029] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0030] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0031] The following, in conjunction with the accompanying drawings, describes in detail the abnormal warning method, device, equipment and medium based on interactive content provided by the embodiments of the present application through specific embodiments and their application scenarios.
[0032] Embodiment 1
[0033] Figure 1 is a flow chart of an abnormal warning method based on interactive content provided in Example 1 of the present application. Figure 1 As shown, the specific steps include:
[0034] S101, obtaining text information of user interaction content;
[0035] First of all, this application is applicable to scenarios where it is necessary to monitor whether the game has abnormalities. Based on the above usage scenarios, it can be understood that the execution subject of this application can be a game server. Specifically, the acquisition of text information, the statistics of word unit frequency information, and the generation of abnormal warning information can be performed by the game server. The staff can timely maintain the game abnormalities based on the generated abnormal warning information to ensure the normal operation of the game.
[0036] Among them, the game server is the central computer or software entity responsible for managing and controlling the game's network infrastructure, game logic, and data storage.
[0037] Users can refer to game participants, i.e. game players, who gain leisure, exciting competition, and world exploration experiences by playing games. Interactive content can refer to chat content within the game or comments posted by users on game-related platforms.
[0038] Text information may refer to data consisting of only characters. The text information may be obtained by obtaining the text chat data of the user in the game as the text information, or by obtaining the voice chat data of the user in the game and extracting text from the chat voice data to obtain the text information, or by obtaining the user's text comment data from the target page through the comment acquisition port as the text information.
[0039] In this technical solution, optionally, obtaining text information of user interaction content includes:
[0040] Get the user's text chat data in the game as text information;
[0041] and / or,
[0042] Acquire the user's voice chat data in the game, extract text from the chat voice data, and obtain text information;
[0043] and / or,
[0044] Through the comment acquisition port, the user's text comment data is obtained from the target page as text information.
[0045] Text chat data may refer to data for chat that is input and sent by the user through the keyboard in the game and includes only characters. By using an event listener to monitor the user's keyboard input operation, the user's text chat data in the game can be obtained. Among them, the event listener is a programming mechanism for capturing the occurrence of a specific event and performing corresponding operations.
[0046] Voice chat data may refer to data for chat input and sent by the user through a microphone in the game, in the format of MP3, AAC, Opus, etc. By using an event listener to monitor the user's microphone input operation, the user's voice chat data in the game can be obtained.
[0047] The text review data may refer to evaluation data on the game in text format published by users of the target page on the target page, wherein the target page may include an application store where the game can be downloaded, and a community and forum for the game.
[0048] The comment acquisition port may refer to an interface for the target page to transmit text comment data to the game. After the target page obtains the comment text data, it transmits the text comment data to the game through the comment acquisition port, and the game receives the text comment data to obtain the text comment data.
[0049] The benefit of this arrangement of the scheme is that by extracting text from the user's voice chat data in the game and obtaining the user's text comment data from the target page, more text information can be obtained, making the monitoring of game anomalies more comprehensive and timely.
[0050] S102, performing word segmentation processing on the text information, and counting frequency information of word units in the text information;
[0051] Word segmentation refers to the process of dividing continuous text information into independent word units. Among them, word units can refer to the most basic vocabulary units selected from natural language, processed in a standardized manner, and with independent concepts. By using Chinese word segmenters such as IK, HanLP, jieba, and NLPIR, text information can be segmented.
[0052] The frequency information of a word unit may refer to the number of word units obtained in a unit time. By obtaining text information and performing word segmentation processing at a preset time period, and counting the number of word units, and finally dividing the number by the preset time, the calculation result is the frequency information of the word unit in the text information. The preset time may be 0.5 hours or 1 hour.
[0053] In the technical solution, optionally, before performing word segmentation processing on the text information and counting frequency information of word units in the text information, the method further includes:
[0054] Filter the text information according to preset filtering information to obtain pure text;
[0055] Accordingly, the text information is segmented and frequency information of word units in the text information is counted, including:
[0056] The clean text is segmented, and frequency information of word units in the clean text information is counted.
[0057] The preset filtering information may refer to pre-set word units that are not helpful for game abnormality monitoring, and may include word units related to emotions, other games, and user personal privacy, and may also include word units that are not conducive to game security management.
[0058] Clean text refers to text information that does not include preset filtering information. Clean text can be obtained by matching text information with preset filtering information using a character matching algorithm and deleting the successfully matched text content from the text information. The character matching algorithm can be an algorithm for finding specific characters or character sequences in a text, and can include a brute force matching algorithm, a KMP algorithm, a Rabin-Karp algorithm, a Boyer-Moore algorithm, and a Sunday algorithm.
[0059] By taking a preset time as a cycle, obtaining text information, performing word segmentation and filtering, and counting the number of word units, and finally dividing the number by the preset time, the calculated result is the frequency information of the word units in the pure text information.
[0060] The benefit of this arrangement of the present solution is that by filtering the text information according to the preset filtering information, it is possible to avoid counting frequency information of unnecessary word units and determining weight information, thereby reducing the amount of data processing and improving efficiency.
[0061] S103, performing a matching operation on the word units based on a pre-built knowledge base to determine weight information of each word unit;
[0062] A knowledge base can be a system or tool that collects, organizes, stores and manages knowledge, aiming to improve the efficiency of knowledge sharing and utilization. The knowledge can refer to all existing vocabulary units. The method of pre-constructing a knowledge base can include: obtaining the knowledge base attributes of at least one knowledge base used for abnormal warning; obtaining the target vocabulary associated with the knowledge base attributes according to the knowledge base attributes, and constructing the knowledge base; in response to the operation of adding a knowledge base, determining the knowledge base attributes of the knowledge base to be added, collecting vocabulary according to the knowledge base attributes of the knowledge base to be added, and constructing a newly added knowledge base; in response to the operation of adding vocabulary to be added, determining the target knowledge base according to the degree of association between the vocabulary to be added and the constructed knowledge base, and adding the vocabulary to be added to the target knowledge base.
[0063] The weight information may be a numerical value used to describe the severity of the game anomaly represented by a certain word unit. The method of performing a matching operation on the word unit based on a pre-built knowledge base to determine the weight information of each word unit may be to perform a matching operation on the word unit based on a pre-built knowledge base, and if the word unit is successfully matched, the weight information of each word unit is determined according to the preset level of the word unit in the knowledge base.
[0064] S104, performing weighted processing on the frequency information of the word unit based on the weight information to determine an interactive keyword;
[0065] Weighted processing may refer to a process of determining the necessary degree to which a word unit needs to be fed back based on the frequency information of the word unit and the severity of the game anomaly it represents. The weighted processing may be performed by determining the importance score of the word unit based on the frequency information and weight information of the word unit.
[0066] The interactive keyword may refer to a word unit indicating that the game anomaly is serious and needs to be processed. The interactive keyword may be determined by determining the word unit whose importance score exceeds a set threshold as the interactive keyword, or by sorting the word units according to the importance score and selecting a preset number of word units from the sorting results as the interactive keywords.
[0067] S105, determining an abnormal feedback level according to the interaction keyword;
[0068] The abnormality feedback level may be a level for indicating the urgency of performing abnormality feedback.
[0069] The abnormal feedback level may be determined by obtaining an average of the importance scores corresponding to all interactive keywords, and determining the current abnormal feedback level based on a correlation between a preset average and the abnormal feedback level.
[0070] S106: When the abnormal feedback level exceeds a set level, abnormal warning information is generated.
[0071] The set level may be a lower limit of an abnormal feedback level indicating that abnormal feedback is required for the interactive keyword.
[0072] Abnormal warning information can be information used to prompt staff to handle the game abnormalities represented by interactive keywords, and can include interactive keywords and the importance scores corresponding to the interactive keywords. The method of generating abnormal warning information can be to determine the target object of abnormal feedback according to the interactive keywords when the abnormal feedback level exceeds the set level, determine the abnormal feedback frequency according to the abnormal feedback level, and generate abnormal warning information according to the target object and the feedback frequency.
[0073] In the technical solution, optionally, when the abnormal feedback level exceeds the set level, abnormal warning information is generated, including:
[0074] When the abnormal feedback level exceeds a set level, determining a target object of the abnormal feedback according to the interaction keyword;
[0075] Determining an abnormal feedback frequency according to the abnormal feedback level;
[0076] Abnormal warning information is generated according to the target object and the feedback frequency.
[0077] The target object of the abnormal feedback may refer to the recipient of the abnormal warning information. The interactive keywords and the target object of the abnormal feedback are associated and stored in a pre-built knowledge base. By querying the knowledge base with the interactive keywords as query conditions, the target object of the abnormal feedback can be determined.
[0078] The abnormal feedback frequency may refer to the number of times the event of generating abnormal warning information is repeated within a certain period of time. The abnormal feedback frequency may be determined by setting the abnormal feedback frequency to include once a day, once an hour, and once a second. Accordingly, if the abnormal feedback level is level one, the abnormal feedback frequency is once a day, if the abnormal feedback level is level two, the abnormal feedback frequency is once an hour, and if the abnormal feedback level is level three, the abnormal feedback frequency is once a second.
[0079] The method of generating abnormal warning information is as follows: if the target object is an operation personnel and / or customer service personnel, a chart is generated based on the interactive keywords, and the information is sent to the operation personnel and / or customer service personnel via WeChat messages according to the abnormal feedback frequency. If the target object is a technical personnel, the information is broadcast to the technical personnel via telephone according to the abnormal feedback frequency.
[0080] The benefit of this arrangement is that by generating abnormal warning information according to the target object and feedback frequency, abnormal feedback can be provided in a manner suitable for each staff member, and the staff can be helped to judge the severity of the feedback abnormality, prompting the staff to deal with the abnormality in a timely manner.
[0081] In an embodiment of the present application, the text information of the user interaction content is obtained; the text information is segmented, and the frequency information of the word units in the text information is counted; the word units are matched based on a pre-constructed knowledge base to determine the weight information of each word unit; the frequency information of the word units is weighted based on the weight information to determine the interaction keywords; the abnormal feedback level is determined according to the interaction keywords; when the abnormal feedback level exceeds the set level, abnormal warning information is generated. The above-mentioned abnormal warning method based on interactive content can help staff understand the user experience and discover game abnormalities in a timely manner by determining the interactive keywords related to game abnormalities and evaluations based on the user's interactive text information and providing feedback, so as to better optimize the game.
[0082] Embodiment 2
[0083] Figure 2 It is a flow chart of the abnormal warning method based on interactive content provided in the second embodiment of the present application. This solution makes a better improvement on the above embodiment, and the specific improvement is: matching the word unit based on the pre-built knowledge base to determine the weight information of each word unit, including: matching the word unit based on the pre-built knowledge base; if the word unit is matched successfully, then determining the weight information of each word unit according to the preset level of the word unit in the knowledge base.
[0084] like Figure 2 As shown, the specific steps include:
[0085] S201, obtaining text information of user interaction content;
[0086] S202, performing word segmentation processing on the text information, and counting frequency information of word units in the text information;
[0087] S203, performing a matching operation on the word unit based on a pre-built knowledge base;
[0088] The matching operation may be performed by using a character matching algorithm to compare the word unit with all the words in the knowledge base. If there is a word in the knowledge base that is consistent with the word unit, it is determined that the match is successful.
[0089] S204, if the word unit is matched successfully, determining the weight information of each word unit according to the preset level of the word unit in the knowledge base;
[0090] The preset level may be a level set according to the severity of the game anomaly represented by the word, and may include level one, level two, and level three, wherein level one represents the highest severity and level three represents the lowest severity. Each word in the knowledge base is associated with a preset level and stored in the knowledge base. By querying the knowledge base with the successfully matched word unit as the query condition, the preset level of the word unit can be determined.
[0091] The weight information is associated with the preset level. If the preset level of the word unit is level 1, the weight information of the word unit is 3. If the preset level of the word unit is level 2, the weight information of the word unit is 5. If the preset level of the word unit is level 3, the weight information of the word unit is 10. The weight information of the word unit can be determined according to the preset level of the word unit and the association between the weight information and the preset level.
[0092] S205, performing weighted processing on the frequency information of the word unit based on the weight information to determine an interactive keyword;
[0093] In the technical solution, optionally, weighted processing is performed on the frequency information of the word unit based on the weight information to determine the interactive keyword, including:
[0094] Determining the importance score of the word unit according to the frequency information and the weight information of the word unit;
[0095] Determine the word units whose importance scores exceed a set threshold as interactive keywords;
[0096] or,
[0097] The word units are sorted according to the importance scores, and a preset number of word units are selected from the sorting results as interactive keywords.
[0098] The importance score may be a numerical value used to describe the importance of the game anomaly represented by the word unit. The importance score is obtained by multiplying the frequency information of each word unit with the weight information.
[0099] The set threshold may be a lower limit of the importance score indicating the need to provide feedback on the game anomaly represented by the word unit. The importance score of the word unit is compared with the set threshold, and if the importance score is greater than the set threshold, the word unit is determined as an interactive keyword.
[0100] The word units may be sorted in a manner that they are sorted from high to low according to their importance scores, and a preset number of word units may be selected from the sorting results from front to back as interactive keywords.
[0101] The advantage of this arrangement of the scheme is that by determining the importance scores of word units and determining interactive keywords based on the importance scores, key information in text information can be extracted more accurately, thereby improving the efficiency and accuracy of abnormal monitoring.
[0102] S206, determining an abnormal feedback level according to the interaction keyword;
[0103] S207: When the abnormal feedback level exceeds a set level, abnormal warning information is generated.
[0104] The advantage of this arrangement of the present scheme is that by setting a level for each word unit and determining the weight information according to the set level, the diversity and complexity of the word units can be fully considered and the problems that may be caused by a simple average or one-size-fits-all weight distribution method can be avoided.
[0105] Embodiment 3
[0106] Figure 3 It is a flow chart of the abnormal warning method based on interactive content provided in Example 3 of the present application. This solution makes a better improvement on Example 1, and the specific improvement is: the method also includes: obtaining the knowledge base attribute of at least one knowledge base used for abnormal warning; according to the knowledge base attribute, obtaining the target vocabulary associated with the knowledge base attribute, and constructing the knowledge base; in response to the operation of adding the knowledge base, determining the knowledge base attribute of the knowledge base to be added, collecting vocabulary according to the knowledge base attribute of the knowledge base to be added, and constructing a new knowledge base; in response to the operation of adding the vocabulary to be added, determining the target knowledge base according to the degree of association between the vocabulary to be added and the constructed knowledge base, and adding the vocabulary to be added to the target knowledge base.
[0107] like Figure 3 As shown, the specific steps include:
[0108] S301, obtaining a knowledge base attribute of at least one knowledge base for abnormal warning;
[0109] Knowledge base attributes can be identifiers used to comprehensively describe all words in the knowledge base.
[0110] According to the type of game anomaly, knowledge base attributes for anomaly warning can be obtained, such as system errors, data anomalies, and security threats.
[0111] S302, according to the knowledge base attribute, obtaining target vocabulary associated with the knowledge base attribute, and constructing a knowledge base;
[0112] The target vocabulary may refer to a word unit related to a knowledge base attribute.
[0113] The target vocabulary can be obtained by reading a reference vocabulary classification file or by using a search engine to search for words related to the knowledge base attributes.
[0114] All the acquired target words are stored in association to build a knowledge base.
[0115] S303, in response to the knowledge base adding operation, determining the knowledge base attributes of the knowledge base to be added, collecting vocabulary according to the knowledge base attributes of the knowledge base to be added, and constructing a newly added knowledge base;
[0116] The operation of adding to the knowledge base may be a manual operation, or it may be the result of recognizing that the number of words extracted from the text information of the user interaction content that do not exist in the existing knowledge base exceeds a certain number.
[0117] The method of determining the knowledge base attributes of the knowledge base to be added can be input by a staff member, or can be determined by extracting words that do not exist in the existing knowledge base based on text information.
[0118] The way of collecting vocabulary can be to read the vocabulary classification file of reference profession, or to use the search engine to search for words related to the knowledge base attribute to be added to the knowledge base.
[0119] All collected words are stored in association to build a new knowledge base.
[0120] S304, in response to the adding operation of the vocabulary to be added, determining a target knowledge base according to the degree of association between the vocabulary to be added and the constructed knowledge base, and adding the vocabulary to be added to the target knowledge base;
[0121] The operation of adding the vocabulary to be added may be a manual adding operation, or may be the recognition of words that do not exist in the existing knowledge base and are extracted from the text information of the user interaction content.
[0122] The degree of association between the vocabulary to be added and the constructed knowledge base may refer to the comprehensive degree of correlation between the vocabulary to be added and all words in the constructed knowledge base. The target knowledge base may be determined by selecting the constructed knowledge base with the highest degree of association with the vocabulary to be added as the target knowledge base.
[0123] The vocabulary to be added is associated with all the words in the target knowledge base and stored, and the vocabulary to be added can be added to the target knowledge base.
[0124] S305, obtaining text information of user interaction content;
[0125] S306, performing word segmentation processing on the text information, and counting frequency information of word units in the text information;
[0126] S307, performing a matching operation on the word units based on a pre-built knowledge base to determine weight information of each word unit;
[0127] S308, performing weighted processing on the frequency information of the word unit based on the weight information to determine an interactive keyword;
[0128] S309, determining an abnormal feedback level according to the interaction keyword;
[0129] S310: When the abnormal feedback level exceeds a set level, abnormal warning information is generated.
[0130] The benefit of this arrangement of the present solution is that, by constructing a knowledge base for abnormal warning, the preset level and weight information of each word can be determined in advance, thereby improving the efficiency of abnormal monitoring.
[0131] Embodiment 4
[0132] Figure 4 Schematic diagram of the structure of the abnormal warning device based on interactive content provided in the fourth embodiment of the present application. Figure 4 As shown, the device comprises:
[0133] The text information acquisition module 410 is used to acquire the text information of the user interaction content;
[0134] A frequency information statistics module 420 is used to perform word segmentation processing on the text information and to count the frequency information of word units in the text information;
[0135] A weight information determination module 430, configured to perform a matching operation on the word units based on a pre-built knowledge base to determine weight information of each word unit;
[0136] A keyword determination module 440, configured to perform weighted processing on the frequency information of the word unit based on the weight information to determine an interactive keyword;
[0137] A feedback level determination module 450, configured to determine an abnormal feedback level according to the interaction keyword;
[0138] The warning information generating module 460 is used to generate abnormal warning information when the abnormal feedback level exceeds a set level.
[0139] In an embodiment of the present application, a text information acquisition module is used to acquire text information of user interaction content; a frequency information statistics module is used to perform word segmentation processing on the text information and to count the frequency information of word units in the text information; a weight information determination module is used to perform matching operations on the word units based on a pre-built knowledge base to determine the weight information of each word unit; a keyword determination module is used to perform weighted processing on the frequency information of the word units based on the weight information to determine the interaction keywords; a feedback level determination module is used to determine the abnormal feedback level based on the interaction keywords; and a warning information generation module is used to generate abnormal warning information when the abnormal feedback level exceeds the set level. The above-mentioned abnormal warning device based on interactive content can help staff understand the user experience and discover game abnormalities in a timely manner by determining the interactive keywords related to game abnormalities and evaluations based on the user's interactive text information and providing feedback, thereby better optimizing the game.
[0140] The abnormal warning device based on interactive content in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device can be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0141] The abnormal warning device based on interactive content in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0142] The abnormal warning device based on interactive content provided in the embodiment of the present application can implement each process implemented in the above-mentioned embodiments one to three, and will not be described again here to avoid repetition.
[0143] Embodiment 5
[0144] like Figure 5 As shown, an embodiment of the present application also provides an electronic device 500, including a processor 501, a memory 502, and a program or instruction stored in the memory 502 and executable on the processor 501. When the program or instruction is executed by the processor 501, each process of the above-mentioned abnormal warning method embodiment based on interactive content is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0145] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0146] Embodiment 6
[0147] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned abnormal warning method embodiment based on interactive content is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0148] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0149] Embodiment 7
[0150] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned embodiment of the abnormal warning device based on interactive content, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0151] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0152] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0153] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0154] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
[0155] The above are only preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not deviate from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.
Claims
1. An abnormal warning method based on interactive content, characterized in that: The method comprises: Get the text information of the user interaction content; Performing word segmentation processing on the text information and counting frequency information of word units in the text information; Performing a matching operation on the word units based on a pre-built knowledge base to determine weight information of each word unit; Performing weighted processing on the frequency information of the word unit based on the weight information to determine the interactive keyword; Determining an abnormal feedback level according to the interaction keyword; When the abnormality feedback level exceeds a set level, abnormality warning information is generated.
2. The abnormal early warning method based on interactive content according to claim 1 is characterized in that: Get text information of user interaction content, including: Get the user's text chat data in the game as text information; and / or, Acquire the user's voice chat data in the game, extract text from the chat voice data, and obtain text information; and / or, Through the comment acquisition port, the user's text comment data is obtained from the target page as text information.
3. The abnormal early warning method based on interactive content according to claim 1 is characterized in that: Before performing word segmentation processing on the text information and counting frequency information of word units in the text information, the method further includes: Filter the text information according to preset filtering information to obtain pure text; Accordingly, the text information is segmented and frequency information of word units in the text information is counted, including: The clean text is segmented, and frequency information of word units in the clean text information is counted.
4. The abnormal warning method based on interactive content according to claim 1 is characterized in that: Performing a matching operation on the word units based on a pre-built knowledge base to determine weight information of each word unit includes: Performing a matching operation on the word unit based on a pre-built knowledge base; If the word units are matched successfully, the weight information of each word unit is determined according to the preset level of the word unit in the knowledge base.
5. The abnormal warning method based on interactive content according to claim 4 is characterized in that: The method further comprises: performing weighted processing on the frequency information of the word unit based on the weight information to determine the interactive keyword, including: Determining the importance score of the word unit according to the frequency information and the weight information of the word unit; Determine the word units whose importance scores exceed a set threshold as interactive keywords; or, The word units are sorted according to the importance scores, and a preset number of word units are selected from the sorting results as interactive keywords.
6. The abnormal early warning method based on interactive content according to claim 1 is characterized in that: When the abnormal feedback level exceeds the set level, abnormal warning information is generated, including: When the abnormal feedback level exceeds a set level, determining a target object of the abnormal feedback according to the interaction keyword; Determining an abnormal feedback frequency according to the abnormal feedback level; Abnormal warning information is generated according to the target object and the feedback frequency.
7. The abnormal early warning method based on interactive content according to claim 1 is characterized in that: The method further comprises: Obtaining a knowledge base attribute of at least one knowledge base for abnormal warning; According to the knowledge base attribute, obtaining target vocabulary associated with the knowledge base attribute and constructing a knowledge base; In response to the knowledge base adding operation, determining the knowledge base attributes of the knowledge base to be added, collecting vocabulary according to the knowledge base attributes of the knowledge base to be added, and constructing a newly added knowledge base; In response to the adding operation of the vocabulary to be added, a target knowledge base is determined according to the association degree between the vocabulary to be added and the constructed knowledge base, and the vocabulary to be added is added to the target knowledge base.
8. An abnormal warning device based on interactive content, characterized in that: The device comprises: A text information acquisition module is used to acquire text information of user interaction content; A frequency information statistics module, used to perform word segmentation processing on the text information and to count the frequency information of word units in the text information; A weight information determination module, used to perform a matching operation on the word units based on a pre-built knowledge base to determine the weight information of each word unit; A keyword determination module, configured to perform weighted processing on the frequency information of the word units based on the weight information to determine interactive keywords; A feedback level determination module, used to determine the abnormal feedback level according to the interaction keyword; The warning information generation module is used to generate abnormal warning information when the abnormal feedback level exceeds the set level.
9. An electronic device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the abnormal warning method based on interactive content as described in any one of claims 1 to 7.
10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps of the abnormal warning method based on interactive content as described in any one of claims 1-7 are implemented.
