CN111597265B - Block chain-based electronic commerce commodity anti-counterfeiting traceability management system - Google Patents

Block chain-based electronic commerce commodity anti-counterfeiting traceability management system Download PDF

Info

Publication number
CN111597265B
CN111597265B CN202010412842.3A CN202010412842A CN111597265B CN 111597265 B CN111597265 B CN 111597265B CN 202010412842 A CN202010412842 A CN 202010412842A CN 111597265 B CN111597265 B CN 111597265B
Authority
CN
China
Prior art keywords
electronic commerce
commodity
information
user
module
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.)
Active
Application number
CN202010412842.3A
Other languages
Chinese (zh)
Other versions
CN111597265A (en
Inventor
戴子龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuxi Zhendao Intelligent Technology Co ltd
Original Assignee
Wuxi Zhendao Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuxi Zhendao Intelligent Technology Co ltd filed Critical Wuxi Zhendao Intelligent Technology Co ltd
Priority to CN202010412842.3A priority Critical patent/CN111597265B/en
Publication of CN111597265A publication Critical patent/CN111597265A/en
Application granted granted Critical
Publication of CN111597265B publication Critical patent/CN111597265B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION 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
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud

Abstract

The invention discloses an electronic commerce commodity anti-counterfeiting traceability management system based on a blockchain, which is used for solving the problems that the existing electronic commerce commodity anti-counterfeiting traceability system cannot analyze blockchain values of electronic commerce commodities and reasonably allocate and store the electronic commerce commodities according to the blockchain values and cannot timely acquire the dynamic state of the electronic commerce commodities and reasonably store, manage and delete the electronic commerce commodities according to the blockchain values; the system comprises a data acquisition module, a server, a data storage module, a traceability analysis module, a traceability query module, a registration login module, a user analysis module and a traceability management module; according to the invention, the electronic commerce commodity is analyzed, and reasonably distributed to the corresponding cloud storage equipment for cloud storage according to the blockchain value corresponding to the electronic commerce commodity, so that the user can conveniently perform anti-counterfeiting traceability query on the electronic commerce commodity; the dynamic state of the electronic commerce commodity is timely acquired, reasonable storage management and deletion are carried out according to the blockchain value, and redundant information in cloud storage is convenient to clean timely.

Description

Block chain-based electronic commerce commodity anti-counterfeiting traceability management system
Technical Field
The invention relates to the technical field of electronic commerce commodity anti-counterfeiting traceability management, in particular to an electronic commerce commodity anti-counterfeiting traceability management system based on a blockchain.
Background
The online shopping of the electronic commerce products is the most popular shopping mode at present, and the online shopping method gradually replaces the shopping mode of the physical store with the advantages of rapidness, convenience, price preference and the like. However, in recent years, all large-network electronic commerce platforms have the defect that the problem of circulation and infringement of intellectual property rights of counterfeit commodities, which is always to be solved but cannot be solved, so that all large-network electronic commerce platforms often receive complaints and are complained; therefore, a large amount of manpower and material resources are input into a network e-commerce platform to build special departments to deal with complaints, complaints and the like, but circulation of counterfeit commodities can not be stopped, namely intellectual property infringement exists; blockchains are a term of art in information technology. Essentially, the system is a shared database, and data or information stored in the shared database has the characteristics of non-falsification, traceability and the like. Based on the characteristics, the blockchain technology lays a solid trust foundation, creates a reliable cooperation mechanism and has wide application prospect;
therefore, the anti-counterfeiting tracing needs to be carried out on the electronic commerce commodity, so that the user can conveniently inquire the authenticity of the electronic commerce commodity; however, the existing electronic commerce commodity anti-counterfeiting traceability system cannot analyze the blockchain value of the electronic commerce commodity and reasonably allocate and store the electronic commerce commodity according to the blockchain value; the dynamic state of the commodity of the electronic commerce cannot be acquired in time, and reasonable storage management and deletion can be performed according to the blockchain value.
Disclosure of Invention
The invention aims to solve the problems that the existing electronic commerce commodity anti-counterfeiting traceability system cannot analyze the blockchain value of the electronic commerce commodity and reasonably distribute and store the electronic commerce commodity according to the blockchain value and cannot timely acquire the dynamic state of the electronic commerce commodity and reasonably store, manage and delete the electronic commerce commodity according to the blockchain value, and provides the electronic commerce commodity anti-counterfeiting traceability management system based on the blockchain; the analysis unit transmits the commodity information of the electronic commerce to the selected equipment for storage; the electronic commerce commodity is analyzed, and the electronic commerce commodity is reasonably distributed to corresponding cloud storage equipment for cloud storage according to the blockchain value corresponding to the electronic commerce commodity, so that a user can conveniently perform anti-counterfeiting traceability query on the electronic commerce commodity; the dynamic state of the electronic commerce commodity is timely acquired, reasonable storage management and deletion are carried out according to the blockchain value, and redundant information in cloud storage is convenient to clean timely.
The aim of the invention can be achieved by the following technical scheme: the block chain-based electronic commerce commodity anti-counterfeiting traceability management system comprises a data acquisition module, a server, a data storage module, a traceability analysis module, a traceability query module, a registration login module, a user analysis module and a traceability management module;
the data acquisition module is used for acquiring commodity information of the electronic commerce and sending the commodity information of the electronic commerce to the server, and the server receives the commodity information of the electronic commerce and sends the commodity information of the electronic commerce to the data storage module;
the data storage module is used for analyzing the received electronic commerce commodity information and distributing the electronic commerce commodity information into corresponding cloud storage equipment for storage; the data storage module comprises an analysis unit, an equipment acquisition unit and a plurality of cloud storage equipment; the cloud storage device is used for storing commodity information of electronic commerce, and the device acquisition unit is used for acquiring device information of the cloud storage device and sending the device information to the analysis unit; the analysis unit is used for receiving and analyzing the commodity information and the equipment information of the electronic commerce, and the specific analysis steps are as follows:
step one: will beA plurality of cloud storage devices are marked as Pi, i=1, … …, n; setting the total memory of the cloud storage device as M Pi The method comprises the steps of carrying out a first treatment on the surface of the Setting the remaining memory of the cloud storage device as S Pi
Step two: obtaining all models of the cloud storage equipment, wherein each model corresponds to a preset value, matching the model of the cloud storage equipment with all models, obtaining the corresponding preset value, and marking the corresponding preset value as Q Pi
Step three: using the formula YC Pi =S Pi ×d1+M Pi ×d2+Q Pi Obtaining cloud storage value YC of cloud storage equipment by using x d3 Pi The method comprises the steps of carrying out a first treatment on the surface of the Wherein d1, d2 and d3 are preset proportionality coefficients;
step four: acquiring a blockchain value corresponding to an e-commerce commodity and marking the blockchain value as Q Ej Matching the cloud storage value and the blockchain value of the cloud storage device; when 0 < YC Pi -Q Ej < a1, marking the cloud storage device as a storage device to be allocated; a1 is a preset threshold; marking the storage equipment to be allocated as Pk, and k epsilon i;
step five: calculating the distance difference between the position of the electronic commerce commodity information generation and the position corresponding to the storage equipment to be distributed to obtain a distance, and marking the distance as D Pk
Step six: counting the number of the electronic commerce commodity information stored in the storage equipment to be distributed and marking the number as K Pk
Step seven: using the formula
Figure BDA0002493871250000031
Obtaining the matching value W of the storage equipment to be distributed Pk The method comprises the steps of carrying out a first treatment on the surface of the Wherein d4, d5 and d6 are preset proportionality coefficients;
step eight: selecting the storage equipment to be allocated with the largest matching value as the selected equipment; the analysis unit sends the commodity information of the electronic commerce to selected equipment for storage; meanwhile, the number of the commodity information of the electronic commerce stored in the selected equipment is increased by one;
the method comprises the steps that a user scans a two-dimension code of a commodity through a mobile phone terminal, identifies and obtains a two-dimension code digital number, sends the two-dimension code digital number to a tracing inquiry module, the tracing inquiry module is used for judging the received two-dimension code digital number, when a user inquiry value of the user is larger than a set threshold value, the received two-dimension code digital number is sent to a server, and after the two-dimension code digital number is received by the server, the server obtains electronic commerce commodity information corresponding to the two-dimension code digital number through an access data storage module and sends the electronic commerce commodity information to the tracing inquiry module; the tracing inquiry module sends the commodity information of the electronic commerce to a mobile phone terminal of the user for checking the anti-counterfeiting tracing information; meanwhile, the tracing checking times of the commodity names of the electronic commerce corresponding to the two-dimension code number are increased once, and the total inquiring times of the user are increased once; the tracing inquiry module sends the commodity name of the electronic commerce at the inquiry time of sending the commodity information of the electronic commerce to the mobile phone terminal of the user to the tracing analysis module;
the tracing management module is used for receiving and managing the blockchain value of the commodity of the electronic commerce, and comprises the following specific management steps:
s1: acquiring commodity logistics information in the commodity information of the electronic commerce, and generating a management deleting instruction corresponding to the commodity of the electronic commerce when acquiring the commodity obtained by the user and the corresponding commodity obtaining time in the commodity logistics information;
s2: the traceability management module sends a management deleting instruction to a mobile phone terminal of a purchasing user corresponding to the electronic commerce commodity;
s3: when the traceability management module receives an agreement instruction sent by the purchasing user through the mobile phone terminal, an information deleting instruction corresponding to the electronic commerce commodity is generated, and the information deleting instruction is sent to the data storage module; after receiving the information deleting instruction, the data storage module deletes the electronic commerce commodity information corresponding to the electronic commerce commodity in the cloud storage device;
s4: when the traceability management module does not receive the approval instruction sent by the purchasing user through the mobile phone terminal or receives other instructions within a preset time range, generating the traceability management instruction of the E-commerce commodity; the traceability management module acquires the blockchain value and the corresponding goods taking time of the commodity of the electronic commerce and converts the blockchain value and the corresponding goods taking time into the blockstorage time according to a certain proportion; the traceability management module sends the block storage time, the corresponding goods taking time and the traceability management instruction to the data management module; and the data management module manages the block storage time, the corresponding goods taking time and the traceability management instruction after receiving the block storage time, and deletes the electronic commerce commodity information corresponding to the electronic commerce commodity in the cloud storage device when the current system time and the corresponding goods taking time are equal to the block storage time.
Preferably, the electronic commerce commodity information comprises the name, the two-dimensional code digital number, the manufacturer, the production address, commodity parameter information, commodity order information, commodity logistics information and the position for generating the electronic commerce commodity information; the device information includes the model number, total memory, remaining memory and corresponding locations of the cloud storage device.
Preferably, the registration login module is used for a user to submit user information through a mobile phone terminal for registration and send the user information which is successfully registered to a server for storage; meanwhile, the server marks the time of receiving the user information which is successfully registered as the registration time of the user; the user analysis module is used for collecting and analyzing the names and times of the purchased electronic commerce commodities and the prices corresponding to the electronic commerce commodities of the successfully registered users, and the specific analysis steps are as follows:
SS1: setting the user with successful registration as Zh, wherein h=1, 2, … … and n; calculating the time difference between the registration time of the user and the current time of the system to obtain the registration time of the user and marking the registration time as T Zh
SS2: counting the prices corresponding to the commodities of the electronic commerce purchased by the user, summing up the prices to obtain the purchase total price of the user, and marking the purchase total price as M Zh
SS3: marking the number of times that the user purchases the E-commerce commodity as U Zh The method comprises the steps of carrying out a first treatment on the surface of the Total number of queries CX of a user Zh
SS4: using the formula
Figure BDA0002493871250000051
Obtaining a user query value CW Zh The method comprises the steps of carrying out a first treatment on the surface of the Wherein d9, d10, d11 and d12 are preset proportionality coefficients; mu is an error correction factor and takes a value of 0.79635477;
SS5: and the user analysis module sends the calculated user query value to a server for storage.
Preferably, the traceability analysis module is used for counting the inquiry time and traceability checking times corresponding to the commodity names of the electronic commerce and analyzing, and the specific analysis is as follows:
SSS1: counting inquiry time of commodity names of electronic commerce, screening out inquiry time within a preset time range, marking the inquiry time as analysis time, counting the number of the analysis time to obtain total time, and marking the total time as Z1;
SSS2: sequencing the analysis time according to the time sequence; sequentially calculating the time difference between two adjacent analysis moments according to the sequence to obtain access intervals, summing all the access intervals to obtain total duration of the access intervals, and marking the total duration as T1;
SSS3: using the formula
Figure BDA0002493871250000052
Obtaining a blockchain value Q of an e-commerce commodity Ej The method comprises the steps of carrying out a first treatment on the surface of the Wherein d8 and d9 are both preset scaling factors;
SSS4: the traceability analysis module is used for obtaining the blockchain value Q of the E-commerce commodity Ej And the data is sent to a traceability management module through a server.
Compared with the prior art, the invention has the beneficial effects that:
1. according to the invention, received electronic commerce commodity information is analyzed through a data storage module and distributed into corresponding cloud storage equipment for storage, then the analysis is carried out through an analysis unit, all models of the cloud storage equipment are obtained, each model corresponds to a preset value, the models of the cloud storage equipment are matched with all models to obtain corresponding preset values, a cloud storage value of the cloud storage equipment is obtained through a formula, a blockchain value corresponding to an electronic commerce commodity is obtained, the cloud storage value of the cloud storage equipment is matched with the blockchain value, the cloud storage equipment is marked as storage equipment to be distributed, then a distance difference calculation is carried out between a commodity information generation position of the electronic commerce and a position corresponding to the storage equipment to be distributed to obtain a distance, and the number of the electronic commerce commodity information stored in the storage equipment to be distributed is counted; obtaining an identical value of the storage equipment to be allocated by utilizing a formula, and selecting the storage equipment to be allocated with the largest identical value as selected equipment; the analysis unit sends the commodity information of the electronic commerce to selected equipment for storage; the electronic commerce commodity is analyzed, and the electronic commerce commodity is reasonably distributed to corresponding cloud storage equipment for cloud storage according to the blockchain value corresponding to the electronic commerce commodity, so that a user can conveniently perform anti-counterfeiting traceability query on the electronic commerce commodity;
2. the tracing management module receives and manages the blockchain value of the commodity of the electronic commerce, acquires commodity logistics information in commodity information of the electronic commerce, and generates a management deletion instruction corresponding to the commodity of the electronic commerce when acquiring the commodity obtained by a user and the corresponding commodity obtaining time in the commodity logistics information; the traceability management module sends a management deleting instruction to a mobile phone terminal of a purchasing user corresponding to the electronic commerce commodity; when the traceability management module receives an agreement instruction sent by the purchasing user through the mobile phone terminal, an information deleting instruction corresponding to the electronic commerce commodity is generated, and the information deleting instruction is sent to the data storage module; after receiving the information deleting instruction, the data storage module deletes the electronic commerce commodity information corresponding to the electronic commerce commodity in the cloud storage device; when the traceability management module does not receive the approval instruction sent by the purchasing user through the mobile phone terminal or receives other instructions within a preset time range, generating the traceability management instruction of the E-commerce commodity; the traceability management module acquires the blockchain value and the corresponding goods taking time of the commodity of the electronic commerce and converts the blockchain value and the corresponding goods taking time into the blockstorage time according to a certain proportion; the traceability management module sends the block storage time, the corresponding goods taking time and the traceability management instruction to the data management module; the data management module receives the block storage time, the corresponding goods taking time and the traceability management instruction and manages the block storage time, and when the current time of the system and the corresponding goods taking time are equal to the block storage time, the electronic commerce commodity information corresponding to the electronic commerce commodity is deleted in the cloud storage equipment; the dynamic state of the electronic commerce commodity is timely acquired, reasonable storage management and deletion are carried out according to the blockchain value, and redundant information in cloud storage is convenient to clean timely.
Drawings
The present invention is further described below with reference to the accompanying drawings for the convenience of understanding by those skilled in the art.
Fig. 1 is a schematic diagram of the overall structure of the present invention.
Detailed Description
The technical solutions of the present invention will be clearly and completely described in connection with the embodiments, and it is obvious that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 1, the block chain-based e-commerce commodity anti-counterfeiting traceability management system comprises a data acquisition module, a server, a data storage module, a traceability analysis module, a traceability query module, a registration login module, a user analysis module and a traceability management module;
the data acquisition module is used for acquiring commodity information of the electronic commerce and sending the commodity information of the electronic commerce to the server, and the server receives the commodity information of the electronic commerce and sends the commodity information of the electronic commerce to the data storage module; the electronic commerce commodity information comprises the name, the two-dimensional code digital number, the manufacturer, the production address, commodity parameter information, commodity order information, commodity logistics information and the position for generating the electronic commerce commodity information;
the data storage module is used for analyzing the received electronic commerce commodity information and distributing the electronic commerce commodity information into corresponding cloud storage equipment for storage; the data storage module comprises an analysis unit, an equipment acquisition unit and a plurality of cloud storage equipment; the cloud storage device is used for storing the commodity information of the electronic commerce, and the device acquisition unit is used for acquiring the device information of the cloud storage device and sending the device information to the analysis unit; the equipment information comprises the model number, the total memory, the residual memory and the corresponding positions of the cloud storage equipment; the analysis unit is used for receiving and analyzing the commodity information and the equipment information of the electronic commerce, and the specific analysis steps are as follows:
step one: marking a plurality of cloud storage devices as Pi, i=1, … …, n; setting the total memory of the cloud storage device as M Pi The method comprises the steps of carrying out a first treatment on the surface of the Is provided withThe residual memory of the cloud storage equipment is recorded as S Pi
Step two: obtaining all models of the cloud storage equipment, wherein each model corresponds to a preset value, matching the model of the cloud storage equipment with all models, obtaining the corresponding preset value, and marking the corresponding preset value as Q Pi
Step three: using the formula YC Pi =S Pi ×d1+M Pi ×d2+Q Pi Obtaining cloud storage value YC of cloud storage equipment by using x d3 Pi The method comprises the steps of carrying out a first treatment on the surface of the Wherein d1, d2 and d3 are preset proportionality coefficients;
step four: acquiring a blockchain value corresponding to an e-commerce commodity and marking the blockchain value as Q Ej Matching the cloud storage value and the blockchain value of the cloud storage device; when 0 < YC Pi -Q Ej < a1, marking the cloud storage device as a storage device to be allocated; a1 is a preset threshold; marking the storage equipment to be allocated as Pk, and k epsilon i;
step five: calculating the distance difference between the position of the electronic commerce commodity information generation and the position corresponding to the storage equipment to be distributed to obtain a distance, and marking the distance as D Pk
Step six: counting the number of the electronic commerce commodity information stored in the storage equipment to be distributed and marking the number as K Pk
Step seven: using the formula
Figure BDA0002493871250000081
Obtaining the matching value W of the storage equipment to be distributed Pk The method comprises the steps of carrying out a first treatment on the surface of the Wherein d4, d5 and d6 are preset proportionality coefficients;
step eight: selecting the storage equipment to be allocated with the largest matching value as the selected equipment; the analysis unit sends the commodity information of the electronic commerce to selected equipment for storage; meanwhile, the number of the commodity information of the electronic commerce stored in the selected equipment is increased by one;
the method comprises the steps that a user scans a two-dimension code of a commodity through a mobile phone terminal, identifies and obtains a two-dimension code digital number, sends the two-dimension code digital number to a tracing inquiry module, the tracing inquiry module is used for judging the received two-dimension code digital number, when a user inquiry value of the user is larger than a set threshold value, the received two-dimension code digital number is sent to a server, and after the two-dimension code digital number is received by the server, the server obtains electronic commerce commodity information corresponding to the two-dimension code digital number through an access data storage module and sends the electronic commerce commodity information to the tracing inquiry module; the tracing inquiry module sends the commodity information of the electronic commerce to a mobile phone terminal of the user for checking the anti-counterfeiting tracing information; meanwhile, the tracing checking times of the commodity names of the electronic commerce corresponding to the two-dimension code number are increased once, and the total inquiring times of the user are increased once; the tracing inquiry module sends the commodity name of the electronic commerce at the inquiry time of sending the commodity information of the electronic commerce to the mobile phone terminal of the user to the tracing analysis module;
the traceability management module is used for receiving and managing the blockchain value of the commodity of the electronic commerce, and comprises the following specific management steps:
s1: acquiring commodity logistics information in the commodity information of the electronic commerce, and generating a management deleting instruction corresponding to the commodity of the electronic commerce when acquiring the commodity obtained by the user and the corresponding commodity obtaining time in the commodity logistics information;
s2: the traceability management module sends a management deleting instruction to a mobile phone terminal of a purchasing user corresponding to the electronic commerce commodity;
s3: when the traceability management module receives an agreement instruction sent by the purchasing user through the mobile phone terminal, an information deleting instruction corresponding to the electronic commerce commodity is generated, and the information deleting instruction is sent to the data storage module; after receiving the information deleting instruction, the data storage module deletes the electronic commerce commodity information corresponding to the electronic commerce commodity in the cloud storage device;
s4: when the traceability management module does not receive the approval instruction sent by the purchasing user through the mobile phone terminal or receives other instructions within a preset time range, generating the traceability management instruction of the E-commerce commodity; the traceability management module acquires the blockchain value and the corresponding goods taking time of the commodity of the electronic commerce and converts the blockchain value and the corresponding goods taking time into the blockstorage time according to a certain proportion; the traceability management module sends the block storage time, the corresponding goods taking time and the traceability management instruction to the data management module; the data management module receives the block storage time, the corresponding goods taking time and the traceability management instruction and manages the block storage time, and when the current time of the system and the corresponding goods taking time are equal to the block storage time, the electronic commerce commodity information corresponding to the electronic commerce commodity is deleted in the cloud storage equipment;
the storage time of the block is converted according to a certain proportion, and the storage time is specifically as follows: when the blockchain value of the commodity purchased by the user and corresponding to the commodity of the electronic commerce is Q Ej The user query value of the user is CW Zh The weight is distributed to the block chain value, the weight of the block chain value is set to be A1, and the weight of the user query value is set to be A2; bringing the value of the user query value, the blockchain value, into the formula tqc=q Ej ×A1+CW Zh Acquiring and obtaining a block storage time TQC corresponding to the E-commerce commodity by using the XA 2-lambda; wherein lambda is an error factor and takes on a value of 5.365;
the registration login module is used for a user to submit user information through the mobile phone terminal for registration and sending the user information which is successfully registered to the server for storage; meanwhile, the server marks the time of receiving the user information which is successfully registered as the registration time of the user; the user analysis module is used for collecting and analyzing the names and times of the purchased electronic commerce commodities and the prices corresponding to the electronic commerce commodities of the successfully registered users, and the specific analysis steps are as follows:
SS1: setting the user with successful registration as Zh, wherein h=1, 2, … … and n; calculating the time difference between the registration time of the user and the current time of the system to obtain the registration time of the user and marking the registration time as T Zh
SS2: counting the prices corresponding to the commodities of the electronic commerce purchased by the user, summing up the prices to obtain the purchase total price of the user, and marking the purchase total price as M Zh
SS3: marking the number of times that the user purchases the E-commerce commodity as U Zh The method comprises the steps of carrying out a first treatment on the surface of the Total number of queries CX of a user Zh
SS4: using the formula
Figure BDA0002493871250000101
Obtaining a user query value CW Zh The method comprises the steps of carrying out a first treatment on the surface of the Wherein d9, d10, d11 and d12 are preset proportionality coefficients; mu is an error correction factor and takes a value of 0.79635477;
SS5: and the user analysis module sends the calculated user query value to a server for storage.
The traceability analysis module is used for counting the inquiry time and traceability checking times corresponding to the commodity names of the electronic commerce and analyzing, and the specific analysis is as follows:
SSS1: counting inquiry time of commodity names of electronic commerce, screening out inquiry time within a preset time range, marking the inquiry time as analysis time, counting the number of the analysis time to obtain total time, and marking the total time as Z1;
SSS2: sequencing the analysis time according to the time sequence; sequentially calculating the time difference between two adjacent analysis moments according to the sequence to obtain access intervals, summing all the access intervals to obtain total duration of the access intervals, and marking the total duration as T1;
SSS3: using the formula
Figure BDA0002493871250000111
Obtaining a blockchain value Q of an e-commerce commodity Ej The method comprises the steps of carrying out a first treatment on the surface of the Wherein d8 and d9 are both preset scaling factors;
SSS4: the traceability analysis module is used for obtaining the blockchain value Q of the E-commerce commodity Ej The method comprises the steps of sending the data to a tracing management module through a server;
in the above formulas, the values are taken into the formulas to calculate.
When the electronic commerce information storage system is used, the data storage module is used for analyzing the received electronic commerce information and distributing the electronic commerce information to the corresponding cloud storage equipment for storage, and comprises an analysis unit, an equipment acquisition unit and a plurality of cloud storage equipment; the analysis unit is used for receiving and analyzing the information of the electronic commerce commodity and the equipment information, acquiring all models of the cloud storage equipment, wherein each model corresponds to a preset value, matching the model of the cloud storage equipment with all models to acquire corresponding preset values, acquiring cloud storage values of the cloud storage equipment by utilizing a formula, acquiring a blockchain value corresponding to the electronic commerce commodity, matching the cloud storage values of the cloud storage equipment with the blockchain value, marking the cloud storage equipment as the storage equipment to be allocated, performing distance difference calculation on the generation position of the electronic commerce commodity information and the position corresponding to the storage equipment to be allocated to acquire a distance, and counting the number of the electronic commerce commodity information stored in the storage equipment to be allocated; obtaining an identical value of the storage equipment to be allocated by utilizing a formula, and selecting the storage equipment to be allocated with the largest identical value as selected equipment; the analysis unit sends the commodity information of the electronic commerce to selected equipment for storage; the electronic commerce commodity is analyzed, and the electronic commerce commodity is reasonably distributed to corresponding cloud storage equipment for cloud storage according to the blockchain value corresponding to the electronic commerce commodity, so that a user can conveniently perform anti-counterfeiting traceability query on the electronic commerce commodity;
the tracing management module is used for receiving and managing the blockchain value of the commodity of the electronic commerce, acquiring commodity logistics information in commodity information of the electronic commerce, and generating a management deleting instruction corresponding to the commodity of the electronic commerce when acquiring the commodity obtained by the user and the corresponding commodity obtaining time in the commodity logistics information; the traceability management module sends a management deleting instruction to a mobile phone terminal of a purchasing user corresponding to the electronic commerce commodity; when the traceability management module receives an agreement instruction sent by the purchasing user through the mobile phone terminal, an information deleting instruction corresponding to the electronic commerce commodity is generated, and the information deleting instruction is sent to the data storage module; after receiving the information deleting instruction, the data storage module deletes the electronic commerce commodity information corresponding to the electronic commerce commodity in the cloud storage device; when the traceability management module does not receive the approval instruction sent by the purchasing user through the mobile phone terminal or receives other instructions within a preset time range, generating the traceability management instruction of the E-commerce commodity; the traceability management module acquires the blockchain value and the corresponding goods taking time of the commodity of the electronic commerce and converts the blockchain value and the corresponding goods taking time into the blockstorage time according to a certain proportion; the traceability management module sends the block storage time, the corresponding goods taking time and the traceability management instruction to the data management module; the data management module receives the block storage time, the corresponding goods taking time and the traceability management instruction and manages the block storage time, and when the current time of the system and the corresponding goods taking time are equal to the block storage time, the electronic commerce commodity information corresponding to the electronic commerce commodity is deleted in the cloud storage equipment; the dynamic state of the electronic commerce commodity is timely acquired, reasonable storage management and deletion are carried out according to the blockchain value, and redundant information in cloud storage is convenient to clean timely.
The preferred embodiments of the invention disclosed above are intended only to assist in the explanation of the invention. The preferred embodiments are not intended to be exhaustive or to limit the invention to the precise form disclosed. Obviously, many modifications and variations are possible in light of the above teaching. The embodiments were chosen and described in order to best explain the principles of the invention and the practical application, to thereby enable others skilled in the art to best understand and utilize the invention. The invention is limited only by the claims and the full scope and equivalents thereof.

Claims (4)

1. The block chain-based electronic commerce commodity anti-counterfeiting traceability management system is characterized by comprising a data acquisition module, a server, a data storage module, a traceability analysis module, a traceability inquiry module, a registration login module, a user analysis module and a traceability management module;
the data acquisition module is used for acquiring commodity information of the electronic commerce and sending the commodity information of the electronic commerce to the server, and the server receives the commodity information of the electronic commerce and sends the commodity information of the electronic commerce to the data storage module;
the data storage module is used for analyzing the received electronic commerce commodity information and distributing the electronic commerce commodity information into corresponding cloud storage equipment for storage; the data storage module comprises an analysis unit, an equipment acquisition unit and a plurality of cloud storage equipment; the cloud storage device is used for storing commodity information of electronic commerce, and the device acquisition unit is used for acquiring device information of the cloud storage device and sending the device information to the analysis unit; the analysis unit is used for receiving and analyzing the commodity information and the equipment information of the electronic commerce, and the specific analysis steps are as follows:
step one: marking a plurality of cloud storage devices as Pi, i=1, … …, n; setting the total memory of the cloud storage device as M Pi The method comprises the steps of carrying out a first treatment on the surface of the Setting the remaining memory of the cloud storage device as S Pi
Step two: obtaining all models of the cloud storage equipment, wherein each model corresponds to a preset value, and matching the model of the cloud storage equipment with all models to obtainObtaining a corresponding preset value and marking the value as Q Pi
Step three: using the formula YC Pi =S Pi ×d1+M Pi ×d2+Q Pi Obtaining cloud storage value YC of cloud storage equipment by using x d3 Pi The method comprises the steps of carrying out a first treatment on the surface of the Wherein d1, d2 and d3 are preset proportionality coefficients;
step four: acquiring a blockchain value corresponding to an e-commerce commodity and marking the blockchain value as Q Ej Matching the cloud storage value and the blockchain value of the cloud storage device; when 0 < YC Pi -Q Ej < a1, marking the cloud storage device as a storage device to be allocated; a1 is a preset threshold; marking the storage equipment to be allocated as Pk, and k epsilon i;
step five: calculating the distance difference between the position of the electronic commerce commodity information generation and the position corresponding to the storage equipment to be distributed to obtain a distance, and marking the distance as D Pk
Step six: counting the number of the electronic commerce commodity information stored in the storage equipment to be distributed and marking the number as K Pk
Step seven: using the formula
Figure FDA0002493871240000021
Obtaining the matching value W of the storage equipment to be distributed Pk The method comprises the steps of carrying out a first treatment on the surface of the Wherein d4, d5 and d6 are preset proportionality coefficients;
step eight: selecting the storage equipment to be allocated with the largest matching value as the selected equipment; the analysis unit sends the commodity information of the electronic commerce to selected equipment for storage; meanwhile, the number of the commodity information of the electronic commerce stored in the selected equipment is increased by one;
the method comprises the steps that a user scans a two-dimension code of a commodity through a mobile phone terminal, identifies and obtains a two-dimension code digital number, sends the two-dimension code digital number to a tracing inquiry module, the tracing inquiry module is used for judging the received two-dimension code digital number, when a user inquiry value of the user is larger than a set threshold value, the received two-dimension code digital number is sent to a server, and after the two-dimension code digital number is received by the server, the server obtains electronic commerce commodity information corresponding to the two-dimension code digital number through an access data storage module and sends the electronic commerce commodity information to the tracing inquiry module; the tracing inquiry module sends the commodity information of the electronic commerce to a mobile phone terminal of the user for checking the anti-counterfeiting tracing information; meanwhile, the tracing checking times of the commodity names of the electronic commerce corresponding to the two-dimension code number are increased once, and the total inquiring times of the user are increased once; the tracing inquiry module sends the commodity name of the electronic commerce at the inquiry time of sending the commodity information of the electronic commerce to the mobile phone terminal of the user to the tracing analysis module;
the tracing management module is used for receiving and managing the blockchain value of the commodity of the electronic commerce, and comprises the following specific management steps:
s1: acquiring commodity logistics information in the commodity information of the electronic commerce, and generating a management deleting instruction corresponding to the commodity of the electronic commerce when acquiring the commodity obtained by the user and the corresponding commodity obtaining time in the commodity logistics information;
s2: the traceability management module sends a management deleting instruction to a mobile phone terminal of a purchasing user corresponding to the electronic commerce commodity;
s3: when the traceability management module receives an agreement instruction sent by the purchasing user through the mobile phone terminal, an information deleting instruction corresponding to the electronic commerce commodity is generated, and the information deleting instruction is sent to the data storage module; after receiving the information deleting instruction, the data storage module deletes the electronic commerce commodity information corresponding to the electronic commerce commodity in the cloud storage device;
s4: when the traceability management module does not receive the approval instruction sent by the purchasing user through the mobile phone terminal or receives other instructions within a preset time range, generating the traceability management instruction of the E-commerce commodity; the traceability management module acquires the blockchain value and the corresponding goods taking time of the commodity of the electronic commerce and converts the blockchain value and the corresponding goods taking time into the blockstorage time according to a certain proportion; the traceability management module sends the block storage time, the corresponding goods taking time and the traceability management instruction to the data management module; and the data management module manages the block storage time, the corresponding goods taking time and the traceability management instruction after receiving the block storage time, and deletes the electronic commerce commodity information corresponding to the electronic commerce commodity in the cloud storage device when the current system time and the corresponding goods taking time are equal to the block storage time.
2. The blockchain-based electronic commerce commodity anti-counterfeiting traceability management system according to claim 1, wherein the electronic commerce commodity information comprises a name, a two-dimensional code digital number, a manufacturer, a production address, commodity parameter information, commodity order information, commodity logistics information and a position for generating the electronic commerce commodity information; the device information includes the model number, total memory, remaining memory and corresponding locations of the cloud storage device.
3. The blockchain-based electronic commerce commodity anti-counterfeiting traceability management system according to claim 1, wherein the registration login module is used for a user to submit user information through a mobile phone terminal for registration and sending the user information which is successfully registered to a server for storage; meanwhile, the server marks the time of receiving the user information which is successfully registered as the registration time of the user; the user analysis module is used for collecting and analyzing the names and times of the purchased electronic commerce commodities and the prices corresponding to the electronic commerce commodities of the successfully registered users, and the specific analysis steps are as follows:
SS1: setting the user with successful registration as Zh, wherein h=1, 2, … … and n; calculating the time difference between the registration time of the user and the current time of the system to obtain the registration time of the user and marking the registration time as T Zh
SS2: counting the prices corresponding to the commodities of the electronic commerce purchased by the user, summing up the prices to obtain the purchase total price of the user, and marking the purchase total price as M Zh
SS3: marking the number of times that the user purchases the E-commerce commodity as U Zh The method comprises the steps of carrying out a first treatment on the surface of the Total number of queries CX of a user Zh
SS4: using the formula
Figure FDA0002493871240000041
Obtaining a user query value CW Zh The method comprises the steps of carrying out a first treatment on the surface of the Wherein d9, d10, d11 and d12 are preset proportionality coefficients; mu is an error correction factor and takes a value of 0.79635477;
SS5: and the user analysis module sends the calculated user query value to a server for storage.
4. The blockchain-based electronic commerce commodity anti-counterfeiting traceability management system according to claim 1, wherein the traceability analysis module is used for counting and analyzing the inquiry time and the traceability check times corresponding to the electronic commerce commodity names, and specifically analyzes:
SSS1: counting inquiry time of commodity names of electronic commerce, screening out inquiry time within a preset time range, marking the inquiry time as analysis time, counting the number of the analysis time to obtain total time, and marking the total time as Z1;
SSS2: sequencing the analysis time according to the time sequence; sequentially calculating the time difference between two adjacent analysis moments according to the sequence to obtain access intervals, summing all the access intervals to obtain total duration of the access intervals, and marking the total duration as T1;
SSS3: using the formula
Figure FDA0002493871240000042
Obtaining a blockchain value Q of an e-commerce commodity Ej The method comprises the steps of carrying out a first treatment on the surface of the Wherein d8 and d9 are both preset scaling factors;
SSS4: the traceability analysis module is used for obtaining the blockchain value Q of the E-commerce commodity Ej And the data is sent to a traceability management module through a server.
CN202010412842.3A 2020-05-15 2020-05-15 Block chain-based electronic commerce commodity anti-counterfeiting traceability management system Active CN111597265B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010412842.3A CN111597265B (en) 2020-05-15 2020-05-15 Block chain-based electronic commerce commodity anti-counterfeiting traceability management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010412842.3A CN111597265B (en) 2020-05-15 2020-05-15 Block chain-based electronic commerce commodity anti-counterfeiting traceability management system

Publications (2)

Publication Number Publication Date
CN111597265A CN111597265A (en) 2020-08-28
CN111597265B true CN111597265B (en) 2023-06-09

Family

ID=72187321

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010412842.3A Active CN111597265B (en) 2020-05-15 2020-05-15 Block chain-based electronic commerce commodity anti-counterfeiting traceability management system

Country Status (1)

Country Link
CN (1) CN111597265B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112183992B (en) * 2020-09-22 2023-05-05 国网安徽省电力有限公司 Power grid engineering material purchasing standard selection management system based on big data
CN112381973A (en) * 2020-11-11 2021-02-19 快优智能技术有限公司 Electronic lock control system capable of being expanded for multiple times

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120280030A1 (en) * 2011-03-10 2012-11-08 Sharp Kabushiki Kaisha Commodity information registration system
CN109522330A (en) * 2018-10-18 2019-03-26 上海达家迎信息科技有限公司 Cloud platform data processing method, device, equipment and medium based on block chain
CN109949058A (en) * 2019-03-29 2019-06-28 特兰旗(厦门)科技有限公司 Antifake method for products, device, electronic equipment and read/write memory medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120280030A1 (en) * 2011-03-10 2012-11-08 Sharp Kabushiki Kaisha Commodity information registration system
CN109522330A (en) * 2018-10-18 2019-03-26 上海达家迎信息科技有限公司 Cloud platform data processing method, device, equipment and medium based on block chain
CN109949058A (en) * 2019-03-29 2019-06-28 特兰旗(厦门)科技有限公司 Antifake method for products, device, electronic equipment and read/write memory medium

Also Published As

Publication number Publication date
CN111597265A (en) 2020-08-28

Similar Documents

Publication Publication Date Title
US20240054444A1 (en) Logistics scheduling method and system for industrial park based on game theory
JP2021510223A (en) Methods, equipment, blockchain nodes, computer-readable media and systems for blockchain-based carbon recording and carbon trading
CN111597265B (en) Block chain-based electronic commerce commodity anti-counterfeiting traceability management system
WO2021088434A1 (en) Data analysis method and system based on regionalized membership marketing scene, and computer device
CN107292560A (en) Material storage management method and system
CN106228297A (en) A kind of management system of fixed assets information
CN111932155B (en) Intelligent order vehicle matching method, system and device
CN112015810B (en) Internet-based distributed database information query management system
CN107067282B (en) Consumer product rebate sale marketing management system and use method thereof
CN116612232A (en) Digital twin system construction method, terminal equipment and storage medium
CN110378546B (en) Method and apparatus for generating information
CN109685603A (en) A kind of we rent tools method, system and terminal
CN111507686A (en) Automatic budget system and method for engineering design change
CN110517123A (en) A kind of unmanned bid evaluation system of AI based on technology of Internet of things and method
CN106487799A (en) Facility information storage system based on cloud platform
CN117236968A (en) Carbon emission tracking method and device for regenerated plastic products
CN112232745A (en) Logistics information management system and method
CN108121691A (en) Manage the method and system of project of transmitting and converting electricity bill of quantities
CN107633462A (en) Power marketing checking method and terminal device
CN107274092A (en) The method of commerce and system of a kind of photovoltaic power station and electricity charge usufruct
CN101114362A (en) Networked multi-terminal interactive price inquiring and quoted price processing method and system
CN114926232B (en) Material purchasing system, method, controller and storage medium
CN109767116A (en) A kind of house administration of collection method
CN115545675A (en) Project contract management method, system and storage medium based on block chain
CN108876179A (en) A kind of enterprise&#39;s Reliability evaluation method and system based on big data

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
GR01 Patent grant
GR01 Patent grant