Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

236 results about "Memory protection" patented technology

Memory protection is a way to control memory access rights on a computer, and is a part of most modern instruction set architectures and operating systems. The main purpose of memory protection is to prevent a process from accessing memory that has not been allocated to it. This prevents a bug or malware within a process from affecting other processes, or the operating system itself. Protection may encompass all accesses to a specified area of memory, write accesses, or attempts to execute the contents of the area. An attempt to access unowned memory results in a hardware fault, called a segmentation fault or storage violation exception, generally causing abnormal termination of the offending process. Memory protection for computer security includes additional techniques such as address space layout randomization and executable space protection.

Solid state disk management system and data processing method

The invention discloses a solid state disk management system and a data processing method, and relates to the technical field of solid state disk management. Flexible task scheduling and resource management are provided through a lightweight operating system module, and a computing task program defined by a user is supported to be dynamically loaded; edge computing or machine learning operators are efficiently executed in combination with a programmable hardware processing unit and a DMA channel of the computing acceleration engine module, the data preloading module is utilized to predict and preload data to DDR based on LBA access history, access delay is reduced, an NVMe protocol is expanded by means of the task unloading interface module, host task issuing and result returning are achieved, and the data processing efficiency is improved. And hardware-level memory protection is ensured through the security isolation module, so that the data calculation processing capacity of the solid state disk is remarkably improved, localized calculation tasks such as edge calculation and machine learning are supported, mass data transmission is effectively reduced, and bus and network loads are relieved.
Owner:HUIJU ELECTRONICS (DONGGUAN) IND CO LTD

Method and system for determining memory access permission of equipment and electronic equipment

The invention discloses a method and a system for determining memory access permission of equipment and electronic equipment. The method is applied to an input and output physical memory protection (IOPMP) unit and can comprise the steps that a memory access request of equipment is obtained, at least one IOPMP entry matched with the equipment in the IOPMP unit is determined, the memory access request is used for making the equipment request to access data stored in a memory address corresponding to the IOPMP unit, and the IOPMP entry is used for representing a data structure of the IOPMP unit; the memory access request is verified in at least one IOPMP entry, at least one verification result is obtained, and the verification result is used for representing whether the device has the access permission in the corresponding IOPMP entry or not; based on the verification result, an access permission result corresponding to the memory access request is generated, and the access permission result is used for representing whether the device is allowed to access data stored in the memory address or not. The technical problem that the memory access permission of the equipment cannot be effectively determined is solved.
Owner:T-HEAD (SHANGHAI) SEMICON CO LTD +2

Automatic memory protection method and device, computer equipment and storage medium

The invention relates to an automatic memory protection method and device, computer equipment and a storage medium, and the automatic memory protection method comprises the steps: responding to a real-time memory read-write instruction, and determining a target memory address corresponding to the memory read-write instruction; determining a pre-stored tag value corresponding to the target memory address and an actual tag value currently embedded in a memory block pointed by the target memory address; and when it is detected that the pre-stored tag value is not matched with the actual tag value, stopping a memory operation associated with the memory read-write instruction. Through the method and the device, the problem that the data-oriented attack cannot be effectively prevented is solved, the data-oriented attack is effectively prevented, and the memory security and the system operation efficiency are improved.
Owner:HANGZHOU HIGH-TECH ZONE (BINJIANG) INSTITUTE OF BLOCKCHAIN & DATA SECURITY +1

Storage system and data protection method

A storage system includes a non-volatile storage device and a plurality of storage controllers that control reading and writing for the storage device, in which each of the plurality of storage controllers includes a processor and a memory, the storage controller stores a write request from a host for the storage device as cache data in the memory, returns a write completion response to the host after protecting the cache data in a first memory protection method or a second memory protection method, and destages the cache data into the storage device after the write completion response, and the storage controller switches between the first memory protection method and the second memory protection method to be used according to an operation state of another storage controller.
Owner:HITACHI VANTARA LTD

Operating system service extensions for microkernels

According to embodiments of the present disclosure, a system includes: a microkernel having a low-level application programming interface (API) and providing memory protection domains to user-level processes; and an abstraction layer running on top of the microkernel and comprising a plurality of service extensions to the microkernel and configured to provide a high-level operating system (OS) API for use by one or more application processes running in user space, wherein different ones of the service extensions are configured to run within different ones of the memory protection domains provided by the microkernel.
Owner:MASSACHUSETTS INST OF TECH

Memory management method, device and equipment and computer readable storage medium

The invention discloses a memory management method, device and equipment and a computer readable storage medium. The method comprises the following steps: when a mapping request exists, determining a target I / O virtual address corresponding to the mapping request and triggering an application identity identifier of the mapping request; detecting whether the target I / O virtual address is associated with the application identity label or not; and if yes, establishing mapping between the target I / O virtual address and the corresponding memory physical address. According to the method and the device, the memory protection capability of the equipment can be enhanced on a system without IOMMU (Input / Output Management Unit); and the complexity of hardware design can be reduced on a system with an IOMMU, and the hardware cost is reduced.
Owner:SIENGINE TECH CO LTD

Heterogeneous trusted execution environment architecture construction method and device and processor

The invention relates to a heterogeneous trusted execution environment architecture construction method and device, and the method comprises the following steps: constructing a tensor analyzer which is located in a memory control unit of a central processing unit of a heterogeneous trusted execution environment architecture; and providing memory protection with uniform tensor granularity for data interaction between the neural network processor of the heterogeneous trusted execution environment architecture and the central processing unit through the tensor analyzer.
Owner:INST OF COMPUTING TECH CHINESE ACAD OF SCI

Software dynamic credibility protection method and device of embedded system

PendingCN118519890ADynamic credibility protection implementationreduce overheadSoftware testing/debuggingCode compilationAbstraction layerSoftware engineering
The invention relates to the technical field of computers, and provides a software dynamic credibility protection method for an embedded system, which comprises the following steps of: modifying an intermediate code generated when a software program is compiled so as to add a storage instruction for storing a return address in a shadow stack in a to-be-modified function of the intermediate code, the function to be modified comprises a non-library function and a library function which is not subjected to security detection in the software program; converting a target storage instruction in the intermediate code into a non-privileged storage instruction with equivalent function from a privileged storage instruction so as to check a non-privileged mode permission bit in a memory protection unit, the target storage instruction is a storage instruction except an atomic storage instruction, a hardware abstraction layer storage instruction and a storage instruction for storing a return address in a shadow stack. The software dynamic credibility protection method of the embedded system is small in resource overhead and good in hardware compatibility.
Owner:WUHAN UNIV

Electronic device and method for interrupt processing with low power consumption

An electronic device includes a local memory, multiple global memories, a coprocessor, an application processor, a memory protect unit and a memory access monitor. The coprocessor is electrically coupled to the local memory, the global memories, and the application processor, and runs an ultra-low power framework. The ultra-low power framework includes an interrupt align and activity group, a memory predict monitor, and a task dynamic migration monitor. The interrupt align and activity group aligns multiple interrupts, so that the coprocessor is waken up based on the aligned interrupts to perform all expired low power functions, and the application processor is aligned to wake up based on a wakeup of the coprocessor. The memory protect unit and the memory access monitor are electrically coupled to the global memories and the coprocessor, run the memory predict monitor, and determine whether to power off the global memories through the memory access monitor.
Owner:MEDIATEK SINGAPORE PTE LTD

Memory protection for gather-scatter operations

Systems and methods are disclosed for memory protection for memory protection for gather-scatter operations. For example, an integrated circuit may include a processor core; a memory protection circuit configured to check for memory protection violations with a protection granule; and an index range circuit configured to: memoize a maximum value and a minimum value of a tuple of indices stored in a vector register of the processor core as the tuple of indices is written to the vector register; determine a range of addresses for a gather-scatter memory instruction that takes the vector register as a set of indices based on a base address of a vector in memory, the memoized minimum value, and the memoized maximum value; and check, using the memory protection circuit during a single clock cycle, whether accessing elements of the vector within the range of addresses will cause a memory protection violation.
Owner:SIFIVE INC

Storage system and data protection method

