Information transmission method and device, server, terminal equipment and storage medium

By obtaining the cached results of the request information, determining the prediction results and generating the actual results, and transmitting the prediction and judgment results in chunks, the problem of improving network response speed without expanding capacity is solved, and fast data presentation is achieved.

CN121864864APending Publication Date: 2026-04-14BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

How to improve network response speed to quickly deliver massive amounts of data to users without requiring a large amount of physical expansion?

Method used

By obtaining the cached results of the request information, the prediction result is determined, and the actual result and judgment result are generated. The prediction result and judgment result are transmitted in blocks and data is transmitted using a streaming protocol.

Benefits of technology

It improves the response speed of request information, ensures that the prediction result is transmitted quickly after the request information is obtained, and transmits the judgment result after the judgment result is determined, thereby improving the network response speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121864864A_ABST
    Figure CN121864864A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides an information transmission method and device, a server, terminal equipment and a storage medium. The information transmission method comprises the steps that request information is acquired; under the condition that a cache result associated with the request information exists, determining a prediction result corresponding to the cache result; generating a real result of the request information, and determining a judgment result of the prediction result and the real result; and respectively taking the prediction result and the judgment result as data blocks, and sequentially performing block transmission on the prediction result and the judgment result. According to the information transmission method, the prediction result of the request information is transmitted after the request information is acquired, and then the judgment result is transmitted after the judgment result is determined. And the response speed of the request information is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to communication technology, and more particularly to an information transmission method, apparatus, server, terminal device, and storage medium. Background Technology

[0002] As data grows ever larger, users demand ever-increasing speeds for information access. How to quickly present massive amounts of data to users has become a critical issue. Addressing this problem with optimization methods such as physical capacity expansion and upgrading device performance is costly. Therefore, improving network response speed without significant physical capacity expansion is a pressing technical challenge. Summary of the Invention

[0003] This disclosure provides an information transmission method, apparatus, server, terminal device, and storage medium to improve network response speed.

[0004] In a first aspect, embodiments of this disclosure provide an information transmission method, including:

[0005] Get the request information;

[0006] If a cached result associated with the request information exists, determine the prediction result corresponding to the cached result;

[0007] Generate the actual result of the requested information, and determine the judgment result of the predicted result and the actual result;

[0008] The prediction result and the determination result are respectively treated as data blocks, and the prediction result and the determination result are transmitted in blocks in sequence.

[0009] Secondly, embodiments of this disclosure also provide an information transmission method, including...

[0010] Transmit request information;

[0011] The prediction and judgment results corresponding to the request information are obtained in blocks;

[0012] The prediction result is rendered, and if the determination result is obtained, the prediction result is processed based on the determination result.

[0013] Thirdly, embodiments of this disclosure also provide an information transmission device, including:

[0014] The acquisition module is used to obtain request information;

[0015] The determining module is used to determine the prediction result corresponding to the cached result when there is a cached result associated with the request information;

[0016] A generation module is used to generate the actual result of the request information and determine the judgment result of the predicted result and the actual result;

[0017] The transmission module is used to transmit the prediction result and the determination result as data blocks in sequence.

[0018] Fourthly, embodiments of this disclosure also provide an information transmission device, including:

[0019] The transmission module is used to transmit request information;

[0020] The acquisition module is used to acquire the prediction results and judgment results corresponding to the request information in blocks;

[0021] The rendering module is used to render the prediction result and, if the determination result is obtained, process the prediction result based on the determination result.

[0022] Fifthly, embodiments of this disclosure provide a server, the server comprising:

[0023] One or more processing devices;

[0024] Storage device for storing one or more programs.

[0025] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement an information transmission method as provided in the first aspect of the present disclosure.

[0026] Sixthly, embodiments of this disclosure provide a terminal device, the terminal device comprising:

[0027] One or more processing devices;

[0028] Storage device for storing one or more programs.

[0029] When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement an information transmission method as provided in the second aspect of the present disclosure.

[0030] In a seventh aspect, embodiments of this disclosure provide a storage medium containing computer-executable instructions, which, when executed by a computer processor, are used to perform the information transmission method provided in embodiments of this disclosure.

[0031] In this embodiment, after obtaining request information, the cached result associated with the request information is determined, the predicted result of the request information is determined based on the cached result, and the true result of the request information is generated. A judgment result is then determined between the true result and the predicted result. The predicted result and the judgment result are transmitted in blocks, enabling the transmission of the predicted result of the request information after obtaining it, and then the transmission of the judgment result after determining it. This improves the response speed of request information. Attached Figure Description

[0032] The above and other features, advantages, and aspects of the embodiments of this disclosure will become more apparent from the accompanying drawings and the following detailed description. Throughout the drawings, the same or similar reference numerals denote 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.

[0033] Figure 1 This is a flowchart illustrating an information transmission method provided in an embodiment of this disclosure;

[0034] Figure 2 This is a schematic diagram of a communication architecture provided in an embodiment of this disclosure;

[0035] Figure 3 This is a schematic diagram of a streaming protocol structure provided in an embodiment of this disclosure;

[0036] Figure 4 This is a flowchart illustrating another information transmission method provided in this embodiment of the present disclosure;

[0037] Figure 5 This is a schematic diagram of a process for caching request results provided in an embodiment of this disclosure;

[0038] Figure 6 This is a schematic diagram of a prediction result distribution process provided in an embodiment of this disclosure;

[0039] Figure 7 This is a schematic diagram of a client-side data rendering process provided in an embodiment of this disclosure;

[0040] Figure 8 This is a flowchart illustrating an information transmission method provided in an embodiment of this disclosure;

[0041] Figure 9 This is a schematic diagram of the structure of an information transmission device provided in an embodiment of this disclosure;

[0042] Figure 10 This is a schematic diagram of the structure of another information transmission device provided in the embodiments of this disclosure;

[0043] Figure 11 This is a schematic diagram of the structure of a server provided in an embodiment of this disclosure;

[0044] Figure 12 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this disclosure. Detailed Implementation

[0045] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.

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

[0047] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based 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". Definitions of other terms will be given in the description below.

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

[0049] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".

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

[0051] This disclosure provides an information transmission method to improve network response speed.

[0052] Figure 1This is a flowchart illustrating an information transmission method provided in an embodiment of this disclosure. This embodiment is applicable to situations requiring rapid response to request information, such as when a server quickly responds to a client's request. The method can be executed by an information transmission device, which can be implemented in software and / or hardware, optionally through a server.

