Data analysis, transmission and display method and device, electronic equipment and storage medium

By pre-defined list types in the transmission protocol, splitting list parameters into each list parameter part, and using common parameters and list type fields as header parameter parts, the problems of the time spent on display of list-based structured data and the impact of data transmission errors are solved, and the decoupling and rapid display effect of data analysis and transmission are achieved.

CN119902825APending Publication Date: 2025-04-29FACE CUTE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311403101.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-26
Publication Date
2025-04-29

AI Technical Summary

Technical Problem

When processing serialized data, the first data display of list-based structured data takes a long time, has a poor user experience, and when data transmission is incorrect or parsing fails, it affects the use of other data.

Method used

By predefined list types in the transmission protocol, split the list parameters into each list parameter part, and use the common parameter and list type fields as the header parameter part, decoupling of data analysis and transmission is achieved.

Benefits of technology

It realizes the rapid display of list-based structured data. The first piece of data can be quickly displayed on the page, and will not affect the transmission and analysis process of other data when data transmission is incorrect or parsing fails.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119902825A_ABST
    Figure CN119902825A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a data analysis, transmission and display method and device, electronic equipment and a storage medium, and the data analysis method comprises the steps: receiving a head parameter part of target data, analyzing the head parameter part, and obtaining a general parameter and a target object of a predefined list type; receiving at least one of the list parameter parts of the target data, and analyzing the received list parameter parts to obtain list parameters; wherein after the list parameters are added to the target object, the list parameters and the general parameters are jointly used for rendering at least local page content corresponding to the target data. According to the method, transmission and analysis process decoupling between data in the list type structured data can be realized, the first data can be quickly displayed on the page, and the transmission and analysis process of other data is not influenced under the conditions of data transmission errors and analysis failure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer technology, and in particular, to a method, device, electronic device, and storage medium for analyzing, transmitting, and displaying data. Background Art

[0002] Currently, after the client sends a data request to the server, the received data is generally in a serialized data format. Serialized data can only be parsed when the data transmission is complete, and can only be used as valid data after all parsing is completed.

[0003] When the serialized data is structured data in a list format, it will take a long time for the first data in the list to be displayed on the page, resulting in a poor user experience. In addition, if any data in the list parameter is transmitted incorrectly or parsed, the other transmitted or parsed data cannot be used. Summary of the invention

[0004] The embodiments of the present disclosure provide a data parsing, transmission and display method, device, electronic device and storage medium, which can achieve decoupling of the transmission and parsing processes between each piece of data in a list-like structured data, so that the first piece of data can be quickly displayed on the page, and in the event of data transmission errors or parsing failures, the transmission and parsing processes of other data will not be affected.

[0005] In a first aspect, an embodiment of the present disclosure provides a data parsing method, including:

[0006] Receiving a header parameter portion of target data, parsing the header parameter portion, and obtaining a common parameter and a target object of a predefined list type;

[0007] receiving at least one of the list parameter parts of the target data, and parsing the received list parameter part to obtain a list parameter;

[0008] After being added to the target object, the list parameters are used together with the general parameters to render at least a partial page content corresponding to the target data.

[0009] In a second aspect, an embodiment of the present disclosure provides a data transmission method, including:

[0010] In response to the received data acquisition request, generating target data including a header parameter part and at least one list parameter part; wherein the header parameter part includes a common parameter and a target object of a predefined list type;

[0011] Transmitting the header parameter portion to the request end of the data acquisition request;

[0012] When the header parameter part is transmitted, the at least one list parameter part is transmitted to the requesting end.

[0013] In a third aspect, the present disclosure provides a data display method, including:

[0014] Generate a content acquisition request according to the general parameters and at least one set of list parameters in the target object of the predefined list type; wherein the general parameters and the target object are obtained by parsing the header parameter part of the received target data, and the at least one set of list parameters is obtained based on at least one list parameter part of the target data;

[0015] Sending a content acquisition request to a target server, so that the target server feeds back corresponding content data;

[0016] The content data is received, and the content data is rendered to a page for display.

[0017] In a fourth aspect, the present disclosure also provides a data analysis device, including:

[0018] A header parsing module, used for receiving a header parameter portion of target data, parsing the header parameter portion, and obtaining a common parameter and a target object of a predefined list type;

[0019] A list parsing module, used for receiving at least one of the list parameter parts of the target data, and parsing the received list parameter part to obtain the list parameter;

[0020] After being added to the target object, the list parameters are used together with the general parameters to render at least a partial page content corresponding to the target data.

[0021] In a fifth aspect, an embodiment of the present disclosure further provides a data transmission device, including:

[0022] A data generation module, configured to generate target data including a header parameter portion and at least one list parameter portion in response to a received data acquisition request; wherein the header parameter portion includes a common parameter and a target object of a predefined list type;

[0023] A header transmission module, used for transmitting the header parameter part to the request end of the data acquisition request;

[0024] The list transmission module is used to transmit the at least one list parameter part to the requesting end when the transmission of the header parameter part is completed.

[0025] In a sixth aspect, the present disclosure also provides a data display device, including:

[0026] A content request generation module, configured to generate a content acquisition request according to common parameters and at least one set of list parameters in a target object of a predefined list type; wherein the common parameters and the target object are obtained by parsing a header parameter portion of received target data, and the at least one set of list parameters is obtained based on at least one list parameter portion of the target data;

[0027] A content request sending module, used to send a content acquisition request to a target server, so that the target server feeds back corresponding content data;

[0028] The display module is used to receive the content data and render the content data to a page for display.

[0029] In a seventh aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:

[0030] one or more processors;

[0031] a storage device for storing one or more programs,

[0032] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any one of the embodiments of the present disclosure.

[0033] In an eighth aspect, an embodiment of the present disclosure further provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute any method as described in the embodiments of the present disclosure.

[0034] In the technical solution of the embodiment of the present disclosure, the data parsing method includes: receiving the header parameter part of the target data, parsing the header parameter part to obtain general parameters and a target object of a predefined list type; receiving at least one of the list parameter parts of the target data, and parsing the received list parameter part to obtain list parameters; wherein, after being added to the target object, the list parameters are used together with the general parameters to render at least a partial page content corresponding to the target data.

[0035] By pre-defining the list type in the transmission protocol, in the process of serializing the list-type structured data, the list parameters with consistent data structures can be split out as the list parameter parts, and the remaining general parameters and list type fields can be used as the header parameter part to achieve the decoupling of the list-type data. Therefore, in the data parsing process, when the general parameters and list type fields (i.e., the target object) of the header parameter part are parsed, once any list parameter part is received, the list parameters can be quickly parsed out and added to the target object, so that the list parameters can be used as complete and valid data in combination with the general parameters. This realizes the decoupling of the transmission and parsing process between each piece of data in the list-type structured data, and the first list parameter can be quickly displayed on the page. In the case of list parameter transmission errors or parsing failures, the transmission and parsing process of other data will not be affected. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and the originals and elements are not necessarily drawn to scale.

[0037] Figure 1 A flowchart of a data analysis method provided by an embodiment of the present disclosure;

[0038] Figure 2 A schematic diagram of the structure of target data in a data parsing method provided by an embodiment of the present disclosure;

[0039] Figure 3 A flowchart of a data transmission method provided by an embodiment of the present disclosure;

[0040] Figure 4 A flowchart of a data display method provided by an embodiment of the present disclosure;

[0041] Figure 5 A schematic diagram of the structure of a data analysis device provided by an embodiment of the present disclosure;

[0042] Figure 6 A schematic diagram of the structure of a data transmission device provided by an embodiment of the present disclosure;

[0043] Figure 7 A schematic diagram of the structure of a data display device provided by an embodiment of the present disclosure;

[0044] Figure 8 A schematic diagram of the structure of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0045] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.

[0046] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.

[0047] The term "including" and its variations used herein are open inclusions, i.e., "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.

[0048] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0049] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0050] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.

[0051] Figure 1 A flowchart of a data parsing method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the case of parsing structured data in a tabular format. The method can be performed by a data parsing device, which can be implemented in the form of software and / or hardware, and can be integrated in a client and installed in an electronic device with the client, such as a computer, a mobile phone, or the like.

[0052] like Figure 1 As shown, the data parsing method provided in this embodiment may include:

[0053] S110, receiving a header parameter portion of target data, parsing the header parameter portion, and obtaining a common parameter and a target object of a predefined list type;

[0054] S120, receiving at least one of the list parameter parts of the target data, and parsing the received list parameter part to obtain a list parameter;

