Structured List Data Parsing via Header-List Segmentation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The current methods for handling serialized data, particularly structured data of the list type, result in poor user experience due to long delays in displaying the first data in the list and inability to use other data in case of transmission or parsing errors.
Innovation Solution
The proposed solution involves decoupling the transmission and parsing processes for each piece of data in structured list-type data by splitting list parameters into separate parts and using header parameters to define the general parameters and list type objects, allowing for early display of partial page content and continued processing of other data even in the presence of errors.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If serialized data is parsed only after complete transmission, then data integrity is ensured, but display time is prolonged and user experience deteriorates
Solution Approach 1:
The patent segments the serialized data into header parameter parts and list parameter parts, allowing the header to be parsed and displayed immediately while list data is transmitted and parsed asynchronously. This segmentation enables early display without compromising eventual data integrity.
Solution Approach 2:
The header parameter part is parsed and processed in advance before the complete list data is received. This preliminary action allows the system to display immediate results (first piece of data) while continuing to transmit and parse the remaining data in the background.
2Reliability
If all list data must be transmitted and parsed successfully, then complete data availability is achieved, but any single error prevents use of other data
Solution Approach 1:
By dividing data into header parameter parts and list parameter parts, the system can process the header independently and display results immediately, while list data is processed asynchronously. Errors in list data do not block the display of header information or valid list data.
Solution Approach 2:
The parsing process continues asynchronously for list parameter parts while the header is being displayed. This continuous processing ensures that valid data can be utilized immediately without waiting for error-free completion of the entire data set.
3Device complexity
If structured list data is processed as a single unit, then processing simplicity is maintained, but first data display is delayed
Solution Approach 1:
The patent applies segmentation by separating the data structure into header parameter parts (containing general parameters and list type information) and list parameter parts (containing actual list data). This allows independent processing and immediate display of header information.
Solution Approach 2:
The header parameter part is processed in advance as a preliminary action, extracting general parameters and list type information before the actual list data is received. This enables immediate display of structured information while list data is transmitted and processed in the background.
Data Source
AI summary
The embodiments of the disclosure disclose a data parsing, transmission and display method, an apparatus, an electronic device and a storage medium. The method includes: receiving a header parameter part of target data, and parsing the header parameter part to obtain a general parameter and a target object of a predefined list type; receiving at least one of list parameter parts of the target data, and parsing the at least one received list parameter part to obtain a list parameter; wherein the list parameter, after being added to the target object, is configured to render at least partial page content corresponding to the target data with the general parameter.


