WO2021175003A1 - Double-record data processing method and apparatus, and computer device and storage medium - Google Patents

Double-record data processing method and apparatus, and computer device and storage medium Download PDF

Info

Publication number
WO2021175003A1
WO2021175003A1 PCT/CN2021/070467 CN2021070467W WO2021175003A1 WO 2021175003 A1 WO2021175003 A1 WO 2021175003A1 CN 2021070467 W CN2021070467 W CN 2021070467W WO 2021175003 A1 WO2021175003 A1 WO 2021175003A1
Authority
WO
WIPO (PCT)
Prior art keywords
record data
data
user
information
type
Prior art date
Application number
PCT/CN2021/070467
Other languages
French (fr)
Chinese (zh)
Inventor
柯婵
Original Assignee
深圳壹账通智能科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2021175003A1 publication Critical patent/WO2021175003A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Definitions

  • This application relates to the field of big data, and in particular to a method, device, computer equipment, and storage medium for dual-recording data processing.
  • double recording data on-site simultaneous audio and video recording
  • the inventor realizes that in the data review system, the review of data often needs to be done on the web side, and for the uploaded double-recorded data, generally they can only passively wait for the authority manager to perform the review work.
  • the embodiments of the present application provide a double-recorded data processing method, device, computer equipment, and storage medium to solve the problem of low data processing efficiency of double-recorded data.
  • a double recording data processing method including:
  • the login type of the user is the first type
  • the first content is displayed on the display interface, where the first type indicates a user type with data verification authority
  • the first recorded data is sent to the server to instruct the server to record the first recorded data to the blockchain network.
  • a double recording data processing method including:
  • the corresponding second record data is obtained from the database, and the second record data is sent to the corresponding terminal to be audited, wherein the second record data is from the server Record data obtained from the database and sent to the mobile terminal.
  • a dual recording data processing device including:
  • the verification module is used to receive the login information of the user, verify the login information, and obtain the verification information if the verification is passed;
  • the login type determining module is configured to determine the login type of the user according to the verification information
  • the first display module is configured to display the first content on the display interface when the login type of the user is the first type, where the first type indicates the type of the user with data verification authority;
  • the first response module is configured to display the corresponding double recording data on the display interface in response to the user's first operation behavior on the display interface;
  • the first record data generating module is configured to receive audit information returned by the user according to the double record data, and generate first record data according to the double record data and the review information;
  • the first sending module is configured to send the first recorded data to the server to instruct the server to record the first recorded data to the blockchain network.
  • a dual recording data processing device including:
  • the information to be audited receiving module is configured to receive information to be audited sent by the terminal to be audited corresponding to the second type of user, and the information to be audited includes double record data;
  • the allocation module is configured to allocate corresponding audit terminals for the information to be audited according to a preset strategy, where the audit terminals are mobile terminals corresponding to users of the first type;
  • the storage record module is used to receive the first record data returned by the audit terminal, store the first record data in the database, and record it in the blockchain network;
  • the third sending module is used to obtain the corresponding second record data from the database when the preset sending instruction is received, and send the second record data to the corresponding terminal to be audited, where the second record data is the server Record data obtained from the database and sent to the mobile terminal.
  • a computer device includes a memory, a processor, and computer-readable instructions that are stored in the memory and can run on the processor, and the processor implements the following steps when the processor executes the computer-readable instructions:
  • the login type of the user is the first type
  • the first content is displayed on the display interface, where the first type indicates a user type with data verification authority
  • the first recorded data is sent to the server to instruct the server to record the first recorded data to the blockchain network.
  • a computer device includes a memory, a processor, and computer-readable instructions that are stored in the memory and can run on the processor, and the processor implements the following steps when the processor executes the computer-readable instructions:
  • the corresponding second record data is obtained from the database, and the second record data is sent to the corresponding terminal to be audited, wherein the second record data is from the server Record data obtained from the database and sent to the mobile terminal.
  • One or more readable storage media storing computer readable instructions.
  • the readable storage media includes a non-volatile readable storage medium and a volatile readable storage medium.
  • the computer readable instructions are stored by one or more When executed by two processors, when the one or more processors are executed, the following steps are implemented:
  • the login type of the user is the first type
  • the first content is displayed on the display interface, where the first type indicates a user type with data verification authority
  • the first recorded data is sent to the server to instruct the server to record the first recorded data to the blockchain network.
  • One or more readable storage media storing computer readable instructions.
  • the readable storage media includes a non-volatile readable storage medium and a volatile readable storage medium.
  • the computer readable instructions are stored by one or more When executed by two processors, when the one or more processors are executed, the following steps are implemented:
  • the corresponding second record data is obtained from the database, and the second record data is sent to the corresponding terminal to be audited, wherein the second record data is from the server Record data obtained from the database and sent to the mobile terminal.
  • the above-mentioned double-recording data processing method, device, computer equipment and storage medium verify the login information by receiving the user's login information. If the verification is passed, the verification information is obtained; the user's login type is determined according to the verification information; if the user logs in If the type is the first type, the first content is displayed on the display interface, where the first type is the type indicating the user with data verification authority; in response to the user's first operation behavior on the display interface, the corresponding content is displayed on the display interface.
  • Double record data receive the audit information returned by the user according to the double record data, and generate the first record data based on the double record data and the audit information; send the first record data to the server to instruct the server to record the first record data to the district Blockchain network; users with audit permissions can directly audit the double-recorded data on the mobile terminal without being restricted by other terminals; different types of users can log in through the same channel to enter different display interfaces, and users can In the same mobile terminal, you can upload and review the double-recording by switching between different data processing pages, which greatly improves the convenience of users and the efficiency of double-recording data processing.
  • the convenience and speed of obtaining the first recorded data is improved, and the security of the first recorded data is also ensured.
  • FIG. 1 is a schematic diagram of an application environment of a dual-recording data processing method in an embodiment of the present application
  • FIG. 2 is an example diagram of a dual-recording data processing method in an embodiment of the present application
  • FIG. 3 is another example diagram of a dual-recording data processing method in an embodiment of the present application.
  • FIG. 4 is another example diagram of a dual-recording data processing method in an embodiment of the present application.
  • FIG. 5 is another example diagram of a dual-recording data processing method in an embodiment of the present application.
  • FIG. 6 is another example diagram of a dual-recording data processing method in an embodiment of the present application.
  • Fig. 7 is a functional block diagram of a dual-recording data processing device in an embodiment of the present application.
  • FIG. 8 is another functional block diagram of the dual-recording data processing device in an embodiment of the present application.
  • FIG. 9 is another functional block diagram of the dual-recording data processing device in an embodiment of the present application.
  • Fig. 10 is a schematic diagram of a computer device in an embodiment of the present application.
  • the dual-recording data processing method provided by the embodiment of the present application can be applied to the application environment as shown in FIG. 1.
  • the double-recording data processing method is applied in a double-recording data processing system.
  • the double-recording data processing system includes a mobile terminal, a server and a blockchain network as shown in FIG.
  • the chain network communicates through the network and is used to solve the problem of low data processing efficiency of double-recorded data.
  • the mobile terminal is also called the user terminal, which refers to the program that corresponds to the server terminal and provides local services to customers.
  • Mobile terminal The mobile terminal can be installed on, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices.
  • the server can be implemented with an independent server or a server cluster composed of multiple servers.
  • Blockchain network refers to the database used for data storage.
  • a method for processing dual recording data is provided. Taking the method applied to the mobile terminal in FIG. 1 as an example for description, the method includes the following steps:
  • S10 Receive the user's login information, verify the login information, and obtain the verification information if the verification is passed.
  • the login information refers to the information entered by the user when logging in on the mobile terminal.
  • the login information may be a login user name and a corresponding login password entered by the user on the mobile terminal, or may be face or fingerprint information collected by the mobile terminal.
  • the login user name refers to a kind of identification information set by the user during registration, which can be an ID number, WeChat ID, mobile phone number, or QQ number, etc.
  • the login password refers to the password entered by the user every time the user logs in to the system. Specifically, the login information input by the user in the mobile terminal is matched with the target information pre-stored in the database. If the matching is successful, the verification is passed, and if the matching fails, the verification is not passed.
  • the target information refers to the information collected in advance and stored in the database to determine whether the login information is correct. Further, if the verification is passed, verification information is obtained.
  • Verification information refers to information used to determine the type of logged-in user. Specifically, the verification information includes the user's personal information. If the verification fails, the user is prompted that the login information is illegal. Further, the user is then prompted to register first or re-enter the login information.
  • verifying the login information mainly includes verifying the login user name and login password entered by the user. After the user inputs the login user name in the mobile terminal, the login user name will be matched with the user name pre-stored in the database. If the matching is generated, the user is judged to be a registered user. Then, verify the login password entered by the user, that is, first find the registered password associated with the login user name according to the login user name, and then compare the received login password with the registered password to determine whether the login password is Whether the registration password entered by the user during registration is the same, if it is the same, it means that the authentication is passed and the authentication information is obtained.
  • the login user name of each user and the corresponding registration password have been associated and stored in the database.
  • the corresponding registration can be determined directly according to the login user name Password to quickly and accurately determine whether the login password entered by the user is correct.
  • S20 Determine the login type of the user according to the verification information.
  • the login type refers to the type name obtained by classifying different login users.
  • the login type can be set according to the user's personal information or permissions in advance.
  • the login types can be divided into the first type and the second type.
  • the first type indicates a user type with data verification authority
  • the second type indicates a user type without data verification authority.
  • the user's login information can be determined based on the personal information in the verification information.
  • each type of verification information can be associated with the corresponding login type and stored in the database in advance. After the login information is verified by entering the login system to generate verification information, the user's login type can be directly obtained from the database according to the verification information.
  • different login types may also be assigned corresponding unique identification numbers.
  • the identification number of the first type is 1 and the identification number of the second type is 2.
  • the first content is displayed on the display interface.
  • the first type indicates a user type with data verification authority.
  • the first type can be an administrator.
  • the first content refers to the page content that can be reviewed or set.
  • the first type is a quality inspection manager
  • the first content is a page on which the quality inspection manager can operate quality inspection operations. Understandably, since the first user type is a user type with data verification authority, only the user meets the set verification authority, that is, the user's login type is the first type, the first content will be displayed on the display interface .
  • different login types and corresponding displayed content have been pre-associated and set.
  • the first content corresponding to the first type can be directly loaded, and the The first content is displayed on the display interface.
  • dual recording data refers to pre-recorded video data and audio data.
  • the user can perform any operation behavior on the displayed first content.
  • the user's first operation behavior on the display interface may include, but is not limited to, sliding, clicking, or long pressing on the display interface.
  • a monitoring script plug-in can be introduced into the display interface, so as to realize real-time monitoring of the user's operation behavior on the display interface.
  • a corresponding first operation instruction is generated to trigger the display of the corresponding dual recording data on the display interface.
  • one or more floating layers corresponding to content links are displayed on the display interface.
  • the content link may specifically be double-recorded data with hyperlinks.
  • the floating layer can also be set to correspond to a certain area or virtual button on the display page. Specifically, when the user performs a click operation on the floating layer corresponding to the content link with double recording data on the display interface, an operation instruction is generated in response to the click operation triggered by the user, thereby triggering the display on the display interface Corresponding double recording data.
  • S50 Receive the audit information returned by the user according to the double-recorded data, and generate the first record data according to the double-recorded data and the audit information.
  • the audit information is the information generated after the evaluation or audit of the double-recorded data. For example: if the audit information returned by the user based on the dual-recording data is received as the first auditing information, it indicates that the dual-recording data meets the set requirements. If the audit information returned by the user based on the dual-recording data is received as the second auditing information, it indicates that the dual-recording data does not meet the set requirements.
  • the user will review the displayed dual-recording data to determine whether the dual-recording data meets the set requirements, and then display the corresponding virtual button or some
  • the corresponding page operation behavior is executed on the area, and the corresponding audit information is generated.
  • two virtual review buttons are set on the display interface for displaying the dual recording data, which are the first virtual button and the second virtual button, respectively.
  • the first virtual button indicates that the dual recording data meets the setting requirements
  • the second virtual button indicates that the dual recording data does not meet the setting requirements.
  • the generated review information is the first review information
  • the first review information indicates that the displayed dual recording data meets the set requirements
  • the generated review information is the second review information
  • the second review information indicates the displayed dual recording The data does not meet the set requirements.
  • the dual-recording data is associated with the corresponding auditing information, thereby generating the first record data.
  • the first recorded data is generated by associating the double-recorded data with the corresponding audit information, so that it can be directly determined whether the corresponding double-recorded data meets the requirements according to the first recorded data.
  • S60 Send the first recorded data to the server to instruct the server to record the first recorded data on the blockchain network.
  • the first record data is sent to the server to instruct the server to record the first record data to the blockchain network.
  • the server will be triggered to store the first record data in the preset database for saving, so that the corresponding record can be directly obtained from the preset database of the server later. data.
  • the blockchain is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
  • the blockchain network is implemented by an encrypted distributed shared ledger and a peer-to-peer network. Its essence is to build a decentralized and trusted network on an untrusted Internet.
  • the first record data is recorded in the blockchain network, thereby avoiding the phenomenon that the first record data is maliciously tampered with, and ensuring the safety and accuracy of the first record.
  • the login information is verified by receiving the user's login information. If the verification is passed, the verification information is obtained; the user's login type is determined according to the verification information; if the user's login type is the first type, it is displayed The first content is displayed on the interface, where the first type indicates the type of user with data verification authority; in response to the user's first operation behavior on the display interface, the corresponding double recording data is displayed on the display interface; the receiving user according to the double recording
  • the audit information returned by the data generates the first record data based on the double record data and the audit information; sends the first record data to the server to instruct the server to record the first record data to the blockchain network; those with audit permission types
  • the user can directly review and operate the dual-recording data on the mobile terminal, without being restricted by other terminals; different types of users can log in through the same channel to enter different display interfaces, and the user can switch between different data on the same mobile terminal
  • the upload and review of double-recording can be realized by processing the page, which greatly improve
  • the double recording data processing method further specifically includes the following steps:
  • the second content is displayed on the display interface.
  • the second type indicates a user type that does not have data verification authority.
  • the second type is business personnel.
  • the second content refers to the page content that can be uploaded, downloaded or viewed. Understandably, the difference between the first content and the second content is that the data review operation cannot be performed on the displayed second content, that is, the second type of user does not have the authority to review the data.
  • the second type is a quality inspection business person
  • the second content is a page where quality inspection data can be uploaded, downloaded, or viewed.
  • S22 In response to the user's second operation behavior on the display interface, receive information to be reviewed, where the information to be reviewed includes double recording data.
  • the information to be reviewed refers to the information to be reviewed.
  • the information to be reviewed is dual recording data, that is, the information to be reviewed includes video data to be reviewed and audio data to be reviewed.
  • the user can perform any operation behavior on the displayed second content.
  • the second operation behavior of the user on the display interface may include, but is not limited to, sliding, clicking, or clicking on the display interface. Long press and wait.
  • a monitoring script plug-in can be introduced into the display interface, so as to realize real-time monitoring of the user's operation behavior on the display interface. If any operation behavior occurs, in response to the user's operation on the display interface, the corresponding pending information is received.
  • the second operation behavior includes a trigger position, where the trigger position refers to a specific position where the user performs an operation on the display interface.
  • the trigger control is uploading data.
  • the mobile terminal will respond to the user's click operation on the display interface and receive information to be reviewed. Understandably, the “upload data” trigger control is the trigger position corresponding to the second operation behavior.
  • S23 Send the double-recorded data to the server, so that the server allocates a corresponding audit terminal for the information to be audited according to a preset strategy.
  • the preset strategy refers to a preset strategy for assigning audit terminals to users of the second type.
  • the preset strategy may be to assign corresponding audit terminals to users of the second type according to their registration years, or to assign corresponding audit terminals according to the importance of the received information to be audited, or to assign corresponding audit terminals according to the The upload time of the audit information is allocated to the corresponding audit terminal, and the user can customize the settings in advance according to the actual situation.
  • the audit terminal refers to a terminal that can audit information to be audited.
  • the mobile terminal after receiving the dual recording data, the mobile terminal automatically sends the dual recording data to the server, so that the server allocates a corresponding review terminal for the information to be reviewed according to a preset policy. It is understandable that different dual-recorded data correspondingly allocated audit terminals may be different, and different users correspondingly allocated audit terminals may also be different, depending on the preset strategy.
  • the preset strategy is to allocate the corresponding audit terminal according to the importance of the double-recorded data in the information to be audited. Specifically, when the server receives the information to be audited, it will first evaluate the importance of the double-recorded data in the audit information. If the evaluation result is of high importance, it will be the audit terminal with the corresponding high level of allocation. If it is of low importance, it will be an audit terminal with a low corresponding allocation level. Understandably, the association between the importance level and the audit terminal has been set on the server in advance. A high degree of importance corresponds to a high-level audit terminal, a medium degree of importance corresponds to a medium-level audit terminal, and a low degree of importance corresponds to a low-level audit terminal.
  • the second content is displayed on the display interface, where the second type is the type of user indicating that the user does not have the data verification authority; 2. Operational behavior: receiving information to be audited, which includes double-recording data; sending double-recording data to the server, so that the server can allocate corresponding audit terminals for the information to be audited according to a preset strategy; the second type of users
  • the double-recorded data can be uploaded in real time on the display page, and the corresponding audit terminal can be assigned to the double-recorded data in time, thereby avoiding the phenomenon of double-recording data being ignored and improving the processing efficiency of the double-recording data.
  • the double recording data processing method further specifically includes the following steps:
  • the third operation behavior refers to the behavior for triggering the acquisition of the second recording data of the dual recording data.
  • the display interface is provided with a virtual control or input box for triggering the acquisition of the second record data of the double-recorded data; when the user clicks on the virtual control or enters the acquisition instruction in the input box, move The terminal will respond to the user's third operation behavior on the display interface, and generate an acquisition instruction and send it to the server.
  • the server receives the acquisition instruction sent by the mobile terminal, it will acquire the second record data corresponding to the double record data from the database.
  • And send the second record data to the mobile terminal the mobile terminal can load the second record data received from the server, and display the second record data of the dual record data on the display interface.
  • the second record data is record data obtained by the server from the database and sent to the mobile terminal.
  • the second record data includes double record data and corresponding audit information.
  • the trigger instruction is used to trigger the instruction for matching the first recorded data and the second recorded data.
  • the data confirmation request is used to request the server to send the first record data. Specifically, if the mobile terminal receives a trigger instruction executed by the user on the display interface, it will send a data confirmation request to the server based on the trigger instruction. When the server receives the data confirmation request, it will respond to the data confirmation request from Obtain the corresponding first record data in the blockchain network and return the first record data to the mobile terminal. The mobile terminal can obtain the first record data returned by the server, so that the first record data and the second record data can be subsequently checked. Record data for data matching.
  • S213 Match the first recorded data and the second recorded data, and display the matching result on the display interface.
  • the mobile terminal when it obtains the first recorded data and the second recorded data returned by the server, it will automatically trigger the matching of the first recorded data and the second recorded data.
  • a regular matching method or a string matching method can be used to match the first record data and the second record data to obtain the matching result, and load the matching result for display on the display interface, so that the user can intuitively understand To the data difference between the first recorded data and the second recorded data.
  • the matching result displayed on the display interface may be: performing different identification processing on the first record data and the second record data according to different matching results.
  • the first identification process is performed on the first record data and the second record data that are successfully matched; the second identification process is performed on the first record data and the second record data that have failed to match.
  • the first identification of the first record data and the second record data that are successfully matched is processed into green to obtain the first display data.
  • the second identification of the first record data and the second record data that have failed to match is processed into red to obtain the second display data.
  • Different matching results are displayed through different color signs, so that the user can accurately and intuitively understand the data difference between the first recorded data and the second recorded data through the matching results on the display interface.
  • the second record data corresponding to the double record data is displayed on the display interface, where the second record data is obtained by the server from the database and sent to the mobile The record data of the terminal; if the trigger instruction is received, a data confirmation request is sent to the server to obtain the first record data returned by the server, where the first record data is the record data obtained by the server from the blockchain network; Match the first recorded data and the second recorded data, and display the matching results on the display interface; the user can actively trigger the matching of the first recorded data and the second recorded data on the mobile terminal according to the actual situation, avoiding data
  • the tampering causes errors in the second record data recorded in the database, thereby improving the accuracy of the second record data recorded in the database.
  • a method for processing double-recording data is provided. Taking the method applied to the server in FIG. 1 as an example for description, the method includes the following steps:
  • S100 Receive information to be audited sent by a terminal to be audited corresponding to a user of the second type, where the information to be audited includes double recording data.
  • the server can receive the information corresponding to the user of the second type.
  • the information to be reviewed sent from the terminal to be reviewed, and the information to be reviewed includes double-recorded data.
  • S101 Assign a corresponding audit terminal to the information to be audited according to a preset policy, where the audit terminal is a mobile terminal corresponding to the first type of user.
  • the specific method and process of assigning the corresponding audit terminal to the information to be audited according to the preset strategy in this step is the same as the specific method and process of assigning the corresponding audit terminal to the information to be audited according to the preset strategy in step S23. Do redundant repetitions.
  • S102 Receive the first record data returned by the audit terminal, store the first record data in the database, and record it in the blockchain network.
  • the server can receive the first record data returned by the audit terminal, and store the first record data in Database and record to the blockchain network.
  • the server when the server receives the sending instruction sent by the terminal to be audited, it obtains the corresponding second record data from the database, and sends the second record data to the corresponding terminal to be audited, where the second record data is the server Record data obtained from the database and sent to the mobile terminal.
  • the information to be audited sent by the terminal to be audited corresponding to the second type of user is received, and the information to be audited includes double record data;
  • the corresponding audit terminal is allocated to the information to be audited according to a preset strategy, wherein the audit terminal It is the mobile terminal corresponding to the first type of user; receives the first record data returned by the audit terminal, stores the first record data in the database, and records it to the blockchain network; receives the preset sending instruction from the database Obtain the corresponding second record data, and send the second record data to the corresponding terminal to be audited, where the second record data is the record data obtained by the server from the database and sent to the mobile terminal; thereby ensuring the safety of the recorded data At the same time, it further improves the processing efficiency of double-recorded data.
  • the dual-recording data processing method further specifically includes the following steps:
  • S110 Acquire a second record data set from the database according to a preset trigger timing, where the second record data set includes at least one second record data.
  • the trigger timing is used to trigger the timing of data matching between the second record data set and the first record data set.
  • the trigger timing can be a specific time period, such as a specific time period of each day, or a specific day of each month, etc.; it can also be when the data volume of the second record data set reaches When setting the threshold, etc.
  • the server when the preset trigger timing is met, the server will be automatically triggered to obtain the second record data set from the database, and the second record data set includes at least one second record data.
  • the trigger timing is a specific time period, such as 23:00-24:00 every day, when every day to 23:00-24:00, the server will get it from the database The second record data set.
  • S111 Obtain a first record data set from the blockchain network, where the first record data set includes at least one first record data.
  • the first record data set is obtained from the blockchain network, and the first record data set includes at least one first record data.
  • S112 Perform a matching query on the first record data set and the second record data set.
  • each second record data in the second record data set obtained from the database corresponds to each of the first record data sets obtained from the blockchain network.
  • the first record data performs a matching query to determine whether there is data in the second record data set that does not match the first record data in the first record data set.
  • the update log refers to a log used to record update data.
  • the update log is mainly used to record data for updating the second record data set in the database based on the data in the first record data set, including the initial data before the update and the target data after the update.
  • step S112 if data in the second record data set that does not match the first record data set is found after the matching query is performed according to step S112, the data in the first record data set is used to update the second record data set in the database That is, the first record data in the second record data set that does not match the corresponding first record data in the first record data set is updated to the same data as the corresponding first record data, and an update log is generated so that it can be directly updated according to the The log queries the data in the second record data set that are different from the data in the first record data set, which provides convenience for subsequent data analysis.
  • the first record data set is obtained from the database, where the first record data set includes at least one first record data; the second record data set is obtained from the blockchain network , Wherein the second record data set includes at least one second record data; a matching query is performed on the first record data set and the second record data set; if there is unmatched data, the data in the first record data set is used to compare the database The second record data set in the data set is updated, and an update log is generated; by pre-setting the trigger timing, the server is actively triggered to match and update the second record data set, thereby avoiding data being tampered with and causing records in the Errors occur in the second record data in the database, thereby further improving the security of the data.
  • a dual-recording data processing device corresponds to the dual-recording data processing method in the above-mentioned embodiment in a one-to-one correspondence.
  • the dual recording data processing device includes a verification module 10, a login type determination module 20, a first display module 30, a first response module 40, a first record data generation module 50 and a first sending module 60.
  • the detailed description of each functional module is as follows:
  • the verification module 10 is used to receive the user's login information, verify the login information, and obtain the verification information if the verification is passed;
  • the login type determining module 20 is used to determine the login type of the user according to the verification information
  • the first display module 30 is configured to display the first content on the display interface when the login type of the user is the first type, where the first type indicates the type of the user with the data verification authority;
  • the first response module 40 is configured to display the corresponding double recording data on the display interface in response to the user's first operation behavior on the display interface;
  • the first record data generating module 50 is configured to receive the audit information returned by the user according to the double record data, and generate the first record data according to the double record data and the review information;
  • the first sending module 60 is configured to send the first recorded data to the server to instruct the server to record the first recorded data to the blockchain network.
  • the dual recording data processing device further includes:
  • the second display module 21 is configured to display the second content on the display interface when the login type of the user is the second type, where the second type indicates a user type that does not have data verification authority;
  • the second response module 22 is configured to receive information to be audited in response to a second operation behavior of the user on the display interface, and the information to be audited includes double record data;
  • the second sending module 23 is configured to send the double-recorded data to the server, so that the server allocates a corresponding audit terminal for the information to be audited according to a preset strategy.
  • the dual recording data processing device further includes:
  • the third response module 211 is configured to display the second record data corresponding to the double record data on the display interface in response to the user's third operation behavior on the display interface, where the second record data is obtained and sent by the server from the database Record data to the mobile terminal;
  • the first record data acquisition module 212 is configured to send a data confirmation request to the server to obtain the first record data returned by the server when the trigger instruction is received. Recorded data obtained;
  • the first matching module 213 is configured to match the first recorded data with the second recorded data, and display the matching result on the display interface.
  • the dual recording data processing device further includes:
  • the information to be audited receiving module is configured to receive information to be audited sent by the terminal to be audited corresponding to the second type of user, and the information to be audited includes double record data;
  • the allocation module is configured to allocate corresponding audit terminals for the information to be audited according to a preset strategy, where the audit terminals are mobile terminals corresponding to users of the first type;
  • the storage record module is used to receive the first record data returned by the audit terminal, store the first record data in the database, and record it in the blockchain network;
  • the third sending module is used to obtain the corresponding second record data from the database when the preset sending instruction is received, and send the second record data to the corresponding terminal to be audited, where the second record data is the server Record data obtained from the database and sent to the mobile terminal.
  • the dual recording data processing device further includes:
  • the second record data set acquisition module is configured to acquire a second record data set from the database according to a preset trigger timing, where the second record data set includes at least one second record data;
  • the first record data set acquisition module is configured to acquire the first record data set from the blockchain network, where the first record data set includes at least one first record data;
  • the matching query module is used to perform a matching query on the first record data set and the second record data set;
  • the update module is used to update the second record data set in the database with the data in the first record data set when there is unmatched data, and generate an update log.
  • each module in the above-mentioned dual-recording data processing device can be implemented in whole or in part by software, hardware and a combination thereof.
  • the above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
  • a computer device is provided.
  • the computer device may be a server, and its internal structure diagram may be as shown in FIG. 10.
  • the computer equipment includes a processor, a memory, a network interface, and a database connected through a system bus.
  • the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a readable storage medium and an internal memory.
  • the readable storage medium stores an operating system, computer readable instructions, and a database.
  • the internal memory provides an environment for the operation of the operating system and computer readable instructions in the readable storage medium.
  • the database of the computer device is used to store the data used in the double-recording data processing method of the above-mentioned embodiment.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer-readable instruction is executed by the processor to realize a double-recording data processing method.
  • a computer device including a memory, a processor, and computer-readable instructions stored on the memory and capable of running on the processor, and the processor implements the following steps when the processor executes the computer-readable instructions:
  • the login type of the user is the first type
  • the first content is displayed on the display interface, where the first type indicates a user type with data verification authority
  • the first recorded data is sent to the server to instruct the server to record the first recorded data to the blockchain network.
  • one or more readable storage media storing computer readable instructions
  • the readable storage medium includes a non-volatile readable storage medium and a volatile readable storage medium
  • the computer may When the read instruction is executed by one or more processors, the one or more processors execute the following steps:
  • the login type of the user is the first type
  • the first content is displayed on the display interface, where the first type indicates a user type with data verification authority
  • the first recorded data is sent to the server to instruct the server to record the first recorded data to the blockchain network.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Storage Device Security (AREA)

Abstract

The present application relates to the field of big data, and in particular, to a double-record data processing method and apparatus, and a computer device and a storage medium. The method comprises: receiving login information of a user, verifying the login information, and if the verification is successful, obtaining verification information; determining the login type of the user according to the verification information; if the login type of the user is a first type, displaying a first content on a display interface, wherein the first type is a user type indicating that the data verification authority exists; in response to a first operation behavior of the user on the display interface, displaying corresponding double-record data on the display interface; receiving audit information returned by the user according to the double-record data, and generating first record data according to the double-record data and the audit information; and sending the first record data to a server to instruct the server to record the first record data to a blockchain network, thereby improving the use convenience of the user and the processing efficiency of the double-record data.

Description

双录数据处理方法、装置、计算机设备及存储介质Double recording data processing method, device, computer equipment and storage medium
本申请要求于2020年3月4日提交中国专利局、申请号为202010142989.5,发明名称为“双录数据处理方法、装置、计算机设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on March 4, 2020, the application number is 202010142989.5, and the invention title is "Double-recording data processing method, device, computer equipment and storage medium". The entire content of the application is approved The reference is incorporated in this application.
技术领域Technical field
本申请涉及大数据领域,尤其涉及一种双录数据处理方法、装置、计算机设备及存储介质。This application relates to the field of big data, and in particular to a method, device, computer equipment, and storage medium for dual-recording data processing.
背景技术Background technique
随着监管会对各个行业监督与指导力度的加大,要求对产品交易行为实行现场同步录音录像(简称双录数据),记录和保存产品交易过程中的关键环节,加强产品的全过程风险管理,从而为后续重要信息的查询、问题责任的认定提供依据。因此,对记录的双录数据进行数据处理审核变得至关重要。目前,发明人意识到,在数据审核系统中,对数据的审核往往需要在网页端进行工作,且对于上传完的双录数据一般都只能被动地等待权限管理人员去执行审核工作,经常会出现因权限管理人员忽略某一部分双录数据,而导致该双录数据无法在规定的时间内完成审核的现象,数据处理效率低下。另外由于上传完的双录数据一般都只是简单地存储在数据库,容易出现数据被随意篡改的现象,无法保证数据的安全。With the increasing supervision and guidance of various industries by the supervision, it is required to implement on-site simultaneous audio and video recording (referred to as double recording data) for product trading activities, record and save the key links in the product transaction process, and strengthen the risk management of the entire product process , So as to provide a basis for the follow-up of important information inquiries and the determination of responsibility for problems. Therefore, it becomes very important to review the data processing of the recorded double-recorded data. At present, the inventor realizes that in the data review system, the review of data often needs to be done on the web side, and for the uploaded double-recorded data, generally they can only passively wait for the authority manager to perform the review work. There is a phenomenon that the authority management personnel ignores a certain part of the double-recorded data, which causes the double-recorded data to be unable to complete the review within the specified time, and the data processing efficiency is low. In addition, because the uploaded double-recorded data is generally simply stored in the database, the data is easily tampered with, and the security of the data cannot be guaranteed.
发明内容Summary of the invention
本申请实施例提供一种双录数据处理方法、装置、计算机设备及存储介质,以解决双录数据的数据处理效率低下问题。The embodiments of the present application provide a double-recorded data processing method, device, computer equipment, and storage medium to solve the problem of low data processing efficiency of double-recorded data.
一种双录数据处理方法,包括:A double recording data processing method, including:
接收用户的登录信息,对所述登录信息进行验证,若所述验证通过,则得到验证信息;Receiving the login information of the user, verifying the login information, and if the verification is passed, the verification information is obtained;
根据所述验证信息确定所述用户的登录类型;Determining the login type of the user according to the verification information;
若所述用户的登录类型为第一类型,则在显示界面上展示第一内容,其中,所述第一类型为指示具有数据验证权限的用户类型;If the login type of the user is the first type, the first content is displayed on the display interface, where the first type indicates a user type with data verification authority;
响应于用户对所述显示界面的第一操作行为,在显示界面上展示对应的双录数据;In response to the user's first operation behavior on the display interface, display the corresponding dual recording data on the display interface;
接收所述用户根据所述双录数据返回的审核信息,根据所述双录数据和所述审核信息生成第一记录数据;Receiving the review information returned by the user according to the double-recording data, and generating first record data according to the double-recording data and the review information;
将所述第一记录数据发送至服务端,以指示所述服务端将所述第一记录数据记录至区块链网络。The first recorded data is sent to the server to instruct the server to record the first recorded data to the blockchain network.
一种双录数据处理方法,包括:A double recording data processing method, including:
接收第二类型的用户对应的待审核终端发送的待审核信息,所述待审核信息包括双录数据;Receiving information to be audited sent by a terminal to be audited corresponding to a user of the second type, where the information to be audited includes double recording data;
根据预设的策略为所述待审核信息分配对应的审核终端,其中,所述审核终端为第一类型的用户对应的移动终端;Allocate a corresponding audit terminal to the information to be audited according to a preset policy, where the audit terminal is a mobile terminal corresponding to the first type of user;
接收所述审核终端返回的第一记录数据,将所述第一记录数据存储至数据库,并记录至区块链网络;Receiving the first record data returned by the audit terminal, storing the first record data in a database, and recording it in the blockchain network;
若接收到预设的发送指令,则从数据库中获取对应的第二记录数据,将所述第二记录数据发送至对应的所述待审核终端,其中,所述第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据。If a preset sending instruction is received, the corresponding second record data is obtained from the database, and the second record data is sent to the corresponding terminal to be audited, wherein the second record data is from the server Record data obtained from the database and sent to the mobile terminal.
一种双录数据处理装置,包括:A dual recording data processing device, including:
验证模块,用于接收用户的登录信息,对所述登录信息进行验证,若所述验证通过,则得到验证信息;The verification module is used to receive the login information of the user, verify the login information, and obtain the verification information if the verification is passed;
登录类型确定模块,用于根据所述验证信息确定所述用户的登录类型;The login type determining module is configured to determine the login type of the user according to the verification information;
第一展示模块,用于在所述用户的登录类型为第一类型时,在显示界面上展示第一内容,其中,所述第一类型为指示具有数据验证权限的用户类型;The first display module is configured to display the first content on the display interface when the login type of the user is the first type, where the first type indicates the type of the user with data verification authority;
第一响应模块,用于响应于用户对所述显示界面的第一操作行为,在显示界面上展示对应的双录数据;The first response module is configured to display the corresponding double recording data on the display interface in response to the user's first operation behavior on the display interface;
第一记录数据生成模块,用于接收所述用户根据所述双录数据返回的审核信息,根据所述双录数据和所述审核信息生成第一记录数据;The first record data generating module is configured to receive audit information returned by the user according to the double record data, and generate first record data according to the double record data and the review information;
第一发送模块,用于将所述第一记录数据发送至服务端,以指示所述服务端将所述第一记录数据记录至区块链网络。The first sending module is configured to send the first recorded data to the server to instruct the server to record the first recorded data to the blockchain network.
一种双录数据处理装置,包括:A dual recording data processing device, including:
待审核信息接收模块,用于接收第二类型的用户对应的待审核终端发送的待审核信息,待审核信息包括双录数据;The information to be audited receiving module is configured to receive information to be audited sent by the terminal to be audited corresponding to the second type of user, and the information to be audited includes double record data;
分配模块,用于根据预设的策略为待审核信息分配对应的审核终端,其中,审核终端为第一类型的用户对应的移动终端;The allocation module is configured to allocate corresponding audit terminals for the information to be audited according to a preset strategy, where the audit terminals are mobile terminals corresponding to users of the first type;
存储记录模块,用于接收审核终端返回的第一记录数据,将第一记录数据存储至数据库,并记录至区块链网络;The storage record module is used to receive the first record data returned by the audit terminal, store the first record data in the database, and record it in the blockchain network;
第三发送模块,用于在接收到预设的发送指令时,从数据库中获取对应的第二记录数据,将第二记录数据发送至对应的待审核终端,其中,第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据。The third sending module is used to obtain the corresponding second record data from the database when the preset sending instruction is received, and send the second record data to the corresponding terminal to be audited, where the second record data is the server Record data obtained from the database and sent to the mobile terminal.
一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:A computer device includes a memory, a processor, and computer-readable instructions that are stored in the memory and can run on the processor, and the processor implements the following steps when the processor executes the computer-readable instructions:
接收用户的登录信息,对所述登录信息进行验证,若所述验证通过,则得到验证信息;Receiving the login information of the user, verifying the login information, and if the verification is passed, the verification information is obtained;
根据所述验证信息确定所述用户的登录类型;Determining the login type of the user according to the verification information;
若所述用户的登录类型为第一类型,则在显示界面上展示第一内容,其中,所述第一类型为指示具有数据验证权限的用户类型;If the login type of the user is the first type, the first content is displayed on the display interface, where the first type indicates a user type with data verification authority;
响应于用户对所述显示界面的第一操作行为,在显示界面上展示对应的双录数据;In response to the user's first operation behavior on the display interface, display the corresponding dual recording data on the display interface;
接收所述用户根据所述双录数据返回的审核信息,根据所述双录数据和所述审核信息生成第一记录数据;Receiving the review information returned by the user according to the double-recording data, and generating first record data according to the double-recording data and the review information;
将所述第一记录数据发送至服务端,以指示所述服务端将所述第一记录数据记录至区块链网络。The first recorded data is sent to the server to instruct the server to record the first recorded data to the blockchain network.
一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,所述处理器执行所述计算机可读指令时实现如下步骤:A computer device includes a memory, a processor, and computer-readable instructions that are stored in the memory and can run on the processor, and the processor implements the following steps when the processor executes the computer-readable instructions:
接收第二类型的用户对应的待审核终端发送的待审核信息,所述待审核信息包括双录数据;Receiving information to be audited sent by a terminal to be audited corresponding to a user of the second type, where the information to be audited includes double recording data;
根据预设的策略为所述待审核信息分配对应的审核终端,其中,所述审核终端为第一类型的用户对应的移动终端;Allocate a corresponding audit terminal to the information to be audited according to a preset policy, where the audit terminal is a mobile terminal corresponding to the first type of user;
接收所述审核终端返回的第一记录数据,将所述第一记录数据存储至数据库,并记录至区块链网络;Receiving the first record data returned by the audit terminal, storing the first record data in a database, and recording it in the blockchain network;
若接收到预设的发送指令,则从数据库中获取对应的第二记录数据,将所述第二记录数据发送至对应的所述待审核终端,其中,所述第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据。If a preset sending instruction is received, the corresponding second record data is obtained from the database, and the second record data is sent to the corresponding terminal to be audited, wherein the second record data is from the server Record data obtained from the database and sent to the mobile terminal.
一个或多个存储有计算机可读指令的可读存储介质,所述可读存储介质包括非易失性可读存储介质和易失性可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行时,实现如下步骤:One or more readable storage media storing computer readable instructions. The readable storage media includes a non-volatile readable storage medium and a volatile readable storage medium. The computer readable instructions are stored by one or more When executed by two processors, when the one or more processors are executed, the following steps are implemented:
接收用户的登录信息,对所述登录信息进行验证,若所述验证通过,则得到验证信息;Receiving the login information of the user, verifying the login information, and if the verification is passed, the verification information is obtained;
根据所述验证信息确定所述用户的登录类型;Determining the login type of the user according to the verification information;
若所述用户的登录类型为第一类型,则在显示界面上展示第一内容,其中,所述第一类型为指示具有数据验证权限的用户类型;If the login type of the user is the first type, the first content is displayed on the display interface, where the first type indicates a user type with data verification authority;
响应于用户对所述显示界面的第一操作行为,在显示界面上展示对应的双录数据;In response to the user's first operation behavior on the display interface, display the corresponding dual recording data on the display interface;
接收所述用户根据所述双录数据返回的审核信息,根据所述双录数据和所述审核信息生成第一记录数据;Receiving the review information returned by the user according to the double-recording data, and generating first record data according to the double-recording data and the review information;
将所述第一记录数据发送至服务端,以指示所述服务端将所述第一记录数据记录至区块链网络。The first recorded data is sent to the server to instruct the server to record the first recorded data to the blockchain network.
一个或多个存储有计算机可读指令的可读存储介质,所述可读存储介质包括非易失性可读存储介质和易失性可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行时,实现如下步骤:One or more readable storage media storing computer readable instructions. The readable storage media includes a non-volatile readable storage medium and a volatile readable storage medium. The computer readable instructions are stored by one or more When executed by two processors, when the one or more processors are executed, the following steps are implemented:
接收第二类型的用户对应的待审核终端发送的待审核信息,所述待审核信息包括双录数据;Receiving information to be audited sent by a terminal to be audited corresponding to a user of the second type, where the information to be audited includes double recording data;
根据预设的策略为所述待审核信息分配对应的审核终端,其中,所述审核终端为第一类型的用户对应的移动终端;Allocate a corresponding audit terminal to the information to be audited according to a preset policy, where the audit terminal is a mobile terminal corresponding to the first type of user;
接收所述审核终端返回的第一记录数据,将所述第一记录数据存储至数据库,并记录至区块链网络;Receiving the first record data returned by the audit terminal, storing the first record data in a database, and recording it in the blockchain network;
若接收到预设的发送指令,则从数据库中获取对应的第二记录数据,将所述第二记录数据发送至对应的所述待审核终端,其中,所述第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据。If a preset sending instruction is received, the corresponding second record data is obtained from the database, and the second record data is sent to the corresponding terminal to be audited, wherein the second record data is from the server Record data obtained from the database and sent to the mobile terminal.
上述双录数据处理方法、装置、计算机设备及存储介质,通过接收用户的登录信息,对登录信息进行验证,若验证通过,则得到验证信息;根据验证信息确定用户的登录类型;若用户的登录类型为第一类型,则在显示界面上展示第一内容,其中,第一类型为指示具有数据验证权限的用户类型;响应于用户对显示界面的第一操作行为,在显示界面上展示对应的双录数据;接收用户根据双录数据返回的审核信息,根据双录数据和审核信息生成第一记录数据;将第一记录数据发送至服务端,以指示服务端将第一记录数据记录至区块链网络;有审核权限类型的用户可直接在移动终端对双录数据进行审核操作,不受其它终端的限制;不同类型的用户通过同一渠道登录,即可进入不同的显示界面,且用户可在同一移动终端通过切换不同的数据处理页面即可实现对双录的上传和审核,大大提高了用户使用的便捷和双录数据的处理效率。另外地,通过将第一记录数据同时保存至服务端的数据库和区块链网络中,从而在提高获取第一记录数据的方便和快捷性的同时,还保证了第一记录数据的安全性。The above-mentioned double-recording data processing method, device, computer equipment and storage medium verify the login information by receiving the user's login information. If the verification is passed, the verification information is obtained; the user's login type is determined according to the verification information; if the user logs in If the type is the first type, the first content is displayed on the display interface, where the first type is the type indicating the user with data verification authority; in response to the user's first operation behavior on the display interface, the corresponding content is displayed on the display interface. Double record data; receive the audit information returned by the user according to the double record data, and generate the first record data based on the double record data and the audit information; send the first record data to the server to instruct the server to record the first record data to the district Blockchain network; users with audit permissions can directly audit the double-recorded data on the mobile terminal without being restricted by other terminals; different types of users can log in through the same channel to enter different display interfaces, and users can In the same mobile terminal, you can upload and review the double-recording by switching between different data processing pages, which greatly improves the convenience of users and the efficiency of double-recording data processing. In addition, by storing the first recorded data in the database and the blockchain network of the server at the same time, the convenience and speed of obtaining the first recorded data is improved, and the security of the first recorded data is also ensured.
本申请的一个或多个实施例的细节在下面的附图和描述中提出,本申请的其他特征和优点将从说明书、附图以及权利要求变得明显。The details of one or more embodiments of the present application are presented in the following drawings and description, and other features and advantages of the present application will become apparent from the description, drawings and claims.
附图说明Description of the drawings
为了更清楚地说明本申请实施例的技术方案,下面将对本申请实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present application more clearly, the following will briefly introduce the drawings that need to be used in the description of the embodiments of the present application. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.
图1是本申请一实施例中双录数据处理方法的一应用环境示意图;FIG. 1 is a schematic diagram of an application environment of a dual-recording data processing method in an embodiment of the present application;
图2是本申请一实施例中双录数据处理方法的一示例图;FIG. 2 is an example diagram of a dual-recording data processing method in an embodiment of the present application;
图3是本申请一实施例中双录数据处理方法的另一示例图;FIG. 3 is another example diagram of a dual-recording data processing method in an embodiment of the present application;
图4是本申请一实施例中双录数据处理方法的另一示例图;FIG. 4 is another example diagram of a dual-recording data processing method in an embodiment of the present application;
图5是本申请一实施例中双录数据处理方法的另一示例图;FIG. 5 is another example diagram of a dual-recording data processing method in an embodiment of the present application;
图6是本申请一实施例中双录数据处理方法的另一示例图;FIG. 6 is another example diagram of a dual-recording data processing method in an embodiment of the present application;
图7是本申请一实施例中双录数据处理装置的一原理框图;Fig. 7 is a functional block diagram of a dual-recording data processing device in an embodiment of the present application;
图8是本申请一实施例中双录数据处理装置的另一原理框图;FIG. 8 is another functional block diagram of the dual-recording data processing device in an embodiment of the present application;
图9是本申请一实施例中双录数据处理装置的另一原理框图;FIG. 9 is another functional block diagram of the dual-recording data processing device in an embodiment of the present application;
图10是本申请一实施例中计算机设备的一示意图。Fig. 10 is a schematic diagram of a computer device in an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请实施例提供的双录数据处理方法,该双录数据处理方法可应用如图1所示的应用环境中。具体地,该双录数据处理方法应用在双录数据处理系统中,该双录数据处理系统包括如图1所示的移动终端、服务端和区块链网络,移动终端、服务端和区块链网络通过网络进行通信,用于解决双录数据的数据处理效率低下问题。其中,移动终端移动终端又称为用户端,是指与服务端相对应,为客户提供本地服务的程序。移动终端移动终端可安装在但不限于各种个人计算机、笔记本电脑、智能手机、平板电脑和便携式可穿戴设备上。服务端可以用独立的服务器或者是多个服务器组成的服务器集群来实现。区块链网络是指用于进行数据存储的数据库。The dual-recording data processing method provided by the embodiment of the present application can be applied to the application environment as shown in FIG. 1. Specifically, the double-recording data processing method is applied in a double-recording data processing system. The double-recording data processing system includes a mobile terminal, a server and a blockchain network as shown in FIG. The chain network communicates through the network and is used to solve the problem of low data processing efficiency of double-recorded data. Among them, the mobile terminal is also called the user terminal, which refers to the program that corresponds to the server terminal and provides local services to customers. Mobile terminal The mobile terminal can be installed on, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices. The server can be implemented with an independent server or a server cluster composed of multiple servers. Blockchain network refers to the database used for data storage.
在一实施例中,如图2所示,提供一种双录数据处理方法,以该方法应用在图1中的移动终端为例进行说明,包括如下步骤:In one embodiment, as shown in FIG. 2, a method for processing dual recording data is provided. Taking the method applied to the mobile terminal in FIG. 1 as an example for description, the method includes the following steps:
S10:接收用户的登录信息,对登录信息进行验证,若验证通过,则得到验证信息。S10: Receive the user's login information, verify the login information, and obtain the verification information if the verification is passed.
其中,登录信息指用户在移动终端进行登录时输入的信息。登录信息可以为用户在移动终端输入的登录用户名和对应的登录密码,也可以为移动终端采集的人脸或指纹信息。登录用户名指用户在注册时设置的一种身份识别信息,可以是身份证号,微信号、手机号或者QQ号等。登录密码是指用户在每一次进行系统登录时输入的密码。具体地,将用户在移动终端输入的登录信息与预先存储在数据库的目标信息进行匹配,若匹配成功,则表示验证通过,若匹配失败,则表示验证不通过。其中,目标信息指预先采集并存储在数据库中、用于判断登录信息是否正确的信息。进一步地,若验证通过,则得到验证信息。验证信息指用于判断登录用户的类型的信息。具体地,验证信息包括用户的个人信息。若验证失败,则提示用户登录信息为不合法信息。进一步地,再提示用户先进行注册或重新输 入登录信息。Among them, the login information refers to the information entered by the user when logging in on the mobile terminal. The login information may be a login user name and a corresponding login password entered by the user on the mobile terminal, or may be face or fingerprint information collected by the mobile terminal. The login user name refers to a kind of identification information set by the user during registration, which can be an ID number, WeChat ID, mobile phone number, or QQ number, etc. The login password refers to the password entered by the user every time the user logs in to the system. Specifically, the login information input by the user in the mobile terminal is matched with the target information pre-stored in the database. If the matching is successful, the verification is passed, and if the matching fails, the verification is not passed. Among them, the target information refers to the information collected in advance and stored in the database to determine whether the login information is correct. Further, if the verification is passed, verification information is obtained. Verification information refers to information used to determine the type of logged-in user. Specifically, the verification information includes the user's personal information. If the verification fails, the user is prompted that the login information is illegal. Further, the user is then prompted to register first or re-enter the login information.
示例性地,若用户的登录信息为用户在移动终端输入的登录用户名和对应的登录密码,则对登录信息进行验证主要包括对用户输入的登录用户名和登录密码进行验证。当用户在移动终端输入登录用户名之后,会先将该登录用户名与数据库预先存储的用户名进行匹配,若匹配生成,则判断该用户为已注册用户。然后,再对用户对应输入的登录密码进行验证,即先根据登录用户名查找到与该登录用户名相关联的注册密码,然后将接收的登录密码与注册密码进行比较,以判断该登录密码与用户注册时输入的注册密码是否相同,若相同,则表示验证通过,得到验证信息。可以理解地,用户在进行系统注册后,已将每一用户的登录用户名与对应的注册密码进行关联存储在数据库,在对登录用户名验证成功后,可直接根据登录用户名确定对应的注册密码,以快速准确地判断用户输入的登录密码是否正确。Exemplarily, if the user's login information is the login user name and corresponding login password entered by the user in the mobile terminal, verifying the login information mainly includes verifying the login user name and login password entered by the user. After the user inputs the login user name in the mobile terminal, the login user name will be matched with the user name pre-stored in the database. If the matching is generated, the user is judged to be a registered user. Then, verify the login password entered by the user, that is, first find the registered password associated with the login user name according to the login user name, and then compare the received login password with the registered password to determine whether the login password is Whether the registration password entered by the user during registration is the same, if it is the same, it means that the authentication is passed and the authentication information is obtained. Understandably, after the user has registered in the system, the login user name of each user and the corresponding registration password have been associated and stored in the database. After the login user name is successfully verified, the corresponding registration can be determined directly according to the login user name Password to quickly and accurately determine whether the login password entered by the user is correct.
S20:根据验证信息确定用户的登录类型。S20: Determine the login type of the user according to the verification information.
其中,登录类型指对不同登录用户进行分类后所得的类型名称。在一具体实施例中,可预先根据用户的个人信息或者权限设置登录类型。例如:登录类型可以分为第一类型和第二类型。第一类型指示具有数据验证权限的用户类型,第二类型指示不具有数据验证权限的用户类型。具体地,得到验证信息之后,根据验证信息中的个人信息即可确定用户的登录信息。优选地,为了便于确定每一用户的登录类型,可预先将每一类型的验证信息与对应的登录类型进行关联并存储在数据库中。在登录信息验证通过进入登录系统生成验证信息之后,可直接根据该验证信息从数据库中获取用户的登录类型。Among them, the login type refers to the type name obtained by classifying different login users. In a specific embodiment, the login type can be set according to the user's personal information or permissions in advance. For example, the login types can be divided into the first type and the second type. The first type indicates a user type with data verification authority, and the second type indicates a user type without data verification authority. Specifically, after the verification information is obtained, the user's login information can be determined based on the personal information in the verification information. Preferably, in order to facilitate the determination of the login type of each user, each type of verification information can be associated with the corresponding login type and stored in the database in advance. After the login information is verified by entering the login system to generate verification information, the user's login type can be directly obtained from the database according to the verification information.
优选地,为了便于分辨不同的登录类型,还可以为不同的登录类型赋予对应唯一的标识号。例如:赋予第一类型标识号为1,以及赋予第二类型标识号为2。进一步地,为了提高根据验证信息而确定的用户的登录类型的准确性,需对验证信息与对应用户的登录类型的关联数据进行定时更新,避免出现因数据的变动而导致获取的登录类型出现错误的情况。Preferably, in order to facilitate the identification of different login types, different login types may also be assigned corresponding unique identification numbers. For example, the identification number of the first type is 1 and the identification number of the second type is 2. Further, in order to improve the accuracy of the user's login type determined based on the verification information, it is necessary to periodically update the associated data between the verification information and the corresponding user's login type to avoid errors in the obtained login type due to data changes. Case.
S30:若用户的登录类型为第一类型,则在显示界面上展示第一内容,其中,第一类型为指示具有数据验证权限的用户类型。S30: If the login type of the user is the first type, the first content is displayed on the display interface, where the first type indicates the type of the user with the data verification authority.
具体地,若根据步骤S20得到用户的登录类型为第一类型,则在显示界面上展示第一内容。其中,第一类型为指示具有数据验证权限的用户类型。例如:第一类型可以为管理员。第一内容指可进行数据审核或者设置的页面内容。例如:若第一类型为质检管理员,则第一内容为质检管理员可操作质检作业的页面。可以理解地,由于第一用户类型为具有数据验证权限的用户类型,因此,只有该用户满足设定的验证权限,即用户的登录类型为第一类型,才会在显示界面上展示第一内容。Specifically, if it is obtained according to step S20 that the login type of the user is the first type, the first content is displayed on the display interface. Among them, the first type indicates a user type with data verification authority. For example: the first type can be an administrator. The first content refers to the page content that can be reviewed or set. For example: if the first type is a quality inspection manager, the first content is a page on which the quality inspection manager can operate quality inspection operations. Understandably, since the first user type is a user type with data verification authority, only the user meets the set verification authority, that is, the user's login type is the first type, the first content will be displayed on the display interface .
在一具体实施例中,不同的登录类型与对应进行展示的内容已预先关联设置,当判断得到用户的登录类型为第一类型时,可直接加载第一类型所对应的第一内容,并将该第一内容在显示界面进行展示。In a specific embodiment, different login types and corresponding displayed content have been pre-associated and set. When it is determined that the user's login type is the first type, the first content corresponding to the first type can be directly loaded, and the The first content is displayed on the display interface.
S40:响应于用户对显示界面的第一操作行为,在显示界面上展示对应的双录数据。S40: In response to the user's first operation behavior on the display interface, display the corresponding dual recording data on the display interface.
其中,双录数据指预先录制好的视频数据和音频数据。具体地,在显示界面上展示第一内容之后,用户可在展示的第一内容上执行任意操作行为。用户对显示界面的第一操作行为可以包括但不限于在显示界面的滑动、点击、或长按等。可选地,可以通过在显示界面中引入监听脚本插件,从而实现实时监听用户在显示界面上的操作行为。具体地,若监听到显示界面发生第一操作行为,则响应于用户对显示界面的第一操作行为,生成对应的第一操作指令,以触发在显示界面上展示对应的双录数据。Among them, dual recording data refers to pre-recorded video data and audio data. Specifically, after the first content is displayed on the display interface, the user can perform any operation behavior on the displayed first content. The user's first operation behavior on the display interface may include, but is not limited to, sliding, clicking, or long pressing on the display interface. Optionally, a monitoring script plug-in can be introduced into the display interface, so as to realize real-time monitoring of the user's operation behavior on the display interface. Specifically, if the first operation behavior is detected on the display interface, in response to the user's first operation behavior on the display interface, a corresponding first operation instruction is generated to trigger the display of the corresponding dual recording data on the display interface.
在一具体应用场景中,显示界面上显示有一个或多个内容链接所对应的浮层。内容链接具体可以为带有超链接的双录数据。当然,浮层也可以设置为对应于该显示页面上的某个区域或虚拟按钮。具体地,当用户在显示界面上的带有双录数据的内容链接所对应的浮 层上执行点击操作时,会响应于用户对该点击操作触发生成一个操作指令,从而触发在显示界面上展示对应的双录数据。In a specific application scenario, one or more floating layers corresponding to content links are displayed on the display interface. The content link may specifically be double-recorded data with hyperlinks. Of course, the floating layer can also be set to correspond to a certain area or virtual button on the display page. Specifically, when the user performs a click operation on the floating layer corresponding to the content link with double recording data on the display interface, an operation instruction is generated in response to the click operation triggered by the user, thereby triggering the display on the display interface Corresponding double recording data.
S50:接收用户根据双录数据返回的审核信息,根据双录数据和审核信息生成第一记录数据。S50: Receive the audit information returned by the user according to the double-recorded data, and generate the first record data according to the double-recorded data and the audit information.
其中,审核信息为对双录数据进行评估或审核后所生成的信息。例如:若接收到用户根据双录数据返回的审核信息为第一审核信息,则表明该双录数据符合设定要求。若接收到用户根据双录数据返回的审核信息为第二审核信息,则表明该双录数据不符合设定要求。Among them, the audit information is the information generated after the evaluation or audit of the double-recorded data. For example: if the audit information returned by the user based on the dual-recording data is received as the first auditing information, it indicates that the dual-recording data meets the set requirements. If the audit information returned by the user based on the dual-recording data is received as the second auditing information, it indicates that the dual-recording data does not meet the set requirements.
具体地,当在显示界面上展示对应的双录数据之后,用户会对该展示的双录数据进行审核,判断该双录数据是否符合设定要求,然后在显示界面对应的虚拟按钮或者某个区域上执行对应页面操作行为,生成对应的审核信息。在一具体实施例中,展示双录数据的显示界面上还设定有两个虚拟审核按钮,分别为第一虚拟按钮和第二虚拟按钮。第一虚拟按钮指示双录数据符合设定要求,第二虚拟按钮指示双录数据不符合设定要求。当用户在展示界面上看完展示的双录数据后,可直接在对应的虚拟审核按钮上进行点击操作,若用户点击的虚拟按钮为第一虚拟按钮,则生成的审核信息为第一审核信息,该第一审核信息表明展示的双录数据符合设定要求;若用户点击的虚拟按钮为第二虚拟按钮,则生成的审核信息为第二审核信息,该第二审核信息表明展示的双录数据不符合设定要求。Specifically, after the corresponding dual-recording data is displayed on the display interface, the user will review the displayed dual-recording data to determine whether the dual-recording data meets the set requirements, and then display the corresponding virtual button or some The corresponding page operation behavior is executed on the area, and the corresponding audit information is generated. In a specific embodiment, two virtual review buttons are set on the display interface for displaying the dual recording data, which are the first virtual button and the second virtual button, respectively. The first virtual button indicates that the dual recording data meets the setting requirements, and the second virtual button indicates that the dual recording data does not meet the setting requirements. After the user has read the double-recorded data displayed on the display interface, he can directly click on the corresponding virtual review button. If the virtual button clicked by the user is the first virtual button, the generated review information is the first review information , The first review information indicates that the displayed dual recording data meets the set requirements; if the virtual button clicked by the user is the second virtual button, the generated review information is the second review information, and the second review information indicates the displayed dual recording The data does not meet the set requirements.
进一步地,在接收到用户根据双录数据返回的审核信息之后,再将该双录数据与对应的审核信息进行关联,从而生成第一记录数据。在本步骤中,通过将双录数据与对应的审核信息进行关联生成第一记录数据,以便后续可直接根据第一记录数据判断对应的双录数据是否符合要求。Further, after receiving the audit information returned by the user according to the dual-recording data, the dual-recording data is associated with the corresponding auditing information, thereby generating the first record data. In this step, the first recorded data is generated by associating the double-recorded data with the corresponding audit information, so that it can be directly determined whether the corresponding double-recorded data meets the requirements according to the first recorded data.
S60:将第一记录数据发送至服务端,以指示服务端将第一记录数据记录至区块链网络。S60: Send the first recorded data to the server to instruct the server to record the first recorded data on the blockchain network.
具体地,在生成第一记录数据之后,再将第一记录数据发送至服务端,以指示服务端将第一记录数据记录至区块链网络。另外地,在将第一记录数据发送至服务端之后,会同时触发服务端将该第一记录数据存储在预设数据库中进行保存,以便于后续直接从服务端的预设数据库中获取对应的记录数据。Specifically, after the first record data is generated, the first record data is sent to the server to instruct the server to record the first record data to the blockchain network. In addition, after the first record data is sent to the server, the server will be triggered to store the first record data in the preset database for saving, so that the corresponding record can be directly obtained from the preset database of the server later. data.
其中,区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式。区块链网络由一个加密的分布式共享账本和点对点网络实现,其本质是在一个没有信任的互联网上构建一个去中心的、可信任的网络。在本实施例中,将第一记录数据记录至区块链网络中,从而避免了出现第一记录数据被恶意篡改的现象,保证了第一记录的安全和准确性。Among them, the blockchain is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. The blockchain network is implemented by an encrypted distributed shared ledger and a peer-to-peer network. Its essence is to build a decentralized and trusted network on an untrusted Internet. In this embodiment, the first record data is recorded in the blockchain network, thereby avoiding the phenomenon that the first record data is maliciously tampered with, and ensuring the safety and accuracy of the first record.
在本实施例中,通过接收用户的登录信息,对登录信息进行验证,若验证通过,则得到验证信息;根据验证信息确定用户的登录类型;若用户的登录类型为第一类型,则在显示界面上展示第一内容,其中,第一类型为指示具有数据验证权限的用户类型;响应于用户对显示界面的第一操作行为,在显示界面上展示对应的双录数据;接收用户根据双录数据返回的审核信息,根据双录数据和审核信息生成第一记录数据;将第一记录数据发送至服务端,以指示服务端将第一记录数据记录至区块链网络;有审核权限类型的用户可直接在移动终端对双录数据进行审核操作,不受其它终端的限制;不同类型的用户通过同一渠道登录,即可进入不同的显示界面,且用户可在同一移动终端通过切换不同的数据处理页面即可实现对双录的上传和审核,大大提高了用户使用的便捷和双录数据的处理效率。另外地,通过将第一记录数据同时保存至服务端的数据库和区块链网络中,从而在提高获取第一记录数据的方便和快捷性的同时,还保证了第一记录数据的安全性。In this embodiment, the login information is verified by receiving the user's login information. If the verification is passed, the verification information is obtained; the user's login type is determined according to the verification information; if the user's login type is the first type, it is displayed The first content is displayed on the interface, where the first type indicates the type of user with data verification authority; in response to the user's first operation behavior on the display interface, the corresponding double recording data is displayed on the display interface; the receiving user according to the double recording The audit information returned by the data generates the first record data based on the double record data and the audit information; sends the first record data to the server to instruct the server to record the first record data to the blockchain network; those with audit permission types The user can directly review and operate the dual-recording data on the mobile terminal, without being restricted by other terminals; different types of users can log in through the same channel to enter different display interfaces, and the user can switch between different data on the same mobile terminal The upload and review of double-recording can be realized by processing the page, which greatly improves the convenience of users and the efficiency of double-recording data processing. In addition, by storing the first recorded data in the database and the blockchain network of the server at the same time, the convenience and speed of obtaining the first recorded data is improved, and the security of the first recorded data is also ensured.
在一实施例中,如图3所示,在根据验证信息确定用户的登录类型之后,该双录数据处理方法,还具体包括如下步骤:In one embodiment, as shown in FIG. 3, after the user's login type is determined according to the verification information, the double recording data processing method further specifically includes the following steps:
S21:若用户的登录类型为第二类型,则在显示界面上展示第二内容,其中,第二类型为指示不具有数据验证权限的用户类型。S21: If the login type of the user is the second type, the second content is displayed on the display interface, where the second type is a user type indicating that the user does not have the data verification authority.
具体地,若根据步骤S20得到用户的登录类型为第二类型,则在显示界面上展示第二内容。其中,第二类型为指示不具有数据验证权限的用户类型。例如:第二类型为业务人员。第二内容指可进行数据上传、下载或查看的页面内容。可以理解地,第一内容与第二内容的区别在于:在展示的第二内容上无法执行对数据的审核操作,即第二类型的用户没有对数据进行审核的权限。例如:若第二类型为质检业务人员,则第二内容为可进行质检数据上传、下载或者查看的页面。Specifically, if it is obtained according to step S20 that the login type of the user is the second type, the second content is displayed on the display interface. Among them, the second type indicates a user type that does not have data verification authority. For example: the second type is business personnel. The second content refers to the page content that can be uploaded, downloaded or viewed. Understandably, the difference between the first content and the second content is that the data review operation cannot be performed on the displayed second content, that is, the second type of user does not have the authority to review the data. For example: if the second type is a quality inspection business person, the second content is a page where quality inspection data can be uploaded, downloaded, or viewed.
S22:响应于用户对显示界面的第二操作行为,接收待审核信息,待审核信息包括双录数据。S22: In response to the user's second operation behavior on the display interface, receive information to be reviewed, where the information to be reviewed includes double recording data.
其中,待审核信息指待进行审核信息。具体地,待审核信息为双录数据,即待审核信息包括待审核的视频数据和待审核的音频数据。Among them, the information to be reviewed refers to the information to be reviewed. Specifically, the information to be reviewed is dual recording data, that is, the information to be reviewed includes video data to be reviewed and audio data to be reviewed.
具体地,在显示界面上展示第二内容之后,用户可在展示的第二内容上执行任意操作行为,用户对显示界面的第二操作行为可以包括但不限于在显示界面的滑动、点击、或长按等。可选地,可以通过在显示界面中引入监听脚本插件,从而实现实时监听用户在显示界面上的操作行为。若发生任意操作行为,则响应于用户对显示界面的操作,接收对应的待审核信息。优选地,第二操作行为包括触发位置,其中,触发位置指用户在显示界面执行操作的具体位置。示例性地,若显示界面上设有一带有视频和音频数据的超链接和对应的触发控件;例如触发控件为上传数据。当用户在该控制端页面的“上传数据”触发控件上执行点击操作行为时,移动终端就会响应用户在显示界面的该点击操作行为,接收待审核信息。可以理解地,该“上传数据”触发控件即为第二操作行为所对应的触发位置。Specifically, after displaying the second content on the display interface, the user can perform any operation behavior on the displayed second content. The second operation behavior of the user on the display interface may include, but is not limited to, sliding, clicking, or clicking on the display interface. Long press and wait. Optionally, a monitoring script plug-in can be introduced into the display interface, so as to realize real-time monitoring of the user's operation behavior on the display interface. If any operation behavior occurs, in response to the user's operation on the display interface, the corresponding pending information is received. Preferably, the second operation behavior includes a trigger position, where the trigger position refers to a specific position where the user performs an operation on the display interface. Exemplarily, if a hyperlink with video and audio data and a corresponding trigger control are provided on the display interface; for example, the trigger control is uploading data. When the user performs a click operation on the "upload data" trigger control on the control terminal page, the mobile terminal will respond to the user's click operation on the display interface and receive information to be reviewed. Understandably, the “upload data” trigger control is the trigger position corresponding to the second operation behavior.
S23:将双录数据发送至服务端,以使服务端根据预设的策略为待审核信息分配对应的审核终端。S23: Send the double-recorded data to the server, so that the server allocates a corresponding audit terminal for the information to be audited according to a preset strategy.
其中,预设的策略指预先设定的为第二类型的用户分配审核终端的策略。可选地,预设的策略可以为根据第二类型的用户的注册年限为其分配对应的审核终端,也可以为根据接收的待审核信息的重要程度分配对应的审核终端,还可以为根据待审核信息的上传时间分配对应的审核终端,用户可根据实际情况预先自定义设置。其中,审核终端指可对待审核信息进行审核的终端。Wherein, the preset strategy refers to a preset strategy for assigning audit terminals to users of the second type. Optionally, the preset strategy may be to assign corresponding audit terminals to users of the second type according to their registration years, or to assign corresponding audit terminals according to the importance of the received information to be audited, or to assign corresponding audit terminals according to the The upload time of the audit information is allocated to the corresponding audit terminal, and the user can customize the settings in advance according to the actual situation. Among them, the audit terminal refers to a terminal that can audit information to be audited.
具体地,移动终端在接收到双录数据之后,会自动将该双录数据发送至服务端,以使服务端根据预设的策略为待审核信息分配对应的审核终端。可以理解地,不同的双录数据对应分配的审核终端可能不同,不同的用户对应分配的审核终端也可能不同,具体取决于预设的策略。Specifically, after receiving the dual recording data, the mobile terminal automatically sends the dual recording data to the server, so that the server allocates a corresponding review terminal for the information to be reviewed according to a preset policy. It is understandable that different dual-recorded data correspondingly allocated audit terminals may be different, and different users correspondingly allocated audit terminals may also be different, depending on the preset strategy.
在本实施例中,预设的策略为根据待审核信息中的双录数据的重要程度分配对应的审核终端。具体地,当服务端接收到待审核信息时,会先对待审核信息中的双录数据进行重要程度评估,若评估结果为重要程度高,则将为对应分配级别高的审核终端,若评估结果为重要程度低,则将为对应分配级别低的审核终端。可以理解地,已预先在服务端设定好重要程度和审核终端的关联。重要程度高对应级别高的审核终端,重要程度中等对应级别中等的审核终端,重要程度低对应级别低的审核终端。In this embodiment, the preset strategy is to allocate the corresponding audit terminal according to the importance of the double-recorded data in the information to be audited. Specifically, when the server receives the information to be audited, it will first evaluate the importance of the double-recorded data in the audit information. If the evaluation result is of high importance, it will be the audit terminal with the corresponding high level of allocation. If it is of low importance, it will be an audit terminal with a low corresponding allocation level. Understandably, the association between the importance level and the audit terminal has been set on the server in advance. A high degree of importance corresponds to a high-level audit terminal, a medium degree of importance corresponds to a medium-level audit terminal, and a low degree of importance corresponds to a low-level audit terminal.
在本实施例中,若用户的登录类型为第二类型,则在显示界面上展示第二内容,其中,第二类型为指示不具有数据验证权限的用户类型;响应于用户对显示界面的第二操作行为,接收待审核信息,待审核信息包括双录数据;将双录数据发送至服务端,以使服务端根据预设的策略为待审核信息分配对应的审核终端;第二类型的用户可在显示页面实时上传双录数据,且为双录数据及时分配对应的审核终端,从而避免了出现双录数据被忽略的现象,提高了双录数据的处理效率。In this embodiment, if the user's login type is the second type, the second content is displayed on the display interface, where the second type is the type of user indicating that the user does not have the data verification authority; 2. Operational behavior: receiving information to be audited, which includes double-recording data; sending double-recording data to the server, so that the server can allocate corresponding audit terminals for the information to be audited according to a preset strategy; the second type of users The double-recorded data can be uploaded in real time on the display page, and the corresponding audit terminal can be assigned to the double-recorded data in time, thereby avoiding the phenomenon of double-recording data being ignored and improving the processing efficiency of the double-recording data.
在一实施例中,如图4所示,在显示界面上展示第二内容之后,双录数据处理方法,还具体包括如下步骤:In one embodiment, as shown in FIG. 4, after the second content is displayed on the display interface, the double recording data processing method further specifically includes the following steps:
S211:响应于用户对显示界面的第三操作行为,在显示界面上展示对应双录数据的第二记录数据,其中,第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据。S211: In response to the user's third operation behavior on the display interface, display the second record data corresponding to the dual recording data on the display interface, where the second record data is the record data obtained by the server from the database and sent to the mobile terminal .
其中,第三操作行为指用于触发获取双录数据的第二记录数据的行为。在一具体实施例中,显示界面上设有用于触发获取双录数据的第二记录数据的虚拟控件或者输入框;当用户在该虚拟控件进行点击,或者在输入框中输入获取指令后,移动终端会响应用户对显示界面的第三操作行为,并生成获取指令发送到服务端,当服务端接收到移动终端发送的获取指令后,即会从数据库获取到双录数据对应的第二记录数据,并将该第二记录数据发送至移动终端,移动终端即可加载从服务端接收的第二记录数据,在显示界面上展示该双录数据的第二记录数据。可以理解地,该第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据。第二记录数据包括双录数据和对应的审核信息。Wherein, the third operation behavior refers to the behavior for triggering the acquisition of the second recording data of the dual recording data. In a specific embodiment, the display interface is provided with a virtual control or input box for triggering the acquisition of the second record data of the double-recorded data; when the user clicks on the virtual control or enters the acquisition instruction in the input box, move The terminal will respond to the user's third operation behavior on the display interface, and generate an acquisition instruction and send it to the server. When the server receives the acquisition instruction sent by the mobile terminal, it will acquire the second record data corresponding to the double record data from the database. , And send the second record data to the mobile terminal, the mobile terminal can load the second record data received from the server, and display the second record data of the dual record data on the display interface. Understandably, the second record data is record data obtained by the server from the database and sent to the mobile terminal. The second record data includes double record data and corresponding audit information.
S212:若接收到触发指令,则发送数据确认请求至服务端,获取服务端返回的第一记录数据,其中,第一记录数据为服务端从区块链网络中获取的记录数据。S212: If the trigger instruction is received, send a data confirmation request to the server to obtain the first record data returned by the server, where the first record data is the record data obtained by the server from the blockchain network.
其中,触发指令用于触发第一记录数据和第二记录数据进行匹配的指令。数据确认请求用于请求服务端发送第一记录数据。具体地,移动终端若接收到用户在显示界面执行的触发指令,则会基于该触发指令发送一个数据确认请求至服务端,当服务端接收到该数据确认请求之后,响应该数据确认请求,从区块链网络中获取对应的第一记录数据,并将该第一记录数据返回至移动终端,移动终端即可获取到服务端返回的第一记录数据,以便后续对第一记录数据和第二记录数据进行数据匹配。Wherein, the trigger instruction is used to trigger the instruction for matching the first recorded data and the second recorded data. The data confirmation request is used to request the server to send the first record data. Specifically, if the mobile terminal receives a trigger instruction executed by the user on the display interface, it will send a data confirmation request to the server based on the trigger instruction. When the server receives the data confirmation request, it will respond to the data confirmation request from Obtain the corresponding first record data in the blockchain network and return the first record data to the mobile terminal. The mobile terminal can obtain the first record data returned by the server, so that the first record data and the second record data can be subsequently checked. Record data for data matching.
S213:对第一记录数据和第二记录数据进行匹配,在显示界面上展示匹配结果。S213: Match the first recorded data and the second recorded data, and display the matching result on the display interface.
具体地,当移动终端获取到服务端返回的第一记录数据和第二记录数据后,会自动触发对第一记录数据和第二记录数据进行匹配。可选地,可采用正则匹配法或者字符串匹配法,对第一记录数据和第二记录数据进行匹配,得到匹配结果,并加载该匹配结果在显示界面上进行展示,以便用户可直观地了解到第一记录数据与第二记录数据的数据差异。Specifically, when the mobile terminal obtains the first recorded data and the second recorded data returned by the server, it will automatically trigger the matching of the first recorded data and the second recorded data. Optionally, a regular matching method or a string matching method can be used to match the first record data and the second record data to obtain the matching result, and load the matching result for display on the display interface, so that the user can intuitively understand To the data difference between the first recorded data and the second recorded data.
在一具体实施例中,在显示界面上展示的匹配结果可以为:根据不同的匹配结果,对第一记录数据和第二记录数据进行不同的标识处理。具体地,对匹配成功的第一记录数据和第二记录数据进行第一标识处理;对匹配失败的第一记录数据和第二记录数据进行第二标识处理。例如:将匹配成功的第一记录数据和第二记录数据第一标识处理为绿色,从而得到第一显示数据。将匹配失败的第一记录数据和第二记录数据第二标识处理为红色,从而得到第二显示数据。通过不同的颜色标识展示不同的匹配结果,从而便于用户通过显示界面上的匹配结果,即可准确直观地了解到第一记录数据与第二记录数据的数据差异。In a specific embodiment, the matching result displayed on the display interface may be: performing different identification processing on the first record data and the second record data according to different matching results. Specifically, the first identification process is performed on the first record data and the second record data that are successfully matched; the second identification process is performed on the first record data and the second record data that have failed to match. For example, the first identification of the first record data and the second record data that are successfully matched is processed into green to obtain the first display data. The second identification of the first record data and the second record data that have failed to match is processed into red to obtain the second display data. Different matching results are displayed through different color signs, so that the user can accurately and intuitively understand the data difference between the first recorded data and the second recorded data through the matching results on the display interface.
在本实施例中,响应于用户对显示界面的第三操作行为,在显示界面上展示对应双录数据的第二记录数据,其中,第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据;若接收到触发指令,则发送数据确认请求至服务端,获取服务端返回的第一记录数据,其中,第一记录数据为服务端从区块链网络中获取的记录数据;对第一记录数据和第二记录数据进行匹配,在显示界面上展示匹配结果;用户可根据实际情况在移动终端主动触发对第一记录数据和第二记录数据的匹配,避免了因数据遭到篡改而导致记录在数据库中的第二记录数据出现错误的现象,从而提高了记录在数据库中的第二记录数据的准确性。In this embodiment, in response to the user's third operation behavior on the display interface, the second record data corresponding to the double record data is displayed on the display interface, where the second record data is obtained by the server from the database and sent to the mobile The record data of the terminal; if the trigger instruction is received, a data confirmation request is sent to the server to obtain the first record data returned by the server, where the first record data is the record data obtained by the server from the blockchain network; Match the first recorded data and the second recorded data, and display the matching results on the display interface; the user can actively trigger the matching of the first recorded data and the second recorded data on the mobile terminal according to the actual situation, avoiding data The tampering causes errors in the second record data recorded in the database, thereby improving the accuracy of the second record data recorded in the database.
在一实施例中,如图5所示,提供一种双录数据处理方法,以该方法应用在图1中的服务端为例进行说明,包括如下步骤:In one embodiment, as shown in FIG. 5, a method for processing double-recording data is provided. Taking the method applied to the server in FIG. 1 as an example for description, the method includes the following steps:
S100:接收第二类型的用户对应的待审核终端发送的待审核信息,待审核信息包括双录数据。S100: Receive information to be audited sent by a terminal to be audited corresponding to a user of the second type, where the information to be audited includes double recording data.
具体地,当待审核终端响应第二类型的用户在第二内容上执行的第二操作行为,将接 收到的待审核信息发送至服务端之后,服务端即可接收第二类型的用户对应的待审核终端发送的待审核信息,待审核信息包括双录数据。Specifically, when the terminal to be audited responds to the second operation behavior performed by the user of the second type on the second content, and sends the received information to be audited to the server, the server can receive the information corresponding to the user of the second type. The information to be reviewed sent from the terminal to be reviewed, and the information to be reviewed includes double-recorded data.
S101:根据预设的策略为待审核信息分配对应的审核终端,其中,审核终端为第一类型的用户对应的移动终端。S101: Assign a corresponding audit terminal to the information to be audited according to a preset policy, where the audit terminal is a mobile terminal corresponding to the first type of user.
本步骤中根据预设的策略为待审核信息分配对应的审核终端的具体方法和过程,与步骤S23根据预设的策略为待审核信息分配对应的审核终端的具体方法和过程相同,此处不做冗余赘述。The specific method and process of assigning the corresponding audit terminal to the information to be audited according to the preset strategy in this step is the same as the specific method and process of assigning the corresponding audit terminal to the information to be audited according to the preset strategy in step S23. Do redundant repetitions.
S102:接收审核终端返回的第一记录数据,将第一记录数据存储至数据库,并记录至区块链网络。S102: Receive the first record data returned by the audit terminal, store the first record data in the database, and record it in the blockchain network.
具体地,当审核终端接收到用户根据双录数据返回的审核信息,生成第一记录数据发送至服务端之后,服务端即可接收审核终端返回的第一记录数据,将第一记录数据存储至数据库,并记录至区块链网络。Specifically, after the audit terminal receives the audit information returned by the user based on the double-record data, generates the first record data and sends it to the server, the server can receive the first record data returned by the audit terminal, and store the first record data in Database and record to the blockchain network.
S103:接收到预设的发送指令,则从数据库中获取对应的第二记录数据,将第二记录数据发送至对应的待审核终端,其中,第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据。S103: When a preset sending instruction is received, the corresponding second record data is obtained from the database, and the second record data is sent to the corresponding terminal to be audited, where the second record data is obtained by the server from the database and sent Record data to the mobile terminal.
具体地,当服务端接收到待审核终端发送的发送指令时,从数据库中获取对应的第二记录数据,将第二记录数据发送至对应的待审核终端,其中,第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据。Specifically, when the server receives the sending instruction sent by the terminal to be audited, it obtains the corresponding second record data from the database, and sends the second record data to the corresponding terminal to be audited, where the second record data is the server Record data obtained from the database and sent to the mobile terminal.
在本实施例中,接收第二类型的用户对应的待审核终端发送的待审核信息,待审核信息包括双录数据;根据预设的策略为待审核信息分配对应的审核终端,其中,审核终端为第一类型的用户对应的移动终端;接收审核终端返回的第一记录数据,将第一记录数据存储至数据库,并记录至区块链网络;接收到预设的发送指令,则从数据库中获取对应的第二记录数据,将第二记录数据发送至对应的待审核终端,其中,第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据;从而在保证记录数据的安全性的同时,还进一步提高了双录数据的处理效率。In this embodiment, the information to be audited sent by the terminal to be audited corresponding to the second type of user is received, and the information to be audited includes double record data; the corresponding audit terminal is allocated to the information to be audited according to a preset strategy, wherein the audit terminal It is the mobile terminal corresponding to the first type of user; receives the first record data returned by the audit terminal, stores the first record data in the database, and records it to the blockchain network; receives the preset sending instruction from the database Obtain the corresponding second record data, and send the second record data to the corresponding terminal to be audited, where the second record data is the record data obtained by the server from the database and sent to the mobile terminal; thereby ensuring the safety of the recorded data At the same time, it further improves the processing efficiency of double-recorded data.
在一实施例中,如图6所示,双录数据处理方法,还具体包括如下步骤:In an embodiment, as shown in FIG. 6, the dual-recording data processing method further specifically includes the following steps:
S110:根据预设的触发时机,从数据库中获取第二记录数据集,其中,第二记录数据集包括至少一个第二记录数据。S110: Acquire a second record data set from the database according to a preset trigger timing, where the second record data set includes at least one second record data.
其中,触发时机用于触发第二记录数据集与第一记录数据集进行数据匹配的时机。可选地,触发时机可以某一特定的时间段,比如为每一天的具体某个时间段,或者是每个月中的具体某一天等;也可以为当第二记录数据集的数据量达到设定阈值时等。具体地,当满足预设的触发时机时,会自动触发服务端从数据库获取第二记录数据集,第二记录数据集包括至少一个第二记录数据。示例性地,若触发时机为某一特定的时间段,比如为每一天中的23:00-24:00,则当每天到23:00-24:00时,服务端即会从数据库中获取第二记录数据集。Wherein, the trigger timing is used to trigger the timing of data matching between the second record data set and the first record data set. Optionally, the trigger timing can be a specific time period, such as a specific time period of each day, or a specific day of each month, etc.; it can also be when the data volume of the second record data set reaches When setting the threshold, etc. Specifically, when the preset trigger timing is met, the server will be automatically triggered to obtain the second record data set from the database, and the second record data set includes at least one second record data. Exemplarily, if the trigger timing is a specific time period, such as 23:00-24:00 every day, when every day to 23:00-24:00, the server will get it from the database The second record data set.
S111:从区块链网络中获取第一记录数据集,其中,第一记录数据集包括至少一个第一记录数据。S111: Obtain a first record data set from the blockchain network, where the first record data set includes at least one first record data.
具体地,在从数据库中获取第二记录数据集之后,再从区块链网络中获取第一记录数据集,第一记录数据集包括至少一个第一记录数据。Specifically, after obtaining the second record data set from the database, the first record data set is obtained from the blockchain network, and the first record data set includes at least one first record data.
S112:对第一记录数据集和第二记录数据集进行匹配查询。S112: Perform a matching query on the first record data set and the second record data set.
具体地,可采用正则匹配话或者字符串匹配法,将从数据库获取的第二记录数据集中的每一第二记录数据,与从区块链网络中获取的第一记录数据集中对应的每一第一记录数据进行匹配查询,判断第二记录数据集中是否存在与第一记录数据集中的第一记录数据不匹配的数据。Specifically, regular matching words or string matching methods can be used, and each second record data in the second record data set obtained from the database corresponds to each of the first record data sets obtained from the blockchain network. The first record data performs a matching query to determine whether there is data in the second record data set that does not match the first record data in the first record data set.
S113:若存在不匹配的数据,则采用第一记录数据集中的数据对数据库中的第二记录数据集进行更新,并生成更新日志。S113: If there is unmatched data, use the data in the first record data set to update the second record data set in the database, and generate an update log.
其中,更新日志指用于记录更新数据的日志。在本实施例中,更新日志主要用于记录根据第一记录数据集中的数据,对数据库中的第二记录数据集进行更新的数据,包括更新前的初始数据和更新后的目标数据。具体地,若根据步骤S112进行匹配查询后得到第二记录数据集中存在与第一记录数据集不匹配的数据,则采用第一记录数据集中的数据,对数据库中的第二记录数据集进行更新,即将第二记录数据集中与第一记录数据集中对应的第一记录数据不匹配的第一记录数据,更新为与对应的第一记录数据相同的数据,并生成更新日志,以便可直接根据更新日志查询出第二记录数据集中存在的与第一记录数据集中不相同的数据,为后续做数据分析提供了便利。Among them, the update log refers to a log used to record update data. In this embodiment, the update log is mainly used to record data for updating the second record data set in the database based on the data in the first record data set, including the initial data before the update and the target data after the update. Specifically, if data in the second record data set that does not match the first record data set is found after the matching query is performed according to step S112, the data in the first record data set is used to update the second record data set in the database That is, the first record data in the second record data set that does not match the corresponding first record data in the first record data set is updated to the same data as the corresponding first record data, and an update log is generated so that it can be directly updated according to the The log queries the data in the second record data set that are different from the data in the first record data set, which provides convenience for subsequent data analysis.
在本实施例中,根据预设的触发时机,从数据库中获取第一记录数据集,其中,第一记录数据集包括至少一个第一记录数据;从区块链网络中获取第二记录数据集,其中,第二记录数据集包括至少一个第二记录数据;对第一记录数据集和第二记录数据集进行匹配查询;若存在不匹配的数据,则采用第一记录数据集中的数据对数据库中的第二记录数据集进行更新,并生成更新日志;通过预先设定触发时机,从而主动触发服务端对第二记录数据集进行匹配和更新,从而避免了因数据遭到篡改而导致记录在数据库中的第二记录数据出现错误的现象,从而进一步提高了数据的安全性。In this embodiment, according to the preset trigger timing, the first record data set is obtained from the database, where the first record data set includes at least one first record data; the second record data set is obtained from the blockchain network , Wherein the second record data set includes at least one second record data; a matching query is performed on the first record data set and the second record data set; if there is unmatched data, the data in the first record data set is used to compare the database The second record data set in the data set is updated, and an update log is generated; by pre-setting the trigger timing, the server is actively triggered to match and update the second record data set, thereby avoiding data being tampered with and causing records in the Errors occur in the second record data in the database, thereby further improving the security of the data.
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that the size of the sequence number of each step in the foregoing embodiment does not mean the order of execution. The execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present application.
在一实施例中,提供一种双录数据处理装置,该双录数据处理装置与上述实施例中双录数据处理方法一一对应。如图7所示,该双录数据处理装置包括验证模块10、登录类型确定模块20、第一展示模块30、第一响应模块40、第一记录数据生成模块50和第一发送模块60。各功能模块详细说明如下:In one embodiment, a dual-recording data processing device is provided, and the dual-recording data processing device corresponds to the dual-recording data processing method in the above-mentioned embodiment in a one-to-one correspondence. As shown in FIG. 7, the dual recording data processing device includes a verification module 10, a login type determination module 20, a first display module 30, a first response module 40, a first record data generation module 50 and a first sending module 60. The detailed description of each functional module is as follows:
验证模块10,用于接收用户的登录信息,对登录信息进行验证,若验证通过,则得到验证信息;The verification module 10 is used to receive the user's login information, verify the login information, and obtain the verification information if the verification is passed;
登录类型确定模块20,用于根据验证信息确定用户的登录类型;The login type determining module 20 is used to determine the login type of the user according to the verification information;
第一展示模块30,用于在用户的登录类型为第一类型时,在显示界面上展示第一内容,其中,第一类型为指示具有数据验证权限的用户类型;The first display module 30 is configured to display the first content on the display interface when the login type of the user is the first type, where the first type indicates the type of the user with the data verification authority;
第一响应模块40,用于响应于用户对显示界面的第一操作行为,在显示界面上展示对应的双录数据;The first response module 40 is configured to display the corresponding double recording data on the display interface in response to the user's first operation behavior on the display interface;
第一记录数据生成模块50,用于接收用户根据双录数据返回的审核信息,根据双录数据和审核信息生成第一记录数据;The first record data generating module 50 is configured to receive the audit information returned by the user according to the double record data, and generate the first record data according to the double record data and the review information;
第一发送模块60,用于将第一记录数据发送至服务端,以指示服务端将第一记录数据记录至区块链网络。The first sending module 60 is configured to send the first recorded data to the server to instruct the server to record the first recorded data to the blockchain network.
优选地,如图8所示,该双录数据处理装置还包括:Preferably, as shown in FIG. 8, the dual recording data processing device further includes:
第二展示模块21,用于在用户的登录类型为第二类型时,在显示界面上展示第二内容,其中,第二类型为指示不具有数据验证权限的用户类型;The second display module 21 is configured to display the second content on the display interface when the login type of the user is the second type, where the second type indicates a user type that does not have data verification authority;
第二响应模块22,用于响应于用户对显示界面的第二操作行为,接收待审核信息,待审核信息包括双录数据;The second response module 22 is configured to receive information to be audited in response to a second operation behavior of the user on the display interface, and the information to be audited includes double record data;
第二发送模块23,用于将双录数据发送至服务端,以使服务端根据预设的策略为待审核信息分配对应的审核终端。The second sending module 23 is configured to send the double-recorded data to the server, so that the server allocates a corresponding audit terminal for the information to be audited according to a preset strategy.
优选地,如图9所示,该双录数据处理装置还包括:Preferably, as shown in FIG. 9, the dual recording data processing device further includes:
第三响应模块211,用于响应于用户对显示界面的第三操作行为,在显示界面上展示对应双录数据的第二记录数据,其中,第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据;The third response module 211 is configured to display the second record data corresponding to the double record data on the display interface in response to the user's third operation behavior on the display interface, where the second record data is obtained and sent by the server from the database Record data to the mobile terminal;
第一记录数据获取模块212,用于在接收到触发指令时,发送数据确认请求至服务端,获取服务端返回的第一记录数据,其中,第一记录数据为服务端从区块链网络中获取的记录数据;The first record data acquisition module 212 is configured to send a data confirmation request to the server to obtain the first record data returned by the server when the trigger instruction is received. Recorded data obtained;
第一匹配模块213,用于对第一记录数据和第二记录数据进行匹配,在显示界面上展示匹配结果。The first matching module 213 is configured to match the first recorded data with the second recorded data, and display the matching result on the display interface.
优选地,该双录数据处理装置还包括:Preferably, the dual recording data processing device further includes:
待审核信息接收模块,用于接收第二类型的用户对应的待审核终端发送的待审核信息,待审核信息包括双录数据;The information to be audited receiving module is configured to receive information to be audited sent by the terminal to be audited corresponding to the second type of user, and the information to be audited includes double record data;
分配模块,用于根据预设的策略为待审核信息分配对应的审核终端,其中,审核终端为第一类型的用户对应的移动终端;The allocation module is configured to allocate corresponding audit terminals for the information to be audited according to a preset strategy, where the audit terminals are mobile terminals corresponding to users of the first type;
存储记录模块,用于接收审核终端返回的第一记录数据,将第一记录数据存储至数据库,并记录至区块链网络;The storage record module is used to receive the first record data returned by the audit terminal, store the first record data in the database, and record it in the blockchain network;
第三发送模块,用于在接收到预设的发送指令时,从数据库中获取对应的第二记录数据,将第二记录数据发送至对应的待审核终端,其中,第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据。The third sending module is used to obtain the corresponding second record data from the database when the preset sending instruction is received, and send the second record data to the corresponding terminal to be audited, where the second record data is the server Record data obtained from the database and sent to the mobile terminal.
优选地,该双录数据处理装置还包括:Preferably, the dual recording data processing device further includes:
第二记录数据集获取模块,用于根据预设的触发时机,从数据库中获取第二记录数据集,其中,第二记录数据集包括至少一个第二记录数据;The second record data set acquisition module is configured to acquire a second record data set from the database according to a preset trigger timing, where the second record data set includes at least one second record data;
第一记录数据集获取模块,用于从区块链网络中获取第一记录数据集,其中,第一记录数据集包括至少一个第一记录数据;The first record data set acquisition module is configured to acquire the first record data set from the blockchain network, where the first record data set includes at least one first record data;
匹配查询模块,用于对第一记录数据集和第二记录数据集进行匹配查询;The matching query module is used to perform a matching query on the first record data set and the second record data set;
更新模块,用于在存在不匹配的数据时,采用第一记录数据集中的数据对数据库中的第二记录数据集进行更新,并生成更新日志。The update module is used to update the second record data set in the database with the data in the first record data set when there is unmatched data, and generate an update log.
关于双录数据处理装置的具体限定可以参见上文中对于双录数据处理方法的限定,在此不再赘述。上述双录数据处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific limitation of the dual-recording data processing device, please refer to the above-mentioned limitation on the dual-recording data processing method, which will not be repeated here. Each module in the above-mentioned dual-recording data processing device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules may be embedded in the form of hardware or independent of the processor in the computer equipment, or may be stored in the memory of the computer equipment in the form of software, so that the processor can call and execute the operations corresponding to the above-mentioned modules.
在一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图10所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括可读存储介质、内存储器。该可读存储介质存储有操作系统、计算机可读指令和数据库。该内存储器为可读存储介质中的操作系统和计算机可读指令的运行提供环境。该计算机设备的数据库用于存储上述实施例双录数据处理方法中使用到的数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机可读指令被处理器执行时以实现一种双录数据处理方法。In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. 10. The computer equipment includes a processor, a memory, a network interface, and a database connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a readable storage medium and an internal memory. The readable storage medium stores an operating system, computer readable instructions, and a database. The internal memory provides an environment for the operation of the operating system and computer readable instructions in the readable storage medium. The database of the computer device is used to store the data used in the double-recording data processing method of the above-mentioned embodiment. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer-readable instruction is executed by the processor to realize a double-recording data processing method.
在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机可读指令,处理器执行计算机可读指令时实现以下步骤:In one embodiment, a computer device is provided, including a memory, a processor, and computer-readable instructions stored on the memory and capable of running on the processor, and the processor implements the following steps when the processor executes the computer-readable instructions:
接收用户的登录信息,对所述登录信息进行验证,若所述验证通过,则得到验证信息;Receiving the login information of the user, verifying the login information, and if the verification is passed, the verification information is obtained;
根据所述验证信息确定所述用户的登录类型;Determining the login type of the user according to the verification information;
若所述用户的登录类型为第一类型,则在显示界面上展示第一内容,其中,所述第一类型为指示具有数据验证权限的用户类型;If the login type of the user is the first type, the first content is displayed on the display interface, where the first type indicates a user type with data verification authority;
响应于用户对所述显示界面的第一操作行为,在显示界面上展示对应的双录数据;In response to the user's first operation behavior on the display interface, display the corresponding dual recording data on the display interface;
接收所述用户根据所述双录数据返回的审核信息,根据所述双录数据和所述审核信息生成第一记录数据;Receiving the review information returned by the user according to the double-recording data, and generating first record data according to the double-recording data and the review information;
将所述第一记录数据发送至服务端,以指示所述服务端将所述第一记录数据记录至区块链网络。The first recorded data is sent to the server to instruct the server to record the first recorded data to the blockchain network.
在一个实施例中,一个或多个存储有计算机可读指令的可读存储介质,所述可读存储介质包括非易失性可读存储介质和易失性可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如下步骤:In one embodiment, one or more readable storage media storing computer readable instructions, the readable storage medium includes a non-volatile readable storage medium and a volatile readable storage medium, the computer may When the read instruction is executed by one or more processors, the one or more processors execute the following steps:
接收用户的登录信息,对所述登录信息进行验证,若所述验证通过,则得到验证信息;Receiving the login information of the user, verifying the login information, and if the verification is passed, the verification information is obtained;
根据所述验证信息确定所述用户的登录类型;Determining the login type of the user according to the verification information;
若所述用户的登录类型为第一类型,则在显示界面上展示第一内容,其中,所述第一类型为指示具有数据验证权限的用户类型;If the login type of the user is the first type, the first content is displayed on the display interface, where the first type indicates a user type with data verification authority;
响应于用户对所述显示界面的第一操作行为,在显示界面上展示对应的双录数据;In response to the user's first operation behavior on the display interface, display the corresponding dual recording data on the display interface;
接收所述用户根据所述双录数据返回的审核信息,根据所述双录数据和所述审核信息生成第一记录数据;Receiving the review information returned by the user according to the double-recording data, and generating first record data according to the double-recording data and the review information;
将所述第一记录数据发送至服务端,以指示所述服务端将所述第一记录数据记录至区块链网络。The first recorded data is sent to the server to instruct the server to record the first recorded data to the blockchain network.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储非易失性可读取存储介质或易失性可读存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing relevant hardware through computer-readable instructions. The computer-readable instructions can be stored in a non-volatile and readable manner. In a storage medium or a volatile readable storage medium, when the computer-readable instructions are executed, they may include the processes of the above-mentioned method embodiments. Wherein, any reference to memory, storage, database, or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, only the division of the above functional units and modules is used as an example. In practical applications, the above functions can be allocated to different functional units and modules as needed. Module completion, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, a person of ordinary skill in the art should understand that it can still implement the foregoing The technical solutions recorded in the examples are modified, or some of the technical features are equivalently replaced; these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the application, and should be included in Within the scope of protection of this application.

Claims (20)

  1. 一种双录数据处理方法,其中,所述双录数据处理方法应用于移动终端,包括:A dual-recording data processing method, wherein the dual-recording data processing method is applied to a mobile terminal and includes:
    接收用户的登录信息,对所述登录信息进行验证,若所述验证通过,则得到验证信息;Receiving the login information of the user, verifying the login information, and if the verification is passed, the verification information is obtained;
    根据所述验证信息确定所述用户的登录类型;Determining the login type of the user according to the verification information;
    若所述用户的登录类型为第一类型,则在显示界面上展示第一内容,其中,所述第一类型为指示具有数据验证权限的用户类型;If the login type of the user is the first type, the first content is displayed on the display interface, where the first type indicates a user type with data verification authority;
    响应于用户对所述显示界面的第一操作行为,在显示界面上展示对应的双录数据;In response to the user's first operation behavior on the display interface, display the corresponding dual recording data on the display interface;
    接收所述用户根据所述双录数据返回的审核信息,根据所述双录数据和所述审核信息生成第一记录数据;Receiving the review information returned by the user according to the double-recording data, and generating first record data according to the double-recording data and the review information;
    将所述第一记录数据发送至服务端,以指示所述服务端将所述第一记录数据记录至区块链网络。The first recorded data is sent to the server to instruct the server to record the first recorded data to the blockchain network.
  2. 如权利要求1所述的双录数据处理方法,其中,在所述根据所述验证信息确定所述用户的登录类型之后,所述双录数据处理方法还包括:5. The double-recording data processing method according to claim 1, wherein, after the user's login type is determined according to the verification information, the double-recording data processing method further comprises:
    若所述用户的登录类型为第二类型,则在显示界面上展示第二内容,其中,所述第二类型为指示不具有数据验证权限的用户类型;If the login type of the user is the second type, display the second content on the display interface, where the second type is a user type indicating that the user does not have data verification authority;
    响应于用户对所述显示界面的第二操作行为,接收待审核信息,所述待审核信息包括双录数据;In response to the user's second operation behavior on the display interface, receiving pending review information, where the pending review information includes double recording data;
    将所述双录数据发送至服务端,以使所述服务端根据预设的策略为所述待审核信息分配对应的审核终端。The double-recording data is sent to the server, so that the server allocates a corresponding audit terminal for the information to be audited according to a preset strategy.
  3. 如权利要求2所述的双录数据处理方法,其中,所述在显示界面上展示第二内容之后,所述双录数据处理方法,还包括:3. The dual recording data processing method of claim 2, wherein after the second content is displayed on the display interface, the dual recording data processing method further comprises:
    响应于用户对所述显示界面的第三操作行为,在所述显示界面上展示对应双录数据的第二记录数据,其中,所述第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据;In response to the user's third operation behavior on the display interface, the second record data corresponding to the dual recording data is displayed on the display interface, where the second record data is obtained by the server from the database and sent to the mobile The recorded data of the terminal;
    若接收到触发指令,则发送数据确认请求至所述服务端,获取所述服务端返回的第一记录数据,其中,所述第一记录数据为所述服务端从所述区块链网络中获取的记录数据;If a trigger instruction is received, a data confirmation request is sent to the server to obtain the first recorded data returned by the server, where the first recorded data is that the server receives from the blockchain network Recorded data obtained;
    对所述第一记录数据和第二记录数据进行匹配,在所述显示界面上展示匹配结果。The first record data and the second record data are matched, and the matching result is displayed on the display interface.
  4. 一种双录数据处理方法,其中,所述双录数据处理方法应用于服务端,包括:A double-recording data processing method, wherein the double-recording data processing method is applied to a server, and includes:
    接收第二类型的用户对应的待审核终端发送的待审核信息,所述待审核信息包括双录数据;Receiving information to be audited sent by a terminal to be audited corresponding to a user of the second type, where the information to be audited includes double recording data;
    根据预设的策略为所述待审核信息分配对应的审核终端,其中,所述审核终端为第一类型的用户对应的移动终端;Allocate a corresponding audit terminal to the information to be audited according to a preset policy, where the audit terminal is a mobile terminal corresponding to the first type of user;
    接收所述审核终端返回的第一记录数据,将所述第一记录数据存储至数据库,并记录至区块链网络;Receiving the first record data returned by the audit terminal, storing the first record data in a database, and recording it in the blockchain network;
    若接收到预设的发送指令,则从数据库中获取对应的第二记录数据,将所述第二记录数据发送至对应的所述待审核终端,其中,所述第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据。If a preset sending instruction is received, the corresponding second record data is obtained from the database, and the second record data is sent to the corresponding terminal to be audited, wherein the second record data is from the server Record data obtained from the database and sent to the mobile terminal.
  5. 如权利要求4所述的双录数据处理方法,其中,所述双录数据处理方法还包括:5. The dual-recording data processing method of claim 4, wherein the dual-recording data processing method further comprises:
    根据预设的触发时机,从数据库中获取第二记录数据集,其中,所述第二记录数据集包括至少一个第二记录数据;Acquiring a second record data set from the database according to a preset trigger timing, where the second record data set includes at least one second record data;
    从区块链网络中获取第一记录数据集,其中,所述第一记录数据集包括至少一个第一记录数据;Acquiring a first record data set from a blockchain network, wherein the first record data set includes at least one first record data;
    对所述第一记录数据集和所述第二记录数据集进行匹配查询;Performing a matching query on the first record data set and the second record data set;
    若存在不匹配的数据,则采用第一记录数据集中的数据对所述数据库中的所述第二记录数据集进行更新,并生成更新日志。If there is unmatched data, the data in the first record data set is used to update the second record data set in the database, and an update log is generated.
  6. 一种双录数据处理装置,其中,包括:A dual-recording data processing device, which includes:
    验证模块,用于接收用户的登录信息,对所述登录信息进行验证,若所述验证通过,则得到验证信息;The verification module is used to receive the login information of the user, verify the login information, and obtain the verification information if the verification is passed;
    登录类型确定模块,用于根据所述验证信息确定所述用户的登录类型;The login type determining module is configured to determine the login type of the user according to the verification information;
    第一展示模块,用于在所述用户的登录类型为第一类型时,在显示界面上展示第一内容,其中,所述第一类型为指示具有数据验证权限的用户类型;The first display module is configured to display the first content on the display interface when the login type of the user is the first type, where the first type indicates the type of the user with data verification authority;
    第一响应模块,用于响应于用户对所述显示界面的第一操作行为,在显示界面上展示对应的双录数据;The first response module is configured to display the corresponding double recording data on the display interface in response to the user's first operation behavior on the display interface;
    第一记录数据生成模块,用于接收所述用户根据所述双录数据返回的审核信息,根据所述双录数据和所述审核信息生成第一记录数据;The first record data generating module is configured to receive audit information returned by the user according to the double record data, and generate first record data according to the double record data and the review information;
    第一发送模块,用于将所述第一记录数据发送至服务端,以指示所述服务端将所述第一记录数据记录至区块链网络。The first sending module is configured to send the first recorded data to the server to instruct the server to record the first recorded data to the blockchain network.
  7. 如权利要求6所述的双录数据处理装置,其中,所述双录数据处理装置还包括:7. The dual-recording data processing device of claim 6, wherein the dual-recording data processing device further comprises:
    第二展示模块,用于在所述用户的登录类型为第二类型时,在显示界面上展示第二内容,其中,所述第二类型为指示不具有数据验证权限的用户类型;The second display module is configured to display the second content on the display interface when the login type of the user is the second type, where the second type is a user type indicating that the user does not have data verification authority;
    第二响应模块,用于响应于用户对所述显示界面的第二操作行为,接收待审核信息,所述待审核信息包括双录数据;The second response module is configured to receive information to be reviewed in response to a second operation behavior of the user on the display interface, where the information to be reviewed includes double record data;
    第二发送模块,用于将所述双录数据发送至服务端,以使所述服务端根据预设的策略为所述待审核信息分配对应的审核终端。The second sending module is configured to send the dual record data to the server, so that the server allocates a corresponding audit terminal to the information to be audited according to a preset strategy.
  8. 如权利要求6所述的双录数据处理装置,其中,所述双录数据处理装置还包括:7. The dual-recording data processing device of claim 6, wherein the dual-recording data processing device further comprises:
    第三响应模块,用于响应于用户对所述显示界面的第三操作行为,在所述显示界面上展示对应双录数据的第二记录数据,其中,所述第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据;The third response module is configured to display the second record data corresponding to the double record data on the display interface in response to the user's third operation behavior on the display interface, wherein the second record data is the slave from the server Record data obtained from the database and sent to the mobile terminal;
    第一记录数据获取模块,用于在接收到触发指令时,发送数据确认请求至所述服务端,获取所述服务端返回的第一记录数据,其中,所述第一记录数据为所述服务端从所述区块链网络中获取的记录数据;The first record data acquisition module is configured to send a data confirmation request to the server to obtain the first record data returned by the server when the trigger instruction is received, wherein the first record data is the service Terminal record data obtained from the blockchain network;
    第一匹配模块,用于对所述第一记录数据和第二记录数据进行匹配,在所述显示界面上展示匹配结果。The first matching module is configured to match the first recorded data with the second recorded data, and display the matching result on the display interface.
  9. 一种双录数据处理装置,其中,包括:A dual-recording data processing device, which includes:
    待审核信息接收模块,用于接收第二类型的用户对应的待审核终端发送的待审核信息,待审核信息包括双录数据;The information to be audited receiving module is configured to receive information to be audited sent by the terminal to be audited corresponding to the second type of user, and the information to be audited includes double record data;
    分配模块,用于根据预设的策略为待审核信息分配对应的审核终端,其中,审核终端为第一类型的用户对应的移动终端;The allocation module is configured to allocate corresponding audit terminals for the information to be audited according to a preset strategy, where the audit terminals are mobile terminals corresponding to users of the first type;
    存储记录模块,用于接收审核终端返回的第一记录数据,将第一记录数据存储至数据库,并记录至区块链网络;The storage record module is used to receive the first record data returned by the audit terminal, store the first record data in the database, and record it in the blockchain network;
    第三发送模块,用于在接收到预设的发送指令时,从数据库中获取对应的第二记录数据,将第二记录数据发送至对应的待审核终端,其中,第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据。The third sending module is used to obtain the corresponding second record data from the database when the preset sending instruction is received, and send the second record data to the corresponding terminal to be audited, where the second record data is the server Record data obtained from the database and sent to the mobile terminal.
  10. 如权利要求9所述的双录数据处理装置,其中,所述双录数据处理装置还包括:9. The dual-recording data processing device of claim 9, wherein the dual-recording data processing device further comprises:
    第二记录数据集获取模块,用于根据预设的触发时机,从数据库中获取第二记录数据集,其中,第二记录数据集包括至少一个第二记录数据;The second record data set acquisition module is configured to acquire a second record data set from the database according to a preset trigger timing, where the second record data set includes at least one second record data;
    第一记录数据集获取模块,用于从区块链网络中获取第一记录数据集,其中,第一记录数据集包括至少一个第一记录数据;The first record data set acquisition module is configured to acquire the first record data set from the blockchain network, where the first record data set includes at least one first record data;
    匹配查询模块,用于对第一记录数据集和第二记录数据集进行匹配查询;The matching query module is used to perform a matching query on the first record data set and the second record data set;
    更新模块,用于在存在不匹配的数据时,采用第一记录数据集中的数据对数据库中的第二记录数据集进行更新,并生成更新日志。The update module is used to update the second record data set in the database with the data in the first record data set when there is unmatched data, and generate an update log.
  11. 一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其中,所述处理器执行所述计算机可读指令时实现如下步骤:A computer device includes a memory, a processor, and computer-readable instructions that are stored in the memory and can run on the processor, wherein the processor implements the following steps when the processor executes the computer-readable instructions:
    接收用户的登录信息,对所述登录信息进行验证,若所述验证通过,则得到验证信息;Receiving the login information of the user, verifying the login information, and if the verification is passed, the verification information is obtained;
    根据所述验证信息确定所述用户的登录类型;Determining the login type of the user according to the verification information;
    若所述用户的登录类型为第一类型,则在显示界面上展示第一内容,其中,所述第一类型为指示具有数据验证权限的用户类型;If the login type of the user is the first type, the first content is displayed on the display interface, where the first type indicates a user type with data verification authority;
    响应于用户对所述显示界面的第一操作行为,在显示界面上展示对应的双录数据;In response to the user's first operation behavior on the display interface, display the corresponding dual recording data on the display interface;
    接收所述用户根据所述双录数据返回的审核信息,根据所述双录数据和所述审核信息生成第一记录数据;Receiving the review information returned by the user according to the double-recording data, and generating first record data according to the double-recording data and the review information;
    将所述第一记录数据发送至服务端,以指示所述服务端将所述第一记录数据记录至区块链网络。The first recorded data is sent to the server to instruct the server to record the first recorded data to the blockchain network.
  12. 如权利要求11所述的计算机设备,其中,在所述根据所述验证信息确定所述用户的登录类型之后,所述处理器执行所述计算机可读指令时还实现如下步骤:11. The computer device according to claim 11, wherein, after the user's login type is determined according to the verification information, the processor further implements the following steps when executing the computer-readable instruction:
    若所述用户的登录类型为第二类型,则在显示界面上展示第二内容,其中,所述第二类型为指示不具有数据验证权限的用户类型;If the login type of the user is the second type, display the second content on the display interface, where the second type is a user type indicating that the user does not have data verification authority;
    响应于用户对所述显示界面的第二操作行为,接收待审核信息,所述待审核信息包括双录数据;In response to the user's second operation behavior on the display interface, receiving pending review information, where the pending review information includes double recording data;
    将所述双录数据发送至服务端,以使所述服务端根据预设的策略为所述待审核信息分配对应的审核终端。The double-recording data is sent to the server, so that the server allocates a corresponding audit terminal for the information to be audited according to a preset strategy.
  13. 如权利要求12所述的计算机设备,其中,所述在显示界面上展示第二内容之后,所述处理器执行所述计算机可读指令时还实现如下步骤:The computer device according to claim 12, wherein, after the second content is displayed on the display interface, the processor further implements the following steps when executing the computer-readable instruction:
    响应于用户对所述显示界面的第三操作行为,在所述显示界面上展示对应双录数据的第二记录数据,其中,所述第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据;In response to the user's third operation behavior on the display interface, the second record data corresponding to the dual recording data is displayed on the display interface, where the second record data is obtained by the server from the database and sent to the mobile The recorded data of the terminal;
    若接收到触发指令,则发送数据确认请求至所述服务端,获取所述服务端返回的第一记录数据,其中,所述第一记录数据为所述服务端从所述区块链网络中获取的记录数据;If a trigger instruction is received, a data confirmation request is sent to the server to obtain the first recorded data returned by the server, where the first recorded data is that the server receives from the blockchain network Recorded data obtained;
    对所述第一记录数据和第二记录数据进行匹配,在所述显示界面上展示匹配结果。The first record data and the second record data are matched, and the matching result is displayed on the display interface.
  14. 一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机可读指令,其中,所述处理器执行所述计算机可读指令时实现如下步骤:A computer device includes a memory, a processor, and computer-readable instructions that are stored in the memory and can run on the processor, wherein the processor implements the following steps when the processor executes the computer-readable instructions:
    接收第二类型的用户对应的待审核终端发送的待审核信息,所述待审核信息包括双录数据;Receiving information to be audited sent by a terminal to be audited corresponding to a user of the second type, where the information to be audited includes double recording data;
    根据预设的策略为所述待审核信息分配对应的审核终端,其中,所述审核终端为第一类型的用户对应的移动终端;Allocate a corresponding audit terminal to the information to be audited according to a preset policy, where the audit terminal is a mobile terminal corresponding to the first type of user;
    接收所述审核终端返回的第一记录数据,将所述第一记录数据存储至数据库,并记录至区块链网络;Receiving the first record data returned by the audit terminal, storing the first record data in a database, and recording it in the blockchain network;
    若接收到预设的发送指令,则从数据库中获取对应的第二记录数据,将所述第二记录数据发送至对应的所述待审核终端,其中,所述第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据。If a preset sending instruction is received, the corresponding second record data is obtained from the database, and the second record data is sent to the corresponding terminal to be audited, wherein the second record data is from the server Record data obtained from the database and sent to the mobile terminal.
  15. 如权利要求14所述的计算机设备,其中,所述处理器执行所述计算机可读指令时还实现如下步骤:The computer device of claim 14, wherein the processor further implements the following steps when executing the computer-readable instructions:
    根据预设的触发时机,从数据库中获取第二记录数据集,其中,所述第二记录数据集包括至少一个第二记录数据;Acquiring a second record data set from the database according to a preset trigger timing, where the second record data set includes at least one second record data;
    从区块链网络中获取第一记录数据集,其中,所述第一记录数据集包括至少一个第一记录数据;Acquiring a first record data set from a blockchain network, wherein the first record data set includes at least one first record data;
    对所述第一记录数据集和所述第二记录数据集进行匹配查询;Performing a matching query on the first record data set and the second record data set;
    若存在不匹配的数据,则采用第一记录数据集中的数据对所述数据库中的所述第二记录数据集进行更新,并生成更新日志。If there is unmatched data, the data in the first record data set is used to update the second record data set in the database, and an update log is generated.
  16. 一个或多个存储有计算机可读指令的可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如下步骤:One or more readable storage media storing computer readable instructions, when the computer readable instructions are executed by one or more processors, the one or more processors execute the following steps:
    接收用户的登录信息,对所述登录信息进行验证,若所述验证通过,则得到验证信息;Receiving the login information of the user, verifying the login information, and if the verification is passed, the verification information is obtained;
    根据所述验证信息确定所述用户的登录类型;Determining the login type of the user according to the verification information;
    若所述用户的登录类型为第一类型,则在显示界面上展示第一内容,其中,所述第一类型为指示具有数据验证权限的用户类型;If the login type of the user is the first type, the first content is displayed on the display interface, where the first type indicates a user type with data verification authority;
    响应于用户对所述显示界面的第一操作行为,在显示界面上展示对应的双录数据;In response to the user's first operation behavior on the display interface, display the corresponding dual recording data on the display interface;
    接收所述用户根据所述双录数据返回的审核信息,根据所述双录数据和所述审核信息生成第一记录数据;Receiving the review information returned by the user according to the double-recording data, and generating first record data according to the double-recording data and the review information;
    将所述第一记录数据发送至服务端,以指示所述服务端将所述第一记录数据记录至区块链网络。The first recorded data is sent to the server to instruct the server to record the first recorded data to the blockchain network.
  17. 如权利要求16所述的可读存储介质,其中,在所述根据所述验证信息确定所述用户的登录类型之后,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器还执行如下步骤:The readable storage medium according to claim 16, wherein, after the user's login type is determined according to the verification information, when the computer-readable instructions are executed by one or more processors, the One or more processors also perform the following steps:
    若所述用户的登录类型为第二类型,则在显示界面上展示第二内容,其中,所述第二类型为指示不具有数据验证权限的用户类型;If the login type of the user is the second type, display the second content on the display interface, where the second type is a user type indicating that the user does not have data verification authority;
    响应于用户对所述显示界面的第二操作行为,接收待审核信息,所述待审核信息包括双录数据;In response to the user's second operation behavior on the display interface, receiving pending review information, where the pending review information includes double recording data;
    将所述双录数据发送至服务端,以使所述服务端根据预设的策略为所述待审核信息分配对应的审核终端。The double-recording data is sent to the server, so that the server allocates a corresponding audit terminal for the information to be audited according to a preset strategy.
  18. 如权利要求17所述的可读存储介质,其中,所述在显示界面上展示第二内容之后,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器还执行如下步骤:The readable storage medium according to claim 17, wherein, after the second content is displayed on the display interface, when the computer-readable instructions are executed by one or more processors, the one or more processing The device also performs the following steps:
    响应于用户对所述显示界面的第三操作行为,在所述显示界面上展示对应双录数据的第二记录数据,其中,所述第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据;In response to the user's third operation behavior on the display interface, the second record data corresponding to the dual recording data is displayed on the display interface, where the second record data is obtained by the server from the database and sent to the mobile The recorded data of the terminal;
    若接收到触发指令,则发送数据确认请求至所述服务端,获取所述服务端返回的第一记录数据,其中,所述第一记录数据为所述服务端从所述区块链网络中获取的记录数据;If a trigger instruction is received, a data confirmation request is sent to the server to obtain the first recorded data returned by the server, where the first recorded data is that the server receives from the blockchain network Recorded data obtained;
    对所述第一记录数据和第二记录数据进行匹配,在所述显示界面上展示匹配结果。The first record data and the second record data are matched, and the matching result is displayed on the display interface.
  19. 一个或多个存储有计算机可读指令的可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行如下步骤:One or more readable storage media storing computer readable instructions, when the computer readable instructions are executed by one or more processors, the one or more processors execute the following steps:
    接收第二类型的用户对应的待审核终端发送的待审核信息,所述待审核信息包括双录数据;Receiving information to be audited sent by a terminal to be audited corresponding to a user of the second type, where the information to be audited includes double recording data;
    根据预设的策略为所述待审核信息分配对应的审核终端,其中,所述审核终端为第一类型的用户对应的移动终端;Allocate a corresponding audit terminal to the information to be audited according to a preset policy, where the audit terminal is a mobile terminal corresponding to the first type of user;
    接收所述审核终端返回的第一记录数据,将所述第一记录数据存储至数据库,并记录至区块链网络;Receiving the first record data returned by the audit terminal, storing the first record data in a database, and recording it in the blockchain network;
    若接收到预设的发送指令,则从数据库中获取对应的第二记录数据,将所述第二记录数据发送至对应的所述待审核终端,其中,所述第二记录数据为服务端从数据库中获取并发送至移动终端的记录数据。If a preset sending instruction is received, the corresponding second record data is obtained from the database, and the second record data is sent to the corresponding terminal to be audited, wherein the second record data is from the server Record data obtained from the database and sent to the mobile terminal.
  20. 如权利要求19所述的可读存储介质,其中,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器还执行如下步骤:The readable storage medium according to claim 19, wherein, when the computer-readable instructions are executed by one or more processors, the one or more processors further execute the following steps:
    根据预设的触发时机,从数据库中获取第二记录数据集,其中,所述第二记录数据集包括至少一个第二记录数据;Acquiring a second record data set from the database according to a preset trigger timing, where the second record data set includes at least one second record data;
    从区块链网络中获取第一记录数据集,其中,所述第一记录数据集包括至少一个第一记录数据;Acquiring a first record data set from a blockchain network, wherein the first record data set includes at least one first record data;
    对所述第一记录数据集和所述第二记录数据集进行匹配查询;Performing a matching query on the first record data set and the second record data set;
    若存在不匹配的数据,则采用第一记录数据集中的数据对所述数据库中的所述第二记录数据集进行更新,并生成更新日志。If there is unmatched data, the data in the first record data set is used to update the second record data set in the database, and an update log is generated.
