CN112583581A - Data reading device, system and data reading method - Google Patents

Data reading device, system and data reading method Download PDF

Info

Publication number
CN112583581A
CN112583581A CN201910936928.3A CN201910936928A CN112583581A CN 112583581 A CN112583581 A CN 112583581A CN 201910936928 A CN201910936928 A CN 201910936928A CN 112583581 A CN112583581 A CN 112583581A
Authority
CN
China
Prior art keywords
data
signal
random number
receiving
reading
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
CN201910936928.3A
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.)
Hangzhou C Sky Microsystems Co Ltd
Original Assignee
Hangzhou C Sky Microsystems 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 Hangzhou C Sky Microsystems Co Ltd filed Critical Hangzhou C Sky Microsystems Co Ltd
Priority to CN201910936928.3A priority Critical patent/CN112583581A/en
Publication of CN112583581A publication Critical patent/CN112583581A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • H04L9/0827Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) involving distinctive intermediate devices or communication paths
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/606Protecting data by securing the transmission between two devices or processes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0894Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage
    • H04L9/0897Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage involving additional devices, e.g. trusted platform module [TPM], smartcard or USB

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Storage Device Security (AREA)

Abstract

The invention discloses a data reading device, a data reading system and a data reading method. Wherein, data reading device includes: the device comprises an indication signal receiving interface, a data caching unit and an indication signal generating unit. The indication signal receiving interface is suitable for receiving a data generation signal, and when a data generation device coupled to the data reading device generates data, the data generation signal indicates an enabling state. The data receiving interface is suitable for reading data from the data generating device when the data generating signal indicates an enabling state. The data buffer unit buffers the read data from the data generating device. The indication signal generating unit generates a data valid signal after reading the data so as to transmit the data valid signal and the buffered data, so that the buffered data is acquired when a data receiving device coupled to the data reading device receives the data valid signal. The invention also discloses a corresponding system on chip.

Description