[0053] Figure 2 This is a schematic diagram of a communication architecture provided in an embodiment of this disclosure. See also... Figure 2 As shown, the terminal device communicates with the server side as the terminal side. The terminal side transmits request information to the server side, and the server side can respond to the request information based on a streaming protocol. The server side includes an access layer server, a cache result server, a differential server, and a data server. The access layer server, cache result server, differential server, and data server can each provide services that implement their respective functions on the server side.

[0054] In this system, the access layer server can be the server-side component closest to the terminal device, responsible for receiving and initially processing user requests. The cache result server is a server that performs caching; cached results associated with the request information can be retrieved from the cache result server to achieve result prediction. The differential server is a server that generates differential results. The data server can be considered the server that generates the actual result of the request information. The data server can be the primary source of data; other servers may obtain data from the data server for processing or to provide services as needed. For example, the access layer server can request the data server to generate the actual result of the request information via Remote Procedure Call (RPC).

[0055] The server and terminal can communicate via a streaming protocol, which can transmit prediction results, differential results, response results, and other data. The prediction result can be a prediction of the requested information, such as a cached result or a match found with the requested information. The differential result can be the result obtained by differencing the predicted result with the actual result; or the result obtained by differencing the predicted intermediate result with the predicted result. The actual result can be the actual response generated by the data server from the requested information. The intermediate result can be the result determined after the prediction result is determined and before the actual result is determined. The time of determination of the prediction result, intermediate result, and actual result is progressively sequential. The prediction result is determined first, then the intermediate result is determined after the prediction result, and finally the actual result is determined after the intermediate result, with the determination time of the three increasing sequentially.

[0056] The intermediate results can be cached search results associated with the request information, or results that populate the data requested by the packaged request. Here, packaging can be considered as filling in data. Search results include skeleton data obtained by searching based on historical request information, such as skeleton data obtained after searching historical request information. Correspondingly, packaging can be considered as filling data into the skeleton data. Skeleton data is a general, fundamental, or core data structure that provides a basic framework and support for more complex data sets or systems. The streaming transmission provided in this disclosure can continuously send and receive data.

[0057] After obtaining the prediction result (forecast) on the terminal side, prediction processing can be performed. After obtaining the difference result, the differences can be merged. After obtaining the response result, the prediction result and the difference result can be rendered. After obtaining the remaining data, other data can be rendered.

[0058] like Figure 1 As shown, the method includes:

[0059] S110. Obtain request information.

[0060] Request information can be considered as information requesting data, such as relevant data and instructions sent by the client to the server to request a certain service, obtain specific data, or perform a specific operation.

[0061] This operation can obtain request information transmitted by the terminal device, process the request information, and respond to the request information.

[0062] S120. If there is a cached result associated with the request information, determine the prediction result corresponding to the cached result.

[0063] Cached results can be considered as results cached on the server side. The cached results associated with the request information can be data that can serve as the response information. The server can cache the actual results of historically retrieved request information. When retrieving request information in the current instance, it can check the cache to see if there is a cached result associated with the current request information. The data in the cache can be data stored after the server has processed historical request data, or it can be data pre-set in the cache.

[0064] The prediction result can be considered as the result obtained by predicting the requested information. This result can be the actual result of historically obtained request information. Because this actual result is associated with the current request information, it can be returned to the terminal device before the actual result of the current request information is generated to improve data feedback speed. The prediction result can be directly transmitted to the terminal device. The prediction result corresponding to the cached result can be a prediction result determined based on the cached result. There is no limitation on the determination method here; for example, the cached result can be directly determined as the prediction result, or the cached result can be optimized and used as the prediction result.

[0065] After obtaining the request information, this operation can check if there is a cached result associated with the request information. If so, the predicted result corresponding to the cached result can be determined so as to quickly respond to the request information.

[0066] S130. Generate the true result of the request information, and determine the judgment result of the prediction result and the true result.

[0067] The actual result can be the content of the response obtained after the request information has been processed. For example, the accurate and realistic final response returned by the data server after processing the request information sent by the client. The data server's processing includes stages such as request parsing, data processing, and result generation. The execution order of this operation and S120 is not limited; they can be executed synchronously or sequentially. After obtaining the request information, this operation can request the data server to generate the actual result of the request information.

[0068] After obtaining the actual results, this operation can compare the actual results with the predicted results to obtain a judgment result.

[0069] The judgment result can be considered as the result obtained by comparing the predicted result and the actual result. The judgment result can indicate the difference between the predicted result and the actual result. When the judgment result indicates that the difference between the predicted result and the actual result is small, that is, when the predicted result and the actual result match, the judgment result can indicate information that the predicted result can be used, such as indicating available response information. When the difference between the predicted result and the actual result is large, that is, when the predicted result and the actual result do not match, the judgment result can be a difference result.

[0070] In this disclosure, during the process of generating real results, the results can be cached at least at the first level, such as caching search results or packaged results.

[0071] S140. The prediction result and the determination result are respectively used as data blocks, and the prediction result and the determination result are transmitted in blocks in sequence.

[0072] Chunked transmission can be considered as streaming transmission based on data blocks. The server can divide data into multiple blocks, each with its own length information, and send them one by one. The receiver can receive the data block by block and process it immediately, without waiting for the complete data transmission. In streaming protocols, data is transmitted in smaller data blocks (i.e., chunks).

[0073] In this operation, the prediction results and the decision results can be transmitted as separate data blocks. The prediction result is determined faster than the decision result. The prediction result can be transmitted after it is determined, and the decision result can be transmitted after it is determined, thus achieving block transmission. Sending the prediction result back to the client first improves the response speed of request information.

[0074] Figure 3 This is a schematic diagram of a streaming protocol structure provided in an embodiment of this disclosure. See also... Figure 3 The streaming protocol structure includes a header and a body. The body can transmit prediction results, response information, differential results, other data, and an end marker. The header can include descriptive information about the data, such as information describing the user's chunked transmission.

[0075] Figure 3 Each rectangle in the message body can be considered a data block. Each data block has two parts: the first part is the length of the data block, and the second part is the content of a specified length. The server responds to the request information by first transmitting prediction result 1. If the prediction result does not match the actual result or a partial result of the actual result, it can transmit response information -1 to the client, indicating that the prediction result is unavailable. Then, prediction result 2 is transmitted. Prediction result 2 can be a cached result retrieved again based on the request information, or a cached result retrieved again based on a partial result of the actual result. After prediction result 2, a difference result can be sent. Difference result 1 can be the difference between prediction result 2 and an intermediate result, and difference result 2 can be the difference between an intermediate result and the actual result. Response information 0 can indicate that prediction result 2 is usable. Response information 0 can also indicate that the transmission of prediction result and difference result is complete. Based on prediction result 2, difference result 1 and difference result 2 can reconstruct the actual result. Other data can be data with a priority lower than the priority threshold, data unrelated to the request information, or data that has a minimal impact on the presentation of the request information's result.