PCT/CN2021/070467 2020-03-04 2021-01-06 Double-record data processing method and apparatus, and computer device and storage medium WO2021175003A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010142989.5A CN111460404A (en) 2020-03-04 2020-03-04 Double-recording data processing method and device, computer equipment and storage medium
CN202010142989.5 2020-03-04

Publications (1)

Publication Number Publication Date
WO2021175003A1 true WO2021175003A1 (en) 2021-09-10

Family

ID=71684169

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/070467 WO2021175003A1 (en) 2020-03-04 2021-01-06 Double-record data processing method and apparatus, and computer device and storage medium

Country Status (2)

Country Link
CN (1) CN111460404A (en)
WO (1) WO2021175003A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114996165A (en) * 2022-08-01 2022-09-02 飞狐信息技术(天津)有限公司 Business data auditing method and device, storage medium and electronic equipment

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111460404A (en) * 2020-03-04 2020-07-28 深圳壹账通智能科技有限公司 Double-recording data processing method and device, computer equipment and storage medium
CN112394961A (en) * 2020-11-24 2021-02-23 平安普惠企业管理有限公司 Data updating system, method, device, equipment and storage medium
CN113011856B (en) * 2021-04-16 2024-04-19 新奥数能科技有限公司 Online residence method and device for energy enterprise, electronic equipment and medium
CN113240543A (en) * 2021-04-27 2021-08-10 深圳市中燃科技有限公司 Gas archive management method, system, intelligent terminal and storage medium
CN113378277B (en) * 2021-06-23 2024-04-05 广州市第四装修有限公司 User verification method for building decoration system based on BIM technology
CN114092043A (en) * 2021-11-09 2022-02-25 中国建设银行股份有限公司 Data management platform, method, device and computer readable storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108133008A (en) * 2017-12-22 2018-06-08 平安养老保险股份有限公司 The processing method of business datum, device, equipment and storage medium in database
CN109993967A (en) * 2017-12-29 2019-07-09 杭州海康威视系统技术有限公司 A kind of data extraction method and device
CN110363537A (en) * 2019-05-31 2019-10-22 平安科技(深圳)有限公司 Long-range face label record screen transfers method, apparatus, storage medium and computer equipment
CN110598043A (en) * 2019-09-24 2019-12-20 腾讯科技(深圳)有限公司 Video processing method and device, computer equipment and storage medium
CN111460404A (en) * 2020-03-04 2020-07-28 深圳壹账通智能科技有限公司 Double-recording data processing method and device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108133008A (en) * 2017-12-22 2018-06-08 平安养老保险股份有限公司 The processing method of business datum, device, equipment and storage medium in database
CN109993967A (en) * 2017-12-29 2019-07-09 杭州海康威视系统技术有限公司 A kind of data extraction method and device
CN110363537A (en) * 2019-05-31 2019-10-22 平安科技(深圳)有限公司 Long-range face label record screen transfers method, apparatus, storage medium and computer equipment
CN110598043A (en) * 2019-09-24 2019-12-20 腾讯科技(深圳)有限公司 Video processing method and device, computer equipment and storage medium
CN111460404A (en) * 2020-03-04 2020-07-28 深圳壹账通智能科技有限公司 Double-recording data processing method and device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114996165A (en) * 2022-08-01 2022-09-02 飞狐信息技术(天津)有限公司 Business data auditing method and device, storage medium and electronic equipment