[0055] After being added to the target object, the list parameters are used together with the general parameters to render at least a partial page content corresponding to the target data.

[0056] In the embodiment of the present disclosure, the target data belongs to list-type structured data. The list-type structured data can be considered as data including at least one set of list parameters, wherein the elements included in each set of list parameters are the same and the format of each element is also the same. The at least one set of list parameters of the target data can be included in at least one list parameter part.

[0057] Among them, the target data may also include data of non-list parameters. In this embodiment, the data of non-list parameters may include general parameters and field data of predefined list types (i.e., target objects), and these non-list parameters may be included in the header parameter part. Among them, the general parameters may include element parts with the same numerical values ​​extracted from each group of list parameters. It can be considered that the general parameters can be combined with any list parameters to form valid data that can be used. Among them, the list type can be a data type predefined in the data transmission protocol, and an identifier can be customized to characterize the list type in the pre-definition process. When the value corresponding to the field data is an identifier of the list type, the field data can be used as the target object.

[0058] In addition, it can be predefined in the data transmission protocol that, when the header parameter part contains field data of a list type, the part after the header parameter part is at least one list parameter part. Each part of the target data can be represented by symbols such as "{}", and each part can be separated by a preset separator (such as ", ", etc.).

[0059] Accordingly, in the process of parsing the target data, the header parameter part of the target data can be received first, and when the part is received, the data can be parsed based on the existing deserialization method to obtain the elements of each common parameter and its corresponding value, as well as the target object of the list type. Afterwards, in response to receiving any complete list parameter part, the received list parameter part can be parsed based on the existing deserialization method to obtain the list parameter part.

[0060] Among them, when the target data reception and parsing are performed asynchronously, the next part can be received while the previous part of the target data is parsed; when the target data is performed synchronously, the next part can be received after the previous part of the target data is parsed successfully. No specific limitation is made here.

[0061] After parsing to obtain the common parameters, the target object and any set of list parameters, even if there is a list parameter portion of the target data being transmitted and / or parsed, the parsed parameters in the target data can constitute valid data that can be used.

[0062] In this embodiment, the parsed list parameters can be added to the target object. Since the target object and the general parameters are a complete data part, the list parameters and general parameters in the target object can be used to generate a content acquisition request, and can be sent to the server so that the server can feedback the corresponding content data. After receiving the content data, the received content data can be rendered to the page for display based on the existing page rendering method, so that the page can display the content corresponding to the parsed list data in the target data. The data parsing method provided in this embodiment can realize the rapid display of at least a partial page content corresponding to the target data without waiting for the target data to be fully transmitted and parsed, which can improve the user experience.

[0063] In some optional implementations, receiving at least one of the list parameter parts of the target data and parsing the received list parameter parts may include at least one of the following: receiving the next list parameter part when the reception of the current list parameter part fails; parsing the next received list parameter part when the parsing of the currently received list parameter part fails.

[0064] In these optional implementations, when any list parameter part fails to be received, the list parameter part can be skipped to receive the next list parameter part; and / or, when the parsing of the currently received list parameter part fails, the list parameter part can be skipped to parse the next list parameter part. This can achieve that when a list parameter part fails to be transmitted or parsed, the transmission and parsing process of other data is not affected.

[0065] In addition, in the case of data transmission errors and parsing failures, processing can also be performed based on other strategies. For example, in the case of a failure to receive the current list parameter part, the list parameter part and subsequent list parameter parts can be discarded; and / or, in the case of a failure to parse the currently received list parameter part, the list parameter part and subsequent list parameter parts can be discarded, etc., which are not exhaustive here.

[0066] In some optional implementations, the data parsing method may further include: in the event that there is a list parameter portion that fails to be received and / or fails to parse, generating a data acquisition request based on the list parameter portion that fails to be received and / or fails to parse; sending the data acquisition request to the target server so that the target server feeds back new target data.

[0067] In these optional implementations, in the case of a transmission error or parsing failure of the list parameter part, a data acquisition request may be generated based on the list parameter part that failed to be received and / or parsed. For example, a data acquisition request may be generated based on the data identification (ID) in the list parameter part that failed to be received and / or parsed, so as to request the target server again for new target data containing the list parameter parts that failed to be received and / or parsed.

[0068] In addition, when the list parameter part is transmitted incorrectly or parsed unsuccessfully, new target data can be requested based on other strategies. For example, the target server can be asked to request target data containing any list parameter part to make the page content complete, etc., which are not exhaustive here.