[0076] The technical solution of this disclosure, after obtaining request information, determines the cached result associated with the request information, determines the predicted result of the request information based on the cached result, generates the true result of the request information, and determines a judgment result between the true result and the predicted result. The predicted result and the judgment result are transmitted in blocks, enabling the transmission of the predicted result of the request information after obtaining it, and then the transmission of the judgment result after determining it. This improves the response speed of the request information.

[0077] Based on the above embodiments, modified embodiments of the above embodiments are proposed. It should be noted that, in order to keep the description brief, only the differences from the above embodiments are described in the modified embodiments.

[0078] In one embodiment, determining the prediction result corresponding to the cached result when a cached result associated with the request information exists includes:

[0079] If a cached result associated with the request information exists, the cached result is determined as the prediction result, or the cached result and the request information are processed by a processing model to obtain the prediction result.

[0080] In this embodiment, during the process of determining the prediction result, the cached result can be directly determined as the prediction result, or the cached result can be processed and used as the prediction result. The processing model can be a model for processing cached results, and can be implemented using known models.

[0081] In this embodiment, during the process of obtaining the prediction result through the processing model, the cached result and request information can be input into the processing model to output the prediction result.

[0082] Figure 4 This is a flowchart illustrating another information transmission method provided in this disclosure embodiment, which details the operation for determining the judgment result. For example... Figure 4 As shown, this disclosure includes the following steps:

[0083] S410, Obtain request information.

[0084] S420. If there is a cached result associated with the request information, determine the prediction result corresponding to the cached result.

[0085] S430. Generate the true result of the requested information, and determine the matching degree between the predicted result and a portion of the true result.

[0086] Generating the actual result of the requested information can be achieved by requesting the actual result from the data server. Determining the predicted result and requesting the actual result can be performed simultaneously. Once all actual results have been obtained, this application can also randomly select a subset of results from the actual results. The predicted result and the subset of results are then matched to obtain the degree of matching. The degree of matching reflects the difference between the predicted result and the actual result.

[0087] While waiting for the network results to return, if partial results have been obtained first, they can be matched with the predicted results to obtain the matching degree. At this time, the partial results can be a portion of the already obtained actual results. S440: Determine if the matching degree is greater than a set threshold. If yes, proceed to S450; otherwise, proceed to S460.

[0088] The threshold can be a pre-defined threshold used to measure the difference between the predicted and actual results. If the matching degree is greater than the set threshold, the difference between the predicted and actual results can be considered small; otherwise, the difference can be considered large.

[0089] S450, Using the available response information as the determination result, execute S470.

[0090] If the matching degree is greater than the set threshold, the prediction result can be considered to be usable directly. Therefore, the response information indicating that the prediction result is usable can be used as the judgment result, instructing the client to use the prediction result directly.

[0091] S460. Determine the judgment result based on the actual result.

[0092] If the matching degree is not greater than the set threshold, the prediction result can be considered inaccurate. The judgment result can be determined based on the actual result to correct the prediction result.

[0093] In determining the judgment result based on the actual result, this operation does not limit the processing methods of the actual result, as long as the predicted result can be corrected. For example, the actual result can be directly determined as the judgment result, or the difference between the actual result and the predicted result can be determined as the judgment result.

[0094] S470. The prediction result and the determination result are respectively used as data blocks, and the prediction result and the determination result are transmitted in blocks in sequence.

[0095] This embodiment refines the determination process for the judgment result. By comparing the predicted result with the actual result, the judgment result is determined. While ensuring the speed of sending the predicted result, the accuracy of the predicted result is indicated based on the judgment result, thereby improving the accuracy of the response data.

[0096] Based on the above embodiments, modified embodiments of the above embodiments are proposed. It should be noted that, in order to keep the description brief, only the differences from the above embodiments are described in the modified embodiments.

[0097] In one embodiment, determining the judgment result based on the actual result includes:

[0098] The actual result shall be used as the judgment result; or...

[0099] The difference between the actual result and the predicted result is used as the determination result.

[0100] In this embodiment, during the process of determining the judgment result, the real result can be directly used as the judgment result for the client to use; alternatively, the result after differentiating the real result and the predicted result, i.e., the difference result, can be used as the judgment result, so that the client can perform differential updates between the difference result and the predicted result.

[0101] See Figure 3 The difference between the predicted result and the actual result can be the difference result 2.

[0102] In one embodiment, before using the difference between the actual result and the predicted result as the determination result, the method further includes:

[0103] The intermediate result between the predicted result and the actual result, and the difference between the predicted result and the actual result, are used as the determination result. The predicted result includes the packaged result associated with the request information, and the intermediate result includes the packaged result of the retrieval result associated with the request information. The packaged result included in the predicted result may be a packaged result stored in the cache based on historical request information. The retrieval result associated with the request information may be a retrieval result stored in the cache based on historical request information. The intermediate result includes the retrieval result associated with the request information, which is the result after being packaged by the current request information. That is, the packaged result is generated based on historical request information. The intermediate result is the result generated after the data from the current request information is filled in by the retrieval result of historical request information.

[0104] The result obtained by differencing the intermediate result and the predicted result is the difference between the intermediate result and the predicted result. The packaged result can be a result cached from history. The intermediate result can be the result generated by packaging the cached retrieval results associated with the requested information based on the current request information. The packaged result and the retrieval result in the cache are the results of historical request information. The retrieval result can be skeleton data obtained by retrieving data from the data server based on historical request information. The packaged result of historical request information is the result after filling the data with the retrieval results of historical request information. The filled data can be requested from the data server, such as sending a packaging request to the data server based on historical request information; there is no limitation on the data transmitted to the data server here.

[0105] The versions of the predicted result, intermediate result, and actual result increase sequentially. That is, the version of the actual result is higher than the version of the intermediate result, and the version of the intermediate result is higher than the version of the predicted result. The version can be directly proportional to the accuracy of the data.

[0106] See Figure 3 The difference between the intermediate result and the predicted result can be difference result 1.

[0107] In one embodiment, the step of sequentially transmitting the prediction result and the determination result in blocks includes:

[0108] When the determination result is based on the actual result, the prediction result, the determination result, and the response information indicating availability are transmitted in blocks in sequence.

[0109] When the judgment result is based on the actual result, the judgment result can be either the actual result or a differential result. The server transmits the prediction result, judgment result, and response information in chunks. The prediction result is the information determined first for the client's use. After the judgment result is determined, it can be transmitted to the client. After transmitting the judgment result, response information indicating that the prediction result and judgment result can be used can be transmitted to trigger the client to reconstruct the actual data based on the prediction result and judgment result.

[0110] In one embodiment, using the difference between the actual result and the predicted result as the determination result includes:

[0111] The difference between the actual data (excluding the set data) and the predicted data (excluding the set data) is used as the determination result. The set data includes data whose correlation with the result presentation of the requested information is less than a target threshold.

[0112] During the process of differentiating the prediction results, the set data is filtered out to ensure that the large amount of data in the judgment result does not lead to low efficiency.

[0113] This disclosure uses the difference result as the judgment result to correct the prediction result, i.e., the patch operation. To address the issue of low efficiency, but the patch operation itself is time-consuming, the efficiency will be even lower if too many fields are patched (e.g., more than 90 out of 100 fields are patched) or if the number of patches is too high. To solve this problem, a mechanism is introduced: if the patch rate is too high (exceeding 50%), the patch rate can be reduced (some irrelevant fields are sent in subsequent chunks) before sending the difference result. The irrelevant fields can be fields of the set data. That is, during the determination of the difference information, the set data is not considered and is transmitted in other data. If the patch rate cannot be reduced, an ack=-1 signal can be sent directly to send the true result.

[0114] In one embodiment, the step of sequentially transmitting the prediction result and the determination result in blocks includes:

[0115] The prediction result, the determination result, and other data are sequentially presented, including the set data.

[0116] This embodiment can send the prediction result first, followed by the decision result, and then transmit other results after the prediction and decision results have been transmitted. During client-side rendering, the rendering can also proceed in the order of prediction result, decision result, and other data.

[0117] In this embodiment, the data can be sent with a delay to improve data response efficiency.

[0118] In one embodiment, the information transmission method further includes:

[0119] The actual results are cached at least in multiple levels according to the search results and the packaged results. The search results include skeleton data obtained by searching based on the request information, and the packaged results include the actual results obtained by packaging the search results.

[0120] Search results can be considered as skeleton data obtained after retrieving the requested information, such as the skeleton data returned by the data server after a search. The actual results can be obtained by populating the skeleton data. Packaged results can be search results that have been populated with the new data.

[0121] In this embodiment, during the process of generating the actual result of the request information, the result of this request information can be cached at least in two levels, such as caching the retrieval result and the packaging result, so that subsequent request results can look up the results in the cache as the corresponding prediction results, or be packaged as the corresponding intermediate results.

[0122] Figure 5 This is a flowchart illustrating a cache request result provided in an embodiment of this disclosure. See also... Figure 5 When a user initiates a query request, the terminal device transmits the request information to the server. The server caches the request results (including search results and packaged results) according to the sampling strategy, as the prediction results for subsequent requests, and periodically clears the cached data using the Least Recently Used (LRU) algorithm.

[0123] The caching strategy can be such that the request frequency of the requested information exceeds a frequency threshold, where the frequency threshold can be a critical value for measuring the frequency. This disclosure can collect the request information received by the server once every set interval, and cache request information whose request frequency exceeds the frequency threshold. For example, if the request frequency is 1 / 10000, it can be collected once every 10 minutes.

[0124] See Figure 5 The access layer obtains request information, retrieves the data from the data server via RPC, obtains the search results, packages the results via RPC, and then caches both the search results and the packaged results, resulting in a search cache and a packaged cache, respectively. The cached data can be reused for subsequent requests.

[0125] Figure 6 This is a schematic diagram of a prediction result distribution process provided in an embodiment of this disclosure. See also... Figure 6 When a user makes a request, the server checks if a corresponding cached result exists based on the request information. If so, it retrieves the cached result directly and, combined with the known model, determines a prediction result based on the cached result. This prediction is then returned directly to the user via a chunk channel (protocol). Due to the existence of multi-level caching, multiple predictions may occur; see [link to relevant documentation]. Figure 6 Multi-level caching includes retrieval caching and packaging caching. Multiple predictions can be based on the packaging results in the packaging cache and the prediction results processed from the retrieval results in the retrieval cache. Due to the existence of retrieval and packaging caching, there will be two predictions. At this time, no actual network requests (i.e., retrieval RPC & packaging RPC) are made, which can improve speed by 80%.

[0126] During the retrieval of cached results, the server synchronously calls RPC to obtain real-time results. Due to multiple RPC calls, there will be multiple RPC results, such as retrieval results and packaged results. The processed results (such as packaged results or packaged retrieval results) corresponding to multiple prediction results and multiple RPC results are combined and updated to the terminal side through a streaming update algorithm.

[0127] Once the client receives the prediction result, it begins rendering. Because the prediction result was received in advance, the rendering time is greatly accelerated. If the cache is hit, the requested result can be presented to the user 80% earlier.

[0128] The streaming update algorithm can be used to compare the results after obtaining the combined true and predicted results:

[0129] 1. If the results are consistent (i.e., the matching degree is greater than the set threshold), then send an ack=0 signal (i.e., indicating that the response information is available) to the terminal device, and notify the user to directly present the prediction result;

[0130] 2. If the results are inconsistent:

[0131] a. Send an ack=-1 signal (indicating unavailability) to the terminal device to notify that the prediction result is unavailable and should be cleared directly. Then, send the actual result directly to the terminal device through the chunk channel (protocol).

[0132] b. To address the efficiency issue, the actual results and predicted results are differentially analyzed, and then the differential results are sent to the terminal device via a chunk channel (protocol).

[0133] After the terminal device obtains the difference results, it patches the prediction results and the difference results, i.e., performs patch operations (including adding, deleting, reordering, and updating fields) to restore the prediction data to the real data.

[0134] Based on the merged real data and the difference results, the rendering results are partially refreshed to achieve the effect of incremental update.

[0135] Figure 7 This is a schematic diagram of a client-side data rendering process provided in an embodiment of this disclosure. See also... Figure 7 After the client receives ack=0 (i.e., a response indicating availability), it notifies the display of the actual result. However, there is a problem: how to hide multiple prediction results and difference results, i.e., intermediate results generated by the patch. Since the drawing is handled by the GPU and the intermediate results do not need to be drawn, in order to hide the intermediate results and reduce the GPU load to further optimize performance, when processing prediction results and difference results, only the prediction result / difference result rendering process is executed, i.e., the process before drawing. Only when the ack=0 signal is received does the ack-rendering process begin, i.e., the actual drawing is performed, and then the result is presented to the user on the display.

