CN112367295A - Plug-in display method and device, storage medium and electronic equipment - Google Patents

Plug-in display method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN112367295A
CN112367295A CN202011104814.1A CN202011104814A CN112367295A CN 112367295 A CN112367295 A CN 112367295A CN 202011104814 A CN202011104814 A CN 202011104814A CN 112367295 A CN112367295 A CN 112367295A
Authority
CN
China
Prior art keywords
plug
displayed
storage
module
acquiring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011104814.1A
Other languages
Chinese (zh)
Other versions
CN112367295B (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.)
Guangzhou Boguan Information Technology Co Ltd
Original Assignee
Guangzhou Boguan Information 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 Guangzhou Boguan Information Technology Co Ltd filed Critical Guangzhou Boguan Information Technology Co Ltd
Priority to CN202011104814.1A priority Critical patent/CN112367295B/en
Publication of CN112367295A publication Critical patent/CN112367295A/en
Application granted granted Critical
Publication of CN112367295B publication Critical patent/CN112367295B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure relates to the technical field of information display, in particular to a plug-in display method and device, a computer readable storage medium and an electronic device, wherein the method comprises the following steps: acquiring a plug-in to be displayed; packaging the plug-in to be displayed into a video stream in a sticker form; and detecting the attribute change of the plug-in to be displayed in real time, and updating the paster according to the attribute change. The technical scheme of the embodiment of the disclosure can overcome the defect of high development cost of the plug-in display method in the prior art.

Description

