A power information pushing method and system based on tag technology
By using a tag-based power information push method, first and second tags are generated. Combined with user tags, the problem of inaccurate power information file push is solved, and accurate information push and understanding are achieved.
Patent Information
- Application Number
- CN202310817176.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-05
- Publication Date
- 2026-02-10
- Estimated Expiration
- 2043-07-05
AI Technical Summary
In existing technologies, the push of power information files cannot accurately reach the target users, resulting in inaccurate information delivery and an inability to extract and push information to the target users.
The power information push method based on tag technology obtains file information and processes commands to generate first and second tags. Combined with user tags, the target user is identified and the information is pushed.
It enables precise information delivery, helps users understand information document requirements, avoids missing policy information, and improves the accuracy of information services.
Smart Images

Figure CN116932897B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of power information push technology, and in particular to a power information push method and system based on tag technology. Background Technology
[0002] In power systems, power information documents are typically issued periodically. These documents usually include requirements, subject matter, and timeframes. By reading these documents, relevant information can be obtained in a timely manner, allowing for appropriate adjustments to be made and thus improving the efficiency of power operation or maintenance.
[0003] In existing technologies, power information files on the platform are typically sorted by publication time. Since users have different focuses and require different power information files, this hinders accurate delivery of information. Furthermore, the overview page for power information files usually uses the filename as a link to the details page, meaning the content of the file cannot be readily understood or interpreted from the overview page. This results in a failure to extract and effectively deliver information to the target users.
[0004] For example, a Chinese patent document, "A Method and System for Automatically Uploading Log Files of a Power Acquisition Terminal," with publication number CN114449018A and application date of April 8, 2022, specifically relates to a method for automatically uploading log files of a power acquisition terminal, as well as related systems and devices. This method and system can automatically report the fault status of the power acquisition terminal to the main station server when a fault occurs, and upload the corresponding log files according to the request of the main station server. This solves the problem that existing power acquisition terminals require manual collection of log files when a fault occurs, resulting in low collection efficiency and risks. However, it also has the problem of not being able to extract information and push it to the target user. Summary of the Invention
[0005] To address the shortcomings of existing technologies in extracting and pushing information to target users, this invention proposes a power information push method and system based on tag technology, which can extract information and push it to target users.
[0006] The following is the technical solution of the present invention: a method for pushing power information based on tag technology, comprising the following steps:
[0007] S1: Obtain file information and configure processing commands;
[0008] S2: Process the file information using commands to obtain the processing information;
[0009] S3: Tag the file information to obtain the first tag, and use the processed information as the second tag;
[0010] S4: Obtain user tags based on user information and user behavior;
[0011] S5: Based on user tags, first tags, and second tags, obtain the target user and push file information and processed files to the target user.
[0012] In this solution, file information is acquired and stored. This file information is then extracted and processed using commands to obtain processed information. This processed information is more refined than the file information, serving as information extraction. The file information is tagged to obtain a first tag, and the processed information is used as a second tag. Based on the user tag, the first tag, and the second tag, the target user is identified. The file information and the processed file are then pushed to the target user, achieving precise information delivery. This solution effectively extracts and pushes information to the target user.
[0013] As a preferred method, in S1, file information is obtained through automatic collection and file upload.
[0014] In this solution, when automatically collecting file information, the system locates the domain name for obtaining file information by setting the collection domain name. It then accesses the corresponding website based on the domain name, edits and executes the collection program, and retrieves the file information from the website. Furthermore, the collection program can be configured with keywords to collect file information containing those keywords from the website. The collected file information is then sorted in reverse chronological order. When manually uploading file information, users select and drag the file to the file upload area, or click the file upload button to select and upload a specific file.
[0015] Preferably, in S1, the processing commands include body processing, keyword processing, summary processing, and date processing.
[0016] In this solution, the main body processing retrieves the main information of the information file, the summary processing retrieves the summary information of the information file, the keyword processing retrieves the keywords of the information file, and the date processing retrieves the start date, end date, etc. of the information file. Different processing commands are distinguished by preset fields.
[0017] Preferably, S2 includes the following steps:
[0018] S21: Generate processing command ID based on file information ID;
[0019] S22: Processing information is obtained by executing the processing commands in numerical order, and the processing information is cached in memory according to the number.
[0020] S23: After executing all processing commands, access the database and store the processing command ID, number, and corresponding processing information in the database.
[0021] In this scheme, the processing command obtains the first ID of the file information, and generates the second ID of the processing command based on the first ID of the file information. Since there are one or more processing commands, the multiple processing commands are processed in order according to the number of the processing commands. After each processing command is completed, the corresponding processing information is obtained. For example, after the information file executes the keyword processing command, the keyword processing information is obtained. The processing information is saved in memory according to the number. When all processing commands are executed, all processing information is saved in memory according to the number.
[0022] Preferably, in S21, the length of the processing command ID is greater than or equal to the length of the file information ID, and the processing command ID includes the file information ID.
[0023] In this scheme, the file information ID and the processing command ID have a certain similarity, which facilitates the association and reverse lookup of the file information ID and the processing command ID.
[0024] Preferably, in step S3, the file information is tagged to obtain the first tag, including the following steps:
[0025] S31: Select keywords based on document information;
[0026] S32: Calculate the occurrence ratio of keywords;
[0027] S33: If the occurrence ratio is greater than or equal to the ratio threshold, the keyword will be used as the first tag; if the occurrence ratio is not greater than the ratio threshold, the first few keywords will be used as the first tag in descending order of occurrence ratio.
[0028] In this scheme, when obtaining tag information based on duplicate information in file information, several keywords are extracted from the file information, and the occurrence ratio of these keywords in the file information is calculated. If the occurrence ratio of a keyword is greater than or equal to a ratio threshold, all keywords are used as the first tag. If the occurrence ratio of a keyword is not greater than the ratio threshold, the first few keywords are used as the first tag in descending order of their occurrence ratio. When obtaining tag information based on processing information obtained from processing commands, the processing information corresponding to the processing commands is used as the second tag.
[0029] Preferably, S4 includes the following steps:
[0030] S41: Obtain the text content of user behavior;
[0031] S42: Calculate the number of text contents within a specified period. If the number is greater than or equal to the number threshold, generate several recommendation tags containing text contents and proceed to S43; if the number is less than the number threshold, the first user tag is empty and proceed to S44.
[0032] S43: If one or more recommended tags have been selected within the specified time, the recommended tags will be used as the first user tag; otherwise, the text content will be used as the first user tag.
[0033] S44: Use the first user tag and the second user tag set by the user as the user tag.
[0034] In this solution, text content within a specified period is obtained. First, the quantity of text content is determined to determine whether a new first user tag needs to be added. If a first user tag needs to be added, it is determined whether a specified tag has been selected, thereby determining the specific first user tag that needs to be added.
[0035] As a preferred embodiment, in S5, the target user is obtained based on the user tag, the first tag, and the second tag, including the following steps: S51: Concatenate the first tag and the second tag as the target tag, and delete duplicate tags in the target tag;
[0036] S52: Determine whether the user tag and the target tag have a common tag. If so, the user corresponding to the user tag is the target user; otherwise, the user corresponding to the user tag is not the target user.
[0037] In this solution, the first and second tags are aggregated, and then the aggregated tags are compared with the user tags. Based on the user tags, it is determined whether the user is the target user. Furthermore, the accuracy of the target user can be divided according to the number of identical tags. The more identical tags, the higher the accuracy.
[0038] A power information push system based on tag technology includes: an information acquisition module, which is connected to an information storage module and a tag processing module; the information storage module is connected to the information processing module; the information processing module is connected to a processing configuration module and a tag processing module; the tag processing module is connected to a matching push module; and the matching push module is connected to a user information module.
[0039] In this solution, the information collection module collects file information, the information processing module processes the collected file information to obtain processed information, the tag processing module tags the file information to obtain a first tag, and tags the processed information to obtain a second tag. After the user information module sets user tags, the matching and push module matches the first and second tags based on the user tags and pushes the file information and processed file to the user.
[0040] Preferably, the information storage module is connected to the file display module, which displays the processed information and file information in reverse chronological order.
[0041] The beneficial effect of this invention is that it can extract information and push it to the target user. Attached Figure Description
[0042] Figure 1 A schematic diagram of a power information push system based on tag technology according to the present invention.
[0043] Figure 2 The flowchart of a power information push method based on tag technology of the present invention.
[0044] The diagram shows: 1. Information collection module; 2. Information processing module; 3. Processing configuration module; 4. Tag processing module; 5. Information storage module; 6. File display module; 7. User information module; 8. Matching and push module. Detailed Implementation
[0045] The technical solution of the present invention will be further described in detail below through embodiments and in conjunction with the accompanying drawings.
[0046] Example 1:
[0047] like Figure 1 As shown, a power information push system based on tag technology includes:
[0048] Information acquisition module 1 collects file information and connects to information storage module 5 and tag processing module 4;
[0049] Information processing module 2 processes file information, obtains processed information, and connects to information storage module 5, tag processing module 4, and processing configuration module 3;
[0050] The configuration module 3 configures the processing commands, which are then obtained by the information processing module 2, and connects to the information processing module 2.
[0051] Tag processing module 4 performs tag processing on file information and processing information to obtain first tag and second tag, and connects information processing module 2, information collection module 1 and matching push module 8;
[0052] Information storage module 5 stores file information and processing information, and connects to file display module 6 and information acquisition module 1;
[0053] File display module 6 is used to display file information and processing information, and is connected to file display module 6;
[0054] User information module 7 sets user information and user tags, and connects to matching and push module 8;
[0055] The matching and push module 8 matches the first and second tags based on the user tags, and pushes the file information and processed file to the user, connecting the tag processing module 4 and the user information module 7.
[0056] Information collection module 1 collects file information. This module automatically collects file information and allows for manual file uploads. For automatic collection, it locates the domain name for the file information by setting a collection domain, accesses the corresponding website, edits and executes the collection program, and retrieves the file information from the website. Furthermore, the collection program can be configured with keywords to collect file information containing those keywords from the website, and the collected file information is sorted in reverse chronological order. For manual file uploads, users select and drag the file to the upload area, or click the upload button to select a specific file. Both automatically collected and manually uploaded file information are saved to information storage module 5, and the file acquisition markers for automatically collected and manually uploaded file information are different.
[0057] The configuration module 3 processes configuration commands for the information processing module 2 to obtain and process. Within the configuration module 3, these commands retrieve relevant information about the file. These commands include main body processing, keyword processing, summary processing, and date processing, with different commands distinguished by preset fields. Specifically, main body processing retrieves the main information of the file, summary processing retrieves a summary of the information file, keyword processing retrieves the keywords of the information file, and date processing retrieves the start and end dates of the information file.
[0058] Information processing module 2 processes file information to obtain processing information. It obtains processing commands from processing configuration module 3 and processes the file information based on these commands. The processing command retrieves the first ID of the file information and generates a second ID for the processing command based on this first ID. The length of the second ID is greater than or equal to the length of the first ID, and it includes the first ID. Since there are one or more processing commands, they are processed sequentially according to their command numbers. After each processing command is completed, corresponding processing information is obtained. For example, after executing the keyword processing command, keyword processing information is obtained. This processing information is saved in memory according to its number. When all processing commands have been executed, all processing information is saved in memory according to its number. At this point, the database is accessed to store all the second IDs, processing information, and numbers in information storage module 5, thereby reducing the number of accesses to information storage module 5 and improving storage efficiency.
[0059] Tag processing module 4 performs tag processing on file information and processing information to obtain first and second tags. Tag information is obtained based on duplicate information in the file information and processing information obtained from processing commands. When obtaining tag information based on duplicate information in the file information, several keywords are extracted from the file information, and the occurrence ratio of these keywords in the file information is calculated. If the occurrence ratio of keywords is greater than or equal to a threshold, all keywords are used as the first tag. If the occurrence ratio of keywords is not greater than the threshold, the first few keywords are used as the first tag in descending order of occurrence ratio. When obtaining tag information based on processing information obtained from processing commands, the processing information corresponding to the processing command is used as the second tag.
[0060] Information storage module 5 stores file information and processing information. In information storage module 5, file information and processing information are stored in different data tables, and are correlated using the first ID of the file information and the second ID of the processing command. In the processing information table, the corresponding processing information is stored according to the processing command number.
[0061] The file display module 6 is used to display file information and processing information. The file display module 6 retrieves processing information from the information storage module 5, sets the corresponding processing information in the file display module 6 according to the processing command number, and displays the processing information and file information in reverse chronological order.
[0062] User Information Module 7 is used to obtain or configure user information. It allows users to modify basic information and user tags. Basic information includes user name, industry attribute, and geographical location. User tags can be set manually or obtained through historical search records. Each user tag includes several tags. When setting user tags manually, users input text content, and tags are generated based on that content. When obtaining recommended tags through historical search records (i.e., user behavior), if identical text content exists in search records within a specified period and the number of such text contents exceeds a threshold, several recommended tags containing that text content are generated and displayed in User Information Module 7 for the user to choose from. Users can select one or more recommended tags as user tags. If no selection is made within the recommended tag selection period, the text content will be automatically set as the user tag.
[0063] The matching and push module 8 matches a first tag and a second tag based on the user's tags, and pushes the file information and the processed file to that user. A matching and push time is set, and at that time, a matching command and a push command are executed. The matching command matches the first tag and the second tag with the user's tags to determine the user information. The push command, based on the user information, pushes the file information corresponding to the first tag and the processed file corresponding to the second tag to the specified user, thereby achieving targeted and accurate delivery of file information and processed files.
[0064] Information collection module 1 collects file information, information processing module 2 processes the collected file information to obtain processed information, tag processing module 4 tags the file information to obtain a first tag, and tags the processed information to obtain a second tag. After user tags are set in user information module 7, the matching and push module 8 matches the first and second tags based on the user tags and pushes the file information and processed file to the user.
[0065] Example 2:
[0066] like Figure 2 As shown, a method for pushing electricity information based on tag technology includes the following steps:
[0067] S1: Obtain file information and configure processing commands;
[0068] S2: Process the file information using commands to obtain the processing information;
[0069] S3: Tag the file information to obtain the first tag, and tag the processed information to obtain the second tag;
[0070] S4: Obtain user tags based on user information and user behavior;
[0071] S5: Based on user tags, first tags, and second tags, obtain the target user and push file information and processed files to the target user.
[0072] In step S1, the file acquisition module automatically collects file information and manually uploads file information. When automatically collecting file information, it locates the domain name for the file information by setting the acquisition domain name, accesses the corresponding website based on the domain name, edits and executes the acquisition program, and obtains the file information from the website. Furthermore, the acquisition program sets keywords to collect file information containing those keywords from the website, and sorts the collected file information in reverse chronological order. When manually uploading file information, the user selects the file information and drags it to the file upload area, or clicks the file upload button to select and upload a specific file. The configuration module 3 processes the configuration information using processing commands, obtaining relevant information about the file information. These commands include main body processing, keyword processing, summary processing, and date processing. Main body processing retrieves the main information of the file; summary processing retrieves the summary information of the file; keyword processing retrieves the keywords of the file; and date processing retrieves the start and end dates of the file.
[0073] In step S2, the information processing module 2 obtains processing commands from the processing configuration module 3 and processes the file information based on these commands. Since there are one or more processing commands, they are processed sequentially according to their command numbers. After each processing command is completed, corresponding processing information is obtained. For example, after executing the keyword processing command on the information file, keyword processing information is obtained. This processing information is saved in memory according to its number. When all processing commands have been executed, all processing information is saved in memory according to its number. The steps are as follows: generate a processing command ID based on the file information ID; execute the processing commands sequentially according to their numbers to obtain processing information, which is then cached in memory according to its number; after executing all processing commands, access the database and store the processing command ID, its number, and the corresponding processing information in the database.
[0074] In step S3, tag information is obtained based on duplicate information in the file information and processing information obtained from processing commands. When obtaining tag information based on duplicate information in the file information, several keywords are extracted from the file information, and the occurrence ratio of the keywords in the file information is calculated. If the occurrence ratio of the keywords is greater than or equal to the ratio threshold, all keywords are used as the first tag. If the occurrence ratio of the keywords is not greater than the ratio threshold, the first few keywords are used as the first tag in descending order of occurrence ratio. When obtaining tag information based on processing information obtained from processing commands, the processing information corresponding to the processing commands is used as the second tag.
[0075] In step S4, the user information module 7 allows users to modify basic information and user tags. User tags can be set manually or obtained through historical search records. A user tag includes several tags. When setting user tags manually, users input text content, and tags are generated based on that text content. When obtaining recommended tags through historical search records (i.e., user behavior), if identical text content exists in search records within a specified period and the number of such text contents exceeds a threshold, several recommended tags containing that text content are generated based on that text content. All recommended tags are displayed in the user information module 7 for the user to choose from. Users can select one or more recommended tags as user tags. If no selection is made within the recommended tag selection period, the text content is automatically set as the user tag. The specific steps are as follows:
[0076] S41: Obtain the text content of user behavior;
[0077] S42: Calculate the number of text contents within a specified period. If the number is greater than or equal to the number threshold, generate several recommendation tags containing text contents and proceed to S43; if the number is less than the number threshold, the first user tag is empty and proceed to S44.
[0078] S43: If one or more recommended tags have been selected within the specified time, the recommended tags will be used as the first user tag; otherwise, the text content will be used as the first user tag.
[0079] S44: Use the first user tag and the second user tag set by the user as the user tag.
[0080] In step S5, a matching and push time is set, and a matching command and a push command are executed during this time. The matching command matches the first tag and the second tag with the user tag to determine the user information. The push command, based on the user information, pushes the file information corresponding to the first tag and the processed file corresponding to the second tag to the specified user, thereby achieving targeted and accurate push of file information and processed files. Obtaining the target user based on the user tag, the first tag, and the second tag includes the following steps: concatenating the first tag and the second tag as the target tag, and deleting duplicate tags from the target tag; determining whether the user tag and the target tag have a common tag; if so, the user corresponding to the user tag is the target user; otherwise, the user corresponding to the user tag is not the target user.
[0081] In summary, tag matching enables precise delivery of information documents to target users, helping them understand document requirements and avoiding missing policy information. It effectively utilizes big data and artificial intelligence technologies to improve the accuracy of information services.
[0082] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention should be included within the protection scope of the present invention.
Claims
1. A method for pushing electricity information based on tag technology, characterized in that, Includes the following steps: S1: Obtain file information and configure processing commands; S2: Process the file information using commands to obtain the processing information; A processing command ID is generated based on the file information ID; the length of the processing command ID is greater than or equal to the length of the file information ID, and the processing command ID includes the file information ID; the processing commands are executed in order of their numbers to obtain processing information, which is cached in memory according to their numbers; after all processing commands are executed, the database is accessed to store the processing command ID, its number, and the processing information corresponding to that number in the database; S3: Tag the file information to obtain the first tag; extract several keywords based on the file information and calculate their occurrence ratio; set the first tag according to the ratio; use the processed information as the second tag; S4: Obtain text content related to user behavior, and obtain user tags based on user information and user behavior from text content within a specified period; S5: Based on user tags, first tags, and second tags, the target user is obtained. The first tags and second tags are summarized, and then the summarized tags are compared with the user tags. Based on the user tags, it is determined whether the user is the target user. The accuracy of the target user is divided according to the number of identical tags, and the file information and processing files are pushed to the target user.
2. The method for pushing power information based on tag technology according to claim 1, characterized in that, In S1, file information is obtained through automatic data collection and file upload.
3. The method for pushing electricity information based on tag technology according to claim 1, characterized in that, In S1, the processing commands include body processing, keyword processing, summary processing, and date processing.
4. The method for pushing electricity information based on tag technology according to claim 1, characterized in that, In S3, the file information is tagged to obtain the first tag, including the following steps: S31: Select keywords based on document information; S32: Calculate the occurrence ratio of keywords; S33: If the occurrence ratio is greater than or equal to the ratio threshold, the keyword will be used as the first tag; if the occurrence ratio is not greater than the ratio threshold, the first few keywords will be used as the first tag in descending order of occurrence ratio.
5. A method for pushing electricity information based on tag technology according to claim 1 or 4, characterized in that, S4 includes the following steps: S41: Obtain the text content of user behavior; S42: Calculate the number of text contents within a specified period. If the number is greater than or equal to the number threshold, generate several recommendation tags containing text contents and proceed to S43; if the number is less than the number threshold, the first user tag is empty and proceed to S44. S43: If one or more recommended tags have been selected within the specified time, the recommended tags will be used as the first user tag; otherwise, the text content will be used as the first user tag. S44: Use the first user tag and the second user tag set by the user as the user tag.
6. The method for pushing electricity information based on tag technology according to claim 1, characterized in that, In S5, the target user is obtained based on user tags, the first tag, and the second tag, including the following steps: S51: Combine the first and second tags as the target tag, and delete duplicate tags in the target tag; S52: Determine whether the user tag and the target tag have a common tag. If so, the user corresponding to the user tag is the target user; otherwise, the user corresponding to the user tag is not the target user.
7. A power information push system based on tag technology, applicable to the power information push method based on tag technology as described in any one of claims 1-6, characterized in that, include: The information collection module connects to the information storage module and the tag processing module. The information storage module connects to the information processing module. The information processing module connects to the processing configuration module and the tag processing module. The tag processing module connects to the matching and push module. The matching and push module connects to the user information module.
8. A power information push system based on tag technology according to claim 7, characterized in that, The information storage module is connected to the file display module, which displays processed information and file information in reverse chronological order.
Citation Information
Patent Citations
Automatic log file uploading method and system for electric power acquisition terminal
CN114449018A
Video content processing method and device, computer device and storage medium
CN110222232A
Popular science content personalized recommendation system based on cloud computing
CN111159560A