[0136] Data processing involves cleaning, filtering, and sorting data for subsequent processing. Data binding associates data with visualization elements (such as charts and graphs) for use during rendering. Measurement calculates the size, position, and other attributes of visualization elements to ensure proper placement during the layout phase. Layout places the visualization elements in appropriate positions based on the measurement results, creating a complete visualization interface. Rendering involves drawing the laid-out visualization elements onto the screen for presentation to the user.

[0137] 3. Repeat the above steps until the server has sent the final real data, then sends an ack=0 signal to notify the terminal device that the result has been presented.

[0138] In this disclosure, the prediction result can be a prediction of the requested result, and there can be at least one such prediction. The differential result can be the product of a differential analysis between the predicted result and the actual result, used to locally update the prediction result; there can be at least one such differential result. The response information can be a determination of the current result, such as the predicted result, and whether it is available, indicated by ACK. A value of 0 indicates availability, while a value of -1 indicates unavailability and the need for cleanup; there can be at least one such response information. Other data can be other data that needs to be transmitted to the client; there can be at least one such data. The end identifier can be an identifier indicating the completion of data transmission of the response request information; there can be one such identifier.

[0139] In one example, during a client-side search scenario, the client requests a specific person from the server. The server then distributes the content for that person in chunks, deferred the distribution of content with a priority lower than the priority threshold as other data.

[0140] In one embodiment, in a search scenario, the first screen displayed after a search can show at least one video card, with other content delivered as additional data. The at least one video card can be delivered based on prediction results, thus improving the efficiency of the first screen rendering.

[0141] In one example, after the actual result is displayed on the screen, the result can be supplemented with other data. The supplemented result can be functional data, such as navigation or playback, but it cannot be data that affects the presentation, otherwise it will cause a jump. It can also be data that needs to be displayed after the page triggers a "load more" message, such as data that requires user interaction to appear.

[0142] This disclosure caches historical request results according to a certain strategy, so that subsequent request information can be used as prediction results. When a user makes a repeated request, the request is used to predict the result, differentiate the result, and determine whether the result is hit or not. The prediction result and the differential result are transmitted in blocks through a streaming protocol, thereby improving the network response speed and transmitting data to the user quickly without a large amount of physical expansion.

[0143] Figure 8 This is a flowchart illustrating an information transmission method provided in an embodiment of this disclosure. This embodiment is applicable to situations where data requested by a request message is rendered quickly. The method can be executed by an information transmission device, which can be implemented in software and / or hardware, or optionally, through a terminal device.

[0144] like Figure 8 As shown, the information transmission methods include:

[0145] S810, Transmit request information.

[0146] This operation can send a request to the server to obtain a response.

[0147] S820. Obtain the prediction results and judgment results corresponding to the request information in blocks.

[0148] The server can stream the response results. This operation retrieves the prediction and decision results from the response results in chunks. The prediction results can be retrieved first, followed by the decision results. After retrieving the prediction results, they can be processed to speed up rendering.

[0149] S830. Render the prediction result, and if the determination result is obtained, process the prediction result based on the determination result.

[0150] After obtaining the prediction results, this operation can directly render the prediction results. During the rendering process, the complete rendering process can be executed directly, or a partial rendering process can be executed, such as the rendering process other than drawing.

[0151] During the rendering of the prediction results, a judgment result can be obtained. The judgment result can be information indicating the accuracy of the prediction result, such as response information, or information that corrects the prediction result, such as difference results.

[0152] Once the judgment result is obtained, the prediction result can be processed based on the judgment result. Different judgment results correspond to different processing methods, and the specific operation is determined in combination with the specific content of the judgment result.

[0153] If the decision result indicates that the prediction result is unavailable, the prediction result can be cleaned up. If the decision result indicates that the prediction result is available, the prediction result can be plotted.

[0154] When the judgment result includes the difference result, the difference result and the prediction result can be combined for partial updates to restore the true result and make the rendering result more accurate.

[0155] The information transmission method provided in this embodiment obtains the prediction result and the judgment result in blocks after transmitting the request information. After obtaining the prediction result, it is rendered directly. Then, when the judgment result is obtained, the prediction result is processed. This embodiment improves the rendering efficiency of the request result by rendering the prediction result first, and ensures the accuracy of the rendered prediction result by processing the prediction result through the judgment result.

[0156] Based on the above embodiments, modified embodiments of the above embodiments are proposed. It should be noted that, in order to keep the description brief, only the differences from the above embodiments are described in the modified embodiments.

[0157] In one embodiment, processing the prediction result based on the determination result after obtaining the determination result includes:

[0158] If the determination result includes a difference result, then the prediction result and the difference result are patched to obtain the patched result.

[0159] The rendered prediction results are partially refreshed based on the patched results and the difference results.

[0160] When processing prediction results, if the judgment result includes difference results, a patching operation can be performed on the prediction results and the difference results to obtain a patched result. The patching operation can be based on the difference results and can involve adding, deleting, rearranging the order, and updating the content of the prediction results to obtain the patched result.

[0161] The patched result can be the actual result of the requested information. During a partial refresh, based on the patched result and the differential result, the following operations can be performed:

[0162] Scope of partial refresh: Based on the actual data and the difference results, determine the specific parts or areas of the rendered result that need to be updated. This identifies which parts of the data have changed and how these changes correspond to specific elements or areas in the rendered result.

[0163] Obtain the changed data: Using the real data and the difference results, calculate the specific data that needs to be used to update the local rendering.

[0164] Find the corresponding rendering element: In the rendering result, find the specific element or component that corresponds to the part that needs to be updated.

[0165] Update rendered elements: Use the obtained changed data to update the corresponding rendered elements. This can involve directly modifying the element's attributes, content, or styles.

[0166] In one embodiment, rendering the prediction result and, upon obtaining the determination result, processing the prediction result based on the determination result includes:

[0167] Perform a rendering operation on the prediction results before drawing;

[0168] If the determination result includes information indicating available response information, then the prediction result is plotted.

[0169] Pre-draw rendering operations can be operations performed before drawing in the rendering flow, such as... Figure 7 The layout and previous operations.

[0170] If the judgment result includes information indicating the available response, the prediction result can be plotted.

[0171] In this embodiment, the supplementary results and the actual results can also be merged to update the rendering.

[0172] This disclosure splits the response to the request information into multiple data packets, improving transmission efficiency. The transmitted content includes the prediction result, and caching the result increases the speed at which the response is sent to the terminal device. If the prediction result differs from the actual result, the remaining prediction results can be resent, the actual data can be sent, or the differential result can be sent. By adding the differential result to the prediction result, complete and accurate data can be sent.

