Government affair information commenting method and system, terminal equipment and storage medium

By storing information into the indication table in the government information instruction process, defining role permissions, and using access control models and broadcast mechanisms, the security and efficiency of government information are solved, and the security management and rapid response to government information are achieved.

CN119203208APending Publication Date: 2024-12-27SHENZHEN LONGRISE SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411108958.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-13
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

In the traditional government information instruction process, unauthorized personnel may contact or abuse sensitive information, resulting in information leakage and reduced security, and their work efficiency is also affected.

Method used

By obtaining government information and storing it in a preset notification table, you define accessable role fields, and checking user access requests based on the pre-trained access control permission model, ensuring that only authorized users can access or operate specific government information, using broadcasting Mechanisms and message queues respond quickly and execute.

Benefits of technology

Effectively manage user access and operational permissions, prevent sensitive information leakage, improve data security and work efficiency, and ensure the smooth progress of government affairs processes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119203208A_ABST
    Figure CN119203208A_ABST
Patent Text Reader

Abstract

The invention discloses a government affair information commenting method and system, terminal equipment and a storage medium, and relates to the technical field of data processing, and the method comprises the steps: obtaining government affair information, storing the government affair information in a preset commenting table, strictly controlling the access, and guaranteeing the data integrity; in a preset instruction table, an accessible role field is defined, different roles are allocated to different users, each role has different access authority, and refined access management is realized; whether the user access request meets the accessible role field or not is checked based on the pre-trained access control permission model, a check result is obtained, misoperation is effectively reduced, and safety is improved; according to the check result, corresponding response operation is executed on the government affair information in the instruction table, it is ensured that only authorized users can operate the government affair information, confidentiality is protected, the government affair process is promoted to be smooth, and work efficiency is remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method, system, terminal device and storage medium for approving government information. Background Art

[0002] In the traditional government information approval process, government information may allow unauthorized personnel to have the opportunity to access or abuse sensitive information, resulting in information leakage and reduced security. In addition, staff negligence, misoperation or lack of understanding of security policies may inadvertently leak important information, resulting in reduced work efficiency. Summary of the invention

[0003] The main purpose of this application is to provide a government information processing method, system, terminal device and storage medium, aiming to solve the technical problem of how to ensure the security of government information during the approval process while effectively improving the efficiency of information processing.

[0004] To achieve the above purpose, this application proposes a method for approving government information, which includes: Obtaining government affairs information and storing the government affairs information in a preset approval table; In the preset approval table, define an accessible role field; Check whether the user access request satisfies the accessible role field based on the pre-trained access control permission model, and obtain a check result; According to the inspection result, corresponding response operations are performed on the government affairs information in the approval table.

[0005] In one embodiment, before the step of obtaining government affairs information and storing the government affairs information in a preset approval table, the process further includes: Setting a comment table, the comment table including accessible roles; According to the specific needs of the user, the approval form is associated with the business-related data to obtain a preset approval form.

[0006] In one embodiment, the step of defining the accessible role field in the preset approval table includes: Based on the accessible role, confirming role information of the accessible role; According to the preset access requirements, the corresponding access rights are assigned to the role information of each accessible role; The access rights corresponding to the role information of the accessible role are stored in a field to obtain an accessible role field.

[0007] In one embodiment, the step of checking whether the user access request satisfies the accessible role field based on the pre-trained access control permission model and obtaining the check result includes: Receive a user access request initiated by a user through a client, and input the user access request and the accessible role field into a pre-trained access control authority model; Parsing the user access request through the pre-trained access control authority model to obtain the requested access target; The requested access target is compared with the access rights corresponding to the role information to check whether the requested access target satisfies the accessible role field.

[0008] In one embodiment, the step of performing corresponding response operations on the government affairs information in the approval table according to the inspection result includes: If the check result is that the requested access target meets the access rights corresponding to the role information, an interface of the access approval table is opened to allow the user to access the government information through the interface of the approval table; If the checking result is that the requested access target does not satisfy the access rights corresponding to the role information, the interface of the access approval table is closed.

[0009] In one embodiment, after the step of opening an interface for accessing the approval table to the user if the user access rights meet the requirements of the accessible role field, the method further includes: When newly added government affairs information from a user is received, the newly added government affairs information is pushed to the user through a preset broadcast mechanism.

