Programmable Barcode Encoding Logical Functions
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing bar code technologies are limited by carrying only simple information, which restricts their application to more complex scenarios.
Innovation Solution
A programmable bar code is developed by encoding target code that implements logical judgments and simple algorithms, allowing the bar code to carry and execute more complex information, enabling it to be used in various logical functions and expanding its range of applications.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of information
If traditional bar code encoding is used, then the bar code can be easily generated and scanned, but the information carried is limited to simple static data
Solution Approach 1:
The patent changes the fundamental parameter of bar code content from static information to executable code. The bar code encodes target code that can perform logical judgments, algorithms, and call hardware, transforming the bar code from a simple data carrier to a programmable instruction carrier. This resolves the contradiction by expanding information capacity while managing complexity through standardized encoding protocols.
Solution Approach 2:
The patent makes the bar code universal by enabling it to perform multiple functions: carrying information, executing logic, controlling hardware, and adapting to different scenarios. The same bar code structure can encode various types of target code for different applications, making the system versatile across diverse use cases while maintaining a unified approach.
2Adaptability or versatility
If bar codes carry only static information, then scanning and display is simple, but the application range is limited
Solution Approach 1:
The bar code system performs self-service by encoding target code that automatically executes logical functions and calls hardware when scanned. The bar code itself contains the instructions for what should be done, eliminating the need for complex external processing systems. The scanning device simply needs to decode and execute the embedded target code, maintaining ease of operation while expanding application range.
3Extent of automation
If executable code is embedded in bar codes, then logical functions can be implemented, but the decoding and execution becomes more complex
Solution Approach 1:
The patent applies preliminary action by pre-compiling and optimizing the target code before embedding it in the bar code. The code is prepared in advance to ensure efficient execution and standardized format, reducing the complexity of decoding and execution. This pre-processing step resolves the contradiction by ensuring the code is ready for straightforward decoding while maintaining high automation capability.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A method and a device for displaying a barcode, a storage medium and an electronic device. The method comprises: acquiring a programmable barcode encoding request (S202); generating a target programmable barcode in response to the programmable barcode encoding request, said target programmable barcode being a barcode obtained by encoding a target code, the target code being used to execute a target logic function (S204); displaying said target programmable barcode (S206). The method solves the technical problem in the related art that information carried by a barcode is relatively simple.