Plug-in display method and device, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of information display technologies, and in particular, to a plug-in display method and apparatus, a computer-readable storage medium, and an electronic device.
Background
With the development of live broadcast services, live broadcast contents are richer, terminals for watching videos are more, and the live broadcast services are more and more popular in displaying some contents in a plug-in mode in a live broadcast room.
In the prior art, when plug-in content needs to be displayed, a new window needs to be developed in a live window to display the plug-in, so that the development cost is high.
Therefore, it is necessary to design a new plug-in display method.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
The present disclosure is directed to a method and an apparatus for displaying a plug-in, a computer-readable storage medium, and an electronic device, so as to overcome at least a disadvantage of a high development cost of a plug-in displaying method in the prior art to a certain extent.
Additional features and advantages of the disclosure will be set forth in the detailed description which follows, or in part will be obvious from the description, or may be learned by practice of the disclosure.
According to a first aspect of the present disclosure, there is provided a plug-in display method, including:
acquiring a plug-in to be displayed;
packaging the plug-in to be displayed into a video stream in a sticker form;
and detecting the attribute change of the plug-in to be displayed in real time, and updating the paster according to the attribute change.
In an exemplary embodiment of the present disclosure, the attribute change includes a change of a to-be-displayed picture of a to-be-displayed plug-in, and the detecting the attribute change of the to-be-displayed plug-in real time and updating the sticker according to the attribute change includes:
and detecting the change of the picture to be displayed of the plug-in unit to be displayed in real time, and updating the paster.
In an exemplary embodiment of the present disclosure, the method further comprises:
responding to the triggering operation of the user on the paster, and determining the parameter information of the triggering operation;
and acquiring a target plug-in unit obtained after the plug-in unit to be displayed is processed according to the parameter information, and updating the paster according to the target plug-in unit.
In an exemplary embodiment of the present disclosure, obtaining a plug-in to be displayed includes:
acquiring storage parameters of the plug-in to be displayed;
and acquiring the plug-in to be displayed in a storage library according to the storage parameters.
In an exemplary embodiment of the present disclosure, the repository includes a first storage module and a second storage module, and acquiring the plug-in to be displayed in the repository according to the storage parameter includes:
respectively acquiring index numbers of the first storage module and the second storage module;
and acquiring the plug-in to be displayed in a storage library according to the index number and the storage parameters.
In an exemplary embodiment of the disclosure, the packaging the plug-in to be displayed into the video stream in the form of a sticker includes:
the plug-in is packaged in the form of a sticker into the video stream by a video sticker software development kit.
According to an aspect of the present disclosure, there is provided a plug-in display method, which is performed by a service end, including:
acquiring a preset effect picture, and developing a plug-in to be displayed according to the preset effect picture;
storing the plug-in to be displayed to a storage library, and acquiring storage information of the plug-in to be displayed;
and sending the storage information to a playing end so that the playing end acquires the plug-in to be displayed according to the storage information and displays the plug-in.
In an exemplary embodiment of the present disclosure, developing the plug-in to be displayed according to the preset effect diagram includes:
and acquiring a preset interface library, and developing the plug-in to be displayed according to the preset effect diagram by using the preset interface library.
In an exemplary embodiment of the present disclosure, the repository includes a first storage module and a second storage module, and the storing the plug-in to be displayed to the repository includes:
respectively acquiring index numbers of the first storage module and the second storage module;
determining the storage position of the plug-in to be displayed according to the index number;
and storing the plug-in to be displayed to a storage library according to the storage position.
According to an aspect of the present disclosure, there is provided a plug-in display device including:
the acquisition module is used for acquiring the plug-in to be displayed;
the packaging module is used for packaging the plug-in to be displayed into a video stream in a sticker form;
and the display module is used for detecting the attribute change of the plug-in to be displayed in real time and updating the paster according to the attribute change.
According to an aspect of the present disclosure, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a plug-in presentation method as described in any one of the above.
According to an aspect of the present disclosure, there is provided an electronic device including:
a processor; and
a memory for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement a plug-in presentation method as described in any above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the plug-in display method provided by an embodiment of the disclosure, a plug-in to be displayed is acquired; packaging the plug-in to be displayed into the video stream in a sticker form; the attribute change of the plug-in to be displayed is detected in real time, the sticker is updated according to the attribute change, compared with the prior art, when the plug-in content is displayed, the plug-in content is displayed on a live interface in the form of the sticker, the sticker can be updated by detecting the attribute change of the plug-in real time, the plug-in is displayed without developing a new window again on the live interface when the plug-in content to be displayed is displayed, and development cost is saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty. In the drawings:
fig. 1 schematically illustrates a flow chart of a method presented by a cast end plug-in an exemplary embodiment of the disclosure;
FIG. 2 schematically illustrates a block diagram of the structure of a video-sticker software development kit in an exemplary embodiment of the disclosure;
FIG. 3 schematically illustrates a flow chart of a method exhibited by a business side plug-in an exemplary embodiment of the disclosure;
FIG. 4 schematically illustrates a framework diagram of an apparatus for performing a plug-in presentation method in an exemplary embodiment of the present disclosure;
FIG. 5 schematically illustrates an overall flowchart of a plug-in presentation method in an exemplary embodiment of the present disclosure;
FIG. 6 schematically illustrates a schematic composition diagram of a card presentation device in an exemplary embodiment of the disclosure;
FIG. 7 schematically illustrates a schematic composition diagram of another card presentation device in an exemplary embodiment of the disclosure;
FIG. 8 schematically illustrates a structural diagram of a computer system suitable for use with an electronic device that implements an exemplary embodiment of the present disclosure;
fig. 9 schematically illustrates a schematic diagram of a computer-readable storage medium, according to some embodiments of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
In the exemplary embodiment, first, a plug-in presentation method is provided, which is executed by a playing side and a service side together. Referring to fig. 1, the plug-in presentation method executed by the play end may include the following steps:
s110, obtaining a plug-in to be displayed;
s120, packaging the plug-in to be displayed into a video stream in a sticker form;
s130, detecting the attribute change of the plug-in to be displayed in real time, and updating the paster according to the attribute change.
According to the plug-in display method provided in the exemplary embodiment, compared with the prior art, when the plug-in content is displayed, the plug-in content is displayed on the live interface in the form of the sticker, and the sticker can be updated by detecting the attribute change of the plug-in real time, so that a new window does not need to be developed again on the live interface to display the plug-in when the plug-in content to be displayed is displayed, and the development cost is saved.
Hereinafter, the steps of the plug-in display method in the present exemplary embodiment will be described in more detail with reference to the drawings and the embodiments.
In step S110, a plug-in to be displayed is obtained.
In an example embodiment of the present disclosure, a storage parameter of an add-in to be displayed may be first obtained, where the storage parameter may include information such as a file name, a mutex name, an initial position and a size of the add-in to be displayed; and then acquiring the plug-in to be displayed in a storage library according to the storage information.
A plug-in is a program written in an application program interface that conforms to a specification. It can only run under the system platform (possibly supporting multiple platforms simultaneously) specified by the program, and cannot run independently from the specified platform.
In this example real-time manner, the plug-in to be displayed may be obtained by developing an obtained preset effect graph by using a preset interface library, where the preset interface library may be a pyqt interface library, or other interface libraries such as a C + + interface library, and is not specifically limited in this example embodiment.
In this exemplary embodiment, the repository may include a first storage module and a second storage module, and when the plug-in to be exhibited is obtained, the index numbers of the first storage module and the second storage module may be obtained respectively, where the index numbers include 0 and 1, when the storage module is in a readable state, that is, when complete plug-in information has been stored, the index number is 1, when the plug-in information stored in the storage module most recently is read, that is, when the storage module is in a writable state, the index number is 0, and when the plug-in to be exhibited is obtained, the plug-in to be exhibited is obtained from the storage module with the index number 1 according to the storage parameter. No conflict between reading and writing is guaranteed through the index number and the two storage modules, namely the first storage module and the second storage module, blocking is prevented, and response speed is increased as soon as possible.
In step S120, the plug-in to be displayed is packaged into the video stream in the form of a sticker.
In an example embodiment of the present disclosure, the plug-in may be packaged into a video stream in a form of a sticker by a video sticker software development kit, that is, the content to be displayed of the plug-in to be displayed is packaged into the video stream in a form of an image, and specifically, referring to fig. 2, the video sticker software development kit 200 may include an add sticker interface 210, a delete sticker interface 220, a set sticker position and size interface 230, a set sticker other properties interface 240, a repository management module 250, an operation screen update module 260, and a response module 270.
In the present exemplary embodiment, because all the plug-ins developed by the pyqt interface library are one widget, when a newly-built plug-in to be displayed needs to be displayed, the add-sticker interface 210 can be called to add the widget corresponding to the plug-in to be displayed to the video sticker; when the plug-in which is being displayed needs to be canceled, the sticker deleting interface 220 can be called to delete the sticker of the widget corresponding to the plug-in which is to be canceled and displayed.
In this example embodiment, the set-sticker-position-and-size interface setting 230 may be invoked to set the initialized position and size of the sticker of the plug-in to be presented when the plug-in to be presented is presented for the first time. In this example embodiment, the video sticker software development kit may further provide a set sticker other attribute interface 240, which may provide some interfaces for controlling the sticker to be displayed or hidden, for controlling whether the sticker can be resized, etc. according to the business needs.
In the present exemplary embodiment, the shared memory file management module 250 is used to create a repository that can store the plug-ins to be exposed. The size of the created repository may be 16KB + plug-in wide by plug-in high by 4 by 2. Where 16Kb is the reserved size, only the first 1 byte may be used in this exemplary embodiment to store the index number of the last updated memory module in the business process. Plug-wide plug-high 4 is an RGBA (Red Green Blue color space) data memory block with clear channel; the purpose of multiplying by two is to open up two storage modules with the same size, namely the first storage module and the second storage module, so that when the service end writes a plug-in picture to the storage module, the playing end can read another written storage module without mutual blocking.
In step S130, the attribute change of the plug-in to be displayed is detected in real time, and the sticker is updated according to the attribute change.
In this exemplary embodiment, the server detects in real time whether the to-be-displayed plug-in has an attribute change, where the attribute change includes a change of a to-be-displayed picture of the to-be-displayed plug-in, that is, when the change of the picture of the to-be-displayed plug-in is detected, the sticker in the video stream is updated according to the picture change. The attribute change may also include a size change, a color change, and the like, and is not particularly limited in this exemplary embodiment. The specific update method may be executed by the plug-in picture update module 260.
In this example embodiment, the to-be-displayed picture of the to-be-displayed plug-in may include a plurality of images, and the plurality of images may change with time, corresponding to the change of the attribute of the to-be-displayed plug-in, that is, the to-be-displayed plug-in is presented, for example, a first image is presented at a first time, a second image is presented at a second time, and when it is detected that the attribute of the to-be-displayed plug-in changes from the first time to the second time, the first image in the video stream is replaced with the second image.
Specifically, the detailed description is given by taking the above attribute change as an example of screen change, and when the to-be-displayed plug-in screen is updated, one free memory module is taken out from the two memory modules to perform the write operation. And in the playing process, a written memory module is taken out at regular time according to the playing frame rate to perform reading operation, and the read data is rendered into the video preview. Two mutexes, namely mutex-pair mutex locks, are created through the CreateMutex function and are used for identifying whether the two storage modules are used or not among processes. In the present disclosure, an index (index value) of a storage module is 0 or 1, and corresponds to two storage modules, a first storage module and a second storage module, when a service end writes, it may be preferentially determined whether a memory block with index + 1% 2 is idle.
In this exemplary embodiment, a non-blocking waitforsingleibject function may be used to determine whether the memory module corresponding to the mutex is idle, if the memory module is idle, the flag is "not idle", and start to write the picture data, update the index value to the index number of the memory module currently written, and then the releasemodule identifies that the memory block is written. In the broadcasting process, similar operations are also performed to obtain the latest written memory block, whether the memory block of index is idle is preferentially judged, and if not, whether the memory block of index + 1% 2 is idle is judged, and one memory block is always idle.
In the present exemplary embodiment, that is, when the property of the plug-in to be displayed changes, step S120 is repeated, and the obtained sticker replaces the original sticker to complete updating.
In another example embodiment of the present disclosure, when detecting a trigger operation of a user on the sticker, a playing end determines parameter information of the trigger operation, then may send the parameter information to a service end, then acquire a target plug-in obtained after the service end processes the plug-in to be displayed according to the parameter information, and update the sticker according to the target plug-in.
The trigger operation may be an operation by a user through mouse click, finger touch, or the like, and is not specifically limited in this example embodiment. And after receiving the trigger operation, acquiring parameter information of the trigger operation, wherein when the trigger operation is mouse click operation, the parameter information can comprise coordinates of a mouse click position, the service end receives the coordinates, notifies the plug-in after coordinate mapping, and performs corresponding processing by the plug-in service to obtain a target plug-in and stores the target plug-in a repository. And then the playing end acquires the target plug-in from the repository and executes the steps to finish the updating of the paster.
Further, referring to fig. 3, the plug-in presentation method executed by the service end may include the following steps:
step S310, acquiring a preset effect diagram, and developing the plug-in to be displayed according to the preset effect diagram;
step S320, storing the plug-in to be displayed in a repository, and acquiring the storage information of the plug-in to be displayed;
step S330, the storage information is sent to a playing end, so that the playing end obtains the plug-in to be displayed according to the storage information and displays the plug-in.
Hereinafter, the steps of the plug-in display method in the present exemplary embodiment will be described in more detail with reference to the drawings and the embodiments.
In step S310, a preset effect diagram is obtained, and the plug-in to be displayed is developed according to the preset effect diagram.
In an example embodiment of the present disclosure, a service end may first obtain a preset effect diagram, and then open and send a plug-in to be displayed by using a preset interface library, where the preset interface library may be a pyqt library, or other interface libraries such as C + +, for example, and is not limited in this example embodiment.
In step S320, the plug-in to be displayed is stored in the repository, and the storage information of the plug-in to be displayed is obtained.
In an exemplary embodiment of the disclosure, the repository may include a first storage module and a second storage module, and when the to-be-exhibited plug-in is obtained, the index numbers of the first storage module and each second storage module may be respectively obtained, where the index numbers include 0 and 1, when the storage module is in a readable state, that is, when complete plug-in information has been stored, the index number is 1, when the latest stored plug-in information of the storage module is read, that is, when the storage module is in a writable state, the index number is 0, the storage module with the index number of 0 is determined as a storage location of the to-be-exhibited plug-in, then the service end may store the to-be-exhibited plug-in with the index number of 0 and obtain the storage information of the to-be-exhibited plug-in, and specific details of the storage information are described in detail in the above plug-in exhibiting method executed by the playing end, and will not be described in detail herein.
In step S330, the storage information is sent to a playing end, so that the playing end obtains and displays the plug-in to be displayed according to the storage information.
In an example embodiment of the present disclosure, after obtaining the storage information, the service end may send the storage information to the playing end, and the playing end obtains the plug-in to be displayed in the repository china according to the storage information, and packages the plug-in to the video stream in the form of a sticker and displays the plug-in.
In another example embodiment of the present disclosure, the service end receives parameter information of a trigger operation sent by the development end, and the service end processes the plug-in to be displayed according to the parameter information to obtain a target plug-in, and stores the target plug-in a repository.
Referring to fig. 4, the plug-in presentation method of the present disclosure may be performed by the service end 410, the broadcast end, and the viewer end 430 together, wherein the service end 410 may include a sticker plug-in UI module 411, a video sticker software development kit 412, and a communication module 413. The service end 410 is used for publishing the plug-in by the pattern preset effect diagram and storing the plug-in to the repository, the playing end may include a sticker picture data reading module 421, a sticker preview display module 422, and a parameter information sending module 423, the playing end 420 is used for reading the plug-in to be displayed and displaying the plug-in to be displayed in a video stream in a form of fitting, and the viewer end 430 is used for viewing.
Specifically, the sticker plug-in UI module 411 is configured to develop a plug-in to be displayed by using a preset interface library according to a preset effect diagram, where the plug-in to be displayed may be hidden or displayed, for example, a gift-offering progress plug-in is a hidden plug-in for being synthetically displayed in a video stream. The video sticker software development kit 412 is used to provide a module for a service developer to add stickers to a video stream, and plug-ins to be displayed, which are compiled using an interface library, can be displayed in the video stream by calling a sticker adding interface. The communication module 413 is used for communication between the service end 410 and the playing end, for example, a sticker is added, and information such as a sticker id, a shared memory file name, a mutex name, a plug-in initial position and size is sent from the service end 410 to the playing end. The play end notifies the service end 410 of the sticker id when the operation deletes a sticker. The sticker picture data reading module 421 is used to read the module of the plug-in to be displayed from the repository, the data in the repository includes two storage modules and an index number of the latest plug-in picture, and the latest plug-in picture data is read through the index number. The sticker preview display module 422 is used to display a window of video and stickers, which may be rendered using a dx engine. The parameter information sending module 423 is configured to send the parameter information triggering the operation to the service end 410, and the service end 410 performs corresponding processing according to the parameter information.
The viewer side 430 is the terminal where the user watches the video, and if the service is done in the video sticker, it is not developed by each side. The viewer side may include a PC side 432, which is a so-called computer such as windows and mac system computers; a mobile terminal 433, such as an android phone and an ios phone; web end 431, browser such as google, IE browser, etc.
Referring to fig. 5, the overall process of the plug-in display method of the present disclosure may include steps S510 to S580, specifically, step S510 may be executed first, and a plug-in to be displayed is developed by using a preset interface library according to a preset effect diagram; then, step S520 is executed, the plug-in to be displayed is added to the communication module, then step S530 can be executed, a repository is established through a video sticker software development kit, and step S540 is executed, and a signal for adding a sticker is sent to a player; then, step S550 and step S560 are executed, the service end stores the plug-in to be displayed in the repository, then the playing end reads the plug-in to be displayed, and finally step S570 and step S580 are executed, the plug-in to be displayed is packaged in the video stream in the form of the sticker, and the viewer end views the content of the plug-in to be displayed. The details of steps S510 to S580 have already been described in detail above, and reference may be made to steps S110 to S130, and steps S310 to S330, which are not described herein again.
The following describes embodiments of the apparatus of the present disclosure, which may be used to perform the plug-in display method of the present disclosure. In addition, in an exemplary embodiment of the present disclosure, an insert display apparatus is also provided. Referring to fig. 6, the card presentation apparatus 600 includes: the system comprises an acquisition module 610, a packaging module 620 and a display module 630.
The obtaining module 610 may be configured to obtain a plug-in to be displayed; the matching module 620 can be used for packaging the plug-in to be displayed into a video stream in a form of a sticker; the calculation module 630 may be configured to detect a change in an attribute of the plug-in to be displayed in real time, and update the sticker according to the change in the attribute.
Still further, referring to fig. 7, the present disclosure also provides a plug-in display apparatus 700, which is executed by a service end and may include a development module 710, a storage module 720 and a sending module 730. Wherein:
the development module 710 is configured to obtain a preset effect diagram, and develop the plug-in to be displayed according to the preset effect diagram; the storage module 720 may be configured to store the plug-in to be displayed in a repository, and obtain storage information of the plug-in to be displayed; the sending module 730 may be configured to send the storage information to a playing end, so that the playing end obtains and displays the plug-in to be displayed according to the storage information.
For details that are not disclosed in the embodiments of the plug-in display device of the present disclosure, please refer to the embodiments of the plug-in display method of the present disclosure described above.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the plug-in display is also provided.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 800 according to such an embodiment of the disclosure is described below with reference to fig. 8. The electronic device 800 shown in fig. 8 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present disclosure.
As shown in fig. 8, electronic device 800 is in the form of a general purpose computing device. The components of the electronic device 800 may include, but are not limited to: the at least one processing unit 810, the at least one memory unit 820, a bus 830 connecting different system components (including the memory unit 820 and the processing unit 810), and a display unit 840.
Wherein the storage unit stores program code that is executable by the processing unit 810 to cause the processing unit 810 to perform steps according to various exemplary embodiments of the present disclosure as described in the "exemplary methods" section above in this specification. For example, the processing unit 810 may perform step S110 as shown in fig. 1: acquiring a plug-in to be displayed; s120: packaging the plug-in to be displayed into a video stream in a sticker form; s130: and detecting the attribute change of the plug-in to be displayed in real time, and updating the paster according to the attribute change.
The storage unit 820 may include readable media in the form of volatile storage units, such as a random access storage unit (RAM)821 and/or a cache storage unit 822, and may further include a read only storage unit (ROM) 823.
Storage unit 820 may also include a program/utility 824 having a set (at least one) of program modules 825, such program modules 825 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Bus 830 may be any of several types of bus structures including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
The electronic device 800 may also communicate with one or more external devices 870 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 800, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 800 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 850. Also, the electronic device 800 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 860. As shown, the network adapter 860 communicates with the other modules of the electronic device 800 via the bus 830. It should be appreciated that although not shown, other hardware and/or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, aspects of the present disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the present disclosure described in the "exemplary methods" section above of this specification, when the program product is run on the terminal device.
Referring to fig. 9, a program product 900 for implementing the above method according to an embodiment of the present disclosure is described, which may employ a portable compact disc read only memory (CD-ROM) and include program code, and may be run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto, and in this document, a 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.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, 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.
A computer readable signal medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable signal medium may also be any readable medium that is not a 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 readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Program code for carrying out operations for the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like 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 computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
Furthermore, the above-described figures are merely schematic illustrations of processes included in methods according to exemplary embodiments of the present disclosure, and are not intended to be limiting. It will be readily understood that the processes shown in the above figures are not intended to indicate or limit the chronological order of the processes. In addition, it is also readily understood that these processes may be performed synchronously or asynchronously, e.g., in multiple modules.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is to be limited only by the terms of the appended claims.

Claims (14)

1. A method for displaying a plug-in, comprising:
acquiring a plug-in to be displayed;
packaging the plug-in to be displayed into a video stream in a sticker form;
and detecting the attribute change of the plug-in to be displayed in real time, and updating the paster according to the attribute change.
2. The method according to claim 1, wherein the property change includes a change of a picture to be displayed of a plug-in to be displayed, and the detecting the property change of the plug-in to be displayed in real time and updating the sticker according to the property change includes:
and detecting the change of the picture to be displayed of the plug-in unit to be displayed in real time, and updating the paster.
3. The method of claim 1, further comprising:
responding to the triggering operation of the user on the paster, and determining the parameter information of the triggering operation;
and acquiring a target plug-in unit obtained after the plug-in unit to be displayed is processed according to the parameter information, and updating the paster according to the target plug-in unit.
4. The method of claim 1, wherein obtaining the plug-in to be displayed comprises:
acquiring storage parameters of the plug-in to be displayed;
and acquiring the plug-in to be displayed in a storage library according to the storage parameters.
5. The method according to claim 4, wherein the repository comprises a first storage module and a second storage module, and the obtaining the plug-in to be displayed in the repository according to the storage parameter comprises:
respectively acquiring index numbers of the first storage module and the second storage module;
and acquiring the plug-in to be displayed in a storage library according to the index number and the storage parameters.
6. The method of claim 1, wherein the packaging the plug-in to be displayed in a form of a sticker into a video stream comprises:
the plug-in is packaged in the form of a sticker into the video stream by a video sticker software development kit.
7. A method for displaying a plug-in, comprising:
acquiring a preset effect picture, and developing a plug-in to be displayed according to the preset effect picture;
storing the plug-in to be displayed to a storage library, and acquiring storage information of the plug-in to be displayed;
and sending the storage information to a playing end so that the playing end acquires the plug-in to be displayed according to the storage information and displays the plug-in.
8. The method of claim 7, further comprising:
and receiving parameter information of triggering operation, and processing the plug-in to be displayed according to the parameter information to obtain a target plug-in.
9. The method according to claim 7, wherein developing the plug-in to be displayed according to the preset effect diagram comprises:
and acquiring a preset interface library, and developing the plug-in to be displayed according to the preset effect diagram by using the preset interface library.
10. The method of claim 7, wherein the repository comprises a first storage module and a second storage module, and storing the plug-in to be displayed to the repository comprises:
respectively acquiring index numbers of the first storage module and the second storage module;
determining the storage position of the plug-in to be displayed according to the index number;
and storing the plug-in to be displayed to a storage library according to the storage position.
11. An insert display device, comprising:
the acquisition module is used for acquiring the plug-in to be displayed;
the packaging module is used for packaging the plug-in to be displayed into a video stream in a sticker form;
and the display module is used for detecting the attribute change of the plug-in to be displayed in real time and updating the paster according to the attribute change.
12. An insert display device, comprising:
the development module is used for acquiring a preset effect picture and developing the plug-in to be displayed according to the preset effect picture;
the storage module is used for storing the plug-in to be displayed to a storage library and acquiring the storage information of the plug-in to be displayed;
and the sending module is used for sending the storage information to a playing end so that the playing end can acquire the plug-in to be displayed according to the storage information and display the plug-in.
13. A computer-readable storage medium on which a computer program is stored, the program, when executed by a processor, implementing the plug-in presentation method according to any one of claims 1 to 6 or 7 to 10.
14. An electronic device, comprising:
a processor; and
memory for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the plug-in presentation method of any one of claims 1 to 6 or 7 to 10.
CN202011104814.1A 2020-10-15 2020-10-15 Plug-in display method and device, storage medium and electronic equipment Active CN112367295B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011104814.1A CN112367295B (en) 2020-10-15 2020-10-15 Plug-in display method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011104814.1A CN112367295B (en) 2020-10-15 2020-10-15 Plug-in display method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN112367295A true CN112367295A (en) 2021-02-12
CN112367295B CN112367295B (en) 2023-04-28

