A data verification system, method, apparatus and electronic device
Patent Information
- Application Number
- CN202210937756.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-05
- Publication Date
- 2026-09-18
- Estimated Expiration
- 2042-08-05
AI Technical Summary
[0188] In this way, when verifying the information of the project to be verified, each local device can directly use the target raw data about the project to be verified, which it stores and obtains from the remote device, to perform data verification. This avoids the situation where data verification efficiency is low due to poor network conditions, thus improving the efficiency of data verification. Therefore, data verification can achieve high efficiency under various network conditions.
Smart Images

Figure CN115202989B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of Internet technology, and in particular to a data verification system, method, apparatus, and electronic device. Background Technology
[0002] Currently, with the rapid development of Internet technology, information can be stored in graphic codes such as QR codes obtained through information encoding technology. Then, by scanning the QR code, the information content stored in the QR code can be obtained, thereby enabling the verification of the information content stored in the QR code.
[0003] For example, concert tickets may have a QR code printed on them containing information such as concert details and the ticket purchaser's information. When entering the concert, the QR code needs to be scanned to obtain the information. Then, this information is compared with the information stored on the server to verify the information stored in the QR code and complete the ticket verification.
[0004] Therefore, how to perform data verification under various network conditions and improve the efficiency of data verification has become an urgent problem to be solved. Summary of the Invention
[0005] The purpose of this invention is to provide a data verification system, method, apparatus, and electronic device to achieve data verification under various network conditions and improve the efficiency of data verification. The specific technical solution is as follows:
[0006] In a first aspect of the present invention, a data verification system is provided, the system comprising: at least one local terminal device and a remote terminal device;
[0007] Each local terminal device is configured to send a data acquisition request carrying a project identifier of the project to be verified to the remote terminal device; receive and store the target raw data about the project to be verified fed back by the remote terminal device; acquire the verification information about the project to be verified; search for the target data content corresponding to the verification data number included in the verification information in the target raw data; compare the verification data content included in the verification information with the target data content to obtain a verification result; wherein each entry in the target raw data includes: a data number and data content;
[0008] The remote terminal device is used to receive the data acquisition request; search for the target original data corresponding to the project identifier in the pre-stored correspondence between the project and the original data, and feed back the target original data to the local terminal device.
[0009] Optionally, in one specific implementation, the remote terminal device is further used for:
[0010] Obtain the verification information for the item to be verified; in the correspondence, find the target original data, and in the target original data, find the target data content corresponding to the data number to be verified; compare the data content to be verified and the target data content to obtain the verification result.
[0011] Optionally, in one specific implementation, the system further includes: at least one user terminal device.
[0012] Each of the local terminal devices is further configured to generate a verification record including the verification result and the information to be verified, and send the verification record to the remote terminal device;
[0013] The remote terminal device is also configured to receive the verification record sent by each of the local terminal devices; and determine whether there are multiple verification records with the same data number among all the acquired verification records; if so, send alarm information to each of the local terminal devices and / or each of the user terminal devices;
[0014] Wherein, if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records with the same data number among the acquired verification records.
[0015] Each of the local terminal devices is also configured to receive the alarm information sent by the remote terminal device;
[0016] Each of the user terminal devices is configured to receive the alarm information sent by the remote terminal device and output the alarm information.
[0017] Optionally, in one specific implementation, the system further includes: at least one user terminal device;
[0018] The remote terminal device is further configured to, when there are multiple verification records with the same data number, add a specified tag to the multiple verification records with the same data number, and send the target verification record with the specified tag added to each of the local terminal devices and / or each of the user terminal devices;
[0019] Each of the local terminal devices is also configured to receive the target verification record sent by the remote terminal device;
[0020] Each of the user terminal devices is also configured to receive the target verification record sent by the remote terminal device.
[0021] Optionally, in one specific implementation, the system further includes: at least one user terminal device;
[0022] Each of the local terminal devices is further configured to generate a verification record including the verification result and the information to be verified, and send the verification record to the remote terminal device;
[0023] The remote terminal device is further configured to receive the verification records sent by each of the local terminal devices; and to send to each of the local terminal devices all the acquired verification records, excluding the verification records generated by the local terminal device; wherein, if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device;
[0024] Each of the local terminal devices is further configured to receive verification records sent by the remote terminal device; determine whether there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records; if so, send alarm information to the remote terminal device and / or each of the user terminal devices; wherein the alarm information is: information used to indicate that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records;
[0025] The remote terminal device is also configured to receive the alarm information sent by each of the local terminal devices, and send the alarm information to other local terminal devices other than the local terminal device that sent the verification record to the remote terminal device;
[0026] Each of the user terminal devices is also configured to receive the alarm information sent by each of the local terminal devices and output the alarm information.
[0027] Optionally, in one specific implementation, each of the local terminal devices is further configured to add a specified tag to the multiple verification records with the same data number when there are multiple verification records with the same data number, and send the target verification record with the specified tag added to the remote terminal device, and / or each of the user terminal devices;
[0028] The remote terminal device is further configured to receive the target verification record sent by each of the local terminal devices, and send the target verification record to other local terminal devices other than the local terminal device that sent the verification record to the remote terminal device;
[0029] Each of the user terminal devices is also configured to receive the target verification record sent by each of the local terminal devices.
[0030] Optionally, in one specific implementation, each of the local terminal devices is further configured to output the alarm information; and / or,
[0031] The remote terminal device is also used to output the alarm information.
[0032] Optionally, in one specific implementation, before sending the verification record to the remote terminal device, each local terminal device is further configured to:
[0033] Detect whether the network status between the local terminal device and the remote terminal device meets the preset status;
[0034] If the conditions are met, the verification record that was not sent to the remote terminal device will be sent to the remote terminal device.
[0035] If the condition is not met, the process returns to the step of detecting whether the network status between the local device and the remote device meets the preset status after a specified period of time.
[0036] Optionally, in one specific implementation, each local terminal device sends verification records that were not sent to the remote terminal device to the remote terminal device, including:
[0037] Determine the generation time of the latest generated verification record last sent to the remote device, and send verification records generated between that generation time and the current time to the remote device; and record the generation time of the latest generated verification record sent; or,
[0038] Determine the target number of the entry containing the last verification record previously sent to the remote terminal device; send verification records with a number of entries greater than the target number to the remote terminal device; and record the entry containing the last verification record currently sent as the new target number.
[0039] Optionally, in one specific implementation, the remote terminal device is further configured to update the stored target original data based on the first user's operation;
[0040] Each of the local terminal devices is further configured to acquire the target raw data from the remote terminal device according to a preset period, and update the stored target raw data based on the acquired target raw data; and / or, based on a second user operation, acquire the target raw data from the remote terminal device, and update the stored target raw data based on the acquired target raw data.
[0041] In a second aspect of the invention, a data verification method is also provided, applied to each local terminal device in a data verification system; the system further includes: a remote terminal device; the method includes:
[0042] Obtain verification information about the project to be verified;
[0043] In the target raw data fed back by the remote terminal device, the target data content corresponding to the data number to be verified included in the information to be verified is searched; wherein, the target raw data is the raw data corresponding to the project identifier that the remote terminal device finds in the pre-stored correspondence between projects and raw data after receiving a data acquisition request carrying the project identifier of the project to be verified sent by the local terminal device; each entry in the target raw data includes: data number and data content;
[0044] The verification result is obtained by comparing the data content to be verified included in the information to be verified with the target data content.
[0045] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the method further includes:
[0046] A verification record including verification results and information to be verified is generated and sent to the remote terminal device. Upon receiving verification records from each local terminal device, the remote terminal device determines whether multiple verification records with the same data number exist among all the acquired verification records. If so, an alarm message is sent to each local terminal device and / or each user terminal device. Wherein, if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the alarm message is used to indicate that multiple verification records with the same data number exist among all the verification records.
[0047] Receive alarm information sent by the remote terminal device.
[0048] Optionally, in one specific implementation, the method further includes:
[0049] The system receives a target verification record sent by the remote terminal device; wherein the target verification record is a verification record with the specified mark added, which is sent by the remote terminal device to each local terminal device after determining that there are multiple verification records with the same data number among all verification records.
[0050] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the method further includes:
[0051] Generate a verification record including the verification result and the information to be verified, and send the verification record to the remote terminal device;
[0052] The system receives verification records sent by the remote terminal device; determines whether there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records; if so, it sends alarm information to the remote terminal device and / or each of the user terminal devices; wherein, the verification records sent by the remote terminal device are the verification records other than those generated by the local terminal device, which are all the verification records acquired by the remote terminal device after receiving the verification records sent by each local terminal device; if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records.
[0053] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the method further includes:
[0054] When it is determined that there are multiple verification records with the same data number among all the verification records, a specified tag is added to the multiple verification records with the same data number, and the target verification record with the specified tag is sent to the remote terminal device and / or each of the user terminal devices, so that each of the user terminal devices and / or the remote terminal device receives the target verification record sent by each of the local terminal devices, and after receiving the target verification record sent by each local terminal device, the remote terminal device sends the target verification record to other local terminal devices other than the local terminal device that sent the verification record to the remote terminal device.
[0055] Optionally, in one specific implementation, the method further includes:
[0056] Output the alarm information sent by the remote terminal device.
[0057] Optionally, in one specific implementation, before sending the verification record to the remote terminal device, the method further includes:
[0058] Detect whether the network status between the local terminal device and the remote terminal device meets the preset status;
[0059] If the conditions are met, the verification record that was not sent to the remote terminal device will be sent to the remote terminal device.
[0060] If the conditions are not met, the process returns to the step of checking whether the network status between the local device and the remote device meets the preset conditions after a specified period of time.
[0061] Optionally, in one specific implementation, each local terminal device sends verification records that were not sent to the remote terminal device to the remote terminal device, including:
[0062] Determine the generation time of the latest generated verification record last sent to the remote device, and send verification records generated between that generation time and the current time to the remote device; and record the generation time of the latest generated verification record sent; or,
[0063] Determine the target number of the entry containing the last verification record previously sent to the remote terminal device; send verification records with a number of entries greater than the target number to the remote terminal device; and record the entry containing the last verification record currently sent as the new target number.
[0064] Optionally, in one specific implementation, the method further includes:
[0065] According to a preset period, the target raw data is obtained from the remote terminal device, and the target raw data stored in each local terminal device is updated based on the obtained target raw data; and / or, based on a second user operation, the target raw data is obtained from the remote terminal device, and the target raw data stored in each local terminal device is updated based on the obtained target raw data.
[0066] In a third aspect of the invention, a data verification method is also provided, applied to a remote terminal device in a data verification system; the system further includes: at least one local terminal device; the method includes:
[0067] Obtain verification information about the project to be verified;
[0068] In the correspondence, the target original data is searched, and in the target original data, the target data content corresponding to the data number to be verified is searched; wherein, the correspondence is a correspondence between the project and the original data pre-stored in the remote terminal device;
[0069] The verification result is obtained by comparing the data content to be verified with the target data content.
[0070] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the method further includes:
[0071] Receive verification records sent by each local terminal device; and determine whether there are multiple verification records with the same data number among all the acquired verification records; if so, send alarm information to each local terminal device and / or each user terminal device;
[0072] Wherein, the verification record sent by each local terminal device is a verification record generated by each local terminal device after obtaining the verification result of the verification information of the item to be verified, including the verification result and the verification information; the verification result obtained by each local terminal device is obtained by each local terminal device after obtaining the verification information of the item to be verified, comparing the target data content corresponding to the verification data number included in the verification information in the target original data with the verification data content included in the verification information; if the remote terminal device performs a data verification operation, then all the obtained verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, then all the obtained verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records including the same data number among all the verification records.
[0073] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the method further includes:
[0074] When multiple verification records with the same data number exist, a specified tag is added to the multiple verification records with the same data number, and the target verification record with the specified tag is sent to each local terminal device and / or each user terminal device, so that each local terminal device and / or each user terminal device receives the target verification record sent by the remote terminal device.
[0075] Optionally, in one specific implementation, the method further includes:
[0076] Receive verification records sent by each local terminal device; and send to each local terminal device all verification records obtained, excluding the verification records generated by that local terminal device.
[0077] Wherein, if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the verification records sent by each local terminal device are the verification records sent by each local terminal device to the remote terminal device after generating a verification record including the verification result and the information to be verified;
[0078] Receive alarm information sent by each local terminal device, and send alarm information to other local terminal devices other than the local terminal device that sent verification records to the remote terminal device;
[0079] The alarm information is information sent by each local terminal device to the remote terminal device and / or each user terminal after receiving the verification record sent by the remote terminal device, when the local terminal device determines that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records. This information is used to indicate that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records.
[0080] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the method further includes:
[0081] Receive the target verification record sent by each local terminal device, and send the target verification record to each user terminal device, and / or other local terminal devices other than the local terminal device that send the verification record to the remote terminal device;
[0082] The target verification record is a verification record with a specified tag that is sent to the remote terminal device by each local terminal device after determining that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the verification records received.
[0083] Optionally, in one specific implementation, the method further includes:
[0084] Output the alarm information sent by each local terminal device.
[0085] Optionally, in one specific implementation, the method further includes:
[0086] Based on the first user's operation, update the target original data stored in the remote terminal device.
[0087] In a fourth aspect of this invention, a data verification method is also provided, applied to each local terminal device in a data verification system; the method includes:
[0088] Obtain verification information about the project to be verified;
[0089] In the pre-acquired target raw data, find the target data content corresponding to the data number to be verified included in the information to be verified; wherein, each entry in the target raw data includes: data number and data content;
[0090] The verification result is obtained by comparing the data content to be verified included in the information to be verified with the target data content.
[0091] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device and a remote terminal device, and the method further includes:
[0092] A verification record including verification results and information to be verified is generated and sent to the remote terminal device. Upon receiving verification records from each local terminal device, the remote terminal device determines whether multiple verification records with the same data number exist among all the acquired verification records. If so, an alarm message is sent to each local terminal device and / or each user terminal device. Wherein, if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the alarm message is used to indicate that multiple verification records with the same data number exist among all the verification records.
[0093] Receive alarm information sent by the remote terminal device.
[0094] Optionally, in one specific implementation, the data verification system further includes a remote terminal device, and the method further includes:
[0095] The system receives a target verification record sent by the remote terminal device; wherein the target verification record is a verification record with the specified mark added, which is sent by the remote terminal device to each local terminal device after determining that there are multiple verification records with the same data number among all verification records.
[0096] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device and a remote terminal device, and the method further includes:
[0097] Generate a verification record including the verification result and the information to be verified, and send the verification record to the remote terminal device;
[0098] The system receives verification records sent by the remote terminal device; determines whether there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records; if so, it sends alarm information to the remote terminal device and / or each of the user terminal devices; wherein, the verification records sent by the remote terminal device are the verification records other than those generated by the local terminal device, which are all the verification records acquired by the remote terminal device after receiving the verification records sent by each local terminal device; if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records.
[0099] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device and a remote terminal device, and the method further includes:
[0100] When it is determined that there are multiple verification records with the same data number among all the verification records, a specified tag is added to the multiple verification records with the same data number, and the target verification record with the specified tag is sent to the remote terminal device and / or each of the user terminal devices, so that each of the user terminal devices and / or the remote terminal device receives the target verification record sent by each of the local terminal devices, and after receiving the target verification record sent by each local terminal device, the remote terminal device sends the target verification record to other local terminal devices other than the local terminal device that sent the verification record to the remote terminal device.
[0101] Optionally, in one specific implementation, the data verification system further includes a remote terminal device, and the method further includes:
[0102] Output the alarm information sent by the remote terminal device.
[0103] Optionally, in one specific implementation, before sending the verification record to the remote terminal device, the method further includes:
[0104] Detect whether the network status between the local terminal device and the remote terminal device meets the preset status;
[0105] If the conditions are met, the verification record that was not sent to the remote terminal device will be sent to the remote terminal device.
[0106] If the conditions are not met, the process returns to the step of checking whether the network status between the local device and the remote device meets the preset conditions after a specified period of time.
[0107] Optionally, in one specific implementation, each local terminal device sends verification records that were not sent to the remote terminal device to the remote terminal device, including:
[0108] Determine the generation time of the latest generated verification record last sent to the remote device, and send verification records generated between that generation time and the current time to the remote device; and record the generation time of the latest generated verification record sent; or,
[0109] Determine the target number of the entry containing the last verification record previously sent to the remote terminal device; send verification records with a number of entries greater than the target number to the remote terminal device; and record the entry containing the last verification record currently sent as the new target number.
[0110] Optionally, in one specific implementation, the data verification system further includes a remote terminal device, and the method further includes:
[0111] According to a preset cycle, the target raw data is obtained from the remote terminal device, and the target raw data stored in each local terminal device is updated based on the obtained target raw data; and / or, based on a second user operation, the target raw data is obtained from the remote terminal device, and the target raw data stored in each local terminal device is updated based on the obtained target raw data; or, based on a third user operation, the target raw data is input into each local terminal device, and the target raw data stored in each local terminal device is updated.
[0112] In a fifth aspect of the invention, a data verification apparatus is also provided, applied to each local terminal device in a data verification system; the system further includes: a remote terminal device; the apparatus includes:
[0113] The first module for obtaining verification information is used to obtain verification information about the project to be verified.
[0114] The data content lookup module is used to search for the target data content corresponding to the data number to be verified included in the target raw data fed back by the remote terminal device; wherein, the target raw data is the raw data corresponding to the project identifier that the remote terminal device finds in a pre-stored correspondence between projects and raw data after receiving a data acquisition request carrying the project identifier of the project to be verified sent by the local terminal device; each entry in the target raw data includes: data number and data content;
[0115] The first result acquisition module is used to compare the data content to be verified included in the information to be verified with the target data content to obtain the verification result.
[0116] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the apparatus further includes:
[0117] A verification record processing module is used to generate verification records including verification results and information to be verified, and send the verification records to the remote terminal device; so that after receiving the verification records sent by each local terminal device, the remote terminal device determines whether there are multiple verification records with the same data number among all the acquired verification records; if so, it sends alarm information to each local terminal device and / or each user terminal device; wherein, if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records with the same data number among all the verification records;
[0118] The first alarm information receiving module is used to receive alarm information sent by the remote terminal device.
[0119] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the apparatus further includes:
[0120] The first target verification record receiving module is used to receive the target verification record sent by the remote terminal device; wherein, the target verification record is a verification record with the added specified mark sent by the remote terminal device to each local terminal device and / or each user terminal device after determining that there are multiple verification records with the same data number among all verification records.
[0121] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the apparatus further includes:
[0122] The verification record processing module is specifically used to generate a verification record including the verification result and the information to be verified, and to send the verification record to the remote terminal device;
[0123] The first verification record judgment module is used to receive verification records sent by the remote terminal device; determine whether there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records; if so, send alarm information to the remote terminal device and / or each of the user terminal devices; wherein, the verification records sent by the remote terminal device are the verification records other than the verification records generated by the local terminal device among all the verification records obtained by the remote terminal device after receiving the verification records sent by each local terminal device; if the remote terminal device performs a data verification operation, the obtained verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the obtained verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records.
[0124] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the apparatus further includes:
[0125] The first tag-adding module is used to add a specified tag to the multiple verification records with the same data number when it is determined that there are multiple verification records with the same data number among all the verification records, and send the target verification record with the specified tag added to the remote terminal device and / or each of the user terminal devices, so that each of the user terminal devices and / or the remote terminal device receives the target verification record sent by each of the local terminal devices, and after receiving the target verification record sent by each local terminal device, the remote terminal device sends the target verification record to other local terminal devices other than the local terminal device that sent the verification record to the remote terminal device.
[0126] Optionally, in one specific implementation, the apparatus further includes:
[0127] The first alarm output module is used to output the alarm information sent by the remote terminal device;
[0128] Optionally, in one specific implementation, the apparatus further includes:
[0129] The first verification record judgment module is specifically used to detect whether the network status between the local terminal device and the remote terminal device meets the preset status before sending the verification record to the remote terminal device; if it meets the preset status, the first record sending module is triggered; if it does not meet the preset status, the return module is triggered.
[0130] The first record sending module is used to send verification records that have not been sent to the remote terminal device to the remote terminal device;
[0131] The return module is used to return the step of detecting whether the network status between the local terminal device and the remote terminal device meets the preset status after a specified time.
[0132] Optionally, in one specific implementation, the first record sending module is specifically used for:
[0133] Determine the generation time of the latest generated verification record last sent to the remote device, and send verification records generated between that generation time and the current time to the remote device; and record the generation time of the latest generated verification record sent; or,
[0134] Determine the target number of the entry containing the last verification record previously sent to the remote terminal device; send verification records with a number of entries greater than the target number to the remote terminal device; and record the entry containing the last verification record currently sent as the new target number.
[0135] Optionally, in one specific implementation, the apparatus further includes:
[0136] The first update module is used to obtain the target raw data from the remote terminal device according to a preset period, and update the target raw data stored in each local terminal device based on the obtained target raw data; and / or, based on a second user operation, obtain the target raw data from the remote terminal device, and update the target raw data stored in each local terminal device based on the obtained target raw data.
[0137] In a sixth aspect of the present invention, a data verification device is also provided, applied to a remote terminal device in a data verification system; the system further includes: at least one local terminal device; the device includes:
[0138] The second module for obtaining verification information is used to obtain verification information about the project to be verified.
[0139] The target raw data lookup module is used to search for target raw data in the correspondence relationship, and to search for the target data content corresponding to the data number to be verified in the target raw data; wherein, the correspondence relationship is a correspondence relationship between the project and the raw data pre-stored in the remote terminal device;
[0140] The second result acquisition module is used to compare the data content to be verified with the target data content to obtain the verification result.
[0141] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the apparatus further includes:
[0142] The second verification record judgment module is used to receive the verification records sent by each local terminal device; and to determine whether there are multiple verification records with the same data number among all the obtained verification records; if so, to send alarm information to each local terminal device and / or each user terminal device.
[0143] The verification record sent by each local terminal device is the verification record sent to the remote terminal device after generating a verification record including the verification result and the information to be verified. If the remote terminal device performs a data verification operation, the total number of verification records obtained includes the verification record generated by the remote terminal device and the verification record received by the remote terminal device. If the remote terminal device does not perform a data verification operation, the total number of verification records obtained includes the verification record received by the remote terminal device. The alarm information is used to indicate that there are multiple verification records with the same data number among all the verification records.
[0144] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the apparatus further includes:
[0145] The second tag-adding module is used to add a specified tag to multiple verification records with the same data number when multiple verification records with the same data number exist, and send the target verification record with the specified tag added to each local terminal device and / or each user terminal device, so that each local terminal device and / or each user terminal device receives the target verification record sent by the remote terminal device.
[0146] Optionally, in one specific implementation, the apparatus further includes:
[0147] The verification record sending module is used to receive the verification records sent by each local terminal device; and to send to each local terminal device the other verification records other than the verification records generated by that local terminal device from all the acquired verification records.
[0148] Wherein, if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the verification records sent by each local terminal device are the verification records sent by each local terminal device to the remote terminal device after generating a verification record including the verification result and the information to be verified;
[0149] The second alarm information receiving module is used to receive alarm information sent by each local terminal device, and to send alarm information to other local terminal devices other than the local terminal device that send verification records to the remote terminal device;
[0150] The alarm information is information sent by each local terminal device to the remote terminal device and / or each user terminal after receiving the verification record sent by the remote terminal device, when the local terminal device determines that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records. This information is used to indicate that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records.
[0151] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the apparatus further includes:
[0152] The target verification record sending module is used to receive the target verification record sent by each local terminal device, and send the target verification record to each user terminal device, and / or other local terminal devices other than the local terminal device that send verification records to the remote terminal device;
[0153] The target verification record is a verification record with a specified tag that is sent to the remote terminal device by each local terminal device after determining that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the verification records received.
[0154] Optionally, in one specific implementation, the apparatus further includes:
[0155] The second alarm output module is used to output the alarm information sent by each local terminal device.
[0156] Optionally, in one specific implementation, the apparatus further includes:
[0157] The second update module is used to update the target original data stored in the remote terminal device based on the first user's operation.
[0158] In a seventh aspect of the invention, a data verification apparatus is also provided, applied to each local terminal device in a data verification system; the apparatus includes:
[0159] The third module for obtaining verification information is used to obtain verification information about the project to be verified.
[0160] The data content search module is used to search for the target data content corresponding to the data number to be verified included in the information to be verified in the pre-acquired target raw data; wherein, each entry in the target raw data includes: data number and data content;
[0161] The third result acquisition module is used to compare the data content to be verified included in the information to be verified with the target data content to obtain the verification result.
[0162] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device and a remote terminal device, and the apparatus further includes:
[0163] A verification record processing module is used to generate verification records including verification results and information to be verified, and send the verification records to the remote terminal device; so that after receiving the verification records sent by each local terminal device, the remote terminal device determines whether there are multiple verification records with the same data number among all the acquired verification records; if so, it sends alarm information to each local terminal device and / or each user terminal device; wherein, if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records with the same data number among all the verification records;
[0164] The third alarm information receiving module receives alarm information sent by the remote terminal device.
[0165] Optionally, in one specific implementation, the data verification system further includes a remote terminal device, and the device further includes:
[0166] The third target verification record receiving module is used to receive the target verification record sent by the remote terminal device; wherein, the target verification record is the verification record with the specified mark added sent by the remote terminal device to each local terminal device after determining that there are multiple verification records with the same data number among all the verification records.
[0167] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device and a remote terminal device, and the apparatus further includes:
[0168] The verification record processing module is specifically used to generate a verification record including the verification result and the information to be verified, and to send the verification record to the remote terminal device;
[0169] The third verification record judgment module is used to receive verification records sent by the remote terminal device; determine whether there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records; if so, send alarm information to the remote terminal device and / or each of the user terminal devices; wherein, the verification records sent by the remote terminal device are the verification records other than the verification records generated by the local terminal device among all the verification records obtained by the remote terminal device after receiving the verification records sent by each local terminal device; if the remote terminal device performs a data verification operation, the obtained verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the obtained verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records.
[0170] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device and a remote terminal device, and the apparatus further includes:
[0171] The third tag-adding module is used to add a specified tag to the multiple verification records with the same data number when it is determined that there are multiple verification records with the same data number among all the verification records, and send the target verification record with the specified tag to the remote terminal device and / or each of the user terminal devices, so that each of the user terminal devices and / or the remote terminal device receives the target verification record sent by each of the local terminal devices, and after receiving the target verification record sent by each local terminal device, the remote terminal device sends the target verification record to other local terminal devices other than the local terminal device that sent the verification record to the remote terminal device.
[0172] Optionally, in one specific implementation, the data verification system further includes a remote terminal device, and the device further includes:
[0173] The third alarm output module is used to output the alarm information sent by the remote terminal device.
[0174] Optionally, in one specific implementation, the apparatus further includes:
[0175] The third verification record judgment module is specifically used to detect whether the network status between the local terminal device and the remote terminal device meets the preset status before sending the verification record to the remote terminal device.
[0176] If the conditions are met, the third record sending module is triggered;
[0177] If the condition is not met, the return module will be triggered;
[0178] The third record sending module is used to send verification records that have not been sent to the remote terminal device to the remote terminal device;
[0179] The return module is used to return the step of detecting whether the network status between the local terminal device and the remote terminal device meets the preset status after a specified time period;
[0180] Optionally, in one specific implementation, the third record sending module is specifically used for:
[0181] Determine the generation time of the latest generated verification record last sent to the remote device, and send verification records generated between that generation time and the current time to the remote device; and record the generation time of the latest generated verification record sent; or,
[0182] Determine the target number of the entry containing the last verification record previously sent to the remote terminal device; send verification records with a number of entries greater than the target number to the remote terminal device; and record the entry containing the last verification record currently sent as the new target number.
[0183] Optionally, in one specific implementation, the data verification system further includes a remote terminal device, and the device further includes:
[0184] The third update module acquires the target raw data from the remote terminal device according to a preset period, and updates the target raw data stored in each local terminal device based on the acquired target raw data; and / or, based on a second user operation, acquires the target raw data from the remote terminal device, and updates the target raw data stored in each local terminal device based on the acquired target raw data; or, based on a third user operation, inputs the target raw data into each local terminal device, and updates the target raw data stored in each local terminal device.
[0185] In another aspect of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored therein, and when the computer program is executed by a processor, it implements the steps of any of the data verification methods provided in the second aspect above, or implements the steps of any of the data verification methods provided in the third aspect above, or implements the steps of any of the data verification methods provided in the fourth aspect above.
[0186] In another aspect of the present invention, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to perform the steps of any of the data verification methods provided in the second aspect, or to implement the steps of any of the data verification methods provided in the third aspect, or to implement the steps of any of the data verification methods provided in the fourth aspect.
[0187] This invention provides a data verification system, comprising at least one local device and one remote device. Each local device sends a data acquisition request carrying a project identifier of the item to be verified to the remote device. Upon receiving the data acquisition request, the remote device searches for the target original data in a pre-stored correspondence between items and original data, and then returns the target original data to the local device. Since each entry in the target original data includes a data number and data content, after the local device receives and stores the target original data for the item to be verified from the remote device, it uses the acquired verification information for the item to be verified to search for the target data content corresponding to the verification data number included in the verification information within the target original data. Then, by comparing the verification data content included in the verification information with the target data content, a verification result is obtained, and ticket verification is completed.
[0188] In this way, when verifying the information of the project to be verified, each local device can directly use the target raw data about the project to be verified, which it stores and obtains from the remote device, to perform data verification. This avoids the situation where data verification efficiency is low due to poor network conditions, thus improving the efficiency of data verification. Therefore, data verification can achieve high efficiency under various network conditions. Attached Figure Description
[0189] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.
[0190] Figure 1 This is a schematic diagram of the structure of a data verification system provided in an embodiment of the present invention;
[0191] Figure 2 This is a schematic diagram of the signaling interaction of a data verification system provided in an embodiment of the present invention;
[0192] Figure 3 This is a schematic diagram of another data verification system provided in an embodiment of the present invention;
[0193] Figure 4 In order to be in Figure 2 A schematic diagram of signaling interaction in a data verification system based on the above.
[0194] Figure 5 This is a schematic diagram of the structure of another data verification system provided in an embodiment of the present invention;
[0195] Figure 6 In order to be in Figure 2 A schematic diagram of signaling interaction for another data verification system based on this;
[0196] Figure 7 A schematic diagram of a specific embodiment of the present invention is provided;
[0197] Figure 8 A schematic diagram of the administrator's statistics interface;
[0198] Figure 9 A diagram illustrating the PDA settings interface;
[0199] Figure 10 for Figure 7 The diagram shown is a flowchart of a concert ticket verification system.
[0200] Figure 11 A flowchart illustrating a data verification method provided in an embodiment of the present invention;
[0201] Figure 12 A flowchart illustrating another data verification method provided in an embodiment of the present invention;
[0202] Figure 13 A flowchart illustrating another data verification method provided in an embodiment of the present invention;
[0203] Figure 14 for Figure 11 A schematic diagram of a data verification device for a provided data verification method;
[0204] Figure 15 for Figure 12 A schematic diagram of a data verification device for a provided data verification method;
[0205] Figure 16 for Figure 13 A schematic diagram of a data verification device for a provided data verification method;
[0206] Figure 17 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present invention. Detailed Implementation
[0207] The technical solutions of the present invention will now be described with reference to the accompanying drawings in the embodiments of the present invention.
[0208] Currently, with the rapid development of internet technology, information can be stored using graphic codes such as QR codes obtained through information encoding technology. Scanning the QR code retrieves the information stored within, enabling verification of that information. For example, concert tickets may include a QR code containing concert information and the ticket purchaser's details. Upon entry, the QR code is scanned to retrieve this information, which is then compared with the information stored on a server to verify its contents. Therefore, improving data verification efficiency under various network conditions is a pressing issue that needs to be addressed.
[0209] To address the aforementioned technical problems, embodiments of the present invention provide a data verification system, which includes at least one local terminal device and a remote terminal device.
[0210] This system is suitable for various application scenarios involving data verification. Examples include verifying concert tickets, attraction tickets, and train tickets.
[0211] Furthermore, both the local and remote devices in this system can be various devices capable of information exchange, such as desktop computers and laptops; the system can include one local device or multiple local devices. The local and remote devices can be in the same space or in different spaces.
[0212] Therefore, the embodiments of the present invention do not specifically limit the application scenarios and execution entities of the system.
[0213] Each local terminal device is configured to send a data acquisition request carrying a project identifier of the project to be verified to the remote terminal device; receive and store the target raw data about the project to be verified fed back by the remote terminal device; acquire the verification information about the project to be verified; search for the target data content corresponding to the verification data number included in the verification information in the target raw data; compare the verification data content included in the verification information with the target data content to obtain a verification result; wherein each entry in the target raw data includes: a data number and data content;
[0214] The remote terminal device is used to receive the data acquisition request; search for the target original data in the pre-stored correspondence between the project and the original data; and feed back the target original data to the local terminal device.
[0215] This invention provides a data verification system, comprising at least one local device and one remote device. Each local device sends a data acquisition request carrying a project identifier of the item to be verified to the remote device. Upon receiving the data acquisition request, the remote device searches for the target original data in a pre-stored correspondence between items and original data, and then returns the target original data to the local device. Since each entry in the target original data includes a data number and data content, after the local device receives and stores the target original data for the item to be verified from the remote device, it uses the acquired verification information for the item to be verified to search for the target data content corresponding to the verification data number included in the verification information within the target original data. Then, by comparing the verification data content included in the verification information with the target data content, a verification result is obtained, and ticket verification is completed.
[0216] In this way, when verifying the information of the project to be verified, each local device can directly use the target raw data about the project to be verified, which it stores and obtains from the remote device, to perform data verification. This avoids the situation where data verification efficiency is low due to poor network conditions, thus improving the efficiency of data verification. Therefore, data verification can achieve high efficiency under various network conditions.
[0217] The following description, in conjunction with the accompanying drawings, details a data verification system provided by an embodiment of the present invention.
[0218] Figure 1 This is a schematic diagram of the structure of a data verification system provided in an embodiment of the present invention, as shown below. Figure 1 As shown, the system may include at least one local terminal device 10 and a remote terminal device 20.
[0219] Each local terminal device 10 is configured to send a data acquisition request carrying a project identifier of the project to be verified to the remote terminal device 20; receive and store the target raw data about the project to be verified fed back by the remote terminal device 20; acquire the verification information about the project to be verified; search for the target data content corresponding to the verification data number included in the verification information in the target raw data; compare the verification data content included in the verification information with the target data content to obtain the verification result; wherein each entry in the target raw data includes: data number and data content;
[0220] Remote terminal device 20 is used to receive data acquisition requests; search for target original data in the pre-stored correspondence between items and original data, and feed back the target original data to local terminal device 10.
[0221] Below, based on the signaling interaction process between each local terminal device 10 and remote terminal device 20 in the above data verification system, we will examine... Figure 1 The data verification system provided by the embodiment of the present invention shown will be described in detail below.
[0222] Figure 2 This is a schematic diagram of the signaling interaction of a data verification system provided in an embodiment of the present invention, such as... Figure 2 As shown, the interaction process between the remote terminal device 20 and each local terminal device 10 in the data verification system may include the following steps S201-S208.
[0223] S201: Local device 10 sends a data acquisition request to remote device 20, carrying the project identifier of the project to be verified.
[0224] When performing data verification on the information to be verified for the project to be verified, it is necessary to compare the original data of the target to be verified with the information to be verified for the project to be verified. Therefore, before performing data verification, the local device 10 can send a data acquisition request carrying the project identifier of the project to be verified to the remote device 20.
[0225] For example, at the ticket check-in site for concert S, the local device 10 can obtain target raw data about concert S in advance from the remote device 20. This target raw data may include: information about the city hosting the concert, the ticket price of concert S, the venue for concert S, and the type of performance. Therefore, the local device 10 can send a data retrieval request carrying the concert name of concert S to the remote device 20.
[0226] S202: Remote terminal device 20 receives a data acquisition request;
[0227] S203: The remote terminal device 20 searches for the target original data corresponding to the project identifier in the pre-stored correspondence between the project and the original data;
[0228] Each entry in the target raw data includes: data number and data content;
[0229] S204: Remote terminal device 20 sends the target raw data back to local terminal device 10.
[0230] The remote terminal device 20 can pre-store raw data for each project and establish a correspondence between the project and the raw data. The raw data can include multiple entries, and each entry can include a data number and data content.
[0231] In this way, after receiving a data acquisition request sent by the local device 10 carrying the project identifier of the project to be verified, the remote device 20 can respond to the data acquisition request, and according to the project identifier of the project to be verified, search for the original data corresponding to the project identifier in the pre-stored correspondence between the project and the original data, and use it as the target original data for the project to be verified, and then send the found target original data back to the local device 10.
[0232] For example, local device 10 sends a data acquisition request carrying the concert name of concert S to remote device 20. After receiving the data acquisition request, remote device 20 searches for the target original data of concert S in the pre-stored correspondence between concert names and original concert data, and feeds back the found target original data to local device 10.
[0233] S205: Local device 10 receives and stores the target raw data about the project to be verified fed back by remote device 20.
[0234] After receiving the target raw data, the local terminal device 10 can store the target raw data in the local terminal device 10.
[0235] S206: Local device 10 obtains verification information about the item to be verified;
[0236] S207: The local device 10 searches for the target data content corresponding to the data number to be verified included in the target raw data;
[0237] S208: The local device 10 compares the data content to be verified and the target data content included in the information to be verified to obtain the verification result.
[0238] After the local terminal device 10 receives and stores the target raw data about the item to be verified fed back by the remote terminal device 20, the local terminal device 10 can obtain the verification information about the item to be verified, wherein the verification information may include the data number to be verified and the data content to be verified.
[0239] Optionally, a scanning device can be used to scan the verification information of the above-mentioned items to be verified to the local terminal device 10.
[0240] Optionally, the verification information for the aforementioned items to be verified can be input into the aforementioned local terminal device 10.
[0241] Then, the local device 10 can search for the target data content corresponding to the data number to be verified in the stored target raw data, and thus obtain the verification result by comparing the data content to be verified and the target data content.
[0242] For example, after receiving and storing the target raw data about concert S fed back by remote device 20, local device 10 can scan the QR code on a ticket of a certain audience member to obtain information to be verified about the concert. This information may include: concert ticket number, order, venue, etc., where the concert ticket number is the data to be verified number, and the order, venue, etc., are the data content to be verified. Then, in the stored target raw data about concert S, the target data content corresponding to the concert ticket number is searched. Thus, by comparing the order, venue, etc., information with the target data content, the information to be verified can be verified to obtain a verification result.
[0243] In this way, when verifying the information of the project to be verified, each local device can directly use the target raw data about the project to be verified, which it stores and obtains from the remote device, to perform data verification. This avoids the situation where data verification efficiency is low due to poor network conditions, thus improving the efficiency of data verification. Therefore, data verification can achieve high efficiency under various network conditions.
[0244] In some cases, remote terminal device 20 can also directly obtain the verification information about the above-mentioned items to be verified for data verification.
[0245] Optionally, in one specific implementation, the remote terminal device 20 is further used for:
[0246] Obtain the verification information for the project to be verified; in the above correspondence, find the target original data, and in the target original data, find the target data content corresponding to the data number to be verified; compare the data content to be verified and the target data content to obtain the verification result.
[0247] Among them, the remote terminal device 20 can obtain the verification information about the item to be verified by the user's manual input, or by using a scanning device.
[0248] In this specific implementation, the remote terminal device 20 stores the correspondence between the project and the original data. Therefore, when the network is in good condition, that is, when there is no delay or interruption, the remote terminal device 20 can be used to verify the data.
[0249] The remote terminal device 20 can obtain verification information about the item to be verified. Then, in the correspondence stored in the remote terminal device 20, the target original data corresponding to the item to be verified is searched using the item identifier of the item to be verified. Thus, the target data content corresponding to the data number to be verified can be searched in the target original data. Then, by comparing the data content to be verified and the target data content, the verification result about the information to be verified is obtained.
[0250] After performing data verification, the local device 10 can generate a verification record including the aforementioned information to be verified. This verification record is then sent to the remote device 20. When the remote device 20 verifies all the verification records, data conflicts may occur, meaning multiple verification records exist for the same information to be verified. Therefore, the local device 10 can issue an alarm for verification records with data conflicts to alert the user. A data conflict refers to the existence of at least two verification records for the same information to be verified, for example, two verification records for the same information F.
[0251] The information to be verified includes both the data number and the data content. Since the same data number is only applicable in a specific data verification scenario, it's possible to determine whether there are data conflicts across all verification records using this data number.
[0252] Alternatively, in one specific implementation, such as Figure 3 The diagram shown is a structural schematic of a data verification system provided in an embodiment of the present invention. The system may also include at least one user terminal device 30.
[0253] Each local terminal device 10 is also used to generate a verification record including the verification result and the information to be verified, and send the verification record to the remote terminal device 20;
[0254] The remote terminal device 20 is also used to receive verification records sent by each local terminal device 10; and to determine whether there are multiple verification records with the same data number among all the acquired verification records; if so, to send alarm information to each local terminal device 10.
[0255] Wherein, if the remote terminal device 20 performs a data verification operation, the total number of verification records obtained includes: the verification records generated by the remote terminal device 20 and the verification records received by the remote terminal device; if the remote terminal device 20 does not perform a data verification operation, the total number of verification records obtained includes: the verification records received by the remote terminal device 20; the alarm information is used to indicate that there are multiple verification records with the same data number among all the verification records.
[0256] Each local terminal device 10 is also used to receive alarm information sent by the remote terminal device 20.
[0257] Each user terminal device 30 is used to receive alarm information sent by the remote terminal device 20 and output alarm information.
[0258] In this specific implementation, after each local terminal device 10 performs data verification, a verification record including the verification result and the information to be verified can be generated and sent to the remote terminal device 20.
[0259] After receiving the verification record sent by each local terminal device 10, the remote terminal device 20 determines whether there are multiple verification records with the same data number among all the acquired verification records. If there are multiple verification records with the same data number among all the acquired verification records, the remote terminal device 20 sends an alarm message to each local terminal device 10 to notify the user that there are multiple verification records with the same data number among all the verification records.
[0260] In this way, each local terminal device 10 and each user terminal device 30 can receive alarm information sent by the remote terminal device 20.
[0261] To facilitate understanding, the following will be combined with... Figure 4 The signaling interaction process between the local terminal device 10, the remote terminal device 20, and the user terminal device 30 is described in detail.
[0262] like Figure 4 As shown, the data verification system provided in this embodiment of the invention may further include at least one user terminal device 30. Therefore, after step S208, steps S209-S215 are also included:
[0263] S209: Local device 10 generates a verification record including verification results and information to be verified;
[0264] S210: Local device 10 sends the verification record to remote device 20;
[0265] S211: Remote terminal device 20 receives the verification record sent by local terminal device 10;
[0266] S212: The remote terminal device 20 determines whether there are multiple verification records with the same data number among all the verification records obtained; if so, proceed to step S213.
[0267] S213: Remote terminal device 20 sends alarm information to local terminal device 10, and / or, user terminal device 30 sends alarm information.
[0268] Wherein, if the remote terminal device 20 performs a data verification operation, the total number of verification records obtained includes: the verification records generated by the remote terminal device 20 and the verification records received by the remote terminal device 20; if the remote terminal device 20 does not perform a data verification operation, the total number of verification records obtained includes: the verification records received by the remote terminal device 20; the alarm information is used to indicate that there are multiple verification records with the same data number among all the verification records.
[0269] S214: Local terminal device 10 receives alarm information sent by remote terminal device 20;
[0270] S215: User terminal device 30 receives alarm information sent by remote terminal device 20 and outputs alarm information.
[0271] In this specific implementation, after performing data verification, the local terminal device 10 can generate a verification record including the verification result and the information to be verified, and then send the verification record to the remote terminal device 20.
[0272] In a data verification system, multiple devices can be used for data verification, such as multiple local devices 10, one local device 10 and one remote device 20, or multiple local devices 10 and one local device 10. When using the remote device 20 for data verification, the remote device 20 can store the generated verification records. When using multiple local devices 10 for data verification, each of the aforementioned local devices 10 can send the generated verification records to the remote device, thereby enabling the remote device 20 to obtain all the verification records generated by the local devices 10.
[0273] In this way, after receiving the verification record sent by the local terminal device 10, the remote terminal device 20 can determine whether there are multiple verification records with the same data number among all the obtained verification records.
[0274] If the remote terminal device 20 performs a data verification operation, the acquired data includes: the verification record generated by the remote terminal device 20 and the verification record sent from the local terminal device 10 to the remote terminal device 20 received by the remote terminal device 20; if the remote terminal device 20 does not perform a data verification operation, the acquired verification record includes: the verification record sent from each local terminal device 10 to the remote terminal device 20 received by the remote terminal device 20.
[0275] If the above judgment result is that multiple verification records with the same data number exist among all the obtained verification records, it indicates that there is a data conflict among all the verification records of the remote terminal device 20. Therefore, the remote terminal device 20 can send alarm information to the local terminal device 10 and / or the user terminal device 30. The local terminal device 10 can receive the alarm information sent by the remote terminal device 20. The user terminal device 30 can receive the alarm information sent by the remote terminal device 20 and output the alarm information.
[0276] The alarm information is used to indicate that there are multiple verification records with the same data number among all records.
[0277] It should be noted that the user terminal device 30 is used to receive the alarm information sent by the remote terminal device 20, and after receiving the alarm information sent by the remote terminal device 20, outputs the alarm information to remind the user that there are multiple verification records with the same data number in all records.
[0278] For example, at a concert, backstage staff and organizers can monitor the ticket verification process through user devices.
[0279] The alarm information may include one or more of various signals such as sound signals, color signals, vibration signals, and text signals. This embodiment of the invention does not specifically limit this.
[0280] Furthermore, the user terminal device 30 and the aforementioned local terminal device 10, and / or the remote terminal device 20, may be in the same space or in different spaces. The user terminal device 30 may receive only information sent by the local terminal device 10, only information sent by the remote terminal device 20, or information sent by both the local terminal device 10 and the remote terminal device 20. In contrast, this embodiment of the invention does not impose specific limitations.
[0281] Thus, if the user terminal device 30 is in a different location from the aforementioned local terminal device 10 and / or remote terminal device 20, the user holding the user terminal device can know that there are multiple verification records with the same data number in all records.
[0282] For example, when verifying a ticket a for concert S, a verification record will be generated for ticket a, which includes the verification result and the information to be verified.
[0283] Therefore, when verifying concert tickets using local device 10 and remote device 20, remote device 20 performs the verification operation. After obtaining the verification record for each ticket, the local device can send the verification record to remote device 20. After receiving the verification record sent by local device 10, remote device 20 checks whether there are multiple verification records with the same data number among all the obtained verification records. The obtained verification records include those generated by remote device 20 and those received by remote device 20. If multiple verification records with the same data number exist among all the verification records, remote device 20 sends an alarm message to local device 10 and / or each user device. Local device 10 and / or user device 30 can receive information from remote device 20 to notify the user that multiple verification records with the same data number exist among all the verification records.
[0284] When the local terminal device 10 and the remote terminal device 20 are used to verify concert tickets, and the remote terminal device 20 does not perform the ticket verification operation, after receiving the verification record sent by the local terminal device 10, the remote terminal device 20 checks whether there are multiple verification records with the same data number among all the obtained verification records. The obtained verification records include the verification records received by the remote terminal device 20.
[0285] When the remote terminal device 20 discovers that there are multiple verification records with the same data number among the obtained verification records, it can mark the verification record with problems.
[0286] Optionally, in one specific implementation, the system may further include at least one user terminal device 30;
[0287] The remote terminal device 20 is also used to add a specified tag to multiple verification records that include the same data number when there are multiple verification records that include the same data number, and send the target verification record with the specified tag added to the local terminal device 10 and / or the user terminal device 30.
[0288] Local terminal device 10 is also used to receive target verification records sent by remote terminal device 20;
[0289] The user terminal device 30 is also used to receive target verification records sent by the remote terminal device 20.
[0290] In this specific implementation, if the remote terminal device 20 determines that multiple verification records with the same data number exist among all the acquired verification records, the remote terminal device 20 can add a specified tag to the multiple verification records with the same data number and send the target verification record with the specified tag to the local terminal device 10 and / or the user terminal device 30. The local terminal device 10 and / or the user terminal device 30 can receive the target verification record sent by the remote terminal device 20.
[0291] For example, when remote terminal device 20 judges all verification records, if there are three verification records x1, x2, and x3 that include the same data number X, it can add a specified tag to verification record x1, verification record x2, and verification record x3, and send the target verification records with the specified tags added to local terminal device 10 and / or user terminal device 30: target verification record x1, target verification record x2, and target verification record x3. After receiving the target verification records sent by remote terminal device 20, local terminal device 10 and / or user terminal device 30 can determine whether there are multiple verification records that include the same data number.
[0292] Correspondingly, the local terminal device 10 can also determine whether there is a data conflict between the verification record generated by the local terminal device 10 and the received verification record. If there is a data conflict, it can send an alarm message to the remote terminal device 20 and / or each user terminal device to indicate that there is a data conflict between the verification record generated by the local terminal device 10 and the received verification record.
[0293] Alternatively, in one specific implementation, such as Figure 5 The diagram shown is a structural schematic of a data verification system provided in an embodiment of the present invention. The system may also include at least one user terminal device 30.
[0294] Each local terminal device 10 is also used to generate a verification record including the verification result and the information to be verified, and send the verification record to the remote terminal device 20;
[0295] The remote terminal device 20 is also configured to receive verification records sent by each local terminal device 10; and send to each local terminal device 10 all the verification records acquired, excluding the verification records generated by that local terminal device 10; wherein, if the remote terminal device 20 performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device 20 and the verification records received by the remote terminal device 20; if the remote terminal device 20 does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device 20;
[0296] Each local terminal device 10 is also configured to receive verification records sent by the remote terminal device 20; determine whether there are multiple verification records with the same data number among the verification records generated by the local terminal device 10 and the received verification records; if so, send alarm information to the remote terminal device 20 and / or each user terminal device 30; wherein the alarm information is: information used to indicate that there are multiple verification records with the same data number among the verification records generated by the local terminal device 10 and the received verification records;
[0297] The remote terminal device 20 is also used to receive alarm information sent by each local terminal device 10, and to send alarm information to other local terminal devices 10 other than the local terminal device 10 that send verification records to the remote terminal device 20.
[0298] Each user terminal device 30 is used to receive alarm information sent by each local terminal device 10 and output alarm information.
[0299] In this specific implementation, after each local terminal device 10 performs data verification, a verification record including the verification result and the information to be verified can be generated and sent to the remote terminal device 20.
[0300] After receiving the verification record sent by each local terminal device 10, the remote terminal device 20 sends to each local terminal device 10 the other verification records besides the verification record generated by that local terminal device 10 from all the obtained verification records.
[0301] Wherein, if the remote terminal device 20 performs a data verification operation, the total number of verification records obtained includes: the verification records generated by the remote terminal device 20 and the verification records received by the remote terminal device 20; if the remote terminal device 20 does not perform a data verification operation, the total number of verification records obtained includes: the verification records received by the remote terminal device 20.
[0302] In this way, after receiving the verification record sent by the remote terminal device, each local terminal device 10 determines whether there are multiple verification records with the same data number among the verification records generated by the local terminal device 10 and the received verification records; if there are multiple verification records with the same data number among the verification records generated by the local terminal device 10 and the received verification records, an alarm message is sent to the remote terminal device 20 and / or each user terminal device 30 to indicate that there are multiple verification records with the same data number among the verification records generated by the local terminal device 10 and the received verification records.
[0303] After receiving alarm information from each local terminal device 10, the remote terminal device 20 sends alarm information to other local terminal devices 10 that have sent verification records to the remote terminal device 20, excluding the local terminal device 10.
[0304] Each user terminal device 30 is also used to receive alarm information sent by the aforementioned local terminal device 10 and to output the aforementioned alarm information.
[0305] This ensures that each local terminal device 10 and / or each user terminal device 30 can receive alarm information, thus ensuring data consistency and accuracy.
[0306] To facilitate understanding, the following will be combined with... Figure 6 The signaling interaction process between the local terminal device 10 and the remote terminal device 20 is described in detail.
[0307] like Figure 6 As shown, after step S208 above, where the local device 10 compares the data content to be verified and the target data content included in the information to be verified to obtain the verification result, steps S216-S224 may also be included:
[0308] S216: Local device 10 generates a verification record including verification results and information to be verified;
[0309] S217: Local device 10 sends the verification record to remote device 20;
[0310] S218: Remote terminal device 20 receives the verification record sent by local terminal device 10;
[0311] S219: The remote terminal device 20 sends to the local terminal device 10 all the verification records it has acquired, excluding the verification records generated by the local terminal device 10; wherein, if the remote terminal device 20 performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device 20 and the verification records received by the remote terminal device 20; if the remote terminal device 20 does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device 20.
[0312] S220: Local terminal device 10 receives the verification record sent by remote terminal device 20;
[0313] S221: The local terminal device 10 determines whether there are multiple verification records with the same data number among the verification records generated by the local terminal device 10 and the received verification records; if so, step S222 is executed.
[0314] S222: Local terminal device 10 sends alarm information to remote terminal device 20 and / or user terminal device;
[0315] The alarm information is used to indicate that there are multiple verification records with the same data number among the verification records generated and received by the local terminal device.
[0316] S223: The remote terminal device 20 receives the alarm information sent by the local terminal device 10, and sends the alarm information to other local terminal devices 10 that send verification records to the remote terminal device 20, excluding the local terminal device 10.
[0317] S224: User terminal device 30 receives alarm information sent by local terminal device 10 and outputs alarm information.
[0318] In this specific implementation, the local device 10 can generate a verification record including the verification result and the information to be verified, and send the obtained verification record to the remote device 20. After receiving the verification record sent by the local device 10, the remote device sends to the local device 10 all the verification records it has acquired, excluding the verification record generated by the local device 10.
[0319] If the remote terminal device 20 performs a data verification operation, the total number of verification records obtained above includes: the verification records generated by the remote terminal device 20 and the verification records received by the remote terminal device 20; if the remote terminal device 20 does not perform a data verification operation, the total number of verification records obtained above includes: the verification records received by the remote terminal device 20.
[0320] In this way, after receiving the verification record sent by the remote terminal device 20, the local terminal device 10 can determine whether there are multiple verification records with the same data number among the verification records generated by the local terminal device 10 and the received verification records.
[0321] If the above judgment result is that there are multiple verification records with the same data number among the verification records generated and received by the local terminal device 10, it can be said that there is a data conflict in the above verification records. Therefore, the local terminal device 10 can send an alarm message to the remote terminal device 20 and / or the user terminal device to indicate that there are multiple verification records with the same data number among the verification records generated and received by the local terminal device 10.
[0322] In this way, after receiving the alarm signal sent by the local terminal device 10, the remote terminal device 20 can send alarm information sent by other local terminal devices 10 that send the above verification record to the remote terminal device 10, in addition to the local terminal device 10.
[0323] After receiving the alarm signal sent by the local terminal device 10, the user terminal device 30 can output the alarm signal.
[0324] For example, when a local device verifies a ticket a for concert S, it generates a verification record for ticket a that includes the verification result and information to be verified.
[0325] Therefore, when verifying concert tickets using local device 10 and remote device 20, remote device 20 performs the verification operation. After obtaining the verification record for each ticket, local device 10 can send the verification record to remote device 20. Upon receiving the verification record from local device 10, remote device 20 sends all verification records obtained from the total number of verification records acquired, excluding those generated by that local device 10, to each local device 10. The total number of verification records acquired includes both those generated by remote device 20 and those received by remote device 20. Therefore, after receiving the verification record sent by the remote terminal device 20, the local terminal device 10 determines whether there are multiple verification records with the same data number among the verification records generated by the local terminal device 10 and the received verification records. If there are multiple verification records with the same data number, the local terminal device 10 sends an alarm message to the remote terminal device 20 and / or each user terminal device 30, so that the remote terminal device 20 and / or each user terminal device 30 receive the information sent by the local terminal device 10 to prompt the user that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records. After receiving the alarm message sent by the local terminal device 10, the remote terminal device 20 sends alarm messages to other local terminal devices 10 that send verification records to the remote terminal device 20, excluding the local terminal device 10. After receiving the alarm message sent by the local terminal device 10, each user terminal device 30 outputs the aforementioned alarm message.
[0326] When concert tickets are verified using local device 10 and remote device 20, but remote device 20 does not perform verification, local device 10, after obtaining the verification record for each ticket, can send the verification record to remote device 20. Upon receiving the verification record from local device 10, remote device 20 sends all verification records obtained from the total number of verification records acquired, excluding those generated by that local device 10, to each local device 10. The total number of verification records acquired includes those received by remote device 20.
[0327] If data conflicts exist among all generated verification records, a specified flag can be added to the verification records with data conflicts to make it easier for users to find them.
[0328] Optionally, in one specific implementation, the system may further include at least one user terminal device 30;
[0329] The local terminal device 10 is also used to add a specified tag to the multiple verification records that include the same data number when there are multiple verification records that include the same data number, and send the target verification record with the specified tag added to the remote terminal device 20 and / or the user terminal device 30.
[0330] The remote terminal device 20 is also used to receive the target verification record sent by the local terminal device 10, and to send the target verification record to other local terminal devices 10 other than the local terminal device 10 that sent the verification record to the remote terminal device 20.
[0331] The user terminal device 30 is also used to receive the target verification record sent by the local terminal device 10.
[0332] In this specific implementation, when multiple verification records with the same data number exist, the local terminal device 10 can add a specified tag to the multiple verification records with the same data number and send the target verification record with the specified tag added to the remote terminal device 20 and / or the user terminal device 30. After receiving the target verification record sent by the local terminal device 10, the remote terminal device 20 sends the target verification record to other local terminal devices 10 (excluding the local terminal device 10) that sent the verification record to the remote terminal device 20. The user terminal device 30 can receive the target verification record sent by the local terminal device 10.
[0333] For example, when judging all verification records, if three verification records s1, s2, and s3 with the same data number S exist, the local terminal device 10 can add a specified tag to verification records s1, s2, and s3, and send the target verification records with the specified tags to the remote terminal device 20 and / or the user terminal device 30: target verification record s1, target verification record s2, and target verification record s3. The user terminal device 30 can receive the target verification records sent by the local terminal device 10. After receiving the target verification records sent by the local terminal device 10, the remote terminal device 20 sends the target verification records to other local terminal devices 10 that sent verification records to the remote terminal device 20.
[0334] Optionally, in one specific implementation, based on the specific implementation of each of the above devices judging whether there are multiple verification records with the same data number in the verification records, the local terminal device 10 can also be used to output alarm information to prompt the user that there are multiple verification records with the same data number in all verification records.
[0335] In this specific implementation, after receiving the alarm information sent by the remote terminal device 20, the local terminal device 10 outputs the alarm information to remind the user that there are multiple verification records with the same data number in all verification records.
[0336] Correspondingly, in one specific implementation, the remote terminal device 20 can also be used to output alarm information to prompt the user that there are multiple verification records with the same data number in all verification records.
[0337] In this specific implementation, after receiving the alarm information sent by the local terminal device 10, the remote terminal device 20 outputs the alarm information to remind the user that there are multiple verification records with the same data number in all verification records.
[0338] In this way, when the local device 10 and the remote device 20 are located in different spaces, such as different rooms, then each user who is not in the same space can know that there is a data conflict in all the verification records.
[0339] In some cases, before sending the verification record to the remote device 20, the local device 10 can detect the network status between the local device 10 and the remote device 20, so that the network status is in a state where information exchange can be carried out during the information exchange process.
[0340] Optionally, in one specific implementation, each local terminal device 10 is further used to detect whether the network status between the local terminal device 10 and the remote terminal device 20 meets the preset status.
[0341] If the conditions are met, the verification record that was not sent to the remote terminal device 20 will be sent to the remote terminal device 20.
[0342] If the conditions are not met, the process will return to the step of checking whether the network status between the local terminal device 10 and the remote terminal device 20 meets the preset conditions after a specified period of time.
[0343] In this specific implementation, before sending the verification record that has not been sent to the remote terminal device 20 to the remote terminal device 20, each local terminal device 10 can detect whether the network status between the local terminal device 10 and the remote terminal device 20 meets the preset status.
[0344] The preset state refers to the network state between the local device 10 and the remote device 20 such that the possibility of delays or network interruptions during information exchange is low. If the network state between the local device 10 and the remote device 20 meets the preset state, it means that the possibility of delays or network interruptions during information exchange between the local device 10 and the remote device 20 is low. If the network state between the local device 10 and the remote device 20 does not meet the preset state, it means that the possibility of delays or network interruptions during information exchange between the local device 10 and the remote device 20 is high.
[0345] If the network status between the local terminal device 10 and the remote terminal device 20 meets the preset status, the verification record that was not sent to the remote terminal device 20 will be sent to the remote terminal device 20; if the network status between the local terminal device 10 and the remote terminal device 20 does not meet the preset status, after a specified time, the step of checking whether the network status between the local terminal device 10 and the remote terminal device 20 meets the preset status will be returned, and the checking will continue until the network status between the local terminal device 10 and the remote terminal device 20 meets the preset status.
[0346] Optionally, in one specific implementation, before step S210, in which the local device 10 sends the verification record to the remote device 20, the following steps 2101-2103 may also be included:
[0347] Step 2101: Check whether the network status between the local terminal device 10 and the remote terminal device 20 meets the preset status; if it does, proceed to step 2102; if it does not, proceed to step 2103.
[0348] Step 2102: Send the verification record that was not sent to the remote terminal device 20 to the remote terminal device 20;
[0349] Step 2103: After the specified time, return to execute step 2101.
[0350] In this specific implementation, before sending the verification record to the remote terminal device 20, the local terminal device 10 can detect whether the network status between the local terminal device 10 and the remote terminal device 20 meets the preset status.
[0351] If the preset state is met, the verification record that was not sent to the remote terminal device 20 can be sent to the remote terminal device 20; if the preset state is not met, after a specified time, the step of checking whether the network status between the local terminal device 10 and the remote terminal device 20 meets the preset state is returned, and the network status between the local terminal device 10 and the remote terminal device 20 is judged again.
[0352] Optionally, in one specific implementation, in step 2102 above, the local terminal device 10 sends the verification record that was not sent to the remote terminal device 20 to the remote terminal device 20, which may include the following step 11.
[0353] Step 11: Determine the generation time of the latest generated verification record last sent to the remote device 20, and send the verification records generated between the generation time and the current time to the remote device 20; and record the generation time of the latest generated verification record sent.
[0354] In this specific implementation, when each local terminal device 10 sends a verification record that was not sent to the remote terminal device 20 to the remote terminal device 20, firstly, the generation time of the latest generated verification record that each local terminal device 10 last sent to the remote terminal device 20 is determined. Then, the verification record generated between the above generation time and the current time can be sent to the remote terminal device 20, and the generation time of the latest generated verification record sent is recorded. So that the next time each local terminal device 10 sends a verification record that was not sent to the remote terminal device 20 to the remote terminal device 20, the generation time of the latest generated verification record sent this time will be used as the reference generation time.
[0355] For example, if the current time is 15:23:59, and the latest generated verification record last sent by local device 10 to remote device 20 was generated at 15:16:59, then after confirming the generation time of the latest generated verification record last sent to remote device 20 at 15:16:59, the verification record generated between 15:16:59 and the current time 15:23:59 will be sent to remote device 20, and the generation time of the latest generated verification record sent will be recorded as 15:23:59.
[0356] Accordingly, in one specific implementation, in step 2102 above, the local terminal device 10 sends the verification record that was not sent to the remote terminal device 20 to the remote terminal device 20, which may include the following step 12.
[0357] Step 12: Determine the target number of the entry containing the last verification record sent to the remote device 20; send verification records with a number of entries greater than the target number to the remote device 20; and record the entry containing the last verification record sent so far as the new target number.
[0358] In this specific implementation, when the local device 10 generates a verification record, a number is generated sequentially from small to large according to the generation order of the verification record. For example, the number of the first generated verification record is 1, the number of the second generated verification record is 2, the number of the third generated verification record is 3, and so on, and the verification records are generated in sequence.
[0359] When the local terminal device 10 sends a verification record that was not sent to the remote terminal device 20 to the remote terminal device 20, it first determines the target number of the entry containing the last verification record that the local terminal device 10 last sent to the remote terminal device 20. Then, verification records with a number of entries greater than the target number can be sent to the remote terminal device 20. The entry containing the last verification record that was sent is recorded as the new target number. So that when the local terminal device 10 sends a verification record that was not sent to the remote terminal device 20 to the remote terminal device 20 next time, the new target number of the entry containing the last verification record that was sent this time will be used as the reference target number.
[0360] For example, if the target number of the last verification record sent by the local terminal device to the remote terminal device 20 is 1300, after determining the target number, verification records with a number of entries greater than the target number 1300 are sent to the remote terminal device 20, and the new target number of the last verification record sent is recorded.
[0361] When performing data verification, the device performing the verification needs to store the target raw data about the item to be verified.
[0362] Accordingly, in one optional implementation, the remote terminal device 20 is further configured to update the stored target original data based on the first user's operation.
[0363] The local terminal device 10 is also configured to acquire target raw data from the remote terminal device 20 according to a preset period, and update the stored target raw data based on the acquired target raw data; and / or, based on a second user operation, acquire target raw data from the remote terminal device 20, and update the stored target raw data based on the acquired target raw data.
[0364] In this specific implementation, the device performing data verification needs to store the target raw data about the item to be verified. Therefore, if data verification is performed using the remote device 20, the target raw data about the record to be verified stored in the remote device 20 can be updated based on the first user's operation.
[0365] The first user operation can be that the user updates the target original data stored in the remote terminal device 20 by clicking the update button or by entering an instruction to update the target original data.
[0366] When using local terminal device 10 for data verification, target raw data can be obtained from remote terminal device 20 according to a preset period. The local terminal device 10 updates the stored target raw data based on the obtained target raw data, and / or, based on the second user operation, target raw data can be obtained from remote terminal device 20, and the stored target raw data can be updated based on the obtained target raw data.
[0367] The second user operation can update the target original data stored in the local device 10 by clicking the update button or by entering a command to update the target original data.
[0368] Optionally, when using the local terminal device 10 to perform data verification, the target raw data can be obtained from the remote terminal device 20 according to a preset period. The local terminal device 10 updates the stored target raw data based on the obtained target raw data.
[0369] Optionally, when performing data verification using the local terminal device 10, the target raw data can be obtained from the remote terminal device 20 based on the operation of the second user, and the stored target raw data can be updated based on the obtained target raw data.
[0370] Optionally, when performing data verification using each local terminal device 10, the target raw data can first be obtained from the remote terminal device 20 according to a preset period. The local terminal device 10 updates the stored target raw data based on the obtained target raw data, and obtains the target raw data from the remote terminal device 20 based on the second user operation, and updates the stored target raw data based on the obtained target raw data.
[0371] To facilitate understanding of this invention, the following is combined with... Figure 7 Specific embodiments of the present invention will be described below.
[0372] For example, such as Figure 7 As shown, taking concert ticket verification as an example, then Figure 7 The diagram below illustrates the structure of a specific embodiment of the present invention. The data verification system is a concert ticket verification system, which includes a front-end UI (User Interface), a server, multiple modules, and a data source.
[0373] The front-end UI includes: an administrator control interface, an administrator statistics interface, a PDA (Personal Digital Assistant), and a local settings interface; among them, such as Figure 8 As shown, Figure 8 This is a diagram of the administrator statistics interface. The administrator statistics interface can be used to collect information such as ticket number, seat, price class, ticket status, and ticket checking time for each ticket in the concert, so as to collect ticket verification data. Figure 9 This is a diagram of the PDA settings interface. Using the PDA settings interface, users can choose to verify tickets via the internet or via a local area network.
[0374] The server side includes: remote terminal devices and local terminal devices.
[0375] Multiple modules include: a performance information module, ticket verification module, synchronization module, statistics module, and alarm module for remote devices; and a synchronized performance information module, ticket verification module, synchronization module, and alarm module for local devices. Among them, the performance information module and synchronization module of the remote devices and the synchronized performance information module and synchronization module of the local devices perform the tasks of synchronizing basic performance information and synchronizing ticket verification records.
[0376] Data sources include: MySQL (a relational database management system) and Redis (REmote DIctionaryServer, an open-source, network-enabled, in-memory, optional persistent high-performance key-value store database written in ANSI C).
[0377] When using this ticket verification system, a PDA settings interface will pop up when the PDA is powered on, allowing users to choose to use a local device or a remote device for ticket verification.
[0378] When a user chooses to use a local device for ticket verification, the local device's synchronized performance information module sends a data acquisition request containing the concert's name to the remote device. Upon receiving the data acquisition request, the remote device sends the basic information about the concert, pre-configured using the performance information module, to the local device. The local device receives and stores the basic information sent by the remote device. Thus, the local and remote devices complete the task of synchronizing the basic performance information.
[0379] The local device uses the ticket verification module to compare the information in the ticket to be verified with the above basic information, obtains the comparison result, and thus completes the ticket verification.
[0380] The local device synchronizes the generated ticket verification records to the remote device via its synchronization module. This completes the ticket verification record synchronization between the local and remote devices. Upon receiving the ticket verification records from the local device, the remote device checks if multiple verification records with the same data ID exist. If so, it sends an alarm to the local device using its alarm module, indicating the presence of multiple verification records with the same data ID. Specifically, if the remote device performs a ticket verification operation, the acquired ticket verification records include both those generated and received by the remote device; if the remote device does not perform a ticket verification operation, the acquired ticket verification records include only those received by the remote device.
[0381] The local terminal device is also used to synchronize the generated ticket verification records to the aforementioned remote terminal device via a synchronization module within the local terminal device. The remote terminal device receives the ticket verification records sent by the local terminal device and sends back all ticket verification records acquired, excluding those generated by the local terminal device. Specifically, if the remote terminal device performs a ticket verification operation, the acquired ticket verification records include both those generated and those received by the remote terminal device; if the remote terminal device does not perform a ticket verification operation, the acquired ticket verification records include only those received by the remote terminal device. Upon receiving the ticket verification records from the remote terminal device, the local terminal device determines whether multiple ticket verification records with the same data number exist between the generated and received records. If so, it sends an alarm message to the remote terminal device using an alarm module to indicate the presence of multiple ticket verification records with the same data number.
[0382] It should be noted that both remote and local devices include data sources for storing all of the above information, such as MySQL and Redis.
[0383] When a user chooses to use a remote terminal device for ticket verification, the remote terminal device uses the ticket verification module to compare the information included in the ticket to be verified with the basic information about the concert that has been configured in advance using the performance information module, and obtains the comparison result, thereby completing the ticket verification.
[0384] To facilitate understanding the above Figure 7 A structural schematic diagram of a specific embodiment is provided below, in conjunction with... Figure 10 ,right Figure 7 The interactive process of the concert ticket verification system shown will be explained in detail.
[0385] For example, such as Figure 10 As shown, Figure 7 The diagram shows a flowchart of a concert ticket verification system.
[0386] The administrator configures basic information about concert S on the remote device and configures the performance ID (name) to be synchronized using the user settings module of the local device.
[0387] User A uses a remote device to verify tickets, allowing audience members to enter; User B uses a local device's ticket verification module to verify tickets, allowing audience members to enter.
[0388] The local device can synchronize basic performance information through its synchronization module. Before performing the synchronization, the local device can check whether it can connect to the remote device, i.e., whether the network status between the local and remote devices meets the preset requirements. If it can connect to the remote device, it synchronizes the configured basic performance information from the remote device to the local device based on the last synchronization time, records the time, and then returns to the step of checking whether the local device can connect to the remote device after waiting for 5 minutes. If it cannot connect to the remote device, it returns to the step of checking whether the local device can connect to the remote device after waiting for 5 minutes.
[0389] The local device can also synchronize ticket verification records through its synchronization module. Before performing the above synchronization, the local device can check whether it can connect to the remote device, that is, whether the network status between the local and remote devices meets the preset conditions. If it can connect to the remote device, it synchronizes the ticket verification records to both the local and remote devices according to the last synchronization time, achieving bidirectional synchronization of ticket verification records, and records the synchronization time. Then, it checks whether there is conflicting data among all the ticket verification records acquired by the local device. If conflicting data is found, it records the conflicting data in the log and sends an email alert. Then, it waits 30 seconds before starting the next synchronization, that is, after 30 seconds, it executes the step of synchronizing ticket verification records to both the local and remote devices according to the last synchronization time, achieving bidirectional synchronization of ticket verification records.
[0390] If the connection to the remote device cannot be established, wait 5 minutes and then return to the step of checking whether the local device can connect to the remote device.
[0391] Corresponding to the above data verification system, this embodiment of the invention also provides a data verification method, which is applied to each local terminal device in the above data verification system; the above system also includes: a remote terminal device.
[0392] Figure 11 This is a flowchart illustrating a data verification method provided in an embodiment of the present invention, as shown below. Figure 11 As shown, the method may include the following steps S1101-S1103.
[0393] S1101: Obtain verification information about the project to be verified;
[0394] S1102: In the target raw data fed back by the remote terminal device, search for the target data content corresponding to the data number to be verified included in the information to be verified; wherein, the target raw data is the raw data corresponding to the project identifier found by the remote terminal device in the pre-stored correspondence between projects and raw data after receiving a data acquisition request carrying the project identifier of the project to be verified sent by the local terminal device; each entry in the target raw data includes: data number and data content;
[0395] S1103: Compare the data content to be verified included in the information to be verified with the target data content to obtain the verification result.
[0396] As can be seen above, when performing data verification on the information to be verified for a project, each local device can directly utilize the target raw data about the project obtained from the remote device and stored within itself to perform data verification. This avoids the situation where data verification efficiency is low due to poor network conditions, thus improving the efficiency of data verification. Therefore, data verification can achieve high efficiency under various network conditions.
[0397] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the method further includes:
[0398] A verification record including verification results and information to be verified is generated and sent to the remote terminal device. Upon receiving verification records from each local terminal device, the remote terminal device determines whether multiple verification records with the same data number exist among all the acquired verification records. If so, an alarm message is sent to each local terminal device and / or each user terminal device. Wherein, if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the alarm message is used to indicate that multiple verification records with the same data number exist among all the verification records.
[0399] Receive alarm information sent by the remote terminal device.
[0400] Optionally, in one specific implementation, the method further includes:
[0401] The system receives a target verification record sent by the remote terminal device; wherein the target verification record is a verification record with the specified mark added, which is sent by the remote terminal device to each local terminal device after determining that there are multiple verification records with the same data number among all verification records.
[0402] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the method further includes:
[0403] Generate a verification record including the verification result and the information to be verified, and send the verification record to the remote terminal device;
[0404] The system receives verification records sent by the remote terminal device; determines whether there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records; if so, it sends alarm information to the remote terminal device and / or each of the user terminal devices; wherein, the verification records sent by the remote terminal device are the verification records other than those generated by the local terminal device, which are all the verification records acquired by the remote terminal device after receiving the verification records sent by each local terminal device; if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records.
[0405] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the method further includes:
[0406] When it is determined that there are multiple verification records with the same data number among all the verification records, a specified tag is added to the multiple verification records with the same data number, and the target verification record with the specified tag is sent to the remote terminal device and / or each of the user terminal devices, so that each of the user terminal devices and / or the remote terminal device receives the target verification record sent by each of the local terminal devices, and after receiving the target verification record sent by each local terminal device, the remote terminal device sends the target verification record to other local terminal devices other than the local terminal device that sent the verification record to the remote terminal device.
[0407] Optionally, in one specific implementation, the method further includes:
[0408] Output the alarm information sent by the remote terminal device.
[0409] Optionally, in one specific implementation, before sending the verification record to the remote terminal device, the method further includes:
[0410] Detect whether the network status between the local terminal device and the remote terminal device meets the preset status;
[0411] If the conditions are met, the verification record that was not sent to the remote terminal device will be sent to the remote terminal device.
[0412] If the conditions are not met, the process returns to the step of checking whether the network status between the local device and the remote device meets the preset conditions after a specified period of time.
[0413] Optionally, in one specific implementation, each local terminal device sends verification records that were not sent to the remote terminal device to the remote terminal device, including:
[0414] Determine the generation time of the latest generated verification record last sent to the remote device, and send verification records generated between that generation time and the current time to the remote device; and record the generation time of the latest generated verification record sent; or,
[0415] Determine the target number of the entry containing the last verification record previously sent to the remote terminal device; send verification records with a number of entries greater than the target number to the remote terminal device; and record the entry containing the last verification record currently sent as the new target number.
[0416] Optionally, in one specific implementation, the method further includes:
[0417] According to a preset period, the target raw data is obtained from the remote terminal device, and the target raw data stored in each local terminal device is updated based on the obtained target raw data; and / or, based on a second user operation, the target raw data is obtained from the remote terminal device, and the target raw data stored in each local terminal device is updated based on the obtained target raw data.
[0418] Corresponding to the above-mentioned data verification system, this embodiment of the invention also provides a data verification method, which is applied to a remote terminal device in the data verification system; the system further includes: at least one local terminal device.
[0419] Figure 12This is a flowchart illustrating another data verification method provided in an embodiment of the present invention, as shown below. Figure 12 As shown, the method may include the following steps S1201-S1203.
[0420] S1201: Obtain verification information about the item to be verified;
[0421] S1202: In the correspondence, search for the target original data, and in the target original data, search for the target data content corresponding to the data number to be verified; wherein, the correspondence is a correspondence between the project and the original data pre-stored in the remote terminal device;
[0422] S1203: Compare the data content to be verified with the target data content to obtain the verification result.
[0423] As can be seen above, when performing data verification on the information to be verified for a project, the remote device can directly obtain the information on the project to be verified without going through the local device. Then, the remote device can directly use the target raw data on the project to be verified stored in its own memory to perform data verification on the information to be verified, thereby improving the efficiency of data verification.
[0424] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the method further includes:
[0425] Receive verification records sent by each local terminal device; and determine whether there are multiple verification records with the same data number among all the acquired verification records; if so, send alarm information to each local terminal device and / or each user terminal device;
[0426] Wherein, the verification record sent by each local terminal device is a verification record generated by each local terminal device after obtaining the verification result of the verification information of the item to be verified, including the verification result and the verification information; the verification result obtained by each local terminal device is obtained by each local terminal device after obtaining the verification information of the item to be verified, comparing the target data content corresponding to the verification data number included in the verification information in the target original data with the verification data content included in the verification information; if the remote terminal device performs a data verification operation, then all the obtained verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, then all the obtained verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records including the same data number among all the verification records.
[0427] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the method further includes:
[0428] When multiple verification records with the same data number exist, a specified tag is added to the multiple verification records with the same data number, and the target verification record with the specified tag is sent to each local terminal device and / or each user terminal device, so that each local terminal device and / or each user terminal device receives the target verification record sent by the remote terminal device.
[0429] Optionally, in one specific implementation, the method further includes:
[0430] Receive verification records sent by each local terminal device; and send to each local terminal device all verification records obtained, excluding the verification records generated by that local terminal device.
[0431] Wherein, if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the verification records sent by each local terminal device are the verification records sent by each local terminal device to the remote terminal device after generating a verification record including the verification result and the information to be verified;
[0432] Receive alarm information sent by each local terminal device, and send alarm information to other local terminal devices other than the local terminal device that sent verification records to the remote terminal device;
[0433] The alarm information is information sent by each local terminal device to the remote terminal device and / or each user terminal after receiving the verification record sent by the remote terminal device, when the local terminal device determines that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records. This information is used to indicate that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records.
[0434] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the method further includes:
[0435] Receive the target verification record sent by each local terminal device, and send the target verification record to each user terminal device, and / or other local terminal devices other than the local terminal device that send the verification record to the remote terminal device;
[0436] The target verification record is a verification record with a specified tag that is sent to the remote terminal device by each local terminal device after determining that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the verification records received.
[0437] Optionally, in one specific implementation, the method further includes:
[0438] Output the alarm information sent by each local terminal device.
[0439] Optionally, in one specific implementation, the method further includes:
[0440] Based on the first user's operation, update the target original data stored in the remote terminal device.
[0441] Corresponding to the above data verification system, this embodiment of the invention also provides a data verification method, which is applied to each local terminal device in the data verification system.
[0442] Figure 13 This is a flowchart illustrating a data verification method provided in an embodiment of the present invention, as shown below. Figure 13 As shown, the method may include the following steps S1301-S1303.
[0443] S1301: Obtain verification information about the item to be verified;
[0444] S1302: In the pre-acquired target raw data, find the target data content corresponding to the data number to be verified included in the information to be verified; wherein, each entry in the target raw data includes: data number and data content;
[0445] S1303: Compare the data content to be verified included in the information to be verified with the target data content to obtain the verification result.
[0446] As can be seen above, when performing data verification on the information to be verified for a project, each local device can directly utilize its own stored target raw data about the project to perform data verification. This avoids the situation where data verification efficiency is low due to poor network conditions, thus improving the efficiency of data verification. Therefore, data verification can achieve high efficiency under various network conditions.
[0447] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device and a remote terminal device, and the method further includes:
[0448] A verification record including verification results and information to be verified is generated and sent to the remote terminal device. Upon receiving verification records from each local terminal device, the remote terminal device determines whether multiple verification records with the same data number exist among all the acquired verification records. If so, an alarm message is sent to each local terminal device and / or each user terminal device. Wherein, if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the alarm message is used to indicate that multiple verification records with the same data number exist among all the verification records.
[0449] Receive alarm information sent by the remote terminal device.
[0450] Optionally, in one specific implementation, the data verification system further includes a remote terminal device, and the method further includes:
[0451] The system receives a target verification record sent by the remote terminal device; wherein the target verification record is a verification record with the specified mark added, which is sent by the remote terminal device to each local terminal device after determining that there are multiple verification records with the same data number among all verification records.
[0452] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device and a remote terminal device, and the method further includes:
[0453] Generate a verification record including the verification result and the information to be verified, and send the verification record to the remote terminal device;
[0454] The system receives verification records sent by the remote terminal device; determines whether there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records; if so, it sends alarm information to the remote terminal device and / or each of the user terminal devices; wherein, the verification records sent by the remote terminal device are the verification records other than those generated by the local terminal device, which are all the verification records acquired by the remote terminal device after receiving the verification records sent by each local terminal device; if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records.
[0455] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device and a remote terminal device, and the method further includes:
[0456] When it is determined that there are multiple verification records with the same data number among all the verification records, a specified tag is added to the multiple verification records with the same data number, and the target verification record with the specified tag is sent to the remote terminal device and / or each of the user terminal devices, so that each of the user terminal devices and / or the remote terminal device receives the target verification record sent by each of the local terminal devices, and after receiving the target verification record sent by each local terminal device, the remote terminal device sends the target verification record to other local terminal devices other than the local terminal device that sent the verification record to the remote terminal device.
[0457] Optionally, in one specific implementation, the data verification system further includes a remote terminal device, and the method further includes:
[0458] Output the alarm information sent by the remote terminal device.
[0459] Optionally, in one specific implementation, before sending the verification record to the remote terminal device, the method further includes:
[0460] Detect whether the network status between the local terminal device and the remote terminal device meets the preset status;
[0461] If the conditions are met, the verification record that was not sent to the remote terminal device will be sent to the remote terminal device.
[0462] If the conditions are not met, the process returns to the step of checking whether the network status between the local device and the remote device meets the preset conditions after a specified period of time.
[0463] Optionally, in one specific implementation, each local terminal device sends verification records that were not sent to the remote terminal device to the remote terminal device, including:
[0464] Determine the generation time of the latest generated verification record last sent to the remote device, and send verification records generated between that generation time and the current time to the remote device; and record the generation time of the latest generated verification record sent; or,
[0465] Determine the target number of the entry containing the last verification record previously sent to the remote terminal device; send verification records with a number of entries greater than the target number to the remote terminal device; and record the entry containing the last verification record currently sent as the new target number.
[0466] Optionally, in one specific implementation, the data verification system further includes a remote terminal device, and the method further includes:
[0467] According to a preset cycle, the target raw data is obtained from the remote terminal device, and the target raw data stored in each local terminal device is updated based on the obtained target raw data; and / or, based on a second user operation, the target raw data is obtained from the remote terminal device, and the target raw data stored in each local terminal device is updated based on the obtained target raw data; or, based on a third user operation, the target raw data is input into each local terminal device, and the target raw data stored in each local terminal device is updated.
[0468] Based on the same inventive concept, and corresponding to the embodiments of the present invention provided above... Figure 11 One data verification method shown is as follows: Figure 14 The diagram shows a data verification device provided in an embodiment of the present invention, applied to each local terminal device in a data verification system; the system further includes: a remote terminal device; the device includes:
[0469] The first verification information acquisition module 1410 is used to acquire verification information about the item to be verified.
[0470] The data content lookup module 1420 is used to look up the target data content corresponding to the data number to be verified included in the target raw data fed back by the remote terminal device; wherein, the target raw data is the raw data corresponding to the project identifier that the remote terminal device finds in a pre-stored correspondence between projects and raw data after receiving a data acquisition request carrying the project identifier of the project to be verified sent by the local terminal device; each entry in the target raw data includes: data number and data content;
[0471] The first result acquisition module 1430 is used to compare the data content to be verified included in the information to be verified with the target data content to obtain a verification result.
[0472] As can be seen above, when performing data verification on the information to be verified for a project, each local device can directly utilize the target raw data about the project obtained from the remote device and stored within itself to perform data verification. This avoids the situation where data verification efficiency is low due to poor network conditions, thus improving the efficiency of data verification. Therefore, data verification can achieve high efficiency under various network conditions.
[0473] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the apparatus further includes:
[0474] A verification record processing module is used to generate verification records including verification results and information to be verified, and send the verification records to the remote terminal device; so that after receiving the verification records sent by each local terminal device, the remote terminal device determines whether there are multiple verification records with the same data number among all the acquired verification records; if so, it sends alarm information to each local terminal device and / or each user terminal device; wherein, if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records with the same data number among all the verification records;
[0475] The first alarm information receiving module is used to receive alarm information sent by the remote terminal device.
[0476] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the apparatus further includes:
[0477] The first target verification record receiving module is used to receive the target verification record sent by the remote terminal device; wherein, the target verification record is a verification record with the added specified mark sent by the remote terminal device to each local terminal device and / or each user terminal device after determining that there are multiple verification records with the same data number among all verification records.
[0478] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the apparatus further includes:
[0479] The verification record processing module is specifically used to generate a verification record including the verification result and the information to be verified, and to send the verification record to the remote terminal device;
[0480] The first verification record judgment module is used to receive verification records sent by the remote terminal device; determine whether there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records; if so, send alarm information to the remote terminal device and / or each of the user terminal devices; wherein, the verification records sent by the remote terminal device are the verification records other than the verification records generated by the local terminal device among all the verification records obtained by the remote terminal device after receiving the verification records sent by each local terminal device; if the remote terminal device performs a data verification operation, the obtained verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the obtained verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records.
[0481] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the apparatus further includes:
[0482] The first tag-adding module is used to add a specified tag to the multiple verification records with the same data number when it is determined that there are multiple verification records with the same data number among all the verification records, and send the target verification record with the specified tag added to the remote terminal device and / or each of the user terminal devices, so that each of the user terminal devices and / or the remote terminal device receives the target verification record sent by each of the local terminal devices, and after receiving the target verification record sent by each local terminal device, the remote terminal device sends the target verification record to other local terminal devices other than the local terminal device that sent the verification record to the remote terminal device.
[0483] Optionally, in one specific implementation, the apparatus further includes:
[0484] The first alarm output module is used to output the alarm information sent by the remote terminal device;
[0485] Optionally, in one specific implementation, the apparatus further includes:
[0486] The first verification record judgment module is specifically used to detect whether the network status between the local terminal device and the remote terminal device meets the preset status before sending the verification record to the remote terminal device; if it meets the preset status, the first record sending module is triggered; if it does not meet the preset status, the return module is triggered.
[0487] The first record sending module is used to send verification records that have not been sent to the remote terminal device to the remote terminal device;
[0488] The return module is used to return the step of detecting whether the network status between the local terminal device and the remote terminal device meets the preset status after a specified time.
[0489] Optionally, in one specific implementation, the first record sending module is specifically used for:
[0490] Determine the generation time of the latest generated verification record last sent to the remote device, and send verification records generated between that generation time and the current time to the remote device; and record the generation time of the latest generated verification record sent; or,
[0491] Determine the target number of the entry containing the last verification record previously sent to the remote terminal device; send verification records with a number of entries greater than the target number to the remote terminal device; and record the entry containing the last verification record currently sent as the new target number.
[0492] Optionally, in one specific implementation, the apparatus further includes:
[0493] The first update module is used to obtain the target raw data from the remote terminal device according to a preset period, and update the target raw data stored in each local terminal device based on the obtained target raw data; and / or, based on a second user operation, obtain the target raw data from the remote terminal device, and update the target raw data stored in each local terminal device based on the obtained target raw data.
[0494] Based on the same inventive concept, and corresponding to the embodiments of the present invention provided above... Figure 12 One data verification method shown is as follows: Figure 15 The diagram shows a data verification device provided in an embodiment of the present invention, applied to a remote terminal device in a data verification system; the system further includes: at least one local terminal device; the device includes:
[0495] The second verification information acquisition module 1510 is used to acquire verification information about the item to be verified.
[0496] The target raw data lookup module 1520 is used to look up the target raw data in the correspondence relationship, and to look up the target data content corresponding to the data number to be verified in the target raw data; wherein, the correspondence relationship is a correspondence relationship between the project and the raw data pre-stored in the remote terminal device;
[0497] The second result acquisition module 1530 is used to compare the data content to be verified with the target data content to obtain a verification result.
[0498] As can be seen above, when performing data verification on the information to be verified for a project, the remote device can directly obtain the information on the project to be verified without going through the local device. Then, the remote device can directly use the target raw data on the project to be verified stored in its own memory to perform data verification on the information to be verified, thereby improving the efficiency of data verification.
[0499] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the apparatus further includes:
[0500] The second verification record judgment module is used to receive the verification records sent by each local terminal device; and to determine whether there are multiple verification records with the same data number among all the obtained verification records; if so, to send alarm information to each local terminal device and / or each user terminal device.
[0501] The verification record sent by each local terminal device is the verification record sent to the remote terminal device after generating a verification record including the verification result and the information to be verified. If the remote terminal device performs a data verification operation, the total number of verification records obtained includes the verification record generated by the remote terminal device and the verification record received by the remote terminal device. If the remote terminal device does not perform a data verification operation, the total number of verification records obtained includes the verification record received by the remote terminal device. The alarm information is used to indicate that there are multiple verification records with the same data number among all the verification records.
[0502] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the apparatus further includes:
[0503] The second tag-adding module is used to add a specified tag to multiple verification records with the same data number when multiple verification records with the same data number exist, and send the target verification record with the specified tag added to each local terminal device and / or each user terminal device, so that each local terminal device and / or each user terminal device receives the target verification record sent by the remote terminal device.
[0504] Optionally, in one specific implementation, the apparatus further includes:
[0505] The verification record sending module is used to receive the verification records sent by each local terminal device; and to send to each local terminal device the other verification records other than the verification records generated by that local terminal device from all the acquired verification records.
[0506] Wherein, if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the verification records sent by each local terminal device are the verification records sent by each local terminal device to the remote terminal device after generating a verification record including the verification result and the information to be verified;
[0507] The second alarm information receiving module is used to receive alarm information sent by each local terminal device, and to send alarm information to other local terminal devices other than the local terminal device that send verification records to the remote terminal device;
[0508] The alarm information is information sent by each local terminal device to the remote terminal device and / or each user terminal after receiving the verification record sent by the remote terminal device, when the local terminal device determines that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records. This information is used to indicate that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records.
[0509] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device, and the apparatus further includes:
[0510] The target verification record sending module is used to receive the target verification record sent by each local terminal device, and send the target verification record to each user terminal device, and / or other local terminal devices other than the local terminal device that send verification records to the remote terminal device;
[0511] The target verification record is a verification record with a specified tag that is sent to the remote terminal device by each local terminal device after determining that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the verification records received.
[0512] Optionally, in one specific implementation, the apparatus further includes:
[0513] The second alarm output module is used to output the alarm information sent by each local terminal device.
[0514] Optionally, in one specific implementation, the apparatus further includes:
[0515] The second update module is used to update the target original data stored in the remote terminal device based on the first user's operation.
[0516] Based on the same inventive concept, and corresponding to the embodiments of the present invention provided above... Figure 13 One data verification method shown is as follows: Figure 16 The diagram shows a data verification device provided in an embodiment of the present invention, applied to each local terminal device in a data verification system; the device includes:
[0517] The third verification information acquisition module 1610 is used to acquire verification information about the project to be verified.
[0518] The data content lookup module 1620 is used to look up the target data content corresponding to the data number to be verified included in the information to be verified in the pre-acquired target raw data; wherein, each entry in the target raw data includes: data number and data content;
[0519] The third result acquisition module 1630 is used to compare the data content to be verified included in the information to be verified with the target data content to obtain the verification result.
[0520] As can be seen above, when performing data verification on the information to be verified for a project, each local device can directly utilize its own stored target raw data about the project to perform data verification. This avoids the situation where data verification efficiency is low due to poor network conditions, thus improving the efficiency of data verification. Therefore, data verification can achieve high efficiency under various network conditions.
[0521] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device and a remote terminal device, and the apparatus further includes:
[0522] A verification record processing module is used to generate verification records including verification results and information to be verified, and send the verification records to the remote terminal device; so that after receiving the verification records sent by each local terminal device, the remote terminal device determines whether there are multiple verification records with the same data number among all the acquired verification records; if so, it sends alarm information to each local terminal device and / or each user terminal device; wherein, if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records with the same data number among all the verification records;
[0523] The third alarm information receiving module receives alarm information sent by the remote terminal device.
[0524] Optionally, in one specific implementation, the data verification system further includes a remote terminal device, and the device further includes:
[0525] The third target verification record receiving module is used to receive the target verification record sent by the remote terminal device; wherein, the target verification record is the verification record with the specified mark added sent by the remote terminal device to each local terminal device after determining that there are multiple verification records with the same data number among all the verification records.
[0526] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device and a remote terminal device, and the apparatus further includes:
[0527] The verification record processing module is specifically used to generate a verification record including the verification result and the information to be verified, and to send the verification record to the remote terminal device;
[0528] The third verification record judgment module is used to receive verification records sent by the remote terminal device; determine whether there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records; if so, send alarm information to the remote terminal device and / or each of the user terminal devices; wherein, the verification records sent by the remote terminal device are the verification records other than the verification records generated by the local terminal device among all the verification records obtained by the remote terminal device after receiving the verification records sent by each local terminal device; if the remote terminal device performs a data verification operation, the obtained verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the obtained verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records.
[0529] Optionally, in one specific implementation, the data verification system further includes at least one user terminal device and a remote terminal device, and the apparatus further includes:
[0530] The third tag-adding module is used to add a specified tag to the multiple verification records with the same data number when it is determined that there are multiple verification records with the same data number among all the verification records, and send the target verification record with the specified tag to the remote terminal device and / or each of the user terminal devices, so that each of the user terminal devices and / or the remote terminal device receives the target verification record sent by each of the local terminal devices, and after receiving the target verification record sent by each local terminal device, the remote terminal device sends the target verification record to other local terminal devices other than the local terminal device that sent the verification record to the remote terminal device.
[0531] Optionally, in one specific implementation, the data verification system further includes a remote terminal device, and the device further includes:
[0532] The third alarm output module is used to output the alarm information sent by the remote terminal device.
[0533] Optionally, in one specific implementation, the apparatus further includes:
[0534] The third verification record judgment module is specifically used to detect whether the network status between the local terminal device and the remote terminal device meets the preset status before sending the verification record to the remote terminal device.
[0535] If the conditions are met, the third record sending module is triggered;
[0536] If the condition is not met, the return module will be triggered;
[0537] The third record sending module is used to send verification records that have not been sent to the remote terminal device to the remote terminal device;
[0538] The return module is used to return the step of detecting whether the network status between the local terminal device and the remote terminal device meets the preset status after a specified time period;
[0539] Optionally, in one specific implementation, the third record sending module is specifically used for:
[0540] Determine the generation time of the latest generated verification record last sent to the remote device, and send verification records generated between that generation time and the current time to the remote device; and record the generation time of the latest generated verification record sent; or,
[0541] Determine the target number of the entry containing the last verification record previously sent to the remote terminal device; send verification records with a number of entries greater than the target number to the remote terminal device; and record the entry containing the last verification record currently sent as the new target number.
[0542] Optionally, in one specific implementation, the data verification system further includes a remote terminal device, and the device further includes:
[0543] The third update module acquires the target raw data from the remote terminal device according to a preset period, and updates the target raw data stored in each local terminal device based on the acquired target raw data; and / or, based on a second user operation, acquires the target raw data from the remote terminal device, and updates the target raw data stored in each local terminal device based on the acquired target raw data; or, based on a third user operation, inputs the target raw data into each local terminal device, and updates the target raw data stored in each local terminal device.
[0544] This invention also provides an electronic device, such as... Figure 17 As shown, it includes a processor 1701, a communication interface 1702, a memory 1703, and a communication bus 1704. The processor 1701, the communication interface 1702, and the memory 1703 communicate with each other through the communication bus 1704.
[0545] Memory 1703 is used to store computer programs;
[0546] When the processor 1701 executes the program stored in the memory 1703, it implements the steps of any of the data verification methods provided in the above embodiments of the present invention.
[0547] The communication bus mentioned above can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into address bus, data bus, control bus, etc. For ease of illustration, only one thick line is used to represent it in the diagram, but this does not mean that there is only one bus or one type of bus.
[0548] The communication interface is used for communication between the aforementioned terminal and other devices.
[0549] The memory may include random access memory (RAM) or non-volatile memory, such as at least one disk storage device. Optionally, the memory may also be at least one storage device located remotely from the aforementioned processor.
[0550] The processors mentioned above can be general-purpose processors, including central processing units (CPUs), network processors (NPs), etc.; they can also be digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0551] In another embodiment of the present invention, a computer-readable storage medium is also provided, wherein a computer program is stored therein, and when the computer program is executed by a processor, it implements any of the data verification methods described in the above embodiments.
[0552] In another embodiment of the present invention, a computer program product containing instructions is also provided, which, when run on a computer, causes the computer to perform any of the data verification methods described in the above embodiments.
[0553] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).
[0554] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0555] The various embodiments in this specification are described in a related manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the device embodiments, electronic device embodiments, computer-readable storage medium embodiments, and computer program product embodiments are basically similar to the method embodiments, so the descriptions are relatively simple; relevant parts can be referred to the descriptions of the method embodiments.
[0556] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention are included within the scope of protection of the present invention.
Claims
1. A data verification system, characterized in that, The system includes: at least one local terminal device and a remote terminal device; Each local terminal device is configured to, before performing data verification, send a data acquisition request carrying a project identifier of the project to be verified to the remote terminal device, receive and store the target raw data about the project to be verified fed back by the remote terminal device; acquire the verification information about the project to be verified; search for the target data content corresponding to the verification data number included in the verification information in the target raw data; compare the verification data content included in the verification information with the target data content to obtain a verification result; wherein, the target raw data includes multiple entries, and each entry includes: a data number and data content; each entry is used to represent the ticket purchase information of a ticket purchaser; the project to be verified is the project for which ticket information verification is to be performed; The remote terminal device is used to receive the data acquisition request; search for the target original data corresponding to the project identifier in the pre-stored correspondence between the project and the original data, and feed back the target original data to the local terminal device; Each of the local terminal devices is further configured to generate a verification record including the verification result and the information to be verified, and send the verification record to the remote terminal device; The remote terminal device is also configured to receive the verification record sent by each of the local terminal devices; and determine whether there are multiple verification records with the same data number among all the acquired verification records; if so, send an alarm message to each of the local terminal devices. Wherein, if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records with the same data number among the acquired verification records. Each of the local terminal devices is also configured to receive the alarm information sent by the remote terminal device.
2. The system according to claim 1, characterized in that, The remote terminal device is also used for: Obtain the verification information for the project to be verified; in the correspondence, find the target original data, and in the target original data, find the target data content corresponding to the data number to be verified; The verification result is obtained by comparing the data content to be verified with the target data content.
3. The system according to claim 2, characterized in that, The system also includes: at least one user terminal device: The remote terminal device is also used to receive the verification record sent by each of the local terminal devices; and to determine if there are multiple verification records with the same data number among all the obtained verification records, then send an alarm message to each of the user terminal devices. Each of the user terminal devices is configured to receive the alarm information sent by the remote terminal device and output the alarm information.
4. The system according to claim 3, characterized in that, The system also includes: at least one user terminal device; The remote terminal device is further configured to, when there are multiple verification records with the same data number, add a specified tag to the multiple verification records with the same data number, and send the target verification record with the specified tag added to each of the local terminal devices and / or each of the user terminal devices; Each of the local terminal devices is also configured to receive the target verification record sent by the remote terminal device; Each of the user terminal devices is also configured to receive the target verification record sent by the remote terminal device.
5. The system according to claim 2, characterized in that, The system also includes: at least one user terminal device; Each of the local terminal devices is further configured to generate a verification record including the verification result and the information to be verified, and send the verification record to the remote terminal device; The remote terminal device is further configured to receive the verification records sent by each of the local terminal devices; and to send to each of the local terminal devices all the acquired verification records, excluding the verification records generated by the local terminal device; wherein, if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; Each of the local terminal devices is further configured to receive verification records sent by the remote terminal device; determine whether there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records; if so, send alarm information to the remote terminal device and / or each of the user terminal devices; wherein the alarm information is: information used to indicate that there are multiple verification records with the same data number among the verification records generated by the local terminal device and the received verification records; The remote terminal device is also configured to receive the alarm information sent by each of the local terminal devices, and send the alarm information to other local terminal devices other than the local terminal device that sent the verification record to the remote terminal device; Each of the user terminal devices is also configured to receive the alarm information sent by each of the local terminal devices and output the alarm information.
6. The system according to claim 5, characterized in that, Each of the local terminal devices is further configured to, when there are multiple verification records including the same data number, add a specified tag to the multiple verification records including the same data number, and send the target verification record with the specified tag added to the remote terminal device, and / or, each of the user terminal devices; The remote terminal device is further configured to receive the target verification record sent by each of the local terminal devices, and send the target verification record to other local terminal devices other than the local terminal device that sent the verification record to the remote terminal device; Each of the user terminal devices is also configured to receive the target verification record sent by each of the local terminal devices.
7. The system according to any one of claims 3-6, characterized in that, Each of the aforementioned local terminal devices is also configured to output the alarm information; and / or, The remote terminal device is also used to output the alarm information.
8. The system according to claim 3 or 5, characterized in that, Before sending the verification record to the remote terminal device, each local terminal device is further configured to: Detect whether the network status between the local terminal device and the remote terminal device meets the preset status; If the conditions are met, the verification record that was not sent to the remote terminal device will be sent to the remote terminal device. If the condition is not met, the process returns to the step of detecting whether the network status between the local device and the remote device meets the preset status after a specified period of time.
9. The system according to claim 8, characterized in that, Each local terminal device will send verification records that were not sent to the remote terminal device to the remote terminal device, including: Determine the generation time of the latest generated verification record last sent to the remote device, and send verification records generated between that generation time and the current time to the remote device; and record the generation time of the latest generated verification record sent; or, Determine the target number of the entry containing the last verification record previously sent to the remote terminal device; send verification records with a number of entries greater than the target number to the remote terminal device; and record the entry containing the last verification record currently sent as the new target number.
10. The system according to claim 1, characterized in that, The remote terminal device is also used to update the stored target original data based on the first user's operation; Each of the local terminal devices is further configured to acquire the target raw data from the remote terminal device according to a preset period, and update the stored target raw data based on the acquired target raw data; And / or, based on a second user operation, obtain the target raw data from the remote terminal device, and update the stored target raw data based on the obtained target raw data.
11. A data verification method, characterized in that, The system is applied to each local terminal device in the data verification system; the system also includes: a remote terminal device; the method includes: Before performing data verification, information about the project to be verified is obtained in advance; wherein, the project to be verified is the project for which ticketing information verification is to be performed. In the target raw data fed back by the remote terminal device, the target data content corresponding to the data number to be verified included in the information to be verified is searched; wherein, the target raw data is the raw data corresponding to the project identifier that the remote terminal device finds in the pre-stored correspondence between projects and raw data after receiving a data acquisition request carrying the project identifier of the project to be verified sent by the local terminal device; the target raw data includes multiple entries, and each entry includes: data number and data content; each entry is used to represent the ticket purchase information of a ticket purchaser; By comparing the data content to be verified included in the information to be verified with the target data content, a verification result is obtained; The method further includes: A verification record including the verification result and the information to be verified is generated and sent to the remote terminal device. Upon receiving the verification record from each local terminal device, the remote terminal device determines whether multiple verification records with the same data number exist among all the acquired verification records. If so, an alarm message is sent to each local terminal device. If the remote terminal device performs a data verification operation, the acquired verification records include both the verification record generated by the remote terminal device and the verification record received by the remote terminal device. If the remote terminal device does not perform a data verification operation, the acquired verification records include only the verification record received by the remote terminal device. The alarm message indicates that multiple verification records with the same data number exist among all the verification records. Receive alarm information sent by the remote terminal device.
12. A data verification method, characterized in that, Remote terminal devices used in data verification systems; The system further includes: at least one local terminal device; the method includes: Before performing data verification, information about the project to be verified is obtained in advance; wherein, the project to be verified is the project for which ticketing information verification is to be performed. In the correspondence, the target original data is searched, and in the target original data, the target data content corresponding to the data number to be verified included in the information to be verified is searched; wherein, the correspondence is a correspondence between items and original data pre-stored in the remote terminal device; the target original data includes multiple entries, and each entry includes: data number and data content; each entry is used to represent the ticket purchase information of a ticket purchaser; By comparing the data content to be verified included in the information to be verified with the target data content, a verification result is obtained; The method further includes: Receive verification records sent by each local terminal device; and determine whether there are multiple verification records with the same data number among all the acquired verification records; if so, send alarm information to each local terminal device. Wherein, the verification record sent by each local terminal device is a verification record generated by each local terminal device after obtaining the verification result of the verification information of the item to be verified, including the verification result and the verification information; the verification result obtained by each local terminal device is obtained by each local terminal device searching for the target data content corresponding to the verification data number included in the verification information in the target original data, and comparing the verification data content included in the verification information with the target data content; if the remote terminal device performs a data verification operation, then all the obtained verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, then all the obtained verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records including the same data number among all the verification records.
13. A data verification device, characterized in that, Applied to each local terminal device in the data verification system; The system further includes: a remote terminal device; the device includes: The first verification information acquisition module is used to acquire verification information about the item to be verified in advance before data verification; wherein, the item to be verified is the item for which ticketing information verification is to be performed. The data content lookup module is used to search for the target data content corresponding to the data number to be verified included in the target raw data fed back by the remote terminal device; wherein, the target raw data is the raw data corresponding to the project identifier that the remote terminal device finds in a pre-stored correspondence between projects and raw data after receiving a data acquisition request carrying the project identifier of the project to be verified sent by the local terminal device; the target raw data includes multiple entries, and each entry includes: a data number and data content; each entry is used to represent the ticket purchase information of a ticket purchaser; The first result acquisition module is used to compare the data content to be verified included in the information to be verified with the target data content to obtain the verification result; A verification record processing module is used to generate verification records including verification results and information to be verified, and send the verification records to the remote terminal device. Upon receiving verification records from each local terminal device, the remote terminal device determines whether multiple verification records with the same data number exist among all the acquired verification records. If so, an alarm message is sent to each local terminal device. Wherein, if the remote terminal device performs a data verification operation, the acquired verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, the acquired verification records include: the verification records received by the remote terminal device; the alarm message is used to indicate that multiple verification records with the same data number exist among all the verification records. The first alarm information receiving module is used to receive alarm information sent by the remote terminal device.
14. A data verification device, characterized in that, Remote terminal devices used in data verification systems; The system further includes: at least one local terminal device; the device includes: The second verification information acquisition module is used to acquire verification information about the item to be verified in advance before data verification; wherein, the item to be verified is the item for which ticketing information verification is to be performed. The target raw data lookup module is used to search for target raw data in the correspondence relationship, and to search for the target data content corresponding to the data number to be verified included in the information to be verified in the target raw data; wherein, the correspondence relationship is a correspondence relationship between items and raw data pre-stored in the remote terminal device; the target raw data includes multiple entries, and each entry includes: data number and data content; each entry is used to represent the ticket purchase information of a ticket purchaser; The second result acquisition module is used to compare the data content to be verified included in the information to be verified with the target data content to obtain the verification result; The second verification record judgment module is used to receive the verification records sent by each local terminal device; and to determine whether there are multiple verification records with the same data number among all the obtained verification records; if so, an alarm message is sent to each local terminal device. Wherein, the verification record sent by each local terminal device is a verification record generated by each local terminal device after obtaining the verification result of the verification information of the item to be verified, including the verification result and the verification information; the verification result obtained by each local terminal device is obtained by each local terminal device searching for the target data content corresponding to the verification data number included in the verification information in the target original data, and comparing the verification data content included in the verification information with the target data content; if the remote terminal device performs a data verification operation, then all the obtained verification records include: the verification records generated by the remote terminal device and the verification records received by the remote terminal device; if the remote terminal device does not perform a data verification operation, then all the obtained verification records include: the verification records received by the remote terminal device; the alarm information is used to indicate that there are multiple verification records including the same data number among all the verification records.
15. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the method of claim 11, or implements the method of claim 12.
16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method of claim 11, or the method of claim 12.
Citation Information
Patent Citations
A method and system for verifying an electronic invoice
CN109767239A
Data processing method and device
CN114153711A