CN106372950A - Anti-counterfeiting authentication method for e-commerce and online shopping goods - Google Patents
Anti-counterfeiting authentication method for e-commerce and online shopping goods Download PDFInfo
- Publication number
- CN106372950A CN106372950A CN201610836561.4A CN201610836561A CN106372950A CN 106372950 A CN106372950 A CN 106372950A CN 201610836561 A CN201610836561 A CN 201610836561A CN 106372950 A CN106372950 A CN 106372950A
- Authority
- CN
- China
- Prior art keywords
- dealer
- terminal
- online shopping
- supplier
- identity information
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; 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
- G06Q30/00—Commerce
- G06Q30/018—Certifying business or products
- G06Q30/0185—Product, service or business identity fraud
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
- H04L63/0442—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply asymmetric encryption, i.e. different keys for encryption and decryption
Landscapes
- Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- Computer Security & Cryptography (AREA)
- Development Economics (AREA)
- Finance (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computing Systems (AREA)
- Entrepreneurship & Innovation (AREA)
- Accounting & Taxation (AREA)
- Computer Hardware Design (AREA)
- Economics (AREA)
- General Engineering & Computer Science (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Storage Device Security (AREA)
Abstract
本发明公开了一种电商及网购商品的防伪认证方法,包括:S1,供货商终端对经销商终端进行确认与授权;S2,授权成功后,经销商终端发送加密后的进货申请及经销商身份信息至供货商终端进行进货操作;S3,供货商终端解密信息后,对经销商身份信息进行验证;若验证成功,则反馈加密后的相应的商品码给经销商终端;S4,经销商终端解密信息获得商品码;S5,当经销商终端收到买家交易请求后,则将商品码与经销商身份信息加密后连同商品一起发给买家;S6,买家通过网购平台对其所购买的商品以及经销商身份进行验证。本发明避免了数据被拦截或篡改的风险,使得防伪验证的安全性更高,防伪验证的结果也更加客观、真实。
The invention discloses an anti-counterfeit authentication method for e-commerce and online shopping commodities, including: S1, the supplier terminal confirms and authorizes the dealer terminal; S2, after the authorization is successful, the dealer terminal sends an encrypted purchase application and distribution The merchant’s identity information is sent to the supplier’s terminal for purchase operations; S3, after the supplier’s terminal decrypts the information, it verifies the dealer’s identity information; if the verification is successful, it feeds back the encrypted corresponding commodity code to the dealer’s terminal; S4, The dealer terminal decrypts the information to obtain the product code; S5, when the dealer terminal receives the buyer’s transaction request, it encrypts the product code and the dealer’s identity information and sends it to the buyer together with the product; S6, the buyer through the online shopping platform The goods purchased and the identity of the dealer are verified. The invention avoids the risk of data being intercepted or tampered with, so that the security of the anti-counterfeiting verification is higher, and the result of the anti-counterfeiting verification is also more objective and real.
Description
技术领域technical field
本发明涉及一种电商及网购商品的防伪认证方法,属于商品防伪及店铺防伪技术领域。The invention relates to an anti-counterfeiting authentication method for e-commerce and online shopping commodities, and belongs to the technical field of commodity anti-counterfeiting and store anti-counterfeiting.
背景技术Background technique
如今,网购已然成为一种时尚,但是人们进行网购时,往往有一个问题一直困扰着大家,那就是商品是否保真;另外,商品的供货渠道也是很多消费者关心的问题,比如消费者购买海外代购产品,往往希望买到的是某个特定国家直邮过来的产品,而非随便某个工厂代生产的产品。因此对电商(即经销商)的供货渠道进行防伪验证,也是十分必要的,可以起到双重保险的作用。Nowadays, online shopping has become a fashion, but when people shop online, there is often a problem that has always troubled everyone, that is whether the product is authentic; in addition, the supply channel of the product is also a problem that many consumers care about. When purchasing products overseas, you often want to buy products that are directly mailed from a specific country, rather than products produced by a random factory. Therefore, it is also very necessary to carry out anti-counterfeiting verification on the supply channels of e-commerce (that is, dealers), which can play the role of double insurance.
申请号为201110189920.9的专利申请公开了一种“基于路径机制的商品防伪方法”,有效实现了对商品及销售商的身份进行有效性判断,从而杜绝了假冒伪劣商品及再流通商品的流通。但是该技术仍然存在以下缺点:The patent application with the application number 201110189920.9 discloses a "commodity anti-counterfeiting method based on the path mechanism", which effectively realizes the validity judgment of the identity of the commodity and the seller, thereby preventing the circulation of counterfeit and inferior commodities and recirculated commodities. But this technology still has the following disadvantages:
1、无法保证数据传输过程中的安全性,存在数据被拦截或篡改的风险,因而使得最终的防伪验证结果的客观性和真实性有待考究;1. The security of the data transmission process cannot be guaranteed, and there is a risk of data being intercepted or tampered with, so the objectivity and authenticity of the final anti-counterfeiting verification results need to be studied;
2、商品的每一步流动都要向防伪认证中心发送信息确认,导致防伪认证中心的服务压力过大;2. Every step of the flow of goods must send information to the anti-counterfeiting certification center for confirmation, resulting in excessive service pressure on the anti-counterfeiting certification center;
3、商品的识别码及销售商ID并没有被合理保护,均处于裸露状态,因此他人若盗取某销售商的ID,即可以该销售商的身份向防伪认证中心发送商品流向信息;若该假冒者销售的是假冒商品,则被盗ID的销售商的合法权益将受到侵害;3. Commodity identification codes and seller IDs are not properly protected and are exposed. Therefore, if others steal a seller’s ID, they can use the seller’s identity to send commodity flow information to the anti-counterfeiting certification center; if the If the counterfeiter sells counterfeit goods, the legitimate rights and interests of the seller of the stolen ID will be violated;
4、未说明唯一的商品识别码的产生过程,随机性不能保证,而且若商品识别码的产生原理被破解则会威胁到整个系统的稳定性。4. The generation process of the unique commodity identification code is not explained, and the randomness cannot be guaranteed, and if the generation principle of the commodity identification code is cracked, it will threaten the stability of the entire system.
发明内容Contents of the invention
本发明的目的在于,提供一种电商及网购商品的防伪认证方法,它可以有效解决现有技术中存在的问题,尤其是无法保证数据传输过程中的安全性,存在数据被拦截或篡改的风险,因而使得最终的防伪验证结果的客观性和真实性有待考究的问题。The purpose of the present invention is to provide an anti-counterfeiting authentication method for e-commerce and online shopping commodities, which can effectively solve the problems existing in the prior art, especially the security in the process of data transmission cannot be guaranteed, and data is intercepted or tampered with. Therefore, the objectivity and authenticity of the final anti-counterfeiting verification results need to be investigated.
为解决上述技术问题,本发明采用如下的技术方案:一种电商及网购商品的防伪认证方法,包括以下步骤:In order to solve the above technical problems, the present invention adopts the following technical solution: an anti-counterfeiting authentication method for e-commerce and online shopping commodities, comprising the following steps:
S1,供货商终端对经销商终端进行确认与授权;S1, the supplier terminal confirms and authorizes the dealer terminal;
S2,授权成功后,经销商终端发送加密后的进货申请及经销商身份信息至供货商终端进行进货操作;S2, after the authorization is successful, the dealer terminal sends the encrypted purchase application and dealer identity information to the supplier terminal for purchase operation;
S3,供货商终端解密信息后,对经销商身份信息进行验证;若验证成功,则反馈加密后的相应的商品码(具有唯一标识性)给经销商终端(并反馈相应的商品给经销商);S3, after the supplier terminal decrypts the information, verify the dealer's identity information; if the verification is successful, then feed back the encrypted corresponding commodity code (with unique identification) to the dealer terminal (and feed back the corresponding commodity to the dealer );
S4,经销商终端解密信息获得商品码;S4, the dealer terminal decrypts the information to obtain the commodity code;
S5,当经销商终端收到买家交易请求后,则将商品码与经销商身份信息加密后连同商品一起发给买家;S5, when the dealer terminal receives the buyer's transaction request, it encrypts the product code and the dealer's identity information and sends it to the buyer together with the product;
S6,买家通过网购平台对其所购买的商品以及经销商身份进行验证。S6, the buyer verifies the commodity he purchased and the identity of the dealer through the online shopping platform.
所述的网购平台具有CA的职能。The online shopping platform has the function of CA.
优选的,步骤S1包括:Preferably, step S1 includes:
S11,供货商终端、经销商终端及网购平台产生各自的私钥,同时根据所述的私钥生成相应的公钥并储存在本地;S11, the supplier terminal, the dealer terminal and the online shopping platform generate their own private keys, and at the same time generate corresponding public keys according to the private keys and store them locally;
S12,供货商终端发送供货商公钥至网购平台并获得网购平台公钥;经销商终端发送经销商公钥至网购平台并获得网购平台公钥;S12, the supplier terminal sends the supplier's public key to the online shopping platform and obtains the online shopping platform public key; the dealer terminal sends the dealer's public key to the online shopping platform and obtains the online shopping platform public key;
S13,网购平台将供货商公钥发送至经销商终端,同时将经销商公钥发送至供货商终端;S13, the online shopping platform sends the supplier's public key to the dealer's terminal, and at the same time sends the dealer's public key to the supplier's terminal;
S14,供货商终端对经销商终端进行确认与授权。S14, the supplier terminal confirms and authorizes the dealer terminal.
更优选的,步骤S14包括:供货商终端生成经销商身份信息,并将其利用经销商公钥和供货商私钥加密后发给经销商终端,经销商终端利用经销商私钥和供货商公钥解密后获得经销商身份信息。通过由供货商产生经销商ID(即经销商身份信息),由于在源头处不存在安全隐患,从而可以保证经销商ID的来源安全,而如果使用其他第三方平台产生经销商ID,则一方面不能保证经销商ID的唯一性以及随机性,另外也不能保证第三方平台数据存储的安全性,此外,在经销商ID传输过程中也无法保证信息安全,易发生中间人攻击;另外,本发明使用供货商私钥加密经销商ID,保证经销商不会收到假冒供货商发来的经销商ID,使用经销商公钥加密,只有经销商才能使用私钥解密信息,保证了信息传输的安全性,降低了收到中间人攻击的风险。More preferably, step S14 includes: the supplier terminal generates the dealer's identity information, and sends it to the dealer terminal after encrypting it with the dealer's public key and the supplier's private key, and the dealer terminal uses the dealer's private key and the supplier's private key. The merchant's public key is decrypted to obtain the dealer's identity information. By generating the dealer ID (that is, dealer identity information) by the supplier, since there is no security risk at the source, the source security of the dealer ID can be guaranteed, and if other third-party platforms are used to generate the dealer ID, it is always On the one hand, the uniqueness and randomness of the dealer ID cannot be guaranteed, and the security of data storage on the third-party platform cannot be guaranteed. In addition, information security cannot be guaranteed during the dealer ID transmission process, and man-in-the-middle attacks are prone to occur; in addition, the present invention Use the supplier's private key to encrypt the dealer's ID to ensure that the dealer will not receive the dealer's ID from a fake supplier, use the dealer's public key to encrypt, only the dealer can use the private key to decrypt the information, ensuring information transmission security, reducing the risk of man-in-the-middle attacks.
优选的,步骤S2包括:Preferably, step S2 includes:
授权成功后,经销商终端发送使用经销商私钥和供货商公钥加密后的进货申请及经销商身份信息至供货商终端进行进货操作。本发明中,使用经销商私钥加密信息,因为只有经销商才持有经销商私钥,因此使经销商对进货信息不可抵赖;使用供货商公钥加密信息,使得只有持有供货商私钥的真供货商才能解密信息,从而保证了信息传输的安全性,防止发生被篡改等中间人攻击的风险。After the authorization is successful, the dealer terminal sends the purchase application and the dealer's identity information encrypted with the dealer's private key and the supplier's public key to the supplier's terminal for the purchase operation. In the present invention, the dealer's private key is used to encrypt information, because only the dealer holds the dealer's private key, so that the dealer's purchase information cannot be denied; the supplier's public key is used to encrypt the information, so that only the dealer who holds the dealer's private key Only the real supplier of the private key can decrypt the information, thus ensuring the security of information transmission and preventing the risk of man-in-the-middle attacks such as tampering.
前述的电商及网购商品的防伪认证方法中,步骤S3包括:供货商终端解密信息后,对经销商身份信息进行验证;若验证成功,则根据所述进货信息和经销商身份信息,分配相应的商品码(供货商会为每个商品都分配商品码),并使用供货商私钥及经销商公钥对所述的商品码进行加密,然后反馈给经销商终端(并反馈相应的商品给经销商)。In the aforementioned anti-counterfeiting authentication method for e-commerce and online shopping commodities, step S3 includes: after the supplier terminal decrypts the information, verify the identity information of the dealer; if the verification is successful, according to the purchase information and the identity information of the dealer, distribute Corresponding product code (the supplier will assign a product code for each product), and use the supplier's private key and the dealer's public key to encrypt the product code, and then feed it back to the dealer's terminal (and feed back the corresponding goods to distributors).
前述的电商及网购商品的防伪认证方法中,步骤S4包括:经销商终端利用经销商私钥和供货商公钥解密信息后获得商品码。In the aforementioned anti-counterfeit authentication method for e-commerce and online shopping commodities, step S4 includes: the dealer terminal decrypts the information with the dealer's private key and the supplier's public key to obtain the commodity code.
通过以上方式进行数据传输,从而保证了只有特定的经销商才能获得该商品码,防止了商品码被不良分子截取利用,从而进一步保证了数据的安全。Through the above method of data transmission, it is ensured that only a specific dealer can obtain the product code, preventing the product code from being intercepted and used by bad actors, thereby further ensuring data security.
优选的,步骤S5中,利用网购平台公钥对所述的商品码与经销商身份信息进行加密,从而使得只有特定的网购平台才能获得所述的商品码与经销商身份信息,进行商品防伪验证,保证了验证结果来源的安全性。Preferably, in step S5, the public key of the online shopping platform is used to encrypt the commodity code and the dealer's identity information, so that only a specific online shopping platform can obtain the commodity code and the dealer's identity information for commodity anti-counterfeiting verification , ensuring the security of the verification result source.
本发明中,步骤S6包括:In the present invention, step S6 includes:
S61,网购平台(利用网购平台私钥)解密信息后获得商品码和经销商身份信息;S61, the online shopping platform (using the online shopping platform private key) decrypts the information and obtains the product code and dealer identity information;
S62,网购平台将所述的商品码(使用网购平台私钥和供货商公钥)加密后发送至供货商终端;S62, the online shopping platform encrypts the commodity code (using the online shopping platform private key and the supplier public key) and sends it to the supplier terminal;
S63,供货商终端(利用网购平台公钥和供货商私钥)对所接收到的信息进行解密,获得商品码;然后将所述的商品码与存储的经销商身份信息进行匹配(商品码和经销商身份信息是多对一的关系);S63, the supplier terminal (using the public key of the online shopping platform and the supplier's private key) decrypts the received information to obtain the commodity code; and then matches the commodity code with the stored dealer identity information (commodity code and dealer identity information is a many-to-one relationship);
S64,若所述的商品码存在,并且与经销商身份信息成功匹配,则发送(使用网购平台公钥)加密后的经销商身份信息给网购平台;S64, if the commodity code exists and is successfully matched with the dealer's identity information, then send (using the public key of the online shopping platform) encrypted dealer's identity information to the online shopping platform;
S65,网购平台(利用网购平台私钥)解密信息后,获得反馈回来的经销商身份信息;然后将其与买家发来的经销商身份信息进行匹配,若一致,则认证成功,并反馈给买家。S65. After the online shopping platform (using the private key of the online shopping platform) decrypts the information, obtain the feedback dealer identity information; then match it with the dealer identity information sent by the buyer. buyers.
上述方法中,供货商终端可利用分配商品码时所建立的经销商身份信息与商品码的对应表格而直接得到经销商身份信息。In the above method, the supplier terminal can directly obtain the dealer's identity information by using the correspondence table between the dealer's identity information and the commodity code established when the commodity code is assigned.
上述方法中,网购平台只将商品码而不是将商品码和经销商身份信息一同发送给供货商终端进行验证,从而可以防止供货商包庇经销商,从而使得经网购平台得到的认证结果更有说服力,更真实、客观;而如果把商品码和经销商身份信息一同发给供货商终端进行验证,若验证不通过,但供货商终端向网购平台隐瞒的话,则网购平台无法获知真实的验证结果。因此,本发明只将商品码发送至供货商终端进行验证,可以让验证过程更加透明,若验证不通过,则供货商终端必将无法匹配到正确的经销商身份信息,从而无法返回正确的经销商身份信息,这样网购平台得到的认证结果将更有说服力,从而降低了认证风险;此外通过本发明的上述方法,可以有效降低网购平台的服务压力,提高工作效率。In the above method, the online shopping platform only sends the commodity code instead of the commodity code and the dealer’s identity information to the supplier’s terminal for verification, so as to prevent the supplier from covering up the dealer, so that the authentication result obtained by the online shopping platform is more accurate. Convincing, more authentic and objective; and if the commodity code and the dealer's identity information are sent to the supplier's terminal for verification, if the verification fails, but the supplier's terminal hides it from the online shopping platform, the online shopping platform will not be able to know Authentic verification results. Therefore, the present invention only sends the commodity code to the supplier terminal for verification, which can make the verification process more transparent. If the verification fails, the supplier terminal will not be able to match the correct dealer identity information, and thus cannot return the correct In this way, the authentication results obtained by the online shopping platform will be more convincing, thereby reducing the authentication risk; in addition, through the above-mentioned method of the present invention, the service pressure of the online shopping platform can be effectively reduced, and work efficiency can be improved.
上述方法中,所述的商品码是使用经销商身份信息和收到订单的时间信息以及大数位随机数作为密钥(对普通的商品码)进行AES加密(即对称加密),然后对该加密结果再次进行MD5(信息摘要算法5)操作而获得的。现有的商品码为公开的且一类商品公用一种商品码,只可当作该商品的电子标签,而本发明中的商品码是在现有的商品码基础上,使用经销商身份信息和收到订单的时间信息以及大数位随机数作为密钥进行AES加密,然后对该加密结果再进行MD5操作而获得的,从而使得同种商品的商品码也会有差别(一个商品对应一个商品码,也就是说,生成的各个商品码是唯一且无规律的),无法根据已知商品码猜测未知商品码,可防止商品码被第三方恶意生成,进一步提高了防伪认证的安全性。In the above method, the commodity code is to use the dealer's identity information and the time information of receiving the order and a large number of random numbers as a key (common commodity code) to carry out AES encryption (i.e. symmetric encryption), and then the encryption The result is obtained by performing MD5 (Message Digest Algorithm 5) operation again. The existing commodity codes are public and one type of commodity shares a common commodity code, which can only be used as the electronic label of the commodity, while the commodity code in the present invention is based on the existing commodity code, using the dealer's identity information It is obtained by performing AES encryption with the time information of receiving the order and a large-digit random number as the key, and then performing MD5 operation on the encrypted result, so that the product code of the same product will also be different (one product corresponds to one product) Code, that is to say, each product code generated is unique and irregular), and it is impossible to guess unknown product codes based on known product codes, which can prevent product codes from being maliciously generated by third parties, and further improve the security of anti-counterfeiting authentication.
与现有技术相比,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:
1、通过利用网购平台实现供货商终端与经销商终端的通信,以及进行所购买商品和经销商身份的验证,同时基于密码学对传输过程中的重要信息进行加密(如商品码及经销商身份信息),因而避免了数据被拦截或篡改的风险,保护了经销商的合法权益,同时使得防伪验证的安全性更高,防伪验证的结果也更加客观、真实;1. Through the use of the online shopping platform to realize the communication between the supplier's terminal and the dealer's terminal, and to verify the identity of the purchased product and the dealer, and at the same time encrypt important information in the transmission process based on cryptography (such as product code and dealer's ID). Identity information), thus avoiding the risk of data being intercepted or tampered with, protecting the legitimate rights and interests of dealers, and at the same time making the security of anti-counterfeiting verification higher, and the results of anti-counterfeiting verification are more objective and real;
2、本发明中,供货商终端通过使用供货商私钥及经销商公钥对商品码进行加密后反馈给经销商终端,从而保证了只有特定的经销商才能获得该商品码,防止了商品码被不良分子截取利用,从而进一步保证了数据的安全;2. In the present invention, the supplier terminal encrypts the product code by using the supplier's private key and the dealer's public key and then feeds it back to the dealer terminal, thereby ensuring that only a specific dealer can obtain the product code, preventing Commodity codes are intercepted and used by bad actors, thus further ensuring data security;
3、本发明中的商品码是使用经销商身份信息和收到订单的时间信息以及大数位随机数作为密钥(对普通的商品码)进行AES加密,然后对该加密结果再次进行MD5操作而获得的;现有的商品码为公开的且一类商品公用一种商品码,只可当作该商品的电子标签,而本发明中的商品码是在现有的商品码基础上,使用经销商身份信息和收到订单的时间信息以及大数位随机数作为密钥进行AES加密,然后对该加密结果再进行MD5操作而获得的;从而使得同种商品的商品码也会有差别(一个商品对应一个商品码),唯一且无规律,无法根据已知商品码猜测未知商品码,可防止商品码被第三方恶意生成,进一步提高了防伪认证的安全性及整个系统的稳定性;3. Commodity code among the present invention is to use dealer's identity information and time information of receiving order and large-digit random number as key (to common commodity code) to carry out AES encryption, then carry out MD5 operation again to this encryption result and Obtained; the existing commodity code is public and a class of commodity shares a kind of commodity code, which can only be used as the electronic tag of the commodity, and the commodity code in the present invention is based on the existing commodity code, using the distribution The identity information of the merchant, the time information of receiving the order, and the large-digit random number are used as the key to perform AES encryption, and then the encrypted result is obtained by performing MD5 operation; thus, the commodity code of the same commodity will also be different (one commodity Corresponding to a product code), unique and irregular, it is impossible to guess the unknown product code based on the known product code, which can prevent the product code from being maliciously generated by a third party, further improving the security of anti-counterfeiting certification and the stability of the entire system;
4、本发明中网购平台只将商品码而不是将商品码和经销商身份信息一同发送给供货商终端进行验证,从而可以防止供货商包庇经销商,使得经网购平台得到的认证结果更有说服力,更真实、客观(也就是说,本发明中的商品防伪认证是交互式的,供货商单纯返回一个结果是不能通过的,只有当供货商返回正确的经销商身份信息,且能在网购平台将所述经销商身份信息和买家发来的经销商身份信息匹配一致,才认证成功);同时可以有效降低网购平台的服务压力,提高工作效率;4. In the present invention, the online shopping platform only sends the product code instead of the product code and the dealer’s identity information to the supplier’s terminal for verification, thereby preventing the supplier from covering up the dealer and making the authentication result obtained through the online shopping platform more accurate. Convincing, more real, objective (that is to say, commodity anti-counterfeiting certification in the present invention is interactive, and the supplier simply returns a result and cannot pass, only when the supplier returns correct dealer identity information, And on the online shopping platform, the dealer’s identity information can be matched with the dealer’s identity information sent by the buyer, and then the authentication is successful); at the same time, it can effectively reduce the service pressure of the online shopping platform and improve work efficiency;
5、本发明的整个系统架构在密码学的体系下,构思严密,相比其它现有技术,极难挖掘其中漏洞;5. The entire system architecture of the present invention is tightly conceived under the system of cryptography, and it is extremely difficult to find loopholes in it compared with other existing technologies;
6、本发明在验证商品真伪的同时认证了经销商的真实性及可信度,且认证结果可在网购平台储存作为经销商信用评级依据;6. The present invention authenticates the authenticity and credibility of the dealer while verifying the authenticity of the product, and the authentication result can be stored on the online shopping platform as the basis for the dealer's credit rating;
7、据大量数据统计表明,与现有技术相比,采用本发明的方法进行防伪认证,准确率可提高30%,同时效率可提高20%。7. According to a large amount of data statistics, compared with the prior art, the accuracy rate can be increased by 30% and the efficiency can be increased by 20% by adopting the method of the present invention for anti-counterfeiting authentication.
附图说明Description of drawings
图1是本发明供货商终端、经销商终端及网购平台的架构示意图;Fig. 1 is the structural representation of supplier terminal, dealer terminal and online shopping platform of the present invention;
图2是本发明的一种实施例的工作流程图。Fig. 2 is a working flow diagram of an embodiment of the present invention.
下面结合附图和具体实施方式对本发明作进一步的说明。The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
具体实施方式detailed description
本发明的实施例:一种电商及网购商品的防伪认证方法,如图1、图2所示,包括以下步骤:Embodiments of the present invention: a method for anti-counterfeiting authentication of electricity suppliers and online shopping commodities, as shown in Figure 1 and Figure 2, comprising the following steps:
S1,供货商终端对经销商终端进行确认与授权;S1, the supplier terminal confirms and authorizes the dealer terminal;
S2,授权成功后,经销商终端发送加密后的进货申请及经销商身份信息至供货商终端进行进货操作;S2, after the authorization is successful, the dealer terminal sends the encrypted purchase application and dealer identity information to the supplier terminal for purchase operation;
S3,供货商终端解密信息后,对经销商身份信息进行验证;若验证成功,则反馈加密后的相应的商品码(具有唯一标识性)给经销商终端(并发送相应的商品给经销商);S3, after the supplier terminal decrypts the information, verify the dealer's identity information; if the verification is successful, then feed back the encrypted corresponding commodity code (with unique identification) to the dealer terminal (and send the corresponding commodity to the dealer );
S4,经销商终端解密信息获得商品码;S4, the dealer terminal decrypts the information to obtain the commodity code;
S5,当经销商终端收到买家交易请求后,则将商品码与经销商身份信息加密后连同商品一起发给买家;S5, when the dealer terminal receives the buyer's transaction request, it encrypts the product code and the dealer's identity information and sends it to the buyer together with the product;
S6,买家通过网购平台对其所购买的商品以及经销商身份进行验证。S6, the buyer verifies the commodity he purchased and the identity of the dealer through the online shopping platform.
所述步骤S1包括:Said step S1 comprises:
S11,供货商终端、经销商终端及网购平台产生各自的私钥,同时根据所述的私钥生成相应的公钥并储存在本地;S11, the supplier terminal, the dealer terminal and the online shopping platform generate their own private keys, and at the same time generate corresponding public keys according to the private keys and store them locally;
S12,供货商终端发送供货商公钥至网购平台并获得网购平台公钥;经销商终端发送经销商公钥至网购平台并获得网购平台公钥;S12, the supplier terminal sends the supplier's public key to the online shopping platform and obtains the online shopping platform public key; the dealer terminal sends the dealer's public key to the online shopping platform and obtains the online shopping platform public key;
S13,网购平台将供货商公钥发送至经销商终端,同时将经销商公钥发送至供货商终端;S13, the online shopping platform sends the supplier's public key to the dealer's terminal, and at the same time sends the dealer's public key to the supplier's terminal;
S14,供货商终端对经销商终端进行确认与授权。S14, the supplier terminal confirms and authorizes the dealer terminal.
为了保证经销商身份信息来源的安全性,步骤S14包括:供货商终端生成经销商身份信息,并将其利用经销商公钥和供货商私钥加密后发给经销商终端,经销商终端利用经销商私钥和供货商公钥解密后获得经销商身份信息。In order to ensure the security of the dealer's identity information source, step S14 includes: the supplier terminal generates the dealer's identity information, and sends it to the dealer's terminal after encrypting it with the dealer's public key and the supplier's private key, and the dealer's terminal The dealer's identity information is obtained after decryption with the dealer's private key and the supplier's public key.
所述步骤S2包括:Described step S2 comprises:
授权成功后,经销商终端发送使用经销商私钥和供货商公钥加密后的进货申请及经销商身份信息至供货商终端进行进货操作。After the authorization is successful, the dealer terminal sends the purchase application and the dealer's identity information encrypted with the dealer's private key and the supplier's public key to the supplier's terminal for the purchase operation.
步骤S3包括:供货商终端解密信息后,对经销商身份信息进行验证;若验证成功,则根据所述进货信息和经销商身份信息,分配相应的商品码(供货商会为每个商品都分配商品码),并使用供货商私钥及经销商公钥对所述的商品码进行加密,然后反馈给经销商终端(并反馈相应的商品给经销商)。Step S3 includes: after the supplier terminal decrypts the information, verify the identity information of the dealer; if the verification is successful, assign a corresponding commodity code according to the purchase information and the identity information of the dealer (the supplier will assign a code for each commodity) assign commodity code), and use the supplier's private key and the dealer's public key to encrypt the commodity code, and then feed it back to the dealer's terminal (and feed back the corresponding commodity to the dealer).
步骤S4包括:经销商终端利用经销商私钥和供货商公钥解密信息后获得商品码。Step S4 includes: the dealer terminal obtains the commodity code after decrypting the information with the dealer's private key and the supplier's public key.
上述方法中,步骤S5中,利用网购平台公钥对所述的商品码与经销商身份信息进行加密。In the above method, in step S5, the public key of the online shopping platform is used to encrypt the commodity code and dealer identity information.
为了进一步提高防伪认证的真实性和客观性,步骤S6包括:In order to further improve the authenticity and objectivity of the anti-counterfeiting certification, step S6 includes:
S61,网购平台(利用网购平台私钥)解密信息后获得商品码和经销商身份信息;S61, the online shopping platform (using the online shopping platform private key) decrypts the information and obtains the product code and dealer identity information;
S62,网购平台将所述的商品码(使用网购平台私钥和供货商公钥)加密后发送至供货商终端;S62, the online shopping platform encrypts the commodity code (using the online shopping platform private key and the supplier public key) and sends it to the supplier terminal;
S63,供货商终端(利用网购平台公钥和供货商私钥)对所接收到的信息进行解密,获得商品码;然后将所述的商品码与存储的经销商身份信息进行匹配;S63, the supplier terminal (using the public key of the online shopping platform and the supplier's private key) decrypts the received information to obtain the commodity code; and then matches the commodity code with the stored dealer identity information;
S64,若所述的商品码存在,并且与经销商身份信息成功匹配,则发送(使用网购平台公钥)加密后的经销商身份信息给网购平台;S64, if the commodity code exists and is successfully matched with the dealer's identity information, then send (using the public key of the online shopping platform) encrypted dealer's identity information to the online shopping platform;
S65,网购平台(利用网购平台私钥)解密信息后,获得反馈回来的经销商身份信息;然后将其与买家发来的经销商身份信息进行匹配,若一致,则认证成功,并反馈给买家。S65. After the online shopping platform (using the private key of the online shopping platform) decrypts the information, obtain the feedback dealer identity information; then match it with the dealer identity information sent by the buyer. buyers.
上述方法中,所述的商品码是使用经销商身份信息和收到订单的时间信息以及大数位随机数作为密钥(对普通的商品码)进行AES加密,然后对该加密结果再次进行MD5操作而获得的。In the above method, the commodity code is to use the dealer's identity information and the time information of receiving the order and a large-digit random number as a key (common commodity code) to carry out AES encryption, and then perform MD5 operation on the encrypted result again and obtained.
上述方法中,所述的随机数可使用软件随机算法生成,例如python语言:random.randint(100000,200000)(使用算法可限定随机数范围,产生结果虽为伪随机数,但已满足方法需求,故仍用“随机数”来表示)。本发明中可将生成的随机数对应商品编号存于供货商数据库中,并为所有随机数创建一个二叉查找树;每新产生一个随机数,则将其插入二叉查找树中,若发现存在相同的随机数则舍弃当前数值并重新生成(使用二叉查找树的目的是防止随机数数量过多时检验唯一性所做的遍历耗时过大,若随机数数量少则可直接在数据库中遍历随机数以检测唯一性)。由于随机数不同,因而使得生成的每个商品码也不同;另外,由于商品码产生过程中使用MD5操作,根据MD5的特性“输入变量中即使发生很小的改变,反映在输出中都会很大”,因而使得生成的每个商品码之间都差距很大,使得第三方无法根据已知商品码猜测未知商品码,可防止商品码被第三方恶意生成,进一步提高了防伪认证的安全性及整个系统的稳定性。In the above method, the random number can be generated using a software random algorithm, such as python language: random.randint(100000,200000) (the range of the random number can be limited by using the algorithm, although the generated result is a pseudo-random number, it has met the method requirements , so it is still represented by "random number"). In the present invention, the corresponding product number of the generated random number can be stored in the supplier database, and a binary search tree is created for all random numbers; every time a random number is newly generated, it is inserted into the binary search tree, if If the same random number is found, the current value is discarded and regenerated (the purpose of using a binary search tree is to prevent the time-consuming traversal of checking the uniqueness when the number of random numbers is too large. If the number of random numbers is small, it can be directly stored in the database Traversing random numbers in to check for uniqueness). Due to the different random numbers, each product code generated is also different; in addition, because the MD5 operation is used in the process of generating the product code, according to the characteristics of MD5, "even a small change in the input variable will be reflected in the output. ", so that there is a big gap between each generated product code, making it impossible for a third party to guess an unknown product code based on a known product code, which can prevent the product code from being maliciously generated by a third party, further improving the security of anti-counterfeiting authentication and The stability of the whole system.
以上实施例详细说明了本发明的方法流程,仅为本发明的较佳实施例,不能够限定本发明的范围,凡是依据本发明的构思所做的改变或者修改为等同变化的等效实施例,仍未超出说明书与图示涵盖的精神时,均应在本发明的保护范围内。The above embodiments have described the method flow of the present invention in detail, are only preferred embodiments of the present invention, and cannot limit the scope of the present invention, and all changes or modifications made according to the concept of the present invention are equivalent embodiments of equivalent changes , and still within the spirit covered by the instructions and illustrations, all should be within the protection scope of the present invention.
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610836561.4A CN106372950B (en) | 2016-09-21 | 2016-09-21 | Anti-counterfeiting authentication method for e-commerce and online shopping products |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610836561.4A CN106372950B (en) | 2016-09-21 | 2016-09-21 | Anti-counterfeiting authentication method for e-commerce and online shopping products |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106372950A true CN106372950A (en) | 2017-02-01 |
CN106372950B CN106372950B (en) | 2020-12-15 |
Family
ID=57897874
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610836561.4A Active CN106372950B (en) | 2016-09-21 | 2016-09-21 | Anti-counterfeiting authentication method for e-commerce and online shopping products |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106372950B (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107016552A (en) * | 2017-04-11 | 2017-08-04 | 刘凯斌 | A kind of authentication method of commodity transaction process |
CN109285044A (en) * | 2017-07-19 | 2019-01-29 | 发那科株式会社 | Using sales administration server system |
CN109902450A (en) * | 2019-03-14 | 2019-06-18 | 成都安恒信息技术有限公司 | A kind of offline method for permitting to sign and issue management |
CN109951427A (en) * | 2017-12-21 | 2019-06-28 | 航天信息股份有限公司 | A kind of product traceability method and system, cloud are traced to the source platform |
CN110135862A (en) * | 2019-04-26 | 2019-08-16 | 安徽美博智能电器有限公司 | Air conditioner method for identifying ID and device |
CN111831654A (en) * | 2020-06-15 | 2020-10-27 | 深圳拓邦股份有限公司 | Method and device for acquiring product data and server |
CN113691574A (en) * | 2020-05-19 | 2021-11-23 | 武汉同创元盛科技有限公司 | Comprehensive service management platform based on E-commerce transaction and implementation method thereof |
CN114757683A (en) * | 2022-03-25 | 2022-07-15 | 深圳市莱帝亚软件有限公司 | Digital certificate binding method for marketing video, corresponding terminal, system and equipment |
CN115329313A (en) * | 2022-08-09 | 2022-11-11 | 广亚铝业有限公司 | Dealer customer data management system and method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1617495A (en) * | 2004-11-26 | 2005-05-18 | 王小矿 | Anti-fake technology based on dynamic cipher |
CN101009014A (en) * | 2007-01-24 | 2007-08-01 | 华中科技大学 | Secure anti-counterfeiting method and system thereof |
CN202102500U (en) * | 2011-05-24 | 2012-01-04 | 南通纺织职业技术学院 | Digital anti-counterfeiting system based on chaotic cipher encryption |
WO2012128976A2 (en) * | 2011-03-18 | 2012-09-27 | Name Technology, Inc. | Systems and methods for anti-counterfeit authentication through communication networks |
CN105447710A (en) * | 2015-11-12 | 2016-03-30 | 东北大学 | Commodity authenticity verification system and commodity authenticity verification method based on two-dimensional barcode in e-commerce |
-
2016
- 2016-09-21 CN CN201610836561.4A patent/CN106372950B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1617495A (en) * | 2004-11-26 | 2005-05-18 | 王小矿 | Anti-fake technology based on dynamic cipher |
CN101009014A (en) * | 2007-01-24 | 2007-08-01 | 华中科技大学 | Secure anti-counterfeiting method and system thereof |
WO2012128976A2 (en) * | 2011-03-18 | 2012-09-27 | Name Technology, Inc. | Systems and methods for anti-counterfeit authentication through communication networks |
CN202102500U (en) * | 2011-05-24 | 2012-01-04 | 南通纺织职业技术学院 | Digital anti-counterfeiting system based on chaotic cipher encryption |
CN105447710A (en) * | 2015-11-12 | 2016-03-30 | 东北大学 | Commodity authenticity verification system and commodity authenticity verification method based on two-dimensional barcode in e-commerce |
Non-Patent Citations (2)
Title |
---|
SHIWENBO, ET AL: "On the security of a certificateless online/offline signcryption for internet of things", 《PEER-TO-PEER NETWORKING AND APPLICATIONS》 * |
李丛伟: "《网络零售》", 31 August 2013 * |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107016552A (en) * | 2017-04-11 | 2017-08-04 | 刘凯斌 | A kind of authentication method of commodity transaction process |
CN109285044A (en) * | 2017-07-19 | 2019-01-29 | 发那科株式会社 | Using sales administration server system |
US10740811B2 (en) | 2017-07-19 | 2020-08-11 | Fanuc Corporation | Application sales management server systems and method |
US10909597B2 (en) | 2017-07-19 | 2021-02-02 | Fanuc Corporation | Application sales management server system and method |
CN109951427A (en) * | 2017-12-21 | 2019-06-28 | 航天信息股份有限公司 | A kind of product traceability method and system, cloud are traced to the source platform |
CN109902450A (en) * | 2019-03-14 | 2019-06-18 | 成都安恒信息技术有限公司 | A kind of offline method for permitting to sign and issue management |
CN109902450B (en) * | 2019-03-14 | 2023-01-24 | 成都安恒信息技术有限公司 | Method for off-line permission issuing management |
CN110135862B (en) * | 2019-04-26 | 2022-11-18 | 安徽美博智能电器有限公司 | Air conditioner user identity identification method and device |
CN110135862A (en) * | 2019-04-26 | 2019-08-16 | 安徽美博智能电器有限公司 | Air conditioner method for identifying ID and device |
CN113691574A (en) * | 2020-05-19 | 2021-11-23 | 武汉同创元盛科技有限公司 | Comprehensive service management platform based on E-commerce transaction and implementation method thereof |
CN111831654A (en) * | 2020-06-15 | 2020-10-27 | 深圳拓邦股份有限公司 | Method and device for acquiring product data and server |
CN114757683A (en) * | 2022-03-25 | 2022-07-15 | 深圳市莱帝亚软件有限公司 | Digital certificate binding method for marketing video, corresponding terminal, system and equipment |
CN115329313A (en) * | 2022-08-09 | 2022-11-11 | 广亚铝业有限公司 | Dealer customer data management system and method |
Also Published As
Publication number | Publication date |
---|---|
CN106372950B (en) | 2020-12-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106372950B (en) | Anti-counterfeiting authentication method for e-commerce and online shopping products | |
US12021850B2 (en) | Efficient methods for authenticated communication | |
US9967090B2 (en) | Efficient methods for protecting identity in authenticated transmissions | |
US20200043001A1 (en) | Pet Food Traceability System and Method Therefor | |
Gupta et al. | Role of multiple encryption in secure electronic transaction | |
US20100153273A1 (en) | Systems for performing transactions at a point-of-sale terminal using mutating identifiers | |
US10089627B2 (en) | Cryptographic authentication and identification method using real-time encryption | |
CN104463567A (en) | Secure electronic transaction method and system | |
CN107409002A (en) | Method and apparatus of the repeatable encryption key of general certainty to expression are provided for all SKU, canister and article | |
TWI591553B (en) | Systems and methods for mobile devices to trade financial documents | |
CN109547208B (en) | Online distribution method and system for master key of financial electronic equipment | |
CN104393993A (en) | A security chip for electricity selling terminal and the realizing method | |
WO1997031321A1 (en) | Electronic commerce system | |
CN108629603B (en) | Commodity anti-counterfeiting method based on two-dimensional code | |
CN113383332A (en) | Method for ensuring the authenticity and validity of the transfer of ownership of an item | |
CN115775181A (en) | A blockchain-based fair commodity transaction privacy protection method | |
CN114240547B (en) | Steel trade transaction method, system, device and storage medium based on digital signature | |
CN114565382A (en) | Transaction account anonymous payment method and system | |
CN108304735A (en) | A kind of authorization sequence application method, system and delivery of cargo system, application server | |
TW201835825A (en) | Transaction verification method and system | |
CN110798321B (en) | Article information service method based on block chain | |
JP6874700B2 (en) | E-commerce systems, communication terminals, third-party servers, e-commerce methods, and programs | |
CN115170132B (en) | Payment method suitable for high-speed post network member system | |
KR20150025140A (en) | On-line payment system and method of payment | |
CN115758431B (en) | Resource transfer method, system, computer device and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |