CN113722626B - Material concurrency request processing method, computing device and storage medium - Google Patents

Material concurrency request processing method, computing device and storage medium Download PDF

Info

Publication number
CN113722626B
CN113722626B CN202111002970.1A CN202111002970A CN113722626B CN 113722626 B CN113722626 B CN 113722626B CN 202111002970 A CN202111002970 A CN 202111002970A CN 113722626 B CN113722626 B CN 113722626B
Authority
CN
China
Prior art keywords
presentation
client
configuration information
materials
presentation materials
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111002970.1A
Other languages
Chinese (zh)
Other versions
CN113722626A (en
Inventor
丛义明
曹伯华
陈晓梅
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dejian Technology Co ltd
Zhangyue Technology Co Ltd
Original Assignee
Beijing Dejian Technology Co ltd
Zhangyue Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dejian Technology Co ltd, Zhangyue Technology Co Ltd filed Critical Beijing Dejian Technology Co ltd
Priority to CN202111002970.1A priority Critical patent/CN113722626B/en
Publication of CN113722626A publication Critical patent/CN113722626A/en
Application granted granted Critical
Publication of CN113722626B publication Critical patent/CN113722626B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • G06F16/972Access to data in other repository systems, e.g. legacy data or dynamic Web page generation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a material concurrency request processing method, computing equipment and a storage medium, wherein the material concurrency request processing method comprises the following steps: acquiring configuration information corresponding to a display bit in a client page from a server; according to the configuration information, sending a material acquisition request to a plurality of data platforms; receiving presentation materials returned by a plurality of data platforms, and selecting the presentation material with the highest index score from the returned presentation materials as a target presentation material; the target presentation material is presented in a display position of the client page. According to the scheme, the client side sends the material acquisition requests to the plurality of data platforms in parallel aiming at one display position, the situation that the client side does not successfully request any presentation material can be effectively avoided, the success rate of material presentation is improved, the effective screening of the presentation material is realized, the high-quality presentation material can be conveniently selected from the presentation material for presentation in the display position, and the material display effect is improved.

Description

Material concurrency request processing method, computing device and storage medium
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a method for processing a concurrent request of a material, a computing device, and a storage medium.
Background
With the rapid development of digital technology, digitized electronic books have become a target for the future development of publishers. The electronic book has the advantages of convenient reading, easy acquisition, environmental protection and the like, so that more and more users like to read the electronic book. And a plurality of display positions are also arranged in the page of the client of the electronic book, and more and richer information can be displayed to the user through the display positions. Typically, the client initiates a material acquisition request only once for a display location, and requests presentation material from only one data platform, and then presents the presentation material returned by the data platform in the display location. However, there may be a case where the display position has no content display due to unsuccessful return of the presentation material by the data platform, and there may be a case where the display is not facilitated due to poor indexes such as content quality of the returned presentation material although the presentation material is returned.
Disclosure of Invention
The present invention has been made in view of the above-mentioned problems, and provides a material concurrency request processing method, a computing device, and a storage medium that overcome or at least partially solve the above-mentioned problems.
According to one aspect of the present invention, there is provided a material concurrency request processing method, including:
acquiring configuration information corresponding to a display bit in a client page from a server;
according to the configuration information, sending a material acquisition request to a plurality of data platforms;
receiving presentation materials returned by a plurality of data platforms, and selecting the presentation material with the highest index score from the returned presentation materials as a target presentation material;
the target presentation material is presented in a display position of the client page.
According to another aspect of the present invention, there is provided a computing device comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface are communicated with each other through the communication bus;
the memory is used for storing at least one executable instruction, and the executable instruction causes the processor to execute the following operations:
acquiring configuration information corresponding to a display bit in a client page from a server;
according to the configuration information, sending a material acquisition request to a plurality of data platforms;
receiving presentation materials returned by a plurality of data platforms, and selecting the presentation material with the highest index score from the returned presentation materials as a target presentation material;
the target presentation material is presented in a display position of the client page.
According to still another aspect of the embodiments of the present invention, there is provided a computer storage medium, in which at least one executable instruction is stored, the executable instruction causing a processor to perform operations corresponding to the above-mentioned material concurrency request processing method.
According to the technical scheme provided by the invention, the client side sends the material acquisition requests to the plurality of data platforms for one display position in parallel, so that the situation that the client side does not successfully request any presentation material can be effectively avoided, and the success rate of material presentation is improved; and according to the index scores of the presentation materials, the presentation materials with the highest index scores are selected from the presentation materials returned by the data platform, so that the effective screening of the presentation materials is realized, the high-quality presentation materials can be conveniently selected from the presentation materials for presentation in the presentation position, and the material presentation effect is improved.
The foregoing description is only an overview of the present invention, and is intended to be implemented in accordance with the teachings of the present invention in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present invention more readily apparent.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to designate like parts throughout the figures. In the drawings:
fig. 1 is a flow chart illustrating a method for processing a concurrent request of a material according to a first embodiment of the present invention;
Fig. 2 is a flow chart of a method for processing concurrent requests of materials according to a second embodiment of the present invention;
FIG. 3 illustrates a timing diagram of a specific example material concurrency request processing method;
fig. 4 shows a schematic structural diagram of a computing device according to a fourth embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
Example 1
Fig. 1 is a flow chart of a method for processing concurrent requests of materials according to a first embodiment of the present invention, as shown in fig. 1, the method includes the following steps:
Step S101, obtaining configuration information corresponding to the display bit in the client page from the server.
The method may be performed by a client of an electronic book. In order to avoid the situation that the display bit does not have content for display because the data platform requested by the display bit does not successfully return the presentation material, in this embodiment, a client side sends material acquisition requests to a plurality of data platforms for one display bit. In order to facilitate determining to which data platforms a request needs to be sent for each display bit, and which types of presentation materials are specifically requested, configuration information corresponding to the display bit can be configured in the server in advance. The client can send a configuration acquisition request for requesting configuration information corresponding to the presentation bit to the server, and the server returns the configuration information corresponding to the presentation bit to the client in response to the configuration acquisition request after receiving the configuration acquisition request.
Step S102, according to the configuration information, a material acquisition request is sent to a plurality of data platforms.
The configuration information may include interface information of multiple data platforms, multiple priority levels corresponding to the presentation materials, and the like. Those skilled in the art may also set the configuration information to include other information, which is not limited herein. After the configuration information is acquired, the client may concurrently send a material acquisition request to the multiple data platforms according to the configuration information, where the material acquisition request is used to request to present materials to the multiple data platforms, and the presented materials may specifically include media information, a title, descriptive text, and the like, for example, advertisement materials, where the media information may specifically be pictures or videos, and the like. And after receiving the material acquisition request, the plurality of data platforms respond to the material acquisition request and return corresponding presentation materials to the client.
And step S103, receiving the presentation materials returned by the plurality of data platforms, and selecting the presentation material with the highest index score from the returned presentation materials as the target presentation material.
The client receives presentation material returned by the plurality of data platforms in response to the material acquisition request. In order to ensure that the display position can obtain a better material display effect, the client can acquire the index scores of the returned display materials, and then select the display material with the highest index score as a target display material, wherein the target display material is the display material for displaying in the display position. The index score may be a score of a single index of indexes such as content quality, click rate, and data resource (e.g., profit value), or may be a comprehensive score of the plurality of indexes, which is not limited herein.
Step S104, presenting the target presentation materials in the display position of the client page.
After determining the target presentation material, the client may first save the target presentation material to a cache of the client. When the client page needs to be subjected to material presentation, acquiring target presentation materials from a cache of the client, and presenting the target presentation materials in a presentation position of the client page.
By using the material concurrency request processing method provided by the embodiment, the client side sends the material acquisition requests to the plurality of data platforms for one display bit in concurrency, so that the situation that the client side does not successfully request any presentation material can be effectively avoided, and the success rate of material presentation is improved; and according to the index scores of the presentation materials, the presentation materials with the highest index scores are selected from the presentation materials returned by the data platform, so that the effective screening of the presentation materials is realized, the high-quality presentation materials can be conveniently selected from the presentation materials for presentation in the presentation position, and the material presentation effect is improved.
Example two
Fig. 2 is a flow chart of a method for processing concurrent requests of materials according to a second embodiment of the present invention, as shown in fig. 2, the method includes the following steps:
Step S201, obtaining configuration information corresponding to the display bit in the client page from the server.
The method may be performed by a client of an electronic book. In order to facilitate determining which data platforms are required to be sent to request and which types of presentation materials are required to be specifically requested for each presentation bit, the client may send a configuration acquisition request for requesting configuration information corresponding to the presentation bit to the server, and after receiving the configuration acquisition request, the server returns the configuration information corresponding to the presentation bit to the client in response to the configuration acquisition request.
Step S202, calling interfaces corresponding to interface information of a plurality of data platforms in the configuration information, and sending material acquisition requests to the plurality of data platforms.
The configuration information comprises interface information of a plurality of data platforms and the like, and the data platforms can be conveniently and clearly determined to be requested through which interfaces according to the configuration information. Specifically, an interface corresponding to interface information of a plurality of data platforms in the configuration information may be called, and a material acquisition request may be sent to the plurality of data platforms. For example, the configuration information records the interface 1 of the data platform a and the interface 2 of the data platform B, and then the client may call the interface 1 of the data platform a and the interface 2 of the data platform B and send the material acquisition request to the data platform a and the data platform B concurrently.
Optionally, multiple priority levels may also be configured for presentation materials provided by respective data platforms according to multiple dimensions of content quality, click through rate, data platform name, data resources, and the like. Taking setting a plurality of priority levels for presentation materials according to two dimensions of a data platform name and a data resource as an example, a configuration table of the priority levels corresponding to the presentation materials shown in table 1, as shown in table 1, the plurality of priority levels specifically include a first level, a second level and a third level, the first level is the highest level, and the third level is the lowest level. The presentation materials corresponding to the first level comprise: the data resources in the data platform A are presentation materials of the resource 1, the data resources in the data platform B are presentation materials of the resource 2, and the data resources in the data platform C are presentation materials of the resource 3; the presentation materials corresponding to the second level comprise: the data resources in the data platform A are presentation materials of the resources 4 and the data resources in the data platform B are presentation materials of the resources 4; the presentation materials corresponding to the third level include: the data resources in data platform C are presentation materials of resource 5. Specifically, the data resource may be a benefit provided by the data platform to the server, and so on.
Table 1 presents a configuration table of priority levels corresponding to materials
Considering that the priority level corresponding to the presentation material has an association relationship with the comprehensive quality of the presentation material, the higher the priority level, the higher the comprehensive quality of the presentation material, the configuration information may further include a plurality of priority levels corresponding to the presentation material in addition to interface information of a plurality of data platforms, and in step S202, interfaces corresponding to the interface information of the plurality of data platforms in the configuration information may be called, and a material acquisition request for requesting the presentation material corresponding to the priority level is sent to the plurality of data platforms in order of the priority level from high to low. By the processing mode, presentation materials with higher priority levels are preferentially requested to a plurality of data platforms, and a client is facilitated to quickly acquire high-quality presentation materials; when the presentation material request with higher priority level fails, the presentation material with lower priority level is requested again, so that the probability of successfully requesting the presentation material is effectively increased, and the situation that the client side does not successfully request any presentation material is avoided.
Taking the example that the priority level recorded in the configuration information comprises a first level and a second level, interfaces corresponding to interface information of a plurality of data platforms in the configuration information can be called, and a material acquisition request for requesting presentation materials corresponding to the first level is preferentially sent to the plurality of data platforms; if the presentation material corresponding to the first level returned by any data platform is received within a certain period of time (for example, 500 milliseconds), continuing to execute step S203; if the presentation materials corresponding to the first level returned by any data platform are not received within a certain period of time, the client side sends a material acquisition request for requesting the presentation materials corresponding to the second level to the plurality of data platforms.
Step S203, receiving the presentation materials returned by the plurality of data platforms, and selecting the presentation material with the highest index score from the returned presentation materials as the target presentation material.
The index score may be a score of a single index of indexes such as content quality, click rate, data resource, etc., or may be a comprehensive score of the plurality of indexes. Specifically, the content quality index may further include indexes such as definition of media information, beauty of media information, and text quality. The data platform can directly carry the index score of the presentation material when the presentation material is returned, so that the client can conveniently acquire the index score of the presentation material when receiving the presentation material returned by the data platform, the self calculation is not needed, and the selection of the target presentation material can be completed quickly. If the data platform does not carry the index score of the presentation material when the presentation material is returned, the client can analyze one or more indexes of content quality, click rate, data resources and the like of the presentation material after receiving the presentation material returned by the data platform, so that the index score of the presentation material is calculated.
In the process that the client requests to present the material to the plurality of data platforms, a situation that a certain data platform does not respond or responds too slowly may occur, a preset time period (a first preset time period and a second preset time period below) may be set based on consideration of time efficiency of presenting the material of the client, and in the process of determining the target presented material, the presented material received after the preset time period may not be considered. The lengths of the first preset time period and the second preset time period can be set by a person skilled in the art according to actual needs, and are not limited herein.
In a first optional implementation manner, the presentation materials returned by the plurality of data platforms are received and stored in a first preset time period, and then the presentation material with the highest index score is selected from the presentation materials stored in the client side as the target presentation material. Through the processing mode, effective screening of the presentation materials is realized according to the index scores of the presentation materials, and the high-quality presentation materials can be conveniently selected from the presentation materials for presentation in the display position.
Taking the first preset time period as an example of 600 milliseconds, after sending a material acquisition request to a plurality of data platforms, the client starts 600 milliseconds to count time, receives and stores the presentation materials returned by the plurality of data platforms within 600 milliseconds, and when the count time reaches 600 milliseconds, the client selects the presentation material with the highest index score as the target presentation material according to the index score of each presentation material stored within 600 milliseconds.
In a second alternative embodiment, the configuration information may further include: and after the client sends the material acquisition requests to the plurality of data platforms, the client can judge whether the index score of the presented material is equal to the preset highest scoring threshold in the configuration information every time the presented material returned by any data platform is received. If the index score of the currently received presentation material is equal to the preset highest score threshold, the presentation material is the presentation material with the highest index score in the presentation materials possibly returned by a plurality of data platforms, and the presentation material can be directly used as the target presentation material without waiting for the presentation materials returned by other data platforms, so that the request is ended. If the index score of the currently received presentation material is not equal to the preset highest score threshold, which indicates that the presentation material is not the presentation material with the highest index score in the presentation materials possibly returned by the plurality of data platforms, the presentation material is firstly stored in the client so as to be convenient for subsequent selection of the presentation material, and the second preset time period is continued to be waited.
Specifically, starting timing of a second preset time period, judging whether the index score of the presentation material is equal to a preset highest score threshold value in the configuration information every time the presentation material returned by any data platform is received in the second preset time period, and if the index score of the received presentation material is equal to the preset highest score threshold value, taking the presentation material as a target presentation material, and requesting to end.
And when the timing reaches a second preset time period, judging whether the presentation materials with index scores equal to a preset highest score threshold value are received in the second preset time period. If the presentation materials with the index scores equal to the preset highest score threshold are received, the determination of the target presentation materials is completed, and the request is ended. If no presentation material with index score equal to the preset highest score threshold is received, the presentation material received by the client is not the presentation material with the highest index score in the presentation materials possibly returned by the plurality of data platforms, and the presentation material with the highest index score is selected from the presentation materials stored by the client to serve as the target presentation material.
For the second alternative embodiment, taking the second preset time period of 500 ms as an example, a specific example will be described below. Fig. 3 shows a timing diagram of a specific example method for processing a concurrent request of material, as shown in fig. 3, by configuring configuration information corresponding to a display bit for a server by an operation management end, a client sends a configuration acquisition request for requesting the configuration information corresponding to the display bit to the server, and after receiving the configuration acquisition request, the server returns the configuration information corresponding to the display bit to the client in response to the configuration acquisition request. Assuming that according to the configuration information, a material acquisition request needs to be sent to the data platform a, the data platform B and the data platform C, the client sends the material acquisition request to the data platform a, the data platform B and the data platform C respectively according to the configuration information. If the data platform a returns to the presentation material 1, when the client receives the presentation material 1 returned by the data platform a, it is determined whether the index score of the presentation material 1 is equal to the preset highest score threshold. And judging whether the index score of the presentation material 1 is equal to the preset highest score threshold value or not every time the presentation material returned by the data platform is received within 500 milliseconds after starting 500 milliseconds. And judging that the index score of the presentation material 2 returned by the data platform B is equal to a preset highest score threshold value, and indicating that the presentation material 2 is the presentation material with the highest index score in the presentation materials possibly returned by the data platform A, B, C, then the presentation material 2 can be directly used as a target presentation material without waiting for the presentation material returned by the data platform C, and the request is ended.
For the second optional implementation manner, since the configuration information includes the preset highest scoring threshold, it can be clearly known according to the preset highest scoring threshold what the highest index score is in the presentation materials possibly returned by each data platform requested at this time, once the client receives the presentation materials with the index score equal to the preset highest scoring threshold, the presentation materials can be determined as target presentation materials, the request is ended, and feedback of other data platforms is not needed to wait, thereby realizing rapid determination of the target presentation materials.
Step S204, presenting the target presentation materials in the display position of the client page.
The client page may be any page that can include a display location in the client, for example, a client main page and any client sub-page, where the client sub-page may include an e-book reading page, a bookshelf page, and the like, which are not limited herein.
Because the processing time required for the initiation and response of the concurrent request may exceed the processing time of a single request, if the initiation of the concurrent request is performed when the user accesses the client page including the display bit, the problem that the target presentation material in the display bit is delayed to be displayed is likely to occur, so that the user cannot timely view the corresponding information, and the user experience is affected. In order to ensure that the target presentation materials in the embodiment can be displayed normally and quickly, whether the target presentation materials are stored in a cache of the client or not can be queried before a client page including a presentation position is presented, wherein the target presentation materials refer to presentation materials which are requested by the client from a data platform and are used for being presented in the presentation position but not yet presented. If the client does not store the target presentation materials, the client needs to immediately send a material acquisition request to a plurality of data platforms for requesting presentation of the materials. Compared with the method that when a user accesses a client page comprising a display position, the client requests to display materials to the data platform in real time, the method and the device for displaying the materials in advance complete the acquisition of the current display materials, and display is performed by directly utilizing the target display materials stored by the client when the display is needed, so that the display efficiency of the display materials is effectively improved, the user can conveniently and timely see corresponding information, and the user experience is greatly improved.
The following describes the timing of sending a material acquisition request by the client and the timing of displaying the presentation material by taking an e-book reading scene and a client starting scene as examples respectively.
In the e-book reading scene, the client page is specifically a specified e-book reading page comprising a display position. When the user is detected to execute the electronic book page turning operation, the electronic book is turned, and whether target presentation materials are stored in the client side or not is inquired. If the target presentation materials are not stored in the client, sending a material acquisition request to a plurality of data platforms according to the configuration information, then receiving the presentation materials returned by the plurality of data platforms by the client, and selecting the presentation material with the highest index score from the returned presentation materials as the target presentation material; if the target presentation material is stored in the client, the material acquisition request does not need to be sent. When the electronic book turns to the appointed electronic book reading page, the target presentation materials stored in the client side are directly presented in the display position of the appointed electronic book reading page.
In the client-side startup scenario, the client-side page is specifically a client-side main page including a display bit. When the client starting operation is detected to be executed by the user, starting the client and inquiring whether the target presentation materials are stored in the client. If the target presentation materials are not stored in the client, sending a material acquisition request to a plurality of data platforms according to the configuration information, then receiving the presentation materials returned by the plurality of data platforms by the client, and selecting the presentation material with the highest index score from the returned presentation materials as the target presentation material; if the target presentation material is stored in the client, the material acquisition request does not need to be sent. After the client is successfully started, the client main page is presented to the user, and the target presentation materials are presented in the display position of the client main page.
By using the material concurrency request processing method provided by the embodiment, the client side sends the material acquisition requests to the plurality of data platforms for one display bit in concurrency, so that the situation that the client side does not successfully request any presentation material can be effectively avoided, and the success rate of material presentation is improved; according to the index score of the presentation materials, effective screening of the presentation materials is achieved, and high-quality presentation materials can be conveniently selected from the presentation materials returned by the data platform for presentation in the presentation position; and before the client page comprising the display position is presented, the acquisition of the target presentation material can be finished in advance, and the target presentation material stored by the client is directly utilized for presentation when the presentation is needed, so that the display efficiency of the presentation material is effectively improved, the user can conveniently and timely check the corresponding information, and the user experience is greatly improved.
Example III
The third embodiment of the present invention provides a nonvolatile storage medium, where at least one executable instruction is stored in the storage medium, where the executable instruction may execute the method for processing a concurrent request of a material in any of the foregoing method embodiments.
The executable instructions may be particularly useful for causing a processor to: acquiring configuration information corresponding to a display bit in a client page from a server; according to the configuration information, sending a material acquisition request to a plurality of data platforms; receiving presentation materials returned by a plurality of data platforms, and selecting the presentation material with the highest index score from the returned presentation materials as a target presentation material; the target presentation material is presented in a display position of the client page.
In an alternative embodiment, the configuration information includes: interface information of a plurality of data platforms; the executable instructions further cause the processor to: and calling interfaces corresponding to the interface information of the plurality of data platforms in the configuration information, and sending a material acquisition request to the plurality of data platforms.
In an alternative embodiment, the configuration information further includes: presenting a plurality of priority levels corresponding to the materials; the executable instructions further cause the processor to: and calling interfaces corresponding to the interface information of the plurality of data platforms in the configuration information, and sending a material acquisition request for requesting presentation materials corresponding to the priority level to the plurality of data platforms according to the order of the priority level from high to low.
In an alternative embodiment, the executable instructions further cause the processor to: receiving and storing presentation materials returned by a plurality of data platforms in a first preset time period; and selecting the presentation material with the highest index score from the presentation materials stored by the client as a target presentation material.
In an alternative embodiment, the configuration information further includes: presetting a highest scoring threshold; the executable instructions further cause the processor to: judging whether the index score of the presentation material is equal to a preset highest score threshold value in the configuration information or not when the presentation material returned by any data platform is received; if yes, taking the presentation material as a target presentation material; if not, the presentation materials are stored in the client.
In an alternative embodiment, the executable instructions further cause the processor to: judging whether presentation materials with index scores equal to a preset highest score threshold value are received in a second preset time period or not; if not, selecting the presentation material with the highest index score from the presentation materials stored by the client as the target presentation material.
In an alternative embodiment, the client page is a designated e-book reading page including a display bit; the executable instructions further cause the processor to: when the user is detected to execute the electronic book page turning operation, the electronic book is turned, and whether target presentation materials are stored in the client side or not is inquired; if the target presentation materials are not stored, sending a material acquisition request to a plurality of data platforms according to the configuration information; when the electronic book turns to the appointed electronic book reading page, the target presentation material is presented in the display position of the appointed electronic book reading page.
In an alternative embodiment, the client page is a client home page including a display bit; the executable instructions further cause the processor to: when the client starting operation executed by the user is detected, starting the client and inquiring whether target presentation materials are stored in the client; if the target presentation materials are not stored, sending a material acquisition request to a plurality of data platforms according to the configuration information; and presenting the target presentation material in the display position of the client main page.
Example IV
FIG. 4 is a schematic diagram of a computing device according to a fourth embodiment of the present invention, and the embodiment of the present invention is not limited to the specific implementation of the computing device.
As shown in fig. 4, the computing device may include: a processor 402, a communication interface (Communications Interface) 404, a memory 406, and a communication bus 408.
Wherein:
processor 402, communication interface 404, and memory 406 communicate with each other via communication bus 408.
A communication interface 404 for communicating with network elements of other devices, such as clients or other servers.
The processor 402 is configured to execute the program 410, and may specifically perform relevant steps in the foregoing material concurrent request processing method embodiment.
In particular, program 410 may include program code including computer-operating instructions.
The processor 402 may be a central processing unit CPU, or an Application-specific integrated Circuit ASIC (Application SPECIFIC INTEGRATED Circuit), or one or more integrated circuits configured to implement embodiments of the present invention. The one or more processors included by the computing device may be the same type of processor, such as one or more CPUs; but may also be different types of processors such as one or more CPUs and one or more ASICs.
Memory 406 for storing programs 410. Memory 406 may comprise high-speed RAM memory or may also include non-volatile memory (non-volatile memory), such as at least one disk memory.
Program 410 may be specifically operable to cause processor 402 to: acquiring configuration information corresponding to a display bit in a client page from a server; according to the configuration information, sending a material acquisition request to a plurality of data platforms; receiving presentation materials returned by a plurality of data platforms, and selecting the presentation material with the highest index score from the returned presentation materials as a target presentation material; the target presentation material is presented in a display position of the client page.
In an alternative embodiment, the configuration information includes: interface information of a plurality of data platforms; program 410 further causes processor 402 to: and calling interfaces corresponding to the interface information of the plurality of data platforms in the configuration information, and sending a material acquisition request to the plurality of data platforms.
In an alternative embodiment, the configuration information further includes: presenting a plurality of priority levels corresponding to the materials; program 410 further causes processor 402 to: and calling interfaces corresponding to the interface information of the plurality of data platforms in the configuration information, and sending a material acquisition request for requesting presentation materials corresponding to the priority level to the plurality of data platforms according to the order of the priority level from high to low.
In an alternative embodiment, program 410 further causes processor 402 to: receiving and storing presentation materials returned by a plurality of data platforms in a first preset time period; and selecting the presentation material with the highest index score from the presentation materials stored by the client as a target presentation material.
In an alternative embodiment, the configuration information further includes: presetting a highest scoring threshold; program 410 further causes processor 402 to: judging whether the index score of the presentation material is equal to a preset highest score threshold value in the configuration information or not when the presentation material returned by any data platform is received; if yes, taking the presentation material as a target presentation material; if not, the presentation materials are stored in the client.
In an alternative embodiment, program 410 further causes processor 402 to: judging whether presentation materials with index scores equal to a preset highest score threshold value are received in a second preset time period or not; if not, selecting the presentation material with the highest index score from the presentation materials stored by the client as the target presentation material.
In an alternative embodiment, the client page is a designated e-book reading page including a display bit; program 410 further causes processor 402 to: when the user is detected to execute the electronic book page turning operation, the electronic book is turned, and whether target presentation materials are stored in the client side or not is inquired; if the target presentation materials are not stored, sending a material acquisition request to a plurality of data platforms according to the configuration information; when the electronic book turns to the appointed electronic book reading page, the target presentation material is presented in the display position of the appointed electronic book reading page.
In an alternative embodiment, the client page is a client home page including a display bit; program 410 further causes processor 402 to: when the client starting operation executed by the user is detected, starting the client and inquiring whether target presentation materials are stored in the client; if the target presentation materials are not stored, sending a material acquisition request to a plurality of data platforms according to the configuration information; and presenting the target presentation material in the display position of the client main page.
The specific implementation of each step in the procedure 410 may refer to the description corresponding to the corresponding step in the above material concurrency request processing embodiment, which is not described herein. It will be clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process description in the foregoing method embodiment, which is not repeated here.
According to the scheme provided by the embodiment, the client side sends the material acquisition requests to the plurality of data platforms for one display position in parallel, so that the success rate of material presentation is improved; and according to the index score of the presentation materials, the effective screening of the presentation materials is realized, the high-quality presentation materials can be conveniently selected for presentation in the presentation position, and the material presentation effect is improved.
The algorithms and displays presented herein are not inherently related to any particular computer, virtual system, or other apparatus. Various general-purpose systems may also be used with the teachings herein. The required structure for a construction of such a system is apparent from the description above. In addition, the present invention is not directed to any particular programming language. It will be appreciated that the teachings of the present invention described herein may be implemented in a variety of programming languages, and the above description of specific languages is provided for disclosure of enablement and best mode of the present invention.
In the description provided herein, numerous specific details are set forth. However, it is understood that embodiments of the invention may be practiced without these specific details. In some instances, well-known methods, structures and techniques have not been shown in detail in order not to obscure an understanding of this description.
Similarly, it should be appreciated that in the foregoing description of exemplary embodiments of the invention, various features of the invention are sometimes grouped together in a single embodiment, figure, or description thereof for the purpose of streamlining the disclosure and aiding in the understanding of one or more of the various inventive aspects. However, the disclosed method should not be construed as reflecting the intention that: i.e., the claimed invention requires more features than are expressly recited in each claim. Rather, as the following claims reflect, inventive aspects lie in less than all features of a single foregoing disclosed embodiment. Thus, the claims following the detailed description are hereby expressly incorporated into this detailed description, with each claim standing on its own as a separate embodiment of this invention.
Those skilled in the art will appreciate that the modules in the apparatus of the embodiments may be adaptively changed and disposed in one or more apparatuses different from the embodiments. The modules or units or components of the embodiments may be combined into one module or unit or component and, furthermore, they may be divided into a plurality of sub-modules or sub-units or sub-components. Any combination of all features disclosed in this specification (including any accompanying claims, abstract and drawings), and all of the processes or units of any method or apparatus so disclosed, may be used in combination, except insofar as at least some of such features and/or processes or units are mutually exclusive. Each feature disclosed in this specification (including any accompanying claims, abstract and drawings), may be replaced by alternative features serving the same, equivalent or similar purpose, unless expressly stated otherwise.
Furthermore, those skilled in the art will appreciate that while some embodiments described herein include some features but not others included in other embodiments, combinations of features of different embodiments are meant to be within the scope of the invention and form different embodiments. For example, in the claims, any of the claimed embodiments may be used in any combination.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and that those skilled in the art will be able to design alternative embodiments without departing from the scope of the appended claims. In the claims, any reference signs placed between parentheses shall not be construed as limiting the claim. The word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. The use of the words first, second, third, etc. do not denote any order. These words may be interpreted as names.

Claims (13)

1. A material concurrency request processing method comprises the following steps:
acquiring configuration information corresponding to a display bit in a client page from a server;
according to the configuration information, sending a material acquisition request to a plurality of data platforms;
receiving presentation materials returned by a plurality of data platforms, and selecting the presentation material with the highest index score from the returned presentation materials as a target presentation material;
Presenting the target presentation material in the display position of the client page;
wherein the configuration information includes: presetting a highest scoring threshold;
the receiving the presentation materials returned by the plurality of data platforms, and selecting the presentation material with the highest index score from the returned presentation materials as the target presentation material comprises the following steps:
judging whether the index score of the presentation material is equal to a preset highest score threshold value in the configuration information or not when the presentation material returned by any data platform is received;
If yes, taking the presentation materials as target presentation materials; if not, the presentation materials are stored in the client;
And after the presentation materials are stored in the client, starting timing of a second preset time period, and if the presentation materials with index scores equal to a preset highest score threshold are not received in the second preset time period, selecting the presentation materials with the highest index scores from the presentation materials stored in the client as target presentation materials.
2. The method of claim 1, the configuration information comprising: interface information of a plurality of data platforms;
and sending a material acquisition request to a plurality of data platforms according to the configuration information, wherein the material acquisition request comprises:
and calling interfaces corresponding to the interface information of the plurality of data platforms in the configuration information, and sending a material acquisition request to the plurality of data platforms.
3. The method of claim 2, the configuration information further comprising: presenting a plurality of priority levels corresponding to the materials;
and sending a material acquisition request to a plurality of data platforms according to the configuration information, wherein the material acquisition request comprises:
and calling interfaces corresponding to interface information of a plurality of data platforms in the configuration information, and sending a material acquisition request for requesting presentation materials corresponding to the priority level to the plurality of data platforms according to the order of the priority level from high to low.
4. A method according to any one of claims 1 to 3, wherein the receiving presentation materials returned by the plurality of data platforms, and selecting the presentation material with the highest index score from the returned presentation materials as the target presentation material, includes:
receiving and storing presentation materials returned by a plurality of data platforms in a first preset time period;
And selecting the presentation material with the highest index score from the presentation materials stored by the client as a target presentation material.
5. The method of any of claims 1-3, the client page being a designated electronic book reading page including a display bit;
Before the material acquisition request is sent to the plurality of data platforms according to the configuration information, the method further comprises: when the fact that a user executes the electronic book page turning operation is detected, the electronic book is turned, and whether target presentation materials are stored in the client side or not is inquired;
The sending a material acquisition request to a plurality of data platforms according to the configuration information specifically comprises: if the target presentation materials are not stored, sending a material acquisition request to a plurality of data platforms according to the configuration information;
the step of presenting the target presentation material in the display position of the client page specifically includes: and when the electronic book turns to the appointed electronic book reading page, the target presentation material is presented in the display position of the appointed electronic book reading page.
6. A method according to any of claims 1-3, the client page being a client home page comprising a display bit;
before the material acquisition request is sent to the plurality of data platforms according to the configuration information, the method further comprises: when detecting that a user executes a client starting operation, starting the client and inquiring whether target presentation materials are stored in the client;
The sending a material acquisition request to a plurality of data platforms according to the configuration information specifically comprises: if the target presentation materials are not stored, sending a material acquisition request to a plurality of data platforms according to the configuration information;
the step of presenting the target presentation material in the display position of the client page specifically includes: and presenting the target presentation materials in the display position of the client main page.
7. A computing device, comprising: the device comprises a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface complete communication with each other through the communication bus;
The memory is configured to hold at least one executable instruction that causes the processor to:
acquiring configuration information corresponding to a display bit in a client page from a server;
according to the configuration information, sending a material acquisition request to a plurality of data platforms;
receiving presentation materials returned by a plurality of data platforms, and selecting the presentation material with the highest index score from the returned presentation materials as a target presentation material;
Presenting the target presentation material in the display position of the client page;
Wherein the configuration information includes: presetting a highest scoring threshold; the executable instructions further cause the processor to:
judging whether the index score of the presentation material is equal to a preset highest score threshold value in the configuration information or not when the presentation material returned by any data platform is received;
If yes, taking the presentation materials as target presentation materials; if not, the presentation materials are stored in the client;
And after the presentation materials are stored in the client, starting timing of a second preset time period, and if the presentation materials with index scores equal to a preset highest score threshold are not received in the second preset time period, selecting the presentation materials with the highest index scores from the presentation materials stored in the client as target presentation materials.
8. The computing device of claim 7, the configuration information comprising: interface information of a plurality of data platforms; the executable instructions further cause the processor to:
and calling interfaces corresponding to the interface information of the plurality of data platforms in the configuration information, and sending a material acquisition request to the plurality of data platforms.
9. The computing device of claim 8, the configuration information further comprising: presenting a plurality of priority levels corresponding to the materials; the executable instructions further cause the processor to:
and calling interfaces corresponding to interface information of a plurality of data platforms in the configuration information, and sending a material acquisition request for requesting presentation materials corresponding to the priority level to the plurality of data platforms according to the order of the priority level from high to low.
10. The computing device of any of claims 7-9, the executable instructions further cause the processor to:
receiving and storing presentation materials returned by a plurality of data platforms in a first preset time period;
And selecting the presentation material with the highest index score from the presentation materials stored by the client as a target presentation material.
11. The computing device of any of claims 7-9, the client page being a designated electronic book reading page including a display bit; the executable instructions further cause the processor to:
When the fact that a user executes the electronic book page turning operation is detected, the electronic book is turned, and whether target presentation materials are stored in the client side or not is inquired;
If the target presentation materials are not stored, sending a material acquisition request to a plurality of data platforms according to the configuration information;
and when the electronic book turns to the appointed electronic book reading page, the target presentation material is presented in the display position of the appointed electronic book reading page.
12. The computing device of any of claims 7-9, the client page being a client home page including a display bit; the executable instructions further cause the processor to:
When detecting that a user executes a client starting operation, starting the client and inquiring whether target presentation materials are stored in the client;
If the target presentation materials are not stored, sending a material acquisition request to a plurality of data platforms according to the configuration information;
and presenting the target presentation materials in the display position of the client main page.
13. A computer storage medium having stored therein at least one executable instruction for causing a processor to perform operations corresponding to the material concurrency request processing method of any one of claims 1-6.
CN202111002970.1A 2021-08-30 2021-08-30 Material concurrency request processing method, computing device and storage medium Active CN113722626B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111002970.1A CN113722626B (en) 2021-08-30 2021-08-30 Material concurrency request processing method, computing device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111002970.1A CN113722626B (en) 2021-08-30 2021-08-30 Material concurrency request processing method, computing device and storage medium

Publications (2)

Publication Number Publication Date
CN113722626A CN113722626A (en) 2021-11-30
CN113722626B true CN113722626B (en) 2024-08-09

Family

ID=78679008

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111002970.1A Active CN113722626B (en) 2021-08-30 2021-08-30 Material concurrency request processing method, computing device and storage medium

Country Status (1)

Country Link
CN (1) CN113722626B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629886A (en) * 2022-03-03 2022-06-14 北京得间科技有限公司 Material display method, material display method, local material creating method, equipment, server and storage medium
CN114880057A (en) * 2022-04-22 2022-08-09 北京三快在线科技有限公司 Image display method, image display device, terminal, server, and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101142003A (en) * 2004-12-23 2008-03-12 巨大股份有限公司 Matching and scoring of advertisements for targeted delivery into multiple video games, such as single and multiplayer games
CN109829755A (en) * 2019-01-15 2019-05-31 珠海天燕科技有限公司 A kind of processing method of information, device
CN111325574A (en) * 2020-02-11 2020-06-23 上海连尚网络科技有限公司 Method and equipment for providing presence information

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105205072B (en) * 2014-06-24 2019-04-12 腾讯科技(深圳)有限公司 The methods of exhibiting and system of webpage information
CN107483521A (en) * 2016-06-08 2017-12-15 阿里巴巴集团控股有限公司 A kind of information displaying method, apparatus and system
CN112104890A (en) * 2020-11-17 2020-12-18 浙江口碑网络技术有限公司 Interaction method and device based on commodity materials

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101142003A (en) * 2004-12-23 2008-03-12 巨大股份有限公司 Matching and scoring of advertisements for targeted delivery into multiple video games, such as single and multiplayer games
CN109829755A (en) * 2019-01-15 2019-05-31 珠海天燕科技有限公司 A kind of processing method of information, device
CN111325574A (en) * 2020-02-11 2020-06-23 上海连尚网络科技有限公司 Method and equipment for providing presence information

Also Published As

Publication number Publication date
CN113722626A (en) 2021-11-30

Similar Documents

Publication Publication Date Title
CN113722626B (en) Material concurrency request processing method, computing device and storage medium
CN106484862B (en) Page control method and device
RU2571512C2 (en) Content conversion on computer
JP6013514B2 (en) System and method for improving access to search results
CN106933871B (en) Short link processing method and device and short link server
US20190109920A1 (en) Browser resource pre-pulling method, terminal and storage medium
US20130117252A1 (en) Large-scale real-time fetch service
CN107026871B (en) Web vulnerability scanning method based on cloud computing
US8484373B2 (en) System and method for redirecting a request for a non-canonical web page
CN103368986A (en) Information recommendation method and information recommendation device
US20210182901A1 (en) Handling search queries
CN112711372B (en) Page response method in visual impairment mode, computing device and computer storage medium
JP6750034B2 (en) Installation of operating system
CN107329976B (en) Webpage paging method and device, computer equipment and computer readable storage medium
CN108122124B (en) Information pushing method, platform and system
CN109495553A (en) A kind of webpage display control method, system and Reverse Proxy
CN110750744A (en) Page presentation method and device
CN105915610A (en) Asynchronous communication method and device
CN106776131B (en) Data backup method and server
CN108062224B (en) Data reading and writing method and device based on file handle and computing equipment
US11134116B2 (en) System and method for dynamically loading a webpage
CN112688980B (en) Resource distribution method and device, and computer equipment
CN109451018B (en) Information object pushing method, computing device and computer storage medium
CN114036429A (en) Material processing method, computing device and storage medium
CN111367868B (en) File acquisition request processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant