CN113434729B - Video related information aggregation acquisition method and device and terminal equipment - Google Patents

Video related information aggregation acquisition method and device and terminal equipment Download PDF

Info

Publication number
CN113434729B
CN113434729B CN202110891498.5A CN202110891498A CN113434729B CN 113434729 B CN113434729 B CN 113434729B CN 202110891498 A CN202110891498 A CN 202110891498A CN 113434729 B CN113434729 B CN 113434729B
Authority
CN
China
Prior art keywords
request
related information
video
information request
acquisition
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
CN202110891498.5A
Other languages
Chinese (zh)
Other versions
CN113434729A (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 CN202110891498.5A priority Critical patent/CN113434729B/en
Publication of CN113434729A publication Critical patent/CN113434729A/en
Application granted granted Critical
Publication of CN113434729B publication Critical patent/CN113434729B/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/70Information retrieval; Database structures therefor; File system structures therefor of video data
    • G06F16/74Browsing; Visualisation therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • G06F9/5038Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals considering the execution order of a plurality of tasks, e.g. taking priority or time dependency constraints into consideration

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application discloses a video related information aggregation acquisition method, a device and terminal equipment, wherein the method comprises the steps of carrying out asynchronous processing on each related information request in video acquisition requests so as to enable each related information request to be asynchronously sent to a corresponding server; receiving a request result corresponding to each related information request returned from the corresponding server; if the received request result comprises a request result corresponding to the video information request, aggregating the received request result, and displaying the video corresponding to the video acquisition request according to the aggregated request result. In one aspect of the application, the problem of network congestion caused by simultaneous transmission of a plurality of related information requests is avoided through asynchronous transmission; on the other hand, when a request result corresponding to the video information request is received, displaying a video corresponding to the video acquisition request according to the aggregated request result, so as to respond to the video acquisition request in time, and avoid response delay and influence on user experience.

Description

Video related information aggregation acquisition method and device and terminal equipment
Technical Field
The present invention relates to the field of video processing technologies, and in particular, to a method, an apparatus, and a terminal device for acquiring video related information in an aggregation manner.
Background
In short video product (e.g., tremble, fast-handhold) systems, video-related information aggregation services are the most central modules of the short video product system. One video contains a large amount of video related information, such as video information, comment information, praise information, etc., and each video presentation needs to initiate aggregation of video information, so as to acquire corresponding video related information from each server of the system. The common video related information aggregation acquisition method can collect video related information of each server in sequence, and the video related information is returned to the terminal equipment after being collected. The video related information aggregation acquisition method can collect video related information of each server in sequence to cause mutual influence of each server, and the failure of information return of one server can cause failure of video related information aggregation. Especially when the user quantity of the short video product reaches the millions, the short video product of the terminal device can hardly respond to the user video acquisition request, so that the video display is delayed, and the terminal device can not respond to the user video acquisition request in severe cases.
Disclosure of Invention
In view of the above problems, the present application proposes a method, an apparatus and a terminal device for acquiring video related information in an aggregation manner.
The embodiment of the application provides a video related information aggregation acquisition method, which comprises the following steps:
receiving a video acquisition request;
carrying out asynchronous processing on each related information request in the video acquisition request so as to enable each related information request to be asynchronously sent to a corresponding server;
receiving a request result corresponding to each related information request returned from the corresponding server;
if the received request result comprises a request result corresponding to the video information request, aggregating the received request result, and displaying the video corresponding to the video acquisition request according to the aggregated request result.
The method for acquiring video related information aggregation in the embodiment of the present application sets priority for each related information request in advance, and performs asynchronous processing on each related information request in the video acquisition request so that each related information request is asynchronously sent to a corresponding server, where the method includes:
setting corresponding asynchronous clock frequency for each related information request, wherein the asynchronous clock frequency corresponding to the related information request with high priority is smaller than the asynchronous clock frequency corresponding to the related information request with low priority;
and asynchronously sending each relevant information request to a corresponding server according to the asynchronous clock frequency corresponding to each relevant information request.
The method for acquiring the video related information in an aggregation manner further comprises the following steps:
and if the request results corresponding to the related information requests do not comprise the request results corresponding to the video information requests, stopping asynchronously sending the related information requests to the corresponding servers and displaying prompt information of failure in response to the video acquisition requests.
The method for acquiring the video related information in an aggregation manner further comprises the following steps:
monitoring the request duration of the video acquisition request when the video acquisition request is received;
and if the request duration reaches a preset first duration threshold, not receiving a request result corresponding to the video information request returned from the corresponding server, and stopping continuously and asynchronously sending each related information request to the corresponding server.
The method for acquiring the video related information in an aggregation manner further comprises the following steps:
monitoring the corresponding sending duration of each related information request when the related information requests are asynchronously sent to the corresponding server;
when the corresponding sending time length of the ith relevant information request is smaller than the corresponding preset second time length threshold value, if a corresponding request result returned from a corresponding server is received, the corresponding request result is stored, and the ith relevant information request is stopped from being sent again;
when the sending time length corresponding to the ith relevant information request reaches a corresponding preset second time length threshold value, if a corresponding request result returned from a corresponding server is not received, the ith relevant information request is abandoned to be sent again.
The method for acquiring the video related information in an aggregation manner further comprises the following steps:
pre-setting priority for each related information request;
setting a corresponding second time length threshold for each related information request according to the priority of each related information request, wherein the second time length threshold corresponding to the related information request with high priority is larger than the second time length threshold corresponding to the related information request with low priority.
The embodiment of the application also provides a video related information aggregation acquisition device, which comprises:
the acquisition module is used for receiving a video acquisition request;
the sending module is used for carrying out asynchronous processing on each related information request in the video acquisition requests so as to enable each related information request to be sent to a corresponding server asynchronously;
the receiving module is used for receiving the request results corresponding to the related information requests returned from the corresponding servers;
and the response module is used for aggregating the received request result if the received request result comprises a request result corresponding to the video information request, and displaying the video corresponding to the video acquisition request according to the aggregated request result.
The video related information aggregation obtaining device of the embodiment of the present application sets a priority for each related information request in advance, and performs asynchronous processing on each related information request in the video obtaining request so that each related information request is asynchronously sent to a corresponding server, where the method includes:
setting corresponding asynchronous clock frequency for each related information request, wherein the asynchronous clock frequency corresponding to the related information request with high priority is smaller than the asynchronous clock frequency corresponding to the related information request with low priority;
and asynchronously sending each relevant information request to a corresponding server according to the asynchronous clock frequency corresponding to each relevant information request.
The embodiment of the application also provides a terminal device, which comprises a memory and a processor, wherein the memory stores a computer program, and the computer program executes the video related information aggregation acquisition method in the embodiment of the application when running on the processor.
The embodiment of the application also provides a readable storage medium, which stores a computer program, and the computer program executes the video related information aggregation acquisition method described in the embodiment of the application when running on a processor.
According to the video related information aggregation acquisition method, each related information request in the video acquisition requests is subjected to asynchronous processing, so that each related information request is asynchronously sent to a corresponding server; receiving a request result corresponding to each related information request returned from the corresponding server; if the received request result comprises a request result corresponding to the video information request, aggregating the received request result, and displaying the video corresponding to the video acquisition request according to the aggregated request result. In one aspect of the application, each related information request is asynchronously processed so that each related information request is asynchronously sent to a corresponding server, and the problem of network congestion caused by simultaneous sending of a plurality of related information requests is avoided through asynchronous sending; on the other hand, when a request result corresponding to the video information request is received, the received request result is aggregated, and a video corresponding to the video acquisition request is displayed according to the aggregated request result, so that timely response to the video acquisition request is realized, response delay is avoided, and user experience is influenced.
Drawings
In order to more clearly illustrate the technical solutions of the present invention, the drawings that are required for the embodiments will be briefly described, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope of the present invention. Like elements are numbered alike in the various figures.
Fig. 1 is a schematic flow chart of a video related information aggregation obtaining method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of a first monitoring request duration in another video related information aggregation obtaining method according to an embodiment of the present application;
fig. 3 is a schematic flow chart of a second method for acquiring video related information by aggregation according to another embodiment of the present application;
fig. 4 is a schematic structural diagram of a video related information aggregation obtaining apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of another video related information aggregation obtaining apparatus according to an embodiment of the present application.
Description of main reference numerals:
10-video related information aggregation acquisition means; 11-an acquisition module; 12-a transmitting module; 13-a receiving module; 14-a response module; 15-a monitoring module; 16-a preset module.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments.
The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present invention.
The terms "comprises," "comprising," "including," or any other variation thereof, are intended to cover a specific feature, number, step, operation, element, component, or combination of the foregoing, which may be used in various embodiments of the present invention, and are not intended to first exclude the presence of or increase the likelihood of one or more other features, numbers, steps, operations, elements, components, or combinations of the foregoing.
Furthermore, the terms "first," "second," "third," and the like are used merely to distinguish between descriptions and should not be construed as indicating or implying relative importance.
Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the invention belong. The terms (such as those defined in commonly used dictionaries) will be interpreted as having a meaning that is the same as the context of the relevant art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein in connection with the various embodiments of the invention.
It is understood that the video related information referred to in the present application includes video information, comment information, praise information, and the like. According to the video related information aggregation acquisition method, each related information request in the video acquisition requests is subjected to asynchronous processing, so that each related information request is asynchronously sent to a corresponding server; receiving a request result corresponding to each related information request returned from the corresponding server; if the received request result comprises a request result corresponding to the video information request, aggregating the received request result, and displaying the video corresponding to the video acquisition request according to the aggregated request result. In one aspect of the application, each related information request is asynchronously processed so that each related information request is asynchronously sent to a corresponding server, and the problem of network congestion caused by simultaneous sending of a plurality of related information requests is avoided through asynchronous sending; on the other hand, when a request result corresponding to the video information request is received, the received request result is aggregated, and a video corresponding to the video acquisition request is displayed according to the aggregated request result, so that timely response to the video acquisition request is realized, response delay is avoided, and user experience is influenced.
Example 1
Referring to fig. 1, an embodiment of the present application shows a video related information aggregation acquisition method, which includes the following steps S100 to S600:
s100: a video acquisition request is received.
The user may send a video acquisition request to the terminal device by sliding a display screen of the terminal device, so that the terminal device receives the video acquisition request, where the video acquisition request includes a request for aggregation acquisition of video related information, and the video related information includes video information, comment information, praise information, and the like. By aggregating the video-related information, the comment information, the praise information, and the like related to the video are displayed at the same time as the video is displayed.
S200: and carrying out asynchronous processing on each related information request in the video acquisition request so as to enable each related information request to be asynchronously sent to a corresponding server.
The priority can be set for each related information request in advance, and when the corresponding asynchronous clock frequency is set for each related information request, the asynchronous clock frequency corresponding to the related information request with high priority can be set to be smaller than the asynchronous clock frequency corresponding to the related information request with low priority; and asynchronously sending each relevant information request to a corresponding server according to the asynchronous clock frequency corresponding to each relevant information request.
For example, in the case of acquiring the video, the video may be preferentially displayed, that is, when the user quantity reaches a million level, in order to preferentially ensure that the user may acquire the video through the terminal device, the comment information and the like are displayed later than the display of the video or not, so that the user may maintain a good use experience, so that the video information request is more important, the highest priority may be set for the video information request, and when the corresponding asynchronous clock frequency is set for each relevant information request, the lowest asynchronous clock frequency may be set for the video information request with the highest priority, that is, the number of times the video information request is sent to the corresponding server is the greatest in a certain time.
S300: and receiving a request result corresponding to each related information request returned from the corresponding server.
And the terminal equipment receives the request results corresponding to the related information requests returned from the corresponding servers. The terminal device may receive the request results corresponding to all the related information requests, may only receive the request results corresponding to part of the related information requests, or may receive the request results corresponding to any related information requests.
It may be understood that the video object includes various fields, each field records a request result corresponding to a related information request, fills the received request result corresponding to the related information request into a corresponding field, and fills the field as a null value (for example, null) or a default value if the related information request corresponding to a certain field does not receive the corresponding request result.
S400: and determining whether the received request result comprises a request result corresponding to the video information request.
Whether the received request result includes the request result corresponding to the video information request or not can be determined by judging the filling value of the field corresponding to the video information request. If the filling value of the field corresponding to the video information request is null (for example, null) or a default value, a request result corresponding to the video information request is not included; if the filling value of the field corresponding to the video information request is not null (for example, null) or a default value, the request result corresponding to the video information request is included.
Further, if the request result corresponding to the video information request is included, step S500 is executed, and if the request result corresponding to the video information request is not included, step S600 is executed.
S500: and aggregating the received request results, and displaying the video corresponding to the video acquisition request according to the aggregated request results.
S600: and stopping asynchronously sending the related information requests to the corresponding servers and displaying prompt information of failure in response to the video acquisition requests.
According to the video related information aggregation acquisition method disclosed by the embodiment, each related information request in the video acquisition requests is asynchronously processed so that each related information request is asynchronously sent to a corresponding server; receiving a request result corresponding to each related information request returned from the corresponding server; if the received request result comprises a request result corresponding to the video information request, aggregating the received request result, and displaying the video corresponding to the video acquisition request according to the aggregated request result. On the one hand, the method and the device for processing the related information requests asynchronously perform asynchronous processing on each related information request so that each related information request is sent to a corresponding server asynchronously, and the problem of network congestion caused by simultaneous sending of a plurality of related information requests is avoided through asynchronous sending; on the other hand, when a request result corresponding to the video information request is received, the received request result is aggregated, and a video corresponding to the video acquisition request is displayed according to the aggregated request result, so that timely response to the video acquisition request is realized, response delay is avoided, and user experience is influenced.
Example 2
Referring to fig. 2, another video related information aggregation obtaining method according to another embodiment of the present application further includes the following steps S110 and S120 in parallel with steps S100 to S200:
s110: and monitoring the request duration of the video acquisition request when the video acquisition request is received.
S120: and if the request duration reaches a preset first duration threshold, not receiving a request result corresponding to the video information request returned from the corresponding server, and stopping continuously and asynchronously sending each related information request to the corresponding server.
According to the method, the device and the system, the request duration of the video acquisition request is monitored, when the request duration reaches the preset first time duration threshold, and the request result corresponding to the video information request returned from the corresponding server is not received, the continuous asynchronous transmission of each related information request to the corresponding server is stopped, and the system resource blockage caused by overtime of the video acquisition request can be avoided, so that video watching experience of other users is influenced.
Example 3
Referring to fig. 3, another video related information aggregation obtaining method according to another embodiment of the present application further includes the following steps S110 to S130 in parallel with steps S200 to S300:
s210: and monitoring the sending duration corresponding to each relevant information request when the relevant information requests are asynchronously sent to the corresponding server.
S220: when the corresponding sending time length of the ith relevant information request is smaller than the corresponding preset second time length threshold value, if a corresponding request result returned from a corresponding server is received, the corresponding request result is stored, and the ith relevant information request is stopped from being sent again.
S230: when the sending time length corresponding to the ith relevant information request reaches a corresponding preset second time length threshold value, if a corresponding request result returned from a corresponding server is not received, the ith relevant information request is abandoned to be sent again.
By monitoring the sending time length corresponding to each related information request, the system resource blockage caused by overtime of one related information request can be avoided, and the video watching experience of other users is influenced.
Further, priority may be set in advance for each of the related information requests; setting a corresponding second time length threshold for each related information request according to the priority of each related information request, wherein the second time length threshold corresponding to the related information request with high priority is larger than the second time length threshold corresponding to the related information request with low priority.
By setting the priority for each relevant information request in advance, the higher the priority, the longer the corresponding second time period threshold value, it can be understood that the longer the corresponding second time period threshold value, the greater the probability that the relevant information request is acquired.
Example 4
Referring to fig. 4, a video related information aggregation obtaining apparatus 10 according to another embodiment of the present application includes: an acquisition module 11, a transmission module 12, a reception module 13 and a response module 14.
An acquisition module 11, configured to receive a video acquisition request; a sending module 12, configured to asynchronously process each relevant information request in the video acquisition request so that each relevant information request is asynchronously sent to a corresponding server; a receiving module 13, configured to receive a request result corresponding to the respective related information requests returned from the corresponding servers; and the response module 14 is configured to aggregate the received request result if the received request result includes a request result corresponding to the video information request, and display a video corresponding to the video acquisition request according to the aggregated request result.
Further, priority may be set in advance for each of the related information requests, and the asynchronous processing may be performed on each of the related information requests in the video acquisition request to enable each of the related information requests to be asynchronously sent to a corresponding server, including: setting corresponding asynchronous clock frequency for each related information request, wherein the asynchronous clock frequency corresponding to the related information request with high priority is smaller than the asynchronous clock frequency corresponding to the related information request with low priority; and asynchronously sending each relevant information request to a corresponding server according to the asynchronous clock frequency corresponding to each relevant information request.
Further, the response module 14 is further configured to: and if the request results corresponding to the related information requests do not comprise the request results corresponding to the video information requests, stopping asynchronously sending the related information requests to the corresponding servers and displaying prompt information of failure in response to the video acquisition requests.
Further, referring to fig. 5, the video related information aggregation obtaining apparatus 10 further includes: a monitoring module 15.
The monitoring module 15 is configured to monitor a request duration of the video acquisition request when the video acquisition request is received; and if the request duration reaches a preset first duration threshold, not receiving a request result corresponding to the video information request returned from the corresponding server, and stopping continuously and asynchronously sending each related information request to the corresponding server.
The monitoring module 15 is further configured to: monitoring the corresponding sending duration of each related information request when the related information requests are asynchronously sent to the corresponding server; when the corresponding sending time length of the ith relevant information request is smaller than the corresponding preset second time length threshold value, if a corresponding request result returned from a corresponding server is received, the corresponding request result is stored, and the ith relevant information request is stopped from being sent again; when the sending time length corresponding to the ith relevant information request reaches a corresponding preset second time length threshold value, if a corresponding request result returned from a corresponding server is not received, the ith relevant information request is abandoned to be sent again.
Further, the video related information aggregation obtaining apparatus 10 further includes: the module 16 is preset.
A preset module 16, configured to preset a priority for each related information request; setting a corresponding second time length threshold for each related information request according to the priority of each related information request, wherein the second time length threshold corresponding to the related information request with high priority is larger than the second time length threshold corresponding to the related information request with low priority.
The video related information aggregation obtaining device 10 disclosed in this embodiment is configured to execute the video related information aggregation obtaining method described in the foregoing embodiment through the cooperation of the obtaining module 11, the sending module 12, the receiving module 13, the response module 14, the monitoring module 15 and the preset module 16, and the implementation and the beneficial effects related to the foregoing embodiment are also applicable in this embodiment and are not repeated herein.
The embodiment of the application also relates to a terminal device, which comprises a memory and a processor, wherein the memory stores a computer program, and the computer program executes the video related information aggregation acquisition method in the embodiment of the application when running on the processor.
The embodiment of the application also relates to a readable storage medium, which stores a computer program, and the computer program executes the video related information aggregation acquisition method described in the embodiment of the application when running on a processor.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners as well. The apparatus embodiments described above are merely illustrative, for example, of the flow diagrams and block diagrams in the figures, which illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules or units in various embodiments of the invention may be integrated together to form a single part, or the modules may exist alone, or two or more modules may be integrated to form a single part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a smart phone, a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned readable storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely illustrative of the present invention, and the present invention is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present invention.

Claims (8)

1. A method for acquiring video-related information in an aggregate, the method comprising:
receiving a video acquisition request; the video acquisition request comprises a request for acquiring video related information in an aggregation way; the video related information comprises video information, comment information and praise information;
carrying out asynchronous processing on each related information request in the video acquisition request so as to enable each related information request to be asynchronously sent to a corresponding server;
receiving a request result corresponding to each related information request returned from the corresponding server;
if the received request result comprises a request result corresponding to the video information request, aggregating the received request result, and displaying a video corresponding to the video acquisition request according to the aggregated request result;
the method further comprises the steps of: and presetting priorities for the relevant information requests, wherein the asynchronous processing is carried out on the relevant information requests in the video acquisition requests so that the relevant information requests are asynchronously sent to corresponding servers, and the method comprises the following steps:
setting corresponding asynchronous clock frequency for each related information request, wherein the asynchronous clock frequency corresponding to the related information request with high priority is smaller than the asynchronous clock frequency corresponding to the related information request with low priority;
and asynchronously sending each relevant information request to a corresponding server according to the asynchronous clock frequency corresponding to each relevant information request.
2. The video-related information aggregation acquisition method according to claim 1, further comprising:
and if the request results corresponding to the related information requests do not comprise the request results corresponding to the video information requests, stopping asynchronously sending the related information requests to the corresponding servers and displaying prompt information of failure in response to the video acquisition requests.
3. The video-related information aggregation acquisition method according to claim 1, further comprising:
monitoring the request duration of the video acquisition request when the video acquisition request is received;
and if the request duration reaches a preset first duration threshold, not receiving a request result corresponding to the video information request returned from the corresponding server, and stopping continuously and asynchronously sending each related information request to the corresponding server.
4. The video-related information aggregation acquisition method according to claim 1, further comprising:
monitoring the corresponding sending duration of each related information request when the related information requests are asynchronously sent to the corresponding server;
when the corresponding sending time length of the ith relevant information request is smaller than the corresponding preset second time length threshold value, if a corresponding request result returned from a corresponding server is received, the corresponding request result is stored, and the ith relevant information request is stopped from being sent again;
when the sending time length corresponding to the ith relevant information request reaches a corresponding preset second time length threshold value, if a corresponding request result returned from a corresponding server is not received, the ith relevant information request is abandoned to be sent again.
5. The video-related information aggregation acquisition method according to claim 4, further comprising:
pre-setting priority for each related information request;
setting a corresponding second time length threshold for each related information request according to the priority of each related information request, wherein the second time length threshold corresponding to the related information request with high priority is larger than the second time length threshold corresponding to the related information request with low priority.
6. A video-related information aggregation acquisition apparatus, the apparatus comprising:
the acquisition module is used for receiving a video acquisition request; the video acquisition request comprises a request for acquiring video related information in an aggregation way; the video related information comprises video information, comment information and praise information;
the sending module is used for carrying out asynchronous processing on each related information request in the video acquisition requests so as to enable each related information request to be sent to a corresponding server asynchronously;
the receiving module is used for receiving the request results corresponding to the related information requests returned from the corresponding servers;
the response module is used for aggregating the received request results if the received request results comprise the request results corresponding to the video information request, and displaying the video corresponding to the video acquisition request according to the aggregated request results;
a priority setting module, configured to set a priority for each related information request in advance;
the sending module comprises:
an asynchronous clock frequency setting unit, configured to set a corresponding asynchronous clock frequency for each relevant information request, where the asynchronous clock frequency corresponding to the relevant information request with a higher priority is smaller than the asynchronous clock frequency corresponding to the relevant information request with a lower priority;
and the asynchronous sending unit is used for asynchronously sending each related information request to the corresponding server according to the asynchronous clock frequency corresponding to each related information request.
7. A terminal device comprising a memory and a processor, the memory storing a computer program that, when run on the processor, performs the video-related information aggregation acquisition method of any one of claims 1 to 5.
8. A readable storage medium, characterized in that it stores a computer program which, when run on a processor, performs the video-related information aggregation acquisition method according to any one of claims 1 to 5.
CN202110891498.5A 2021-08-04 2021-08-04 Video related information aggregation acquisition method and device and terminal equipment Active CN113434729B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110891498.5A CN113434729B (en) 2021-08-04 2021-08-04 Video related information aggregation acquisition method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110891498.5A CN113434729B (en) 2021-08-04 2021-08-04 Video related information aggregation acquisition method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN113434729A CN113434729A (en) 2021-09-24
CN113434729B true CN113434729B (en) 2024-01-30

Family

ID=77763025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110891498.5A Active CN113434729B (en) 2021-08-04 2021-08-04 Video related information aggregation acquisition method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN113434729B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115981874B (en) * 2023-03-20 2023-06-13 天津大学四川创新研究院 Decentralised AI analysis and data storage method and system based on cloud edge cooperation

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034722A (en) * 2012-12-13 2013-04-10 合一网络技术(北京)有限公司 Network video comment gathering device and network video comment gathering method
CN104618739A (en) * 2015-02-06 2015-05-13 北京云视智通科技有限公司 Video program information presentation playing method and system
CN107979775A (en) * 2017-12-20 2018-05-01 广东欧珀移动通信有限公司 Video related information display methods and relevant device
CN109525663A (en) * 2018-11-15 2019-03-26 视联动力信息技术股份有限公司 A kind of methods of exhibiting and system of video data
CN109922356A (en) * 2019-03-01 2019-06-21 广州酷狗计算机科技有限公司 Video recommendation method, device and computer readable storage medium
CN110727827A (en) * 2019-10-22 2020-01-24 深圳墨世科技有限公司 Video list data aggregation method and device, computer equipment and storage medium
CN111246245A (en) * 2018-11-28 2020-06-05 北京字节跳动网络技术有限公司 Method and device for pushing video aggregation page, server and terminal equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8849909B2 (en) * 2007-07-06 2014-09-30 Yahoo! Inc. Real-time asynchronous event aggregation systems
US20170155740A1 (en) * 2015-12-01 2017-06-01 Le Holdings (Beijing) Co., Ltd. Method, Electronic Device and System for Acquiring Video Data
CN109525877B (en) * 2018-10-18 2021-04-20 百度在线网络技术(北京)有限公司 Video-based information acquisition method and device
CN109618177B (en) * 2018-12-26 2020-02-28 北京微播视界科技有限公司 Video processing method and device, electronic equipment and computer readable storage medium
CN109788322A (en) * 2019-01-03 2019-05-21 百度在线网络技术(北京)有限公司 Video information method for pushing, device, equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034722A (en) * 2012-12-13 2013-04-10 合一网络技术(北京)有限公司 Network video comment gathering device and network video comment gathering method
CN104618739A (en) * 2015-02-06 2015-05-13 北京云视智通科技有限公司 Video program information presentation playing method and system
CN107979775A (en) * 2017-12-20 2018-05-01 广东欧珀移动通信有限公司 Video related information display methods and relevant device
CN109525663A (en) * 2018-11-15 2019-03-26 视联动力信息技术股份有限公司 A kind of methods of exhibiting and system of video data
CN111246245A (en) * 2018-11-28 2020-06-05 北京字节跳动网络技术有限公司 Method and device for pushing video aggregation page, server and terminal equipment
CN109922356A (en) * 2019-03-01 2019-06-21 广州酷狗计算机科技有限公司 Video recommendation method, device and computer readable storage medium
CN110727827A (en) * 2019-10-22 2020-01-24 深圳墨世科技有限公司 Video list data aggregation method and device, computer equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
多层次周期性广播策略及***模型――具有良好可扩展性的异步视频传输策略;朱楠等;计算机工程与应用(10);第129-133页 *
郭金基.《数控***要义》.西南交通大学出版社,2017,第224页. *
闫纪红等.《可靠性与智能维护》.哈尔滨工业大学出版社,2020,第184页. *

Also Published As

Publication number Publication date
CN113434729A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
CN110324680B (en) Video pushing method and device, server, client and storage medium
CN108540533B (en) Request answering method and device
CN102668456A (en) Method and system for adapting a session timeout period
CN110620890A (en) File uploading method and system
CN113434729B (en) Video related information aggregation acquisition method and device and terminal equipment
CN110087141A (en) Method of transmitting video data, device, client and server
CN113726783B (en) Abnormal IP address identification method and device, electronic equipment and readable storage medium
CN109309698B (en) Data processing system, method and device
CN108664321B (en) System resource allocation adjusting method and device
CN111818374A (en) Message popup control method and device, intelligent terminal and storage medium
CN112463254A (en) Method, device and equipment for acquiring webpage loading time and storage medium
CN110311963B (en) Message pushing method and device, computer equipment and computer readable storage medium
CN113422808B (en) Internet of things platform HTTP information pushing method, system, device and medium
CN108810056B (en) Information pushing method and device
CN114285844A (en) Method and device for intelligently fusing server interface, electronic equipment and storage medium
EP3896981A1 (en) Method and system for determining video definition, computer device, and storage medium
CN114327738B (en) Refreshing method and device of user interface, electronic equipment and readable storage medium
CN110909242A (en) Data pushing method, device, server and storage medium
CN110806909A (en) Method and device for determining page frame dropping information of application program and electronic equipment
CN114666390B (en) Page monitoring method and device of application program, electronic equipment and storage medium
CN107800560B (en) Network detection method and device, and network detection query method and device
CN112929923B (en) Uplink resource acquisition method and device, mobile terminal and readable storage medium
CN114265693A (en) Data information pushing method, device, equipment and medium based on Internet of things platform
CN110535853B (en) Video request scheduling method, device, server and storage medium
CN109710552B (en) Bus transmission quality evaluation method, system and computer storage medium

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