Data reading device, system and data reading method
Technical Field
The present invention relates to the field of data reading technologies, and in particular, to a data reading apparatus, a data reading system, and a data reading method.
Background
Today, information security is more and more emphasized by many countries and industries due to the rapid development of informatization. Modern cryptographic techniques have also gained rapid development in the fields of online shopping, financial securities, government, military countermeasures, and the like. Among them, the common encryption and decryption algorithms are mostly implemented based on a secret key. And the key may be generated by a random number generator.
Generally, after a random number generated by a random number generator, a software program is executed by a CPU, the random number is read by way of a bus, and the read random number is output to a component (e.g., an encryption/decryption component) that needs to use the random number. However, this processing method has a safety hazard because the software program can obtain the value of the random number.
Therefore, a new data reading scheme is needed, and the potential safety hazard caused by software intervention can be solved.
Disclosure of Invention
To this end, the present invention provides a data reading apparatus, system and data reading method in an attempt to solve or at least alleviate at least one of the problems identified above.
According to an aspect of the present invention, there is provided a data reading apparatus including: an indication signal receiving interface adapted to receive a data generation signal, wherein the data generation signal indicates an enable state when a data generation device coupled to the data reading device generates data; a data receiving interface adapted to read data from the data generating device when the data generating signal indicates an enable state; the data caching unit is suitable for caching the read data from the data generation device; and the indication signal generating unit is suitable for generating a data valid signal after reading the data so as to send the data valid signal and the buffered data, so that the buffered data can be acquired when a data receiving device coupled to the data reading device receives the data valid signal.
Optionally, the data reading apparatus according to the present invention further includes: and the data request interface is suitable for sending a data request signal to the data generation device when the data generation signal indicates the enabling state, so that the data receiving interface can read the data generated by the data generation device.
Optionally, the data reading apparatus according to the present invention further includes: the first output interface is suitable for sending a data effective signal to the data receiving device after the data are read; a second output interface adapted to output the buffered data to a data receiving device; and an acknowledgement signal receiving interface adapted to receive an acknowledgement signal from the data receiving device, the acknowledgement signal indicating that the data receiving device completed data reception.
Optionally, in the data reading apparatus according to the present invention, the indication signal receiving interface, the data request interface, the first output interface, the second output interface, and the confirmation signal receiving interface are further adapted to perform an operation according to a clock signal.
Optionally, the data reading apparatus according to the present invention further includes: a clock signal interface adapted to receive a clock signal; a reset signal interface adapted to receive a reset signal.
Alternatively, in the data reading device according to the present invention, the read data generating device generates a random number, and the data generating device is a random number generating device.
According to still another aspect of the present invention, there is provided a data reading system including: the data generating device is suitable for generating data and enabling the data generating signal to indicate an enabling state when the data are generated; the data reading device is suitable for reading the data generated by the data generating device and outputting the read data to the data receiving device when the data generating signal indicates the enabling state; and a data receiving means adapted to receive data from the data reading means.
Alternatively, in the data reading system according to the present invention, the data generating means is further adapted to output the generated data to the data reading means upon receiving a data request signal from the data reading means.
Alternatively, in a data reading system according to the present invention, the data generating means includes: a data generation unit adapted to generate data; an indication signal output interface adapted to output a data generation signal when data is generated, wherein the data generation signal indicates an enable state; a signal reading interface adapted to receive a data request signal from a data reading device; and a data output interface adapted to output the generated data to a data reading device.
Alternatively, in a data reading system according to the present invention, the data receiving device includes: a first input interface adapted to receive a data valid signal from a data reading device; a second input interface adapted to receive data from a data reading device; the indication output interface is suitable for outputting a confirmation signal to the data reading device when the data is received; and the data application unit is suitable for processing the received data.
Alternatively, in the data reading system according to the present invention, the data generating means is random number generating means adapted to generate a random number; the data reading means is adapted to read the generated random number from the data generating means and output it to the data receiving means.
According to still another aspect of the present invention, there is provided a data reading system including: the data generating device is suitable for generating data and enabling the data generating signal to indicate an enabling state when the data are generated; and the data receiving device is suitable for reading the data generated by the data generating device when the data generating signal indicates an enabling state.
Alternatively, in a data reading system according to the present invention, the data receiving device includes: the data reading device is suitable for requesting data from the data generating device when the data generating signal indicates an enabling state, and is also suitable for outputting the read data to the data using module; and the data application unit is suitable for receiving the data from the data reading device and outputting a confirmation signal to the data reading device when the data is received.
Alternatively, in the data reading system according to the present invention, the data generating means is adapted to generate a random number; the data receiving means is adapted to read the generated random number from the data generating means.
According to still another aspect of the present invention, there is provided a random number reading method including the steps of: transmitting a random number request signal to the random number generating apparatus upon confirming that the received random number generation signal indicates an enable state; reading a random number from a random number generating device; and transmitting the read random number to a random number receiving apparatus.
Optionally, in the data reading method according to the present invention, before the step of transmitting the read random number to the random number receiving apparatus, further comprising the steps of: and generating a random number effective signal and sending the random number effective signal to the random number receiving device.
Optionally, in the data reading method according to the present invention, after the step of transmitting the read random number to the random number receiving apparatus, further comprising the steps of: an acknowledgement signal is received from the random number receiving apparatus, the acknowledgement signal indicating that the random number receiving apparatus completed receiving the random number.
According to yet another aspect of the invention, a system on chip is provided, comprising a data reading system according to the invention.
According to yet another aspect of the invention, there is provided a smart device comprising a system on a chip as described above.
According to the scheme of the invention, the data reading device is respectively coupled with the data generating device and the data receiving device, and the corresponding data transmission interfaces are arranged on the data reading device, so that the data reading device respectively performs data transmission with the data generating device and the data receiving device through the data transmission interfaces. Therefore, data is read in a hardware mode without software intervention, potential data safety hazards caused by software intervention are effectively solved, and the method has good safety. In addition, only a corresponding data transmission interface needs to be added, and the added hardware resources are simple, low in cost and good in usability.
Drawings
To the accomplishment of the foregoing and related ends, certain illustrative aspects are described herein in connection with the following description and the annexed drawings, which are indicative of various ways in which the principles disclosed herein may be practiced, and all aspects and equivalents thereof are intended to be within the scope of the claimed subject matter. The above and other objects, features and advantages of the present disclosure will become more apparent from the following detailed description read in conjunction with the accompanying drawings. Throughout this disclosure, like reference numerals generally refer to like parts or elements.
FIG. 1 shows a schematic diagram of a data reading system 100a according to one embodiment of the present invention;
FIG. 2 shows a schematic diagram of a data reading system 100b according to another embodiment of the invention;
FIG. 3 shows a timing diagram of a data read process according to one embodiment of the invention;
FIG. 4 shows a schematic diagram of a data reading system 100c according to yet another embodiment of the invention;
FIG. 5 shows a flow diagram of a random number reading method 500 according to one embodiment of the invention; and
FIG. 6 shows a schematic diagram of a system on chip 600 according to yet another embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
FIG. 1 shows a schematic diagram of a data reading system 100a according to one embodiment of the present invention. As shown in fig. 1, the data reading system 100a includes a data generating device 110, a data reading device 120 and a data receiving device 130. The data reading device 120 is coupled to the data generating device 110 and the data receiving device 130, respectively. In general, the data generating device 110 is primarily responsible for generating data. The data reading device 120 reads the data generated by the data generating device 110 and outputs the read data to the data receiving device 130.
According to an embodiment of the present invention, the data generating device 110 may automatically generate data after a period of time after being powered on. Meanwhile, after the data is generated, the data generating device 110 further causes the data generating signal to indicate the enable state. Alternatively, when the data is generated, the data generating device 110 will set the data generating signal from low level to high level to indicate the enabled state.
In some embodiments, the data generating device 110 buffers the generated data in an internal memory, such as a FIFO (First Input First Output) memory, when generating the data, so that the data reading device 120 reads the data from the internal memory of the data generating device 110 after acquiring the data generation signal indicating the enable state.
According to an embodiment of the present invention, when the data generation signal received by the data reading device 120 is high, indicating that the data generation signal indicates the enable state, the data reading device 120 reads the data generated by the data generation device 110. For example, in one implementation scenario, the data reading device 120 receives the inverted data generating signal, that is, when the data generating signal received by the data reading device 120 is low, the data generating signal indicates the enable state.
The data receiving device 130 receives data from the data reading device 120. When the data from the data reading device 120 is received, the data receiving device 130 outputs an acknowledgement signal to the data reading device 120.
According to one embodiment, the data generating means 110 may be used to generate random numbers. The data reading means 120 reads the random number from the data generating means 110 and outputs it to the data receiving means 130. Thus, the data generating device 110 may be a random number generator, and the data receiving device 130 may be any component that applies random numbers, such as an encryption/decryption component, and the like, without being limited thereto.
To further illustrate the operating principle of the data reading system, fig. 2 shows a schematic diagram of a data reading system 100b according to another embodiment of the present invention. The data reading system 100b shown in fig. 2 is further described with respect to the data reading system 100a shown in fig. 1, and therefore, in fig. 2, the same or similar components as those in fig. 1 are denoted by the same reference numerals and are not repeated.
As shown in fig. 2, the data reading system 100b includes a data generating device 110, a data reading device 120 and a data receiving device 130.
According to one embodiment of the present invention, the data generating apparatus 110 includes a data generating unit 112, an indication signal output interface 114, a data output interface 116, and a signal reading interface 118. The data generation unit 112 is responsible for generating data. The data generating device 110 is coupled to the data reading device 120 through the 3 interfaces, so as to implement data communication.
In one embodiment, the command signal output interface 114 outputs a data generating signal when generating data, where the data generating signal indicates an enable state. Then, when the signal reading interface 118 receives a data request signal from the data reading device 120, the data output interface 116 outputs the generated data to the data reading device 120.
As shown in fig. 2, the data reading device 120 at least includes: an indication signal receiving interface 121, a data receiving interface 122, a data buffer unit 123, and an indication signal generating unit 124.
The indication signal receiving interface 121 receives the data generating signal from the data generating device 110, and as mentioned above, the data generating signal indicates the enable state when the data generating device 110 generates the data. Upon receiving the data generation signal (indicating the enable state), the data receiving interface 122 reads data from the data generation apparatus 110. The data buffer unit 123 buffers the read data from the data generating apparatus 110. After reading the data, the indication signal generating unit 126 generates a data valid signal so that the data receiving device 130 coupled to the data reading device 120 acquires the buffered data when receiving the data valid signal.
Further, in other embodiments, the data reading apparatus 120 further includes: a data request interface 125, a first output interface 126, a second output interface 127, and an acknowledgement signal receiving interface 128.
The instruction signal receiving interface 121 receives a data generation signal from the data generation device 110. When the data generation signal indicates the enabled state, the data request interface 125 sends a data request signal to the data generation apparatus 110 coupled thereto. When the data generating device 110 receives the data request signal, the generated data is output through the data output interface 116, and the data output by the data generating device 110 is read by the data receiving interface 122. After reading the data, the first output interface 126 sends a data valid signal to the data receiving device 130; meanwhile, the second output interface 127 outputs the buffered data to the data receiving apparatus 130. Finally, the acknowledgement signal receiving interface 128 receives an acknowledgement signal sent from the data receiving device 130, which indicates that the data receiving device 130 has completed data reception. When the acknowledge signal reception interface 128 receives the acknowledge signal, one data read is ended.
In still other embodiments, the above interfaces, including the indication signal receiving interface 121, the data receiving interface 122, the data requesting interface 125, the first output interface 126, the second output interface 127 and the confirmation signal receiving interface 128, may also perform operations according to a clock signal. At this time, the data reading apparatus 120 further includes a clock signal interface 129, and a reset signal interface 1210.
The clock signal interface 129 is used for receiving a clock signal. The clock signal is used to determine when the status in the data reading device 120 is updated. The reset signal interface 1210 is used to receive a reset signal. Generally, the data reading device 120 maintains the low level for a period of time when it is just powered on, and then maintains the high level for the whole duty cycle.
In some embodiments, the reset signal is initialized when a valid edge of the clock signal arrives, without limitation.
According to an embodiment of the present invention, the data receiving apparatus 130 includes: a first input interface 132, a second input interface 134 and an output interface 136, and a data application unit 138.
Through these 3 interfaces, the data receiving device 130 performs data communication with the data reading device 120. In one embodiment, the first input interface 132 receives a data valid signal from the data reading device 120, and the second input interface 134 receives data from the data reading device 120. When the data reception is completed, the output interface 136 outputs an acknowledgement signal to the data reading apparatus 120.
The data application unit 138 processes the received data. For example, in some scenarios of random number application, the data application unit 138 may encrypt, decrypt, etc. the received random number.
In summary, in fig. 2, the indication signal output interface 114 of the data generating apparatus 110 is coupled to the indication signal receiving interface 121 of the data reading apparatus 120 for transmitting the data generating signal. The data output interface 116 of the data generating device 110 is coupled to the data receiving interface 122 of the data reading device 120 for transmitting the generated data. The signal reading interface 118 of the data generating device 110 is coupled to the data request interface 125 of the data reading device 120 for transmitting the data request signal.
Similarly, the first output interface 126 of the data reading apparatus 120 is coupled to the first input interface 132 of the data receiving apparatus 130 for transmitting the data valid signal. The second output interface 127 of the data reading apparatus 120 is coupled to the second input interface 134 of the data receiving apparatus 130 for transmitting the data generated by the data generating apparatus 110. The acknowledgement signal receiving interface 128 of the data reading apparatus 120 is coupled to the output interface 136 of the data receiving apparatus 130 for transmitting an acknowledgement signal.
As previously described, in the data reading system 100b, the data generation device 110 may be used to generate random numbers. The data reading means 120 reads the generated random number from the data generating means 110 and outputs it to the data receiving means 130. Thus, the data generating device 110 may be a random number generator, and the data receiving device 130 may be any component to which random numbers are applied, without being limited thereto.
According to the data reading system provided by the embodiment of the invention, the data reading device is arranged to respectively carry out data transmission with the data generating device and the data receiving device, so that the data is read in a hardware mode without software intervention. And only a plurality of data transmission interfaces are needed to be added, and the added hardware resources are simple, low in cost, and good in safety and usability.
FIG. 3 shows a timing diagram of a data read process according to one embodiment of the invention. The data reading process of the data reading system will be described in detail below with reference to fig. 2 and 3.
As shown in fig. 3, the reset signal is active high, and initially goes low (e.g., in clock cycle 1 and clock cycle 2 of fig. 3) and goes high at a certain time (e.g., in clock cycle 3 to clock cycle 16 of fig. 3). In clock cycle 3, the rising edge of the clock signal triggers the signal, and the data reading device 120 enters an operating state.
After the data generating device 110 generates the data, the data generating signal indicates the enable state.
The data reading device 120 sends a data request signal to the data generation device 110 after receiving the data generation signal indicating the enable status. The data generating device 110, upon receiving the data request signal, transmits data (data 1 as shown in fig. 3) to the data reading device 120 through the data output interface.
After reading the data, the data reading device 120 sends a data valid signal to the data receiving device 130, and outputs the data (e.g., data 2 shown in fig. 3) to the data receiving device 130 through the second output interface.
The data receiving module 130 receives the data after receiving the data valid signal, and sends a confirmation signal to the data reading module 120 to indicate that the data has been received.
At this point, a data read operation is completed.
According to the data reading system provided by the embodiment of the invention, the data reading device is constructed to carry out data communication with the data generating device (such as a random number generator) and the data receiving device (such as an encryption and decryption component), the whole data reading process is automatically completed by hardware, and the safety of data reading can be well ensured without any participation of software.
In addition, according to other embodiments of the present invention, the data receiving device may also directly send the data reading request in a hardware manner, without going through the data reading module. Referring to FIG. 4, a schematic diagram of a data reading system 100c is shown, in accordance with another embodiment of the present invention. It should be noted that the data reading system 100c shown in fig. 4 is further described in the data reading system 100a shown in fig. 1 and the data reading system 100b shown in fig. 2, and therefore in fig. 4, the same or similar components as those in fig. 1 (or fig. 2) are denoted by the same reference numerals and are not repeated.
The data reading system 100c includes a data generating device 110 and a data receiving device 130. The data generating device 110 generates data and enables the data generating signal to indicate an enable state when the data is generated. The data receiving device 130 reads the data generated by the data generating device 110 when the data generating signal indicates the enable state.
Further, the data receiving apparatus 130 further includes: a data reading device 1310 and a data application unit 138. The data reading device 1310 requests the data generating device 110 when the data generating signal indicates the enable state. Meanwhile, after the data is read, the read data is output to the data application unit 138. The data application unit 138 receives data from the data reading device 1310 and outputs an acknowledgement signal to the data reading device 1310 when the data application unit receives the data.
According to an embodiment of the present invention, the data reading device 120 as described above is directly built in the data receiving device 130 as the data reading device 1310. Thus, the data receiving apparatus 130 has a function of reading data by hardware. The data application unit 138 is consistent with the data application unit 138 in fig. 2, and specific contents may refer to related descriptions in fig. 2, which are not described herein again.
Similarly, in the data reading system 100c, the data generating device 110 is used for generating random numbers. The data generating means 110 may be, for example, a random number generator. The data receiving device 130 reads the generated random number from the data generating device 110 by means of hardware and processes it.
According to the data reading system 100c of the present invention, the function of the data reading device is directly included in the data receiving device, and the potential safety hazard caused by the intervention of the software program can also be avoided.
FIG. 5 shows a flow diagram of a random number reading method 500 according to one embodiment of the invention. The method shown in fig. 5 is suitable for being performed in the data reading system described above, in particular in the data reading apparatus described above. And, the system is configured to perform random number reading. The system comprises: random number generating means (i.e., data generating means 110), random number reading means (i.e., data reading means 120), and random number receiving means (i.e., data receiving means 130).
As shown in fig. 5, the method 500 begins at step S510. In step S510, the random number reading apparatus receives a random number generation signal from the random number generation apparatus, and transmits a random number request signal to the random number generation apparatus upon confirming that the received random number generation signal indicates an enable state.
Subsequently, in step S520, the random number reading means reads the random number from the random number generating means.
Subsequently, in step S530, the random number reading apparatus transmits the read random number to the random number receiving apparatus.
According to one embodiment, after the random number is read, the random number reading device generates a random number valid signal and sends the random number valid signal to the random number receiving device; the read random number is sent to a random number receiving device.
According to yet another embodiment, after sending the random number to the random number receiving device, the random number reading device also receives an acknowledgement signal from the random number receiving device, the acknowledgement signal instructing the random number receiving device to complete receiving the random number.
It should be noted that, for the detailed description of the steps in the method 500, reference may be made to the related description of the data reading system and the timing diagram of the data reading process, which are not repeated herein.
According to the random number reading scheme of the present invention, the random number is not read by a software program any more, but is read from the random number generating device by a hardware manner using the random number reading device. The whole processing flow is automatically completed by hardware, and the safety of random number reading is ensured.
The data reading system described above with reference to fig. 1-4 may be included in a processing system. The processing system may also include other components such as various interrupt sources, co-processors, etc. These components and the data reading system together form a processing system. According to one embodiment, such a processing system includes a SoC (system on chip) or the like.
FIG. 6 shows a schematic diagram of a system on chip (SoC)600 according to one embodiment of the invention.
The system-on-chip 600 includes a processor 610, various interrupt sources 620, a memory space 630, a co-processor 640, etc., in addition to the data reading system 650 described with reference to fig. 1, 2, or 4. The system-on-chip 600 may be integrated on a circuit board and form a relatively complete processing system. Interrupt sources 620 are, for example, various peripheral interfaces that receive external inputs and output processed outputs of processor 610. The memory space 630 may provide an external memory space for the processor 610 to store code to be executed by the processor 610 and various output data generated. The coprocessor 640 is a special processor for performing special processing tasks, such as image operations. As shown in fig. 6, the processor 610 may provide a clock signal to the data reading system 650, and may further process the data processed by the data reading system 650, which is not limited by the embodiment of the present invention.
In conclusion, the system on chip adopting the data reading system can read data in a hardware mode without software intervention, and the safety is high. Meanwhile, considering factors such as timeliness of data reading, under some scenes with low requirements on safety, the CPU can execute a software program after the data generating device generates data, read the generated data in a bus mode and transmit the read data to the data receiving device. The embodiments of the present invention are not limited thereto.
In addition, the above-described system on chip may be included in the smart device to implement corresponding functions in the smart device, including but not limited to executing related control programs, performing data analysis, operations and processing, network communication, controlling peripherals in the smart device, and the like.
Many embedded devices are now networked and support third party software downloads, which raises a strong concern for the secure and trusted operation of these smart devices. The data reading system based on the embodiment of the invention can provide an area which is isolated from other modules in a system on chip (SoC) and can execute trusted application programs (TAs) so as to ensure that sensitive data is stored, processed and protected in an isolated and trusted environment. Therefore, the data reading system provided by the embodiment of the invention can be applied to various products developed and applied by the Internet of things so as to realize the functions of the products, such as Internet of things equipment identity authentication, Internet of things edge calculation, Internet of things equipment management, Internet of things safety operation and the like.
Such intelligent devices include specialized intelligent devices such as mobile terminals and personal digital terminals, etc., which include one or more systems-on-chip according to the present invention for data processing or for controlling peripherals in the device.
Such smart devices also include specialized devices that are configured to implement specific functions, such as smart speakers, smart display devices, and the like. The sound box and the display device are controlled by the system on chip provided by the invention, so that the sound box and the display device are endowed with additional functions of communication, perception, data processing and the like.
Such smart devices also include various IoT and AIoT devices. The devices include the system on chip according to the present invention for data processing, such as AI operations, data communication and transmission, etc., thereby achieving a more intensive and intelligent device distribution.
Such smart devices may also be used in vehicles, for example, may be implemented as on-board devices, or may be embedded in vehicles, providing data processing capabilities for intelligent driving of the vehicles.
Such smart devices may also be used in the home and entertainment fields, for example, as smart speakers, smart air conditioners, smart refrigerators, smart display devices, and the like. These devices include a system on chip according to the present invention for data processing and peripheral control, thereby enabling the intellectualization of home and entertainment devices.
In addition, such smart devices may also be used in industrial fields, for example, may be implemented as industrial control devices, sensing devices, IoT devices, AIoT devices, braking devices, and the like. The devices comprise the system on chip to process data and control peripheral devices, thereby realizing the intellectualization of industrial devices.
The above description of the smart device is merely illustrative, and the smart device according to the present invention is not limited thereto, and all smart devices that can perform data processing using the system on chip according to the present invention are within the scope of the present invention.
It should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be interpreted as reflecting an intention that: that the invention as claimed requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules or units or components of the devices in the examples disclosed herein may be arranged in a device as described in this embodiment or alternatively may be located in one or more devices different from the devices in this example. The modules in the foregoing examples may be combined into one module or may be further divided into multiple sub-modules.
Those skilled in the art will appreciate that the modules in the device in an embodiment may be adaptively changed and disposed in one or more devices different from the embodiment. The modules or units or components of the embodiments may be combined into one module or unit or component, and furthermore they may be divided into a plurality of sub-modules or sub-units or sub-components. All of the features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or elements of any method or apparatus so disclosed, may be combined in any combination, except combinations where at least some of such features and/or processes or elements are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings) may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features included in other embodiments, rather than other features, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the following claims, any of the claimed embodiments may be used in any combination.
Furthermore, some of the described embodiments are described herein as a method or combination of method elements that can be performed by a processor of a computer system or by other means of performing the described functions. A processor having the necessary instructions for carrying out the method or method elements thus forms a means for carrying out the method or method elements. Further, the elements of the apparatus embodiments described herein are examples of the following apparatus: the apparatus is used to implement the functions performed by the elements for the purpose of carrying out the invention.
As used herein, unless otherwise specified the use of the ordinal adjectives "first", "second", "third", etc., to describe a common object, merely indicate that different instances of like objects are being referred to, and are not intended to imply that the objects so described must be in a given sequence, either temporally, spatially, in ranking, or in any other manner.
While the invention has been described with respect to a limited number of embodiments, those skilled in the art, having benefit of this description, will appreciate that other embodiments can be devised which do not depart from the scope of the invention as described herein. Furthermore, it should be noted that the language used in the specification has been principally selected for readability and instructional purposes, and may not have been selected to delineate or circumscribe the inventive subject matter. Accordingly, many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the appended claims. The present invention has been disclosed in an illustrative rather than a restrictive sense, and the scope of the present invention is defined by the appended claims.

