Group message gathering and pushing method and device, equipment and storage medium

Through automated tools, the mouse and/or key operation are simulated, and the in-group messages are obtained and processed, which solves the problems of low efficiency and high cost in the existing technology, and efficient and accurate group messages are summarized and pushed, reducing development costs and time.

CN119697148APending Publication Date: 2025-03-25PICC LIFE INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411822170.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-11
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The existing technology is inefficient in processing in-group information, and relies on manual statistics or advanced technologies such as OCR and large models to generate summary tables. It has high cost and outstanding accuracy and resource utilization problems.

Method used

By obtaining configuration files, using automated tools to simulate mouse and/or key operations, automatically enter group chat and obtain messages; according to personnel information and summary templates, data filtering and text analysis of messages are generated, summary results are generated, and pushed to the recipient.

Benefits of technology

It realizes more precise and efficient automation of in-group messages, avoids errors and omissions in manual operations, reduces development costs and time, supports custom summary templates, and flexibly customizes the information summary form and content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119697148A_ABST
    Figure CN119697148A_ABST
Patent Text Reader

Abstract

The invention provides a group message summarizing and pushing method and device, equipment and a storage medium, and the method comprises the steps: obtaining a configuration file which comprises personnel information, a summarizing template, a group name and the communication information of a receiver; simulating mouse and / or key operation through an automatic tool, entering a specified group chat according to the group name and acquiring messages in the group chat; according to the personnel information and the summary template, performing data screening on the messages to obtain effective data, and taking the effective data as dictionary data to generate a preprocessing dictionary; according to a summarizing template, performing filling processing on the preprocessing dictionary to generate a summarizing result; and according to the communication information of the receiver, the summarizing result is pushed to the receiver, so that an appointed group chat can be automatically entered more accurately and more efficiently, all messages in the group can be acquired, text analysis and summarizing can be performed on the messages, errors and omissions possibly occurring in manual operation are avoided, and compared with a large model and an OCR technology, a large amount of data support is not needed, and the efficiency is high. The cost is low.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of data processing, and in particular to a method, device, equipment and storage medium for group message aggregation and push. Background Art

[0002] In the current digital age, various office or social communication software has become an important tool in people's daily life and work. However, for some scenarios that need to collect and process information within the communication software group, it currently mainly relies on manual statistics, or combines some advanced technologies, such as screenshots, screen recordings, and optical character recognition (OCR) technology to extract text information, and use large models to generate summary tables. However, manual processing methods are inefficient, and large models and OCR technology require a lot of data for training, which is not only costly, but the recognition accuracy of OCR technology may affect the final result, and screenshots and screen recording technology will take up a lot of memory resources. Summary of the invention

[0003] The first aspect of the present disclosure provides a method for aggregating and pushing group messages, the method comprising: obtaining a configuration file, the configuration file comprising personnel information, a summary template, a group name, and communication information of a recipient; simulating mouse and / or key operations through an automated tool, entering a designated group chat according to the group name and obtaining messages in the group chat; filtering the messages according to the personnel information and the summary template to obtain valid data, and using the valid data as dictionary data to generate a preprocessing dictionary; filling in the preprocessing dictionary according to the summary template to generate a summary result; and pushing the summary result to the recipient according to the communication information of the recipient.

[0004] In some embodiments of the present disclosure, simulating mouse and / or key operations through an automated tool to enter a designated group chat according to a group name and obtaining messages in the group chat includes: starting communication software through a predefined program path and logging into the interface of the communication software; simulating a mouse click on a search box on the interface through an automated tool, simulating keyboard input of the group name and pressing Enter to obtain search results; according to the group name, simulating a mouse click on the search result to enter the group chat and reading the interface information of the group chat; when a date keyword does not appear in the interface information, simulating the mouse wheel to scroll upwards and continuously reading the interface information of the group chat until a date keyword appears in the interface information, and obtaining all messages below the date keyword in the interface information.