[0173] Figure 9 This is a schematic diagram of the structure of an information transmission device provided in an embodiment of this disclosure. The information transmission device provided in this embodiment can be integrated on a server, such as... Figure 9 As shown, the device includes:

[0174] Module 910 is used to obtain request information;

[0175] The determining module 920 is used to determine a prediction result corresponding to the cached result when a cached result associated with the request information exists;

[0176] The generation module 930 is used to generate the actual result of the request information and determine the judgment result of the predicted result and the actual result;

[0177] The transmission module 940 is used to transmit the prediction result and the determination result as data blocks in sequence.

[0178] The technical solution provided in this disclosure, after obtaining request information, determines the cached result associated with the request information, determines the predicted result of the request information based on the cached result, generates the true result of the request information, and determines the judgment result between the true result and the predicted result. The predicted result and the judgment result are transmitted in blocks, enabling the transmission of the predicted result of the request information after obtaining it, and then the transmission of the judgment result after determining it. This improves the response speed of request information.

[0179] In one embodiment, the generation module 930 includes:

[0180] A determining unit is used to determine the degree of matching between the predicted results and a portion of the actual results;

[0181] The judgment unit is configured to, if the matching degree is greater than a set threshold, indicate the available response information as the judgment result; otherwise, determine the judgment result based on the actual result.

[0182] In one embodiment, the determining unit is specifically used for:

[0183] The actual result shall be used as the judgment result; or...

[0184] The difference between the actual result and the predicted result is used as the determination result.

[0185] In one embodiment, the generation module 930 further includes an intermediate result processing unit, configured to, before using the difference between the true result and the predicted result as the determination result, use the intermediate result between the predicted result and the true result and the difference between the predicted result as the determination result, wherein the predicted result includes a packaged result associated with the request information, and the intermediate result includes a packaged result of the retrieval result associated with the request information.

[0186] In one embodiment, the transmission module 940 is specifically used for:

[0187] When the determination result is based on the actual result, the prediction result, the determination result, and the response information indicating availability are transmitted in blocks in sequence.

[0188] In one embodiment, the determining unit is specifically used for:

[0189] The difference between the actual data (excluding the set data) and the predicted data (excluding the set data) is used as the determination result. The set data includes data whose correlation with the result presentation of the requested information is less than a target threshold.

[0190] In one embodiment, the transmission module 940 is specifically used for:

[0191] The prediction result, the determination result, and other data are sequentially presented, including the set data.

[0192] In one embodiment, the information transmission device further includes a hierarchical caching module, used for:

[0193] The actual results are cached at least in multiple levels according to the search results and the packaged results. The search results include skeleton data obtained by searching based on the request information, and the packaged results include the actual results obtained by packaging the search results.

[0194] In one embodiment, the determining module 920 is specifically used for:

[0195] If a cached result associated with the request information exists, the cached result is determined as the prediction result, or the cached result and the request information are processed by a processing model to obtain the prediction result.

[0196] The information transmission device provided in the embodiments of this disclosure can execute this disclosure. Figure 1 The information transmission method provided in the corresponding embodiment has the corresponding functional modules and beneficial effects of the execution method.

[0197] 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 division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this disclosure.

[0198] Figure 10 This is a schematic diagram of another information transmission device provided in this embodiment. The information transmission device provided in this embodiment can be integrated into a terminal device, such as... Figure 10 As shown, the information transmission device includes:

[0199] Transmission module 1010 is used to transmit request information;

[0200] The acquisition module 1020 is used to acquire the prediction results and judgment results corresponding to the request information in blocks;

[0201] The rendering module 1030 is used to render the prediction result and, if the determination result is obtained, process the prediction result based on the determination result.

[0202] The technical solution provided in this disclosure obtains the prediction result and the judgment result in blocks after transmitting the request information. After obtaining the prediction result, it is directly rendered. Then, with the judgment result obtained, the prediction result is processed. This embodiment improves the rendering efficiency of the request result by rendering the prediction result first, and ensures the accuracy of the rendered prediction result by processing the prediction result through the judgment result.

[0203] In one embodiment, the rendering module 1030 is specifically used for:

[0204] If the determination result includes a difference result, then the prediction result and the difference result are patched to obtain the patched result.

[0205] The rendered prediction results are partially refreshed based on the patched results and the difference results.

[0206] In one embodiment, the rendering module 1030 is specifically used for:

[0207] Perform a rendering operation on the prediction results before drawing;

[0208] If the determination result includes information indicating available response information, then the prediction result is plotted.

[0209] The information transmission device provided in the embodiments of this disclosure can execute this disclosure. Figure 8 The information transmission method provided in the corresponding embodiment has the corresponding functional modules and beneficial effects of the execution method.

[0210] 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 division, as long as the corresponding functions can be realized; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this disclosure.

[0211] Figure 11 This is a schematic diagram of the structure of a server provided in an embodiment of this disclosure. The following refers to... Figure 11 It illustrates a server 1100 suitable for implementing embodiments of the present disclosure.

[0212] Server 1100 includes:

[0213] One or more processing devices 1101;

[0214] Storage device 1108, for storing one or more programs,

[0215] When the one or more programs are executed by the one or more processing devices 1101, the one or more processing devices 1101 perform as disclosed herein. Figure 1 The information transmission method of the corresponding embodiment.

[0216] like Figure 11 As shown, server 1100 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1101, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 1102 or a program loaded from storage device 1108 into random access memory (RAM) 1103. RAM 1103 also stores various programs and data required for the operation of server 1100. Processing device 1101, ROM 1102, and RAM 1103 are interconnected via bus 1104. Edit / output (I / O) interface 1105 is also connected to bus 1104.

[0217] Typically, the following devices can be connected to I / O interface 1105: input devices 1106 including, for example, a touchscreen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 1107 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1108 including, for example, magnetic tape, hard disk, etc.; and communication devices 1109. Communication device 1109 allows server 1100 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 11 A server 1100 with various devices is shown, but it should be understood that it is not required to implement or have all of the devices shown. More or fewer devices may be implemented or have alternatively.

[0218] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 1109, or installed from storage device 1108, or installed from ROM 1102. When the computer program is executed by processing device 1101, it performs the functions defined in the methods of embodiments of this disclosure.

[0219] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0220] The server provided in this embodiment belongs to the same inventive concept as the information transmission method provided in the above embodiments. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.

[0221] Figure 12 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this disclosure. Refer to the following... Figure 12 It shows a schematic diagram of the structure of a terminal device 1200 suitable for implementing embodiments of the present disclosure.

[0222] Terminal equipment 1200 includes:

[0223] One or more processing devices 1201;