Also Published As

Publication number Publication date
CN111460404A (en) 2020-07-28

Similar Documents

Publication Publication Date Title
WO2021175003A1 (en) Double-record data processing method and apparatus, and computer device and storage medium
US20190230129A1 (en) Monitoring & reporting enterprise level cybersecurity remediation
US10318741B2 (en) Data security and risk ranking tool
US20190379543A1 (en) Efficient validation for blockchain
JP2021518705A (en) Runtime self-modification for blockchain ledger
US9514324B1 (en) Approaches for restricting access to data
EP3067817B1 (en) Dynamic data masking for mainframe application
CN112868210B (en) Block chain timestamp protocol
US11601437B2 (en) Account access security using a distributed ledger and/or a distributed file system
JP7228322B2 (en) Auto-commit transaction management in blockchain networks
US11924247B1 (en) Access control policy simulation and testing
US9177129B2 (en) Devices, systems, and methods for monitoring and asserting trust level using persistent trust log
CN112667748B (en) Block chain all-in-one machine facing audit service, data processing method and device
CN115485686A (en) Distributed and blockchain-based account book for data cloud services
US11379601B2 (en) Detection of sensitive database information
WO2021253957A1 (en) Testament handling method and apparatus, and device and storage medium
US20200401325A1 (en) Authorizing modification of resources
CN112150113A (en) Method, device and system for borrowing file data and method for borrowing data
CN112506481A (en) Service data interaction method and device, computer equipment and storage medium
WO2022141024A1 (en) Blockchain technology-based business transaction method and system, and storage medium
WO2023241366A1 (en) Data processing method and system, and electronic device and computer-readable storage medium
CN112583890B (en) Message pushing method and device based on enterprise office system and computer equipment
US11741213B2 (en) Systems for enhanced bilateral machine security
CN114281849B (en) Data query method and device
US20240020299A1 (en) Api management for batch processing

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21765328

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09/01/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21765328

Country of ref document: EP

Kind code of ref document: A1