[0005] In some embodiments of the present disclosure, data screening of messages to obtain valid data is performed based on personnel information and summary templates, including: for each message, determining whether the content of the message contains the configuration content of the summary template; when the content of the message contains the configuration content, determining the message as a target processing message; determining the sender of the target processing message based on the account name in the personnel information, and when there is a single sender sending more than one target processing message, deduplicating the target processing messages to obtain valid data.

[0006] In some embodiments of the present disclosure, deduplication processing is performed on target processing messages to obtain valid data, including: obtaining the sending time of all target processing messages sent by the sender, and taking the target processing message with the most recent sending time among all target processing messages as valid data.

[0007] In some embodiments of the present disclosure, generating a preprocessing dictionary using valid data as dictionary data includes: cutting the valid data by line to obtain single-line data, cutting the single-line data left and right according to punctuation marks to obtain left-side cut data and right-side cut data; using the left-side cut data as a directory of the third-level dictionary, and using the right-side cut data as a query value of the third-level dictionary to obtain a third-level dictionary; using the configuration content of the summary template as a directory of the second-level dictionary, and using the third-level dictionary as a query value of the second-level dictionary to obtain a second-level dictionary; using personnel information as a directory of the first-level dictionary, and using the second-level dictionary as a query value of the first-level dictionary to obtain a first-level dictionary.

[0008] In some embodiments of the present disclosure, a preprocessing dictionary is filled in according to a summary template to generate a summary result, including: reading the table content of the summary template and copying the table content to the input directory of the result file; querying the dictionary parsing rules configured by the user according to the predefined format in the summary template; filling the data in the preprocessing dictionary into the result file according to the dictionary parsing rules to obtain a summary result.

[0009] A second aspect of the present disclosure provides a group message aggregation and push device, which includes: a configuration module, the configuration module is used to obtain a configuration file, the configuration file includes personnel information, a summary template, a group name, and the communication information of the recipient; an acquisition module, the acquisition module is used to simulate mouse and / or key operations through an automated tool, enter a designated group chat according to the group name and obtain messages in the group chat; a data processing module, the data processing module is used to filter the message data according to the personnel information and the summary template to obtain valid data, and use the valid data as dictionary data to generate a pre-processed dictionary; a generation module, the generation module is used to fill in the pre-processed dictionary according to the summary template to generate a summary result; and a push module, the push module is used to push the summary result to the recipient according to the recipient's communication information.

[0010] The third aspect embodiment of the present disclosure proposes a communication device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in the first aspect embodiment of the present disclosure.

[0011] The fourth aspect embodiment of the present disclosure proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the method described in the first aspect embodiment of the present disclosure.

[0012] The fifth aspect embodiment of the present disclosure provides a computer program product, including a computer program, which implements the method described in the first aspect embodiment of the present disclosure when executed by a processor.

[0013] In summary, the group message aggregation and push method proposed in the present invention includes obtaining a configuration file, which includes personnel information, a summary template, a group name, and the communication information of the recipient; simulating mouse and / or key operations through an automated tool, entering a designated group chat according to the group name and obtaining messages in the group chat; filtering the messages according to the personnel information and the summary template to obtain valid data, and generating a preprocessing dictionary using the valid data as dictionary data; filling in the preprocessing dictionary according to the summary template to generate a summary result; and pushing the summary result to the recipient according to the communication information of the recipient. The method can automatically enter the designated group chat more accurately and efficiently, obtain all messages in the group, and perform text parsing and aggregation on these messages, thereby avoiding errors and omissions that may occur in manual operations, and can implement custom summary templates, flexibly customize the form and content of information summaries according to actual needs, thereby reducing the time and error rate of manually filling in forms. Compared with large models and OCR technology, it does not require a large amount of data support, is fast to develop, and has low cost.

[0014] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0016] Figure 1 A flow chart of a method for group message aggregation and push provided in an embodiment of the present disclosure;

[0017] Figure 2A flow chart of a method for group message aggregation and push provided in an embodiment of the present disclosure;

[0018] Figure 3 A schematic diagram of the structure of a group message aggregation and push device provided in an embodiment of the present disclosure;

[0019] Figure 4 A schematic diagram of the hardware structure of a communication device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0020] Embodiments of the present disclosure are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present disclosure, and should not be construed as limiting the present disclosure.

[0021] The present disclosure is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0022] Figure 1 A flowchart of a group message aggregation and push method provided in an embodiment of the present disclosure.

[0023] In some embodiments of the present disclosure, the method is executed by Robotic Process Automation (RPA), and specifically, Python-based RPA can be used.

[0024] It should be noted that Python is a very popular programming language that is easy to read and write, which allows developers to quickly create various applications. At the same time, RPA (Robotic Process Automation) is an automation technology that improves work efficiency by simulating human operation behaviors, such as mouse and keyboard operations, file reading and writing, etc.

[0025] like Figure 1 As shown, the group message aggregation and push method provided by the embodiment of the present disclosure includes the following steps 101-105:

[0026] Step 101, obtain a configuration file, the configuration file includes personnel information, summary template, group name, and recipient communication information.

[0027] In some embodiments of the present disclosure, a user may configure a specified file, including configuring personnel information to be summarized, a summary template, a group name, communication information of a recipient, and the like.

[0028] In some embodiments of the present disclosure, the personnel information to be summarized includes the account name, area, organization, etc. of the personnel to be summarized on the communication software; the summary template includes summary table information, format, dictionary parsing rules, etc.; the group name refers to the group name to be summarized; the communication information of the recipient includes the receiving method and the recipient account.

[0029] In some embodiments of the present disclosure, users can flexibly configure the form and content of group message summaries through custom summary templates according to actual needs, thereby reducing the time and error rate of manually filling out forms.

[0030] Step 102, simulating mouse and / or key operations through an automated tool, entering a designated group chat according to the group name and obtaining messages in the group chat.

[0031] In some embodiments of the present disclosure, in the activated and logged-in communication software, RPA reads the content in the configuration file, simulates mouse and / or key operations through the user interface automation (UI Automation, hereinafter referred to as UIA) library, and retrieves and enters the specified group chat on the communication software according to the group name in the configuration file.

[0032] In some embodiments of the present disclosure, the interface information is read through the Python library to obtain the messages in the group chat, especially in the interface information of the Windows desktop application, some special libraries can be used to interact with the UI of the operating system to obtain information about windows, controls, texts, buttons, etc. Commonly used libraries include pyautogui, uiautomation, pywinauto, win32gui, etc. Compared with OCR technology, group messages can be obtained more accurately to avoid affecting the subsequent data aggregation results.

[0033] Step 103: Filter the message data to obtain valid data according to the personnel information and the summary template, and use the valid data as dictionary data to generate a preprocessing dictionary.

[0034] In some embodiments of the present disclosure, messages of all persons to be aggregated are filtered out according to the account names in the personnel information.

[0035] In some embodiments of the present disclosure, data related to the summary table information in the group message is filtered according to the summary table information in the summary template.

[0036] In some embodiments of the present disclosure, the text obtained from the group message is made into dictionary data, and operations such as data filtering, indexing or mapping are performed on the dictionary data to facilitate subsequent data search and filling.

[0037] Step 104, fill in the preprocessing dictionary according to the summary template to generate a summary result.

[0038] In some embodiments of the present disclosure, information is extracted from a preprocessing dictionary and summarized according to a template format of a summary table and dictionary parsing rules configured by a user to generate a summary result.

[0039] Step 105: push the summary result to the recipient according to the recipient's communication information.

[0040] In some embodiments of the present disclosure, the recipient's communication information includes the receiving method and the recipient's account. The receiving method includes sending through Lanxin or email interface, etc., so that the summary results can be automatically sent to the designated contact without manual intervention, which significantly improves work efficiency.

[0041] In summary, the embodiments provided by the present disclosure include obtaining a configuration file, which includes personnel information, a summary template, a group name, and the communication information of the recipient; simulating mouse and / or key operations through an automated tool, entering a designated group chat according to the group name and obtaining messages in the group chat; filtering the messages according to the personnel information and the summary template to obtain valid data, and generating a preprocessing dictionary using the valid data as dictionary data; filling in the preprocessing dictionary according to the summary template to generate a summary result; and pushing the summary result to the recipient according to the communication information of the recipient. The embodiment can automatically enter the designated group chat more accurately and efficiently, obtain all messages in the group, and perform text parsing and summary on these messages, thereby avoiding errors and omissions that may occur in manual operations, and can implement a custom summary template, flexibly customize the form and content of the information summary according to actual needs, thereby reducing the time and error rate of manually filling in forms. Compared with large models and OCR technology, it does not require a large amount of data support, is fast to develop, and has low cost.

[0042] based on Figure 1 The embodiment shown, as Figure 2 As shown, Figure 2 A flowchart of another group message aggregation and push method provided in an embodiment of the present disclosure.

[0043] In some embodiments of the present disclosure, the method is executed by Robotic Process Automation (RPA), and specifically, Python-based RPA can be used.

[0044] It should be noted that Python is a very popular programming language that is easy to read and write, which allows developers to quickly create various applications. At the same time, RPA (Robotic Process Automation) is an automation technology that improves work efficiency by simulating human operation behaviors, such as mouse and keyboard operations, file reading and writing, etc.

[0045] The group message aggregation and push method provided by the embodiment of the present disclosure includes the following steps:

[0046] Step 201, obtain a configuration file, the configuration file includes personnel information, summary template, group name, and recipient communication information.

[0047] In some embodiments of the present disclosure, a user may configure a specified file, including configuring personnel information to be summarized, a summary template, a group name, communication information of a recipient, and the like.

[0048] In some embodiments of the present disclosure, the personnel information to be summarized includes the account name, area, organization, etc. of the personnel to be summarized on the communication software; the summary template includes summary table information, format, dictionary parsing rules, etc.; the group name refers to the group name to be summarized; the communication information of the recipient includes the receiving method and the recipient account.

[0049] In some embodiments of the present disclosure, users can flexibly configure the form and content of group message summaries through custom summary templates according to actual needs, thereby reducing the time and error rate of manually filling out forms.

[0050] Step 202: Start the communication software through a predefined program path and log in to the interface of the communication software.

[0051] In some embodiments of the present disclosure, the communication software includes social or office communication software such as WeChat, Lark, etc.

[0052] In actual application, run RPA, start the communication software through the predefined program path, read the content in the configuration file, click the login button, confirm the login by collecting mobile phone clicks, and activate the PC side of the communication software.

[0053] Step 203, using an automated tool to simulate a mouse click on the search box on the interface, simulate keyboard input of the group name and press Enter to obtain search results.

[0054] In some embodiments of the present disclosure, in the activated logged-in communication software, the mouse and / or key operations are simulated through the user interface automation (UIAutomation, hereinafter referred to as UIA) library.

[0055] Step 204: According to the group name, simulate a mouse click on the search result to enter the group chat and read the interface information of the group chat.

[0056] In some embodiments of the present disclosure, simulating mouse and / or key operations to enter a designated group chat includes: simulating the mouse clicking on the search box in the upper left corner of WeChat to activate the cursor; simulating key input of the WeChat group name; simulating pressing Enter to confirm the search; simulating the mouse to accurately click on the search results according to the configured group name to enter the designated group chat.

[0057] In some embodiments of the present disclosure, the interface information is read through the Python library to obtain the messages in the group chat, especially in the interface information of the Windows desktop application, some special libraries can be used to interact with the UI of the operating system to obtain the information of windows, controls, texts, buttons, etc. Commonly used libraries include pyautogui, uiautomation, pywinauto, win32gui, etc.

