Abstract:
A control circuit and a terminal are provided. The control circuit includes a detector, a current-voltage conversion circuit and a control signal generation circuit. The current output end of the detector is connected with the current input end of the current-voltage conversion circuit. The voltage output end of the current-voltage conversion circuit is connected with the voltage input end of the control signal generation circuit. The signal input end of the control signal generation circuit outputs a control signal. The detector detects a state of motion of a detected object and generates at least one current signal according to the state of motion of the detected object. The current-voltage conversion circuit converts the at least one current signal transmitted by the detector to at least one voltage signal. The control signal generation circuit generates the control signal based on a variation rule of the at least one voltage signal transmitted by the current-voltage conversion circuit and a preset control signal generation strategy, and output the control signal.
Abstract:
A method for secure access control based on an on-chip bus (advanced eXtensible interface, AXI) protocol is disclosed and comprises dividing a bus address space into more than one area, then determining the security attributes of each area; and, determining whether the security type of an access request, sent by a primary device, to access a target area matches the security attributes of said target area; if a match, sending said access request to a target secondary device. A device for secure access control based on the AXI protocol is also disclosed.
Abstract:
The embodiments of disclosure disclose a method and device for forwarding data based on index allocation; the method includes that: the index allocation is performed, and a mapping relationship between a data forwarding priority and an index is established; according to the mapping relationship between the data forwarding priority and the index, high priority data of a data forwarding service is written into an address with a low index in a Ternary Content Addressable Memory (TCAM); and the data with the high priority of the data forwarding service is forwarded first.
Abstract:
The present disclosure provides a writing method, including: writing writing-table data into a corresponding main storage module; performing a calculation on writing-table data in each target main storage module by using a first predetermined algorithm to obtain an auxiliary value, for any target main storage module, the first predetermined algorithm being used for performing a calculation on writing-table data stored in the target main storage module and corresponding writing-table data stored in at least one main storage module other than the target main storage module, an inverse operation of the first predetermined algorithm being used for performing a calculation on any auxiliary value to obtain writing-table data participating in the calculation of the auxiliary value; and storing the auxiliary value into a corresponding auxiliary storage module. The present disclosure further provides a reading method, a computer readable storage medium, a processor chip and an electronic device.
Abstract:
Embodiments of the present application relate to the technical field of network communication, and disclose a method and a device for caching a message, an electronic equipment and a storage medium. The method for caching the message includes: dividing a cache space into an N*N cache array, N being a natural number greater than zero, and each cache block in the cache array being in a same size; selecting a cache block for storing the message according to a size of the message to be stored and a number of free addresses of each cache block; and storing the message in a free address of a selected cache block.
Abstract:
Embodiments of the present disclosure relate to the field of communication transmission, and in particular, to a network anti-replay method and apparatus, an electronic device, and a storage medium. The network anti-replay method includes: according to a current packet number of a currently received data packet, determining a section to which the current packet number belongs in a replay window, with the replay window being divided into a plurality of sections, and each of the plurality of sections being configured to record packet numbers of L received data packets which belong to the section; and L being smaller than T, and T being a total number of packet numbers belonging to the section; and in a case where the current packet number is not coincident with packet numbers recorded in the determined section to which the current packet number belongs and the current packet number is not coincident with packet numbers of recently received N historical data packets, performing integrity authentication on the currently received data packet, with N being a natural number greater than 1.
Abstract:
A clock synchronization system and method are provided. The clock synchronization system includes: a pulse generation module, configured to receive an input first signal, perform sampling processing of the first signal to obtain a second signal, and generate a pulse signal according to the second signal; a voltage-controlled oscillator, configured to output a first output clock; the output frequency divider module, configured to perform frequency division on the first output clock, and synchronize, according to the pulse signal, the first output clock which has been subjected to the frequency division, so as to obtain a second output clock; and the synchronous output module, configured to receive the first output clock, the second output clock, the first signal, and the pulse signal, and perform synchronization processing on the first signal according to the first output clock, the second output clock and the pulse signal, so as to obtain a third signal.
Abstract:
Provided in the present disclosure is a variable gain amplifier, including: a voltage signal input end; a high level generation module including two high level signal output ends, and configured to convert a voltage signal input from the voltage signal input end into a first high level signal and a second high level signal; a switch signal conversion module including a high level signal input end, N digital signal input ends and N switch signal output ends, and configured to output, through corresponding switch signal output ends and under the control of signals input from the digital signal input ends, gain control signals associated with a signal output from the first high level signal output end; and an amplification module including an amplification unit and N stages of gain control units, where N is a positive integer not less than 1. Further provided is a transmitting apparatus.
Abstract:
A circuit for acquiring a resistance value of a resistor includes: a working voltage node resistor Rb, a common ground voltage node resistor Rc, a reference node resistor Ra, a first interconnect parasitic resistor Rwire1, a second interconnect parasitic resistor Rwire2, an encapsulation network resistor Rnet, a first diode Dio_VDD, a Dio_Vss, and a Dio_die, wherein the working voltage node resistor Rb is respectively connected to one end of the Rwire1 and one end of the encapsulation network resistor Rnet. The other end of the Rwire1 is connected to a negative electrode of the Dio_VDD, and a positive electrode of the Dio_VDD is respectively connected to the Ra and a negative electrode of the Dio_Vss. A positive electrode of the Dio_VSS is respectively connected to the Rc and a negative electrode of the Dio_die via the Rwire2. A positive electrode of the Dio_die is connected to the other end of the Rnet.
Abstract:
There are provided a vector operation method, a vector operator, an electronic device, and a computer-readable storage medium. The vector operation method includes: splitting a target vector operation to be performed to determine a plurality of basic operations in a predetermined execution order; sequentially generating, according to the predetermined execution order, a plurality of basic operation instructions corresponding to the plurality of basic operations; and sequentially executing, according to the predetermined execution order, the plurality of basic operation instructions on initial data to be subjected to the target vector operation, so as to implement the target vector operation on the initial data, wherein in two adjacent basic operations, to-be-calculated data for a latter basic operation is an operation result of a former basic operation.