Dual-CPU POS Communication via Shared Remote File Storage
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Traditional serial communication between general and security CPUs in POS machines is slow and inefficient, leading to increased costs due to the need for storage modules on both CPUs, and existing solutions are inadequate for security CPUs without storage.
Innovation Solution
Implementing a remote file system mechanism that allows the security CPU to access and share the storage module of the general CPU using a remote processor messaging (RPMsg) protocol, enabling efficient data exchange and service execution.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Speed
If UART serial communication is used between general CPU and security CPU, then communication can be established, but communication speed is slow and data exchange efficiency is low
Solution Approach 1:
The patent replaces the mechanical UART serial communication system with an electrical bus-based communication system (I2C or SPI bus). This substitution enables much higher communication speeds and data exchange efficiency between the general CPU and security CPU, while maintaining the functional requirement of inter-CPU communication.
2Quantity of substance
If both general CPU and security CPU have storage modules (flash storage), then data access and storage space are provided, but system cost increases
Solution Approach 1:
The patent makes the general CPU's storage module serve dual purposes: storing data for the general CPU itself and providing storage space for the security CPU. By eliminating the dedicated storage module from the security CPU and sharing the general CPU's storage resource, the system reduces component count and cost while maintaining adequate storage capacity for both CPUs.
Solution Approach 2:
The patent merges the storage functions of the general CPU and security CPU into a single shared storage module. Instead of having separate storage modules for each CPU, the system combines them into one unified storage resource that both CPUs can access, thereby reducing overall system cost and complexity.
3Device complexity
If security CPU does not have storage module, then system cost is reduced, but data access capability for security CPU is limited
Solution Approach 1:
The patent introduces the general CPU's storage module as an intermediary resource that the security CPU can access. Instead of the security CPU having direct access to its own dedicated storage, it accesses the general CPU's storage module through controlled interfaces, thereby gaining data access capability while maintaining system cost reduction.
Data Source
AI summary
The present application belongs to the technical field of POS machines, and particularly relates to a communication method for dual CPUs in a POS machine, a system and a medium. The communication method comprises: a security CPU receives a target service calling request initiated by a general CPU; the security CPU controls, according to the target service calling request, a client of a remote file system to initiate to a server of the remote file system a target service execution request, so that after receiving the target service execution request, the server of the remote file system can execute a target service on a storage module of the general CPU side, and send the execution result to the client of the remote file system; and the security CPU returns the execution result received by the client of the remote file system to the general CPU.


