CN110727827A - Video list data aggregation method and device, computer equipment and storage medium - Google Patents

Video list data aggregation method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN110727827A
CN110727827A CN201911006982.4A CN201911006982A CN110727827A CN 110727827 A CN110727827 A CN 110727827A CN 201911006982 A CN201911006982 A CN 201911006982A CN 110727827 A CN110727827 A CN 110727827A
Authority
CN
China
Prior art keywords
data
video
video list
list data
praise
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.)
Granted
Application number
CN201911006982.4A
Other languages
Chinese (zh)
Other versions
CN110727827B (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.)
Shenzhen Moshi Technology Co ltd
Original Assignee
Shenzhen Moshi 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 Shenzhen Moshi Technology Co ltd filed Critical Shenzhen Moshi Technology Co ltd
Priority to CN201911006982.4A priority Critical patent/CN110727827B/en
Publication of CN110727827A publication Critical patent/CN110727827A/en
Application granted granted Critical
Publication of CN110727827B publication Critical patent/CN110727827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/75Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/73Querying

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a video list data aggregation method and device, computer equipment and a storage medium, and relates to the field of data aggregation. The method comprises the following steps: after receiving a synchronization request of video list data, inquiring corresponding video list data according to the synchronization request, and generating a video ID set and a producer ID set according to the inquired video list data; asynchronously requesting praise data according to the video ID set and asynchronously requesting attention data according to the producer ID set; when the praise data and/or the concerned data are/is acquired, aggregating the praise data and/or the concerned data with the video list data; and returning the aggregated video list data. The invention can ensure that the basic video list data is acquired, and meanwhile, the data is complied with and/or concerned by asynchronous requests, the downstream services do not influence each other, and the invention can be expanded horizontally and rapidly.

Description