[0058] Step 205, when the date keyword does not appear in the interface information, simulate the mouse wheel to scroll upward and continue to read the interface information of the group chat until the date keyword appears in the interface information, and obtain all messages below the date keyword in the interface information.

[0059] In some embodiments of the present disclosure, all information on the current interface of the group chat is read. If the current information does not contain words such as yesterday / week / xx year, the mouse wheel is simulated to scroll upward to load more information. The above actions are repeated until the above keywords such as yesterday / week / xx year appear, and all messages below the date keyword in the interface information are obtained, that is, the data is divided into today and before today to obtain all messages for today.

[0060] In some embodiments of the present disclosure, all messages of all persons to be summarized on that day are obtained based on the account names in the information of the persons to be summarized.

[0061] Step 506: Filter the message data according to the personnel information and the summary template to obtain valid data, and use the valid data as dictionary data to generate a preprocessing dictionary.

[0062] In some embodiments of the present disclosure, data screening of messages to obtain valid data is performed based on personnel information and summary templates, including: for each message, determining whether the content of the message contains the configuration content of the summary template; when the content of the message contains the configuration content, determining the message as a target processing message; determining the sender of the target processing message based on the account name in the personnel information, and when there is a single sender sending more than one target processing message, deduplicating the target processing messages to obtain valid data.

[0063] In some embodiments of the present disclosure, deduplication processing is performed on target processing messages to obtain valid data, including: obtaining the sending time of all target processing messages sent by the sender, and taking the target processing message with the most recent sending time among all target processing messages as valid data.

[0064] In some embodiments of the present disclosure, it is assumed that the header of the summary table information of the summary template includes group, project, location, category, etc., and the column content of the group includes the group information of the group. If the message content contains the group information in the summary table, it is regarded as valid content and is listed as a target processing message. According to the account name in the information of the person to be summarized, the sender of each message is determined. If the person to be summarized sends more than one target processing message on the same day, these target processing messages are deduplicated according to time, and the most recent message is retained.

[0065] In some embodiments of the present disclosure, generating a preprocessing dictionary using valid data as dictionary data includes: cutting the valid data by line to obtain single-line data, cutting the single-line data left and right according to punctuation marks to obtain left-side cut data and right-side cut data; using the left-side cut data as a directory of the third-level dictionary, and using the right-side cut data as a query value of the third-level dictionary to obtain a third-level dictionary; using the configuration content of the summary template as a directory of the second-level dictionary, and using the third-level dictionary as a query value of the second-level dictionary to obtain a second-level dictionary; using personnel information as a directory of the first-level dictionary, and using the second-level dictionary as a query value of the first-level dictionary to obtain a first-level dictionary.

[0066] In some embodiments of the present disclosure, the valid messages of the group chat are grouped according to the group in the group column in the summary table information. The messages are grouped according to the group, and the group includes the target gap, today's specific work, today's number of items and other content that needs to be summarized. Each content occupies a line, and the message text of the group chat is made into dictionary data. The data format is the first-level dictionary, the directory is the user name, and the query value is the second-level dictionary; the directory of the second-level dictionary is the group of the summary table grouping configured by the user, and the query value of the second-level dictionary is the third-level dictionary made by cutting by line under the corresponding text; a single line such as "target gap: 5 items" is cut according to the Chinese or English colon, and the content obtained by cutting on the left is the third-level dictionary directory, and the right side is the corresponding query value. All data are looped and made into a pre-processing dictionary.

[0067] Step 507, fill in the pre-processing dictionary according to the summary template to generate a summary result.

[0068] In some embodiments of the present disclosure, a preprocessing dictionary is filled in according to a summary template to generate a summary result, including: reading the table content of the summary template and copying the table content to the input directory of the result file; querying the dictionary parsing rules configured by the user according to the predefined format in the summary template; filling the data in the preprocessing dictionary into the result file according to the dictionary parsing rules to obtain a summary result.

[0069] In some embodiments of the present disclosure, the contents of the summary table in the summary template are read into the memory and copied to the input directory of the result file. According to the predetermined template format, the dictionary parsing rules configured by the user are queried, and the corresponding designated grouping area is traversed and written according to the user name. If the item does not exist, it is filled in blank, and if it exists, it is filled in with the configured value. The configuration rules include that the text is the original content of the value in the third-level dictionary, the number is the number part of the value in the third-level dictionary, the unit number is the filtered part of the number with unit in the third-level dictionary, and the units include *pieces, *yuan (where * is a wildcard, such as *yuan, example: 20 million), and the Chinese character part is also added to the digital filtering package part, and all numbers from one to ten can be recognized.

[0070] Step 508: Push the summary result to the recipient based on the recipient's communication information.

[0071] In some embodiments of the present disclosure, the recipient's communication information includes the receiving method and the recipient's account. The receiving method includes sending through Lanxin or email interface, etc., so that the summary results can be automatically sent to the designated contact without manual intervention, which significantly improves work efficiency.

[0072] In summary, the solution provided by the present disclosure has the following improvements and beneficial effects:

[0073] 1. Through process automation, it is possible to automatically enter the designated WeChat group more accurately and efficiently, obtain all messages in the group, and perform text analysis and summary on these messages, thus avoiding errors and omissions that may occur in manual operations.

[0074] 2. Users can customize the summary template to flexibly customize the form and content of information summary according to actual needs, thereby reducing the time and error rate of manually filling out the form.

[0075] 3. The summary results can be automatically sent to designated contacts via mobile Internet or email without manual intervention, which significantly improves work efficiency.

[0076] 4. Compared with large models and OCR technology, it does not require a lot of data support, is quick to develop, saves a lot of development time, and can significantly save time and cost.

[0077] The disclosed embodiment also provides a group message aggregation and push device, such as Figure 3 shown. Figure 3 The schematic diagram of the structure of the group message aggregation and push device provided in the embodiment of the present disclosure is as follows. The group message aggregation and push device 300 includes:

[0078] Configuration module 310, the configured module is used to obtain a configuration file, which includes personnel information, a summary template, a group name, and the communication information of the recipient; acquisition module 320, the acquisition module is used to simulate mouse and / or key operations through an automated tool, enter a designated group chat according to the group name, and obtain messages in the group chat; data processing module 330, the data processing module is used to filter the messages according to the personnel information and the summary template to obtain valid data, and use the valid data as dictionary data to generate a pre-processed dictionary; generation module 340, the generation module is used to fill in the pre-processed dictionary according to the summary template to generate a summary result; push module 350, the push module is used to push the summary result to the recipient according to the recipient's communication information.

[0079] In some embodiments of the present disclosure, the acquisition module 320 is specifically used to: start the communication software through a predefined program path and log in to the interface of the communication software; simulate a mouse click on the search box of the interface through an automated tool, simulate keyboard input of the group name and press Enter, and obtain search results; according to the group name, simulate a mouse click on the search result to enter the group chat, and read the interface information of the group chat; when the date keyword does not appear in the interface information, simulate the mouse wheel scrolling upwards and continue to read the interface information of the group chat until the date keyword appears in the interface information, and obtain all messages below the date keyword in the interface information.

[0080] In some embodiments of the present disclosure, the data processing module 330 is specifically used to: for each message, determine whether the content of the message contains the configuration content of the summary template; when the content of the message contains the configuration content, determine the message as a target processing message; determine the sender of the target processing message according to the account name in the personnel information, and when there is a single sender who sends more than one target processing message, deduplicate the target processing message to obtain valid data.

[0081] In some embodiments of the present disclosure, deduplication processing is performed on target processing messages to obtain valid data, including: obtaining the sending time of all target processing messages sent by the sender, and taking the target processing message with the most recent sending time among all target processing messages as valid data.

[0082] In some embodiments of the present disclosure, the data processing module 330 is also used to: cut the valid data by row to obtain a single row of data, cut the single row of data left and right according to punctuation marks to obtain left-side cut data and right-side cut data; use the left-side cut data as the directory of the third-level dictionary, and use the right-side cut data as the query value of the third-level dictionary to obtain the third-level dictionary; use the configuration content of the summary template as the directory of the second-level dictionary, and use the third-level dictionary as the query value of the second-level dictionary to obtain the second-level dictionary; use the personnel information as the directory of the first-level dictionary, and use the second-level dictionary as the query value of the first-level dictionary to obtain the first-level dictionary.

[0083] In some embodiments of the present disclosure, the generation module 340 is specifically used to: read the table content of the summary template and copy the table content to the input directory of the result file; query the dictionary parsing rules configured by the user according to the predefined format in the summary template; fill the data in the preprocessing dictionary into the result file according to the dictionary parsing rules to obtain the summary result.

[0084] In summary, the group message aggregation and push device provided by the present invention can accurately and efficiently enter the designated group chat, obtain all messages in the group, and perform text parsing and aggregation on these messages, thereby avoiding errors and omissions that may occur in manual operations, and can implement custom summary templates, flexibly customize the form and content of information summaries according to actual needs, thereby reducing the time and error rate of manually filling out forms. Compared with large models and OCR technology, it does not require a large amount of data support, is fast to develop, and has low cost.

[0085] The group message aggregation and push device provided in the above embodiment and the group message aggregation and push method embodiment provided in the embodiment of the present disclosure belong to the same concept. The specific implementation process is detailed in the method embodiment and will not be repeated here.

[0086] Figure 4 A schematic diagram of the hardware structure of the communication device provided in the embodiment of the present disclosure is shown in FIG. Figure 4 As shown, the communication device 400 includes at least one processor 402; and a memory 401 communicatively connected to the at least one processor 402; wherein the memory 401 stores instructions that can be executed by the at least one processor 402, and the instructions are executed by the at least one processor 402 to implement the steps of the group message aggregation and push method described in the embodiment of the present disclosure; or, the instructions are executed by the at least one processor 402 to implement the steps of the group message aggregation and push method described in the embodiment of the present disclosure.

[0087] Optionally, the communication device may specifically be a control device of an embodiment of the present application, and the communication device may implement corresponding processes implemented by the control device in each method of the embodiment of the present application, which will not be described in detail here for the sake of brevity.

[0088] It is understood that the communication device also includes a communication interface 403. The various components in the communication device are coupled together through a bus system 404. It is understood that the bus system 404 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 404 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 4 Various buses are labeled as bus system 404 .

[0089] It can be understood that the memory 401 can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Ram bus Random Access Memory).The memory 401 described in the embodiment of the present invention is intended to include but is not limited to these and any other suitable types of memories.

[0090] The method disclosed in the above embodiment of the present disclosure can be applied to the processor 402, or implemented by the processor 402. The processor 402 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit in the processor 402 or the instruction in the form of software. The above processor 402 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The processor 402 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present invention, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium, which is located in the memory 401, and the processor 402 reads the information in the memory 401 and completes the steps of the above method in combination with its hardware.

[0091] In an exemplary embodiment, the communication device can be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), FPGA, general processor, controller, MCU, microprocessor, or other electronic components to execute the aforementioned method.

[0092] The embodiments of the present disclosure also provide a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to implement the steps of the group message aggregation and push method described in the embodiments of the present invention when executed; or, the computer instructions are used to enable the computer to implement the steps of the group message aggregation and push method described in the embodiments of the present invention when executed.

[0093] Optionally, the computer-readable storage medium can be applied to the control device in the embodiments of the present application, and the computer instructions enable the computer to execute the corresponding processes implemented by the control device in the various methods of the embodiments of the present application. For the sake of brevity, they are not repeated here.