Claims (19)

1. A data reading apparatus comprising:
an indication signal receiving interface adapted to receive a data generation signal, wherein the data generation signal indicates an enable state when a data generation device coupled to the data reading device generates data;
a data receiving interface adapted to read data from the data generating device when the data generating signal indicates an enable state;
the data caching unit is suitable for caching the read data from the data generation device;
and the indication signal generating unit is suitable for generating a data valid signal after the data is read so as to send the data valid signal and the cached data, so that the cached data can be acquired when a data receiving device coupled to the data reading device receives the data valid signal.
2. The data reading apparatus of claim 1, further comprising:
and the data request interface is suitable for sending a data request signal to the data generation device when the data generation signal indicates an enabling state, so that the data receiving interface can read the data generated by the data generation device.
3. The data reading apparatus of claim 2, further comprising:
the first output interface is suitable for sending a data valid signal to the data receiving device after the data are read;
a second output interface adapted to output the buffered data to the data receiving device; and
an acknowledgement signal receiving interface adapted to receive an acknowledgement signal from the data receiving device, the acknowledgement signal indicating that the data receiving device completed data reception.
4. The data reading apparatus according to claim 3,
the indication signal receiving interface, the data request interface, the first output interface, the second output interface and the confirmation signal receiving interface are further adapted to perform an operation according to a clock signal.
5. The data reading apparatus of claim 4, further comprising:
a clock signal interface adapted to receive the clock signal;
a reset signal interface adapted to receive a reset signal.
6. The data reading apparatus of any one of claims 1-5,
the read data is a random number generated by the data generation means, and the data generation means is a random number generation means.
7. A data reading system comprising:
the data generating device is suitable for generating data and enabling the data generating signal to indicate an enabling state when the data are generated;
the data reading apparatus according to any one of claims 1 to 6, adapted to read the data generated by the data generating apparatus and output the read data to the data receiving apparatus when the data generating signal indicates the enable state; and
data receiving means adapted to receive data from the data reading means.
8. The data reading system of claim 7,
the data generating means is further adapted to output the generated data to the data reading means upon receiving a data request signal from the data reading means.
9. The data reading system of claim 8, wherein the data generating means comprises:
a data generation unit adapted to generate data;
the indication signal output interface is suitable for outputting a data generation signal when data is generated, and the data generation signal indicates an enabling state;
a signal reading interface adapted to receive a data request signal from the data reading device; and
and the data output interface is suitable for outputting the generated data to the data reading device.
10. A data reading system according to any one of claims 7 to 9, wherein the data receiving means comprises:
a first input interface adapted to receive a data valid signal from the data reading device;
a second input interface adapted to receive data from the data reading device;
the indication output interface is suitable for outputting a confirmation signal to the data reading device when the data is received;
and the data application unit is suitable for processing the received data.
11. The data reading system of any one of claims 7-10,
the data generating means is a random number generating means adapted to generate a random number;
the data reading means is adapted to read the generated random number from the data generating means and output it to the data receiving means.
12. A data reading system comprising:
the data generating device is suitable for generating data and enabling the data generating signal to indicate an enabling state when the data are generated;
and the data receiving device is suitable for reading the data generated by the data generating device when the data generating signal indicates an enabling state.
13. The data reading system of claim 12, wherein the data receiving means comprises:
data reading means adapted to request data from the data generating means when the data generation signal indicates an enable state, and further adapted to output the read data to the data applying unit;
and the data application unit is suitable for receiving the data from the data reading device and outputting a confirmation signal to the data reading device when the data is received.
14. The data reading system of claim 12 or 13,
the data generating means is adapted to generate a random number;
the data receiving means is adapted to read the generated random number from the data generating means.
15. A random number reading method comprising the steps of:
transmitting a random number request signal to the random number generating apparatus upon confirming that the received random number generation signal indicates an enable state;
reading a random number from the random number generating device; and
the read random number is transmitted to a random number receiving apparatus.
16. The method as claimed in claim 15, wherein, before the step of transmitting the read random number to the random number receiving apparatus, further comprising the steps of:
and generating a random number effective signal and sending the random number effective signal to the random number receiving device.
17. The method as claimed in claim 15 or 16, wherein, after the step of transmitting the read random number to the random number receiving apparatus, further comprising the step of:
receiving an acknowledgement signal from the random number receiving apparatus, the acknowledgement signal indicating that the random number receiving apparatus completed receiving the random number.
18. A system on a chip, comprising:
a data reading system according to any one of claims 7 to 14.
19. A smart device comprising the system on a chip of claim 18.
CN201910936928.3A 2019-09-29 2019-09-29 Data reading device, system and data reading method Pending CN112583581A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910936928.3A CN112583581A (en) 2019-09-29 2019-09-29 Data reading device, system and data reading method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910936928.3A CN112583581A (en) 2019-09-29 2019-09-29 Data reading device, system and data reading method