[0224] Storage device 1208, for storing one or more programs,

[0225] When the one or more programs are executed by the one or more processing devices 1201, the one or more processing devices 1201 perform as disclosed herein. Figure 8 The information transmission method of the corresponding embodiment.

[0226] The terminal devices in this disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), and in-vehicle terminals (such as in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 12 The terminal device shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments disclosed herein.

[0227] like Figure 12 As shown, the terminal device 1200 may include a processing unit (e.g., a central processing unit, a graphics processing unit, etc.) 1201, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1202 or a program loaded from a storage device 1208 into a random access memory (RAM) 1203. The RAM 1203 also stores various programs and data required for the operation of the terminal device 1200. The processing unit 1201, ROM 1202, and RAM 1203 are interconnected via a bus 1204. An edit / output (I / O) interface 1205 is also connected to the bus 1204.

[0228] Typically, the following devices can be connected to the I / O interface 1205: input devices 1206 including, for example, a touchscreen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 1205 including, for example, a liquid crystal display (LCD), speaker, vibrator, etc.; storage devices 1208 including, for example, magnetic tape, hard disk, etc.; and communication devices 1209. Communication device 1209 allows terminal device 1200 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 12 A terminal device 1200 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.

[0229] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 1209, or installed from storage device 1208, or installed from ROM 1202. When the computer program is executed by processing device 1201, it performs the functions defined in the methods of embodiments of this disclosure.

[0230] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.

[0231] The terminal device provided in this embodiment and the information transmission method provided in the above embodiments belong to the same inventive concept. Technical details not described in detail in this embodiment can be found in the above embodiments, and this embodiment has the same beneficial effects as the above embodiments.

[0232] This disclosure provides a computer storage medium storing a computer program that, when executed by a processor, implements the information transmission method provided in the above embodiments.

[0233] It should be noted that the computer-readable medium described above in this disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination thereof.

[0234] The computer storage medium may be a storage medium for computer-executable instructions, which, when executed by a computer processor, are used to perform the methods provided in this disclosure.

[0235] Computer-readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatuses, or devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including, but not limited to, electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. Program code contained on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.

[0236] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol such as HTTP (Hypertext Transfer Protocol) and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.

[0237] The aforementioned computer-readable medium may be included in the aforementioned server or terminal device; or it may exist independently and not assembled into the server or terminal device.

[0238] The aforementioned computer-readable medium carries one or more programs that, when executed by the server, enable the server to: obtain requested information;

[0239] If a cached result associated with the request information exists, determine the prediction result corresponding to the cached result;

[0240] Generate the actual result of the requested information, and determine the judgment result of the predicted result and the actual result;

[0241] The prediction result and the determination result are respectively treated as data blocks, and the prediction result and the determination result are transmitted in blocks in sequence.

[0242] The aforementioned computer-readable medium carries one or more programs that, when executed by the terminal device, cause the terminal device to: transmit request information;

[0243] The prediction and judgment results corresponding to the request information are obtained in blocks;

[0244] The prediction result is rendered, and if the determination result is obtained, the prediction result is processed based on the determination result.

[0245] Computer program code for performing the operations of this disclosure can 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, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone 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 remote computers, the remote computer can be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0246] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0247] The modules or units described in the embodiments of this disclosure can be implemented in software or hardware. The names of modules or units do not necessarily limit the specific unit; for example, an acquisition module can also be described as a "request information acquisition module".

[0248] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.

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

[0250] According to one or more embodiments of this disclosure, [Example 1] provides an information transmission method, including:

[0251] Get the request information;

[0252] If a cached result associated with the request information exists, determine the prediction result corresponding to the cached result;

[0253] Generate the actual result of the requested information, and determine the judgment result of the predicted result and the actual result;

[0254] The prediction result and the determination result are respectively treated as data blocks, and the prediction result and the determination result are transmitted in blocks in sequence.

[0255] According to one or more embodiments of this disclosure, [Example 2] provides the method of Example 1, wherein determining the determination result of the predicted result and the actual result includes:

[0256] Determine the degree of matching between the predicted results and a subset of the actual results;

[0257] If the matching degree is greater than the set threshold, the available response information will be used as the determination result; otherwise, the determination result will be determined based on the actual result.

[0258] According to one or more embodiments of this disclosure, [Example 3] provides the method described in Example 2, wherein determining the determination result based on the actual result includes:

[0259] The actual result shall be used as the judgment result; or...

[0260] The difference between the actual result and the predicted result is used as the determination result.

[0261] According to one or more embodiments of this disclosure, [Example 4] provides the method of Example 3, which further includes, before using the difference between the true result and the predicted result as the determination result:

[0262] The intermediate result between the predicted result and the actual result and the difference result of the predicted result are used as the determination result. The predicted result includes the packaged result associated with the request information, and the intermediate result includes the packaged result of the search result associated with the request information.

[0263] According to one or more embodiments of this disclosure, [Example 5] provides the method described in Example 3, wherein the prediction result and the determination result are transmitted in blocks sequentially, including:

[0264] When the determination result is based on the actual result, the prediction result, the determination result, and the response information indicating availability are transmitted in blocks in sequence.

[0265] According to one or more embodiments of this disclosure, [Example 6] provides the method of Example 3, wherein the difference between the true result and the predicted result is used as the determination result, including:

[0266] The difference between the actual data (excluding the set data) and the predicted data (excluding the set data) is used as the determination result. The set data includes data whose correlation with the result presentation of the requested information is less than a target threshold.

[0267] According to one or more embodiments of this disclosure, [Example 7] provides the method of Example 6, wherein the prediction result and the determination result are transmitted in blocks sequentially, including:

[0268] The prediction result, the determination result, and other data are sequentially presented, including the set data.

[0269] According to one or more embodiments of this disclosure, [Example 8] provides the method of Example 1, further comprising:

[0270] The actual results are cached at least in multiple levels according to the search results and the packaged results. The search results include skeleton data obtained by searching based on the request information, and the packaged results include the actual results obtained by packaging the search results.

[0271] According to one or more embodiments of this disclosure, [Example 9] provides the method of Example 1, wherein determining a prediction result corresponding to the cached result when a cached result associated with the request information exists includes:

[0272] If a cached result associated with the request information exists, the cached result is determined as the prediction result, or the cached result and the request information are processed by a processing model to obtain the prediction result.

[0273] According to one or more embodiments of this disclosure, [Example 10] provides an information transmission method, including:

[0274] Transmit request information;

[0275] The prediction and judgment results corresponding to the request information are obtained in blocks;

