News approval system and method
By designing a news approval system, users can select news in batches for approval, solving the problem of low efficiency of the existing system and achieving standardization and transparency of the approval process.
Patent Information
- Application Number
- CN202411515540.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2044-10-29
AI Technical Summary
The existing news approval system is inefficient, resulting in a large amount of time wasted in human resources and may cause errors.
Design a news approval system, including login module, permission module, display module, approval module and saving module, users can select news in batches for approval, and the backend system records the detailed information of the approval process.
It improves the efficiency of news approval, reduces the waste of human resources, and ensures the standardization and transparency of the approval process.
Smart Images

Figure CN119024999B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of system design, and in particular to a news approval system and method. Background Art
[0002] At present, news is an indispensable medium for spreading information in people's lives, and accuracy and standardization are extremely important. News content is usually reviewed by professional editors, and the approval is completed after the content and standard of the news information are confirmed. However, this kind of approval method wastes a lot of human resources and time, and also causes certain errors.
[0003] Therefore, the present invention proposes a news review and approval system and method. Summary of the invention
[0004] The present invention provides a news approval system and method, which are used to enter a news approval page through the user news approval system, allowing users to select news in batches for approval, thereby improving approval efficiency.
[0005] In one aspect, the present invention provides a news review and approval system, comprising:
[0006] Login module: When a user logs into the news approval system, the backend system detects the matching status of the user name and password entered by the user, and allows the user to enter if the detection passes;
[0007] Permission module: When a user selects the news approval management page, the backend system retrieves the user permission data from the user database, and users whose permission fields meet the preset standards are allowed to enter the news approval management page;
[0008] Display module: After the user chooses to approve the news, the news will be presented in a list and sorted in the way selected by the user;
[0009] Approval module: the news approval management page includes buttons for approving news and editing news, and users complete the approval process by executing button operations;
[0010] Saving module: After the user completes the approval process, the background system records the detailed information of the approval process into the approval database.
[0011] On the other hand, the login module includes:
[0012] Input unit: The news approval system displays the login interface to the user in a visual way, and the user enters the user name and password through the login interface;
[0013] Receiving unit: After the input is completed, the login request is sent to the background system, and the background system receives the request data containing the encrypted user name and password;
[0014] Matching unit: The backend system processes the request data to obtain a user name ID and password string in a standard format; matches the user name ID based on the user database. If the user name ID exists in the user database, continue to match the password string corresponding to the user name ID in the user database. If the password string fails to match, an error message is returned. If the password string fails to match but the match succeeds, the user is verified and allowed to enter the news approval system. If the user name ID does not exist in the user database, a username error message is returned.
[0015] On the other hand, the login module further includes:
[0016] Processing unit: When the background system processes the request data, it iteratively processes the request data based on the AES encryption key, completes the iteration according to the preset number of iterations to obtain the first request data; filters and extracts the encrypted field of the first request data according to the preset salt value field, and the encrypted field of the first request data is decrypted by the decryptor to output the decrypted user name id and password string in the standard format.
[0017] On the other hand, the permission module includes:
[0018] Permission unit: After the user selects the news approval management page through the button, a permission request is sent to the backend system; the permission field corresponding to the user name id in the user database is matched through the user name id, and the user permission data is obtained after the data of the permission field is processed;
[0019] A corresponding unit: matches the permission code in the user permission data with the permission code-permission interpretation mapping table to obtain the current permission of the user;
[0020] Judgment unit: if the current authority of the user does not allow access to the news approval management page, return insufficient authority, otherwise visually present the news approval management page.
[0021] On the other hand, the display module comprises:
[0022] Fuzzy search unit: Users are allowed to use fuzzy search to enter a single character in the search bar to display multiple news based on the matching degree. The specific matching degree is:
[0023] ; where f represents the matching degree between a single character entered in the search bar and any news name. Indicates the ASCII distance between a single character entered in the search bar and the i-th character of the news name, where the news name has a total of n characters. represents the minimum matching distance, ( ) represents the logarithmic function, express to the power of i;
[0024] If multiple characters are entered, the matching degrees of the multiple characters are superimposed to obtain the final matching degree;
[0025] Interface interaction unit: users select news that need to be approved through the checkbox selection control in the approval management interface; the news selected by the user is packaged into an array according to the news ID. After selecting the sorting method, the background system re-sorts the news IDs in the array according to the sorting method to generate the first list, and the interface presents the first list;
[0026] Front-end processing: The AJAX request generated by the first list after the form is submitted is passed to the back-end system;
[0027] Back-end processing: The back-end system retrieves news records from the database according to the news ID, and sends the basic information corresponding to the news records to the front-end interface.
[0028] On the other hand, the approval module includes:
[0029] Display unit: The news approval management page includes buttons for approving news and editing news. If the button for approving news is selected, the backend system obtains the news ID of the news selected for approval by the user, matches the news ID primary key of the cloud warehouse according to the news ID of the news selected for approval by the user, obtains the detailed content of the approved news, and outputs it to the front-end for display. After the user clicks the "Approve News" button, the backend status of the approved news is updated from "pending approval" to "approved";
[0030] Editing unit: When the user selects the "Edit News" button, the background system pops up an editing interface, allowing the user to modify the content of the news. After editing, the user selects the "Save" button, and the backend status of the news is updated from "pending approval" to "under editing";
[0031] Submission unit: The user completes the submission of the news by selecting a submit button.
[0032] On the other hand, the storage module includes:
[0033] Receiving approval unit: the front-end system sends the approval operation request to the back-end system, and the back-end system completes batch processing of multiple approval operation requests through the message queue. The back-end system first verifies the validity of the request queue, and after verification, updates the status of the news from "pending approval" to "approved";
[0034] Recording unit: The system processes the detailed information of the approval operation into historical information in a standard format and inserts the historical information into the approval database.
[0035] In another aspect, the present invention provides a news review method, comprising:
[0036] Step 1: When a user logs in to the news approval system, the backend system detects the matching status of the user name and password entered by the user, and allows the user to enter if the detection passes;
[0037] Step 2: The user selects the news approval management page, and the backend system retrieves the user authority data from the user database. Users whose authority fields meet the preset standards are allowed to enter the news approval management page;
[0038] Step 3: After the user chooses to approve the news, the news will be presented in a list and sorted in the way selected by the user;
[0039] Step 4: The news approval management page includes buttons for approving news and editing news, and the user completes the approval process by executing button operations;
[0040] Step 5: After the user completes the approval process, the backend system records the detailed information of the approval process into the approval database.
[0041] Compared with the prior art, the present invention has the following beneficial effects:
[0042] The present invention provides a news approval system and method, which are used to enter a news approval page through the user news approval system, allowing users to select news in batches for approval, thereby improving approval efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 It is a structural diagram of a news approval system provided by an embodiment of the present invention;
[0045] Figure 2 The figure is a flowchart of a news review and approval method provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0046] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0047] Embodiment 1:
[0048] like Figure 1 As shown, a news approval system provided by an embodiment of the present invention includes:
[0049] Login module: When a user logs into the news approval system, the backend system detects the matching status of the user name and password entered by the user, and allows the user to enter if the detection passes;
[0050] Permission module: When a user selects the news approval management page, the backend system retrieves the user permission data from the user database, and users whose permission fields meet the preset standards are allowed to enter the news approval management page;
[0051] Display module: After the user chooses to approve the news, the news will be presented in a list and sorted in the way selected by the user;
[0052] Approval module: the news approval management page includes buttons for approving news and editing news, and users complete the approval process by executing button operations;
[0053] Saving module: After the user completes the approval process, the background system records the detailed information of the approval process into the approval database.
[0054] In this embodiment, the news approval system is a software platform integrating multiple functional modules, including: a login module, a permission module, a display module, an approval module, and a storage module.
[0055] In this embodiment, the background system is the core part that supports the operation of the news approval system and is responsible for user identity authentication, authority control, news display, approval operations and data storage.
[0056] In this embodiment, the username and password are credentials used for identity authentication; the username is the user's unique identifier in the system, used to identify and distinguish different users; the password is secret information to protect the security of the user account, used to verify the user's identity and ensure that only authorized users can access the system.
[0057] In this embodiment, the matching status refers to whether the username and password entered by the user are consistent with the correct credentials stored in the background system.
[0058] In this embodiment, verification refers to the process of confirming the identity and authority of a user to ensure that the user has the right to access the system and perform specific operations.
[0059] In this embodiment, the user database is a database that stores user information, including user names, passwords, permissions, roles and other data.
[0060] In this embodiment, the user authority data is key information for storing and managing user access rights and operation rights.
[0061] In this embodiment, the permission field includes: permission name, permission value, permission level, access scope, etc.
[0062] In this embodiment, the preset standards include: role authority, operation authority, authority level, module access, etc.
[0063] In this embodiment, approving news refers to the user making a decision based on the content of the news, including: "approval", "rejection" or "needs modification".
[0064] In this embodiment, editing news includes: editing the title, text, summary and other contents of the news.
[0065] In this embodiment, the approval process includes: news selection, content review, submission for approval and other processes.
[0066] In this embodiment, the approval database stores approval records, news content, user information, historical records and other contents.
[0067] The working principle and beneficial effects of the above technical solution are: ensuring security through user login and permission verification, the display module presents news in the form of a list and supports sorting, the approval module provides approval and editing functions, and the storage module records detailed approval information, which improves the overall system security, operational efficiency and traceability, and ensures that the approval process is standardized and transparent.
[0068] Embodiment 2:
[0069] Based on the above embodiment 1, the login module includes:
[0070] Input unit: The news approval system displays the login interface to the user in a visual way, and the user enters the user name and password through the login interface;
[0071] Receiving unit: After the input is completed, the login request is sent to the background system, and the background system receives the request data containing the encrypted user name and password;
[0072] Matching unit: The backend system processes the request data to obtain a user name ID and password string in a standard format; matches the user name ID based on the user database. If the user name ID exists in the user database, continue to match the password string corresponding to the user name ID in the user database. If the password string fails to match, an error message is returned. If the password string fails to match but the match succeeds, the user is verified and allowed to enter the news approval system. If the user name ID does not exist in the user database, a username error message is returned.
[0073] In this embodiment, visualization refers to displaying the user interface and information in a graphical manner.
[0074] In this embodiment, the login interface is a graphical interface displayed when a user accesses the system.
[0075] In this embodiment, the login request refers to the process in which after the user enters the user name and password in the news approval system, the system sends these credentials to the backend server for verification.
[0076] In this embodiment, the request data refers to an information package submitted by the user for identity authentication.
[0077] In this embodiment, the standard format refers to a normalized data structure used by the background system when processing request data.
[0078] In this embodiment, the user name id refers to an identifier used to uniquely identify a user in a user database.
[0079] In this embodiment, the password character string refers to the encrypted user password.
[0080] The working principle and beneficial effects of the above technical solution are: user names and passwords are collected through the user input interface, and the background system verifies the encrypted data. The system ensures the legitimacy of the user by matching the user name and password, and allows access to the system after successful verification, thereby improving the security of the system, preventing illegal logins, and optimizing the user experience.
[0081] Embodiment 3:
[0082] Based on the above embodiment 2, the login module further includes:
[0083] Processing unit: When the background system processes the request data, it iteratively processes the request data based on the AES encryption key, completes the iteration according to the preset number of iterations to obtain the first request data; filters and extracts the encrypted field of the first request data according to the preset salt value field, and the encrypted field of the first request data is decrypted by the decryptor to output the decrypted user name id and password string in the standard format.
[0084] In this embodiment, the AES encryption key is a secret key used in the Advanced Encryption Standard (AES) algorithm.
[0085] In this embodiment, iterative processing in the encryption process refers to repeated encryption or decryption operations on data to enhance security or achieve a specific processing effect.
[0086] In this embodiment, the preset number of iterations refers to the number of repeated operations set during the encryption process.
[0087] In this embodiment, the first request data is the decrypted intermediate product original data.
[0088] In this embodiment, the preset salt value field refers to a specific value used to filter and extract the encrypted field.
[0089] In this embodiment, the encrypted field refers to a portion of data extracted from the first request data and used for decryption.
[0090] In this embodiment, the decryptor refers to a component used to restore encrypted data to original information.
[0091] The working principle and beneficial effect of the above technical solution are: using the AES encryption key to iteratively process the request data, extracting the encrypted data in combination with the preset salt value field, and decrypting to obtain the standard user name ID and password string. This process enhances data security, effectively prevents unauthorized access, and protects the transmitted and stored data.
[0092] Embodiment 4:
[0093] Based on the above embodiment 1, the authority module includes:
[0094] Permission unit: After the user selects the news approval management page through the button, a permission request is sent to the backend system; the permission field corresponding to the user name id in the user database is matched through the user name id, and the user permission data is obtained after the data of the permission field is processed;
[0095] A corresponding unit: matches the permission code in the user permission data with the permission code-permission interpretation mapping table to obtain the current permission of the user;
[0096] Judgment unit: if the current authority of the user does not allow access to the news approval management page, return insufficient authority, otherwise visually present the news approval management page.
[0097] In this embodiment, the permission request refers to a request sent by the user to the background system through interface operation.
[0098] In this embodiment, the permission code refers to a unique code identifier used to identify user permissions.
[0099] In this embodiment, the permission code-permission interpretation mapping table is a table representing the mapping relationship between the permission code and its corresponding permission interpretation.
[0100] The working principle and beneficial effects of the above technical solution are: ensuring that only authorized users can access sensitive functions, thereby improving the security of the system.
[0101] Embodiment 5:
[0102] Based on the above embodiment 1, the display module includes:
[0103] Fuzzy search unit: Users are allowed to use fuzzy search to enter a single character in the search bar to display multiple news based on the matching degree. The specific matching degree is:
[0104] ; where f represents the matching degree between a single character entered in the search bar and any news name. Indicates the ASCII distance between a single character entered in the search bar and the i-th character of the news name, where the news name has a total of n characters. represents the minimum matching distance, ( ) represents the logarithmic function, express to the power of i;
[0105] If multiple characters are entered, the matching degrees of the multiple characters are superimposed to obtain the final matching degree;
[0106] Interface interaction unit: users select news that need to be approved through the checkbox selection control in the approval management interface; the news selected by the user is packaged into an array according to the news ID. After selecting the sorting method, the background system re-sorts the news IDs in the array according to the sorting method to generate the first list, and the interface presents the first list;
[0107] Front-end processing: The AJAX request generated by the first list after the form is submitted is passed to the back-end system;
[0108] Back-end processing: The back-end system retrieves news records from the database according to the news ID, and sends the basic information corresponding to the news records to the front-end interface.
[0109] In this embodiment, fuzzy search is a method used in a database or search system to find records that partially match input characters or character strings.
[0110] In this embodiment, the matching degree evaluates the similarity between the characters input in the search bar and the characters in the news title.
[0111] In this embodiment, the ascii distance refers to the difference between the values of two characters in the ASCII encoding table.
[0112] In this embodiment, the minimum matching distance refers to a threshold value set in order to evaluate the matching degree between the search characters and the characters in the news title in the fuzzy search.
[0113] In this embodiment, the selection control is a component in the user interface that allows the user to select one or more items from a set of options.
[0114] In this embodiment, an array is a data structure used to store a group of related data.
[0115] In this embodiment, the first list refers to a sorted list generated after the news selected by the user is sorted in the approval management interface.
[0116] In this embodiment, the AJAX request is a technology for creating dynamic, asynchronous web applications, which requests data from the server and updates part of the content without reloading the entire page.
[0117] In this embodiment, the basic information includes news title, release date, news summary, news source, etc.
[0118] The working principle and beneficial effects of the above technical solution are as follows: by fuzzy search, a single character or multiple characters are input, and the system calculates the matching degree and displays relevant news. The user selects news in the approval management interface, and the system packages the news ID and generates a list in order. After submission through AJAX, the background retrieves and returns the basic information of the news, which improves the accuracy of news search and the operational efficiency of approval management.
[0119] Embodiment 6:
[0120] Based on the above embodiment 1, the approval module includes:
[0121] Display unit: The news approval management page includes buttons for approving news and editing news. If the button for approving news is selected, the backend system obtains the news ID of the news selected for approval by the user, matches the news ID primary key of the cloud warehouse according to the news ID of the news selected for approval by the user, obtains the detailed content of the approved news, and outputs it to the front-end for display. After the user clicks the "Approve News" button, the backend status of the approved news is updated from "pending approval" to "approved";
[0122] Editing unit: When the user selects the "Edit News" button, the background system pops up an editing interface, allowing the user to modify the content of the news. After editing, the user selects the "Save" button, and the backend status of the news is updated from "pending approval" to "under editing";
[0123] Submission unit: The user completes the submission of the news by selecting a submit button.
[0124] In this embodiment, the cloud warehouse is an online storage system for storing and managing data.
[0125] In this embodiment, the editing interface is an interface used by the user to modify news content in the background system.
[0126] The working principle and beneficial effects of the above technical solution are: the user clicks the "Approve News" button to display the detailed content and update the status to "Approved"; clicks "Edit News" to pop up the editing interface and updates the status to "Editing"; selects "Submit" to complete the submission, which improves the efficiency and accuracy of news management.
[0127] Embodiment 7:
[0128] Based on the above embodiment 6, the storage module includes:
[0129] Receiving approval unit: the front-end system sends the approval operation request to the back-end system, and the back-end system completes batch processing of multiple approval operation requests through the message queue. The back-end system first verifies the validity of the request queue, and after verification, updates the status of the news from "pending approval" to "approved";
[0130] Recording unit: The system processes the detailed information of the approval operation into historical information in a standard format and inserts the historical information into the approval database.
[0131] In this embodiment, the message queue is a system component used for asynchronous processing, which allows messages to be passed between different systems or applications.
[0132] In this embodiment, batch processing is a method that allows the system to accumulate a certain number of tasks and then process these tasks separately under certain conditions.
[0133] In this embodiment, validity refers to the integrity and correctness of the data in the request queue and the degree to which it complies with the processing requirements of the background system.
[0134] In this embodiment, the historical information refers to a series of detailed data about the approval operation recorded by the system after the approval operation is executed, including: basic information of the approval operation, related news information, approval process information, etc.
[0135] The working principle and beneficial effects of the above technical solution are: the front end sends an approval request, the back end processes it in batches through the message queue and updates the news status to "approved"; the approval details are standardized and recorded in the database, which improves processing efficiency and recording accuracy.
[0136] Embodiment 8:
[0137] like Figure 2 As shown, a news review method provided by an embodiment of the present invention includes:
[0138] Step 1: When a user logs in to the news approval system, the backend system detects the matching status of the user name and password entered by the user, and allows the user to enter if the detection passes;
[0139] Step 2: The user selects the news approval management page, and the backend system retrieves the user authority data from the user database. Users whose authority fields meet the preset standards are allowed to enter the news approval management page;
[0140] Step 3: After the user chooses to approve the news, the news will be presented in a list and sorted in the way selected by the user;
[0141] Step 4: The news approval management page includes buttons for approving news and editing news, and the user completes the approval process by executing button operations;
[0142] Step 5: After the user completes the approval process, the backend system records the detailed information of the approval process into the approval database.
[0143] The working principle and beneficial effects of the above technical solution are: ensuring security through user login and permission verification, the display module presents news in the form of a list and supports sorting, the approval module provides approval and editing functions, and the storage module records detailed approval information, which improves the overall system security, operational efficiency and traceability, and ensures that the approval process is standardized and transparent.
[0144] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A news approval system, characterized in that: include: Login module: When a user logs in to the news approval system, the backend system detects the matching status of the user name and password entered by the user, and allows the user to enter after the detection is passed, including: processing unit: when the backend system processes the request data, it iteratively processes the request data based on the AES encryption key, and completes the iteration according to the preset number of iterations to obtain the first request data; according to the preset salt value field, the encrypted field of the first request data is filtered and extracted, and the encrypted field of the first request data is decrypted by the decryptor to output the decrypted user name id and password string in a standard format; Permission module: When the user selects the news approval management page, the backend system retrieves the user permission data in the user database, and the user whose permission field meets the preset standard is allowed to enter the news approval management page, including: Permission unit: After the user selects the news approval management page through the button, a permission request is sent to the backend system; the permission field corresponding to the user name id in the user database is matched by the user name id, and the user permission data is obtained after the permission field data is processed; A corresponding unit: matches the permission code in the user permission data with the permission code-permission interpretation mapping table to obtain the current permission of the user; Judgment unit: if the current authority of the user does not allow access to the news approval management page, return insufficient authority, otherwise visually present the news approval management page; Display module: After the user selects to approve the news, the news will be presented in a list and sorted in the way selected by the user, including: Fuzzy search unit: The user is allowed to use fuzzy search to enter a single character in the search bar to display multiple news based on the matching degree. The specific matching degree is: ; where f represents the matching degree between a single character entered in the search bar and any news name. Indicates the ASCII distance between a single character entered in the search bar and the i-th character of the news name, where the news name has a total of n characters. represents the minimum matching distance, ( ) represents the logarithmic function, express to the power of i; If multiple characters are entered, the matching degrees of the multiple characters are superimposed to obtain the final matching degree; Interface interaction unit: users select news that need to be approved through the checkbox selection control in the approval management interface; the news selected by the user is packaged into an array according to the news ID. After selecting the sorting method, the background system re-sorts the news IDs in the array according to the sorting method to generate the first list, and the interface presents the first list; Front-end processing: The AJAX request generated by the first list after the form is submitted is passed to the back-end system; Backend processing: The backend system retrieves news records from the database according to the news ID, and sends the basic information corresponding to the news records to the frontend interface; Approval module: the news approval management page includes buttons for approving news and editing news, and users complete the approval process by executing button operations; Saving module: After the user completes the approval process, the background system records the detailed information of the approval process into the approval database.
2. A news approval system according to claim 1, characterized in that: The login module comprises: Input unit: The news approval system displays the login interface to the user in a visual way, and the user enters the user name and password through the login interface; Receiving unit: After the input is completed, the login request is sent to the background system, and the background system receives the request data containing the encrypted user name and password; Matching unit: The backend system processes the request data to obtain a user name ID and password string in a standard format; matches the user name ID based on the user database. If the user name ID exists in the user database, continue to match the password string corresponding to the user name ID in the user database. If the password string fails to match, an error message is returned. If the password string fails to match but the match succeeds, the user is verified and allowed to enter the news approval system. If the user name ID does not exist in the user database, a username error message is returned.
3. A news approval system according to claim 1, characterized in that: The approval module includes: Display unit: The news approval management page includes buttons for approving news and editing news. If the button for approving news is selected, the backend system obtains the news ID of the news selected for approval by the user, matches the news ID primary key of the cloud warehouse according to the news ID of the news selected for approval by the user, obtains the detailed content of the approved news, and outputs it to the front-end for display. After the user clicks the "Approve News" button, the backend status of the approved news is updated from "pending approval" to "approved"; Editing unit: When the user selects the Edit News button, the background system pops up an editing interface, allowing the user to modify the content of the news. After editing, the user selects the Save button, and the backend status of the news is updated from "pending approval" to "under editing"; Submission unit: The user completes the submission of the news by selecting a submit button.
4. A news approval system according to claim 3, characterized in that: The storage module comprises: Receiving approval unit: the front-end system sends the approval operation request to the back-end system, and the back-end system completes batch processing of multiple approval operation requests through the message queue. The back-end system first verifies the validity of the request queue, and after verification, updates the status of the news from "pending approval" to "approved"; Recording unit: The system processes the detailed information of the approval operation into historical information in a standard format and inserts the historical information into the approval database.
5. A news review method, characterized in that: include: Step 1: When a user logs in to the news approval system, the background system detects the matching status of the user name and password entered by the user, and allows the user to enter after the detection is passed, including: processing unit: when the background system processes the request data, iteratively processes the request data based on the AES encryption key, and completes the iteration according to the preset number of iterations to obtain the first request data; according to the preset salt value field, the encrypted field of the first request data is filtered and extracted, and the encrypted field of the first request data is decrypted by the decryptor to output the decrypted standard format user name id and password character string; Step 2: The user selects the news approval management page, and the backend system retrieves the user authority data in the user database. Users whose authority fields meet the preset standards are allowed to enter the news approval management page, including: authority unit: after the user selects the news approval management page through the button, a permission request is sent to the backend system; the user name id is matched with the authority field corresponding to the user name id in the user database, and the user authority data is obtained after the authority field data is processed; A corresponding unit: matches the permission code in the user permission data with the permission code-permission interpretation mapping table to obtain the current permission of the user; Judgment unit: if the current authority of the user does not allow access to the news approval management page, return insufficient authority, otherwise visually present the news approval management page; Step 3: After the user chooses to approve the news, the news will be presented in a list and sorted in the way selected by the user, including: Fuzzy search unit: The user is allowed to use fuzzy search to enter a single character in the search bar to display multiple news based on the matching degree. The specific matching degree is: ; where f represents the matching degree between a single character entered in the search bar and any news name. Indicates the ASCII distance between a single character entered in the search bar and the i-th character of the news name, where the news name has a total of n characters. represents the minimum matching distance, ( ) represents the logarithmic function, express to the power of i; If multiple characters are entered, the matching degrees of the multiple characters are superimposed to obtain the final matching degree; Interface interaction unit: users select news that need to be approved through the checkbox selection control in the approval management interface; the news selected by the user is packaged into an array according to the news ID. After selecting the sorting method, the background system re-sorts the news IDs in the array according to the sorting method to generate the first list, and the interface presents the first list; Front-end processing: The AJAX request generated by the first list after the form is submitted is passed to the back-end system; Backend processing: The backend system retrieves news records from the database according to the news ID, and sends the basic information corresponding to the news records to the frontend interface; Step 4: The news approval management page includes buttons for approving news and editing news, and the user completes the approval process by executing button operations; Step 5: After the user completes the approval process, the backend system records the detailed information of the approval process into the approval database.
Citation Information
Patent Citations
Method and device for realizing news control based on big data platform
CN106503160A
Business data flow method and device
CN106997507A
Standardized process approval management method based on labor division authority
CN114819881A