Video list data aggregation method and device, computer equipment and storage medium
Technical Field
The present invention relates to the field of data aggregation, and in particular, to a method and an apparatus for aggregating video list data, a computer device, and a storage medium.
Background
The current data request modes are generally divided into synchronous request and asynchronous request, and the two request modes have respective characteristics. For example, synchronous requests use the main thread to obtain all the requested data at one time, which leads to a common problem, when the requested data is large, a stuck phenomenon is easy to occur, that is, the main thread is blocked; the asynchronous request is to create a thread again, and use the thread to request data, so as to request data step by step, so that data can be obtained continuously and updated simultaneously, and the phenomenon of stuck is avoided, i.e. the asynchronous request can receive data and update data with the received data at the same time, and the asynchronous request cannot update data until the data is received completely, but the mode cannot ensure that the data can be received certainly.
For video services, some data must be guaranteed to be acquired, some data is optional, and the existing data request mode cannot meet the requirements of both aspects.
Disclosure of Invention
The embodiment of the invention provides a video list data aggregation method, a video list data aggregation device, computer equipment and a storage medium, and aims to solve the problem that an existing data request method cannot guarantee that designated data can be acquired and optional data can be acquired continuously.
The embodiment of the invention provides a video list data aggregation method, which comprises the following steps:
after receiving a synchronization request of video list data, inquiring corresponding video list data according to the synchronization request, and generating a video ID set and a producer ID set according to the inquired video list data;
asynchronously requesting praise data according to the video ID set and asynchronously requesting attention data according to the producer ID set;
when the praise data and/or the concerned data are/is acquired, aggregating the praise data and/or the concerned data with the video list data;
and returning the aggregated video list data.
Preferably, the generating a video ID set and a producer ID set according to the queried video list data includes:
traversing the video ID in the video list data to generate a video ID set;
and traversing the producer ID in the video list data to generate a producer ID set.
Preferably, the asynchronously requesting the like data according to the video ID set and the asynchronously requesting the attention data according to the producer ID set includes:
asynchronously requesting praise data according to the video ID set;
asynchronously requesting data of interest based on the set of producer IDs, and the asynchronous request for data of interest is concurrent with the asynchronous request for data of interest.
Preferably, the asynchronously requesting for approval data according to the video ID set includes:
generating a DeferredResult object, wherein the DeferredResult object stores the context of network connection;
submitting the asynchronous request of the praise data to a praise service thread, and asynchronously requesting the praise data through the praise service thread;
and when the praise service thread inquires the praise data according to the asynchronous request, filling the inquired praise data into the DeferredResult object and returning.
Preferably, the asynchronously requesting data of interest according to the producer ID set includes:
generating a DeferredResult object, wherein the DeferredResult object stores the context of network connection;
the asynchronous request of the concerned data is delivered to a concerned business thread, and the concerned data is asynchronously requested through the concerned business thread;
and when the concerned business thread inquires the concerned data according to the asynchronous request, filling the inquired concerned data into the deferredResult object and returning.
Preferably, when the like data and/or the attention data are acquired, aggregating the like data and/or the attention data with the video list data includes:
judging whether the praise data is acquired within the first timeout period and/or whether the attention data is acquired within the second timeout period;
if yes, aggregating the like data and the video list data; and/or aggregating the concerned data and the video list data if the concerned data is acquired within the second timeout.
Preferably, the video list data aggregation method further includes:
if the praise data is not acquired within the first timeout period and the attention data is not acquired within the second timeout period, directly returning unaggregated video list data.
An embodiment of the present invention provides a video list data aggregation apparatus, which includes:
the synchronous request unit is used for inquiring corresponding video list data according to the synchronous request after receiving the synchronous request of the video list data, and generating a video ID set and a producer ID set according to the inquired video list data;
an asynchronous request unit, configured to asynchronously request compliment data according to the video ID set and asynchronously request attention data according to the producer ID set;
the aggregation unit is used for aggregating the praise data and/or the concerned data and the video list data when the praise data and/or the concerned data are acquired;
and the returning unit is used for returning the aggregated video list data.
An embodiment of the present invention provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the video list data aggregation method as described above when executing the computer program.
An embodiment of the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to execute the video list data aggregation method as described above.
The embodiment of the invention provides a video list data aggregation method, a video list data aggregation device, computer equipment and a storage medium, wherein the method comprises the following steps: after receiving a synchronization request of video list data, inquiring corresponding video list data according to the synchronization request, and generating a video ID set and a producer ID set according to the inquired video list data; asynchronously requesting praise data according to the video ID set and asynchronously requesting attention data according to the producer ID set; when the praise data and/or the concerned data are/is acquired, aggregating the praise data and/or the concerned data with the video list data; and returning the aggregated video list data. The embodiment of the invention can ensure that the basic video list data is acquired, and meanwhile, the data is complied with and/or concerned by asynchronous requests, the downstream services do not influence each other, and the rapid horizontal expansion can be realized.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a video list data aggregation method according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of a video list data aggregation apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1, fig. 1 is a schematic flow chart of a video list data aggregation method according to an embodiment of the present invention, including steps S101 to S104:
s101, after receiving a synchronization request of video list data, inquiring corresponding video list data according to the synchronization request, and generating a video ID set and a producer ID set according to the inquired video list data;
when the video list data needs to be aggregated, a synchronization request of the video list data is acquired first, and then the corresponding video list data is inquired according to the synchronization request. Because the video list data is the essential basic data in the video service, the embodiment of the invention adopts a synchronous request mode to request the data, and ensures that the video list data can be acquired.
And generating two sets according to the video list data, wherein one set is a video ID set, and the other set is a producer ID set. The video ID set refers to a set formed by video IDs corresponding to the videos, and the producer ID set refers to a set formed by users corresponding to the videos. The producer therein may refer to the author of the video.
The video list data contains information of video ID and producer ID, the video list data is traversed, the video ID and the producer ID can be obtained according to the information in the video list data, and the video ID and the producer ID are cached as a video ID set and a producer ID set respectively.
In an embodiment, the generating the video ID set and the producer ID set according to the queried video list data includes:
traversing the video ID in the video list data to generate a video ID set;
and traversing the producer ID in the video list data to generate a producer ID set.
Specifically, since there is information of a plurality of videos in the video list data, the video IDs in the video list data may be traversed to obtain all the video IDs in the video list data, and the video ID set may be formed. Likewise, producer IDs in the video list data may be traversed to obtain all producer IDs in the video list data and form a set of producer IDs.
In this embodiment, the request timeout time of the synchronization request may be set, and if the video list data is not acquired within the request timeout time, the empty video list data is returned. The request timeout time here may be set to be large, for example, the request timeout time may be set to 500 milliseconds, so as to leave enough time to request the video list data. Assuming that the information of 20 videos needs to be queried, after the query, it is determined that the corresponding video exists and the state is normal, the video data corresponding to the 20 video IDs are returned to form video list data. The video data includes the information of the video ID and the producer ID, and of course, the video data may include not only the information of the video ID and the producer ID, but also other information, such as a video duration, a video type, a video tag, and the like. In this way, the video list data may include not only the information of the video ID and the producer ID but also information such as a video time length, a video type, a video tag, and the like, and if the caller needs the information, the information may be returned together.
If the non-existing videos are confirmed after the 20 video IDs are inquired, the video IDs corresponding to the non-existing videos do not enter the subsequent processing flow.
S102, asynchronously requesting praise data according to the video ID set and asynchronously requesting attention data according to the producer ID set.
Obtaining praise data according to the video ID set obtained in the step; according to the producer ID set obtained in the above steps, the concerned data can also be obtained, so that the aggregation operation can be performed according to the praise data and the concerned data, and the producers who approve the videos or pay attention to the videos in the batch by the current user can be known.
In one embodiment, the step S102 includes:
asynchronously requesting praise data according to the video ID set;
asynchronously requesting data of interest based on the set of producer IDs, and the asynchronous request for data of interest is concurrent with the asynchronous request for data of interest.
In the embodiment, the approval data and the attention data are asynchronously requested respectively, and the two asynchronous requests are performed concurrently, so that the request efficiency can be improved.
In an embodiment, said asynchronously requesting like data from said set of video IDs comprises:
generating a DeferredResult object, wherein the DeferredResult object stores the context of network connection;
submitting the asynchronous request of the praise data to a praise service thread, and asynchronously requesting the praise data through the praise service thread;
and when the praise service thread inquires the praise data according to the asynchronous request, filling the inquired praise data into the DeferredResult object and returning.
In this embodiment, a DeferredResult object may be generated according to an asynchronous request for data, and the DeferredResult object stores a context of a network connection. After the DeferredResult object is generated, a callback method can be defined, the praise service threads in the praise service thread pool are given to asynchronously request the praise data, at this time, the network threads can be released, and the network processing performance is greatly improved.
The present embodiment adopts a DeferredResult object, which has the following two functions: timeout configuration and result setting. For timeout configuration: the timeout time in milliseconds may be passed in through the constructor; because the processing and returning can be continued after the setting result is waited, if the waiting is always caused to be always unresponsive, a corresponding time-out mechanism is necessary to avoid the problem. For the result set: its results are stored in an attribute named result; the properties may be set by calling the method of setstatement.
In one embodiment, the asynchronously requesting data of interest from the set of producer IDs comprises:
generating a DeferredResult object, wherein the DeferredResult object stores the context of network connection;
the asynchronous request of the concerned data is delivered to a concerned business thread, and the concerned data is asynchronously requested through the concerned business thread;
and when the concerned business thread inquires the concerned data according to the asynchronous request, filling the inquired concerned data into the deferredResult object and returning.
In this embodiment, a DeferredResult object may be generated according to an asynchronous request of the concerned data, and the DeferredResult object stores a context of a network connection. After the DeferredResult object is generated, a callback method can be defined, the concerned business thread in the concerned business thread pool is handed over to asynchronously request the concerned data, and at the moment, the network thread can be released, so that the network processing performance is greatly improved.
S103, when the praise data and/or the concerned data are/is acquired, aggregating the praise data and/or the concerned data with the video list data;
in this step, after the approval data and/or the attention data are acquired, a subsequent aggregation operation may be performed.
In one embodiment, the step S103 includes:
judging whether the praise data is acquired within the first timeout period and/or whether the attention data is acquired within the second timeout period;
if yes, aggregating the like data and the video list data; and/or aggregating the concerned data and the video list data if the concerned data is acquired within the second timeout.
In this step, a first timeout period may be predefined, and if the praise service thread obtains the praise data within the first timeout period, a callback method is invoked to fill the praise data into the DeferredResult object for subsequent return to the client; otherwise, if the praise data is not acquired within the first timeout, the null data can be directly returned, resources are released, and processing of other requests is prevented from being influenced.
In this step, a second timeout period may be predefined, and if the attention service thread acquires the attention data within the second timeout period, the call-back method is invoked to fill the attention data into the referrdreresult object for subsequent return to the client; otherwise, if the concerned data is not acquired within the second timeout period, the null data can be directly returned, the resources are released, and the processing of other requests is prevented from being influenced.
In this embodiment, if the approval data is acquired within the first timeout period or the attention data is acquired within the second timeout period, the aggregation operation is performed. This provides better performance than conventional synchronous blocking schemes by asynchronously concurrently requesting non-essential data services (data in favor of and data in focus). In a specific application scenario, the first timeout time and the second timeout time may be set to be short, for example, both may be set to 50 ms, which may limit the return of the approval data and the attention data as soon as possible, and the downstream services may not be affected by each other, so as to achieve fast level expansion.
And S104, returning the video list data after aggregation.
In this step, the aggregated data object is returned to the caller, i.e., the client.
In an embodiment, the video list data aggregation method further includes:
if the praise data is not acquired within the first timeout period and the attention data is not acquired within the second timeout period, directly returning unaggregated video list data.
I.e., the praise data and the attention data are not acquired within the corresponding timeout period, the unaggregated video list data is directly returned. If the approval data is not acquired within the first timeout period or the attention data is not acquired within the second timeout period, the aggregation operation is not performed, and the video list data acquired before the time can provide basic services for the user.
And if the video list data (whether the video list data is aggregated or not) is not returned within the preset time from the receiving of the synchronization request, sending an alarm and feeding back a timeout prompt to the client.
Referring to fig. 2, fig. 2 is a schematic block diagram of an apparatus for aggregating video list data according to an embodiment of the present invention, where the apparatus 200 may include:
a synchronization request unit 201, configured to, after receiving a synchronization request for video list data, query corresponding video list data according to the synchronization request, and generate a video ID set and a producer ID set according to the queried video list data;
an asynchronous request unit 202, configured to asynchronously request praise data according to the video ID set and asynchronously request attention data according to the producer ID set;
an aggregation unit 203, configured to aggregate, when the like data and/or the attention data are acquired, the like data and/or the attention data with the video list data;
a returning unit 204, configured to return the aggregated video list data.
The synchronization request unit 201 includes:
the first traversal unit is used for traversing the video ID in the video list data to generate a video ID set;
and the second traversing unit is used for traversing the producer ID in the video list data to generate a producer ID set.
The asynchronous request unit 202 includes:
a first asynchronous request unit, configured to asynchronously request like data according to the video ID set;
and the second asynchronous request unit is used for asynchronously requesting the concerned data according to the producer ID set, and the asynchronous request of the concerned data is concurrent with the asynchronous request of the praise data.
The first asynchronous request unit comprises:
a first generating unit, configured to generate a DeferredResult object, where the DeferredResult object stores a context of network connection;
a first request unit, configured to submit the asynchronous request for the like data to a like service thread, and asynchronously request for the like data through the like service thread;
and the first filling unit is used for filling the inquired approval data into the DeferredResult object and returning the inquired approval data when the approval service thread inquires the approval data according to the asynchronous request.
The second asynchronous request unit comprises:
a second generating unit, configured to generate a DeferredResult object, where the DeferredResult object stores a context of network connection;
the second request unit is used for delivering the asynchronous request of the concerned data to a concerned business thread and asynchronously requesting the concerned data through the concerned business thread;
and the second filling unit is used for filling the inquired concerned data into the DeferredResult object and returning the inquired concerned data when the concerned business thread inquires the concerned data according to the asynchronous request.
The aggregation unit 203 includes:
the judging unit is used for judging whether the praise data is acquired within the first overtime and/or whether the attention data is acquired within the second overtime;
the aggregation execution unit is used for aggregating the like data and the video list data if the like data is acquired within the first timeout; and/or aggregating the concerned data and the video list data if the concerned data is acquired within the second timeout.
The video list data aggregating apparatus 200 further includes:
and the unaggregated unit is used for directly returning unaggregated video list data if the praise data is not acquired within the first timeout period and the concerned data is not acquired within the second timeout period.
The embodiment of the invention also provides computer equipment which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein the processor realizes the video list data aggregation method when executing the computer program.
An embodiment of the present invention is also a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to execute the video list data aggregation method.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses, devices and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only a logical division, and there may be other divisions when the actual implementation is performed, or units having the same function may be grouped into one unit, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for aggregating video list data, comprising:
after receiving a synchronization request of video list data, inquiring corresponding video list data according to the synchronization request, and generating a video ID set and a producer ID set according to the inquired video list data;
asynchronously requesting praise data according to the video ID set and asynchronously requesting attention data according to the producer ID set;
when the praise data and/or the concerned data are/is acquired, aggregating the praise data and/or the concerned data with the video list data;
and returning the aggregated video list data.
2. The video list data aggregation method according to claim 1, wherein the generating a video ID set and a producer ID set according to the queried video list data includes:
traversing the video ID in the video list data to generate a video ID set;
and traversing the producer ID in the video list data to generate a producer ID set.
3. The method for aggregating video list data according to claim 1, wherein said asynchronously requesting like data from said video ID set and asynchronously requesting care data from said producer ID set comprises:
asynchronously requesting praise data according to the video ID set;
asynchronously requesting data of interest based on the set of producer IDs, and the asynchronous request for data of interest is concurrent with the asynchronous request for data of interest.
4. The video list data aggregation method according to claim 3, wherein said asynchronously requesting like data from the video ID set comprises:
generating a DeferredResult object, wherein the DeferredResult object stores the context of network connection;
submitting the asynchronous request of the praise data to a praise service thread, and asynchronously requesting the praise data through the praise service thread;
and when the praise service thread inquires the praise data according to the asynchronous request, filling the inquired praise data into the DeferredResult object and returning.
5. The video list data aggregation method of claim 3, wherein said asynchronously requesting data of interest from said set of producer IDs comprises:
generating a DeferredResult object, wherein the DeferredResult object stores the context of network connection;
the asynchronous request of the concerned data is delivered to a concerned business thread, and the concerned data is asynchronously requested through the concerned business thread;
and when the concerned business thread inquires the concerned data according to the asynchronous request, filling the inquired concerned data into the deferredResult object and returning.
6. The method for aggregating video list data according to claim 1, wherein the aggregating the like data and/or the attention data with the video list data when the like data and/or the attention data are acquired comprises:
judging whether the praise data is acquired within the first timeout period and/or whether the attention data is acquired within the second timeout period;
if yes, aggregating the like data and the video list data; and/or aggregating the concerned data and the video list data if the concerned data is acquired within the second timeout.
7. The video list data aggregation method according to claim 6, further comprising:
if the praise data is not acquired within the first timeout period and the attention data is not acquired within the second timeout period, directly returning unaggregated video list data.
8. A video list data aggregation apparatus, comprising:
the synchronous request unit is used for inquiring corresponding video list data according to the synchronous request after receiving the synchronous request of the video list data, and generating a video ID set and a producer ID set according to the inquired video list data;
an asynchronous request unit, configured to asynchronously request compliment data according to the video ID set and asynchronously request attention data according to the producer ID set;
the aggregation unit is used for aggregating the praise data and/or the concerned data and the video list data when the praise data and/or the concerned data are acquired;
and the returning unit is used for returning the aggregated video list data.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the video list data aggregation method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to perform the video list data aggregation method according to any one of claims 1 to 7.
CN201911006982.4A 2019-10-22 2019-10-22 Video list data aggregation method and device, computer equipment and storage medium Active CN110727827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911006982.4A CN110727827B (en) 2019-10-22 2019-10-22 Video list data aggregation method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911006982.4A CN110727827B (en) 2019-10-22 2019-10-22 Video list data aggregation method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110727827A true CN110727827A (en) 2020-01-24
CN110727827B CN110727827B (en) 2022-05-13