Family

ID=74507877

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011104814.1A Active CN112367295B (en) 2020-10-15 2020-10-15 Plug-in display method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN112367295B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992935A (en) * 2021-12-24 2022-01-28 北京达佳互联信息技术有限公司 Live broadcast preview method and device, electronic equipment, storage medium and product

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089144A (en) * 2018-06-28 2018-12-25 北京潘达互娱科技有限公司 A kind of method, apparatus, electronic equipment and storage medium sending paster present
CN109495790A (en) * 2018-11-30 2019-03-19 北京字节跳动网络技术有限公司 Paster adding method, device, electronic equipment and readable medium based on editing machine
CN109660855A (en) * 2018-12-19 2019-04-19 北京达佳互联信息技术有限公司 Paster display methods, device, terminal and storage medium
CN110324696A (en) * 2019-07-12 2019-10-11 广州华多网络科技有限公司 Method of river diversion, device, computer equipment and the storage medium of live broadcast service
CN110825395A (en) * 2019-10-23 2020-02-21 中冶赛迪重庆信息技术有限公司 Multi-plug-in layered deployment system, device and medium
CN111309231A (en) * 2020-02-20 2020-06-19 网易(杭州)网络有限公司 Information display method and device, storage medium and electronic equipment
CN111324252A (en) * 2020-02-06 2020-06-23 网易(杭州)网络有限公司 Display control method and device in live broadcast platform, storage medium and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109089144A (en) * 2018-06-28 2018-12-25 北京潘达互娱科技有限公司 A kind of method, apparatus, electronic equipment and storage medium sending paster present
CN109495790A (en) * 2018-11-30 2019-03-19 北京字节跳动网络技术有限公司 Paster adding method, device, electronic equipment and readable medium based on editing machine
CN109660855A (en) * 2018-12-19 2019-04-19 北京达佳互联信息技术有限公司 Paster display methods, device, terminal and storage medium
CN110324696A (en) * 2019-07-12 2019-10-11 广州华多网络科技有限公司 Method of river diversion, device, computer equipment and the storage medium of live broadcast service
CN110825395A (en) * 2019-10-23 2020-02-21 中冶赛迪重庆信息技术有限公司 Multi-plug-in layered deployment system, device and medium
CN111324252A (en) * 2020-02-06 2020-06-23 网易(杭州)网络有限公司 Display control method and device in live broadcast platform, storage medium and electronic equipment
CN111309231A (en) * 2020-02-20 2020-06-19 网易(杭州)网络有限公司 Information display method and device, storage medium and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992935A (en) * 2021-12-24 2022-01-28 北京达佳互联信息技术有限公司 Live broadcast preview method and device, electronic equipment, storage medium and product
CN113992935B (en) * 2021-12-24 2022-06-14 北京达佳互联信息技术有限公司 Live broadcast preview method and device, electronic equipment, storage medium and product