[0010] In one embodiment, when receiving the newly added government affairs information from the user, the step of pushing the newly added government affairs information to the user through a preset broadcast mechanism includes: When the newly added government affairs information of the user is received through the client, the newly added government affairs information is sent to the message queue MQ; Marking the newly added government affairs information with a preset label; After monitoring the broadcast message sent by the MQ, the newly added government affairs information marked with the preset tags in the MQ is pushed to the user in sequence.

[0011] In addition, to achieve the above purpose, the present application also proposes a government information approval system, which includes: An acquisition module, used to acquire government affairs information and store the government affairs information in a preset approval table; A definition module, used for defining accessible role fields in the preset approval table; A checking module, used to check whether the user access request meets the requirements of the accessible role field based on a pre-trained access control permission model, and obtain a checking result; The execution module is used to perform corresponding response operations on the government affairs information in the approval table according to the inspection results.

[0012] In addition, to achieve the above-mentioned purpose, the present application also proposes a government information approval terminal device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the government information approval method as described above.

[0013] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the government information approval method described above are implemented.

[0014] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the steps of the government information approval method as described above.

[0015] The embodiments of the present application provide a government information approval method, system, terminal device and storage medium, the method comprising obtaining government information and storing the government information in a preset approval table, ensuring that only authorized users can view or operate specific government information, thereby helping to maintain data security and integrity; in the preset approval table, defining an accessible role field, assigning different roles to different users, each role having different access rights, and granting access rights based on the user's role; checking whether the user's access request satisfies the accessible role field based on a pre-trained access control permission model, obtaining a check result, and using the defined model to evaluate the validity of the user's request, thereby reducing human errors and improving efficiency and security; and performing corresponding response operations on the government information in the approval table based on the check result, thereby effectively managing user access and operation rights, thereby protecting government information from being accessed or modified by unauthorized personnel, while also ensuring the smooth progress of government processes and improving work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0017] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, without paying any creative labor, they can also obtain business drawings based on these drawings.

[0018] Figure 1 A flowchart of the first embodiment of the method for approving government information is provided; Figure 2 A flowchart diagram for the second embodiment of the method for approving government information for this application; Figure 3 A flowchart of the third embodiment of the method for approving government information for this application; Figure 4 This is a schematic diagram of the operation of a user adding comment content through the comment box / communication demand module provided in Example 3 of the present application; Figure 5 This is a schematic diagram of the operation of a user inputting a demand through a communication demand module provided in Embodiment 3 of the present application; Figure 6 This is a schematic diagram of the module structure of the government information approval system of the embodiment of the present application; Figure 7 This is a schematic diagram of the terminal device structure of the hardware operating environment involved in the government information approval method in the embodiment of the present application.

[0019] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0020] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0021] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0022] The main solution of the embodiment of the present application is: obtain government information and store the government information in a preset approval table; define accessible role fields in the preset approval table; check whether the user access request satisfies the accessible role fields based on a pre-trained access control permission model to obtain a check result; and based on the check result, perform corresponding response operations on the government information in the approval table.

[0023] In the traditional government information approval process, unauthorized personnel may have the opportunity to access or abuse sensitive information, resulting in information leakage and reduced security. In addition, staff negligence, misoperation or lack of understanding of security policies may inadvertently leak important information, resulting in reduced work efficiency.

[0024] The present application provides a solution that can efficiently store and manage government information and improve work efficiency by storing government information in an approval table; define accessible role fields, flexibly assign permissions to each role, and associate permissions with roles to facilitate management and maintenance; use a pre-trained access control permission model combined with accessible role fields to perform permission checks on user access requests, thereby ensuring data security and preventing sensitive information leakage; and the use of a broadcast mechanism in conjunction with a message queue ensures that government information that requires approval can be quickly responded to and executed.

[0025] It should be noted that the execution subject of this embodiment can be a computing service terminal device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic terminal device capable of realizing the above functions, etc. The following takes a mobile phone as an example to illustrate this embodiment and the following embodiments.

[0026] Based on this, the embodiment of the present application provides a method for approving government information, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the government information approval method for this application.

[0027] In this embodiment, the government information approval method includes steps S10 to S40: Step S10, obtaining government affairs information, and storing the government affairs information in a preset approval table; It should be noted that the approval table is a database table or data structure specially designed to store and manage government information and related approval processes. It usually contains a series of fields to record the detailed content, status, processing history and related approval process information of each government information.

[0028] In this step, the government affairs information that needs to be approved is stored in a preset approval table, which can efficiently store and manage the government affairs information and improve work efficiency.

[0029] Step S20, defining an accessible role field in the preset approval table; It should be noted that the accessible role field includes role information corresponding to the accessible role and access permission information corresponding to the role information.

[0030] The execution of this step is one of the key steps to implement role-based access control (RBAC). This process ensures that only users with appropriate roles can access and operate specific government information.

[0031] In a feasible implementation, step S20 may include steps S21 to S23: Step S21, based on the accessible role, confirming the role information of the accessible role; It should be noted that accessible roles refer to the access rights granted to users or user groups through role assignment. ‌Role information of accessible roles refers to the specific attributes and permission sets defined for each role in the government administration system. This information is used to describe the characteristics of the role and limit its scope of operation within the system.

[0032] Optionally, first, the government information management system creates a role list, which includes but is not limited to role fields: "administrator", "reviewer", "operator", etc. Then, these role fields are associated with specific government information or operation types, for example, it is determined that "administrator" can view all information, and "reviewer" can only view and comment on certain categories of information. Finally, the government information management system confirms which roles can access the government information currently being processed, and this role information will be used for subsequent permission allocation.

[0033] Step S22, assigning corresponding access rights to the role information of each accessible role according to preset access requirements; Once it is determined in step S21 which roles can access government information, the operations that each role can perform can be determined based on the access requirements of each instruction list in the "Smart Supervision" module, such as viewing, editing, and deleting the government information in the instruction list.

[0034] Specifically, first, clarify the operations that each role can perform, such as "read", "edit", "delete", "comment", etc. According to the responsibilities of the role and the access requirements of each instruction list, assign these operation permissions to the corresponding role. For example, an administrator may have all permissions, while an ordinary user may only have "read" permissions. In addition, further refine permissions based on specific business needs, such as limiting a role's access to government information within a specific time period.

[0035] Step S23, storing the access rights corresponding to the role information of the accessible role in a field to obtain an accessible role field.

[0036] Optionally, the role information and the assigned access rights confirmed in step S21 and step S22 are stored in a corresponding field of the database for subsequent access control checks. The corresponding field of the database is a field created or specified in a database table for storing role information and permission data, which is represented by an accessible role field in this embodiment.

[0037] Through the above steps, the government information management system has role-based access control capabilities. It can automatically check user access requests according to preset rules and role information, and respond accordingly, such as allowing user access or denying user access, which greatly improves the efficiency and security of government information processing, and also simplifies the complexity of permission management.

[0038] Step S30, checking whether the user access request satisfies the accessible role field based on the pre-trained access control authority model, and obtaining a check result; It should be noted that, in this embodiment, a role-based access control authority model (RBAC) is used to identify the authority of the access request issued by the user.

[0039] And, the core idea of ​​the role-based access control permission model is to determine which resources users can access and which operations they can perform based on their roles in the organization.

[0040] In order to provide a more flexible, scalable and easy-to-manage access control mechanism, executing step S30 can improve the security and efficiency of the government information approval process.

[0041] In a feasible implementation, step S30 may include steps S31 to S33: Step S31, receiving a user access request initiated by a user through a client, and inputting the user access request and the accessible role field into a pre-trained access control authority model; Optionally, when the user wants to query government information by clicking on the instruction form on the client page, or clicks on the instruction box to fill in government content that needs to be instructed, the client will send a user access request to the government information management system.

[0042] When the government information management system receives the user access request sent by the client, it sends the user access request and the accessible role field defined in step S20 to the pre-trained role-based access control authority model for processing.

[0043] Step S32, parsing the user access request through the pre-trained access control authority model to obtain the requested access target; Optionally, in a pre-trained role-based access control permission model, since the accessible role field includes the roles that can access the instruction and only users with the corresponding role can view the content of the instruction, the pre-trained role-based access control permission model can identify the specific target that the user wants to access, that is, the requested access target. The requested access target includes but is not limited to a specific government information record, a government document, a government information form, or performing a certain functional operation, such as adding or deleting government information.

[0044] Step S33: Compare the requested access target with the access rights corresponding to the role information to check whether the requested access target satisfies the accessible role field.

[0045] Optionally, the target resource and operation type in the access target request are compared with the permissions defined in the user role information to check whether the user's role is granted the permission to perform a specific operation on the specified resource.

[0046] Through the above steps, the role-based access control permission model is used to evaluate user access requests to ensure that only authorized users can access specific government information, reducing the risk of data leakage and unauthorized access. The permission checking process is automated to avoid delays in manual approval, so that legitimate access requests can be responded to quickly, improving the efficiency of government processing.

[0047] Step S40: performing corresponding response operations on the government affairs information in the approval table according to the inspection result.

[0048] In order to achieve different access rights for different roles to each instruction list in the "Smart Supervision" module and ensure the security and flexibility of the government information management system, step S40 is executed.

[0049] In a feasible implementation, step S40 may include steps S41-S42: Step 41, if the check result is that the requested access target meets the access rights corresponding to the role information, then an interface of the access approval table is opened to allow the user to access the government information through the interface of the approval table; It should be noted that the access rights corresponding to the role information include the scope of the role information, that is, the types of users allowed to access, and the types of permission operations that a certain type of user can perform.

[0050] Optionally, through a pre-trained role-based access control permission model, check whether the user type in the access request target meets the scope of permitted access or operation. If the result of the check is that the user type in the access request target meets the scope of permitted access or operation, the check result is output. Based on the check result, the government information management system opens an interface to the access approval table to the user, and the user can view the government information in the approval table or perform business operations through this interface.

[0051] Step S42: If the checking result is that the requested access target does not satisfy the access rights corresponding to the role information, the interface of the access approval table is closed.

[0052] Similarly, in a pre-trained role-based access control permission model, if the result of the check is that the user type in the requested access target does not meet the scope of permitted access or operation, the check result is output, and the government information management system closes the interface of the access approval table to the user based on the check result, indicating that the user is not qualified to view the government information in the approval table or perform business operations.

[0053] Through the above steps, according to the inspection results, corresponding response operations are performed on the government information in the approval table, which can effectively manage user access and operation permissions, thereby protecting government information from being accessed or modified by unauthorized personnel.

[0054] The above-mentioned embodiment method includes obtaining government information and storing the government information in a preset approval table, ensuring that only authorized users can view or operate specific government information, which helps to maintain the security and integrity of the data; in the preset approval table, defining the accessible role field, assigning different roles to different users, each role has different access rights, and granting access rights according to the user's role; based on a pre-trained access control permission model, checking whether the user access request satisfies the accessible role field, obtaining the inspection result, and using the defined model to evaluate the validity of the user request, thereby reducing human errors and improving efficiency and security; according to the inspection result, performing corresponding response operations on the government information in the approval table, which can effectively manage user access and operation rights, thereby protecting government information from being accessed or modified by unauthorized personnel, while also ensuring the smooth progress of government processes and improving work efficiency.

[0055] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 Before step S10, the government information approval method further includes steps S01-S02: Step S01, setting an approval table, wherein the approval table includes accessible roles; Optionally, an instruction table is designed in the government information management system to store the relevant information of the instruction, wherein the instruction table includes the following fields: instruction number, instruction content, release time, publisher, accessible roles, etc.

[0056] Step S02: according to the specific needs of the user, the approval form is associated with the business-related data to obtain a preset approval form.

[0057] It should be noted that business-related data includes project number and task number.

[0058] Optionally, each project has a project number to distinguish different projects. When a comment form involves a project, the project number of the project will be recorded in the comment form to ensure that the comment form can be accurately associated with the correct project.

[0059] During the project execution, the project will be broken down into multiple tasks, each of which has its own unique task number. Instructions are for specific tasks, so the task number also needs to be recorded in the instruction table so that the instruction can be directly associated with the corresponding task.

[0060] Through the above-mentioned embodiment method, a comment table is set up to centrally manage and track the detailed information of all comments, which can not only store and manage government information, but also promote the smooth execution of project business by associating with projects and tasks.

[0061] Based on the first embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 3 After step S41, the government information approval method further includes step S411: Step S411, when newly added government affairs information from a user is received, the newly added government affairs information is pushed to the user through a preset broadcast mechanism.

[0062] It should be noted that the broadcast mechanism is used to distribute new government information quickly and widely to all relevant users or user groups.

[0063] In this embodiment, when a user who has the authority to access and operate the instruction form needs to add new government information to the instruction form, the government information management system implements a broadcast mechanism to broadcast the newly added instruction content to all relevant personnel in a timely manner.

[0064] In a feasible implementation method, step S411 may include steps A1 to A3: Step A1, when the newly added government affairs information of the user is received through the client, the newly added government affairs information is sent to the message queue MQ; In this embodiment, the broadcast function is implemented by using MQ (Message Queue), which allows senders to send messages to a queue without having to wait for receivers to process the messages, thereby achieving decoupling between producers and consumers.

