CN113282853B - Comment preloading method and device, storage medium and electronic equipment - Google Patents

Comment preloading method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN113282853B
CN113282853B CN202110578552.0A CN202110578552A CN113282853B CN 113282853 B CN113282853 B CN 113282853B CN 202110578552 A CN202110578552 A CN 202110578552A CN 113282853 B CN113282853 B CN 113282853B
Authority
CN
China
Prior art keywords
comment
preloading
display object
current display
probability
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
CN202110578552.0A
Other languages
Chinese (zh)
Other versions
CN113282853A (en
Inventor
王锡贵
李小成
严冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zitiao Network Technology Co Ltd
Original Assignee
Beijing Zitiao Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Zitiao Network Technology Co Ltd filed Critical Beijing Zitiao Network Technology Co Ltd
Priority to CN202110578552.0A priority Critical patent/CN113282853B/en
Publication of CN113282853A publication Critical patent/CN113282853A/en
Application granted granted Critical
Publication of CN113282853B publication Critical patent/CN113282853B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9574Browsing optimisation, e.g. caching or content distillation of access to content, e.g. by caching
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • G06F17/10Complex mathematical operations
    • G06F17/18Complex mathematical operations for evaluating statistical data, e.g. average values, frequency distributions, probability functions, regression analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Pure & Applied Mathematics (AREA)
  • Mathematical Optimization (AREA)
  • Mathematical Analysis (AREA)
  • Computational Mathematics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computing Systems (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Medical Informatics (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Operations Research (AREA)
  • Probability & Statistics with Applications (AREA)
  • Evolutionary Computation (AREA)
  • Algebra (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention discloses a comment preloading method, a comment preloading device, a storage medium and electronic equipment, wherein the comment preloading method comprises the following steps: acquiring object characteristics of a current display object and user characteristics corresponding to equipment for displaying the current display object; performing prediction processing on the object features and the user features based on a comment prediction model, and determining comment preloading probability of the current display object; and if the comment preloading probability meets the preloading condition, preloading the comment of the current display object. The comments with the preloading requirement are preloaded, so that resource waste caused by the loading of invalid comments is avoided, and the accuracy and recall rate of the preloaded comments are improved. Meanwhile, when the user does not click on the comment, the comment is recorded in advance and cached locally, so that the preloaded comment can be called locally for display when the user clicks on the comment, and the waiting time between clicking on the comment and displaying the comment is reduced.

Description

Comment preloading method and device, storage medium and electronic equipment
Technical Field
The embodiment of the invention relates to the technical field of computer data processing, in particular to a comment preloading method, a comment preloading device, a storage medium and electronic equipment.
Background
In the interactive scene of the short video, the user can click on a comment area or a comment button to display the user comment of the short video being played. The loading of the current comments can be obtained by requesting the server for downloading through a loading request generated by clicking operation of a user, and waiting is caused by a request process; the comment can be preloaded when the short video is clicked and played, but when the user does not click the comment to switch the short video, the preloaded comment is invalid and consumes a large amount of server resources.
Disclosure of Invention
The embodiment of the invention provides a comment preloading method, a comment preloading device, a storage medium and electronic equipment, so as to realize accurate preloading of comments.
In a first aspect, an embodiment of the present invention provides a comment preloading method, including:
acquiring object characteristics of a current display object and user characteristics corresponding to equipment for displaying the current display object;
performing prediction processing on the object features and the user features based on a comment prediction model, and determining comment preloading probability of the current display object;
and if the comment preloading probability meets the preloading condition, preloading the comment of the current display object.
In a second aspect, an embodiment of the present invention further provides a comment preloading device, including:
the feature acquisition module is used for acquiring object features of a current display object and user features corresponding to equipment for displaying the current display object;
the probability prediction module is used for performing prediction processing on the object features and the user features based on a comment prediction model and determining comment preloading probability of the current display object;
and the comment preloading module is used for preloading the comments of the current display object if the comment preloading probability meets the preloading condition.
In a third aspect, embodiments of the present disclosure further provide an electronic device, including:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the comment preloading method as described in any of the embodiments of the present disclosure.
In a fourth aspect, the presently disclosed embodiments also provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are for performing the comment preloading method as described in any of the presently disclosed embodiments.
According to the technical scheme, in the display process of the current display object, the comment preloading probability of the current display object is determined based on the object feature and the user feature prediction processing of the current display object by the comment prediction model, and when the comment preloading probability meets the preloading condition, the comment of the current display object is preloaded so as to preload the comment with the preloading requirement, so that resource waste caused by the loading of invalid comments is avoided, and the accuracy and recall rate of the preloaded comment are improved. Meanwhile, when the user does not click on the comment, the comment is recorded in advance and cached locally, so that the preloaded comment can be called locally for display when the user clicks on the comment, and the waiting time between clicking on the comment and displaying the comment is reduced.
Drawings
FIG. 1 is a flow chart of a comment preloading method according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a comment prediction model according to an embodiment of the present invention;
FIG. 3 is a flow diagram of comment preload prediction provided by an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a comment preloading device according to a second embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are merely used to distinguish between different devices, modules, or units and are not used to define an order or interdependence of functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
Example 1
Fig. 1 is a flowchart of a comment preloading method provided by an embodiment of the present invention, where the embodiment is applicable to a case of predicting comment preloading, and the method may be performed by a comment preloading device provided by the embodiment of the present invention, where the comment preloading device may be implemented by software and/or hardware, and the comment preloading device may be configured on an electronic computing device, and specifically includes the following steps:
s110, obtaining object characteristics of a current display object and user characteristics corresponding to equipment for displaying the current display object.
S120, predicting the object features and the user features based on a comment prediction model, and determining comment preloading probability of the current display object.
S130, if the comment preloading probability meets the preloading condition, preloading the comment of the current display object.
In this embodiment, the display object may be displayed based on an electronic device, which may be a terminal device configured with a display interface, such as a mobile phone, a tablet computer, a PC, or the like. And displaying the display object and comments of the display object through a display interface. Among them, the current presentation objects include, but are not limited to, videos (including short videos and normal videos), documents (e.g., news, papers, journals, etc.), pictures, and the like. Especially, for the characteristics of short video, such as short video playing time, high switching frequency, and the like, comment loading time is increased, short video browsing processes of users are affected, meanwhile, short video switching speed is high, so that the number of short videos displayed is large, comment preloading is performed on each short video, so that a large amount of loading resources are consumed, and recall rate is low.
Aiming at the problems, in the embodiment, the comment preloading prediction process is performed on the current display object through the set comment prediction model so as to obtain the probability of the user demanding the comment of the current display object, and the comment preloading is performed pertinently based on the probability value, wherein the comment preloading is performed when the user does not click on the comment, the comment is recorded in advance and cached locally, so that when the user clicks on the comment, the preloaded comment can be called locally to be displayed, and the waiting time from clicking on the comment to displaying the comment is reduced. Meanwhile, whether comment preloading is carried out is determined according to the probability predicted by the comment prediction model so as to preload comments with the preloading requirement, so that resource waste caused by loading of invalid comments is avoided, and accuracy and recall rate of the preloaded comments are improved.
In this embodiment, the object features of the current display object and the user features of the device are predicted based on the comment prediction model, so as to obtain the comment preloading probability of the current display object. The object features and the user features are provided by user authorization, specifically, for any user terminal, in the process of displaying any object by user terminal equipment, the operation of the user on the displayed object is obtained, wherein the operation comprises but is not limited to comment clicking, praise, sharing, setting like, complete display of the displayed object and the like. Based on the data of any display object provided, updating the user characteristics and the object characteristics of the display object, specifically, adding one to the corresponding operation times of any operation on the user characteristics in the local device, or uploading the data to a server, so that the server adds one to the corresponding operation times of the display object based on the operation on the display object, and the object characteristics of the display object can be the sum of the operation times of different users on the display object. It should be noted that the user characteristic may be data in a preset time period, and the preset time period may be a preset duration before the current time, for example, one week or one month before the current time, which is not limited. The data acquired by the device may include a time stamp of any operation, and according to the time stamp of each operation, the operation data which is not in the preset time period is deleted, for example, the sharing operation of the video a is not in the preset time period, and then the sharing frequency in the user features is reduced by one. Optionally, for different types of display objects, such as short video, normal video, news, pictures, etc., different user features can be set according to the types of display objects, so that high-precision prediction can be performed for each type of display object.
When any display object is in a display state, the user characteristics can be read locally from the equipment, and the object characteristics of the display object are acquired from the server. The object features comprise operation feature information of the different devices on the current display object, and in some optional embodiments, the object features comprise one or more of display times, complete display times, comment times, praise times and sharing times of the current display object. The display times in the object features can be the display times of the current display object on different devices and the display times can be recorded and increased by one when the current display object is displayed on the display interface; the number of complete display can be the sum of the number of complete display on different devices of the current display object, the complete display can be that all the contents of the current display object are displayed on a display interface, or the core contents (such as the contents except the film head and the film tail in the video content) of the current display object are displayed on the display interface, namely, the number of complete display is recorded and increased by one, and the number of evaluation, praise and share is the sum of the number of commented, praise and shared times of the current display object on different devices respectively.
The user characteristics comprise operation characteristic information of each display object of the object type to which the current display object belongs in a preset time. In some optional embodiments, the user characteristics include one or more of a display number, a complete display number, a comment click number, an evaluation number, a praise number, and a share number of the object type to which the current display object belongs in a preset time. The object type may be determined according to a format of a current display object, for example, if the current display object is a short video, the display times are the display times of each short video in a preset time. In some alternative embodiments, the object type may also be a determination of the field of the currently displayed object, e.g., the object type may include, but is not limited to, military, entertainment, academic, colleague, travel, electronic equipment, apparel, and the like. The display times in the user characteristics are the sum of the display times of each display object in the object type of the current display object in the preset time, the complete display times are the sum of the complete display times of each display object in the object type of the current display object in the preset time, and the comment times, the praise times and the sharing times are the sum of the times that each display object in the object type of the current display object in the preset time is respectively comment, praise and shared.
And predicting the object features and the user features based on the comment prediction model, fusing the features with different dimensions, and improving the prediction precision of the comment prediction model. The comment prediction model can be a decision tree model or a neural network model, is not limited to the decision tree model or the neural network model, and can realize a comment preloading prediction function.
On the basis of the embodiment, the comment prediction model comprises a feature extraction module, a feature conversion module and a probability prediction module. In some alternative embodiments, the feature extraction module is a tree structure-feature extraction module, such as a GBDT (Gradient Boosting Decision Tree, gradient-enhanced decision tree) tree structure-feature extraction module, the feature conversion module is a one-hot structure, the probability prediction module is an LR (Logistic Regression ) structure, and for example, referring to fig. 2, fig. 2 is a schematic structural diagram of a comment prediction model provided by an embodiment of the present invention. It should be noted that, the comment prediction model in fig. 2 is only a schematic diagram, the specific structure thereof is not limited, and the specific structure and parameters of each module in the comment prediction model can be adjusted according to the requirements.
Correspondingly, the method for determining the comment preloading probability of the current display object based on the comment prediction model to predict the object features and the user features comprises the following steps: performing feature extraction on the object features and the user features based on the feature extraction module; performing feature conversion on the extracted feature information based on the feature conversion module; and carrying out probability prediction on the feature information obtained by conversion based on the probability prediction module to obtain comment preloading probability of the current display object.
In this embodiment, the object features and user features are converted into input information adapted to the comment prediction model, which may be in a vector format. And inputting the input information in the vector format to a feature extraction module of the comment prediction model to obtain feature information corresponding to the input information, and converting the feature information into conversion features suitable for the probability prediction module by a feature conversion module, wherein the conversion features can be the feature information in the form of one-hot vectors. The conversion characteristics are input into a probability prediction module, comment preloading probability of the current display object is obtained, and comment preloading prediction of the display object is achieved.
Specifically, if the comment preloading probability exceeds the probability threshold, comment preloading of the current display object is performed, and if the comment preloading probability does not exceed the probability threshold, comment preloading of the current display object is not performed, so that resource waste caused by invalid preloading is avoided. In some alternative embodiments, the probability threshold may be 70%.
It should be noted that the probability prediction module may be obtained based on offline sample data training, where the sample data includes user features and object features of each display object, and the label is a comment click label of a user on the display object, and exemplarily, the label is 1 when the user clicks a comment on the display object, and is 0 when the user does not click a comment on the display object. And performing iterative training based on the offline sample data and the corresponding labels until the training times are met or a convergence state is reached, and obtaining a comment prediction model after training is completed.
On the basis of the above embodiment, before obtaining the object feature of the current display object and the user feature corresponding to the device for displaying the current display object, the method further includes: and acquiring the display duration of the current display object, and executing the step of acquiring the object characteristics of the current display object and the user characteristics corresponding to the equipment for displaying the current display object when the display duration meets the preset duration. By acquiring the display duration of the current display object, when the display duration of the current display object is greater than or equal to the preset duration, comment preloading prediction is carried out on the current display object, when the display duration of the current display object is less than the preset duration, and switching operation such as sliding operation is carried out on the display object, comment preloading prediction is not carried out, invalid comment preloading prediction caused by rapid switching of the current display object is avoided, and pertinence of comment preloading prediction is provided. Referring to fig. 3, fig. 3 is a schematic flow chart of comment preloading prediction provided by an embodiment of the present invention. In fig. 3, taking the current display object as a video as an example, in the display process of the current display object, determining whether the display duration is greater than or equal to a preset duration X, where the preset duration may be 5S, and if not, acquiring the display duration of the display object after switching. If yes, performing comment preloading based on an offline trained machine learning model, namely performing comment preloading prediction by a comment prediction model, obtaining comment preloading probability, determining whether the comment preloading probability is larger than or equal to a probability threshold Y, if yes, performing comment preloading, and if not, performing comment preloading.
Based on the above embodiment, preloading the comment of the current display object includes: determining a preloaded comment amount based on the comment amount of the current display object and the displayable comment amount of the display page; and comment preloading is carried out based on the comment preloading quantity. In this embodiment, since the comment amounts of different display objects are different, in order to avoid the situation of preloading a large number of invalid comments, the preloaded comment amount is determined, and the preloading is performed based on the preloaded comment amount. The preloaded comment quantity is smaller than or equal to the displayable comment quantity of the display page, so that the accuracy rate and recall rate of the preloaded comments are improved. For example, if the comment quantity of the current display object is greater than the displayable comment quantity of the display page, determining the displayable comment quantity of the display page as the preloaded comment quantity, and if the comment quantity of the current display object is less than or equal to the displayable comment quantity of the display page, determining the comment quantity of the current display object as the preloaded comment quantity.
In the process of displaying the preloaded comments, if a sliding operation or an updating operation of the comment content is obtained, other comment information of the current display object is loaded, for example, comment loading can be performed by taking the displayable comment quantity of the display page as a loading unit, so that the situations of long waiting time and invalid comment loading caused by all loading are avoided.
Specifically, the preloading of the comment may be determining comment content to be preloaded according to the comment time stamp and the comment value amount, so as to load the latest comment content.
According to the technical scheme, in the display process of the current display object, the comment preloading probability of the current display object is determined based on the object feature and the user feature prediction processing of the current display object by the comment prediction model, and when the comment preloading probability meets the preloading condition, the comment of the current display object is preloaded so as to preload the comment with the preloading requirement, so that resource waste caused by the loading of invalid comments is avoided, and the accuracy and recall rate of the preloaded comment are improved. Meanwhile, when the user does not click on the comment, the comment is recorded in advance and cached locally, so that the preloaded comment can be called locally for display when the user clicks on the comment, and the waiting time between clicking on the comment and displaying the comment is reduced.
Example two
Fig. 4 is a schematic structural diagram of a comment preloading device according to a second embodiment of the present invention, where the comment preloading device includes a feature obtaining module 210, a probability predicting module 220, and a comment preloading module 230.
The feature obtaining module 210 is configured to obtain an object feature of a current display object and a user feature corresponding to a device for displaying the current display object;
the probability prediction module 220 is configured to perform prediction processing on the object feature and the user feature based on a comment prediction model, and determine a comment preloading probability of the current display object;
230, for preloading the comment of the current display object if the comment preloading probability meets the preloading condition.
According to the technical scheme, in the display process of the current display object, the comment preloading probability of the current display object is determined based on the object feature and the user feature prediction processing of the current display object by the comment prediction model, and when the comment preloading probability meets the preloading condition, the comment of the current display object is preloaded so as to preload the comment with the preloading requirement, so that resource waste caused by the loading of invalid comments is avoided, and the accuracy and recall rate of the preloaded comment are improved. Meanwhile, when the user does not click on the comment, the comment is recorded in advance and cached locally, so that the preloaded comment can be called locally for display when the user clicks on the comment, and the waiting time between clicking on the comment and displaying the comment is reduced.
On the basis of the technical scheme, the object characteristics comprise one or more of the display times, the complete display times, the comment times, the praise times and the sharing times of the current display object;
the user characteristics comprise one or more of display times, complete display times, comment clicking times, comment times, praise times and sharing times of the object types of the current display object in a preset time.
On the basis of the technical scheme, the device further comprises:
the display duration acquisition module is used for acquiring the display duration of the current display object before acquiring the object characteristics of the current display object and the user characteristics corresponding to the equipment for displaying the current display object, and executing the steps of acquiring the object characteristics of the current display object and the user characteristics corresponding to the equipment for displaying the current display object when the display duration meets the preset duration.
On the basis of the technical scheme, the current display object comprises a video.
On the basis of the technical scheme, the evaluation prediction model comprises a feature extraction module, a feature conversion module and a probability prediction module;
the probability prediction module 220 is configured to:
performing feature extraction on the object features and the user features based on the feature extraction module;
performing feature conversion on the extracted feature information based on the feature conversion module;
and carrying out probability prediction on the feature information obtained by conversion based on the probability prediction module to obtain comment preloading probability of the current display object.
Based on the above technical solution, comment preloading module 230 is configured to:
determining a preloaded comment amount based on the comment amount of the current display object and the displayable comment amount of the display page;
and comment preloading is carried out based on the comment preloading quantity.
Based on the technical scheme, the preloaded comment quantity is smaller than or equal to the displayable comment quantity of the display page.
The comment preloading device provided by the embodiment of the invention can execute the comment preloading method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of executing the comment preloading method.
Example III
Referring now to fig. 5, a schematic diagram of an electronic device (e.g., a terminal device or server in fig. 5) 400 suitable for use in implementing embodiments of the present disclosure is shown. The terminal devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
As shown in fig. 5, the electronic device 400 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401, which may perform various suitable actions and processes according to a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM403, various programs and data necessary for the operation of the electronic device 400 are also stored. The processing device 401, the ROM402, and the RAM403 are connected to each other by a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
In general, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, magnetic tape, hard disk, etc.; and a communication device 409. The communication means 409 may allow the electronic device 400 to communicate with other devices wirelessly or by wire to exchange data. While fig. 5 shows an electronic device 400 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via communications device 409, or from storage 408, or from ROM 402. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 401.
The electronic device provided by the embodiment of the present disclosure and the comment preloading method provided by the foregoing embodiment belong to the same inventive concept, and technical details which are not described in detail in the present embodiment may be referred to the foregoing embodiment, and the present embodiment has the same beneficial effects as the foregoing embodiment.
Example five
The embodiment of the present disclosure provides a computer storage medium having stored thereon a computer program which, when executed by a processor, implements the comment preloading method provided by the above embodiment.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to:
acquiring object characteristics of a current display object and user characteristics corresponding to equipment for displaying the current display object;
performing prediction processing on the object features and the user features based on a comment prediction model, and determining comment preloading probability of the current display object;
and if the comment preloading probability meets the preloading condition, preloading the comment of the current display object.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. 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 some 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.
The units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. Where the names of the units/modules do not constitute a limitation of the units themselves in some cases.
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
According to one or more embodiments of the present disclosure, there is provided a comment preloading method [ example one ], the method comprising:
acquiring object characteristics of a current display object and user characteristics corresponding to equipment for displaying the current display object;
performing prediction processing on the object features and the user features based on a comment prediction model, and determining comment preloading probability of the current display object;
and if the comment preloading probability meets the preloading condition, preloading the comment of the current display object.
According to one or more embodiments of the present disclosure, there is provided a comment preloading method [ example two ] further comprising:
the object characteristics comprise operation characteristic information of the different devices on the current display object;
the user characteristics comprise operation characteristic information of each display object of the object type of the current display object in preset time.
According to one or more embodiments of the present disclosure, there is provided a comment preloading method [ example three ], further comprising:
optionally, before obtaining the object feature of the current display object and the user feature corresponding to the device for displaying the current display object, the method further includes:
and acquiring the display duration of the current display object, and executing the step of acquiring the object characteristics of the current display object and the user characteristics corresponding to the equipment for displaying the current display object when the display duration meets the preset duration.
According to one or more embodiments of the present disclosure, there is provided a comment preloading method [ example four ], further comprising:
optionally, the current presentation object includes a video.
According to one or more embodiments of the present disclosure, there is provided a comment preloading method [ example five ], further comprising:
optionally, the evaluation prediction model comprises a feature extraction module, a feature conversion module and a probability prediction module;
the comment preloading probability of the current display object is determined by predicting the object features and the user features based on a comment prediction model, and the comment preloading probability comprises the following steps:
performing feature extraction on the object features and the user features based on the feature extraction module;
performing feature conversion on the extracted feature information based on the feature conversion module;
and carrying out probability prediction on the feature information obtained by conversion based on the probability prediction module to obtain comment preloading probability of the current display object.
According to one or more embodiments of the present disclosure, there is provided a comment preloading method [ example six ] further comprising:
optionally, the preloading the comment of the current display object includes:
determining a preloaded comment amount based on the comment amount of the current display object and the displayable comment amount of the display page;
and comment preloading is carried out based on the comment preloading quantity.
According to one or more embodiments of the present disclosure, there is provided a comment preloading method [ example seventh ], further comprising:
optionally, the preloaded comment quantity is smaller than or equal to the displayable comment quantity of the display page.
According to one or more embodiments of the present disclosure, there is provided a comment preloading device [ example eight ], the device including:
the feature acquisition module is used for acquiring object features of a current display object and user features corresponding to equipment for displaying the current display object;
the probability prediction module is used for performing prediction processing on the object features and the user features based on a comment prediction model and determining comment preloading probability of the current display object;
and the comment preloading module is used for preloading the comments of the current display object if the comment preloading probability meets the preloading condition.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.

Claims (8)

1. A comment preloading method, characterized by comprising:
acquiring the display time length of a current display object, and acquiring object characteristics of the current display object and user characteristics corresponding to equipment for displaying the current display object when the display time length meets preset time length; the object characteristics comprise operation characteristic information of different devices on the current display object; the user characteristics comprise operation characteristic information of each display object of the object type of the current display object in preset time;
performing prediction processing on the object features and the user features based on a comment prediction model, and determining comment preloading probability of the current display object;
and if the comment preloading probability meets the preloading condition, preloading the comment of the current display object.
2. The method of claim 1, wherein the current presentation object comprises a video.
3. The method of claim 1, wherein the evaluation prediction model comprises a feature extraction module, a feature transformation module, and a probability prediction module;
the comment preloading probability of the current display object is determined by predicting the object features and the user features based on a comment prediction model, and the comment preloading probability comprises the following steps:
performing feature extraction on the object features and the user features based on the feature extraction module;
performing feature conversion on the extracted feature information based on the feature conversion module;
and carrying out probability prediction on the feature information obtained by conversion based on the probability prediction module to obtain comment preloading probability of the current display object.
4. The method of claim 1, wherein preloading the review of the current presentation object comprises:
determining a preloaded comment amount based on the comment amount of the current display object and the displayable comment amount of the display page;
and comment preloading is carried out based on the comment preloading quantity.
5. The method of claim 4, wherein the preloaded comment quantity is less than or equal to the displayable comment quantity of the display page.
6. A comment preloading device, characterized by comprising:
the feature acquisition module is used for acquiring the display time length of the current display object, and acquiring the object feature of the current display object and the user feature corresponding to the equipment for displaying the current display object when the display time length meets the preset time length; the object characteristics comprise operation characteristic information of different devices on the current display object; the user characteristics comprise operation characteristic information of each display object of the object type of the current display object in preset time;
the probability prediction module is used for performing prediction processing on the object features and the user features based on a comment prediction model and determining comment preloading probability of the current display object;
and the comment preloading module is used for preloading the comments of the current display object if the comment preloading probability meets the preloading condition.
7. An electronic device, the electronic device comprising:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the comment preloading method of any of claims 1-5.
8. A storage medium containing computer executable instructions for performing the comment preloading method of any of claims 1-5 when executed by a computer processor.
CN202110578552.0A 2021-05-26 2021-05-26 Comment preloading method and device, storage medium and electronic equipment Active CN113282853B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110578552.0A CN113282853B (en) 2021-05-26 2021-05-26 Comment preloading method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110578552.0A CN113282853B (en) 2021-05-26 2021-05-26 Comment preloading method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN113282853A CN113282853A (en) 2021-08-20
CN113282853B true CN113282853B (en) 2024-04-16

Family

ID=77281819

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110578552.0A Active CN113282853B (en) 2021-05-26 2021-05-26 Comment preloading method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN113282853B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108174278A (en) * 2018-01-30 2018-06-15 河南职业技术学院 Barrage display methods and barrage display device
CN108647052A (en) * 2018-04-28 2018-10-12 Oppo广东移动通信有限公司 Application program preloads method, apparatus, storage medium and terminal
CN108804157A (en) * 2018-06-05 2018-11-13 Oppo广东移动通信有限公司 Application program preloads method, apparatus, storage medium and terminal
CN108958828A (en) * 2018-05-21 2018-12-07 Oppo广东移动通信有限公司 Application program preloads method, apparatus, storage medium and terminal
CN109492160A (en) * 2018-10-31 2019-03-19 北京字节跳动网络技术有限公司 Method and apparatus for pushed information
CN109688479A (en) * 2018-12-26 2019-04-26 北京蓦然认知科技有限公司 A kind of barrage display methods, barrage display device and barrage display server
CN109862432A (en) * 2019-01-31 2019-06-07 厦门美图之家科技有限公司 Clicking rate prediction technique and device
CN110298126A (en) * 2019-07-04 2019-10-01 北京航空航天大学 A kind of polynary Copula power device method for evaluating reliability based on the physics of failure
CN111246275A (en) * 2020-02-07 2020-06-05 北京字节跳动网络技术有限公司 Comment information display and interaction method and device, electronic equipment and storage medium
CN111432246A (en) * 2020-03-23 2020-07-17 广州市百果园信息技术有限公司 Method, device and storage medium for pushing video data
CN112131410A (en) * 2020-09-18 2020-12-25 北京达佳互联信息技术有限公司 Multimedia resource display method, device, system and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106776771B (en) * 2016-11-10 2018-06-19 百度在线网络技术(北京)有限公司 Information-pushing method and device
CN108762843B (en) * 2018-05-29 2020-05-05 Oppo广东移动通信有限公司 Application program preloading method and device, storage medium and intelligent terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108174278A (en) * 2018-01-30 2018-06-15 河南职业技术学院 Barrage display methods and barrage display device
CN108647052A (en) * 2018-04-28 2018-10-12 Oppo广东移动通信有限公司 Application program preloads method, apparatus, storage medium and terminal
CN108958828A (en) * 2018-05-21 2018-12-07 Oppo广东移动通信有限公司 Application program preloads method, apparatus, storage medium and terminal
CN108804157A (en) * 2018-06-05 2018-11-13 Oppo广东移动通信有限公司 Application program preloads method, apparatus, storage medium and terminal
CN109492160A (en) * 2018-10-31 2019-03-19 北京字节跳动网络技术有限公司 Method and apparatus for pushed information
CN109688479A (en) * 2018-12-26 2019-04-26 北京蓦然认知科技有限公司 A kind of barrage display methods, barrage display device and barrage display server
CN109862432A (en) * 2019-01-31 2019-06-07 厦门美图之家科技有限公司 Clicking rate prediction technique and device
CN110298126A (en) * 2019-07-04 2019-10-01 北京航空航天大学 A kind of polynary Copula power device method for evaluating reliability based on the physics of failure
CN111246275A (en) * 2020-02-07 2020-06-05 北京字节跳动网络技术有限公司 Comment information display and interaction method and device, electronic equipment and storage medium
CN111432246A (en) * 2020-03-23 2020-07-17 广州市百果园信息技术有限公司 Method, device and storage medium for pushing video data
CN112131410A (en) * 2020-09-18 2020-12-25 北京达佳互联信息技术有限公司 Multimedia resource display method, device, system and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Individual preference probability modeling for video content in wireless caching networks;Ming Chun Lee等;《GLOBECOM 2017 -2017 IEEE Global communications conference》;20180115;1-4 *
基于DR预测的大规模Web3D场景预加载机制;贾金原 等;《系统仿真学报》;20200330;第32卷(第7期);1341-1348 *

Also Published As

Publication number Publication date
CN113282853A (en) 2021-08-20

Similar Documents

Publication Publication Date Title
CN111510760B (en) Video information display method and device, storage medium and electronic equipment
CN111368185B (en) Data display method and device, storage medium and electronic equipment
CN110516159B (en) Information recommendation method and device, electronic equipment and storage medium
CN111797603B (en) Method and device for browsing table in document, electronic equipment and storage medium
CN111488185B (en) Page data processing method, device, electronic equipment and readable medium
CN112528595B (en) Document processing method and device and electronic equipment
CN111400625B (en) Page processing method and device, electronic equipment and computer readable storage medium
CN110647702B (en) Picture preloading method and device, electronic equipment and readable medium
CN113721807B (en) Information display method and device, electronic equipment and storage medium
CN113934349B (en) Interaction method, interaction device, electronic equipment and storage medium
CN114491349B (en) Page display method, page display device, electronic device, storage medium and program product
CN113157153A (en) Content sharing method and device, electronic equipment and computer readable storage medium
CN111857720B (en) User interface state information generation method and device, electronic equipment and medium
CN111596991A (en) Interactive operation execution method and device and electronic equipment
CN110633434A (en) Page caching method and device, electronic equipment and storage medium
CN114201705A (en) Video processing method and device, electronic equipment and storage medium
CN110825481A (en) Method and device for displaying page information corresponding to page tag and electronic equipment
CN112380883B (en) Model training method, machine translation method, device, equipment and storage medium
CN110633433A (en) Page caching method and device, electronic equipment and storage medium
CN111797353A (en) Information pushing method and device and electronic equipment
CN111262744A (en) Multimedia information transmitting method, backup server and medium
CN113282853B (en) Comment preloading method and device, storage medium and electronic equipment
CN114528433B (en) Template selection method and device, electronic equipment and storage medium
WO2022095932A1 (en) Livestreaming room page jumping method and apparatus, livestreaming room page returning method and apparatus, and electronic device
CN113177176A (en) Feature construction method, content display method and related device

Legal Events

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