Also Published As

Publication number Publication date
CN112367295B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
CN109032722B (en) Method, device, equipment and medium for updating display effect of UI component
CN110825456B (en) Loading time calculation method, loading time calculation device, computer equipment and storage medium
CN108256062B (en) Webpage animation implementation method and device, electronic equipment and storage medium
CN109471626B (en) Page logic structure, page generation method, page data processing method and device
CN112947969B (en) Page off-screen rendering method, device, equipment and readable medium
CN111158820B (en) Control click event processing method and device, electronic equipment and storage medium
CN111324252B (en) Display control method and device in live broadcast platform, storage medium and electronic equipment
CN112272109A (en) Network topological graph generation method, equipment and system
CN112817657A (en) Application program starting item loading method, device and system and storage medium
CN111880879A (en) Playing method, device, equipment and storage medium of dynamic wallpaper
CN110781067A (en) Method, device, equipment and storage medium for calculating starting time consumption
CN110362371B (en) View level control method, device and system, computer equipment and medium
CN112367295B (en) Plug-in display method and device, storage medium and electronic equipment
US20240073488A1 (en) Live video processing method and apparatus, device and medium
CN109246468B (en) Video list switching method, device and storage medium based on education system
CN114222185B (en) Video playing method, terminal equipment and storage medium
CN114092590B (en) Electronic device and evaluation method and medium for image rendering performance of electronic device
CN110971955A (en) Page processing method and device, electronic equipment and storage medium
CN112291602B (en) Video playing method, electronic equipment and storage medium
CN114237481A (en) Handwriting display processing method, system, device, equipment and storage medium
CN114377393A (en) Display control method, device, equipment and medium for game object
CN113559503A (en) Video generation method, device and computer readable medium
CN111292392A (en) Unity-based image display method, apparatus, device and medium
CN112684965A (en) Dynamic wallpaper state changing method and device, electronic equipment and storage medium
CN111083552A (en) Thumbnail generation method, device, equipment and 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