[0065] Optionally, when a user who has the authority to access and / or operate the instruction form needs to add new government information to the instruction form, or modify the government information in the current instruction, the user can enter the new or modified content through the instruction box provided by the client (the front-end page of the government information management system), and click the "Submit" button to submit the new or modified instruction content. When the user needs to communicate the content after reviewing the instruction content, the content can be entered through the "Communication Requirements" module provided by the client. Please refer to Figure 4 , Figure 4 This is a diagram showing the operation of adding comments through the comment box. Figure 5 , Figure 5 This is a schematic diagram of the operation of users inputting requirements through the communication requirements module.

[0066] When the client receives the new government information input by the user, the newly added government information is sent to the MQ for management, so that when receiving the user access request, the newly added government information can be pushed in sequence.

[0067] Step A2, marking the newly added government affairs information with a preset label; Optionally, after receiving the government information, the message queue MQ temporarily stores it and adds a preset tag, wherein the preset tag includes a field "need to be broadcast".

[0068] Step A3, after monitoring the broadcast message sent by the MQ, the newly added government affairs information marked with a preset tag in the MQ is pushed to the user in sequence.

[0069] Optionally, the message push module in the government information management system monitors the message queue in real time. Once new government information needs to be broadcast, the new government information is read and its preset tags are checked. Then, according to the preset rules and logic, the consumer will take out the government information with preset tags from the MQ and push the instructions to relevant personnel in a certain order. The push method can be instant messaging tools, email notifications, or SMS reminders.

[0070] Through the above-mentioned embodiment method, when the newly added government information of the user is received through the client, the newly added government information is sent to the message queue MQ; the newly added government information is marked with a preset tag; when the broadcast message sent by the MQ is monitored, the newly added government information marked with the preset tag in the MQ is pushed to the user in order. This method uses the broadcast mechanism in conjunction with the use of the message queue to ensure that the newly added government information that needs to be approved can be quickly responded to and executed, thereby improving the efficiency of government work.

[0071] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the government information approval method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0072] This application also provides a government information approval system, please refer to Figure 6 , the government information approval system includes: The acquisition module 10 is used to acquire government affairs information and store the government affairs information in a preset approval table; A definition module 20, used to define an accessible role field in the preset approval table; A checking module 30, used to check whether the user access request meets the requirements of the accessible role field based on a pre-trained access control authority model, and obtain a checking result; The execution module 40 is used to execute corresponding response operations on the government affairs information in the approval table according to the inspection results.

[0073] The government information approval system provided by this application adopts the government information approval method in the above embodiment, which can solve the technical problem of how to ensure the security of government information during the approval process while effectively improving the efficiency of information processing. Compared with the prior art, the beneficial effects of the government information approval system provided by this application are the same as the beneficial effects of the government information approval method provided by the above embodiment, and the business technical features in the government information approval system are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0074] The present application provides a government information approval terminal device, which includes: at least one processor; and 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 so that the at least one processor can execute the government information approval method in the above-mentioned embodiment one.

[0075] Reference below Figure 7, which shows a schematic diagram of the structure of a government information indication terminal device suitable for implementing the embodiment of the present application. The government information indication terminal device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 7 The government information approval terminal device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0076] like Figure 7 As shown, the government information approval terminal device may include a processing system 1001 (e.g., a central processing unit, a graphics processing unit, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage system 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the government information approval terminal device are also stored. The processing system 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input system 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output system 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage system 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication system 1009. The communication system 1009 can allow the government information indication terminal device to communicate with the business terminal device wirelessly or by wire to exchange data. Although the figure shows the government information indication terminal device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.

[0077] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication system, or installed from a storage system 1003, or installed from a ROM 1002. When the computer program is executed by the processing system 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0078] The government information approval terminal device provided by this application adopts the government information approval method in the above embodiment, which can solve the technical problem of how to ensure the security of government information during the approval process while effectively improving the efficiency of information processing. Compared with the prior art, the beneficial effects of the government information approval terminal device provided by this application are the same as the beneficial effects of the government information approval method provided by the above embodiment, and the business technical features in the government information approval terminal device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0079] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0080] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0081] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the government information approval method in the above-mentioned embodiment.

