CN113518245A - Program thumbnail generation method and device and service equipment - Google Patents
Program thumbnail generation method and device and service equipment Download PDFInfo
- Publication number
- CN113518245A CN113518245A CN202010273534.7A CN202010273534A CN113518245A CN 113518245 A CN113518245 A CN 113518245A CN 202010273534 A CN202010273534 A CN 202010273534A CN 113518245 A CN113518245 A CN 113518245A
- Authority
- CN
- China
- Prior art keywords
- program
- target program
- web page
- thumbnail
- target
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 230000004044 response Effects 0.000 claims abstract description 13
- 238000003860 storage Methods 0.000 claims description 58
- 238000001514 detection method Methods 0.000 claims description 11
- 230000015654 memory Effects 0.000 description 11
- 238000004590 computer program Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/235—Processing of additional data, e.g. scrambling of additional data or processing content descriptors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/482—End-user interface for program selection
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/482—End-user interface for program selection
- H04N21/4825—End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/482—End-user interface for program selection
- H04N21/4826—End-user interface for program selection using recommendation lists, e.g. of programs or channels sorted out according to their score
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Software Systems (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides a program thumbnail generation method and device and service equipment. The method for example comprises the steps of: responding to program storage operation of a WEB client, acquiring a program identifier and program information of a stored target program, and adding the program identifier of the target program to a queue; detecting the queue, responding to the program identification of the target program, and calling program information of the target program according to the program identification of the target program so as to generate the target program on a WEB page; and carrying out screenshot on the target program of the WEB page to generate a thumbnail of the target program. According to the embodiment, the generation of the program thumbnail by the server side is realized, the response speed of the WEB client side is improved, and the user experience is greatly improved.
Description
Technical Field
The invention relates to the technical field of multimedia control playing, in particular to a program thumbnail generation method, a program thumbnail generation device and service equipment.
Background
In the LED display screen industry, when programs are distributed and arranged through cloud distribution, various components and media are added to the programs, and when a user exits from a program list after editing the programs, the user needs to check thumbnails of the edited programs, so that the user can quickly identify elements and program layouts included in the current program. In the prior art, the generation of the program thumbnail is generally performed at the client, and when the program is edited and then stored, the program protocol data is stored and the corresponding thumbnail is generated at the same time, so that the client is abnormally blocked and the user experience is greatly influenced.
Disclosure of Invention
Therefore, to overcome the defects and shortcomings in the prior art, embodiments of the present invention provide a method, a device and a service device for generating a program thumbnail, so as to generate a program thumbnail at a server, store program related protocol data separately from the generated thumbnail, and improve the response rate of a client and user experience.
On one hand, a method for generating a program thumbnail provided by an embodiment of the present invention includes: responding to program storage operation of a WEB client, acquiring a program identifier and program information of a stored target program, and adding the program identifier of the target program to a queue; detecting the queue, responding to the program identification of the target program, and calling program information of the target program according to the program identification of the target program so as to generate the target program on a WEB page; and carrying out screenshot on the target program of the WEB page to generate a thumbnail of the target program.
The program thumbnail generation method provided by this embodiment obtains the program identifier and the program information of the stored target program by responding to the program storage operation of the WEB client, adds the program identifier of the target program to the queue, calls the program information of the target program according to the program identifier of the target program when detecting the program identifier of the target program, generates the target program on the WEB page, and captures the target program on the WEB page to generate the thumbnail of the target program, thereby implementing generation of the program thumbnail on the server, separating the stored program related protocol data from the generated thumbnail, improving the response rate of the client, and greatly improving the user experience.
In an embodiment of the present invention, the program thumbnail generation method further includes: and storing the thumbnail.
In an embodiment of the present invention, the invoking, in response to detecting the program identifier of the target program, program information of the target program according to the program identifier of the target program to generate the target program on a WEB page specifically includes: responding to the detected program identification of the target program, accessing node service equipment and sending the program identification to the node service equipment; and accessing a WEB page service device by using the node service device through a browser to load the WEB page, and calling the program information of the target program by the WEB page service device based on the program identifier of the target program to generate the target program on the WEB page.
In an embodiment of the present invention, the accessing a WEB page service device through a browser to load the WEB page specifically includes: detecting the quantity of WEB pages loaded by a plurality of currently started browsers respectively; and selecting the browser with the minimum WEB page number in the plurality of browsers to load the WEB page.
In an embodiment of the present invention, the invoking, by the WEB page service device, the program information of the target program based on the program identifier of the target program to generate the target program on the WEB page specifically includes: calling the program information of the target program based on the program identification of the target program, wherein the program information comprises a media layout, a media size and a media storage address; acquiring corresponding media according to the media storage address; and processing the media according to the media layout and the media size to generate the target program on the WEB page. In an embodiment of the present invention, the storing the thumbnail specifically includes: transmitting the thumbnail to storage service equipment for storage; and storing the picture information corresponding to the thumbnail returned by the storage service equipment in a database.
In an embodiment of the present invention, the storing the thumbnail specifically includes: sending the thumbnail to storage service equipment for storage; and storing the picture information corresponding to the thumbnail returned by the storage service equipment in a database.
On the other hand, an apparatus for generating a program thumbnail provided by an embodiment of the present invention includes: the acquisition module is used for responding to the program storage operation of the WEB client, acquiring the program identification and the program information of the stored target program, and adding the program identification of the target program to the queue; the detection module is used for detecting the queue, responding to the detection of the program identifier of the target program, and calling the program information of the target program according to the program identifier of the target program so as to generate the target program on a WEB page; and the generating module is used for carrying out screenshot on the target program of the WEB page so as to generate a thumbnail of the target program.
The program thumbnail generation device of the embodiment is provided with the acquisition module, the detection module and the generation module, so that the program identification and the program information of the stored target program can be acquired by responding to the program storage operation of the WEB client, the program identification of the target program is added to the queue, the program information of the target program is called according to the program identification of the target program when the program identification of the target program is detected, the target program is generated on the WEB page, the target program on the WEB page is subjected to screenshot to generate the thumbnail of the target program, the generation of the program thumbnail on the server side is realized, the storage of program related protocol data and the generation of the thumbnail are separated, the client response speed is improved, and the user experience is greatly improved.
In one embodiment of the present invention, the program thumbnail generating apparatus further includes: and the storage module is used for storing the thumbnail.
In an embodiment of the present invention, the detection module specifically includes: the access unit is used for responding to the detection of the program identifier of the target program, accessing the node service equipment and sending the program identifier to the node service equipment; and the generating unit is used for accessing a WEB page service device through a browser by utilizing the node service device to load the WEB page, and calling the program information of the target program by the WEB page service device based on the program identifier of the target program so as to generate the target program on the WEB page.
In another aspect, a service device provided in an embodiment of the present invention includes: the system comprises a back-end service device, a node service device, a WEB page service device and a storage service device; wherein the backend service device is configured to: responding to program storage operation of a WEB client connected with the back-end service equipment through a network, acquiring a program identifier and program information of a stored target program, and adding the program identifier of the target program to a queue; detecting the queue, responding to the program identification of the target program, accessing the node service equipment and sending the program identification to the node service equipment; the node serving device is configured to: accessing a WEB page service device to load a WEB page through a browser, calling the program information of the target program by the WEB page service device based on the program identifier of the target program to generate the target program on the WEB page, performing screenshot operation on the target program on the WEB page to generate a thumbnail of the target program, and sending the thumbnail to the storage service device; the storage service device is to: and saving the thumbnail and returning the picture information corresponding to the thumbnail to the back-end service equipment to be stored in a database.
In still another aspect, an embodiment of the present invention provides a program thumbnail generation system, which includes a memory and a processor connected to the memory, where the processor stores a computer program, and the processor executes the program thumbnail generation method when running the computer program.
In still another aspect, an embodiment of the present invention provides a computer-readable storage medium, in which a computer program is stored, and the stored computer program, when executed by a processor, can implement the program thumbnail generation method as described above.
One or more of the above technical solutions may have the following advantages or beneficial effects: the method comprises the steps of responding to program storage operation of a WEB client, obtaining program identification and program information of a stored target program, adding the program identification of the target program to a queue, calling the program information of the target program according to the program identification of the target program when the program identification of the target program is detected, generating the target program on a WEB page, and carrying out screenshot on the target program on the WEB page to generate a thumbnail of the target program, so that generation of a program thumbnail on the server is realized, program related protocol data is stored and the thumbnail is generated in a separated mode, the response speed of the client is improved, and user experience is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for generating a program thumbnail according to a first embodiment of the present invention.
Fig. 2 is another schematic flow chart of a program thumbnail generation method according to a first embodiment of the present invention.
Fig. 3 is a schematic flowchart of step S20 in fig. 1.
Fig. 4 is a schematic flowchart of step S40 in fig. 2.
Fig. 5 is a schematic structural diagram of a service device according to a second embodiment of the present invention.
Fig. 6 is a schematic block diagram of a program thumbnail generating apparatus according to a third embodiment of the present invention.
Fig. 7 is a schematic block diagram of a program thumbnail generating apparatus according to a third embodiment of the present invention.
Fig. 8 is a block diagram of the detection module in fig. 6.
Fig. 9 is a schematic structural diagram of a program thumbnail generation system according to a fourth embodiment of the present invention.
Fig. 10 is a schematic structural diagram of a computer-readable storage medium according to a fifth embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
[ first embodiment ] A method for manufacturing a semiconductor device
As shown in fig. 1, a method for generating a program thumbnail according to a first embodiment of the present invention is used to generate a program thumbnail at a server, separate saving of program related protocol data from generation of the thumbnail, improve a response rate of a client, and improve user experience. The program thumbnail generation method comprises the following steps:
s10, responding to the program storage operation of the WEB client, acquiring the program identification and the program information of the stored target program, and adding the program identification of the target program to the queue;
s20, detecting the queue, responding to the program identification of the target program, and calling the program information of the target program according to the program identification of the target program to generate the target program on a WEB page;
and S30, screenshot is carried out on the target program of the WEB page so as to generate a thumbnail of the target program.
As shown in fig. 2, the program thumbnail generation method further includes the steps of:
and S40, storing the thumbnail.
As shown in fig. 3, in step S20, in response to detecting the program identifier of the target program, invoking program information of the target program according to the program identifier of the target program to generate the target program on a WEB page, specifically including the following steps:
s21, responding to the program identification of the target program, accessing node service equipment and sending the program identification to the node service equipment;
and S22, accessing a WEB page service device through a browser by using the node service device to load the WEB page, and calling the program information of the target program by the WEB page service device based on the program identifier of the target program to generate the target program on the WEB page.
The accessing of the WEB page service device through the browser to load the WEB page specifically includes: detecting the quantity of WEB pages loaded by a plurality of currently started browsers respectively; and selecting the browser with the minimum WEB page number in the plurality of browsers to load the WEB page.
The invoking, by the WEB page service device, the program information of the target program based on the program identifier of the target program to generate the target program on the WEB page specifically includes: calling the program information of the target program based on the program identification of the target program, wherein the program information comprises a media layout, a media size and a media storage address; acquiring corresponding media according to the media storage address; and processing the media according to the media layout and the media size to generate the target program on the WEB page.
As shown in fig. 4, the step S40 of storing the thumbnail specifically includes the following steps:
s41, sending the thumbnail to a storage service device for storage; and
and S42, storing the picture information corresponding to the thumbnail returned by the storage service equipment in a database.
The program thumbnail generation method provided in this embodiment may be applied to the service apparatus 200 shown in fig. 5, for example, and the service apparatus 200 may specifically include: backend services device 210, node services device 220, WEB page services device 230, and storage services device 240. In order to facilitate a clearer understanding of the present embodiment, the program thumbnail generation method of the present embodiment is described in detail below with reference to fig. 5.
Specifically, as shown in fig. 5, for example, a user edits a program on a program editing page of browser software of a WEB client, after the user edits the program and stores the program, the WEB client transmits a program identifier and program information of the currently stored program (i.e., a target program) to a service device 200 connected to the WEB client, and a back-end service device 210 of the service device 200 acquires the program identifier and program information of the target program and adds the program identifier of the target program to a queue. The backend service device 210 may be, for example, a PHP server, and the backend service device 210 adds the program identifier to the queue according to the method described above after the plurality of program editions are stored. The program identifiers are added into the queue, so that the blockage caused by the generation of a plurality of program thumbnails can be prevented, the processing performance of the server is ensured, and the generation rate of the program thumbnails is improved.
When the backend service device 210 of the service device 200 detects a program identifier of a target program, for example, the node service device 220 (the node service device may be, for example, a node service) may be invoked, and the detected program identifier is sent to the node service device 220, the node service device 220 starts a browser to access the WEB page service device 230 to load a WEB page and send the program identifier to the WEB page service device 230, the WEB page service device 230 sends a request to the backend service device 210, and obtains program information of the target program to be ignored from the backend service device 210 according to the program identifier to generate the target program on the WEB page.
Specifically, the WEB page service apparatus 230 may acquire the program information, for example, including the media layout, the media size, and the media storage address of the program-containing media. The media layout represents the layout of the media in the program page, and may be, for example, a display position of the media in the program page, specifically, a position coordinate, a media size represents a size of the media displayed in the page, and may include, for example, a width and a height, and a media storage address represents an address of the media storage. The WEB page service device 230 obtains the corresponding media according to the media storage address, and processes the media according to the media presentation position and the media size, where the processing media may, for example, adjust the size of the media according to the media size to obtain an adjusted media, and display the adjusted media on the WEB page according to the media layout, so as to generate the target program on the WEB page. The media may be stored on the storage service device 240 of the server 200, for example, or may also be stored on a cloud storage, for example, although the embodiment of the present invention is not limited thereto. In addition, node service apparatus 220 may, for example, be capable of starting up at most five browsers, each browser may be capable of loading at most 1000 WEB pages, and when node service apparatus 220 needs to start up a browser to load a WEB page, it may, for example, first detect the number of WEB pages loaded by each of a plurality of currently started browsers, and select one browser with a smaller number of WEB pages to load a new WEB page. When one WEB page of the plurality of WEB pages is completed by the screenshot task, the WEB page is closed in time and resources are released, so that the efficiency of generating the program thumbnail can be improved, and the blockage is avoided.
As mentioned above, after processing the media, the WEB page service device 230 generates the target program on the WEB page (for example, the target program generated on the WEB page is a page that is the same as the display of the program page edited by the WEB client user), and the node service device 220 enables the screenshot mechanism to screenshot the target program on the WEB page to generate the thumbnail of the target program. The node service device 220 may, for example, transmit the thumbnail to the storage service device 240 for storage, after the storage service device 240 stores the thumbnail, may, for example, generate picture information such as a storage address and send the picture information to the node service device 220, the node service device 220 sends the picture information of the corresponding thumbnail returned by the storage service device 240 to the back-end service device 210, and the back-end service device 210 stores the picture information in a database, that is, the generation of the program thumbnail is completed. Of course, the node service device 220 may also upload the thumbnail to a cloud storage (for example, an OSS storage service device), and of course, may also be other storage apparatuses, and the embodiment of the present invention is not limited thereto. After the program thumbnail is generated, the WEB client may acquire the thumbnail through the picture information and display the thumbnail in a program list of the WEB client, so that a user can quickly identify elements and layouts included in the current program.
In summary, the program thumbnail generation method of this embodiment obtains the program identifier and the program information of the stored target program by responding to the program storage operation of the WEB client, adds the program identifier of the target program to the queue, calls the program information of the target program according to the program identifier of the target program when detecting the program identifier of the target program, generates the target program on the WEB page, and captures the target program on the WEB page to generate the thumbnail of the target program, thereby implementing generation of the program thumbnail on the server, separating the storage of program related protocol data from the generation of the thumbnail, improving the response rate of the client, and greatly improving the user experience.
[ second embodiment ]
As shown in fig. 5, a second embodiment of the present invention provides a service apparatus 200, including: backend services device 210, node services device 220, WEB page services device 230, and storage services device 240. Node service device 220 and back-end service device 210 may be connected via a network, for example, WEB page service device 230 may be connected to node service device 220 and back-end service device 210, respectively, via a network, for example, and storage service device 240 may be connected to node service device 220 via a network, for example.
Wherein the backend service device 210 is configured to: responding to a program storage operation of a WEB client connected to the backend service device 210 via a network, acquiring a program identifier and program information of a stored target program, and adding the program identifier of the target program to a queue; and detecting the queue, accessing the node serving device 220 and sending the program identifier to the node serving device 220 in response to detecting the program identifier of the target program;
the node serving apparatus 220 is configured to: accessing a WEB page service device 230 to load a WEB page through a browser, calling the program information of the target program by the WEB page service device 230 based on the program identifier of the target program to generate the target program on the WEB page, performing a screenshot operation on the target program on the WEB page to generate a thumbnail of the target program, and sending the thumbnail to the storage service device 240;
the storage service 240 is configured to: and saving the thumbnail and returning the picture information corresponding to the thumbnail to the back-end service device 210 for storage in a database.
The specific operation and technical effects of the service apparatus 200 in this embodiment are described in the foregoing first embodiment.
[ third embodiment ]
As shown in fig. 6, a third embodiment of the present invention provides a program thumbnail generating apparatus 400. The program thumbnail generation apparatus 400 includes, for example, an acquisition module 410, a detection module 420, and a generation module 430.
The obtaining module 410 is configured to respond to a program saving operation of the WEB client, obtain a program identifier and program information of a saved target program, and add the program identifier of the target program to the queue.
The detecting module 420 is configured to detect the queue, and in response to detecting the program identifier of the target program, invoke the program information of the target program according to the program identifier of the target program, so as to generate the target program on a WEB page.
A generating module 430, configured to capture a screenshot of the target program on the WEB page to generate a thumbnail of the target program.
As shown in fig. 7, the program thumbnail generating apparatus further includes:
a storage module 440, configured to store the thumbnail.
As shown in fig. 8, the detection module 420 includes an access unit 421 and a generation unit 422.
The accessing unit 421 is configured to, in response to detecting the program identifier of the target program, access a node serving device and send the program identifier to the node serving device.
A generating unit 422, configured to access, by using the node service device, a WEB page service device through a browser to load the WEB page, and invoke, by the WEB page service device, the program information of the target program based on the program identifier of the target program to generate the target program on the WEB page.
The detailed operation and technical effects between the modules in the program thumbnail generation apparatus 400 in the present embodiment are described with reference to the foregoing first embodiment.
[ fourth example ] A
As shown in fig. 9, a fourth embodiment of the present invention provides a program thumbnail generating system 500. The program thumbnail generation system 500 includes, for example, a memory 520 and a processor 510 connected to the memory 520. The memory 520 may be, for example, a non-volatile memory having stored thereon a computer program 521. Processor 510 may be, for example, an embedded processor. The processor 510 executes the program thumbnail generation method in the foregoing first embodiment when running the computer program 521.
The detailed operation and technical effects of the program thumbnail generation system 500 in the present embodiment are described with reference to the foregoing first embodiment.
[ fifth embodiment ]
As shown in fig. 10, a fifth embodiment of the present invention provides a computer-readable storage medium 600. The computer-readable storage medium 600 is, for example, a nonvolatile memory, which is, for example: magnetic media (e.g., hard disks, floppy disks, and magnetic tape), optical media (e.g., CDROM disks and DVDs), magneto-optical media (e.g., optical disks), and hardware devices specially constructed for storing and executing computer-executable instructions (e.g., Read Only Memories (ROMs), Random Access Memories (RAMs), flash memories, etc.). Computer-readable storage medium 600 has stored thereon computer-executable instructions 610. The computer-readable storage medium 600 may execute the computer-executable instructions 610 by one or more processors or processing devices to implement the program thumbnail generation method in the foregoing first embodiment.
In addition, it should be understood that the foregoing embodiments are merely exemplary illustrations of the present invention, and the technical solutions of the embodiments can be arbitrarily combined and collocated without conflict between technical features and structural contradictions, which do not violate the purpose of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a division of one logic function, and an actual implementation may have another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may also be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, each functional unit/module in the embodiments of the present invention may be integrated into one processing unit/module, or each unit/module may exist alone physically, or two or more units/modules may be integrated into one unit/module. The integrated units/modules may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units/modules.
The integrated units/modules, which are implemented in the form of software functional units/modules, may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions for causing one or more processors of a computer device (which may be a personal computer, a server, or a network device) to execute some steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. A method for generating a program thumbnail is characterized by comprising the following steps:
responding to program storage operation of a WEB client, acquiring a program identifier and program information of a stored target program, and adding the program identifier of the target program to a queue;
detecting the queue, responding to the program identification of the target program, and calling program information of the target program according to the program identification of the target program so as to generate the target program on a WEB page;
and screenshot is carried out on the target program of the WEB page so as to generate a thumbnail of the target program.
2. The program thumbnail generation method according to claim 1, further comprising:
and storing the thumbnail.
3. The method for generating a program thumbnail according to claim 1, wherein the step of calling the program information of the target program according to the program identifier of the target program in response to detecting the program identifier of the target program so as to generate the target program on a WEB page specifically comprises:
responding to the detected program identification of the target program, accessing node service equipment and sending the program identification to the node service equipment;
and accessing a WEB page service device by using the node service device through a browser to load the WEB page, and calling the program information of the target program by the WEB page service device based on the program identifier of the target program to generate the target program on the WEB page.
4. The method for generating a program thumbnail according to claim 3, wherein the accessing a WEB page service device through a browser to load the WEB page specifically comprises:
detecting the quantity of WEB pages loaded by a plurality of currently started browsers respectively;
and selecting the browser with the minimum WEB page number in the plurality of browsers to load the WEB page.
5. The method for generating a program thumbnail according to claim 3, wherein the invoking, by the WEB page service device, the program information of the target program based on the program identifier of the target program to generate the target program on the WEB page specifically includes:
calling the program information of the target program based on the program identification of the target program, wherein the program information comprises a media layout, a media size and a media storage address;
acquiring corresponding media according to the media storage address;
and processing the media according to the media layout and the media size to generate the target program on the WEB page.
6. The method for generating a program thumbnail according to claim 2, wherein the storing the thumbnail specifically includes:
sending the thumbnail to storage service equipment for storage; and
and storing the picture information corresponding to the thumbnail returned by the storage service equipment in a database.
7. A program thumbnail generating apparatus, characterized by comprising:
the acquisition module is used for responding to the program storage operation of the WEB client, acquiring the program identification and the program information of the stored target program, and adding the program identification of the target program to the queue;
the detection module is used for detecting the queue, responding to the detection of the program identifier of the target program, and calling the program information of the target program according to the program identifier of the target program so as to generate the target program on a WEB page;
and the generating module is used for carrying out screenshot on the target program of the WEB page so as to generate a thumbnail of the target program.
8. The program thumbnail generating apparatus according to claim 7, further comprising:
and the storage module is used for storing the thumbnail.
9. The apparatus for generating a program thumbnail according to claim 7, wherein the detecting module specifically comprises:
the access unit is used for responding to the detection of the program identifier of the target program, accessing the node service equipment and sending the program identifier to the node service equipment;
and the generating unit is used for accessing a WEB page service device through a browser by utilizing the node service device to load the WEB page, and calling the program information of the target program by the WEB page service device based on the program identifier of the target program so as to generate the target program on the WEB page.
10. A service device is characterized by comprising a back-end service device, a node service device, a WEB page service device and a storage service device which are connected with each other;
wherein the backend service device is configured to: responding to program storage operation of a WEB client connected with the back-end service equipment through a network, acquiring a program identifier and program information of a stored target program, and adding the program identifier of the target program to a queue; detecting the queue, responding to the program identification of the target program, accessing the node service equipment and sending the program identification to the node service equipment;
the node serving device is configured to: accessing a WEB page service device to load a WEB page through a browser, calling the program information of the target program by the WEB page service device based on the program identifier of the target program to generate the target program on the WEB page, performing screenshot operation on the target program on the WEB page to generate a thumbnail of the target program, and sending the thumbnail to the storage service device;
the storage service device is to: and saving the thumbnail and returning the picture information corresponding to the thumbnail to the back-end service equipment to be stored in a database.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010273534.7A CN113518245B (en) | 2020-04-09 | 2020-04-09 | Program thumbnail generation method and device and service equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010273534.7A CN113518245B (en) | 2020-04-09 | 2020-04-09 | Program thumbnail generation method and device and service equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113518245A true CN113518245A (en) | 2021-10-19 |
CN113518245B CN113518245B (en) | 2024-01-09 |
Family
ID=78060286
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010273534.7A Active CN113518245B (en) | 2020-04-09 | 2020-04-09 | Program thumbnail generation method and device and service equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113518245B (en) |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101071438A (en) * | 2007-03-26 | 2007-11-14 | 腾讯科技(深圳)有限公司 | Capture server, distribution server, method and system for generating webpage capture |
CN101377846A (en) * | 2008-05-12 | 2009-03-04 | 上海激动通信有限公司 | Method for optimum cutting a picture of a video file rapidly |
JP2009064239A (en) * | 2007-09-06 | 2009-03-26 | Seiko Epson Corp | Document management device, document management method, and document management program |
US20120297302A1 (en) * | 2011-05-17 | 2012-11-22 | Keith Barraclough | Device, system and method for image-based content delivery |
CN103390034A (en) * | 2013-07-12 | 2013-11-13 | 北京小米科技有限责任公司 | Image display method, device, terminal and server |
CN103873916A (en) * | 2012-12-13 | 2014-06-18 | 深圳市快播科技有限公司 | Video thumbnail processing method, video thumbnail processing system and video player |
CN106406851A (en) * | 2016-08-24 | 2017-02-15 | 北京松鼠山科技有限公司 | Webpage image capture method and system |
CN110198452A (en) * | 2019-04-02 | 2019-09-03 | 腾讯科技(深圳)有限公司 | A kind of method for previewing of live video, apparatus and system |
-
2020
- 2020-04-09 CN CN202010273534.7A patent/CN113518245B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101071438A (en) * | 2007-03-26 | 2007-11-14 | 腾讯科技(深圳)有限公司 | Capture server, distribution server, method and system for generating webpage capture |
JP2009064239A (en) * | 2007-09-06 | 2009-03-26 | Seiko Epson Corp | Document management device, document management method, and document management program |
CN101377846A (en) * | 2008-05-12 | 2009-03-04 | 上海激动通信有限公司 | Method for optimum cutting a picture of a video file rapidly |
US20120297302A1 (en) * | 2011-05-17 | 2012-11-22 | Keith Barraclough | Device, system and method for image-based content delivery |
CN103873916A (en) * | 2012-12-13 | 2014-06-18 | 深圳市快播科技有限公司 | Video thumbnail processing method, video thumbnail processing system and video player |
CN103390034A (en) * | 2013-07-12 | 2013-11-13 | 北京小米科技有限责任公司 | Image display method, device, terminal and server |
CN106406851A (en) * | 2016-08-24 | 2017-02-15 | 北京松鼠山科技有限公司 | Webpage image capture method and system |
CN110198452A (en) * | 2019-04-02 | 2019-09-03 | 腾讯科技(深圳)有限公司 | A kind of method for previewing of live video, apparatus and system |
Also Published As
Publication number | Publication date |
---|---|
CN113518245B (en) | 2024-01-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109495306B (en) | Method and equipment for expanding capacity of service network | |
CN107832100B (en) | APK plug-in loading method and terminal thereof | |
CN110311831B (en) | Container cloud-based system resource monitoring method and related equipment | |
CN107276842B (en) | Interface test method and device and electronic equipment | |
CN112532490A (en) | Regression testing system and method and electronic equipment | |
CN109344066B (en) | Method, system and terminal for testing browser page | |
CN111400246B (en) | Asynchronous file import method, device, computer equipment and storage medium | |
CN112506755B (en) | Log acquisition method, device, computer equipment and storage medium | |
CN112579948B (en) | Webpage screenshot method and device, storage medium and electronic equipment | |
CN112988281B (en) | Application starting method and device | |
US9727394B2 (en) | Establishing causality order of computer trace records | |
CN113407383A (en) | Main/standby system switching method and device, server and main/standby system | |
CN111298434B (en) | Service processing method, device, equipment and storage medium | |
CN110865985A (en) | Data synchronization method and device, electronic equipment and storage medium | |
CN113849356B (en) | Equipment testing method and device, electronic equipment and storage medium | |
CN110442407B (en) | Application program processing method and device | |
CN113518245A (en) | Program thumbnail generation method and device and service equipment | |
CN106330595B (en) | Heartbeat detection method and device for distributed platform | |
CN108062224B (en) | Data reading and writing method and device based on file handle and computing equipment | |
CN110716730A (en) | Gray scale distribution method, device, equipment and computer readable storage medium | |
WO2017067382A1 (en) | Disk state detection method, disk expander, and disk control system | |
CN114064065A (en) | Program upgrading method and program upgrading system | |
CN111290897A (en) | Asynchronous storage test method, electronic device, computer equipment and storage medium | |
CN114741325B (en) | Recording method and device of test script for application system test | |
US20230244519A1 (en) | Cloud Platform and Cloud Platform-Based Program Code Processing Method |
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 |