CN103268459A - Electronic device with secure character library, and electronic equipment with electronic device - Google Patents

Electronic device with secure character library, and electronic equipment with electronic device Download PDF

Info

Publication number
CN103268459A
CN103268459A CN2013101532487A CN201310153248A CN103268459A CN 103268459 A CN103268459 A CN 103268459A CN 2013101532487 A CN2013101532487 A CN 2013101532487A CN 201310153248 A CN201310153248 A CN 201310153248A CN 103268459 A CN103268459 A CN 103268459A
Authority
CN
China
Prior art keywords
character
type matrix
played
control chip
chip
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.)
Pending
Application number
CN2013101532487A
Other languages
Chinese (zh)
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.)
Tendyron Technology Co Ltd
Original Assignee
Tendyron 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 Tendyron Technology Co Ltd filed Critical Tendyron Technology Co Ltd
Priority to CN2013101532487A priority Critical patent/CN103268459A/en
Publication of CN103268459A publication Critical patent/CN103268459A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention provides an electronic device with secure character library, and electronic equipment with the electronic device. The electronic device comprises a storage chip and control chip coupled to the storage chip. The storage chip stores a character library including character patterns. The control chip stores a check code table including first check codes obtained by calculating all character patterns. According to a received command, the control chip calculates a second check code of one character pattern corresponding to the character to be played; and when the second check code matches with the first check code of the character pattern corresponding to the stored character to be played, the character pattern corresponding to the character to be played is output. Through the electronic device and the electronic equipment, even if data of the character library are tampered, no tampered character is played and the correct characters to be played can be played; and correctness of the characters to be played is guaranteed.

Description

The electronic installation and the electronic equipment that has this electronic installation that have safe word stock
Technical field
The present invention relates to a kind of technical field of electronic products, relate in particular to a kind of electronic equipment that has the electronic installation of safe word stock and have this electronic installation.
Background technology
At present, the electronic equipment that people use is very many, as: computer, game machine, telephone set, mobile phone, MP3 or MP4 player, electric signing tools (are also referred to as Electronics Cryptographic Keys, Key), dynamic password token etc.These electronic equipments often all can be stored character library, in order to carry out the broadcast of character, character can comprise literal, letter or symbol etc., play to refer to show and/or speech play.
And the process chip of existing electronic equipment limited storage space often, can't store more full character library, in order to address this problem the external big capacity memory chips of process chip meeting of general electronic equipment, in order to store more full character library, the assurance electronic equipment can be play more fully character.
But the external storer of process chip is distorted easily, in case and the character library of storing in the storer is distorted, the character that then may cause the character play and real needs to be play is different, especially at information security field, if the character library of electronic equipment is distorted, will cause potential safety hazard.For example: in case the character library of certain user's electric signing tools is distorted, the Payment Amount that electric signing tools is play in process of exchange and the other side's number of the account then may be distorted, the information that causes electric signing tools to be play like this is not to be real Transaction Information, at this moment, the user is in case the affirmation transaction then can bring loss to the user.
Summary of the invention
The purpose of this invention is to provide a kind of electronic equipment that has the electronic installation of safe word stock and have this electronic installation, even its data that can guarantee character library are distorted, can not play the character of being distorted yet, and do not have under the situation of distorting in character library, just export the data in the character library, in order to play correct character to be played, guaranteed the correctness of character to be played.
The objective of the invention is to be achieved through the following technical solutions:
One aspect of the present invention provides a kind of electronic installation that has safe word stock, and this device comprises: storage chip, with the control chip of described storage chip coupling; Described memory chip stores has the character library that comprises type matrix; Described control chip stores the verification code table, and described verification code table comprises first check code that each described type matrix is calculated acquisition; Described control chip calculates second check code of the type matrix of character correspondence to be played according to the instruction that receives, and when first check code of the corresponding type matrix of described second check code and the character described to be played of storage is identical, exports the type matrix of character correspondence to be played.
In addition, this device also comprises: respectively with the compute chip of storage chip and control chip coupling; Described compute chip is calculated each type matrix in the described character library and is obtained described verification code table, and described verification code table is write described control chip.
In addition, described control chip calculates each type matrix in the described character library and obtains described verification code table, and described verification code table is preserved.
The present invention also provides a kind of electronic equipment on the other hand, and this electronic equipment comprises the aforesaid electronic installation that has safe word stock.
In addition, this equipment also comprises and the described playing device that has the electronic installation coupling of safe word stock; Described playing device receives the type matrix of the character correspondence to be played of described control chip output, plays described type matrix corresponding characters.
In addition, described playing device comprises display screen and/or loudspeaker.
In addition, described electronic equipment is electric signing tools or dynamic password token.
By technique scheme as can be seen, a kind of electronic equipment that has the electronic installation of safe word stock and have this electronic installation that the embodiment of the invention provides, whether the check code of the type matrix that extracts by checking is consistent with the check code in the verification code table of storage, verify whether type matrix is distorted, have only when checking is consistent again, just export the data in the character library, in order to play correct character to be played, guaranteed the correctness of character to be played, even guaranteed that further the data of character library are distorted, also can not play the character of being distorted.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite of not paying creative work, can also obtain other accompanying drawings according to these accompanying drawings.
The structural representation of the electronic installation that has safe word stock that Fig. 1 provides for the embodiment of the invention 1;
Another structural representation of the electronic installation that has safe word stock that Fig. 2 provides for the embodiment of the invention 1;
The structural representation of the electronic equipment that Fig. 3 provides for the embodiment of the invention 1.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on embodiments of the invention, those of ordinary skills belong to protection scope of the present invention not making the every other embodiment that obtains under the creative work prerequisite.
In description of the invention, it will be appreciated that, term " " center "; " vertically "; " laterally "; " on "; D score; " preceding ", " back ", " left side ", " right side ", " vertically ", " level ", " top ", " end ", " interior ", close the orientation of indications such as " outward " or position is based on orientation shown in the drawings or position relation, only be that the present invention for convenience of description and simplification are described, rather than device or the element of indication or hint indication must have specific orientation, with specific orientation structure and operation, therefore can not be interpreted as limitation of the present invention.In addition, term " first ", " second " only are used for describing purpose, and can not be interpreted as indication or hint relative importance or quantity or position.
In description of the invention, need to prove that unless clear and definite regulation and restriction are arranged in addition, term " installation ", " linking to each other ", " connection " should be done broad understanding, for example, can be fixedly connected, also can be to removably connect, or connect integratedly; Can be mechanical connection, also can be to be electrically connected; Can be directly to link to each other, also can link to each other indirectly by intermediary, can be the connection of two element internals.For the ordinary skill in the art, can concrete condition understand above-mentioned term concrete implication in the present invention.
Below in conjunction with accompanying drawing the embodiment of the invention is described in further detail.
Embodiment 1
Fig. 1 has shown the structural representation of the electronic installation that has safe word stock, and referring to Fig. 1, this electronic installation comprises: storage chip, with the control chip of storage chip coupling.Wherein, need to prove that coupling comprises direct connection and be connected indirectly that connection is included under the prerequisite of the know-why that does not influence the technical program indirectly, can also connect indirectly by other devices or circuit between the main body both sides of connection.
Wherein, memory chip stores has the character library that comprises type matrix.
Concrete, storage chip is stored character library in advance, comprises the type matrix of character correspondence in the character library, and wherein, character is literal, letter, numbers and symbols etc.Character library can comprise: character set such as GB2312, GB13000, GBK, GB18030-2000, GB18030-2005, UNICODE, BIG5.
Storage chip can adopt spi-flash chip etc.
Control chip stores the verification code table, and the verification code table comprises first check code that each type matrix is calculated acquisition.
Concrete, control chip is stored the verification code table in advance, the storage the verification code table in each first check code respectively with character library in each type matrix corresponding one by one, for example: when the character set in the character library of storage was GB2312, each first check code was corresponding one by one with each type matrix among the GB2312 in the verification code table of storage.That is, can find first check code corresponding with type matrix by the identical mode of searching.
Control chip can be stored the verification code table in the following way:
(1) control chip calculates each type matrix in the character library and obtains the verification code table, and the verification code table is preserved; Calculate by this kind mode, saved chip, reduced cost.
(2) referring to Fig. 2, control chip and compute chip coupling, wherein, compute chip is calculated each type matrix in the character library and is obtained the verification code table, and the verification code table is write control chip; Calculate by this kind mode, improved operation efficiency.
(3) Wai Bu write device (namely producing the equipment that has the electronic installation of safe word stock of the present invention) calculates each type matrix in the character library and obtains the verification code table, and the verification code table is write control chip; Calculate by this kind mode, not only save cost but also improved operation efficiency.
Control chip can adopt safety chip in the electric signing tools or the chips such as process chip in the dynamic password token.
Control chip calculates second check code of the type matrix of character correspondence to be played according to the instruction that receives, and when first check code of the corresponding type matrix of second check code and the character to be played of storage is identical, exports the type matrix of character correspondence to be played.
Concrete; control chip for example, is pressed the instruction of the affirmation button transmission of electric signing tools according to the play instruction that receives by the user; extract the type matrix of the character correspondence to be played in the storage chip; calculate this type matrix and obtain second check code, and judge whether first check code of second check code and storage is consistent, when inconsistent; the alert users type matrix is distorted; do not carry out post-treatment operations, when unanimity, export the type matrix of character correspondence to be played.
As seen from the above technical solution provided by the invention, a kind of electronic equipment that has the electronic installation of safe word stock and have this electronic installation that the embodiment of the invention provides, whether the check code of the type matrix that extracts by checking is consistent with the check code in the verification code table of storage, verify whether type matrix is distorted, have only when checking is consistent again, just export the data in the character library, in order to play correct character to be played, guaranteed the correctness of character to be played, even guaranteed that further the data of character library are distorted, also can not play the character of being distorted.
Wherein, because there is the risk that may be distorted in the data (type matrix) of storing in the storage chip, and control chip is generally read-only form, the verification code table of its storage can't be distorted, therefore, can identify the correctness of the type matrix of storing in the storage chip by the verification code table, thereby guarantee the correctness of character to be played.
Above-described each type matrix in the character library calculated first check code of acquisition and the type matrix of character correspondence to be played calculated second check code that obtains can adopt following any to calculate:
(1) cryptographic algorithm: DES, 3DES or AES;
(2) MAC algorithm:
Symmetry MAC algorithm: DES-CBC, 3DES-CBC, AES-CBC;
HASH algorithm: MD5, SHA1;
Hmac algorithm: HMAC-MD5, HMAC-SHA1.
Type matrix is calculated when obtaining verification code table and second check code, if the value that calculates is long, can select the wherein part of the value that calculates as check code.For example, the present invention can adopt 3-6 byte in the value of selecting to calculate as check code, in order to taking up room of verification code table diminished.Preferably, select 4 bytes as check code, both can guarantee that the repetition rate of coding is low, it is little to guarantee again to take up room.For example: the value that calculates is the 1234567890123456(16 system), can choose wherein 4 bytes as check code, for example: the 12345678(16 system) or the 90123456(16 system) etc.
Present embodiment also provides a kind of electronic equipment, and referring to Fig. 3, this electronic equipment comprises: have the electronic installation of safe word stock, and with the playing device of the electronic installation coupling that has safe word stock.
Wherein, playing device receives the type matrix of the character correspondence to be played of control chip output, plays the type matrix corresponding characters.
This playing device can comprise display screen or loudspeaker, can know correct character to be played by showing character or speech play character to guarantee the user.
The type matrix of the correct character correspondence to be played by electronic installation output, what can guarantee that playing device plays is correct character, has guaranteed correctness.And each electronic equipment that present embodiment provides all can adopt different account forms to obtain the verification code table, guarantees that each electronic equipment is different verification code tables, has further improved the security of the system of electronic equipment composition.
The electronic equipment that present embodiment provides can be arbitrary electronic equipments such as electric signing tools or dynamic password token.
Embodiment 2
The difference of present embodiment and embodiment 1 is that in the present embodiment, the character library of memory chip stores comprises the type matrix after the encryption, namely forms character library by the type matrix of encrypting, and the type matrix of encrypting is calculated the acquisition checklist.
The type matrix that control chip extract to be encrypted calculates second check code, and compares with storage first check code, and the consistent then correct type matrix of type matrix acquisition of enabling decryption of encrypted is in order to export the character to be played of correct type matrix correspondence.Prevented that further type matrix from being distorted, thus the further correct broadcast that has guaranteed character.
In the description of this instructions, concrete feature, structure, material or characteristics that the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means in conjunction with this embodiment or example description are contained at least one embodiment of the present invention or the example.In this manual, the schematic statement to above-mentioned term not necessarily refers to identical embodiment or example.And concrete feature, structure, material or the characteristics of description can be with the suitable manner combination in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, those having ordinary skill in the art will appreciate that: can carry out multiple variation, modification, replacement and modification to these embodiment under the situation that does not break away from principle of the present invention and aim, scope of the present invention is by claim and be equal to and limit.

Claims (7)

1. an electronic installation that has safe word stock is characterized in that, this device comprises: storage chip, with the control chip of described storage chip coupling;
Described memory chip stores has the character library that comprises type matrix;
Described control chip stores the verification code table, and described verification code table comprises first check code that each described type matrix is calculated acquisition;
Described control chip calculates second check code of the type matrix of character correspondence to be played according to the instruction that receives, and when first check code of the corresponding type matrix of described second check code and the character described to be played of storage is identical, exports the type matrix of character correspondence to be played.
2. electronic installation according to claim 1 is characterized in that, this device also comprises: respectively with the compute chip of storage chip and control chip coupling;
Described compute chip is calculated each type matrix in the described character library and is obtained described verification code table, and described verification code table is write described control chip.
3. electronic installation according to claim 1 is characterized in that,
Described control chip calculates each type matrix in the described character library and obtains described verification code table, and described verification code table is preserved.
4. an electronic equipment is characterized in that, this electronic equipment comprises the arbitrary described electronic installation that has safe word stock of aforementioned claim 1 to 3.
5. electronic equipment according to claim 4 is characterized in that, this equipment also comprises and the described playing device that has the electronic installation coupling of safe word stock;
Described playing device receives the type matrix of the character correspondence to be played of described control chip output, plays described type matrix corresponding characters.
6. electronic equipment according to claim 5 is characterized in that, described playing device comprises display screen and/or loudspeaker.
7. according to each described electronic equipment of claim 4 to 6, it is characterized in that described electronic equipment is electric signing tools or dynamic password token.
CN2013101532487A 2012-08-01 2013-04-27 Electronic device with secure character library, and electronic equipment with electronic device Pending CN103268459A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013101532487A CN103268459A (en) 2012-08-01 2013-04-27 Electronic device with secure character library, and electronic equipment with electronic device

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201220378959 2012-08-01
CN201220378959.5 2012-08-01
CN2013101532487A CN103268459A (en) 2012-08-01 2013-04-27 Electronic device with secure character library, and electronic equipment with electronic device

Publications (1)

Publication Number Publication Date
CN103268459A true CN103268459A (en) 2013-08-28

Family

ID=49012087

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013101532487A Pending CN103268459A (en) 2012-08-01 2013-04-27 Electronic device with secure character library, and electronic equipment with electronic device

Country Status (1)

Country Link
CN (1) CN103268459A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105843782A (en) * 2016-03-21 2016-08-10 上海林果实业股份有限公司 Font library storage apparatus and method
CN106919857A (en) * 2015-12-28 2017-07-04 上海新微技术研发中心有限公司 Chip, and starting protection device and method of chip
CN108804066A (en) * 2018-06-11 2018-11-13 深圳市琥蜂科技有限公司 The display methods and computer readable storage medium of screen display character

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887713A (en) * 2009-05-13 2010-11-17 深圳市文鼎创数据科技有限公司 Encryption method and device for font library
CN102609648A (en) * 2012-02-02 2012-07-25 深圳市文鼎创数据科技有限公司 Method and device for using word stock safely

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101887713A (en) * 2009-05-13 2010-11-17 深圳市文鼎创数据科技有限公司 Encryption method and device for font library
CN102609648A (en) * 2012-02-02 2012-07-25 深圳市文鼎创数据科技有限公司 Method and device for using word stock safely

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919857A (en) * 2015-12-28 2017-07-04 上海新微技术研发中心有限公司 Chip, and starting protection device and method of chip
CN106919857B (en) * 2015-12-28 2019-11-12 上海新微技术研发中心有限公司 Chip, and starting protection device and method of chip
CN105843782A (en) * 2016-03-21 2016-08-10 上海林果实业股份有限公司 Font library storage apparatus and method
CN108804066A (en) * 2018-06-11 2018-11-13 深圳市琥蜂科技有限公司 The display methods and computer readable storage medium of screen display character

Similar Documents

Publication Publication Date Title
CN105827655B (en) A kind of intelligent cipher key equipment and its working method
CN105144626B (en) The method and apparatus of safety is provided
CN107077670B (en) Method and apparatus for transmitting and processing transaction message, computer readable storage medium
CN102567680B (en) Unlocking method and device
CN103220280A (en) Dynamic password token and data transmission method and system for dynamic password token
CN108629206B (en) Secure encryption method, encryption machine and terminal equipment
US20120054498A1 (en) System and method for managing secure information within a hybrid portable computing device
CN104657630A (en) Integrated circuit provisioning using physical unclonable function
CN104732159B (en) A kind of document handling method and device
JP2008022074A (en) Data authentication method and data authentication system
CN103248491A (en) Method and system for backing up electronic signed token private key
CN107273150B (en) Preloading firmware downloading and writing method and device
CN103116847A (en) Intelligent card with electronic signature function, and system and method for intelligent card transactions
CN102637422B (en) Matrix obtaining method, character display device and system and electronic signature tool
CN103268459A (en) Electronic device with secure character library, and electronic equipment with electronic device
CN102663297A (en) Font acquiring method, character displaying device, character displaying system and electronic signature tool
CN102685121B (en) A kind of digital signature method and device
US9277403B2 (en) Authentication method and device
CN103370718B (en) Use the data guard method of distributed security key, equipment and system
CN104282098A (en) Invoicing and tax copying process upgrading method of tax control device
CN102819708B (en) A kind of type matrix acquisition methods and device, electronic equipment
CN105005733A (en) Character display method, character display system and intelligent secret key equipment
CN105120066A (en) Method and system for safely switching terminal product mode and development mode
CN103020538B (en) A kind of terminal data protection method and terminal
CN103136667A (en) Smart card with electronic signature function, smart card trading system and smart card trading method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130828