Access control method and device for evidence file, equipment and medium
By fuzzy processing and multi-level encryption of evidence files, and using QR codes and identity verification, the issues of information security and access control during the transmission of evidence files are solved, and efficient and safe access to evidence files is achieved.
Patent Information
- Application Number
- CN202410923061.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-10
- Publication Date
- 2024-10-15
AI Technical Summary
Information security cannot be guaranteed during the transmission of existing evidence files, conventional encryption is easy to crack, and the presentation in tabular form is not intuitive, resulting in time and effort, making it difficult to achieve efficient and flexible access control.
By fuzzifying and multi-level encryption of sensitive information in evidence files, combined with QR codes and identity verification, an access QR code is generated and encrypted for multiple transmissions to ensure that only parties with permission can view relevant evidence files. Classified access control for different party types.
It effectively protects the private information of different parties, improves the security and reliability of evidence documents, ensures that only authorized personnel can access relevant data, and avoids information leakage and unauthorized access.
Smart Images

Figure CN118779918A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of access control technology, and in particular to an access control method, device, equipment and medium for evidence files. Background Art
[0002] The evidence documents of existing cases are generally sent directly to the plaintiff, defendant and other parties in the case through the external network in the form of a table. In this process, the information of the plaintiff, defendant or other parties will not be blurred, resulting in the information security of the parties being unable to be guaranteed. In addition, the court generally encrypts the evidence documents through conventional symmetric algorithms, which are relatively easy to crack, resulting in the leakage of evidence documents.
[0003] At the same time, relevant evidence documents are presented in the form of a table, and staff are required to manually insert the evidence documents into the table, which is time-consuming and labor-intensive, and is not intuitive when viewing. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide an access control method, device, equipment and medium for evidence files, which are used to solve the above-mentioned problems existing in the prior art, effectively protect the privacy of different parties, improve the security of evidence files, and realize efficient and flexible access control of evidence files.
[0005] In a first aspect, a method for controlling access to evidence files is provided, which may include:
[0006] Obtain case information of a target case, an encrypted target evidence file, and file information of the encrypted target evidence file; wherein the case information includes: case number, case type, and identity information of each party; the identity information includes identity ID and party type; the file information includes: access address and key; the target evidence file is obtained by fuzzifying sensitive information contained in all evidence files of the target case; the sensitive information is determined according to the case type and party types of different party members;
[0007] For any party member, based on the access address, the case number, the party member's identity information and the key, generate an access QR code for the party member;
[0008] Sending the access QR code to the party concerned, and receiving the result of identity authentication performed by the party concerned based on the access QR code;
[0009] If the identity verification is successful, the key input by the party concerned is obtained;
[0010] If the key input by the party member is the same as the key of the encrypted target evidence file, then the target evidence file that the party member has the right to view is matched from the preset party type and target evidence file viewing authority comparison table;
[0011] It shows that the party concerned has the authority to view the target evidence file.
[0012] In an optional implementation, the method further includes: obtaining original evidence documents of the target case;
[0013] The method for obtaining the target evidence file includes:
[0014] Determining the sensitivity level of the party concerned according to the case type and the party type of the party concerned;
[0015] Matching sensitive information corresponding to the sensitivity level from a preset sensitivity level and sensitive information comparison table;
[0016] The original evidence file containing the sensitive information in the original evidence file is used as the first evidence file;
[0017] The sensitive information in the first evidence file is fuzzified to obtain a target evidence file.
[0018] In an optional implementation, the encryption method of the target evidence file includes:
[0019] Match the encryption level corresponding to the case type from the preset case type and encryption level comparison table;
[0020] Based on the case number and encryption level, the target evidence file is encrypted to obtain an encrypted target evidence file.
[0021] In an optional implementation, encrypting the target evidence file based on the case number and the encryption level includes:
[0022] From a preset encryption level, encryption algorithm, and key length correspondence table, match the encryption algorithm and key length corresponding to the encryption level to obtain a target encryption algorithm and a target key length;
[0023] If the length of the case number is the same as the length of the target key, the case number is used as the target key;
[0024] If the length of the case number is greater than the length of the target key, a number with the same length as the target key is truncated from the case number as the target key.
[0025] In an optional implementation, the case information further includes: an identification code of the case type;
[0026] If the length of the case number is less than the length of the target key, the target key is generated based on the case number and the identification code.
[0027] In an optional implementation, the identity information further includes: identity verification information;
[0028] Based on the access address, the case number, the identity information of the party member and the key, an access QR code of the party member is generated, including:
[0029] Encrypting the access address and the key using the case number to obtain an encrypted access address and an encrypted key;
[0030] According to a preset conversion rule, the encrypted access address is converted into an access short link;
[0031] Generate an initial QR code based on the access short link, the encrypted key and the identity verification information;
[0032] The initial QR code is encrypted using the identity ID of the party concerned to obtain the access QR code of the party concerned.
[0033] In a second aspect, a device for controlling access to evidence files is provided, which may include:
[0034] An acquisition unit is used to acquire case information of a target case, an encrypted target evidence file, and file information of the encrypted target evidence file; wherein the case information includes: case number, case type, and identity information of each party; the identity information includes identity ID and party type; the file information includes: access address and key; the target evidence file is obtained by fuzzifying sensitive information contained in all evidence files of the target case; the sensitive information is determined according to the case type and party type of different party members;
[0035] A generating unit, for generating an access QR code for any party member based on the access address, the case number, the identity information of the party member and the key;
[0036] A sending unit, configured to send the access QR code to the party concerned, and receive a result of identity authentication performed by the party concerned based on the access QR code;
[0037] A verification unit, configured to obtain the key input by the party member if the identity authentication is passed; if the key input by the party member is the same as the key of the encrypted target evidence file, match the target evidence file that the party member has the right to view from a preset comparison table of party type and target evidence file viewing rights;
[0038] A display unit is used to display the target evidence file.
[0039] In a third aspect, an electronic device is provided, the electronic device comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
[0040] Memory, used to store computer programs;
[0041] The processor is used to implement any method step described in the first aspect when executing the program stored in the memory.
[0042] In a fourth aspect, a computer-readable storage medium is provided, wherein a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, any method step described in the first aspect is implemented.
[0043] This application effectively protects the privacy information of different parties and improves the safety of the parties and the security of evidence documents by setting different sensitivity levels and access rights for parties of different types; at the same time, it uses the external network to generate short-chain QR codes, combined with multiple encryption of case information and identity information, to effectively ensure the security of data transmission, avoid irrelevant personnel accessing or attacking the court's external network server, and further ensure the security of case information and evidence documents.
[0044] This application encrypts the target evidence file and stores it on an external network server. When the court's intranet is inaccessible, the corresponding evidence file can be obtained through the external network.
[0045] This application uses multi-level encryption combined with identity authentication information and identity ID encryption to ensure that only the parties to the case can view the corresponding evidence files, which improves the security of the evidence files while protecting the privacy of the parties involved in the evidence files. At the same time, different sensitivity levels and access rights are set for parties of different types, so that different types of parties can view different types of evidence files, thus realizing access control of different types of evidence files.
[0046] This application encrypts the access link and target evidence file in combination with the party's identity ID and other privacy information to ensure that different parties can only decrypt data that matches their identity type, thereby avoiding information leakage and improving the security and reliability of access to evidence files.
[0047] This application transmits access links to parties through short links combined with QR codes, which can effectively avoid interception; combined with the embedded identity authentication, it can ensure that the corresponding data cannot be obtained even if intercepted, greatly improving the security and reliability of access to evidence files. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0049] Figure 1 A flowchart of a method for controlling access to evidence files provided in an embodiment of the present application;
[0050] Figure 2 A schematic diagram of an access control method for evidence files provided in an embodiment of the present application;
[0051] Figure 3 A schematic diagram of the structure of an access control device for evidence files provided in an embodiment of the present application;
[0052] Figure 4 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0053] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments of the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0054] The access control method for evidence files provided in the embodiment of the present application can be applied in a server or in a terminal with strong computing power. The server can be a physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and basic cloud computing services such as big data and artificial intelligence platforms. The terminal can be a user equipment (User Equipment, UE) such as a mobile phone, a smart phone, a laptop, a digital broadcast receiver, a personal digital assistant (PDA), a tablet computer (PAD), a handheld device, a vehicle-mounted device, a wearable device, a computing device or other processing equipment connected to a wireless modem, a mobile station (Mobile Station, MS), a mobile terminal (Mobile Terminal), etc. The terminal and the server can be directly or indirectly connected by wired or wireless communication, and this application is not limited here.
[0055] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application may be combined with each other if there is no conflict.
[0056] Figure 1 A flowchart of a method for controlling access to evidence files provided in an embodiment of the present application. Figure 1 As shown, the method may include:
[0057] Step S110, obtain the case information of the target case, the encrypted target evidence file and the file information of the encrypted target evidence file; for any party member, generate the party member's access QR code based on the access address, case number, party member's identity information and key.
[0058] In an embodiment of the present application, the case information includes: case number, case type, case type identifier and identity information of each party involved; identity information includes identity ID, identity authentication information and party type; file information of the encrypted target evidence file includes: access address and key.
[0059] Specifically, each case corresponds to a uniquely identifiable case number; case types include a first case type and a second case type; among which, the first case type includes: civil cases and criminal cases; among which, the second case type of civil cases includes: insurance disputes, loan disputes and other disputes; the second case type of criminal cases includes: ordinary criminal cases, major criminal cases and vicious criminal cases; the types of parties include: the trial judge, clerk, plaintiff, defendant, victim, plaintiff's agent or agency and defendant's agent or agency of the target case; identity authentication information includes: face verification information, iris verification information and other verification information; the access address is the storage address of the encrypted target evidence file on the court's external network (or server).
[0060] In an embodiment of the present application, the access control method for the evidence file also includes: verifying the identity of the person who uploaded the case information of the target case and the encrypted target evidence file; extracting the account logged in by the uploading person when uploading the case information and the encrypted target evidence file, and judging whether the logged in account is the same as the account of the trial judge or clerk of the target case pre-stored in the database, if the same, receiving and storing the uploaded case information and the encrypted target evidence file; otherwise, generating a prompt of identity mismatch and refusing to receive. By verifying the identity of the uploading person, the embodiment of the present application ensures that the case information and the encrypted evidence file are uploaded by the trial judge and clerk responsible for the target case, thereby ensuring the reliability of the uploaded data.
[0061] In the embodiments of the present application, Figure 2 As shown, the case information and original evidence files of the target case are stored on the court's intranet. The original evidence files need to be classified, fuzzy processed and encrypted before being uploaded to the external server. The external server then generates an access QR code and sends it to the corresponding plaintiffs and defendants and their agents or agencies. After receiving the identity verification results completed by the plaintiffs and defendants and their agents or agencies through the access QR code, their access rights are determined and files with corresponding permissions are output for review by the plaintiffs and defendants and their agents or agencies.
[0062] In an embodiment of the present application, a method for obtaining an encrypted target evidence file by classifying, fuzzifying and encrypting the original data file includes:
[0063] Obtain the original evidence file of the target case; determine the sensitivity level of the party according to the case type and the party type of the party; match the sensitive information corresponding to the sensitivity level from a preset sensitivity level and sensitive information comparison table; use the original evidence file containing sensitive information in the original evidence file as the first evidence file; fuzzy the sensitive information in the first evidence file to obtain the target evidence file; encrypt the target evidence file to obtain the encrypted target evidence file.
[0064] In an embodiment of the present application, the original evidence documents include evidence documents submitted by the plaintiff and evidence documents submitted by the defendant; among them, the evidence documents submitted by the plaintiff or the defendant may include a judgment and / or a mediation document, etc.; the evidence documents submitted by the plaintiff also include: transfer records, details of debts owed or other content; the evidence documents submitted by the defendant also include: real estate information, bank statements, stocks and other financial assets and other asset information.
[0065] In the embodiment of the present application, the purpose of determining the sensitivity level and sensitive information of the parties is to ensure the information security and personal safety of the parties and to prevent the parties from being harmed.
[0066] In the embodiment of the present application, the sensitivity level of the party concerned is determined according to the case type and the party type of the party concerned, including:
[0067] A comparison table of case types, party types and sensitivity levels is predefined. According to the case types and party types, the sensitivity levels corresponding to the case types and party types are matched to obtain the sensitivity levels of the party members.
[0068] In another embodiment of the present application, the sensitivity level of the party concerned is determined according to the case type and the party type of the party concerned, including:
[0069] Extract the penalty data from the judgment of the original evidence document of the target case; match the historical judgments of the same second case type from the court's historical judgment database based on the first case type and the second case type; and determine the sentencing recommendation range corresponding to the case type from the legal document; determine the level corresponding to the penalty data based on the historical judgments and the sentencing recommendation range; and determine the sensitivity level of the party concerned based on the level corresponding to the penalty data and the type of party concerned.
[0070] For example, the sentencing recommendation range for home robbery is 3-5 years. Most of the historical judgments of home robberies are within 3 years, while the penalty data of the target case is 5 years. It is judged that the penalty data corresponds to a higher level. According to the high level corresponding to the penalty data and the fact that the party is the defendant, the sensitivity level of the party is determined from the pre-constructed penalty level and party type and sensitivity level comparison table.
[0071] In the embodiment of the present application, the sensitivity levels can be divided into unlimited, low, medium and high; sensitive information includes: contact information, home address, work address, mail receiving address and detailed asset information, etc.
[0072] For example, if the case type is a major criminal case, and the party type of the party member is the defendant (i.e., the perpetrator), the sensitivity level of the party member is determined to be medium. When the sensitivity level is medium, the sensitive information corresponding to the medium sensitivity level is matched from the preset sensitivity level and sensitive information comparison table, including the victim's contact information and home address; the original evidence file of the victim's contact information and home address in the original evidence file is used as the first evidence file; the contact information and home address in the first evidence file are fuzzy processed to obtain the target evidence file; the target evidence file is encrypted to obtain the encrypted target evidence file. This prevents the perpetrator from obtaining the victim's home address or contact information.
[0073] At the same time, for target cases in the execution stage, after the victim obtains the defendant's home address or detailed asset information, it may cause trouble to the defendant's family or other problems. Therefore, it is necessary to blur the perpetrator's home address and detailed asset information at this time.
[0074] For example, if the case type is a civil case of loan, and the party is the plaintiff, the sensitivity level of the party is determined to be low. When the sensitivity level is low, the sensitive information corresponding to the low sensitivity level is matched from the preset sensitivity level and sensitive information comparison table, including the real estate address; the original evidence file of the real estate address of the victim in the original evidence file is used as the first evidence file; the real estate address in the first evidence file is fuzzy processed to obtain the target evidence file; the target evidence file is encrypted to obtain the encrypted target evidence file. This prevents the victim from affecting irrelevant persons who rent in the corresponding real estate.
[0075] In the embodiment of the present application, the sensitivity level of the judge and clerk hearing the target case is unlimited; the judge and clerk hearing the target case can view all evidence documents of the target case; and other judges of the court (i.e., judges other than the judge hearing the target case) who are not designated to be responsible for the target case have a medium sensitivity level and can only view part of the evidence related to their case, or a case overview with all private information encrypted.
[0076] In the embodiment of the present application, the target evidence file is encrypted to obtain the encrypted target evidence file, including:
[0077] The encryption level corresponding to the case type is matched from the preset case type and encryption level comparison table; based on the case number and encryption level, the target evidence file is encrypted to obtain the encrypted target evidence file.
[0078] In the embodiment of the present application, the encryption level of general criminal cases is higher than that of civil cases, and the encryption level of major criminal cases or vicious criminal cases is higher than that of general criminal cases, which can be the highest encryption level; all evidence in major criminal cases or vicious criminal cases needs to be encrypted; in general criminal cases, only key information can be encrypted, which can be a medium encryption level; the encryption level of civil cases can be a primary encryption level, and only the private information of the persons involved in the case is encrypted.
[0079] In the embodiment of the present application, the target evidence file is encrypted based on the case number and encryption level, including:
[0080] From the preset encryption level, encryption algorithm and key length correspondence table, match the encryption algorithm and key length corresponding to the encryption level to obtain the target encryption algorithm and target key length; if the length of the case number is the same as the length of the target key, the case number is used as the target key; if the length of the case number is greater than the length of the target key, a number with the same length as the target key is intercepted from the case number as the target key; if the length of the case number is less than the length of the target key, a target key is generated based on the case number and the identification code; the target evidence file is encrypted using the generated target key to obtain the encrypted target evidence file.
[0081] In an embodiment of the present application, different encryption algorithms and key lengths are pre-set for each encryption level; when the encryption level is the highest encryption level, AES-256 or above encryption algorithms can be used; when the encryption level is the medium encryption level, AES-128 or RSA encryption algorithms can be used; at the same time, the higher the encryption level, the longer the key length. For example, when the encryption level is the highest encryption level, the key length can be set to 2048 bits.
[0082] In the embodiment of the present application, since the length of the target key may be much longer than the length of the case number and the identification code, the case number and the identification code may be combined, and then the combined case number and identification code may be transformed in various ways, and the transformed data may be combined with the combined case number and identification code to finally obtain the target key. Specifically, the transformation may be uniformly shifted back three digits, or adding or subtracting a certain character.
[0083] In another embodiment of the present application, a random number is generated based on the combined case number and identification code to obtain a target key, and the following steps may also be used:
[0084] A Mersenne twister random number generator is used to generate a first sequence; the combined case number and identification code are used as a second sequence; the first sequence and the second sequence are shuffled using a diffusion method and a permutation method to obtain a third sequence; the third sequence is optimized using a pre-built optimization model to obtain a target key.
[0085] In an embodiment of the present application, the optimization model may be a model constructed based on a nonlinear dynamic filter.
[0086] In the embodiment of the present application, since the parties cannot access the court's intranet, after obtaining the encrypted target evidence file, it will be stored on the server (external network) for the parties to view; however, in order to ensure the security of the evidence file and the privacy of each party, the external network will not be open to everyone, so the access rights to the external network are controlled.
[0087] In the embodiment of the present application, based on the access address, case number, identity information of the party and key, the access QR code of the party is generated, including:
[0088] The access address and key are encrypted using the case number to obtain the encrypted access address and the encrypted key; the encrypted access address is converted into an access short link according to a preset conversion rule; an initial QR code is generated based on the access short link, the encrypted key and the identity authentication information; the initial QR code is encrypted using the identity ID of the party involved to obtain the access QR code of the party involved.
[0089] In an embodiment of the present application, the storage address of the target evidence file on the server is used as the access address. Since directly disclosing the access address may pose a threat to the security of the server, in order to further improve the security of the evidence file and the server, the access address is not sent directly to the party concerned. Instead, the access address and the key are encrypted, and then an access short link and a QR code are generated and sent to the party concerned. In this process, the access address and the key are encrypted multiple times to improve security.
[0090] In an embodiment of the present application, open source software or online software or an API interface can be used to convert the encrypted access address into an access short link.
[0091] In the embodiment of the present application, the initial QR code can be generated using an online tool, an Excel plug-in, a QR code generator, or the like.
[0092] Step S120: Send the access QR code to the party concerned, and receive the result of the party concerned's identity authentication based on the access QR code; if the identity authentication is successful, obtain the key input by the party concerned.
[0093] In an embodiment of the present application, after the party receives the access QR code, identifies the QR code or scans the QR code, he / she will receive a prompt to enter the identity authentication information; after the party enters the identity ID, it will be automatically matched with the identity ID during encryption. If the match is successful, the initial identity authentication is successful; at this time, a prompt for re-identification will pop up, and the method of this identity authentication is determined based on the identity authentication information. If the identity authentication information is face recognition, a face scanning box will pop up to identify the facial image of the person currently holding the identification QR code. If the recognition result is the same as the face stored in the identity authentication information or the similarity reaches a preset threshold, the identity authentication is judged to be successful; after two identity authentications are passed, the party can obtain the access short link and the encrypted key.
[0094] In an embodiment of the present application, when a party accesses a short link, he will be prompted to enter a key. After the party enters the encrypted key into a designated location, the server will perform verification based on the content entered by the party.
[0095] In another embodiment of the present application, the party's access QR code can also be obtained based on the party's device terminal number; that is, the initial QR code is encrypted using the party's device terminal number; when the party receives the QR code using the device, the QR code automatically extracts the terminal number of the current device. If the terminal number of the current device is the same as the party's device terminal number, the verification is successful.
[0096] In an embodiment of the present application, the present application packages data such as access short links into a QR code for transmission, thereby ensuring that data such as access short links cannot be intercepted and read during the transmission process; and multiple identity authentications are set for the QR code to ensure that even if the QR code is intercepted or stolen, other personnel cannot obtain data such as the access short link and key stored in the QR code.
[0097] Step S130: If the key input by the party is the same as the key of the encrypted target evidence file, the target evidence file that the party has the permission to view is matched from the preset party type and target evidence file viewing permission comparison table; and the target evidence file that the party has the permission to view is displayed.
[0098] In an embodiment of the present application, if the encrypted key input by the party is the same as the key of the encrypted target evidence file, the target evidence file that the party has viewing authority for is matched from a preset comparison table of party types and target evidence files viewing authority, and the target evidence file is displayed, so that the party can view the viewable evidence files; and for evidence files that the party does not have viewing authority, they are not displayed, thereby achieving access control of the evidence files.
[0099] In the embodiment of the present application, after the target evidence file is stored on the server, it is equivalent to backing up the data of the court's intranet on the server. When the court's intranet cannot be connected, judges, clerks, etc. can obtain the corresponding evidence files by accessing the external network.
[0100] In another embodiment of the present application, the access control method for evidence files also includes: extracting all evidence files of the target case according to the case number of the target case, and each evidence file is set with an evidence tag, which is used to distinguish the type of evidence file; judges and case handlers can extract the corresponding evidence files of the target case according to the evidence tags, for example, extracting all evidence files with the evidence tag of property for the judges and case handlers to review and count.
[0101] In another embodiment of the present application, evidence labels can be further refined and evidence file summaries can be generated. For example, evidence files with all property evidence labels can be divided into real estate and cash in detail, and for any evidence file marked as cash, an evidence summaries of the bank and amount can be generated, so that judges and case handlers can have a more intuitive and clear understanding of the defendant's asset information.
[0102] Corresponding to the above method, the embodiment of the present application also provides an access control device for evidence files, such as Figure 3 As shown, the access control device of the evidence file includes:
[0103] The acquisition unit 310 is used to acquire case information of the target case, the encrypted target evidence file and the file information of the encrypted target evidence file; wherein the case information includes: case number, case type and identity information of each party; the identity information includes identity ID and party type; the file information includes: access address and key; the target evidence file is obtained by fuzzifying the sensitive information contained in all evidence files of the target case; the sensitive information is determined according to the case type and the party type of different party members;
[0104] A generating unit 320, for generating an access QR code for any party member based on the access address, case number, identity information of the party member and a key;
[0105] The sending unit 330 is used to send the access QR code to the party concerned, and receive the result of the party concerned performing identity authentication based on the access QR code;
[0106] The verification unit 340 is used to obtain the key input by the party member if the identity verification is passed; if the key input by the party member is the same as the key of the encrypted target evidence file, match the target evidence file that the party member has the right to view from the preset party type and target evidence file viewing authority comparison table;
[0107] The display unit 350 is used to display the target evidence file.
[0108] The functions of each functional unit of the access control device for evidence files provided in the above-mentioned embodiments of the present application can be realized through the above-mentioned method steps. Therefore, the specific working process and beneficial effects of each unit in the access control device for evidence files provided in the embodiments of the present application will not be repeated here.
[0109] The present application also provides an electronic device, such as Figure 4 As shown, it includes a processor 410 , a communication interface 420 , a memory 430 and a communication bus 440 , wherein the processor 410 , the communication interface 420 , and the memory 430 communicate with each other via the communication bus 440 .
[0110] Memory 430, for storing computer programs;
[0111] The processor 410 is used to execute the program stored in the memory 430 to implement the following steps:
[0112] Obtain case information of the target case, encrypted target evidence files and file information of the encrypted target evidence files; wherein the case information includes: case number, case type and identity information of each party; identity information includes identity ID and party type; file information includes: access address and key; the target evidence file is obtained by fuzzifying sensitive information contained in all evidence files of the target case; sensitive information is determined according to the case type and party type of different parties;
[0113] For any party, based on the access address, case number, party identity information and key, generate the party's access QR code;
[0114] Sending the access QR code to the party concerned, and receiving the result of identity authentication performed by the party concerned based on the access QR code;
[0115] If the identity authentication is passed, the key entered by the party is obtained; if the key entered by the party is the same as the key of the encrypted target evidence file, the target evidence file that the party has the right to view is matched from the preset party type and target evidence file viewing permission comparison table;
[0116] Displays the target evidence file.
[0117] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.
[0118] The communication interface is used for communication between the above electronic device and other devices.
[0119] The memory may include a random access memory (RAM) or a non-volatile memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.
[0120] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0121] The implementation methods and beneficial effects of the components of the electronic device in the above embodiments to solve the problems can be seen in Figure 1 The various steps in the illustrated embodiment are implemented, therefore, the specific working process and beneficial effects of the electronic device provided by the embodiment of the present application are not repeated here.
[0122] In another embodiment provided in the present application, a computer-readable storage medium is also provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes any of the access control methods for evidence files in the above embodiments.
[0123] In another embodiment provided by the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute any of the methods for controlling access to evidence files in the above-mentioned embodiments.
[0124] Those skilled in the art will appreciate that the embodiments in the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt a complete hardware embodiment, a complete software embodiment, or a form of an embodiment combining software and hardware. Moreover, the present application may adopt a form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0125] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0126] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0127] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0128] Although the preferred embodiments of the present application have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications falling within the scope of the embodiments of the present application.
[0129] Obviously, those skilled in the art can make various changes and modifications to the embodiments in the present application without departing from the spirit and scope of the embodiments in the present application. Thus, if these modifications and variations of the embodiments in the present application fall within the scope of the claims and their equivalents in the embodiments of the present application, the embodiments of the present application are also intended to include these modifications and variations.
Claims
1. A method for controlling access to evidence files. It is characterized in that The method comprises: Obtain case information of a target case, an encrypted target evidence file, and file information of the encrypted target evidence file; wherein the case information includes: case number, case type, and identity information of each party; the identity information includes identity ID and party type; the file information includes: access address and key; the target evidence file is obtained by fuzzifying sensitive information contained in all evidence files of the target case; the sensitive information is determined according to the case type and party types of different party members; For any party member, based on the access address, the case number, the party member's identity information and the key, generate an access QR code for the party member; Sending the access QR code to the party concerned, and receiving the result of identity authentication performed by the party concerned based on the access QR code; If the identity verification is successful, the key input by the party concerned is obtained; If the key input by the party member is the same as the key of the encrypted target evidence file, then the target evidence file that the party member has the right to view is matched from the preset party type and target evidence file viewing authority comparison table; It shows that the party concerned has the authority to view the target evidence file.
2. The method according to claim 1, It is characterized in that The method further includes: obtaining original evidence documents of the target case; The method for obtaining the target evidence file includes: Determining the sensitivity level of the party concerned according to the case type and the party type of the party concerned; Matching sensitive information corresponding to the sensitivity level from a preset sensitivity level and sensitive information comparison table; The original evidence file containing the sensitive information in the original evidence file is used as the first evidence file; The sensitive information in the first evidence file is fuzzified to obtain a target evidence file.
3. The method according to claim 1, It is characterized in that The encryption method of the target evidence file includes: Match the encryption level corresponding to the case type from the preset case type and encryption level comparison table; Based on the case number and encryption level, the target evidence file is encrypted to obtain an encrypted target evidence file.
4. The method according to claim 3, It is characterized in that Encrypting the target evidence file based on the case number and encryption level includes: From a preset encryption level, encryption algorithm, and key length correspondence table, match the encryption algorithm and key length corresponding to the encryption level to obtain a target encryption algorithm and a target key length; If the length of the case number is the same as the length of the target key, the case number is used as the target key; If the length of the case number is greater than the length of the target key, a number with the same length as the target key is truncated from the case number as the target key.
5. The method according to claim 4, It is characterized in that The case information also includes: an identification code of the case type; If the length of the case number is less than the length of the target key, the target key is generated based on the case number and the identification code.
6. The method according to claim 1, It is characterized in that The identity information also includes: identity verification information; Based on the access address, the case number, the identity information of the party member and the key, an access QR code of the party member is generated, including: Encrypting the access address and the key using the case number to obtain an encrypted access address and an encrypted key; According to a preset conversion rule, the encrypted access address is converted into an access short link; Generate an initial QR code based on the access short link, the encrypted key and the identity verification information; The initial QR code is encrypted using the identity ID of the party concerned to obtain the access QR code of the party concerned.
7. An access control device for evidence files, It is characterized in that The device comprises: An acquisition unit is used to acquire case information of a target case, an encrypted target evidence file, and file information of the encrypted target evidence file; wherein the case information includes: case number, case type, and identity information of each party; the identity information includes identity ID and party type; the file information includes: access address and key; the target evidence file is obtained by fuzzifying sensitive information contained in all evidence files of the target case; the sensitive information is determined according to the case type and party types of different party members; A generating unit, for generating an access QR code for any party member based on the access address, the case number, the identity information of the party member and the key; A sending unit, configured to send the access QR code to the party concerned, and receive a result of identity authentication performed by the party concerned based on the access QR code; A verification unit, configured to obtain the key input by the party member if the identity authentication is passed; if the key input by the party member is the same as the key of the encrypted target evidence file, match the target evidence file that the party member has the right to view from a preset comparison table of party type and target evidence file viewing rights; A display unit is used to display the target evidence file.
8. An electronic device, It is characterized in that The electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; Memory, used to store computer programs; A processor, used to implement any method described in claims 1-6 when executing a program stored in a memory.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.