Publications (1)

Publication Number Publication Date
CN112583581A true CN112583581A (en) 2021-03-30

Family

ID=75111230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910936928.3A Pending CN112583581A (en) 2019-09-29 2019-09-29 Data reading device, system and data reading method

Country Status (1)

Country Link
CN (1) CN112583581A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1851637A (en) * 2006-05-26 2006-10-25 北京中星微电子有限公司 Device and method for generating randow number
CN103150228A (en) * 2013-02-22 2013-06-12 中国人民解放军国防科学技术大学 Synthesizable pseudorandom verification method and device for high-speed buffer memory
CN103403670A (en) * 2011-06-03 2013-11-20 株式会社东芝 Semiconductor memory device for pseudo-random number generation
US20150110123A1 (en) * 2013-10-21 2015-04-23 Stmicroelectronics International N.V. Limitation of serial link interference
CN104750633A (en) * 2013-12-30 2015-07-01 重庆重邮信科通信技术有限公司 Field programmable gate array (FPGA) device access verification device and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1851637A (en) * 2006-05-26 2006-10-25 北京中星微电子有限公司 Device and method for generating randow number
CN103403670A (en) * 2011-06-03 2013-11-20 株式会社东芝 Semiconductor memory device for pseudo-random number generation
US20140146607A1 (en) * 2011-06-03 2014-05-29 Kabushiki Kaisha Toshiba Semiconductor memory device for pseudo-random number generation
CN103150228A (en) * 2013-02-22 2013-06-12 中国人民解放军国防科学技术大学 Synthesizable pseudorandom verification method and device for high-speed buffer memory
US20150110123A1 (en) * 2013-10-21 2015-04-23 Stmicroelectronics International N.V. Limitation of serial link interference
CN104750633A (en) * 2013-12-30 2015-07-01 重庆重邮信科通信技术有限公司 Field programmable gate array (FPGA) device access verification device and method