Family

ID=69221681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911006982.4A Active CN110727827B (en) 2019-10-22 2019-10-22 Video list data aggregation method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110727827B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434729A (en) * 2021-08-04 2021-09-24 深圳墨世科技有限公司 Video related information aggregation obtaining method and device and terminal equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164449A (en) * 2011-12-15 2013-06-19 腾讯科技(深圳)有限公司 Search result showing method and search result showing device
US20190005139A1 (en) * 2017-06-05 2019-01-03 Ford Media, Inc. Content aggregation, presentation and related system
CN109670077A (en) * 2018-11-01 2019-04-23 北京达佳互联信息技术有限公司 Video recommendation method, device and computer readable storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103164449A (en) * 2011-12-15 2013-06-19 腾讯科技(深圳)有限公司 Search result showing method and search result showing device
US20190005139A1 (en) * 2017-06-05 2019-01-03 Ford Media, Inc. Content aggregation, presentation and related system
CN109670077A (en) * 2018-11-01 2019-04-23 北京达佳互联信息技术有限公司 Video recommendation method, device and computer readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李毅: ""随看"—面向用户的视频聚合解决方案", 《中国优秀博硕士学位论文全文数据库(硕士)》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434729A (en) * 2021-08-04 2021-09-24 深圳墨世科技有限公司 Video related information aggregation obtaining method and device and terminal equipment
CN113434729B (en) * 2021-08-04 2024-01-30 深圳墨世科技有限公司 Video related information aggregation acquisition method and device and terminal equipment