To achieve a storage system and a data protection method having both high performance and high reliability.SOLUTION: A storage system comprises: a non-volatile storage device; and a plurality of storage controllers controlling reading / writing to / from the storage device. The plurality of storage controllers each have a processor and memory. The storage controller stores a write request from a host to the storage device in the memory as cache data, protects the cache data by a first memory protection method or a second memory protection method, subsequently returns a write completion reply to the host, and after the completion of the write reply, destages the cache data in a storage drive. The storage controller switches whether to use the first memory protection method or the second memory protection method according to the operating state of the other storage controller.SELECTED DRAWING: Figure 3
Owner:HITACHI VANTARA LTD

Cloud native container storage access strategy optimization method and system based on federal learning

The invention belongs to the technical field of cloud native container storage access, and particularly relates to a federated learning-based cloud native container storage access strategy optimization method and system, which utilizes a kernel sandbox technology to realize dynamic management and execution of a container storage strategy, and realizes cross-container and storage device isolation and optimization through a Wasm module. And in combination with federated learning, the system can perform real-time storage access strategy optimization on different nodes through an AI model so as to improve the overall performance and security. According to the system, the safety of a kernel mode execution environment is ensured through a kernel sandbox, and meanwhile, the technical challenge of applying Wasm to a kernel mode module is solved by combining the technologies of compilation optimization, LLVM translation, memory protection and the like, so that an efficient storage management scheme is provided for a cloud native environment.
Owner:SHANDONG UNIV

Memory protection method and system, computer equipment, storage medium and product

The invention discloses a memory protection method and system, computer equipment, a storage medium and a product, and relates to the technical field of data protection, and the memory protection method comprises the steps that when it is detected that a preset safe and trusted program is in an execution state, a to-be-executed program is written into a preset address interval; when each instruction corresponding to the to-be-executed program is executed, judging whether a to-be-accessed address corresponding to each instruction is legal or not based on a preset address interval attribute corresponding to the address interval; if the to-be-accessed address corresponding to each instruction is judged to be legal, performing integrity verification on data in each to-be-accessed address; and if it is detected that the data in each to-be-accessed address passes integrity verification, processing each data based on each instruction. According to the technical scheme, the technical problem of how to improve the universality of the memory protection method is solved.
Owner:GUANGDONG HONGJUN MICROELECTRONICS CO LTD

Enforcement of attestation of read-only protected memory during attestation validity period

Enforcing attestation of read-only protected memory during attestation validity period. A client computer system identifies a change in a read-only protected memory protection status for a software component loaded at the client computer system. The client computer system then determines that a validity time period of an attestation report is unexpired. The attestation report comprises one or more attested properties, including one or more read-only memory protection (ROMP) attested properties for the software component. The client computer system also determines that at least one ROMP attested property for the software component is no longer valid due to the change in the read-only protected memory protection status for a software component. Based on the at least one ROMP attested property for the software component being no longer valid, the client computer system initiates a remedial action to prevent interaction of the software component with a relying party computer system.
Owner:MICROSOFT TECHNOLOGY LICENSING LLC

Static trusted execution environment for inter-architecture processor program compatibility

Computer-implemented methods and associated hardware for static trusted execution environment for inter-architecture processor program compatibility are disclosed herein. A device (e.g., a Reduced Instruction Set Computing-Five (RISC-V) device), may emulate a static trusted execution environment (e.g., ARM TrustZone) using physical memory protection (PMP). A regular world may have access to only a portion of an address space of the device, while a secure world may have access to the full address space. A secure world identifier (SWID) may be stored in a configuration status register (CSR) only accessible by a mode (e.g., machine mode). When an entry is added to a translation lookaside buffer (TLB), the SWID may be added as part of a tag to differentiate secure world entries from regular world entries.
Owner:TENSTORRENT USA INC

Task stack protection method and device, electronic equipment, chip and medium

The invention provides a task stack protection method and device, electronic equipment, a chip and a medium, and relates to the technical field of computer security. The task stack protection method comprises the following steps: in response to starting of an operating system, initializing a memory protection unit; based on the memory protection unit, the first task is removed from a stack protection memory area, the stack protection memory area is a stack top space of a task stack memory area of an operating system memory, and the first task is a process or a thread operated by an operating system in the stack protection memory area; setting attributes of a stack protection memory area of a second task, the second task being a task executed after the first task and being an active task; and moving the second task into the stack protection memory area. Through the technical scheme provided by the invention, the problem that the task stack protection of the memory area by the memory protection unit is unsafe and unreliable is solved, and the safety and reliability of the task stack protection of the memory area by the memory protection unit are improved.
Owner:SHANGHAI LIXIANG AUTOMOBILE CO LTD

Memory protection method, device and equipment and computer storage medium

The invention discloses a memory protection method, device and equipment and a computer storage medium. The address mask of the address mask register in the chip and the address of the address register are obtained. And performing bit operation on the address mask and the address to obtain a base address of the memory. And matching the address matching lengths corresponding to the plurality of control regions of the first configuration register with the base address of the memory to obtain a plurality of target addresses, so that more addresses are protected. And performing authority control on the plurality of target addresses according to the control authority corresponding to the control area of the first configuration register. The protection efficiency of the PMP mechanism on the physical memory is improved, and the flexibility of PMP configuration is improved.
Owner:CHINA MOBILE M2M +2

Protecting execution environments within domains

There is provided an apparatus that includes processing circuitry for performing processing in one of a fixed number of at least two domains. One of those domains is subdivided into a variable number of execution environments and memory protection circuitry uses a key input to perform encryption or decryption on the data of a memory access request issued to a memory address from within a current one of the domains. The key input is different for each of the domains and for each of the execution environments, the key input for each of the domains is fixed at boot time of the apparatus, and the key input for each of the execution environments is dynamic.
Owner:ARM LTD

Maintenance operations across subdivided memory domains

An apparatus is provided in which processing circuitry performs processing in one of a fixed number of at least two domains. One of the domains is subdivided into a variable number of execution environments one of which is a management execution environment configured to manage the execution environments. Memory protection circuitry defines a point of encryption after at least one unencrypted storage circuit of a memory hierarchy and before at least one encrypted storage circuit of the memory hierarchy. The at least one encrypted storage circuitry uses a key input to perform encryption or decryption on the data of a memory access request issued from within a current one of the domains. The key input is different for each of the domains and for each of the execution environments and the management execution environment is configured to inhibit issuing a maintenance operation to the at least one encrypted storage circuit of the memory hierarchy.
Owner:ARM LTD

User interrupt event callback mechanism implementation method

The invention discloses a user interrupt event callback mechanism implementation method, which adopts an implementation method of combining user interrupt event callback caused by hardware interrupt and conventional task scheduling, after system hardware interrupt occurs, kernel interrupt processing codes construct a user mode code running environment, and a user mode is switched to run a user event callback function, so that the user interrupt event callback is realized. After the execution of the user event callback function is finished, the system environment before the execution of the user event callback function is recovered through an undefined instruction falling into a kernel; and when all the user callback event functions are executed, falling into the kernel through the undefined instruction again, and recovering an instruction execution stream before the interruption event occurs by utilizing the stack frame information reserved when the interruption is entered. According to the method, an emergency processing mechanism with determined delay is realized, the constructed interrupt event callback function runs in a user space, and the method has the functions of shielding low-priority interrupt and protecting a memory, is low in overhead, simple to implement and easy to adapt to various processors, and has a good application prospect.
Owner:NANJING PANENG TECHNOLOGY DEVELOPMENT CO LTD

Event pushing method and device, storage medium and program product

The embodiment of the invention provides an event pushing method and device, a storage medium and a program product. In the method, a target event can be aggregated to obtain an aggregated event, and event pushing is performed by taking the aggregated event as granularity; a memory protection trigger event and a memory protection mechanism are added for memory resources used for pushing the aggregation event, and the memory protection mechanism is executed when the memory protection trigger event occurs to realize protection of the memory resources, so that the probability of OOM is reduced, that is, an aggregation window is increased according to actual use information of the memory resources; and carrying out aggregation processing on the target event by utilizing the enlarged aggregation window and pushing the aggregation event. Wherein the aggregation window can be reasonably enlarged based on the actual use information of the memory resources, and the aggregation window is enlarged, the number of events of which the receiving time falls into the aggregation window is increased, and the number of aggregation events is reduced, so that the context information calculation times are reduced, the memory resource consumption of the push events and the probability of OOM occurrence are reduced, and the user experience is improved. The system stability is improved.
Owner:ALIBABA CLOUD COMPUTING CO LTD

Hardware virtual machine for controlling access to physical memory space

A system controls access to a physical address (PA) space. The system includes multiple system resources addressable within the PA space, and multiple processing circuits executing multiple virtual machines (VMs). A given region of the PA space is dedicated to addressing the VMs. The system also includes multiple memory management units (MMUs) coupled to corresponding processing circuits. A given MMU is operative to translate a virtual address indicated in an access request from a processing circuit into a requested PA that is accessible by the processing circuit according to a configurable setting of the given MMU. The system further includes multiple memory protection units (MPUs). A given MPU, which is coupled to a target system resource allocated with the requested PA, is operative to grant or deny the request based on information indicating whether the requested PA is accessible to a requesting VM executed on the processing circuit.
Owner:MEDIATEK INC

Brushing method for flashing Bootloader software

The invention belongs to the technical field of program updating, and particularly relates to a method for flashing Bootloader software, which comprises the following steps of: judging the validity of an application program by an operation starting manager, judging the validity of a programming mark if the application program is valid, and skipping to the operation of the application program if the programming mark is invalid; flashing the software of the second version of the boot loader and the effective copy mark into the flash area, and resetting the micro-control unit; the application program judges whether the copy effective mark is effective or not, if yes, the software of the second-version boot loader is copied to the position where the software of the first-version boot loader is located, after copying is completed, the copy effective mark is removed, and the software of the second-version boot loader is copied. And starting a memory protection unit preset by the micro-control unit to perform write access protection of all memories except for using the EEPROM, and enabling the application program to wait for other tasks. According to the method, the problem that the brick is damaged due to power failure when the power failure occurs in the process of flashing the Bootloader by running the APP is solved.
Owner:领科汇智科技有限公司 +1

Container memory access control method and device, electronic equipment and medium

The embodiment of the invention relates to the technical field of memory management, and provides a container memory protection method and device, electronic equipment and a medium. A pointer authentication code is embedded into a pointer to be accessed to obtain an authentication pointer with authentication information, and the pointer authentication code is generated according to the pointer and context information of the first access request; extracting a pointer authentication code from the authentication pointer, and verifying the authentication pointer based on the pointer authentication code; and when the verification is passed, temporarily inserting a mapping item which allows access to the memory of the target container in an expansion page table allocated for the target container, and performing access control on the memory of the target container through the mapping item. Consequently, container memory protection with light weight and low performance influence is achieved.
Owner:BEIJING UNIV OF POSTS & TELECOMM +2

Memory protection method and device, equipment and storage medium

The invention discloses a memory protection method and device, equipment and a storage medium, and relates to the technical field of computers. The method comprises the following steps: receiving a memory access request initiated by a first kernel of an operating system, wherein the memory access request is used for requesting to access a first region of a memory; according to the memory access request, kernel-level barrier check is executed on the first kernel to obtain a first check result, and the kernel-level barrier check is used for determining whether the first kernel has the access permission of the first area or not; under the condition that the first check result is that the first kernel has the access permission of the first area, executing token permission check on the first kernel to obtain a second check result; and under the condition that the second check result is that the first kernel has the effective authorization token corresponding to the first area, executing an access operation on the first area according to the memory access request. According to the method, memory protection is realized, and the security of memory access is improved.
Owner:KYLIN CORP

Memory cross-border positioning method and device and storage medium

The invention discloses a memory cross-border positioning method and device and a storage medium, and the method comprises the steps: recognizing a protection memory section which may have a pollution possibility, and distributing continuous memory blocks in front of and behind the protection memory section to obtain a memory protection region, setting the attribute of the memory protection area as a system mode or a non-executable mode; then calling the memory management unit to respond to a CPU access request; and when the response of the memory management unit is abnormal, capturing and positioning a position where memory crossing occurs. By utilizing the characteristic that when a memory is set to be in a read-only mode or a non-executable mode, writing cannot be carried out, when positioning cross-border occurs, a pollution source tries to access a memory protection area, and at the moment, a read-only attribute or a non-executable attribute set in the memory protection area causes insufficient access authority, so that response abnormity occurs; the position where memory crossing occurs can be accurately judged by tracking the error position, memory crossing positioning is achieved, the efficiency of memory crossing positioning is improved, and resource consumption is reduced.
Owner:TOPSEE TECH CO LTD

Realization method, device, module and system of firmware trusted platform module based on RISC-V architecture

The invention relates to a firmware trusted platform module realized by utilizing a PMP memory protection mechanism in a framework, which is used for solving the problems of realization complexity of a current firmware TPM (Trusted Platform Module) scheme under an RISC-V (Reduced Infrastructure Standard-Virtualization) framework and support requirements on extra hardware. The method comprises the following modules: (1) an NVRAM security memory module using a PMP mechanism: based on an RISC-V instruction set, realizing memory isolation by using a privilege architecture and a physical memory protection (PMP) technology, dividing a plurality of memory areas and configuring different access permissions; through the mode, the security of the memory is ensured from the aspect of hardware, and meanwhile, a reducible key is generated by adopting a DRAM (Dynamic Random Access Memory) latch PUF (Physical Unclonable Function), so that the security risk of key storage is avoided. The PMP technology is further used for controlling access to Flash equipment, so that the NVRAM data can be safely encrypted and stored and effectively protected. And (2) an RISC-V architecture rollback attack defense module: modifying part of TPM command semantics and utilizing an NVRAM to maintain a scheme of error attempt times so as to cope with the problems of rollback attacks possibly faced by the TPM, lack of a security clock and the like.
Owner:WUHAN UNIV

Methods and apparatuses for kernel and task isolation

An embodiment of the present application provides a method and apparatus for kernel and task isolation. By adding a separate trusted base to a computer system, the trusted base is independent of the kernel and tasks, and the trusted base, tasks, and kernel each have independent memory. The tasks and the kernel cannot access each other's memory. When task scheduling is required, the trusted base configures the memory protection device according to the memory switching configuration information stored in the memory of the trusted base. By configuring the memory protection device, the memory access boundary can be switched from the kernel's memory to the task's memory, or from the task's memory to the kernel's memory. The access to the memory of the task and the kernel is achieved through the switching of the memory boundary, thereby ensuring the security of the task and the kernel.
Owner:YINWANG INTELLIGENT TECHNOLOGIES CO LTD

Memory protection

Apparatuses and methods for memory protection are disclosed. A memory protection apparatus is interposed between a system cache and a memory system. The apparatus comprises encryption circuitry, which encrypts data item in dependence on encryption metadata and decrypts encrypted data items in dependence on the encryption metadata. In response to a change in a metadata item of the encryption metadata, when no cached copy of an affected data item is currently in the system cache, the affected data item is retrieved from the memory system, re-encrypted using the updated metadata item and returned to the memory system. When there is a cached copy, in dependence on update control data, the copy is retrieved from the system cache, encrypted using the updated metadata item and written out to the memory system.
Owner:ARM LTD

Memory virtualization method

The invention provides a memory virtualization method. The method comprises the steps of obtaining a physical memory address of a host based on an advanced reduced instruction set machine architecture; constructing a shadow page table based on a virtual memory address in a to-be-constructed virtual machine and the physical memory address of the host; based on the shadow page table, a memory sharing page between the virtual machine and the host is constructed, and the memory sharing page is used for achieving switching between a memory of the virtual machine and a memory of the host; based on the right domain of the host, a memory protection mechanism is constructed, and the memory protection mechanism is used for isolating a virtual machine monitoring program in the host, an operating system kernel of the virtual machine and an application program and a user process in the virtual machine; and based on the shadow page table, the memory sharing page and the memory protection mechanism, performing memory virtualization on the virtual machine. According to the application, the KVM virtualization under the ARM architecture can be realized, and the stability of the system kernel can be ensured.
Owner:CHINA MOBILE INTERNET CO LTD +1