Court trial information management method and device, electronic equipment and storage medium
By acquiring microphone status information from court hearing recordings, and dividing and merging the recording files, the problem of difficulty in locating recording files during court hearings is solved, enabling rapid extraction and intelligent management of recording information, and improving the efficiency of court hearing data management.
Patent Information
- Application Number
- CN202311293008.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-08
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2043-10-08
AI Technical Summary
During court proceedings, repeatedly listening to a particular person's recording and repeatedly locating the time period when playing audio files is time-consuming and laborious, affecting the intelligent management of the court proceedings.
By acquiring the recording files and their microphone status information, the recording files are divided into multiple time periods and the recording files with the same microphone number are merged to generate user recording files, enabling rapid location and text conversion.
It enables rapid extraction and location of each user's recording information in audio files, improves the intelligence level of court hearing data management, and enhances the accuracy of text conversion and the convenience of file management.
Smart Images

Figure CN117076706B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present disclosure belongs to the technical field of data processing, and more particularly to a court trial material management method and device, an electronic device, and a storage medium. BACKGROUND
[0002] Court trial is a very important link in judicial practice, and the judgment and ruling of a judge often depend on the materials and evidence in the court trial process. With the advancement of informationization construction, in order to make the legal work efficient and convenient, a smart court trial system emerges as the times require, and various materials used in the court trial process can be viewed at any time from the court trial system. When playing a recording file, the recording of a certain personnel needs to be repeatedly listened to, and the positioning of the time period is time-consuming and laborious. SUMMARY
[0003] The present disclosure aims to provide a court trial material management method and device, an electronic device, and a storage medium to improve the intelligent degree of court trial material management.
[0004] In a first aspect, the present disclosure provides a court trial material management method, comprising:
[0005] obtaining the recording file and microphone state information corresponding to the recording file; the microphone state information comprises a plurality of records, and each record comprises a one-to-one microphone number, a microphone start working time and a microphone stop working time;
[0006] dividing the duration of the recording file into a plurality of time periods according to the microphone start working time and the microphone stop working time, and the recording file of each time period being a sub-recording file;
[0007] merging the sub-recording files belonging to the same microphone number into one file according to the microphone start working time and the microphone stop working time, to obtain a plurality of user recording files.
[0008] In a second aspect, the present disclosure provides a court trial material management device, comprising:
[0009] a first obtaining unit configured to obtain the recording file and microphone state information corresponding to the recording file; the microphone state information comprises a plurality of records, and each record comprises a one-to-one microphone number, a microphone start working time and a microphone stop working time;
[0010] a first processing unit configured to divide the duration of the recording file into a plurality of time periods according to the microphone start working time and the microphone stop working time, and the recording file of each time period being a sub-recording file;
[0011] A second processing unit is configured to combine the sub-recording files with the same microphone number into one file according to the microphone starting time and the microphone stopping time, and obtain a plurality of user recording files.
[0012] In a third aspect, an electronic device is provided, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the court trial material management method when executing the computer program.
[0013] In a fourth aspect, a computer storage medium is provided, which stores a computer program, and the computer program implements the steps of the court trial material management method when executed by a processor.
[0014] The court trial material management method and device, the electronic device, and the storage medium provided by the embodiments of the present disclosure have the following beneficial effects:
[0015] According to the correspondence between the recording file and the microphone state information, the recording file is divided into a plurality of sub-recording files according to the microphone starting time and the microphone stopping time of each microphone, each sub-recording file corresponds to a time period during which a microphone is in an operating state, and the sub-recording files with the same microphone number are combined to obtain a user recording file of each user. In this way, the recording information of each user in the recording file is extracted, and when the recording information of a certain user needs to be played, quick positioning is facilitated. BRIEF DESCRIPTION OF DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure, the following will briefly introduce the drawings needed to be used in the embodiments or prior art description. Obviously, the drawings in the following description are only some embodiments of the present disclosure, and other drawings can be obtained by those skilled in the art without creative effort based on these drawings.
[0017] Figure 1 A flowchart of a court trial material management method provided by an embodiment of the present disclosure is shown in the figure.
[0018] Figure 2 A structural block diagram of a court trial material management device provided by an embodiment of the present disclosure is shown in the figure.
[0019] Figure 3 A schematic block diagram of an electronic device provided by an embodiment of the present disclosure is shown in the figure. DETAILED DESCRIPTION
[0020] In the following description, for purposes of explanation and not limitation, specific details are set forth such as particular architectures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present disclosure. However, it will be apparent to those skilled in the art that the present disclosure can be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known methods, devices, circuits, and methods are omitted so as not to obscure the description of the present disclosure.
[0021] In order to make the objects, technical solutions and advantages of the present disclosure clearer, the following will be described by specific embodiments in conjunction with the accompanying drawings.
[0022] In an embodiment of the present disclosure, the court material includes an audio file, the audio file includes audio information of at least one user, each user is provided with a microphone, and each microphone is assigned with a unique microphone number.
[0023] Please refer to Figure 1 , Figure 1 A flowchart of a court material management method provided by an embodiment of the present disclosure is shown in FIG. 1. The method includes the following steps.
[0024] S101: Obtain the audio file and microphone state information corresponding to the audio file; the microphone state information includes multiple records, and each record includes a one-to-one corresponding microphone number, microphone start time and microphone stop time.
[0025] In the embodiment, the audio file includes voice content of multiple users, each user is configured with a microphone, and multiple microphones work alternately in the audio recording process.
[0026] S102: According to the microphone start time and the microphone stop time, divide the duration of the audio file into multiple time periods, and the audio file of each time period is a sub-audio file.
[0027] In the embodiment, the time period between the microphone start time and the microphone stop time of any microphone is the working time period of the microphone, and accordingly, the time period of the audio file is divided according to the time period of the microphone working alternately.
[0028] S103: According to the microphone start time and the microphone stop time, combine the sub-audio files belonging to the same microphone number into one file to obtain multiple user audio files.
[0029] In the embodiment, the sub-audio files belonging to the same microphone number are sub-audio files of the same user, and the sub-audio files of the same user are combined into one file, so that when the audio information of a certain user needs to be played, quick positioning can be performed.
[0030] As can be seen from the above, this embodiment divides the recording file into multiple sub-recording files based on the correspondence between the recording file and the microphone status information, according to the microphone start time and microphone stop time for each microphone. Each sub-recording file corresponds to a time period when a microphone is in operation. Sub-recording files belonging to the same microphone number are merged to obtain the user's recording file. In this way, the recording information of each user in the recording file is extracted, facilitating quick location when it is necessary to play the recording information of a specific user.
[0031] In one embodiment of this disclosure, the court hearing data management method further includes:
[0032] Each sub-audio file is converted into a piece of text information, resulting in multiple pieces of text information;
[0033] Based on the microphone start and stop times corresponding to the recorded audio file, multiple segments of text information are merged into a single text record.
[0034] In this embodiment, each sub-recording file contains only the recording information of one user. This eliminates interference between users during text conversion, improving accuracy. Based on the microphone start and stop times corresponding to the recording files, the temporal order of each text segment can be obtained. Merging multiple text segments in chronological order improves the overall recording quality.
[0035] The precision of text conversion in the file.
[0036] In one embodiment of this disclosure, each microphone is provided with a corresponding receiving channel. For any microphone, the method for obtaining the microphone start time and microphone stop time includes:
[0037] At preset time intervals, the signal strength of the receiving channel corresponding to the microphone is detected. If the signal strength is greater than or equal to the set threshold, the microphone is marked as working. If the signal strength is less than the set threshold, the microphone is marked as standby.
[0038] The moment when the microphone switches from standby mode to working mode is defined as the microphone start working moment, and the moment when the microphone switches from working mode to standby mode is defined as the microphone stop working moment.
[0039] In the embodiment, the microphone receives the voice signal of the user and sends to the corresponding receiving channel, the signal of the receiving channel is amplified and output, realizing the amplification of the voice signal. When a microphone is not used and in standby state, the signal strength of the receiving channel is close to 0, when a microphone is used, the signal strength of the receiving channel is greater than the set threshold, according to which, the working state or standby state of the microphone can be distinguished. If the microphone is detected to be in working state at a certain moment, and in standby state at the previous moment, the certain moment is determined as the starting moment of the microphone working, if the microphone is detected to be in standby state at the certain moment, and in working state at the previous moment, the certain moment is determined as the stopping moment of the microphone working.
[0040] The person skilled in the art can flexibly design the specific value of the preset time interval, for example, 1s, 2s, 10s, etc.
[0041] In an embodiment of the present disclosure, the court trial material management method further comprises:
[0042] sending the text record to the proofreader account;
[0043] after receiving the confirmation information from the proofreader account, generating a first check code and adding the first check code to the end of the file name of the text record;
[0044] when the text record is opened again, verifying according to the first check code to obtain a verification result;
[0045] determining whether the text record is modified by mistake according to the verification result.
[0046] In the embodiment, the text record is an important evidence of the court trial and cannot be changed at will. After the proofreading of the proofreader is completed, a first check code is generated and added to the end of the file name of the text record. When the text record is opened again, the first check code is verified, and only when the verification is passed can the text record be normally opened. If the verification is not passed, it is judged that the text record is modified by mistake, and a file recovery operation is performed to restore the text record to the previous version.
[0047] In an embodiment of the present disclosure, the generation method of the first check code comprises:
[0048] obtaining the hash value of the text record, the hash value comprising a plurality of code bits, each code bit being a number or a letter;
[0049] selecting a plurality of code bits in the hash value according to a set interval to obtain an initial check sequence;
[0050] If the number of the encoding bits contained in the initial check sequence is odd, a supplementary encoding bit is added at the end of the initial check sequence, and the value of the supplementary encoding bit is the same as the first encoding bit of the initial check sequence;
[0051] The multiple encoding bits of the initial check sequence are grouped two by two in sequence order;
[0052] The two encoding bits of each group are respectively converted into corresponding ASCII codes, and the corresponding ASCII codes are merged to obtain multiple initial check codes;
[0053] The multiple initial check codes are subjected to logical AND operation to obtain the first check code.
[0054] In the embodiment, since any modification of the literal record will cause the corresponding change of the hash value, the hash value is used to generate the first check code. Taking the 32-bit hash value "b10a8db164e0754105b7a99be72e3fe5" as an example, the specific process of generating the first check code by using the hash value is as follows:
[0055] Taking 6 as the set interval, that is, one encoding bit is selected every 6 encoding bits, multiple encoding bits in the hash value are obtained, and the initial check sequence d05bf is obtained;
[0056] The number of the encoding bits contained in the initial check sequence is odd, so a supplementary encoding bit 8 is added at the end of the initial check sequence to obtain d05bf8;
[0057] The multiple encoding bits of the initial check sequence are grouped two by two in sequence order to obtain d0, 5b, f8;
[0058] The two encoding bits of each group are respectively converted into corresponding ASCII codes, and the corresponding ASCII codes are merged to obtain multiple initial check codes: 4430H, 3562H, 6638H;
[0059] The multiple initial check codes are subjected to logical AND operation to obtain the first check code: 0420H.
[0060] In an embodiment of the disclosure, the checking according to the first check code to obtain a check result comprises:
[0061] generating a second check code; the generation method of the second check code is the same as that of the first check code;
[0062] If the second check code and the first check code are the same, the check result is that the checking is passed; if the second check code and the first check code are not the same, the check result is that the checking is not passed.
[0063] In the embodiment, the first check code is regenerated after the proofreader completes a proofreading and sends the confirmation information, and the second check code is regenerated when the text record is opened. If someone modifies the text record without proofreading, the first check code will not be regenerated, and the regenerated second check code will change when the text record is opened, which leads to the difference between the second check code and the first check code. Therefore, it can be detected that the text record is modified by mistake.
[0064] In an embodiment of the present disclosure, the court trial material management method further comprises:
[0065] A preset directory is generated, and the preset directory comprises a lawyer folder, a judge folder, a party folder and a process record folder.
[0066] In the embodiment, by generating the preset directory, the user is guided to save the relevant files in the file folder, for example, the files sent by the lawyer are placed in the lawyer folder, the materials and evidence related to the defendant or the plaintiff are placed in the party folder, and the audio files in the court trial process are placed in the process record folder, so that the user can quickly find the files needed in the court trial process,
[0067] In an embodiment of the present disclosure, the court trial material management method further comprises: downloading the files within a preset time range of the court trial time to the local server in advance.
[0068] In the embodiment, according to the court trial time, the files needed in the recent period are downloaded to the local server in advance, so that when the files need to be opened, they can be directly downloaded from the local server, and the file opening speed is improved.
[0069] The court trial material management method corresponding to the above embodiment, Figure 2 A structural block diagram of a court trial material management device provided in an embodiment of the present disclosure is shown. For ease of illustration, only parts related to the embodiments of the present disclosure are shown. Reference Figure 2 The court trial material management device 20 comprises a first acquisition unit 21, a first processing unit 22 and a second processing unit 23.
[0070] The first acquisition unit 21 is configured to acquire the audio file and the microphone state information corresponding to the audio file. The microphone state information comprises a plurality of records, and each record comprises a one-to-one corresponding microphone number, microphone start time and microphone stop time.
[0071] The first processing unit 22 is configured to divide the duration of the audio file into a plurality of time periods according to the microphone start time and the microphone stop time, and the audio file in each time period is a sub-audio file.
[0072] The second processing unit 23 is configured to combine the sub-audio files with the same microphone number into one file according to the microphone starting time and the microphone stopping time, and obtain a plurality of user audio files.
[0073] In an embodiment of the present disclosure, the court material management device further comprises a third processing unit 24 configured to:
[0074] convert each sub-audio file into a piece of text information, and obtain a plurality of pieces of text information;
[0075] combine the plurality of pieces of text information into a text record according to the microphone starting time and the microphone stopping time corresponding to the audio file.
[0076] In an embodiment of the present disclosure, each microphone is provided with a corresponding receiving channel, and the method for obtaining the microphone starting time and the microphone stopping time of any microphone comprises:
[0077] detect the signal strength of the receiving channel corresponding to the microphone according to a preset time interval, and if the signal strength is greater than or equal to a set threshold, mark the microphone as working state, and if the signal strength is less than the set threshold, mark the microphone as standby state;
[0078] determine the time when the microphone is switched from the standby state to the working state as the microphone starting time, and determine the time when the microphone is switched from the working state to the standby state as the microphone stopping time.
[0079] In an embodiment of the present disclosure, the court material management device further comprises a verification unit 25 configured to:
[0080] send the text record to a proofreader account;
[0081] after receiving the confirmation information from the proofreader account, generate a first verification code, and add the first verification code to the end of the file name of the text record;
[0082] when the text record is opened again, verify according to the first verification code to obtain a verification result;
[0083] determine whether the text record is modified by mistake according to the verification result.
[0084] In an embodiment of the present disclosure, the method for generating the first verification code comprises:
[0085] obtain a hash value of the text record, the hash value comprising a plurality of code bits, each code bit being a number or a letter;
[0086] select a plurality of code bits in the hash value according to a set interval to obtain an initial verification sequence;
[0087] If the number of code bits contained in the initial check sequence is odd, then an additional code bit is added to the end of the initial check sequence, and the value of the additional code bit is the same as the first code bit of the initial check sequence.
[0088] Group the multiple coded bits of the initial check sequence into pairs according to the sequence order;
[0089] Convert the two encoded bits of each group into their corresponding ASCII codes, and then merge the corresponding ASCII codes to obtain multiple initial check codes.
[0090] The first check code is obtained by performing a logical AND operation on multiple initial check codes.
[0091] In one embodiment of this disclosure, the step of verifying based on the first verification code to obtain a verification result includes:
[0092] Generate a second verification code; the method for generating the second verification code is the same as the method for generating the first verification code.
[0093] If the second check code is the same as the first check code, the verification result is "verification passed"; if the second check code is different from the first check code, the verification result is "verification failed".
[0094] In one embodiment of this disclosure, the court hearing data management device further includes a generation unit 26, used for:
[0095] Generate a preset directory, which includes lawyer files, judge files, party files, and process record files.
[0096] See Figure 3 , Figure 3 This is a schematic block diagram of an electronic device provided according to an embodiment of the present disclosure. Figure 3 The terminal 300 in this embodiment may include one or more processors 301, one or more input devices 302, one or more output devices 303, and one or more memories 304. The processors 301, input devices 302, output devices 303, and memories 304 communicate with each other via a communication bus 305. The memories 304 store computer programs, including program instructions. The processors 301 execute the program instructions stored in the memories 304. Specifically, the processors 301 are configured to invoke the program instructions to perform the functions of the modules / units in the above-described device embodiments, such as... Figure 2 The functions of modules 21 and 22 shown.
[0097] It should be appreciated that the processor 301 in the embodiments of the present disclosure can be a central processing unit (CPU), and can also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic components, discrete hardware components, or the like. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0098] The input device 302 can include a touchpad, a fingerprint acquisition sensor (for acquiring fingerprint information and direction information of a fingerprint of a user), a microphone, and the like, and the output device 303 can include a display (LCD, etc.), a speaker, and the like.
[0099] The memory 304 can include a read-only memory and a random access memory, and provide instructions and data for the processor 301. A portion of the memory 304 can also include a non-volatile random access memory. For example, the memory 304 can also store device type information.
[0100] In specific implementations, the processor 301, the input device 302, and the output device 303 described in the embodiments of the present disclosure can execute the implementation manners described in the first embodiment and the second embodiment of the court material management method provided by the embodiments of the present disclosure, and can also execute the implementation manners of the terminal described in the embodiments of the present disclosure, which will not be described here.
[0101] In another embodiment of the present disclosure, a computer storage medium is provided, which stores a computer program. The computer program includes program instructions, which, when executed by a processor, implement all or part of the processes of the above-mentioned embodiments. The computer program can also instruct related hardware to complete the above-mentioned embodiments. The computer program can be stored in a computer storage medium. When the computer program is executed by the processor, the steps of the above-mentioned embodiments can be implemented. The computer program includes computer program code in source code form, object code form, executable file or some intermediate form. The computer readable medium can include any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the computer readable medium can include or exclude some contents according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
[0102] The computer storage medium can be an internal storage unit of the terminal, such as a hard disk or a memory of the terminal. The computer storage medium can also be an external storage device of the terminal, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the computer storage medium can include both the internal storage unit and the external storage device of the terminal. The computer storage medium is used to store the computer program and other programs and data required by the terminal. The computer storage medium can also be used to temporarily store data that has been output or will be output.
[0103] Those skilled in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be realized in electronic hardware, computer software or a combination of both. In order to clearly illustrate the interchangeability of hardware and software, the components and steps of the examples have been described in general terms in the above description. Whether the functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. A person skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present disclosure.
[0104] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the terminal and the units described above can refer to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0105] In several embodiments provided in the present application, it should be understood that the disclosed terminal and method can be implemented in other ways. For example, the above-described device embodiments are only schematic, for example, the division of units is only a logical function division, and actual implementation can have another division manner, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the units shown or discussed can be indirect coupling or communication connection through some interfaces or units, and can also be electrical, mechanical or other forms of connection.
[0106] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, that is, can be located in one place, or can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiments of the present disclosure.
[0107] In addition, each functional unit in each embodiment of the present disclosure can be integrated in one processing unit, or each unit can be physically present separately, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0108] The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto, and any skilled person in the art can easily think of various equivalent modifications or replacements within the technical range disclosed in the present disclosure, and these modifications or replacements should be covered in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be subject to the protection scope of the claims.
Claims
1. A method of managing court materials, the court materials including audio files, characterized by, The recording file comprises recording information of at least one user, each user is provided with a microphone, and each microphone is assigned with a unique microphone number, comprising: obtaining the recording file and microphone state information corresponding to the recording file; the microphone state information comprises a plurality of records, and each record comprises a one-to-one corresponding microphone number, a microphone start working time and a microphone stop working time; according to the microphone start working time and the microphone stop working time, the duration of the recording file is divided into a plurality of time periods, and the recording file of each time period is a sub-recording file; according to the microphone start working time and the microphone stop working time, the sub-recording files belonging to the same microphone number are merged into one file to obtain a plurality of user recording files; The court trial material management method further comprises: each sub-recording file is converted into a piece of text information to obtain a plurality of pieces of text information; according to the microphone start working time and the microphone stop working time corresponding to the recording file, the plurality of pieces of text information are merged into a text record; the text record is sent to a proofreading personnel account; after receiving the confirmation information from the proofreading personnel account, a first check code is generated, and the first check code is added to the end of the file name of the text record; when the text record is opened again, the first check code is checked to obtain a check result; determine whether the text record is modified by mistake according to the check result; the generation method of the first check code comprises: obtaining the hash value of the text record, the hash value comprising a plurality of code bits, each code bit being a number or a letter; selecting a plurality of code bits in the hash value according to a set interval to obtain an initial check sequence; if the number of code bits contained in the initial check sequence is odd, a supplementary code bit is added at the end of the initial check sequence, and the value of the supplementary code bit is the same as the first code bit of the initial check sequence; the plurality of code bits of the initial check sequence are grouped into two groups in sequence order; each group of two code bits is converted into corresponding ASCII codes, and the corresponding ASCII codes are merged to obtain a plurality of initial check codes; the plurality of initial check codes are logically ANDed to obtain the first check code.
2. The court material management method according to claim 1, wherein, Each microphone is provided with a corresponding receiving channel, and for any microphone, the microphone start working time and the microphone stop working time are obtained by: according to a preset time interval, detecting the signal strength of the receiving channel corresponding to the microphone, if the signal strength is greater than or equal to a set threshold, marking the microphone as working state, if the signal strength is less than the set threshold, marking the microphone as standby state; the time when the microphone is switched from standby state to working state is determined as the microphone start working time, and the time when the microphone is switched from working state to standby state is determined as the microphone stop working time.
3. The court material management method according to claim 1, wherein, The check according to the first check code comprises: generating a second check code; the generation method of the second check code is the same as that of the first check code; If the second check code is the same as the first check code, the check result is passed; if the second check code is not the same as the first check code, the check result is failed.
4. The court material management method according to claim 1, characterized by, The court trial information management method further comprises: A preset directory is generated, and the preset directory comprises a lawyer file, a judge file, a party file and a process record file.
5. A court material management apparatus, the court material including an audio file, characterized by comprising: The audio file comprises audio information of at least one user, each user is provided with a microphone, and each microphone is assigned a unique microphone number. The first acquisition unit is configured to acquire the audio file and microphone state information corresponding to the audio file; the microphone state information comprises a plurality of records, and each record comprises a one-to-one microphone number, a microphone start time and a microphone stop time. The first processing unit is configured to divide the duration of the audio file into a plurality of time periods according to the microphone start time and the microphone stop time, and each time period of the audio file is a sub-audio file. The second processing unit is configured to combine the sub-audio files belonging to the same microphone number into one file according to the microphone start time and the microphone stop time to obtain a plurality of user audio files. The third processing unit is configured to: convert each sub-audio file into a piece of text information to obtain a plurality of pieces of text information; merge the plurality of pieces of text information into a text record according to the microphone start time and the microphone stop time corresponding to the audio file. The checking unit is configured to: send the text record to a proofreader account; after receiving confirmation information from the proofreader account, generate a first check code and add the first check code to the end of the file name of the text record; when the text record is opened again, check according to the first check code to obtain a check result; determine whether the text record is modified by mistake according to the check result. The method for generating the first check code comprises: obtaining a hash value of the text record, the hash value comprising a plurality of code bits, each code bit being a number or a letter; selecting a plurality of code bits in the hash value at a set interval to obtain an initial check sequence; if the number of code bits contained in the initial check sequence is odd, adding a supplementary code bit at the end of the initial check sequence, the value of the supplementary code bit being the same as the first code bit of the initial check sequence; grouping the plurality of code bits of the initial check sequence in sequence order two by two; converting the two code bits in each group into corresponding ASCII codes respectively, and merging the corresponding ASCII codes to obtain a plurality of initial check codes; performing a logical AND operation on the plurality of initial check codes to obtain the first check code.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the steps of the method of any one of claims 1 to 4.
7. A computer storage medium storing a computer program, the computer program comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 6. The computer program is executed by the processor to implement the steps of the method of any one of claims 1 to 4.
Citation Information
Patent Citations
Method and device for recording call content in communication terminal
CN105227744A
Short message protocol-based file verification method, transmitting equipment and receiving equipment
CN106850689A
Comptuer recoding information system for court
CN1585018A