Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The inventor researches and analyzes the technical problem that a large amount of time is consumed when the intelligent payment equipment performs payment verification, and discovers that when a block chain network is formed among the intelligent payment equipment, the intelligent payment equipment serving as block nodes needs to bear a large amount of same information, and meanwhile, when the information is transmitted among the block nodes step by step, more information can be written into the following block nodes, so that the memory space and time slice resources of the block nodes can be excessively occupied, and the block nodes can not allocate enough memory and time slice resources for payment verification threads when performing payment verification.
In order to solve the above problems, embodiments of the present invention provide a payment verification method and an intelligent device based on a block chain network and big data analysis, where the intelligent device can perform data analysis on a large amount of stored information, so as to split the information according to a use frequency, and then register the information with a relatively low use frequency in a cloud, so that memory space and time slice resources of the intelligent device can be released without affecting normal operation of the intelligent device. When payment verification is carried out, the intelligent device can apply information acquisition authorization to the cloud end through a verification algorithm pre-established with the cloud end and a payment verification protocol established with the device to be verified, and can acquire target information registered to the cloud end after the cloud end authorization is passed, so that payment verification of the device to be verified is achieved. Therefore, the intelligent device can allocate enough memory and time slice resources for the payment verification thread when the payment verification is carried out, and therefore the time consumption of online payment verification is reduced.
To achieve the above object, an embodiment of the present invention first provides an architecture schematic diagram of a payment verification system 100 based on a blockchain network and big data analysis, where the payment verification system 100 may include a cloud hosting server 110, an intelligent device 120, a device to be verified 130, and a plurality of associated devices 140. The intelligent device 120, the device to be verified 130, and the multiple associated devices 140 communicate with each other to form an online payment network of a block chain, and the cloud register server 110 communicates with the intelligent device 120, the device to be verified 130, and the multiple associated devices 140, respectively, to register information uploaded by these devices. By operating the payment verification system 100, the smart device 120 can allocate sufficient memory and time slice resources to the payment verification thread when performing payment verification, thereby reducing the time consumption of online payment verification.
On the basis of fig. 1, please refer to fig. 2 in combination, a payment verification method based on a blockchain network and big data analysis is provided, which may be applied to the smart device 120 in fig. 1, where the smart device 120 communicates with the cloud hosting server 110, the device to be verified 130 and the plurality of associated devices 140 during operation to implement the following steps S21-S24.
Step S21, periodically calling, recording and analyzing the stored information and determining the use frequency of each group of information in the stored information in a set time period; and splitting at least one group of information in the stored information according to the use frequency to obtain a first information segment and a second information segment, and uploading the second information segment to the cloud deposit server.
In this embodiment, the first information segment may be a header of at least one set of information, and the second information segment may be an information content of at least one set of information. It will be appreciated that the header occupies less memory space than the information content. Through step S21, the memory space and time slice resources of the smart device 120 can be released, so as to provide sufficient memory space and time slice resources for the subsequent online payment verification. Further, the device to be authenticated 130 and the associated device 140 also perform steps similar to step S21.
In the present embodiment, the set period may be determined according to the interaction frequency between the smart device 120 and the device to be authenticated 130 and the associated device 140. Splitting at least one group of information in the stored information according to the use frequency to obtain a first information segment and a second information segment, and specifically splitting at least one group of information according to a descending order of the use frequency, for example, sorting multiple groups of information in the stored information according to a descending order of the use frequency, and then selecting a plurality of groups of information in a later order to split.
Step S22, detecting whether an operation instruction for online payment to the device to be verified is received; when the operation instruction is detected, analyzing a target communication link which is established with the equipment to be verified in advance to extract a target communication protocol corresponding to the equipment to be verified, and acquiring equipment behavior data of the equipment to be verified in the set time period.
In this embodiment, the operation instruction may be input by the user through the smart device 120, and the operation instruction may be one or a combination of a password instruction, a voice instruction, or a human face instruction, which is not limited herein. The target communication protocol may be an information transmission protocol between the smart device and the device to be authenticated, including but not limited to an encryption protocol, a transcoding protocol, an encapsulation protocol, a payment authentication protocol, and the like of information. The device behavior data may be operation trace data that is retained when the device to be authenticated performs information processing and data processing.
In this embodiment, the target communication protocol may be extracted by parsing the link parameters of the target communication link.
Step S23, performing payment verification on the device to be verified based on the target communication protocol and the device behavior data to obtain a current payment verification result, determining a confidence of the current payment verification result, and sending an information acquisition request to the cloud hosting server when the confidence is lower than a set value.
In this embodiment, the setting value may be adjusted according to the recorded number of the abnormal payment behaviors existing before the smart device 120, where the information obtaining request is used to request the cloud hosting server 110 to send the second information segment of the smart device 120, the device to be verified 130, and the associated device 140 that has communication with the device to be verified 130 in a set period.
Step S24, when a target information segment issued after the cloud hosting server completes authorization of the smart device based on the information acquisition request is acquired, performing payment verification on the device to be verified based on the target information segment, the target communication protocol, and the device behavior data to obtain a current payment verification result; and when the confidence of the current payment verification result is greater than the set value, judging whether the equipment to be verified passes the payment verification according to the current payment verification result.
In this embodiment, the target information segment includes a second information segment of the smart device, the device to be authenticated, and an associated device that has communication with the device to be authenticated within a set period of time. Through the step S24, when the confidence of the current payment verification result does not reach the set value, more information can be used for payment verification of the device to be verified, so that the intelligent device can be prevented from processing too much information during each verification, and the time consumption of payment verification is effectively reduced.
By executing the contents described in the above steps S21 to S24, firstly, the stored information is split according to the use frequency, and then the first information segment is reserved and the second information segment is registered, so that the memory space and the time slice resources of the intelligent device can be released, secondly, when an operation instruction is detected, the target communication link is analyzed to obtain the target communication protocol and obtain the device behavior data of the device to be verified, and then, when the confidence of the current payment verification result obtained by performing payment verification on the device to be verified based on the target communication protocol and the device behavior data is lower than the set value, an information acquisition request is sent to the cloud terminal registration server. And finally, continuously carrying out payment verification on the equipment to be verified in a segmented manner according to the target information returned by the cloud register server. Therefore, the intelligent device can allocate enough memory and time slice resources for the payment verification thread when the payment verification is carried out, and therefore the time consumption of online payment verification is reduced.
In specific implementation, the inventor finds that, when the payment verification is performed on the device to be verified, the problem of missing verification index data may exist, and after the inventor carefully studies and analyzes the problem, the reason of the problem is found to be caused by the inconsistency of the serialization logics of the target communication protocol and the device behavior data. When the serialization logics of the target communication protocol and the device behavior data are not consistent in the transmission process, the situation that parameter configuration of formatting threads is different when the intelligent device formats the target communication protocol and the device behavior data can be caused, and thus data loss occurs after the target communication protocol and the device behavior data are formatted, and the accuracy of the current payment verification result can be influenced.
In order to improve the above problem, in step S23, performing payment verification on the device to be verified based on the target communication protocol and the device behavior data to obtain a current payment verification result may specifically include the contents described in the following steps S231 to S235.
Step S231, after constructing a field distribution network corresponding to a protocol field of the target communication protocol, listing node attributes of each network node in the field distribution network; generating a first serialized logic list corresponding to the field distribution network according to the attribute label of each node attribute; the first serialization logic list is used for representing a plurality of groups of serialization logics when the target communication protocol is configured between the intelligent device and the device to be verified.
Step S232, identifying the equipment operation data according to an identification determination model pre-established with the equipment to be verified to extract a plurality of data identifications in the equipment operation data, and performing time sequence characteristic division on the equipment operation data according to the data identifications to obtain a plurality of groups of time sequence characteristic data corresponding to the equipment operation data; generating a second serialized logic list corresponding to the equipment operation data according to the cosine distance between the adjacent time sequence characteristic data; the second serialization logic list is used for representing the logic of the intelligent device for serializing the device operation data by the device to be verified when the device operation data is obtained.
Step S233, determining n first manifest information in the first serialized logic manifest and m second manifest information in the second serialized logic manifest; wherein n and m are positive integers, the first manifest information and the second manifest information each include a serialization matrix having different priority weights, and the serialization matrix is used to indicate binary serialization of the target communication protocol and the device operation data.
Step S234, generating a mapping list between the first serialized logic list and the second serialized logic list according to the first manifest information and the second manifest information.
In detail, when n is equal to m, determining matrix description information of a first target serialization matrix of one first list information in the first serialization logic list, and determining second list information corresponding to a second target serialization matrix with the largest priority weight in the second serialization logic list as current list information; determining matrix transformation information corresponding to the matrix description information in the current list information; generating a mapping list between the first serialized logic list and the second serialized logic list according to the matrix transformation information and the matrix description information; when n is not equal to m, calculating a first priority weight average value corresponding to the first serialized logic list and a second priority weight average value corresponding to the second serialized logic list; if the first priority weight average value is greater than the second priority weight average value, taking list structure information corresponding to the first serialized logic list as reference structure information and generating a mapping list between the first serialized logic list and the second serialized logic list based on the reference structure information; and if the first priority weight average value is less than or equal to the second priority weight average value, taking list structure information corresponding to the second serialized logic list as reference structure information, and generating a mapping list between the first serialized logic list and the second serialized logic list based on the reference structure information.
It is understood that, through step S234, the mapping list can be determined by different methods under the condition that the number of the first inventory information and the number of the second inventory information are the same or different, so that the applicability of the mapping list under different conditions can be ensured.
Step S235, formatting a protocol field corresponding to the target communication protocol and time sequence feature data corresponding to the equipment operation data based on the mapping list to obtain first verification data corresponding to the protocol field corresponding to the target communication protocol and second verification data corresponding to the time sequence feature data; the equipment to be verified performs payment verification according to the first verification data and the second verification data to obtain a current payment verification result; the first verification data and the second verification data have the same configuration parameters corresponding to the formatting threads.
It can be understood that, when the contents described in steps S231 to S235 are executed, differences of serialization logics of the target communication protocol and the device behavior data in the transmission process can be taken into consideration, so that the protocol field corresponding to the target communication protocol and the time sequence feature data corresponding to the device operation data are formatted based on the determined mapping relationship between the first serialization logic list and the second serialization logic list, which can ensure consistency of parameter configuration of the formatting thread when the intelligent device formats the target communication protocol and the device behavior data, thereby avoiding data loss of the target communication protocol and the device behavior data after formatting, and further ensuring accuracy of the current payment verification result.
After the above step S235 is executed, the first verification data and the second verification data are complete data, so that the accuracy of the obtained current payment verification result can be ensured when the payment of the device to be verified is verified. However, in implementation, the verification process of the current payment verification result may need to be invoked when data analysis is performed subsequently. However, in the related art, after the payment verification is performed on the device to be verified, the running log corresponding to the verification process is not reserved, so that the traceability of the verification process of the payment verification is difficult to ensure. In order to improve the above problem, the performing of the payment verification by the device to be verified according to the first verification data and the second verification data to obtain the current payment verification result described in step S235 may specifically include the contents described in step S2351-step S2354.
Step S2351, determining verification dimension information of the equipment to be verified based on the first verification data and the second verification data, extracting identification characters of the verification dimension information, and determining a plurality of target payment verification threads recorded with target characters corresponding to the identification characters from preset payment verification threads; and the character similarity rate of the target character and the identification character reaches a set rate.
Step S2352, determining the data transmission path corresponding to each payment verification thread, and determining the verification result storage position corresponding to each payment verification thread according to the path description information of each data transmission path; and the verification result storage position is a cache area of the intelligent device or a database of the cloud register server.
Step S2353, if the storage position of the verification result is the cache region of the intelligent equipment, marking the target payment verification thread as a first thread; if the verification result storage position is the database of the cloud register server, marking the target payment verification thread as a second thread; and calculating the parameter matching degree between a first target thread with the lowest running delay in the first threads and a second target thread with the lowest running delay in the second threads.
Step S2354, when the parameter matching degree reaches a preset value, importing the first verification data and the second verification data into the second target thread, realizing the payment verification of the equipment to be verified by running the second target thread, and acquiring the current payment verification result from the database of the cloud register server; and when the parameter matching degree does not reach the preset value, importing the first verification data and the second verification data into the first target thread, realizing payment verification on the equipment to be verified by running the first target thread, and acquiring a current payment verification result from a cache region corresponding to the first target thread.
It can be understood that when the contents described in the above steps S2351 to S2354 are applied, the running log of the payment verification thread can be stored in the database or the corresponding cache region when the payment verification is performed on the device to be verified, so that the current payment verification result can be obtained through the database or the corresponding cache region. And the running log is stored in a database or a corresponding cache region, so that the traceability of the verification process of payment verification can be ensured.
In a specific implementation, in order to accurately determine the confidence level of the current payment verification result, the global timeliness and the local timeliness of the current payment verification result in the online payment network need to be considered, and for this, the determining the confidence level of the current payment verification result described in step S23 may specifically include the following contents described in step S2361-step S2364.
Step S2361, the first communication record of the intelligent device, the second communication record of the device to be verified and the third communication record of the associated device are collected to obtain a communication record form, and the form resource directory of the communication record form and each aging factor of the communication record form are extracted.
Step S2362, when it is determined that the global aging set and the local aging set exist in the current payment verification result based on the form resource directory, time sequence decision parameters between the aging factors of the communication record form in the local aging set and the aging factors of the communication record form in the global aging set are calculated according to the aging factors of the communication record form in the global aging set and the aging weights corresponding to the aging factors.
Step S2363, according to the time sequence decision parameter, determining that the time sequence decision parameter between the aging factors of the communication record form in the local aging set and in the global aging set is in the time sequence decision parameter of the set parameter interval, and transferring the time sequence decision parameter to the global aging set.
Step S2364, calculating a global timeliness weight of the current payment verification result in the global timeliness set and a local timeliness weight in the local timeliness set according to the timeliness factor in the global timeliness set and the timeliness factor in the local timeliness set; and determining a global timeliness index of the global timeliness weight in the online payment network and a local timeliness index of the local timeliness weight in the online payment network, and weighting and summing the global timeliness index and the local timeliness index to obtain the confidence coefficient of the current payment verification result.
It can be understood that based on the descriptions of the above steps S2361-S2364, the global timeliness and the local timeliness of the current payment verification result in the online payment network can be taken into consideration, so that the confidence of the current payment verification result can be accurately determined.
In the implementation process, in order to ensure that the smart device 120 can reserve sufficient memory and time slice resources when performing payment verification on the device to be verified 130, it is required to ensure that the smart device 120 periodically acquires the target information segment in the cloud hosting server 110 to avoid that the smart device 120 acquires excessive information from the cloud hosting server 110 at one time. To achieve the above object, in step S23, the information obtaining request is sent to the cloud hosting server, which may specifically include the contents described in the following steps S2371 to S2373.
Step S2371, determining the percentage of the remaining memory and the percentage of the remaining time slice resources of the intelligent device.
Step S2372, generating an information capacity label according to the percentage of the remaining memory and the percentage of the remaining time slice resources; the information capacity label is used for representing the capacity of information acquired by the intelligent device from the cloud register server each time.
Step S2373, implanting the information capacity label into an information acquisition request generated according to the port parameter of the cloud hosting server, and sending the information acquisition request implanted with the information capacity label to the cloud hosting server.
It can be appreciated that, through the descriptions in the foregoing steps S2371-S2373, an information capacity tag can be embedded into the information obtaining request based on the remaining memory percentage and the remaining time slice resource percentage of the smart device, so that the target information segment can be obtained periodically after the authorization of the cloud hosting server 110 to avoid the smart device 120 obtaining excessive information from the cloud hosting server 110 at one time. In an actual use process, if the smart device 120 can perform the current payment verification result according to a small number of target information segments and the confidence of the current payment verification result is greater than or equal to a set value, it is not necessary to continuously obtain other target information segments in the cloud register server 110, so that it is avoided that the smart device 120 receives too much information at one time, which results in long time consumption of online payment verification.
In an alternative embodiment, the performing payment verification on the device to be verified based on the target information segment, the target communication protocol and the device behavior data to obtain the current payment verification result described in step S240 may specifically include the following steps S2411 to S2413.
Step S2411, analyzing the device running log of the device to be verified to obtain the message queue record in the log file included in the device running log based on the target communication protocol, the device behavior data and the information distribution track of the target information segment.
Step S2412, extracting the log content of which the text information in the device running log is not updated along with the adjustment of the target queue information with the adjustable parameters through the target queue information with the adjustable parameters in the screened message queue records relative to the payment environment information of the device to be verified.
Step S2413, determining a configuration file with a payment authentication signature in the log content, extracting file verification characters in the configuration file, and importing the file verification characters into a preset verification list to obtain a current payment verification result.
In this embodiment, by executing the contents described in the above steps S2411 to S2413, the device operation log of the device to be verified can be analyzed, so that the log content in the device operation log is extracted according to the message queue record obtained by the analysis, and then the payment verification is performed on the device to be verified based on the log content to obtain the current payment verification result.
In another alternative embodiment, the determination of whether the device to be authenticated passes payment authentication according to the current payment authentication result described in step S240 may specifically include the following descriptions of step S2421 to step S2424.
Step S2421, acquiring device dynamic signatures corresponding to the current payment verification result, wherein each device dynamic signature corresponds to a signature random number.
Step S2422, converting each signature character string in the dynamic signature of the equipment into a target array respectively; the target array can be compatible with the intelligent device, the device to be verified and the related device, the compatible evaluation coefficient of the target array converted from each signature character string is the same as the compatible evaluation coefficient of the signature character string, and each target array is provided with an array check code for uniquely determining the target array.
Step S2423, acquiring signature random numbers based on the dynamic signature of the equipment and a plurality of payment verification coefficients generated by array check codes in each target array; for each of the plurality of payment verification coefficients, calculating a matching weight of each payment verification coefficient in the device to be verified based on a first matching running total of each payment verification coefficient in the device to be verified and a second matching running total of other payment verification coefficients in the device to be verified.
Step S2424, generating the payment risk rate of the current payment verification result based on the matching weight of each payment verification coefficient in the device to be verified; and when the payment risk rate does not exceed the set risk rate, determining that the device to be verified passes the payment verification.
In a specific implementation process, based on the method described in the above steps S2421 to S2424, the device dynamic signature corresponding to the current payment verification result can be analyzed, so as to calculate the matching accumulated value of the multiple payment verification coefficients in the device to be verified, and thus, the payment risk rate of the current payment verification result can be generated based on the matching weight of each payment verification coefficient in the device to be verified. Therefore, whether the device to be verified passes the payment verification can be accurately judged based on the payment risk rate.
Based on the same inventive concept, please refer to fig. 3 in combination, a functional block diagram of a payment verification apparatus 300 based on a block chain network and big data analysis is provided, and the description of the payment verification apparatus 300 is as follows.
A1. A payment verification apparatus 300 based on a blockchain network and big data analysis, applied to an intelligent device, the intelligent device and a device to be verified and a plurality of associated devices communicate with each other to form an online payment network of blockchain, the intelligent device, the device to be verified and the associated devices further communicate with a cloud hosting server, the apparatus at least comprising:
the information splitting module 310 is configured to periodically perform call record analysis on stored information and determine a use frequency of each group of information in the stored information within a set time period; splitting at least one group of information in the stored information according to the use frequency to obtain a first information segment and a second information segment, and uploading the second information segment to the cloud register server;
the instruction detection module 320 is configured to detect whether an operation instruction for performing online payment on the device to be verified is received; when the operation instruction is detected, analyzing a target communication link which is established with the equipment to be verified in advance to extract a target communication protocol corresponding to the equipment to be verified, and acquiring equipment behavior data of the equipment to be verified in the set time period;
a request sending module 330, configured to perform payment verification on the device to be verified based on the target communication protocol and the device behavior data to obtain a current payment verification result, determine a confidence of the current payment verification result, and send an information obtaining request to the cloud hosting server when the confidence is lower than a set value;
a payment verification module 340, configured to perform payment verification on the device to be verified based on the target information segment, the target communication protocol, and the device behavior data to obtain a current payment verification result when a target information segment issued after the cloud hosting server completes authorization of the smart device based on the information acquisition request is acquired; and when the confidence of the current payment verification result is greater than the set value, judging whether the equipment to be verified passes the payment verification according to the current payment verification result.
A2. The apparatus of a1, the request sending module 330, configured to:
determining the percentage of the remaining memory and the percentage of the remaining time slice resources of the intelligent device;
generating an information capacity label according to the percentage of the residual memory and the percentage of the residual time slice resources; the information capacity label is used for representing the capacity of information acquired by the intelligent device from the cloud register server each time;
and implanting the information capacity label into an information acquisition request generated according to the port parameter of the cloud register server and sending the information acquisition request implanted with the information capacity label to the cloud register server.
A3. The apparatus of a1, the payment verification module 340 to:
after a field distribution network corresponding to a protocol field of the target communication protocol is constructed, listing node attributes of each network node in the field distribution network; generating a first serialized logic list corresponding to the field distribution network according to the attribute label of each node attribute; the first serialization logic list is used for representing a plurality of groups of serialization logics when the target communication protocol is configured between the intelligent device and the device to be verified;
identifying the equipment operation data according to an identification determination model pre-established with the equipment to be verified so as to extract a plurality of data identifications in the equipment operation data, and performing time sequence characteristic division on the equipment operation data according to the data identifications to obtain a plurality of groups of time sequence characteristic data corresponding to the equipment operation data; generating a second serialized logic list corresponding to the equipment operation data according to the cosine distance between the adjacent time sequence characteristic data; the second serialization logic list is used for representing the logic of the intelligent equipment for serializing the equipment operation data by the equipment to be verified when the intelligent equipment acquires the equipment operation data;
determining n first manifest information in the first serialized logical manifest and m second manifest information in the second serialized logical manifest; wherein n and m are positive integers, the first manifest information and the second manifest information each include a serialization matrix having different priority weights, the serialization matrix being used to indicate binary serialization of the target communication protocol and the device operational data;
generating a mapping list between the first serialized logic manifest and the second serialized logic manifest according to the first manifest information and the second manifest information;
formatting a protocol field corresponding to the target communication protocol and time sequence characteristic data corresponding to the equipment operation data based on the mapping list to obtain first verification data corresponding to the protocol field corresponding to the target communication protocol and second verification data corresponding to the time sequence characteristic data; the equipment to be verified performs payment verification according to the first verification data and the second verification data to obtain a current payment verification result; the first verification data and the second verification data have the same configuration parameters corresponding to the formatting threads.
A4. The apparatus of a3, the payment verification module 340 to:
when n is equal to m, determining matrix description information of a first target serialization matrix of one first list information in the first serialization logic list, and determining second list information corresponding to a second target serialization matrix with the maximum priority weight in the second serialization logic list as current list information; determining matrix transformation information corresponding to the matrix description information in the current list information; generating a mapping list between the first serialized logic list and the second serialized logic list according to the matrix transformation information and the matrix description information;
when n is not equal to m, calculating a first priority weight average value corresponding to the first serialized logic list and a second priority weight average value corresponding to the second serialized logic list; if the first priority weight average value is greater than the second priority weight average value, taking list structure information corresponding to the first serialized logic list as reference structure information and generating a mapping list between the first serialized logic list and the second serialized logic list based on the reference structure information; and if the first priority weight average value is less than or equal to the second priority weight average value, taking list structure information corresponding to the second serialized logic list as reference structure information, and generating a mapping list between the first serialized logic list and the second serialized logic list based on the reference structure information.
A5. The apparatus of a3, the payment verification module 340 to:
determining verification dimension information of the equipment to be verified based on the first verification data and the second verification data, extracting identification characters of the verification dimension information, and determining a plurality of target payment verification threads in which target characters corresponding to the identification characters are recorded from preset payment verification threads; wherein the character similarity rate of the target character and the identification character reaches a set rate;
determining a data transmission path corresponding to each payment verification thread, and determining a verification result storage position corresponding to each payment verification thread according to the path description information of each data transmission path; the verification result storage position is a cache area of the intelligent device or a database of the cloud register server;
if the verification result storage position is a cache region of the intelligent device, marking the target payment verification thread as a first thread; if the verification result storage position is the database of the cloud register server, marking the target payment verification thread as a second thread; calculating the parameter matching degree between a first target thread with the lowest running delay in the first threads and a second target thread with the lowest running delay in the second threads;
when the parameter matching degree reaches a preset value, importing the first verification data and the second verification data into the second target thread, realizing payment verification on the equipment to be verified by running the second target thread, and acquiring a current payment verification result from a database of the cloud register server; and when the parameter matching degree does not reach the preset value, importing the first verification data and the second verification data into the first target thread, realizing payment verification on the equipment to be verified by running the first target thread, and acquiring a current payment verification result from a cache region corresponding to the first target thread.
A6. The apparatus of a1, the request sending module 330, configured to:
summarizing the first communication record of the intelligent device, the second communication record of the device to be verified and the third communication record of the associated device to obtain a communication record form, and extracting form resource directories of the communication record form and various time-efficiency factors of the communication record form;
when determining that a global aging set and a local aging set exist in a current payment verification result based on the form resource directory, calculating time sequence decision parameters between each aging factor of the communication record form in the local aging set and each aging factor of the communication record form in the global aging set according to the aging factor of the communication record form in the global aging set and the aging weight corresponding to the aging factor;
determining that the time sequence decision parameter between the aging factors of the communication record form under the local aging set and the global aging set is located in a set parameter interval, and transferring the aging factor to the global aging set according to the time sequence decision parameter;
calculating a global timeliness weight of the current payment verification result under the global timeliness set and a local timeliness weight of the current payment verification result under the local timeliness set according to the timeliness factor under the global timeliness set and the timeliness factor under the local timeliness set; and determining a global timeliness index of the global timeliness weight in the online payment network and a local timeliness index of the local timeliness weight in the online payment network, and weighting and summing the global timeliness index and the local timeliness index to obtain the confidence coefficient of the current payment verification result.
A7. The apparatus of a1, the payment verification module 340 to:
analyzing the device running log of the device to be verified to obtain a message queue record in a log file included in the device running log based on the target communication protocol, the device behavior data and the information distribution track of the target information segment;
extracting log contents, which are not updated along with the adjustment of the target queue information with adjustable parameters, of text information in the device running log through the target queue information with adjustable parameters in the screened message queue records relative to the payment environment information of the device to be verified;
determining a configuration file with a payment authentication signature in the log content, extracting file verification characters in the configuration file, and importing the file verification characters into a preset verification list to obtain a current payment verification result.
A8. The apparatus of a1, the payment verification module 340 to:
acquiring device dynamic signatures corresponding to the current payment verification result, wherein each device dynamic signature corresponds to a signature random number;
respectively converting each signature character string in the dynamic signature of the equipment into a target array; the target array can be compatible with the intelligent device, the device to be verified and the related device, the compatible evaluation coefficient of the target array converted from each signature character string is the same as that of the signature character string, and each target array is provided with an array check code for uniquely determining the target array;
acquiring a signature random number based on a dynamic signature of the equipment and a plurality of payment verification coefficients generated by array check codes in each target array; for each of the plurality of payment verification coefficients, calculating a matching weight of each payment verification coefficient in the device to be verified based on a first matching running total of each payment verification coefficient in the device to be verified and a second matching running total of other payment verification coefficients in the device to be verified;
generating a payment risk rate of the current payment verification result based on the matching weight of each payment verification coefficient in the device to be verified; and when the payment risk rate does not exceed the set risk rate, determining that the device to be verified passes the payment verification.
Based on the same inventive concept, a payment verification system based on a block chain network and big data analysis is also provided, and the specific description is as follows.
B1. A payment verification system based on a block chain network and big data analysis comprises a cloud register server, an intelligent device, a device to be verified and a plurality of associated devices, wherein the intelligent device, the device to be verified and the associated devices are communicated with each other to form an online payment network of a block chain, and the intelligent device, the device to be verified and the associated devices are also communicated with the cloud register server;
the smart device is configured to:
periodically calling, recording and analyzing the stored information and determining the use frequency of each group of information in the stored information in a set time period; splitting at least one group of information in the stored information according to the use frequency to obtain a first information segment and a second information segment, and uploading the second information segment to the cloud register server;
detecting whether an operation instruction for performing online payment on the equipment to be verified is received; when the operation instruction is detected, analyzing a target communication link which is established with the equipment to be verified in advance to extract a target communication protocol corresponding to the equipment to be verified, and acquiring equipment behavior data of the equipment to be verified in the set time period;
performing payment verification on the device to be verified based on the target communication protocol and the device behavior data to obtain a current payment verification result, determining the confidence of the current payment verification result, and sending an information acquisition request to the cloud register server when the confidence is lower than a set value;
the cloud register server is used for:
issuing target information segments to the intelligent equipment after the authorization of the intelligent equipment is completed based on the information acquisition request;
the smart device is configured to:
performing payment verification on the equipment to be verified based on the target information segment, the target communication protocol and the equipment behavior data to obtain a current payment verification result; and when the confidence of the current payment verification result is greater than the set value, judging whether the equipment to be verified passes the payment verification according to the current payment verification result.
B2. The system of B1, the smart device to:
determining the percentage of the remaining memory and the percentage of the remaining time slice resources of the intelligent device;
generating an information capacity label according to the percentage of the residual memory and the percentage of the residual time slice resources; the information capacity label is used for representing the capacity of information acquired by the intelligent device from the cloud register server each time;
and implanting the information capacity label into an information acquisition request generated according to the port parameter of the cloud register server and sending the information acquisition request implanted with the information capacity label to the cloud register server.
B3. The system of B1, the smart device to:
after a field distribution network corresponding to a protocol field of the target communication protocol is constructed, listing node attributes of each network node in the field distribution network; generating a first serialized logic list corresponding to the field distribution network according to the attribute label of each node attribute; the first serialization logic list is used for representing a plurality of groups of serialization logics when the target communication protocol is configured between the intelligent device and the device to be verified;
identifying the equipment operation data according to an identification determination model pre-established with the equipment to be verified so as to extract a plurality of data identifications in the equipment operation data, and performing time sequence characteristic division on the equipment operation data according to the data identifications to obtain a plurality of groups of time sequence characteristic data corresponding to the equipment operation data; generating a second serialized logic list corresponding to the equipment operation data according to the cosine distance between the adjacent time sequence characteristic data; the second serialization logic list is used for representing the logic of the intelligent equipment for serializing the equipment operation data by the equipment to be verified when the intelligent equipment acquires the equipment operation data;
determining n first manifest information in the first serialized logical manifest and m second manifest information in the second serialized logical manifest; wherein n and m are positive integers, the first manifest information and the second manifest information each include a serialization matrix having different priority weights, the serialization matrix being used to indicate binary serialization of the target communication protocol and the device operational data;
generating a mapping list between the first serialized logic manifest and the second serialized logic manifest according to the first manifest information and the second manifest information;
formatting a protocol field corresponding to the target communication protocol and time sequence characteristic data corresponding to the equipment operation data based on the mapping list to obtain first verification data corresponding to the protocol field corresponding to the target communication protocol and second verification data corresponding to the time sequence characteristic data; the equipment to be verified performs payment verification according to the first verification data and the second verification data to obtain a current payment verification result; the first verification data and the second verification data have the same configuration parameters corresponding to the formatting threads.
B4. The system of B3, the smart device to:
when n is equal to m, determining matrix description information of a first target serialization matrix of one first list information in the first serialization logic list, and determining second list information corresponding to a second target serialization matrix with the maximum priority weight in the second serialization logic list as current list information; determining matrix transformation information corresponding to the matrix description information in the current list information; generating a mapping list between the first serialized logic list and the second serialized logic list according to the matrix transformation information and the matrix description information;
when n is not equal to m, calculating a first priority weight average value corresponding to the first serialized logic list and a second priority weight average value corresponding to the second serialized logic list; if the first priority weight average value is greater than the second priority weight average value, taking list structure information corresponding to the first serialized logic list as reference structure information and generating a mapping list between the first serialized logic list and the second serialized logic list based on the reference structure information; and if the first priority weight average value is less than or equal to the second priority weight average value, taking list structure information corresponding to the second serialized logic list as reference structure information, and generating a mapping list between the first serialized logic list and the second serialized logic list based on the reference structure information.
B5. The system of B3, the smart device to:
determining verification dimension information of the equipment to be verified based on the first verification data and the second verification data, extracting identification characters of the verification dimension information, and determining a plurality of target payment verification threads in which target characters corresponding to the identification characters are recorded from preset payment verification threads; wherein the character similarity rate of the target character and the identification character reaches a set rate;
determining a data transmission path corresponding to each payment verification thread, and determining a verification result storage position corresponding to each payment verification thread according to the path description information of each data transmission path; the verification result storage position is a cache area of the intelligent device or a database of the cloud register server;
if the verification result storage position is a cache region of the intelligent device, marking the target payment verification thread as a first thread; if the verification result storage position is the database of the cloud register server, marking the target payment verification thread as a second thread; calculating the parameter matching degree between a first target thread with the lowest running delay in the first threads and a second target thread with the lowest running delay in the second threads;
when the parameter matching degree reaches a preset value, importing the first verification data and the second verification data into the second target thread, realizing payment verification on the equipment to be verified by running the second target thread, and acquiring a current payment verification result from a database of the cloud register server; and when the parameter matching degree does not reach the preset value, importing the first verification data and the second verification data into the first target thread, realizing payment verification on the equipment to be verified by running the first target thread, and acquiring a current payment verification result from a cache region corresponding to the first target thread.
B6. The system of B1, the smart device to:
summarizing the first communication record of the intelligent device, the second communication record of the device to be verified and the third communication record of the associated device to obtain a communication record form, and extracting form resource directories of the communication record form and various time-efficiency factors of the communication record form;
when determining that a global aging set and a local aging set exist in a current payment verification result based on the form resource directory, calculating time sequence decision parameters between each aging factor of the communication record form in the local aging set and each aging factor of the communication record form in the global aging set according to the aging factor of the communication record form in the global aging set and the aging weight corresponding to the aging factor;
determining that the time sequence decision parameter between the aging factors of the communication record form under the local aging set and the global aging set is located in a set parameter interval, and transferring the aging factor to the global aging set according to the time sequence decision parameter;
calculating a global timeliness weight of the current payment verification result under the global timeliness set and a local timeliness weight of the current payment verification result under the local timeliness set according to the timeliness factor under the global timeliness set and the timeliness factor under the local timeliness set; and determining a global timeliness index of the global timeliness weight in the online payment network and a local timeliness index of the local timeliness weight in the online payment network, and weighting and summing the global timeliness index and the local timeliness index to obtain the confidence coefficient of the current payment verification result.
B7. The system of B1, the smart device to:
analyzing the device running log of the device to be verified to obtain a message queue record in a log file included in the device running log based on the target communication protocol, the device behavior data and the information distribution track of the target information segment;
extracting log contents, which are not updated along with the adjustment of the target queue information with adjustable parameters, of text information in the device running log through the target queue information with adjustable parameters in the screened message queue records relative to the payment environment information of the device to be verified;
determining a configuration file with a payment authentication signature in the log content, extracting file verification characters in the configuration file, and importing the file verification characters into a preset verification list to obtain a current payment verification result.
B8. The system of B1, the smart device to:
acquiring device dynamic signatures corresponding to the current payment verification result, wherein each device dynamic signature corresponds to a signature random number;
respectively converting each signature character string in the dynamic signature of the equipment into a target array; the target array can be compatible with the intelligent device, the device to be verified and the related device, the compatible evaluation coefficient of the target array converted from each signature character string is the same as that of the signature character string, and each target array is provided with an array check code for uniquely determining the target array;
acquiring a signature random number based on a dynamic signature of the equipment and a plurality of payment verification coefficients generated by array check codes in each target array; for each of the plurality of payment verification coefficients, calculating a matching weight of each payment verification coefficient in the device to be verified based on a first matching running total of each payment verification coefficient in the device to be verified and a second matching running total of other payment verification coefficients in the device to be verified;
generating a payment risk rate of the current payment verification result based on the matching weight of each payment verification coefficient in the device to be verified; and when the payment risk rate does not exceed the set risk rate, determining that the device to be verified passes the payment verification.
On the basis, please refer to fig. 4 in combination, which provides a schematic diagram of a hardware structure of an intelligent device 120, where the intelligent device 120 includes a processor 121, and a memory 122 and a network interface 123 connected to the processor 121; the network interface 123 is connected with a non-volatile memory 124 in the smart device 120; the processor 121, when running, retrieves a computer program from the non-volatile memory 124 via the network interface 123 and runs the computer program via the memory 122 to perform the above-described method. Further, a readable storage medium applied to a computer is provided, and the readable storage medium is burned with a computer program, and the computer program implements the method when running in the memory 122 of the smart device 120.