CN112507379A - High-security electronic commerce system based on block chain - Google Patents
High-security electronic commerce system based on block chain Download PDFInfo
- Publication number
- CN112507379A CN112507379A CN202011495204.9A CN202011495204A CN112507379A CN 112507379 A CN112507379 A CN 112507379A CN 202011495204 A CN202011495204 A CN 202011495204A CN 112507379 A CN112507379 A CN 112507379A
- Authority
- CN
- China
- Prior art keywords
- data
- division
- order
- value
- memory
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000015654 memory Effects 0.000 claims abstract description 100
- 238000012545 processing Methods 0.000 claims abstract description 96
- 238000000605 extraction Methods 0.000 claims abstract description 39
- 238000013500 data storage Methods 0.000 claims abstract description 22
- 238000013075 data extraction Methods 0.000 claims abstract description 17
- 238000000034 method Methods 0.000 claims abstract description 14
- 238000005192 partition Methods 0.000 claims description 21
- 238000012937 correction Methods 0.000 claims description 6
- 230000007547 defect Effects 0.000 description 4
- 238000012544 monitoring process Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/62—Protecting access to data via a platform, e.g. using keys or access control rules
- G06F21/6218—Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5011—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals
- G06F9/5016—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resources being hardware resources other than CPUs, Servers and Terminals the resource being the memory
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q20/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/389—Keeping log of transactions for guaranteeing non-repudiation of a transaction
Abstract
The invention discloses an electronic commerce system with high safety based on a block chain, which is characterized in that a data acquisition module is used for acquiring order information of transactions, the order information comprises order data and payment data of the transactions, and the order information is sent to a data extraction module; the data extraction module is used for receiving and extracting order information to obtain order extraction information, and the order extraction information is sent to the data processing module; processing the order extraction information by using a data processing module to obtain order processing information, and distributing the order processing information to a data storage module; storing and distributing order processing information by using a data storage module; the method and the device are used for solving the problems that the processing efficiency is poor due to the fact that the order data cannot be split, and the problems that the safety is improved and the redundancy is eliminated due to the fact that the memory occupied by the order data cannot be reasonably distributed based on the block chain.
Description
Technical Field
The invention relates to the technical field of block chains, in particular to a block chain-based high-security electronic commerce system.
Background
From a technological level, the blockchain involves many scientific and technical problems such as mathematics, cryptography, internet and computer programming. From the application perspective, the blockchain is a distributed shared account book and a database, and has the characteristics of decentralization, no tampering, trace leaving in the whole process, traceability, collective maintenance, public transparency and the like. The characteristics ensure the honesty and the transparency of the block chain and lay a foundation for creating trust for the block chain. The rich application scenarios of the blockchain basically solve the information asymmetry problem based on the blockchain, and realize the cooperative trust and consistent action among a plurality of main bodies, for example, the security of an e-commerce system is improved based on the blockchain.
Publication No. CN108809947A discloses an e-commerce system based on block chain and with high security, which includes an e-commerce transaction platform and an e-commerce monitoring platform, the electronic commerce transaction platform is used for completing electronic commerce transactions, the electronic commerce monitoring platform is used for carrying out safety monitoring on the electronic commerce transaction platform, the electronic commerce transaction platform comprises a commodity display unit, a server, a merchant terminal and a user terminal, wherein the server is respectively connected with the commodity display unit, the merchant terminal and the user terminal, for providing network and data storage services to the merchandise display unit, merchant terminal and user terminal, the merchant terminal uploads the commodity information to the server, the server transmits the commodity information to the commodity display unit for display, and the user terminal acquires the commodity information from the commodity display unit and selects and purchases commodities.
The existing electronic commerce system has the defects that: the problem of poor processing efficiency caused by incapability of splitting order data and the problem of improving safety and eliminating redundancy by rationalizing allocation according to the memory occupied by the order data based on a block chain.
Disclosure of Invention
The invention aims to provide an electronic commerce system with high safety based on a block chain, and the technical problem to be solved by the invention is as follows:
the problem that processing efficiency is poor due to the fact that splitting processing cannot be conducted on order data in the existing scheme is solved, and the problems that safety is improved and redundancy is eliminated cannot be achieved through reasonable allocation according to internal memories occupied by the order data based on a block chain are solved.
The purpose of the invention can be realized by the following technical scheme: the block chain-based high-safety electronic commerce system comprises a data acquisition module, a data extraction module, a data processing module and a data storage module;
the data acquisition module is used for acquiring order information of the transaction, wherein the order information comprises order data and payment data of the transaction and sending the order information to the data extraction module;
the data extraction module is used for receiving and extracting order information to obtain order extraction information and sending the order extraction information to the data processing module, and the specific steps comprise:
the method comprises the following steps: acquiring order data and payment data in order information;
step two: extracting and combining the order number and the order time in the order data to obtain first extracted data, and combining the data which does not contain the order number and the order time in the order data to obtain first residual data; extracting and combining the payment account and the payment amount in the payment data to obtain second extracted data, and combining the data which does not contain the payment account and the payment amount in the payment data to obtain second residual data;
step three: coordinate division is carried out on the order data and the payment data according to a preset coordinate system, and coordinate values of the first extraction data, the first residual data, the second extraction data and the second residual data are respectively obtained and associated to obtain first extraction coordinate data, first residual coordinate data, second extraction coordinate data and second residual coordinate data;
step four: classifying and combining the first extracted data and the second extracted data and the associated first extracted coordinate data and second extracted coordinate data to obtain first classified data, and classifying and combining the first residual data and the second residual data and the associated first residual coordinate data and second residual coordinate data to obtain second classified data;
step five: acquiring a memory value occupied by the first divided data and marking the memory value as a first divided memory, and acquiring a memory value occupied by the second divided data and marking the memory value as a second divided memory;
step six: combining the first divided data with the first divided memory and the second divided data with the second divided memory to obtain order extraction information;
the data processing module is used for processing the order extraction information to obtain order processing information and distributing the order processing information to the data storage module;
and the data storage module is used for storing and distributing the order processing information.
Preferably, the data processing module is configured to process the order extraction information to obtain order processing information, and the specific steps include:
s21: acquiring first division data in order extraction information;
s22: acquiring each character in the first division data, counting the occurrence times and positions of each character number, and marking the total number of the counted characters as ZFi, wherein i is 1,2.. n; setting different character positions to correspond to a position preset value, matching the positions of all characters with all the positions to obtain corresponding position preset values, and marking the position preset values as YYi, wherein i is 1,2.
S23: acquiring the weight value of the character by using a formula, wherein the formula is as follows:
wherein HqzThe weight values are expressed as characters, mu is expressed as a preset character correction factor, and a1 and a2 are expressed as different scale factors;
s24: carrying out descending order arrangement on the weighted values, and carrying out descending order combination on each character according to the corresponding weighted value to obtain character combination data;
s25: associating and combining the character combination data with the total number of marked characters and the preset position value to obtain first division processing data;
s26: and combining the first division processing data with the first division memory and the second division data with the second division memory to obtain order processing information.
Preferably, the data storage module is configured to perform storage allocation on the order processing information, and the specific steps include:
s31: acquiring a first divided memory and a second divided memory in order processing information, marking the first divided memory as HN1, and marking the second divided memory as HN 2;
s32: acquiring the residual memory and the child node coordinates of each child node on the regional chain;
s33: arranging the residual memories of the sub-nodes in a descending order according to the sizes, and dividing the residual memories of the sub-nodes in proportion according to a preset dividing proportion to obtain a first node memory and a second node memory;
the first node memory is used for storing first divided data, the second node memory is used for storing second divided data, and the priority of the first node memory is greater than that of the second node memory;
s34: acquiring a first division value of the first division processed data by using a formula, and acquiring a second division value of the second division data by using the formula;
s35: matching the first internal division value with a preset processing division range to obtain first division matching data; matching the internal value of the second partition with a preset standard partition range to obtain second partition matching data;
s36: the first division processed data and the second division processed data are stored according to the first division matching data and the second division matching data.
Preferably, the first division processed data is obtained by using a formula:
wherein HyhExpressed as a first intra-division value, beta is expressed as a preset memory correction factor, b1 is expressed as a proportionality coefficient, JNi1 is expressed as a first node memory, and JNi2 is expressed as a second node memory;
obtaining a second intra-division value of the second divided data using a formula:
wherein HehDenoted as the second inscribed value, b2 is denoted as the scaling factor.
Preferably, the first division internal value is matched with a preset processing division range to obtain first division matching data; matching the internal value of the second partition with a preset standard partition range to obtain second partition matching data, wherein the second partition matching data comprises:
s51: performing matching analysis on the first division value, if the first division value belongs to the processing division range, judging that the child node corresponding to the first division value is a first node to be stored, and generating a first division matching signal; if the first division value does not belong to the processing division range, judging that the child node corresponding to the first division value is a first to-be-abandoned node, and generating a second division matching signal, wherein the first division matching signal and the second division matching signal form first division matching data;
s52: performing matching analysis on the second dividing value, if the second dividing value belongs to the standard dividing range, judging the child node corresponding to the second dividing value as a second node to be stored, and generating a third dividing matching signal; if the second division value does not belong to the standard division range, judging the child node corresponding to the second division value as a second node to be abandoned, and generating a fourth division matching signal, wherein the third division matching signal and the fourth division matching signal form second division matching data;
s53: and matching the first node to be stored and the second node to be stored according to the coordinates of the child nodes, and marking the first node to be stored and the second node to be stored as storage child nodes if the first node to be stored and the second node to be stored belong to the same child node.
The invention has the beneficial effects that:
in various aspects disclosed by the invention, the data acquisition module is used for acquiring the order information of the transaction, the order information comprises the order data and the payment data of the transaction, and the order information is sent to the data extraction module; the security of the order information is improved by extracting and classifying the data in the order data, the data security is improved, the data storage efficiency can be effectively improved at the same time by storing the key information in the order information and separately storing the key information and the common data, and the defect of poor storage efficiency caused by encrypting all the data in the order information in the prior scheme can be overcome;
the data extraction module is used for receiving and extracting order information to obtain order extraction information, and the order extraction information is sent to the data processing module; by means of targeted data extraction and processing of the order information, compared with the existing all information processing scheme, the processing efficiency of the data is further improved on the premise of ensuring the data security;
processing the order extraction information by using a data processing module to obtain order processing information, and distributing the order processing information to a data storage module;
storing and distributing order processing information by using a data storage module; by comprehensively analyzing the residual memories of the subnodes on the block chain and the first division processing data and the second division data in the order data, the first division processing data and the second division data are enabled to obtain the optimal storage subnodes, the problems of large storage space vacancy rate and low availability caused by the fact that the subnodes store the order data are distributed unevenly are avoided, and the purposes of improving safety and eliminating redundancy by reasonably distributing the memories occupied by the order data based on the block chain can be achieved when the order data are processed and the storage efficiency is improved.
Drawings
The invention will be further described with reference to the accompanying drawings.
FIG. 1 is a schematic block diagram of a block chain-based secure electronic commerce system of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All the remaining embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, belong to the protection scope of the present invention.
Example 1
Referring to fig. 1, the present invention is an e-commerce system with high security based on a block chain, including a data acquisition module, a data extraction module, a data processing module and a data storage module;
the data acquisition module is used for acquiring order information of the transaction, wherein the order information comprises order data and payment data of the transaction and sending the order information to the data extraction module;
the data extraction module is used for receiving and extracting order information to obtain order extraction information and sending the order extraction information to the data processing module, and the specific steps comprise:
the method comprises the following steps: acquiring order data and payment data in order information;
step two: extracting and combining the order number and the order time in the order data to obtain first extracted data, and combining the data which does not contain the order number and the order time in the order data to obtain first residual data; extracting and combining the payment account and the payment amount in the payment data to obtain second extracted data, and combining the data which does not contain the payment account and the payment amount in the payment data to obtain second residual data;
step three: coordinate division is carried out on the order data and the payment data according to a preset coordinate system, and coordinate values of the first extraction data, the first residual data, the second extraction data and the second residual data are respectively obtained and associated to obtain first extraction coordinate data, first residual coordinate data, second extraction coordinate data and second residual coordinate data;
step four: classifying and combining the first extracted data and the second extracted data and the associated first extracted coordinate data and second extracted coordinate data to obtain first classified data, and classifying and combining the first residual data and the second residual data and the associated first residual coordinate data and second residual coordinate data to obtain second classified data;
step five: acquiring a memory value occupied by the first divided data and marking the memory value as a first divided memory, and acquiring a memory value occupied by the second divided data and marking the memory value as a second divided memory;
step six: combining the first divided data with the first divided memory and the second divided data with the second divided memory to obtain order extraction information;
the data processing module is used for processing the order extraction information to obtain order processing information and distributing the order processing information to the data storage module;
the data storage module is used for storing and distributing order processing information;
the data processing module is used for processing the order extraction information to obtain order processing information, and the specific steps comprise:
acquiring first division data in order extraction information;
acquiring each character in the first division data, counting the occurrence times and positions of each character number, and marking the total number of the counted characters as ZFi, wherein i is 1,2.. n; setting different character positions to correspond to a position preset value, matching the positions of all characters with all the positions to obtain corresponding position preset values, and marking the position preset values as YYi, wherein i is 1,2.
Acquiring the weight value of the character by using a formula, wherein the formula is as follows:
wherein HqzThe weight values are expressed as characters, mu is expressed as a preset character correction factor, and a1 and a2 are expressed as different scale factors;
carrying out descending order arrangement on the weighted values, and carrying out descending order combination on each character according to the corresponding weighted value to obtain character combination data;
associating and combining the character combination data with the total number of marked characters and the preset position value to obtain first division processing data;
combining the first division processing data with the first division memory and the second division data with the second division memory to obtain order processing information;
in the embodiment of the invention, the security of the order information is improved by extracting and classifying the data in the order data, the data security is improved and the data storage efficiency can be effectively improved by storing the key information in the order information and separately storing the key information and the common data, and the defect of poor storage efficiency caused by encrypting all the data in the order information in the existing scheme can be overcome;
the data storage module is used for storing and distributing order processing information, and the specific steps comprise:
acquiring a first divided memory and a second divided memory in order processing information, marking the first divided memory as HN1, and marking the second divided memory as HN 2;
acquiring the residual memory and the child node coordinates of each child node on the regional chain;
arranging the residual memories of the sub-nodes in a descending order according to the sizes, and dividing the residual memories of the sub-nodes in proportion according to a preset dividing proportion to obtain a first node memory and a second node memory;
the first node memory is used for storing first divided data, the second node memory is used for storing second divided data, and the priority of the first node memory is greater than that of the second node memory;
obtaining a first intra-division value of the first division processed data by using a formula, wherein the formula is as follows:
wherein HyhExpressed as a first intra-division value, beta is expressed as a preset memory correction factor, b1 is expressed as a proportionality coefficient, JNi1 is expressed as a first node memory, and JNi2 is expressed as a second node memory;
obtaining a second intra-division value of the second divided data using a formula:
wherein HehExpressed as a second inscribed value, b2 expressed as a scaling factor;
matching the first internal division value with a preset processing division range to obtain first division matching data; matching the internal value of the second partition with a preset standard partition range to obtain second partition matching data, wherein the second partition matching data comprises:
performing matching analysis on the first division value, if the first division value belongs to the processing division range, judging that the child node corresponding to the first division value is a first node to be stored, and generating a first division matching signal; if the first division value does not belong to the processing division range, judging that the child node corresponding to the first division value is a first to-be-abandoned node, and generating a second division matching signal, wherein the first division matching signal and the second division matching signal form first division matching data;
performing matching analysis on the second dividing value, if the second dividing value belongs to the standard dividing range, judging the child node corresponding to the second dividing value as a second node to be stored, and generating a third dividing matching signal; if the second division value does not belong to the standard division range, judging the child node corresponding to the second division value as a second node to be abandoned, and generating a fourth division matching signal, wherein the third division matching signal and the fourth division matching signal form second division matching data;
matching the first node to be stored and the second node to be stored according to the coordinates of the child nodes, and marking the first node to be stored and the second node to be stored as storage child nodes if the first node to be stored and the second node to be stored belong to the same child node;
storing the first division processed data and the second division data according to the first division matching data and the second division matching data;
in the embodiment of the invention, the first division processing data and the second division data in the residual memories of the sub-nodes on the block chain and the order data are comprehensively analyzed, so that the first division processing data and the second division data obtain the optimal storage sub-nodes, and the problems of large idle rate of a storage space and low availability of the storage space after the order data are stored by the sub-nodes are avoided;
the above formulas are obtained by collecting a large amount of data and performing software simulation, and the coefficients in the formulas are set by those skilled in the art according to actual conditions.
The working principle of the invention is as follows: in the embodiment of the invention, the data acquisition module is used for acquiring the order information of the transaction, the order information comprises the order data and the payment data of the transaction, and the order information is sent to the data extraction module; the security of the order information is improved by extracting and classifying the data in the order data, the data security is improved, the data storage efficiency can be effectively improved at the same time by storing the key information in the order information and separately storing the key information and the common data, and the defect of poor storage efficiency caused by encrypting all the data in the order information in the prior scheme can be overcome;
the data extraction module is used for receiving and extracting order information to obtain order extraction information, and the order extraction information is sent to the data processing module; by performing targeted data extraction and processing on the order information, compared with all existing processing schemes, the processing efficiency of the data is further improved on the premise of ensuring the data security; extracting and combining order numbers and order times in order data to obtain first extracted data, and combining data which do not contain the order numbers and the order times in the order data to obtain first residual data; extracting and combining the payment account and the payment amount in the payment data to obtain second extracted data, combining the data which does not contain the payment account and the payment amount in the payment data to obtain second residual data, and carrying out coordinate division on the order data and the payment data according to a preset coordinate system, wherein the coordinate division is used for carrying out combined reduction when the order information is taken out from the block chain; acquiring a memory value occupied by first divided data and marking the memory value as a first divided memory, acquiring a memory value occupied by second divided data and marking the memory value as a second divided memory, wherein the first divided memory and the second divided memory are used for storing the whole order information to the most suitable sub-node of the rest memories on the block chain;
processing the order extraction information by using a data processing module to obtain order processing information, and distributing the order processing information to a data storage module; using formulasAcquiring a weight value of a character; carrying out descending order arrangement on the weighted values, and carrying out descending order combination on each character according to the corresponding weighted value to obtain character combination data; associating and combining the character combination data with the total number of marked characters and the preset position value to obtain first division processing data; combining the first division processing data with the first division memory and the second division data with the second division memory to obtain order processing information; the security of the data is improved by processing and calculating the first divided data to obtain the weight value of the character, and the efficiency of data processing can be improved by not processing the second divided data;
storing and distributing order processing information by using a data storage module; the method comprises the steps of comprehensively analyzing the first division data and the second division data in the residual memory of the subnodes and order data on a block chain to enable the first division data and the second division data to obtain the optimal storage subnodes, avoiding the problems of large storage space vacancy rate and low availability ratio distribution unevenness after the subnodes store the order data, and utilizing a formulaAcquiring a first intra-division value of the first division processing data; using formulasAcquiring a second division value of the second division data; matching the first internal division value with a preset processing division range to obtain first division matching data; matching the internal value of the second partition with a preset standard partition range to obtain second partition matching data;
the method comprises the steps that a first division value is analyzed in a matching mode on how order data are stored on an optimal child node, if the first division value belongs to a processing division range, the child node corresponding to the first division value is judged to be a first to-be-stored node, and a first division matching signal is generated; if the first division value does not belong to the processing division range, judging that the child node corresponding to the first division value is a first to-be-abandoned node, and generating a second division matching signal, wherein the first division matching signal and the second division matching signal form first division matching data;
performing matching analysis on the second dividing value, if the second dividing value belongs to the standard dividing range, judging the child node corresponding to the second dividing value as a second node to be stored, and generating a third dividing matching signal; if the second division value does not belong to the standard division range, judging the child node corresponding to the second division value as a second node to be abandoned, and generating a fourth division matching signal, wherein the third division matching signal and the fourth division matching signal form second division matching data; matching the first node to be stored and the second node to be stored according to the coordinates of the child nodes, and marking the first node to be stored and the second node to be stored as storage child nodes if the first node to be stored and the second node to be stored belong to the same child node; storing the first division processed data and the second division data according to the first division matching data and the second division matching data; the first divided memory and the second divided memory are respectively matched with the divided space of the residual memory on each sub-node and are connected, and the sub-nodes meeting the storage requirement at the same time are marked as the storage sub-nodes, so that the purposes of improving the safety and eliminating the redundancy by reasonably distributing the memory occupied by the order data based on the block chain can be achieved when the order data is processed and the storage efficiency is improved.
In the embodiments provided by the present invention, it should be understood that the disclosed system and method may be implemented in other ways. For example, the above-described embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the method of the embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware form, and can also be realized in a form of hardware and a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
Furthermore, it is to be understood that the word "comprising" does not exclude other modules or steps, and the singular does not exclude the plural. A plurality of modules or means recited in the system claims may also be implemented by one module or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above examples are only intended to illustrate the technical process of the present invention and not to limit the same, and although the present invention has been described in detail with reference to the preferred embodiments, it will be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical process of the present invention without departing from the spirit and scope of the technical process of the present invention.
Claims (5)
1. The block chain-based high-safety electronic commerce system is characterized by comprising a data acquisition module, a data extraction module, a data processing module and a data storage module;
the data acquisition module is used for acquiring order information of the transaction, wherein the order information comprises order data and payment data of the transaction and sending the order information to the data extraction module;
the data extraction module is used for receiving and extracting order information to obtain order extraction information and sending the order extraction information to the data processing module, and the specific steps comprise:
the method comprises the following steps: acquiring order data and payment data in order information;
step two: extracting and combining the order number and the order time in the order data to obtain first extracted data, and combining the data which does not contain the order number and the order time in the order data to obtain first residual data; extracting and combining the payment account and the payment amount in the payment data to obtain second extracted data, and combining the data which does not contain the payment account and the payment amount in the payment data to obtain second residual data;
step three: coordinate division is carried out on the order data and the payment data according to a preset coordinate system, and coordinate values of the first extraction data, the first residual data, the second extraction data and the second residual data are respectively obtained and associated to obtain first extraction coordinate data, first residual coordinate data, second extraction coordinate data and second residual coordinate data;
step four: classifying and combining the first extracted data and the second extracted data and the associated first extracted coordinate data and second extracted coordinate data to obtain first classified data, and classifying and combining the first residual data and the second residual data and the associated first residual coordinate data and second residual coordinate data to obtain second classified data;
step five: acquiring a memory value occupied by the first divided data and marking the memory value as a first divided memory, and acquiring a memory value occupied by the second divided data and marking the memory value as a second divided memory;
step six: combining the first divided data with the first divided memory and the second divided data with the second divided memory to obtain order extraction information;
the data processing module is used for processing the order extraction information to obtain order processing information and distributing the order processing information to the data storage module;
and the data storage module is used for storing and distributing the order processing information.
2. The system of claim 1, wherein the data processing module is configured to process the order extraction information to obtain order processing information, and the specific steps include:
s21: acquiring first division data in order extraction information;
s22: acquiring each character in the first division data, counting the occurrence times and positions of each character number, and marking the total number of the counted characters as ZFi, wherein i is 1,2.. n; setting different character positions to correspond to a position preset value, matching the positions of all characters with all the positions to obtain corresponding position preset values, and marking the position preset values as YYi, wherein i is 1,2.
S23: acquiring the weight value of the character by using a formula, wherein the formula is as follows:
wherein HqzThe weight values are expressed as characters, mu is expressed as a preset character correction factor, and a1 and a2 are expressed as different scale factors;
s24: carrying out descending order arrangement on the weighted values, and carrying out descending order combination on each character according to the corresponding weighted value to obtain character combination data;
s25: associating and combining the character combination data with the total number of marked characters and the preset position value to obtain first division processing data;
s26: and combining the first division processing data with the first division memory and the second division data with the second division memory to obtain order processing information.
3. The system of claim 1, wherein the data storage module is configured to perform storage allocation on order processing information, and the specific steps include:
s31: acquiring a first divided memory and a second divided memory in order processing information, marking the first divided memory as HN1, and marking the second divided memory as HN 2;
s32: acquiring the residual memory and the child node coordinates of each child node on the regional chain;
s33: arranging the residual memories of the sub-nodes in a descending order according to the sizes, and dividing the residual memories of the sub-nodes in proportion according to a preset dividing proportion to obtain a first node memory and a second node memory;
the first node memory is used for storing first divided data, the second node memory is used for storing second divided data, and the priority of the first node memory is greater than that of the second node memory;
s34: acquiring a first division value of the first division processed data by using a formula, and acquiring a second division value of the second division data by using the formula;
s35: matching the first internal division value with a preset processing division range to obtain first division matching data; matching the internal value of the second partition with a preset standard partition range to obtain second partition matching data;
s36: the first division processed data and the second division processed data are stored according to the first division matching data and the second division matching data.
4. The system of claim 3, wherein the first intra-division value of the first divided processed data is obtained by a formula:
wherein HyhExpressed as a first intra-division value, beta is expressed as a preset memory correction factor, b1 is expressed as a proportionality coefficient, JNi1 is expressed as a first node memory, and JNi2 is expressed as a second node memory;
obtaining a second intra-division value of the second divided data using a formula:
wherein HehDenoted as the second inscribed value, b2 is denoted as the scaling factor.
5. The system of claim 3, wherein the first division value is matched with a preset processing division range to obtain first division matching data; matching the internal value of the second partition with a preset standard partition range to obtain second partition matching data, wherein the second partition matching data comprises:
s51: performing matching analysis on the first division value, if the first division value belongs to the processing division range, judging that the child node corresponding to the first division value is a first node to be stored, and generating a first division matching signal; if the first division value does not belong to the processing division range, judging that the child node corresponding to the first division value is a first to-be-abandoned node, and generating a second division matching signal, wherein the first division matching signal and the second division matching signal form first division matching data;
s52: performing matching analysis on the second dividing value, if the second dividing value belongs to the standard dividing range, judging the child node corresponding to the second dividing value as a second node to be stored, and generating a third dividing matching signal; if the second division value does not belong to the standard division range, judging the child node corresponding to the second division value as a second node to be abandoned, and generating a fourth division matching signal, wherein the third division matching signal and the fourth division matching signal form second division matching data;
s53: and matching the first node to be stored and the second node to be stored according to the coordinates of the child nodes, and marking the first node to be stored and the second node to be stored as storage child nodes if the first node to be stored and the second node to be stored belong to the same child node.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011495204.9A CN112507379B (en) | 2020-12-17 | 2020-12-17 | High-security electronic commerce system based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011495204.9A CN112507379B (en) | 2020-12-17 | 2020-12-17 | High-security electronic commerce system based on block chain |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112507379A true CN112507379A (en) | 2021-03-16 |
CN112507379B CN112507379B (en) | 2022-08-12 |
Family
ID=74922116
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011495204.9A Expired - Fee Related CN112507379B (en) | 2020-12-17 | 2020-12-17 | High-security electronic commerce system based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112507379B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113630477A (en) * | 2021-10-11 | 2021-11-09 | 江苏荣泽信息科技股份有限公司 | High-value data uplink system and method based on block chain prediction machine |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130054462A1 (en) * | 2011-08-24 | 2013-02-28 | Volusion, Inc. | Ecommerce system with payment data division |
US20160019536A1 (en) * | 2012-10-17 | 2016-01-21 | Royal Bank Of Canada | Secure processing of data |
CN106372533A (en) * | 2016-09-14 | 2017-02-01 | 中国银联股份有限公司 | Block chain technology-based content storage method |
WO2020028197A1 (en) * | 2018-07-31 | 2020-02-06 | American Express Travel Related Services Company, Inc. | System and method for transaction account based micro-payments |
WO2020071650A1 (en) * | 2018-10-05 | 2020-04-09 | 비즈플레이 주식회사 | Blockchain-based expense processing data management system and method and computer program therefor |
US20200160326A1 (en) * | 2018-11-15 | 2020-05-21 | Paypal, Inc. | System and method for optimizing data writing to a blockchain |
-
2020
- 2020-12-17 CN CN202011495204.9A patent/CN112507379B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130054462A1 (en) * | 2011-08-24 | 2013-02-28 | Volusion, Inc. | Ecommerce system with payment data division |
US20160019536A1 (en) * | 2012-10-17 | 2016-01-21 | Royal Bank Of Canada | Secure processing of data |
CN106372533A (en) * | 2016-09-14 | 2017-02-01 | 中国银联股份有限公司 | Block chain technology-based content storage method |
WO2020028197A1 (en) * | 2018-07-31 | 2020-02-06 | American Express Travel Related Services Company, Inc. | System and method for transaction account based micro-payments |
WO2020071650A1 (en) * | 2018-10-05 | 2020-04-09 | 비즈플레이 주식회사 | Blockchain-based expense processing data management system and method and computer program therefor |
US20200160326A1 (en) * | 2018-11-15 | 2020-05-21 | Paypal, Inc. | System and method for optimizing data writing to a blockchain |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113630477A (en) * | 2021-10-11 | 2021-11-09 | 江苏荣泽信息科技股份有限公司 | High-value data uplink system and method based on block chain prediction machine |
Also Published As
Publication number | Publication date |
---|---|
CN112507379B (en) | 2022-08-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106779457A (en) | A kind of rating business credit method and system | |
CN103678659A (en) | E-commerce website cheat user identification method and system based on random forest algorithm | |
Ferroni et al. | Euro area business cycles in turbulent times: convergence or decoupling? | |
CN112507936A (en) | Image information auditing method and device, electronic equipment and readable storage medium | |
CN106910017A (en) | It is a kind of that analysis method and system are experienced based on the electric energy that user behavior data is excavated | |
US20140012763A1 (en) | Money transfer fraud prevention methods and systems | |
CN115423535A (en) | Product purchasing method, device, equipment and medium based on market prior big data | |
CN112507379B (en) | High-security electronic commerce system based on block chain | |
CN113032403A (en) | Data insight method, device, electronic equipment and storage medium | |
CN114186132A (en) | Information recommendation method and device, electronic equipment and storage medium | |
Putri et al. | Big data and strengthening msmes after the covid-19 pandemic (development studies on batik msmes in east java) | |
CN113837631A (en) | Employee evaluation method and device, electronic device and readable storage medium | |
CN114266640A (en) | Auditing method and device, computer equipment and storage medium | |
Ilori et al. | Comprehensive analysis of the effect of oil and non-oil revenues on economic development in Nigeria | |
CN108243046A (en) | A kind of evaluation the quality method and device based on data auditing | |
CN110060163A (en) | Method of commerce, system, medium and the device of podcast chain based on ether mill | |
CN115759746A (en) | Configurable user early warning method and device, electronic equipment and storage medium | |
CN112561500B (en) | Salary data generation method, device, equipment and medium based on user data | |
CN113486646A (en) | Product report issuing method and device, electronic equipment and readable storage medium | |
CN114187096A (en) | Risk assessment method, device and equipment based on user portrait and storage medium | |
Whiteman | The efficiency of developing country public financial management systems | |
CN113706019A (en) | Service capability analysis method, device, equipment and medium based on multidimensional data | |
CN114202337A (en) | Risk identification method, device, equipment and storage medium | |
Saygili et al. | Trade integration and export survival: evidence from Turkish machinery products | |
Vhalery et al. | The Analysis of Factors Influencing Financial Technology Usage in Higher Education |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20220719 Address after: 450000 room 9-2a01, Liudong Road, Zhengzhou area (Jinshui), Zhengzhou pilot Free Trade Zone, Henan Province Applicant after: Henan Sinosteel Technology Group Co.,Ltd. Address before: 510000 building 137, Cencun West Street, Tianhe District, Guangzhou City, Guangdong Province Applicant before: Chen Guibo |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20220812 |