Page Synchronization via QR Code Progress Embedding
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current page synchronization methods between mobile and PC browsers or between mobile browsers only reload the page, failing to automatically synchronize the progress position, causing inconvenience to users who need to manually navigate back to their previous position.
Innovation Solution
A method and device that acquire and parse a two-dimensional code to identify page address and progress information, generate execution code indicating the page progress, and execute it while loading the page to ensure synchronized display, including determining the existence and type of page progress information and converting it into a format for scrolling or form assignment.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of information
If page synchronization is implemented by scanning a two-dimensional code, then URL sharing between devices is achieved, but page progress position cannot be synchronized automatically
Solution Approach 1:
The sending terminal performs preliminary action by capturing the page progress position information before generating the two-dimensional code. The progress information is embedded in the code along with the URL, so that when the receiving terminal scans the code, both the page address and the exact progress position are obtained in advance, eliminating the need for manual navigation.
2Adaptability or versatility
If only URL information is synchronized through two-dimensional code, then device compatibility is improved, but user convenience deteriorates due to required manual relocation
Solution Approach 1:
The synchronization data is segmented into two parts: the URL information for page identification and the progress position information for resuming browsing. Both segments are embedded in the two-dimensional code, allowing the receiving terminal to independently process each segment - using the URL to load the correct page and the progress information to automatically scroll to the correct position, thereby maintaining device compatibility while eliminating manual relocation.
3Loss of information
If page progress information is embedded in two-dimensional code, then page progress synchronization is achieved, but data structure complexity increases
Solution Approach 1:
A standardized data structure serves as an intermediary between the sending and receiving terminals. The progress information is formatted according to a predetermined structure that includes fields for position coordinates and scroll depth. This intermediary structure simplifies the embedding and extraction processes, allowing both terminals to handle complex progress information through a uniform interface without increasing overall system complexity.
Data Source
AI summary
The present disclosure provides a page synchronization method. The method includes: acquiring and parsing a two-dimensional code to obtain to-be-synchronized page data contained in the two-dimensional code; identifying a page address and page progress information from the to-be-synchronized page data; generating an execution code for indicating the page progress according to the page progress information; loading a page according to the page address; and executing the execution code while loading the page, and displaying the page according to the page progress indicated in the execution code. The disclosed method can solve the problem in the prior art that the page progress cannot be automatically synchronized during page synchronization, and can thus improve the user experience.