[0276] The prediction result is rendered, and if the determination result is obtained, the prediction result is processed based on the determination result.

[0277] According to one or more embodiments of this disclosure, [Example 11] provides the method of Example 10, wherein, upon obtaining the determination result, processing the prediction result based on the determination result includes:

[0278] If the determination result includes a difference result, then the prediction result and the difference result are patched to obtain the patched result.

[0279] The rendered prediction results are partially refreshed based on the patched results and the difference results.

[0280] According to one or more embodiments of this disclosure, [Example 12] provides the method of Example 10, wherein rendering the prediction result and, upon obtaining the determination result, processing the prediction result based on the determination result includes:

[0281] Perform a rendering operation on the prediction results before drawing;

[0282] If the determination result includes information indicating available response information, then the prediction result is plotted.

[0283] According to one or more embodiments of this disclosure, [Example 13] provides an information transmission apparatus, including:

[0284] The acquisition module is used to obtain request information;

[0285] The determining module is used to determine the prediction result corresponding to the cached result when there is a cached result associated with the request information;

[0286] A generation module is used to generate the actual result of the request information and determine the judgment result of the predicted result and the actual result;

[0287] The transmission module is used to transmit the prediction result and the determination result as data blocks in sequence.

[0288] According to one or more embodiments of this disclosure, [Example 14] provides an information transmission apparatus, including:

[0289] The transmission module is used to transmit request information;

[0290] The acquisition module is used to acquire the prediction results and judgment results corresponding to the request information in blocks;

[0291] The rendering module is used to render the prediction result and, if the determination result is obtained, process the prediction result based on the determination result.

[0292] According to one or more embodiments of this disclosure, [Example 15] provides a server comprising:

[0293] One or more processing devices;

[0294] Storage device for storing one or more programs.

[0295] When the one or more programs are executed by the one or more processing devices, the one or more processing devices perform the method as described in any of Examples 1-9.

[0296] According to one or more embodiments of this disclosure, [Example 16] provides a terminal device, characterized in that the terminal device includes:

[0297] One or more processing devices;

[0298] Storage device for storing one or more programs.

[0299] When the one or more programs are executed by the one or more processing devices, the one or more processing devices perform the method as described in any of Examples 10-12.

[0300] According to one or more embodiments of this disclosure, [Example 17] provides a storage medium containing computer-executable instructions that, when executed by a computer processor, are used to perform the method described in any of Examples 1-12.

[0301] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.

[0302] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.

[0303] Although the subject matter has been described using language specific to structural features and / or methodological logic, 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. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.

Claims

1. An information transmission method, characterized in that, include: Get the request information; If a cached result associated with the request information exists, determine the prediction result corresponding to the cached result; Generate the actual result of the requested information, and determine the judgment result of the predicted result and the actual result; The prediction result and the determination result are respectively treated as data blocks, and the prediction result and the determination result are transmitted in blocks in sequence.

2. The method according to claim 1, characterized in that, The determination of the prediction result and the actual result includes: Determine the degree of matching between the predicted results and a subset of the actual results; If the matching degree is greater than the set threshold, the available response information will be used as the determination result; otherwise, the determination result will be determined based on the actual result.

3. The method according to claim 2, characterized in that, Determining the judgment result based on the actual result includes: The actual result shall be used as the judgment result; or... The difference between the actual result and the predicted result is used as the determination result.

4. The method according to claim 3, characterized in that, Before using the difference between the actual result and the predicted result as the determination result, the method further includes: The intermediate result between the predicted result and the actual result and the difference result of the predicted result are used as the determination result. The predicted result includes the packaged result associated with the request information, and the intermediate result includes the retrieval result associated with the request information and the packaged result.

5. The method according to claim 3, characterized in that, The step of transmitting the prediction result and the determination result in blocks in sequence includes: When the determination result is based on the actual result, the prediction result, the determination result, and the response information indicating availability are transmitted in blocks in sequence.

6. The method according to claim 3, characterized in that, The step of using the difference between the actual result and the predicted result as the determination result includes: The difference between the actual data (excluding the set data) and the predicted data (excluding the set data) is used as the determination result. The set data includes data whose correlation with the result presentation of the requested information is less than a target threshold.

7. The method according to claim 6, characterized in that, The step of transmitting the prediction result and the determination result in blocks in sequence includes: The prediction result, the determination result, and other data are sequentially presented, including the set data.

8. The method according to claim 1, characterized in that, Also includes: The actual results are cached at least in multiple levels according to the search results and the packaged results. The search results include skeleton data obtained by searching based on the request information, and the packaged results include the actual results obtained by packaging the search results.

9. The method according to claim 1, characterized in that, Determining the prediction result corresponding to the cached result when a cached result associated with the request information exists includes: If a cached result associated with the request information exists, the cached result is determined as the prediction result, or the cached result and the request information are processed by a processing model to obtain the prediction result.

10. An information transmission method, characterized in that, include: Transmit request information; The prediction and judgment results corresponding to the request information are obtained in blocks; The prediction result is rendered, and if the determination result is obtained, the prediction result is processed based on the determination result.

11. The method according to claim 10, characterized in that, The step of processing the prediction result based on the determination result after obtaining the determination result includes: If the determination result includes a difference result, then the prediction result and the difference result are patched to obtain the patched result. The rendered prediction results are partially refreshed based on the patched results and the difference results.

12. The method according to claim 10, characterized in that, The process of rendering the prediction result and, upon obtaining the determination result, processing the prediction result based on the determination result includes: Perform a rendering operation on the prediction results before drawing; If the determination result includes information indicating available response information, then the prediction result is plotted.

13. An information transmission device, characterized in that, include: The acquisition module is used to obtain request information; The determining module is used to determine the prediction result corresponding to the cached result when there is a cached result associated with the request information; A generation module is used to generate the actual result of the request information and determine the judgment result of the predicted result and the actual result; The transmission module is used to transmit the prediction result and the determination result as data blocks in sequence.

14. An information transmission device, characterized in that, include: The transmission module is used to transmit request information; The acquisition module is used to acquire the prediction results and judgment results corresponding to the request information in blocks; The rendering module is used to render the prediction result and, if the determination result is obtained, process the prediction result based on the determination result.

15. A server, characterized in that, The server includes: One or more processing devices; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processing devices, the one or more processing devices perform the method as described in any one of claims 1-9.

16. A terminal device, characterized in that, The terminal device includes: One or more processing devices; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processing devices, the one or more processing devices perform the method as described in any one of claims 10-12.

17. A storage medium comprising computer-executable instructions, which, when executed by a computer processor, are used to perform the method as described in any one of claims 1-12.