[0082] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM: Random Access Memory), a read-only memory (ROM: Read Only Memory), an erasable programmable read-only memory (EPROM: Erasable Programmable Read Only Memory or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM: CD-Read Only Memory), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency: Radio Frequency), etc., or any suitable combination of the above.

[0083] The above-mentioned computer-readable storage medium may be included in the government affairs information approval terminal device; or it may exist independently without being assembled into the government affairs information approval terminal device.

[0084] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the government information instruction terminal device, the government information instruction terminal device: Obtaining government affairs information and storing the government affairs information in a preset approval table; In the preset approval table, define an accessible role field; Check whether the user access request satisfies the accessible role field based on the pre-trained access control permission model, and obtain a check result; According to the inspection result, corresponding response operations are performed on the government affairs information in the approval table.

[0085] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0086] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0087] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0088] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned government information approval method, and can solve the technical problem of how to ensure the security of government information during the approval process while effectively improving the efficiency of information processing. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the government information approval method provided by the above-mentioned embodiment, and will not be repeated here.

[0089] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned government information approval method when executed by a processor.

[0090] The computer program product provided by this application can solve the technical problem of how to ensure the security of government information during the approval process while effectively improving the efficiency of information processing. Compared with the prior art, the beneficial effects of the computer program product provided by this application are the same as the beneficial effects of the government information approval method provided by the above embodiment, and will not be repeated here.

[0091] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural transformations made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect application in business-related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for approving government information, characterized in that: The method comprises: Obtaining government affairs information and storing the government affairs information in a preset approval table; In the preset approval table, define an accessible role field; Check whether the user access request satisfies the accessible role field based on the pre-trained access control permission model, and obtain a check result; According to the inspection result, corresponding response operations are performed on the government affairs information in the approval table.

2. The method according to claim 1, characterized in that Before the step of obtaining government affairs information and storing the government affairs information in a preset approval table, the method further includes: Setting an approval table, wherein the approval table includes accessible roles; According to the specific needs of the user, the approval form is associated with the business-related data to obtain a preset approval form.

3. The method according to claim 2, characterized in that The step of defining the accessible role field in the preset approval table includes: Based on the accessible role, confirming role information of the accessible role; According to the preset access requirements, the corresponding access rights are assigned to the role information of each accessible role; The access rights corresponding to the role information of the accessible role are stored in a field to obtain an accessible role field.

4. The method according to claim 3, characterized in that The step of checking whether the user access request satisfies the accessible role field based on the pre-trained access control permission model and obtaining the checking result comprises: Receive a user access request initiated by a user through a client, and input the user access request and the accessible role field into a pre-trained access control authority model; Parsing the user access request through the pre-trained access control authority model to obtain the requested access target; The requested access target is compared with the access rights corresponding to the role information to check whether the requested access target satisfies the accessible role field.

5. The method according to claim 4, characterized in that The step of performing corresponding response operations on the government affairs information in the approval table according to the inspection result includes: If the check result is that the requested access target meets the access rights corresponding to the role information, an interface of the access approval table is opened to allow the user to access the government information through the interface of the approval table; If the checking result is that the requested access target does not satisfy the access rights corresponding to the role information, the interface of the access approval table is closed.

6. The method according to claim 5, characterized in that After the step of opening an interface for accessing the approval table to the user if the user access rights meet the requirements of the accessible role field, the method further includes: When newly added government affairs information from a user is received, the newly added government affairs information is pushed to the user through a preset broadcast mechanism.

7. The method according to claim 6, characterized in that When receiving the newly added government affairs information from the user, the step of pushing the newly added government affairs information to the user through a preset broadcast mechanism includes: When the newly added government affairs information of the user is received through the client, the newly added government affairs information is sent to the message queue MQ; Marking the newly added government affairs information with a preset label; After monitoring the broadcast message sent by the MQ, the newly added government affairs information marked with the preset tags in the MQ is pushed to the user in sequence.

8. A government information approval system, characterized in that: The system comprises: An acquisition module, used to acquire government affairs information and store the government affairs information in a preset approval table; A definition module, used for defining accessible role fields in the preset approval table; A checking module, used to check whether the user access request meets the requirements of the accessible role field based on a pre-trained access control permission model, and obtain a checking result; The execution module is used to perform corresponding response operations on the government affairs information in the approval table according to the inspection results.

9. A government information approval terminal device, characterized in that: The terminal device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the government information approval method as described in any one of claims 1 to 7.

10. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the government information approval method as described in any one of claims 1 to 7 are implemented.