[0069] In some implementations, the page content corresponding to the target data may be composed of at least one of text, image, audio, and video. For example, the page content corresponding to the target data may include content in the form of news, video, comments, etc.

[0070] For example, Figure 2 This is a schematic diagram of the structure of target data in a data parsing method provided by an embodiment of the present disclosure. Figure 2 , the page content corresponding to the target data can be news, and each part of the target data can be represented by "{}", and each part can be separated by ",". Figure 2 In the target data, the header parameter part may include elements of various common parameters and their values, as well as a news field (news) of list type (list). Figure 2 In the example, after the header parameter part of the target data, there are three list parameter parts, where the elements in each list parameter part are the same as the element format, but the element values ​​are not exactly the same. Figure 2 After parsing the header parameter part and any part of the list parameter part, you can add the list parameter to news, and then obtain the relevant news content based on the parsed elements and their values ​​of the common parameters, as well as the elements and element values ​​in the parsed list parameters, and render the obtained news content to the page for display.

[0071] The technical solution of the embodiment of the present disclosure receives a header parameter part of the target data, parses the header parameter part, obtains general parameters and a target object of a predefined list type; receives at least one of the list parameter parts of the target data, and parses the received list parameter part to obtain list parameters; wherein, after the list parameters are added to the target object, they are used together with the general parameters to render at least a partial page content corresponding to the target data.

[0072] By pre-defining the list type in the transmission protocol, in the process of serializing the list-type structured data, the list parameters with consistent data structures can be split out as the list parameter parts, and the remaining general parameters and list type fields can be used as the header parameter part to achieve the decoupling of the list-type data. Therefore, in the data parsing process, when the general parameters and list type fields (i.e., the target object) of the header parameter part are parsed, once any list parameter part is received, the list parameters can be quickly parsed out and added to the target object, so that the list parameters can be used as complete and valid data in combination with the general parameters. This realizes the decoupling of the transmission and parsing process between each piece of data in the list-type structured data, and the first list parameter can be quickly displayed on the page. In the case of list parameter transmission errors or parsing failures, the transmission and parsing process of other data will not be affected.

[0073] Figure 3 A flowchart of a data transmission method provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the case of transmitting structured data in a list format. The method can be performed by a data transmission device, which can be implemented in the form of software and / or hardware, and the device can be configured in an electronic device, for example, configured in a server.

[0074] like Figure 3 As shown, the data transmission method provided in this embodiment may include:

[0075] S310. In response to a received data acquisition request, generate target data including a header parameter part and at least one list parameter part; wherein the header parameter part includes common parameters and a target object of a predefined list type.

[0076] In the disclosed embodiment, the server may receive a data acquisition request sent by a requester (usually a client), and may generate target data based on the data acquisition request.

[0077] The target data is a list-type structured data. The list-type structured data can be considered as data including at least one set of list parameters, wherein the elements included in each set of list parameters are the same and the format of each element is also the same. The at least one set of list parameters of the target data can be included in at least one list parameter part.

[0078] Among them, the target data may also include data of non-list parameters. In this embodiment, the data of non-list parameters may include general parameters and field data of predefined list types (i.e., target objects), and these non-list parameters may be included in the header parameter part. Among them, the general parameters may include element parts with the same numerical values ​​extracted from each group of list parameters. It can be considered that the general parameters can be combined with any list parameters to form valid data that can be used. Among them, the list type can be a data type predefined in the data transmission protocol, and an identifier can be customized to characterize the list type in the pre-definition process. When the value corresponding to the field data is an identifier of the list type, the field data can be used as the target object.

[0079] In addition, it can be predefined in the data transmission protocol that, when the header parameter part contains field data of a list type, the part after the header parameter part is at least one list parameter part. Each part of the target data can be represented by symbols such as "{}", and each part can be separated by a preset separator (such as ", ", etc.).

[0080] S320: Transmit the header parameter portion to the request end of the data acquisition request.

[0081] In the disclosed embodiment, the header parameter part can be serialized based on the existing serialization method and transmitted to the request end, so that the request end first receives and parses the header parameter part of the target data to obtain the general parameters and the target object of the predefined list type.

[0082] S330, when the header parameter part is transmitted, at least one list parameter part is transmitted to the requesting end.