[0094] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0095] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0096] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0097] A person of ordinary skill in the art can understand that: all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium, which, when executed, executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, disks or optical disks.

[0098] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

[0099] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for group message aggregation and push, characterized in that: The method comprises: Obtain a configuration file, the configuration file including personnel information, summary template, group name, and recipient communication information; Simulating mouse and / or key operations through an automated tool, entering a designated group chat according to the group name and obtaining messages in the group chat; According to the personnel information and the summary template, the message is screened to obtain valid data, and the valid data is used as dictionary data to generate a preprocessing dictionary; Filling in the preprocessing dictionary according to the summary template to generate a summary result; The summary result is pushed to the recipient according to the communication information of the recipient.

2. The method according to claim 1, characterized in that The step of simulating mouse and / or key operations by an automated tool, entering a designated group chat according to the group name, and obtaining messages in the group chat includes: Start the communication software through a predefined program path and log in to the interface of the communication software; Using an automated tool to simulate a mouse click on the search box on the interface, and to simulate keyboard input of the group name and pressing Enter to obtain search results; According to the group name, simulate a mouse click on the search result to enter the group chat, and read the interface information of the group chat; When the date keyword does not appear in the interface information, simulate the mouse wheel to scroll upward and continue to read the interface information of the group chat until the date keyword appears in the interface information, and obtain all messages below the date keyword in the interface information.

3. The method according to claim 2, characterized in that The step of screening the message to obtain valid data according to the personnel information and the summary template includes: For each of the messages, determining whether the content of the message includes the configuration content of the summary template; In a case where the content of the message includes the configuration content, determining the message as a target processing message; The sender of the target processing message is determined according to the account name in the personnel information. When there is a single sender who sends more than one target processing message, the target processing messages are deduplicated to obtain the valid data.

4. The method according to claim 3, characterized in that The performing deduplication processing on the target processing message to obtain the valid data comprises: The sending time of all the target processing messages sent by the sending personnel is obtained, and the target processing message with the latest sending time among all the target processing messages is used as the valid data.

5. The method according to claim 1, characterized in that The generating a preprocessing dictionary by using the valid data as dictionary data comprises: The valid data is cut into rows to obtain single-row data, and the single-row data is cut into left and right parts according to punctuation marks to obtain left-side cut data and right-side cut data; Using the left-side cut data as the directory of the third-level dictionary and using the right-side cut data as the query value of the third-level dictionary to obtain the third-level dictionary; Using the configuration content of the summary template as the directory of the second-layer dictionary, using the third-layer dictionary as the query value of the second-layer dictionary, to obtain the second-layer dictionary; The personnel information is used as a directory of a first-layer dictionary, and the second-layer dictionary is used as a query value of the first-layer dictionary to obtain the first-layer dictionary.

6. The method according to claim 1, characterized in that The filling process of the preprocessing dictionary according to the summary template to generate a summary result includes: Read the table content of the summary template and copy the table content to the input directory of the result file; Querying the dictionary parsing rules configured by the user according to the predefined format in the summary template; The data in the preprocessing dictionary is filled into the result file according to the dictionary parsing rule to obtain a summary result.

7. A group message aggregation and push device, characterized in that: The device comprises: A configuration module, the configuration module is used to obtain a configuration file, the configuration file includes personnel information, summary template, group name, and communication information of the recipient; An acquisition module, the acquisition module is used to simulate mouse and / or key operations through an automated tool, enter a designated group chat according to the group name, and acquire messages in the group chat; A data processing module, the data processing module is used to screen the message according to the personnel information and the summary template to obtain valid data, and use the valid data as dictionary data to generate a preprocessing dictionary; A generating module, the generating module is used to fill in the preprocessing dictionary according to the summary template to generate a summary result; A push module is used to push the summary result to the recipient according to the communication information of the recipient.

8. A communication device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 6.

9. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 6.

10. A computer program product, characterized in that A computer program is included which, when executed by a processor, implements the method according to any one of claims 1 to 6.