Similar Documents

Publication Publication Date Title
CN111143890B (en) Calculation processing method, device, equipment and medium based on block chain
US11429950B2 (en) Mobile payment apparatus and method
CN109902043A (en) A kind of national secret algorithm acceleration processing system based on FPGA
CN104717198A (en) Updating software on a secure element
KR20120036311A (en) Method and memory device for performing an operation on data
TW202301141A (en) Trusted memory sharing mechanism
CN103210398A (en) Method for reading an RFID token, RFID card and electronic device
JP2017091543A (en) Multi-processor system including memory shared by multi-processor, and method of operating that system
CN113553204B (en) Data transmission method and device
CN115130090A (en) Secure key provisioning and hardware assisted secure key storage and secure cryptography function operations in a container-based environment
CN112948840A (en) Access control device and processor comprising same
US20180025344A1 (en) Communicating authentication information between mobile devices
KR20190057677A (en) Electronic device and method for transmitting and receiving data based on secured operating system in the electronic device
CN110581838A (en) Method for continuously requesting data stream, electronic device and computer equipment
CN111459869B (en) Data access method, device, equipment and storage medium
US20200349264A1 (en) Data decryption method and apparatus, and electronic device
CN112583581A (en) Data reading device, system and data reading method
US20140090032A1 (en) System and method for real time secure image based key generation using partial polygons assembled into a master composite image
CN114936365B (en) System, method and device for protecting secret data
CN114443525B (en) Data processing system, method, electronic equipment and storage medium
CN114697113A (en) Hardware accelerator card-based multi-party privacy calculation method, device and system
CN111382107B (en) Application processor, coprocessor and data processing equipment
US20150281343A1 (en) Information processing device, information processing system, and processing method
EP2675105A1 (en) Apparatus and method for providing security service
CN112468676B (en) Method and system for transmitting national secret encrypted image information and national secret network camera

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