[0083] When the header parameter part is transmitted, each list parameter part can be serialized in turn based on the existing serialization method and transmitted to the request end. Therefore, after receiving at least one of the list parameter parts of the target data, the request end can parse the received list parameter part to obtain the list parameter; wherein, after being added to the target object, the list parameter is used together with the common parameter to render at least a partial page content corresponding to the target data.

[0084] The technical solution of the embodiment of the present disclosure generates target data including a header parameter part and at least one list parameter part in response to a received data acquisition request; wherein the header parameter part includes common parameters and a target object of a predefined list type; the header parameter part is transmitted to the request end of the data acquisition request; when the transmission of the header parameter part is completed, at least one list parameter part is transmitted to the request end.

[0085] By pre-defining the list type in the transmission protocol, in the process of serializing list-type structured data, the list parameters with consistent data structures can be split into list parameter parts, and the remaining common parameters and list type fields can be used as the header parameter part to achieve the decoupling of list-type data. By sending the header parameter part first and then sending the list parameter parts in sequence, the request end can parse out the common parameters of the header parameter part and the target object of the list type. Once any list parameter part is received, the list parameters can be quickly parsed and added to the target object, so that the list parameters can be used in combination with the common parameters as complete and valid data.

[0086] In addition, the data transmission method provided in the embodiment of the present disclosure and the data analysis method provided in the above embodiment belong to the same public concept. The technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.

[0087] Figure 4 A flowchart of a data display method provided by an embodiment of the present disclosure. The present disclosure embodiment is applicable to the case of displaying structured data in a list format. The method can be executed by a data display device, which can be implemented in the form of software and / or hardware, and can be integrated in a client and installed in an electronic device with the client, such as a computer, a mobile phone, or the like.

[0088] like Figure 4 As shown, the data display method provided in this embodiment may include:

[0089] S410: Generate a content acquisition request according to common parameters and at least one set of list parameters in a target object of a predefined list type.

[0090] The general parameters and the target object are obtained by parsing the header parameter portion of the received target data, and at least one set of list parameters is obtained based on at least one list parameter portion of the target data.

[0091] In the disclosed embodiment, after the client parses and obtains the general parameters, the target object, and any set of list parameters, even if there is a list parameter part of the target data being transmitted and / or parsed, the parsed parameters in the target data can constitute valid data that can be used. Among them, the parsed list parameters can be added to the target object. Since the target object and the general parameters are a complete data part, the list parameters and general parameters in the target object can be used to generate a content acquisition request.

[0092] S420: Send a content acquisition request to the target server, so that the target server feeds back corresponding content data.

[0093] In the disclosed embodiment, the client may send a content acquisition request to a target server, and the target server may extract content data resources based on parameters in the content acquisition request and feed the content data resources back to the client.

[0094] S430: Receive content data, and render the content data to a page for display.

[0095] In the disclosed embodiment, after receiving the content data, the client can render the received content data to the page for display based on the existing page rendering method, so that the page can display the content corresponding to the parsed list data in the target data. Therefore, there is no need to wait for the target data to be fully transmitted and parsed, and at least a partial page content corresponding to the target data can be quickly displayed, which can improve the user experience.

[0096] The technical solution of the disclosed embodiment generates a content acquisition request based on the general parameters and at least one set of list parameters in the target object of the predefined list type; wherein the general parameters and the target object are partially parsed based on the header parameters of the received target data, and at least one set of list parameters are partially parsed based on at least one list parameter of the target data; a content acquisition request is sent to the target server so that the target server feeds back the corresponding content data; the content data is received, and the content data is rendered to a page for display. Without waiting for the target data to be fully transmitted and parsed, the rapid display of at least a partial page content corresponding to the target data can be achieved, which can improve the user experience.

[0097] In addition, the data display method provided in the embodiment of the present disclosure and the data analysis and data transmission methods provided in the above-mentioned embodiments belong to the same public concept. The technical details not fully described in this embodiment can be referred to the above-mentioned embodiments, and this embodiment has the same beneficial effects as the above-mentioned embodiments.

[0098] Figure 5 The data analysis device provided in this embodiment is suitable for analyzing structured data in a tabular format. The device can be integrated into a client and installed in an electronic device with the client, such as a computer, a mobile phone, or the like.

[0099] like Figure 5 As shown, the data parsing device provided by the embodiment of the present disclosure may include:

[0100] A header parsing module 510 is used to receive a header parameter portion of target data, parse the header parameter portion, and obtain a common parameter and a target object of a predefined list type;

[0101] A list parsing module 520, configured to receive at least one of the list parameter parts of the target data, and parse the received list parameter part to obtain the list parameter;

[0102] After being added to the target object, the list parameters are used together with the general parameters to render at least a partial page content corresponding to the target data.

[0103] In some optional implementations, the list parsing module can be used for at least one of the following:

[0104] In case that the current list parameter part fails to be received, the next list parameter part is received;

[0105] If the parsing of the currently received list parameter part fails, the next received list parameter part is parsed.

[0106] In some optional implementations, the data analysis device may further include:

[0107] A data request generating module, used for generating a data acquisition request according to the list parameter part that failed to be received and / or failed to be parsed, when there is a list parameter part that failed to be received and / or failed to be parsed;

[0108] The data request sending module is used to send a data acquisition request to the target server so that the target server can feedback new target data.

[0109] In some optional implementations, the page content corresponding to the target data is composed of at least one of text, image, audio and video.

[0110] The data analysis device provided in the embodiments of the present disclosure can execute the data analysis method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0111] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.

[0112] Figure 6 The following is a schematic diagram of the structure of a data transmission device provided by an embodiment of the present disclosure. The data transmission device provided by this embodiment is suitable for transmitting list-type structured data. The device can be configured in an electronic device, for example, in a server.

[0113] like Figure 6 As shown, the data transmission device provided by the embodiment of the present disclosure may include:

[0114] The data generation module 610 is used to generate target data including a header parameter part and at least one list parameter part in response to the received data acquisition request; wherein the header parameter part includes a common parameter and a target object of a predefined list type;

[0115] The header transmission module 620 is used to transmit the header parameter part to the request end of the data acquisition request;

[0116] The list transmission module 630 is used to transmit at least one list parameter part to the requesting end when the transmission of the header parameter part is completed.

[0117] The data transmission device provided in the embodiments of the present disclosure can execute the data transmission method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0118] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.

[0119] Figure 7 The present invention provides a schematic diagram of the structure of a data display device provided in an embodiment of the present invention. The data display device provided in this embodiment is suitable for displaying structured data in a list format. The device can be integrated in a client and installed in an electronic device with the client, such as a computer, a mobile phone, or the like.

[0120] like Figure 7 As shown, the data display device provided by the embodiment of the present disclosure may include:

[0121] The content request generation module 710 is used to generate a content acquisition request according to the general parameters and at least one set of list parameters in the target object of the predefined list type; wherein the general parameters and the target object are obtained by parsing the header parameter part of the received target data, and the at least one set of list parameters is obtained based on at least one list parameter part of the target data;

[0122] The content request sending module 720 is used to send a content acquisition request to a target server so that the target server can feed back corresponding content data;

[0123] The display module 730 is used to receive content data and render the content data to a page for display.

[0124] The data display device provided in the embodiments of the present disclosure can execute the data display method provided in any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.

[0125] It is worth noting that the various units and modules included in the above-mentioned device are only divided according to functional logic, but are not limited to the above-mentioned division, as long as the corresponding functions can be achieved; in addition, the specific names of the functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the embodiments of the present disclosure.

[0126] Reference below Figure 8 , which shows an electronic device (eg, Figure 8 The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0127] like Figure 8 As shown, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 to a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 are also stored. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0128] Typically, the following devices may be connected to the I / O interface 805: input devices 806 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 808 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 The electronic device 800 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0129] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 809, or installed from the storage device 808, or installed from the ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the data parsing, transmission or display method of the embodiment of the present disclosure are executed.

[0130] The electronic device provided in the embodiment of the present disclosure and the data analysis, data transmission and data display methods provided in the above-mentioned embodiments belong to the same public concept. The technical details not fully described in this embodiment can be found in the above-mentioned embodiments, and this embodiment has the same beneficial effects as the above-mentioned embodiments.

[0131] An embodiment of the present disclosure provides a computer storage medium having a computer program stored thereon. When the program is executed by a processor, the data parsing, data transmission or data display method provided in the above embodiment is implemented.

[0132] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM) or a flash memory (FLASH), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than computer readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0133] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.

[0134] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0135] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:

[0136] Receive a header parameter portion of the target data, parse the header parameter portion to obtain general parameters and a target object of a predefined list type; receive at least one of the list parameter portions of the target data, and parse the received list parameter portion to obtain list parameters; wherein, after being added to the target object, the list parameters are used together with the general parameters to render at least a partial page content corresponding to the target data.

[0137] Alternatively, the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device:

[0138] In response to a received data acquisition request, target data including a header parameter part and at least one list parameter part is generated; wherein the header parameter part includes common parameters and a target object of a predefined list type; the header parameter part is transmitted to the request end of the data acquisition request; when the transmission of the header parameter part is completed, at least one list parameter part is transmitted to the request end.

[0139] Alternatively, the computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device:

[0140] Generate a content acquisition request based on common parameters and at least one set of list parameters in a target object of a predefined list type; wherein the common parameters and the target object are obtained by parsing a header parameter portion of received target data, and at least one set of list parameters is obtained based on at least one list parameter portion of the target data; send a content acquisition request to a target server so that the target server feeds back corresponding content data; receive the content data, and render the content data to a page for display.

[0141] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0142] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0143] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the names of the units and modules do not, in some cases, limit the units and modules themselves.

[0144] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: Field Programmable Gate Array (FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Parts (ASSP), System on Chip (SOC), Complex Programmable Logic Device (CPLD), etc.

[0145] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0146] According to one or more embodiments of the present disclosure, [Example 1] provides a data parsing method, the method comprising:

[0147] Receiving a header parameter portion of target data, parsing the header parameter portion, and obtaining a common parameter and a target object of a predefined list type;

[0148] receiving at least one of the list parameter parts of the target data, and parsing the received list parameter part to obtain a list parameter;

[0149] After being added to the target object, the list parameters are used together with the general parameters to render at least a partial page content corresponding to the target data.

[0150] According to one or more embodiments of the present disclosure, [Example 2] provides a data parsing method, further comprising:

[0151] In some optional implementations, the receiving at least one of the list parameter parts of the target data and parsing the received list parameter part includes at least one of the following:

[0152] In case that the current list parameter part fails to be received, the next list parameter part is received;

[0153] If the parsing of the currently received list parameter part fails, the next received list parameter part is parsed.

[0154] According to one or more embodiments of the present disclosure, [Example 3] provides a data parsing method, further comprising:

[0155] In some optional implementations, in the case where there is a list parameter portion that fails to be received and / or fails to be parsed, a data acquisition request is generated according to the list parameter portion that fails to be received and / or fails to be parsed;

[0156] The data acquisition request is sent to the target server, so that the target server feeds back new target data.

[0157] According to one or more embodiments of the present disclosure, [Example 4] provides a data parsing method, further comprising:

[0158] In some optional implementations, the page content corresponding to the target data is composed of at least one of text, image, audio and video.

[0159] According to one or more embodiments of the present disclosure, [Example 5] provides a data transmission method, the method comprising:

[0160] In response to the received data acquisition request, generating target data including a header parameter part and at least one list parameter part; wherein the header parameter part includes a common parameter and a target object of a predefined list type;

[0161] Transmitting the header parameter portion to the request end of the data acquisition request;

[0162] When the header parameter part is transmitted, the at least one list parameter part is transmitted to the requesting end.

[0163] According to one or more embodiments of the present disclosure, [Example 6] provides a data display method, the method comprising:

[0164] Generate a content acquisition request according to the general parameters and at least one set of list parameters in the target object of the predefined list type; wherein the general parameters and the target object are obtained by parsing the header parameter part of the received target data, and the at least one set of list parameters is obtained based on at least one list parameter part of the target data;

[0165] Sending a content acquisition request to a target server, so that the target server feeds back corresponding content data;

[0166] The content data is received, and the content data is rendered to a page for display.

[0167] According to one or more embodiments of the present disclosure, [Example 7] provides a data parsing device, including:

[0168] A header parsing module, used for receiving a header parameter portion of target data, parsing the header parameter portion, and obtaining a common parameter and a target object of a predefined list type;

[0169] A list parsing module, used for receiving at least one of the list parameter parts of the target data, and parsing the received list parameter part to obtain the list parameter;

[0170] After being added to the target object, the list parameters are used together with the general parameters to render at least a partial page content corresponding to the target data.

[0171] According to one or more embodiments of the present disclosure, [Example 8] provides a data transmission device, including:

[0172] A data generation module, configured to generate target data including a header parameter portion and at least one list parameter portion in response to a received data acquisition request; wherein the header parameter portion includes a common parameter and a target object of a predefined list type;

[0173] A header transmission module, used for transmitting the header parameter part to the request end of the data acquisition request;

[0174] The list transmission module is used to transmit the at least one list parameter part to the requesting end when the transmission of the header parameter part is completed.

[0175] According to one or more embodiments of the present disclosure, [Example 9] provides a data display device, including:

[0176] A content request generation module, configured to generate a content acquisition request according to common parameters and at least one set of list parameters in a target object of a predefined list type; wherein the common parameters and the target object are obtained by parsing a header parameter portion of received target data, and the at least one set of list parameters is obtained based on at least one list parameter portion of the target data;

[0177] A content request sending module, used to send a content acquisition request to a target server, so that the target server feeds back corresponding content data;

[0178] The display module is used to receive the content data and render the content data to a page for display.

[0179] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0180] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0181] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A data analysis method, characterized in that: include: Receiving a header parameter portion of target data, parsing the header parameter portion, and obtaining a common parameter and a target object of a predefined list type; receiving at least one of the list parameter parts of the target data, and parsing the received list parameter part to obtain a list parameter; After being added to the target object, the list parameters are used together with the general parameters to render at least a partial page content corresponding to the target data.

2. The method according to claim 1, characterized in that The receiving at least one of the list parameter parts of the target data and parsing the received list parameter part includes at least one of the following: In case that the current list parameter part fails to be received, the next list parameter part is received; If the parsing of the currently received list parameter part fails, the next received list parameter part is parsed.

3. The method according to claim 2, characterized in that Also includes: In the case where there is a list parameter part that fails to be received and / or fails to be parsed, generating a data acquisition request according to the list parameter part that fails to be received and / or fails to be parsed; The data acquisition request is sent to the target server, so that the target server feeds back new target data.

4. The method according to any one of claims 1 to 3, characterized in that: The page content corresponding to the target data is composed of at least one of text, image, audio and video.

5. A data transmission method, characterized in that: include: In response to the received data acquisition request, generating target data including a header parameter part and at least one list parameter part; wherein the header parameter part includes a common parameter and a target object of a predefined list type; Transmitting the header parameter portion to the request end of the data acquisition request; When the header parameter part is transmitted, the at least one list parameter part is transmitted to the requesting end.

6. A data display method, characterized in that: include: Generate a content acquisition request according to the general parameters and at least one set of list parameters in the target object of the predefined list type; wherein the general parameters and the target object are obtained by parsing the header parameter part of the received target data, and the at least one set of list parameters is obtained based on at least one list parameter part of the target data; Sending a content acquisition request to a target server, so that the target server feeds back corresponding content data; The content data is received, and the content data is rendered to a page for display.

7. A data analysis device, characterized in that: include: A header parsing module, used for receiving a header parameter portion of target data, parsing the header parameter portion, and obtaining a common parameter and a target object of a predefined list type; A list parsing module, used for receiving at least one of the list parameter parts of the target data, and parsing the received list parameter part to obtain the list parameter; After being added to the target object, the list parameters are used together with the general parameters to render at least a partial page content corresponding to the target data.

8. A data transmission device, characterized in that: include: A data generation module, configured to generate target data including a header parameter portion and at least one list parameter portion in response to a received data acquisition request; wherein the header parameter portion includes a common parameter and a target object of a predefined list type; A header transmission module, used for transmitting the header parameter part to the request end of the data acquisition request; The list transmission module is used to transmit the at least one list parameter part to the requesting end when the transmission of the header parameter part is completed.

9. A data display device, characterized in that: include: A content request generation module, configured to generate a content acquisition request according to common parameters and at least one set of list parameters in a target object of a predefined list type; wherein the common parameters and the target object are obtained by parsing a header parameter portion of received target data, and the at least one set of list parameters is obtained based on at least one list parameter portion of the target data; A content request sending module, used to send a content acquisition request to a target server, so that the target server feeds back corresponding content data; The display module is used to receive the content data and render the content data to a page for display.

10. An electronic device, characterized in that: The electronic device comprises: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 6.

11. A storage medium comprising computer executable instructions, which when executed by a computer processor are used to perform the method according to any one of claims 1 to 6.