Disclosure of Invention
The specification provides a payment network environment detection method and a network server applied to block chain payment, so as to solve or partially solve the technical problems in the prior art.
The specification discloses a payment network environment detection method applied to block chain payment, which is applied to a network server communicated with a block chain node device, and the method at least comprises the following steps:
after obtaining the authorization of a first block chain node point device, obtaining a historical payment record corresponding to the first block chain node point device;
after obtaining authorization of a second block chain node device with effective transaction behavior with the first block chain node device, classifying a plurality of payment lists in the historical payment record based on a historical collection record of the second block chain node device to obtain a plurality of effective payment lists and a plurality of ineffective payment lists;
determining payment request rejection information corresponding to each invalid payment list and payment behavior data of the first block chain link point device respectively based on the acquired network state data of the block chain network in which the first block chain link point device and the second block chain link point device are located in the current time period;
determining payment environment metric data for the blockchain network based at least on the payment request rejection information, the historical collection records, and the network status data;
modifying the interface access authority of the first block chain link point device according to the payment environment index data and the input instruction which is received by the first block chain link point device and used for indicating the first block chain link point device to carry out block chain payment transaction.
Preferably, determining payment environment metric data for the blockchain network based at least on the payment request rejection information, the historical collection records, and the network status data comprises:
for each determined payment request rejection information, extracting payment risk prompt information in the payment request rejection information based on the acquired network state data of the block chain network in which the first block chain node point device and the second block chain node point device are located in the current time period;
inquiring transaction prompt information of payee equipment corresponding to each payment risk prompt information in the historical payment record;
calculating time sequence asynchronous data between the transaction prompt information and the payment risk prompt information based on the network state data and determining payment delay data of the block chain network according to the time sequence asynchronous data; the time sequence asynchronous data are used for representing a difference value between the generation time of the transaction prompt message and the generation time of the payment risk prompt message;
determining the data distribution characteristics of the payment delay data in the network state data, weighting the data distribution characteristics by adopting the proportion of the effective payment list and the ineffective payment list to obtain weighted distribution characteristics, and determining the payment environment index data of the block chain network based on the weighted distribution characteristics.
Preferably, modifying the interface access right of the first block chain node device according to the payment environment index data and the input instruction received by the first block chain node device for instructing the first block chain node device to perform the block chain payment transaction includes:
acquiring an environment network data set obtained by carrying out global network data extraction on payment environment index data, and carrying out data intrusion detection on the payment environment index data by adopting an intrusion detection script program to obtain an intrusion detection result; determining a program correction instruction for correcting the detection accuracy of the intrusion detection script program according to the index dimension information of the payment environment index data, and determining correction timeliness data of the program correction instruction; determining real timeliness data corresponding to the corrected timeliness data from the environment network data set and the intrusion detection result; determining a payment environment safety factor of the payment environment index data relative to the intrusion detection result according to the program modification instruction and the real timeliness data;
analyzing the input instruction to obtain an expected transaction time period and an expected transaction duration which are included in the input instruction and used for indicating the first block chain link point device to perform block chain payment transaction, and device identification information of a transaction party device used for indicating the first block chain link point device to perform block chain payment transaction;
inquiring a current communication address of the transaction party equipment corresponding to the equipment identification information in a preset database, requesting equipment access authorization of the transaction party equipment based on the current communication address, generating an inquiry request for inquiring the equipment running state of the transaction party equipment according to the expected transaction time period and the expected transaction duration after obtaining the equipment access authorization of the transaction party equipment, and sending the inquiry request to the transaction party equipment to obtain target running state information returned by the transaction party equipment based on the inquiry request; wherein the target operational state information matches the expected transaction period and the expected transaction duration;
determining an equipment interface vacuum period for the first block link point equipment matching the expected transaction period and the expected transaction duration based on the equipment operating status; judging interface intrusion probability corresponding to the payment environment safety factor and interface permission information corresponding to the interface intrusion probability in the equipment interface vacuum period; and modifying the interface access authority of the first block chain node point equipment when the interface intrusion probability is greater than the set probability.
Preferably, the sorting the plurality of payment lists in the historical payment record based on the historical collection record of the second block link point device to obtain a plurality of valid payment lists and a plurality of invalid payment lists comprises:
determining a collection record queue of the historical collection records which are arranged in sequence, and determining each payment list in the historical payment records based on the collection record queue;
determining a first payment tag and a second payment tag from the payment statistics list on the premise of determining that the payment statistics list exists in the historical payment records according to the collection record queue arranged in sequence according to the time sequence; the first payment tag is used for representing validity of a payment list, the second payment tag is used for representing invalidity of the payment list, and the sum of the number of the payment lists under the first payment tag are the same as the sum of the payment lists in the historical payment record;
according to the payment list of the historical payment record under the first payment label and the digital authentication signature of the payment list of the historical payment record under the first payment label, calculating the time sequence continuity between the payment lists of the historical payment record under the second payment label and the payment lists of the historical payment record under the first payment label, and adjusting the payment list of the historical payment record under the second payment label and the payment list under the first payment label to be time sequence continuous to the first payment label;
and determining the payment list under the first payment label as an effective payment list, and determining the payment list under the second payment label as an ineffective payment list.
Preferably, the method further comprises:
under the condition that a plurality of abnormal payment lists are contained under the second payment label of the historical payment record, determining the time sequence continuity between the abnormal payment lists under the second payment label of the historical payment record according to the payment lists under the first payment label of the historical payment record and the digital authentication signature of the payment lists under the first payment label of the historical payment record, and verifying the abnormal payment lists under the second payment label according to the time sequence continuity between the abnormal payment lists;
and setting a verification authentication signature for the verified target payment list according to the payment list of the historical payment record under the first payment label and the digital authentication signature of the payment list of the historical payment record under the first payment label, and adjusting the target payment list carrying the verification authentication signature to be under the first payment label.
Preferably, obtaining the historical payment record corresponding to the first block link point device includes: extracting a payment record with a transaction completion identifier from a service database of the first block link point device as the historical payment record; wherein the traffic database is opened to the network server after the first blockchain node device passes authorization of the network server.
Preferably, the network status data of the blockchain network in the current time period is obtained by the following method:
extracting first link protocol layer characteristics corresponding to a communication link between the first block link point device and the second block link point device, and extracting second link protocol layer characteristics corresponding to other communication links in the block chain network except the communication link between the first block link point device and the second block link point device; wherein the first link protocol layer characteristic and the second link protocol layer characteristic respectively comprise protocol layer information of a plurality of different characteristic weights;
determining link state parameters of any protocol layer information of the communication link in the first link protocol layer characteristics, and determining the protocol layer information with the minimum characteristic weight in the second link protocol layer characteristics as target protocol layer information in parallel;
mapping the link state parameter to the target protocol layer information to obtain a mapping state parameter in the target protocol layer information based on bidirectional authentication information of a transaction interaction service between the first block link point device and the second block link point device; generating link influence characteristic data between the communication link and the other communication links through parameter association characteristics between the link state parameters and the mapping state parameters; wherein the link impact characterization data is used to characterize communication interference and communication impact between the communication link and the other communication links;
and acquiring local state parameters in the target protocol layer information by taking the mapping state parameters as current state parameters, mapping the local state parameters to the protocol layer information where the link state parameters are located according to a data feature distribution queue corresponding to the link influence feature data to obtain global state parameters corresponding to the local state parameters in the protocol layer information where the link state parameters are located, and generating network state data of the block chain network in the current time period through the global state parameters.
The present specification discloses a network server in communication with a block-link node device, the network server configured to:
after obtaining the authorization of a first block chain node point device, obtaining a historical payment record corresponding to the first block chain node point device;
after obtaining authorization of a second block chain node device with effective transaction behavior with the first block chain node device, classifying a plurality of payment lists in the historical payment record based on a historical collection record of the second block chain node device to obtain a plurality of effective payment lists and a plurality of ineffective payment lists;
determining payment request rejection information corresponding to each invalid payment list and payment behavior data of the first block chain link point device respectively based on the acquired network state data of the block chain network in which the first block chain link point device and the second block chain link point device are located in the current time period;
determining payment environment metric data for the blockchain network based at least on the payment request rejection information, the historical collection records, and the network status data;
modifying the interface access authority of the first block chain link point device according to the payment environment index data and the input instruction which is received by the first block chain link point device and used for indicating the first block chain link point device to carry out block chain payment transaction.
The present specification discloses a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the above method.
The present specification discloses a network server comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the above method when executing the program.
Through one or more technical schemes of this description, this description has following beneficial effect or advantage: firstly, obtaining a historical payment record corresponding to a first block chain point device, classifying a plurality of payment lists in the historical payment record based on a historical collection record of a second block chain point device to obtain a plurality of valid payment lists and a plurality of invalid payment lists, secondly, determining payment request rejection information corresponding to each invalid payment list and payment behavior data of the first blockchain link point device respectively based on network state data of the blockchain network in the current time period, and finally, modifying the interface access authority of the first block chain link point device according to the payment environment index data and an input instruction which is received by the first block chain link point device and used for indicating the first block chain link point device to carry out block chain payment transaction. Therefore, the detection of the payment network environment of the whole block chain network and the modification of the interface access authority of the first block chain node device in the vacuum period can be realized, and the first block chain node device is prevented from being invaded by a third-party device when the block chain payment action is executed.
The above description is only an outline of the technical solution of the present specification, and the embodiments of the present specification are described below in order to make the technical means of the present specification more clearly understood, and the present specification and other objects, features, and advantages of the present specification can be more clearly understood.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
The inventor researches and analyzes the problem that the blockchain payment node mentioned in the background art is easy to be invaded by a third-party device, and innovatively discovers that when the blockchain payment node performs the blockchain payment action, although the blockchain payment node performs the cryptographic verification with the blockchain collection node (a payee or a merchant) to ensure the security of the payment action, the blockchain collection node only aims at the blockchain collection node, and the security of the payment network environment of the whole blockchain network is not considered. In addition, when the blockchain payment node carries out payment, a period of vacuum period of the equipment interface exists, and the interface access authority of the blockchain payment node is opened in the vacuum period of the equipment interface, so that a multiplier is provided for the invasion of third-party equipment.
It follows that in order to improve the above technical problem, the following two problems need to be solved:
(1) the detection of the payment network environment of the whole block chain network is realized;
(2) interface access rights of the blockchain payment node during the vacuum period are modified.
In view of this, embodiments of the present invention provide a method for detecting a payment network environment applied to blockchain payment and a network server, which can detect a payment network environment of an entire blockchain network and modify an interface access right of a blockchain payment node in a vacuum period, so as to prevent the blockchain payment node from being invaded by a third-party device when performing a blockchain payment action.
To better illustrate the technical solution, please first refer to fig. 1, which shows a system architecture diagram of a payment network environment detection system 100 applied to blockchain payment, where the payment network environment detection system 100 may include a network server 200 and a plurality of blockchain node devices 400. Wherein the blockchain node devices 400 communicate with each other to form a blockchain network, and the network server 200 communicates with the blockchain network to detect a payment network environment of the blockchain network and to instruct the blockchain node devices to modify the interface access rights. In the present embodiment, the block link point device 400 may be an intelligent electronic device having communication and mobile payment functions, such as a portable terminal. The web server 200 may be a server deployed in the cloud.
Further, on the basis of fig. 1, fig. 2 shows a flowchart of a payment network environment detection method applied to blockchain payment, which may be applied to the network server 200 in fig. 1, and specifically may include the contents described in the following steps S210 to S250.
Step S210, after obtaining the authorization of the first block link point device, obtaining a historical payment record corresponding to the first block link point device.
For example, the network server may issue an access request to the first blocklink point device in advance to obtain authorization of the first blocklink point device.
Step S220, after obtaining the authorization of the second block link point device having valid transaction behavior with the first block link point, classifying the plurality of payment lists in the historical payment record based on the historical collection record of the second block link point device, so as to obtain a plurality of valid payment lists and a plurality of invalid payment lists.
For example, the historical payment record may be retrieved from the second block node device, the time period of the historical payment record may be adjusted according to actual conditions, and the valid payment list indicates that the current payment behavior is valid, and the invalid payment list indicates that the current payment behavior is invalid.
Step S230, determining payment request rejection information corresponding to each invalid payment list and payment behavior data of the first block chain node device, based on the acquired network state data of the block chain network in which the first block chain node device and the second block chain node device are located in the current time period.
For example, the invalid payment manifest is in a one-to-one correspondence with the payment request rejection information.
Step S240, determining payment environment index data of the blockchain network based on at least the payment request rejection information, the historical collection records, and the network status data.
For example, the payment environment metric data is used to characterize the payment environment security of the blockchain network.
Step S250, modifying the interface access right of the first block chain node point device according to the payment environment index data and the input instruction received by the first block chain node point device and used for instructing the first block chain node point device to perform block chain payment transaction.
For example, the network server may instruct the first tile link node device to make a modification of the interface access rights.
It can be understood that, by performing the descriptions in steps S210 to S250, first obtaining a historical payment record corresponding to a first block-link point device and classifying a plurality of payment lists in the historical payment record based on a historical payment record of a second block-link point device to obtain a plurality of valid payment lists and a plurality of invalid payment lists, then determining payment request rejection information corresponding to payment behavior data of each invalid payment list and the first block-link point device respectively based on network status data of the block-link network in a current time period, then determining payment environment index data of the block-link network based on at least the payment request rejection information, the historical payment record and the network status data, and finally entering interface access rights of the first block-link point device according to the payment environment index data and an input instruction received by the first block-link point device for instructing the first block-link point device to perform a block-link payment transaction And (6) line modification. Therefore, the detection of the payment network environment of the whole block chain network and the modification of the interface access authority of the first block chain node device in the vacuum period can be realized, and the first block chain node device is prevented from being invaded by a third-party device when the block chain payment action is executed.
In practical application, the inventor finds that incomplete payment environment index data often occurs when determining the payment environment index data of the blockchain network, and innovatively finds that the time sequence difference condition of blockchain payment and blockchain transaction at different equipment ends is not considered. To improve this problem and ensure the integrity of the payment environment index data, the determination of the payment environment index data of the blockchain network based on at least the payment request rejection information, the historical collection record and the network status data, which is described in step S240, may specifically include the following descriptions in step S241 to step S244.
Step S241, for each determined payment request rejection information, extracting payment risk prompt information in the payment request rejection information based on the acquired network state data of the block chain network in which the first block chain node device and the second block chain node device are located in the current time period.
Step S242, inquiring the transaction prompt information of the payee device corresponding to each payment risk prompt information in the historical collection record.
Step S243, calculating time sequence asynchronous data between the transaction prompt information and the payment risk prompt information based on the network state data and determining payment delay data of the block chain network according to the time sequence asynchronous data; the time sequence asynchronous data are used for representing the difference between the generation time of the transaction prompt message and the generation time of the payment risk prompt message.
Step S244, determining data distribution characteristics of the payment delay data in the network status data, weighting the data distribution characteristics by using a ratio of the valid payment list to the invalid payment list to obtain weighted distribution characteristics, and determining payment environment index data of the block chain network based on the weighted distribution characteristics.
In this way, by applying the above steps S241 to S244, the timing difference between the blockchain payment and the blockchain transaction at different device ends can be considered, so as to ensure the integrity of the determined payment environment index data.
In an implementation manner, in order to implement accurate and reliable modification of the interface access right of the first block-link point device to ensure information security of the first block-link point device, the modification of the interface access right of the first block-link point device according to the payment environment index data and the input instruction received by the first block-link point device to instruct the first block-link point device to perform block chain payment transaction, which is described in step S250, may further include what is described in the following steps S251 to S254.
Step S251, obtaining an environment network data set obtained by extracting global network data from payment environment index data, and obtaining an intrusion detection result obtained by carrying out data intrusion detection on the payment environment index data by adopting an intrusion detection script program; determining a program correction instruction for correcting the detection accuracy of the intrusion detection script program according to the index dimension information of the payment environment index data, and determining correction timeliness data of the program correction instruction; determining real timeliness data corresponding to the corrected timeliness data from the environment network data set and the intrusion detection result; and determining the payment environment safety coefficient of the payment environment index data relative to the intrusion detection result according to the program correction instruction and the real timeliness data.
Step S252, the input instruction is analyzed to obtain an expected transaction time period and an expected transaction duration included in the input instruction and used for instructing the first blockchain link point device to perform the blockchain payment transaction, and device identification information of a transaction party device used for instructing the first blockchain link point device to perform the blockchain payment transaction.
Step S253, inquiring a current communication address of the transaction side equipment corresponding to the equipment identification information in a preset database, requesting equipment access authorization of the transaction side equipment based on the current communication address, generating an inquiry request for inquiring the equipment running state of the transaction side equipment according to the expected transaction time period and the expected transaction duration after obtaining the equipment access authorization of the transaction side equipment, and sending the inquiry request to the transaction side equipment to obtain target running state information returned by the transaction side equipment based on the inquiry request; wherein the target operational state information matches the expected transaction period and the expected transaction duration.
Step S254, determining an equipment interface vacuum period for which the first block link point equipment matches the expected transaction period and the expected transaction duration based on the equipment operating state; judging interface intrusion probability corresponding to the payment environment safety factor and interface permission information corresponding to the interface intrusion probability in the equipment interface vacuum period; and modifying the interface access authority of the first block chain node point equipment when the interface intrusion probability is greater than the set probability.
In the implementation process, when the contents described in steps S251 to S254 are executed, the interface access right of the first block-link-point device can be accurately and reliably modified, so as to ensure the information security of the first block-link-point device.
In one possible implementation manner, in order to ensure the classification accuracy of the multiple payment lists in the historical payment record, the multiple payment lists in the historical payment record are classified based on the historical collection record of the second block-link point device, which is described in step S220, so as to obtain multiple valid payment lists and multiple invalid payment lists, which can be further implemented by the following description of steps S221-S224.
Step S221, determining a collection record queue of the historical collection records arranged in sequence according to time sequence, and determining each payment list in the historical payment records based on the collection record queue.
Step S222, determining a first payment tag and a second payment tag from the payment statistics list on the premise of determining that a payment statistics list exists in the historical payment records according to the collection record queue arranged in sequence according to the time sequence; the first payment tag is used for representing validity of a payment list, the second payment tag is used for representing invalidity of the payment list, and the sum of the number of the payment lists under the first payment tag are the same as the sum of the payment lists in the historical payment record.
Step S223 is to calculate a time sequence continuity between each payment list of the historical payment record under the second payment tag and each payment list of the historical payment record under the first payment tag according to the payment list of the historical payment record under the first payment tag and the digital authentication signature of the payment list of the historical payment record under the first payment tag, and adjust the payment list of the historical payment record under the second payment tag and the payment list under the first payment tag that are consecutive in time sequence to the first payment tag.
Step S224, determining the payment list under the first payment tag as an effective payment list, and determining the payment list under the second payment tag as an ineffective payment list.
In this way, by implementing the above-described steps S221 to S224, the classification accuracy of the plurality of payment lists in the historical payment record can be ensured.
Further, on the basis of the above steps S221 to S224, the method may further include the steps of: under the condition that a plurality of abnormal payment lists are contained under the second payment label of the historical payment record, determining the time sequence continuity between the abnormal payment lists under the second payment label of the historical payment record according to the payment lists under the first payment label of the historical payment record and the digital authentication signature of the payment lists under the first payment label of the historical payment record, and verifying the abnormal payment lists under the second payment label according to the time sequence continuity between the abnormal payment lists; and setting a verification authentication signature for the verified target payment list according to the payment list of the historical payment record under the first payment label and the digital authentication signature of the payment list of the historical payment record under the first payment label, and adjusting the target payment list carrying the verification authentication signature to be under the first payment label. Therefore, the payment lists under different payment labels can be accurately adjusted and classified.
In a specific embodiment, the obtaining of the historical payment record corresponding to the first block link point device in step S21 specifically includes: extracting a payment record with a transaction completion identifier from a service database of the first block link point device as the historical payment record; wherein the traffic database is opened to the network server after the first blockchain node device passes authorization of the network server.
Further, in order to ensure the comprehensiveness and integrity of the network status data, in step S230, the network status data of the blockchain network in the current time period is acquired through the following steps S231 to S234.
Step S231, extracting first link protocol layer features corresponding to a communication link between the first block link point device and the second block link point device, and extracting second link protocol layer features corresponding to other communication links in the block chain network except the communication link between the first block link point device and the second block link point device; wherein the first link protocol layer characteristic and the second link protocol layer characteristic respectively include protocol layer information of a plurality of different characteristic weights.
Step S232, determining a link state parameter of the communication link in any protocol layer information of the first link protocol layer characteristics, and concurrently determining the protocol layer information with the minimum characteristic weight in the second link protocol layer characteristics as the target protocol layer information.
Step S233, based on the mutual authentication information of the transaction interaction service between the first block link point device and the second block link point device, mapping the link state parameter to the target protocol layer information to obtain a mapping state parameter in the target protocol layer information; generating link influence characteristic data between the communication link and the other communication links through parameter association characteristics between the link state parameters and the mapping state parameters; wherein the link impact characterization data is used to characterize communication interference and communication impact between the communication link and the other communication links.
Step S234, obtaining a local state parameter in the target protocol layer information by using the mapping state parameter as a current state parameter, mapping the local state parameter to the protocol layer information where the link state parameter is located according to a data feature distribution queue corresponding to the link influence feature data to obtain a global state parameter corresponding to the local state parameter in the protocol layer information where the link state parameter is located, and generating network state data of the block chain network in a current time period by using the global state parameter.
It can be understood that, by performing the above steps S231 to S234, the network state data of the blockchain network in the current time period can be generated through the determined global state parameter, so as to ensure the comprehensiveness and integrity of the network state data.
In an alternative embodiment, the determination of payment request rejection information corresponding to each invalid payment list and payment behavior data of the first block-linked point device based on the acquired network status data of the block chain network in which the first block-linked point device and the second block-linked point device are located in the current time period, which is described in step S23, may specifically include the following contents described in steps a to e.
Step a, after determining payment complaint result information of each invalid payment list and biological characteristic information of an equipment user based on the network state data, acquiring a payment complaint processing log of the payment complaint result information and a biological identification result of the biological characteristic information of the equipment user; the payment complaint result information comprises first node information, the biological characteristic information of the equipment user comprises second node information, and the first node information and the second node information are graph data node information.
And b, acquiring log data in the payment declaration processing log and result data in the biological identification result to obtain a fusion data list.
And c, determining a correlation coefficient between any two groups of data in the fused data list to obtain a first correlation coefficient map, and adjusting a correlation coefficient smaller than a preset coefficient in the first correlation coefficient map to be a preset coefficient to obtain a second correlation coefficient map.
Step d, extracting key areas of the second correlation coefficient graph to obtain at least one key area; the at least one key area is used for indicating that the first node information and the second node information are associated node information or non-associated node information;
and e, determining the associated data of each invalid payment list in the payment behavior data based on the correlation coefficient in the key area, and determining the payment request rejection information corresponding to each invalid payment list according to the associated data.
It can be understood that based on the contents described in the above steps a to e, the time sequence consistency between the payment request rejection information and the network state data of the blockchain network in the current time period can be ensured, so as to ensure the accuracy and reliability of the payment request rejection information.
In an alternative embodiment, the modifying of the interface access right of the first tile link point device described in step S25 may specifically include the following steps (1) to (3): determining an interface access authority list of the first block chain node point device, determining a target access authority identifier with an access security index lower than a set index from the interface access authority list, and indicating the first block chain node point device to close the interface access authority corresponding to the target access authority identifier. Therefore, by analyzing the access security index corresponding to the interface access authority, the authority security of the first block chain link point device can be ensured on the premise of ensuring the maximum opening of the interface access authority of the first block chain link point device, and the invasion of a third party device is avoided.
Based on the same inventive concept as the previous embodiment, please refer to fig. 3 in conjunction with which a block chain payment network environment detection apparatus 300 is shown, which is applied to a network server communicating with a block chain node device, and comprises at least:
the payment record obtaining module 310 is configured to obtain a historical payment record corresponding to a first block link point device after obtaining authorization of the first block link point device;
a payment list classification module 320, configured to, after obtaining authorization of a second block link point device having valid transaction behavior with the first block link point, classify, based on a historical collection record of the second block link point device, a plurality of payment lists in the historical payment record, so as to obtain a plurality of valid payment lists and a plurality of invalid payment lists;
an invalid list determining module 330, configured to determine, based on the acquired network state data of the block chain network in which the first block chain node device and the second block chain node device are located in the current time period, payment request rejection information corresponding to each invalid payment list and payment behavior data of the first block chain node device, respectively;
an index data determination module 340 to determine payment environment index data for the blockchain network based at least on the payment request rejection information, the historical collection records, and the network status data;
an access right modification module 350, configured to modify an interface access right of the first block chain node device according to the payment environment index data and an input instruction, received by the first block chain node device, for instructing the first block chain node device to perform a block chain payment transaction.
It is understood that for the above description of the payment record obtaining module 310, the payment list classifying module 320, the invalid list determining module 330, the index data determining module 340 and the access right modifying module 350, reference is made to the description of the method shown in fig. 2 and the related detailed implementation manner of the method shown in fig. 2, and no further description is made again.
Based on the same inventive concept as the previous embodiment, the embodiment of the present specification further provides a payment network environment detection system applied to blockchain payment, including blockchain link point devices and a network server, which communicate with each other; wherein the network server is configured to:
after obtaining the authorization of a first block chain node point device, obtaining a historical payment record corresponding to the first block chain node point device;
after obtaining authorization of a second block chain node device with effective transaction behavior with the first block chain node device, classifying a plurality of payment lists in the historical payment record based on a historical collection record of the second block chain node device to obtain a plurality of effective payment lists and a plurality of ineffective payment lists;
determining payment request rejection information corresponding to each invalid payment list and payment behavior data of the first block chain link point device respectively based on the acquired network state data of the block chain network in which the first block chain link point device and the second block chain link point device are located in the current time period;
determining payment environment metric data for the blockchain network based at least on the payment request rejection information, the historical collection records, and the network status data;
modifying the interface access authority of the first block chain link point device according to the payment environment index data and the input instruction which is received by the first block chain link point device and used for indicating the first block chain link point device to carry out block chain payment transaction.
Based on the same inventive concept as in the previous embodiments, the present specification further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor implements the steps of any of the methods described above.
Based on the same inventive concept as the previous embodiment, the embodiment of the present specification further provides a network server 200, as shown in fig. 4, including a memory 204, a processor 202, and a computer program stored on the memory 204 and executable on the processor 202, wherein the processor 202 implements the steps of any one of the methods described above when executing the program.
Through one or more embodiments of the present description, the present description has the following advantages or advantages: firstly, obtaining a historical payment record corresponding to a first block chain point device, classifying a plurality of payment lists in the historical payment record based on a historical collection record of a second block chain point device to obtain a plurality of valid payment lists and a plurality of invalid payment lists, secondly, determining payment request rejection information corresponding to each invalid payment list and payment behavior data of the first blockchain link point device respectively based on network state data of the blockchain network in the current time period, and finally, modifying the interface access authority of the first block chain link point device according to the payment environment index data and an input instruction which is received by the first block chain link point device and used for indicating the first block chain link point device to carry out block chain payment transaction. Therefore, the detection of the payment network environment of the whole block chain network and the modification of the interface access authority of the first block chain node device in the vacuum period can be realized, and the first block chain node device is prevented from being invaded by a third-party device when the block chain payment action is executed.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual machine, or other apparatus. Various general purpose systems may also be used with the teachings herein. The required structure for constructing such a system will be apparent from the description above. Moreover, this description is not intended for any particular programming language. It will be appreciated that a variety of programming languages may be used to implement the teachings of the present specification and that specific languages are described above to disclose the best modes of the specification.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the present description may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the specification, various features of the specification are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that is, the present specification as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this specification.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the description and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
The various component embodiments of this description may be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. Those skilled in the art will appreciate that a microprocessor or Digital Signal Processor (DSP) may be used in practice to implement some or all of the functionality of some or all of the components of a gateway, proxy server, system in accordance with embodiments of the present description. The present description may also be embodied as an apparatus or device program (e.g., computer program and computer program product) for performing a portion or all of the methods described herein. Such programs implementing the description may be stored on a computer-readable medium or may be in the form of one or more signals. Such a signal may be downloaded from an internet website or provided on a carrier signal or in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the specification, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The description may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.