IP Library Granted Patent US 10,778,447
Granted Patent B2
US 10,778,447 · App. 15/867,667 · Granted Sep 15, 2020

Method and system for safely switching between product mode and development mode of terminal

Inventors: Jinhan Lin (Fujian, CN); Yixuan Hong (Fujian, CN)
Assignee: FUJIAN LANDI COMMERCIAL EQUIPMENT CO., LTD.
H04L9/3268G06F21/123G06F21/74H04L9/0897H04L9/3226H04L9/3234
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,778,447
App. No.
15/867,667
Granted
Sep 15, 2020
Kind
B2
Abstract

The invention provides a method and system for safely switching between product mode and development mode of a terminal, aiming at addressing the problem in the prior art that the terminal in a testing development version may be accidentally circulated into the market and cause hidden safety risk. According to the invention, different Certificate Authorities (CAs) are configured for the terminal at different stages; by storing the public-private key pairs of the certificates issued by different CAs in different secure storage media, only if the secure storage medium corresponding to the current CA state of the terminal is verified to be valid, the flags of the terminal can be successfully rewritten; a safe switching between different CA states of the terminal is realized. It is ensured that the terminal in the testing development stage cannot be used normally, thereby improving the safety of the terminal device.

Claims (45)

1. A method for safely switching between product mode and development mode of a terminal, characterized by comprising:

presetting a product CA and a development CA; pre-arranging the product CA and the development CA in the terminal;

presetting flags in a FLASH inside the terminal so as to correspond to a product state and a development state respectively;

generating a product public-private key pair by a first encryptor, and generating a development public-private key pair by a second encryptor;

issuing a product certificate containing the product public key by using the product CA, and issuing a development certificate containing the development public key by using the development CA;

storing the product certificate and the product private key in a product secure storage medium, and storing the development certificate and the development private key in a development secure storage medium;

sending by a host computer a CA state switching instruction to the terminal;

sending by the terminal the current state to the host computer according to the flags;

reading by the host computer the private key and the certificate stored in one secure storage medium;

sending by the host computer the certificate to the terminal;

verifying by the terminal the validity of the certificate by using the CA corresponding to the current state so as to obtain a fifth verification result;

verifying by the terminal the validity of the private key so as to obtain a sixth verification result;

determining that said one secure storage medium corresponds to the current state of the terminal, if the results of both the fifth verification and the sixth verification are valid; and

formatting a key storage area of the terminal; and switching the terminal to another state by rewriting the flags;

wherein “sending by the terminal the current state to the host computer according to the flags” is specifically:

sending by the terminal the current state and a first random number to the host computer according to the flags.

2. The method for safely switching between product mode and development mode of a terminal according to claim 1 , wherein “issuing a product certificate containing the product public key by using the product CA, and issuing a development certificate containing the development public key by using the development CA” is specifically:

signing the product public key by using a product root private key in the product CA so as to generate a product certificate signature;

generating a product certificate containing the product public key and the product certificate signature;

signing the development public key by using a development root private key in the development CA so as to generate a development certificate signature; and

generating a development certificate containing the development public key and the development certificate signature.

3. The method for safely switching between product mode and development mode of a terminal according to claim 1 , wherein “verifying by the terminal the validity of the certificate by using the CA corresponding to the current state so as to obtain a fifth verification result; verifying by the terminal the validity of the private key so as to obtain a sixth verification result; determining that said one secure storage medium corresponds to the current state of the terminal, if the results of both the fifth verification and the sixth verification are valid” is specifically:

signing the first random number by the host computer using the private key so as to generate a signed first random number;

sending the signed first random number and the certificate to the terminal;

verifying by the terminal the certificate signature in the certificate by using the CA corresponding to the current state;

verifying the signed first random number by using the public key in the certificate, if the certificate signature in the certificate is verified to be valid;

determining that said one secure storage medium corresponds to the current state of the terminal, if the signed first random number is verified to be valid.

4. The method for safely switching between product mode and development mode of a terminal according to claim 1 , wherein before “reading by the host computer the private key and the certificate stored in one secure storage medium”, the method further includes:

presetting PIN codes corresponding to said one secure storage medium;

acquiring by terminal the input PIN codes; sending the PIN codes to said one secure storage medium;

verifying by said one secure storage medium the correctness of the PIN codes; and

performing “reading by the host computer the private key and the certificate stored in one secure storage medium”, if the PIN codes are verified to valid.

5. The method for safely switching between product mode and development mode of a terminal according to claim 2 , wherein before “reading by the host computer the private key and the certificate stored in one secure storage medium”, the method further includes:

presetting PIN codes corresponding to said one secure storage medium;

acquiring by terminal the input PIN codes; sending the PIN codes to said one secure storage medium;

verifying by said one secure storage medium the correctness of the PIN codes; and

performing “reading by the host computer the private key and the certificate stored in one secure storage medium”, if the PIN codes are verified to valid.

6. The method for safely switching between product mode and development mode of a terminal according to claim 3 , wherein before “reading by the host computer the private key and the certificate stored in one secure storage medium”, the method further includes:

presetting PIN codes corresponding to said one secure storage medium;

acquiring by terminal the input PIN codes; sending the PIN codes to said one secure storage medium;

verifying by said one secure storage medium the correctness of the PIN codes; and

performing “reading by the host computer the private key and the certificate stored in one secure storage medium”, if the PIN codes are verified to valid.

7. The method for safely switching between product mode and development mode of a terminal according to claim 1 , wherein the “secure storage medium” is an IC card or U-Key.

8. The method for safely switching between product mode and development mode of a terminal according to claim 2 , wherein the “secure storage medium” is an IC card or U-Key.

9. The method for safely switching between product mode and development mode of a terminal according to claim 3 , wherein the “secure storage medium” is an IC card or U-Key.

Assignments (3)
CHANGE OF NAME Recorded Aug 18, 2023
From: FUJIAN LANDI COMMERCIAL TECHNOLOGY CO., LTD.
To: INGENICO (FUJIAN) TECHNOLOGY CO., LTD.
Reel/Frame 064645/0388 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 23, 2022
From: FUJIAN LANDI COMMERCIAL EQUIPMENT CO., LTD.
To: FUJIAN LANDI COMMERCIAL TECHNOLOGY CO., LTD.
Reel/Frame 062195/0483 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 11, 2018
From: LIN, JINHAN; HONG, YIXUAN
To: FUJIAN LANDI COMMERCIAL EQUIPMENT CO., LTD.
Reel/Frame 044591/0192 →
Priority Claims (1)
CN 2015 1 0417560 · Jul 16, 2015 · national
Continuity (2)
Continuation PCTCN2016089765 · Jul 12, 2016
Related Publication 20180139060A1 · May 17, 2018