Also Published As

Publication number Publication date
CN110727827B (en) 2022-05-13

Similar Documents

Publication Publication Date Title
CN107729139B (en) Method and device for concurrently acquiring resources
US20040143645A1 (en) Asynchronous web service invocation model
CN107241380B (en) Method and apparatus for time-based adjusted load balancing
US9300759B1 (en) API calls with dependencies
CN111127181B (en) Voucher accounting method and device
US11080146B2 (en) System and method for storage unavailability tolerant backup
CN110489440B (en) Data query method and device
US20160070475A1 (en) Memory Management Method, Apparatus, and System
EP2897368A2 (en) Interactive personal/internet protocol television subscription system, and subscription plan management method and device
US7970814B2 (en) Method and apparatus for providing a synchronous interface for an asynchronous service
CN104125297A (en) Virtual resource sharing method, device and system
CN111753065A (en) Request response method, system, computer system and readable storage medium
CN113238861A (en) Task execution method and device
CN110727827B (en) Video list data aggregation method and device, computer equipment and storage medium
CN111294377B (en) Dependency network request sending method, terminal device and storage medium
JP2016519380A (en) Information transmission based on reading speed
US20230283655A1 (en) Data download method and apparatus, electronic device, and readable storage medium
CN112698914B (en) Workflow task container generation system and method
US11606399B2 (en) System and method for meeting preparation and user content management using heterogeneous cloud service providers
CN114296891A (en) Task scheduling method, system, computing device, storage medium and program product
JP2008186358A (en) Data base access system and data base access method, and program
CN112597224A (en) Data export method, data export device, electronic equipment and medium
US20100175076A1 (en) Method for executing a software routine identified in a task object
CN111049938A (en) Message notification method and device, electronic equipment and readable storage medium
CN112579615A (en) Method and device for realizing distributed lock

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