Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure have been shown in the accompanying drawings, it is to be understood that the present disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein, but are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustration purposes only and are not intended to limit the scope of the present disclosure.
It should be understood that the various steps recited in the method embodiments of the present disclosure may be performed in a different order and/or performed in parallel. Furthermore, method embodiments may include additional steps and/or omit performing the illustrated steps. The scope of the present disclosure is not limited in this respect.
The term "including" and variations thereof as used herein are intended to be open-ended, i.e., including, but not limited to. The term "based on" is based at least in part on. The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments. Related definitions of other terms will be given in the description below.
It should be noted that the terms "first," "second," and the like in this disclosure are used merely to distinguish one device, module, or unit from another device, module, or unit, and are not intended to limit the order or interdependence of the functions performed by the devices, modules, or units.
It should be noted that references to "one", "a plurality" and "a plurality" in this disclosure are intended to be illustrative rather than limiting, and those of ordinary skill in the art will appreciate that "one or more" is intended to be understood as "one or more" unless the context clearly indicates otherwise.
The names of messages or information interacted between the various devices in the embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
At present, the content information is displayed on terminal equipment with different sizes, and the following problems mainly exist:
1. there may be omission of one or more sizes of terminal equipment, failing to cover all sizes of terminal equipment;
2. the user operation is complex, and the realization difficulty is high;
3. if the clipping of the content information exists, the clipped part of the content information cannot be displayed on the terminal equipment, namely the complete content information cannot be displayed, so that the adjustment of the content information is also influenced.
In order to solve the above-mentioned problems, please refer to fig. 1, the disclosure provides a method for displaying multimedia information, which is specifically executed by an electronic device, the electronic device may be a terminal device, and the terminal device may be a desktop device or a mobile terminal, and the disclosure includes:
step S101, obtaining at least one piece of multimedia information, wherein the at least one piece of multimedia information is the multimedia information with different sizes aiming at the same content;
in this embodiment, if the number of at least one multimedia information is one, the multimedia information is multimedia information received by the electronic device, input by a user, or sent by other devices; more possibly, the number of the at least one piece of multimedia information is two or more, and the two or more pieces of multimedia information may be multimedia information received by the electronic device, input by a user, or sent by other devices, or may be two or more pieces of multimedia information with different sizes obtained by processing the size of the multimedia information after the electronic device receives one piece of multimedia information input by the user or sent by other devices.
In this embodiment, the multimedia information may be video, pictures, or the like, and the two or more pieces of multimedia information are multimedia information for the same content but different in size, for example, two pictures with different sizes, where the two pictures show the same content, the size of the picture is the height and width of the picture, and the size of the video may be the height and width of any video frame in the video.
In the embodiment of the disclosure, the electronic device supports uploading of pictures in jpg, png, gif and other formats, and supports uploading of video formats such as dynamic image expert group (Moving Picture Experts Group, MPEG), audio video interleaving format (Audio Video Interleaved, AVI), MOV, advanced stream format (Advanced Streaming format, ASF), WMV (Windows Media Video), ASF (Advanced Streaming format) and the like.
Step S102, determining first multimedia information corresponding to the size of the target terminal equipment from at least one piece of multimedia information;
the method comprises the steps that multimedia information corresponding to different terminal equipment sizes is different, at least one terminal equipment model option is displayed on a web display page of electronic equipment, after the electronic equipment receives a target terminal equipment model selected by a user through the web display page, the target terminal equipment size corresponding to the target terminal equipment model is determined, and therefore first multimedia information corresponding to the target terminal equipment size is determined from the at least one multimedia information.
It will be appreciated that there may be two or more terminal device models corresponding to the same terminal device size, and that the present disclosure requires setting as many terminal device models as possible to cover as many terminal device sizes as possible.
Step S103, determining a target application program corresponding to the first multimedia information, and determining a first page display size of the target application program based on the size of target terminal equipment;
the web display page also displays at least one application program option, the electronic equipment receives the target application program selected by the user through the web display page, and the electronic equipment determines the first page display size of the target application program based on the size of the target terminal equipment, wherein the first page display size is the page display size of the target application program when the target terminal equipment operates the target application program.
It should be noted that the target terminal device is the terminal device indicated by the target terminal device model.
Step S104, processing the size of the first multimedia information based on the first page display size to obtain second multimedia information;
step S105, displaying the second multimedia information so that the second multimedia information which is presented by the target application program and matches the size of the target terminal device is pre-displayed.
The electronic equipment processes the size of the first multimedia information based on the display size of the first display page to obtain second multimedia information, wherein the size of the second multimedia information is smaller than or equal to the display size of the first page.
The electronic device displays the image of the target terminal device, the corresponding second multimedia information and the identifier (logo) of the target application program on the web display page, if the display size of the web display page of the electronic device is greater than or equal to the size of the target terminal device (for example, the screen size of a computer is generally greater than the screen size of a mobile phone), the image of the complete target terminal device and the corresponding second multimedia information can be displayed on the web display page, and if the display size of the web display page of the electronic device is smaller than the size of the target terminal device, the image of the target terminal device and the corresponding second multimedia information can not be completely and completely displayed, and a user can pull up or pull down the web display page to view the incompletely displayed part. It can be seen that the present disclosure may pre-display the second multimedia information that is presented by the target application and matches the size of the target terminal device, without running the target application on the target terminal device to display the second multimedia information, and may also display the display effect of the second multimedia information on the target terminal device to the user.
In this embodiment, after at least one piece of multimedia information is obtained, a first piece of multimedia information corresponding to a target terminal device size may be determined, and a target application program corresponding to the first piece of multimedia information may be determined, after a first page display size of the target application program is determined based on the target terminal device size, the size of the first piece of multimedia information may be processed based on the first page display size to obtain second pieces of multimedia information and display the second pieces of multimedia information, so that for any piece of second pieces of multimedia information matched with the target terminal device size, the target application program is not required to be applied to an actual terminal device to display the second pieces of multimedia information, and the second pieces of multimedia information matched with the target terminal device size presented by the target application program may be pre-displayed.
In this embodiment, the manner of determining the first multimedia information is specifically:
optionally, determining the first multimedia information corresponding to the size of the target terminal device from the at least one multimedia information includes:
acquiring a mapping relation between the size of preset multimedia information and the size of terminal equipment;
and determining first multimedia information corresponding to the size of the target terminal equipment from at least one piece of multimedia information based on the mapping relation.
In this embodiment, a mapping relationship between a preset size of one piece of multimedia information and one or more sizes of terminal devices is stored in the electronic device, based on the mapping relationship, the electronic device may determine, from at least one piece of multimedia information, first multimedia information corresponding to a size of a target terminal device, and if multimedia information corresponding to the size of the target terminal device cannot be found, the electronic device may prompt a user to upload multimedia information meeting a size requirement.
Further, in this embodiment, the multimedia information has different display modes, and the size processing mode of the multimedia information is different based on the different display modes.
Optionally, processing the size of the first multimedia information based on the first page display size to obtain the second multimedia information includes:
And based on the display size of the first page, performing at least one of amplification processing, shrinkage processing and clipping processing on the size of the first multimedia information according to a preset display mode to obtain second multimedia information.
Optionally, if the number of the first multimedia information is at least two, based on the first page display size, at least one of the enlarging process, the shrinking process and the clipping process is performed on the size of the first multimedia information according to the preset display mode, and after the second multimedia information is obtained, the method further includes:
when the ordering display triggering operation input by the user is detected, ordering at least two pieces of second multimedia information based on a preset ordering mode corresponding to the ordering display triggering operation;
displaying the second multimedia information, comprising:
and displaying the at least two sequenced second multimedia information.
In the embodiment of the present disclosure, the preset display manner includes any one of full-screen display, half-screen display, and half-screen advertisement (banner) display, or the preset display manner includes a combination of any one of full-screen display, half-screen display, and half-screen advertisement (banner) display with at least one of ordering display and open-screen display, specifically:
And (3) a step of: if the display mode of the preset value includes any one of full-screen display, half-screen display and half-screen advertisement (banner) display, the electronic device processes the size of the first multimedia information according to the preset display mode specifically as follows: the electronic equipment performs at least one of amplification treatment, shrinkage treatment and cutting treatment on the first multimedia information according to a preset display mode, so as to obtain second multimedia information;
2. if the display mode of the preset value includes any one of full screen display, half screen display and half screen band bar display and sorting display, the sorting display indicates that the second multimedia information corresponding to all types of terminal devices are sorted and displayed, the electronic device takes at least two types of terminal devices as the target terminal devices respectively, and repeatedly executes steps S102 to S104, so that the second multimedia information corresponding to all types of terminal devices respectively is obtained, the number of the second multimedia information is at least two, when the electronic device detects the sorting display triggering operation input by the user, the electronic device can sort at least two second multimedia information and the images of the corresponding terminal devices according to the preset sorting mode corresponding to the triggering operation, and display the sorted second multimedia information and the images of the corresponding terminal devices, so that the second multimedia information which is presented by the target application program and is matched with the sizes of all the terminal devices can be pre-displayed through the web display page.
The display effect of this embodiment may refer to fig. 2 (g), where the display size of the web display page of the electronic device is limited, if the number of second multimedia information that matches the sizes of all terminal devices to be displayed is too large, it may not be possible to completely display the images of all terminal devices and the corresponding second multimedia information on the web display page, and the user may pull up or pull down the web display page to view the images of the terminal devices and the second multimedia information that are not displayed.
Thirdly,: if the preset display mode comprises open screen display.
If the preset display mode comprises open screen display, displaying the second multimedia information by open screen display when displaying the second multimedia information, and specifically:
optionally, the second multimedia information is video, and displaying the second multimedia information includes:
playing the video on an open screen interface of the target application program;
when the playing time of the video reaches a preset playing time threshold, continuing to play the video on the first page of the target application program from the next video frame of the video frame at the played time point corresponding to the playing time.
In this embodiment, if the multimedia information is video, the electronic device may play the video in two different manners, one manner: when the multimedia information is displayed through the target application program, the video can be played after the application program is opened to enter the application program home page, and the mode II is as follows: when the playing time of the video reaches a preset playing time threshold (the preset playing time threshold is the screen opening time), entering a home page of the application program, continuing to play the video on the home page of the application program from the next frame of the video frame at the played time point corresponding to the playing time in the video, for example, for 10s of the video, playing the video of the previous 3s on the screen opening interface, and continuing to play the video of the 3 rd to 7s on the home page of the application program after entering the home page of the application program. The two modes can be different default settings based on the application program, and can be the display mode of which the user actively selects any mode as the preset mode.
In this embodiment, the screen opening interface refers to an interface that the terminal device displays to the user before the terminal device opens the application program and enters the application program home page, where the display time of the screen opening interface is limited, the screen opening time is preset by the terminal device, and may be 3s, 5s, 7s or 10s, etc., and the application program home page is entered after the screen opening time is over.
In this embodiment, the open screen presentation generally presents the video in combination with any one of a full screen presentation, a half screen with advertisement (banner) presentation.
The method and the device can continuously play the content which is not played on the screen opening interface after the screen opening time is finished, and can meet the requirement that a user watches the content displayed on the complete screen opening interface.
Further, if the content information cannot be displayed after being cut, so as to affect adjustment of the content information by a user, based on the adjustment, in order to solve the problem, the disclosure proposes the following scheme:
optionally, if the processing the size of the first multimedia information includes clipping the size of the first multimedia information, displaying the second multimedia information includes:
displaying the second multimedia information in a first display area of the web display page;
And displaying the clipped multimedia information in the first multimedia information in a second display area of the web display page.
For the multimedia information actually displayed on the terminal device, the multimedia information may be the clipped multimedia information, so for the second multimedia information which is displayed on the web display page and matches with the size of any terminal device (may be the size of the target terminal device), the second multimedia information is likely to be clipped by the first multimedia information, the clipped part in the first multimedia information can be displayed in the second display area of the web display page, and for the second multimedia information, the first display area of the web display page is displayed, and the first display area is the display area of the image of the terminal device on the web display page.
Furthermore, for the multimedia information actually displayed on the terminal device, the mask may be the multimedia information added with the mask special effect, the mask is a visual auxiliary tool, the picture of the mask area may be covered by the multimedia information or cut, and for the first multimedia information added with the mask special effect in the disclosure, when the processed second multimedia information and the cut part are displayed, the covered mask picture in the mask area is displayed, so that the user can conveniently view the covered mask picture, and the user can conveniently and well adjust the display effect of the multimedia information.
In this embodiment, the electronic device may display the cut portion in the multimedia information, and the user may adjust the cut portion based on the complete multimedia information, so as to enhance the display effect of the multimedia information, and meanwhile, the electronic device may also display the mask picture, where important information may exist on the mask picture, so that displaying the mask picture to the user may avoid cutting the important information in the mask picture when the user adjusts the multimedia information, and is also beneficial to enhancing the display effect of the multimedia information.
Optionally, after the second multimedia information is displayed, the method further includes:
when detecting a selection operation of a user for a target display mode in at least one display mode, processing the size of the second multimedia information according to the first page display size based on the selection operation;
and displaying the processed second multimedia information.
In this embodiment, after the second multimedia information is displayed, if the user wants to view the display effect of the second multimedia information when the second multimedia information is displayed in other display modes except the preset display mode, when the electronic device detects the selection operation of the user for the target display mode in at least one display mode, the electronic device may process the size of the second multimedia information according to the first page display size based on the selection operation to obtain the processed second multimedia information, and display the processed second multimedia information on the web display page.
In this embodiment, the specific content included in at least one display manner may refer to the content included in the preset display manner, which is not described herein again, and the manner of processing the size of the second multimedia information according to the display size of the first page may refer to the manner of processing the first multimedia information according to the preset display manner, which is not described herein again.
Based on the above description of the embodiments of the present disclosure, a detailed description of aspects of the present disclosure is provided below in conjunction with the drawings.
As shown in fig. 2 (a), a file uploading area is displayed on the web display page, and a user can drag a file corresponding to the multimedia information to the file uploading area in the drawing or select a corresponding file from a database of the device after clicking to upload, so that the file can be uploaded.
The web display page is also provided with a drop-down selection frame of the application program, and the default initial application program is application program A; a drop-down selection box of a display mode, wherein the current display mode defaults to full-screen display; a drop-down selection box of terminal equipment model (currently in a custom state, i.e. a specific terminal equipment model has not been selected yet); aiming at a user-defined size area of the terminal equipment size, a user can input the user-defined width and height, or can select any terminal equipment model in a pulldown selection frame of the terminal equipment model, after the terminal equipment model is fixed, the width and the height in the user-defined size area are changed into the width and the height corresponding to the terminal equipment model, namely the width and the height are also fixed; and displaying the sorting display control, a selection frame for displaying the cut part and a selection frame for displaying the mask in the web display page, wherein dragging the selection frame to the right is to confirm displaying the cut part and confirming displaying the mask.
As shown in fig. 2 (B), the electronic device may receive a selection operation of a user on any one of terminal device types a to E displayed in a pulldown selection box of terminal device types, the user may select the terminal device type B, and after the selection, the terminal device size in the user-defined size area becomes a width and a height corresponding to the terminal device type B; as shown in fig. 2 (c), the electronic device may receive a selection operation of any one of the application programs a to F shown in the dropdown selection frame of the application program by the user; as shown in fig. 2 (d), the drop-down selection boxes of the display modes include a half-screen display, a half-screen band bar display and an open-screen display, and a user can select any display mode.
As shown in fig. 2 (e), in order to show the effect of a certain picture shown by the electronic device in the disclosure when the picture is shown on the iphone6 plus or the iphone7 plus or the iphone8 plus in a half-screen display manner through the application program B, an image of the iphone6 plus or the iphone7 plus or the iphone8 plus, a corresponding picture, a cut-out portion, and logo of the application program B are shown on the web showing page, at this time, the size of the terminal device is changed to be a fixed size 667pm×375pm, the logo of the application program is shown at the bottom of the image of the terminal device, and the user drags the selection frame rightward to select to display the cut-out portion, where the cut-out portion is shown outside the image of the terminal device.
On the basis of fig. 2 (e), as shown in fig. 2 (f), the user may drag the selection box further to the right to select and display the mask, and then the mask is displayed in a superimposed manner on the basis of the original picture.
As shown in fig. 2 (g), the application program is application program B, the display mode is full-screen display, when the electronic device detects the triggering operation of the user on the sequencing display control, the electronic device pre-displays the display effect when the pictures are displayed on the terminal devices a to E in a full-screen display mode through the application program B, the images of the terminal devices a to E, the corresponding pictures and the logo of the application program B are displayed on the web display page, and the web display page is limited in size, so that the images of the terminal device E and the corresponding pictures can be displayed by sliding the web display page upwards (or pulling the web display page downwards by a mouse).
Fig. 3 is a schematic structural diagram of a display device for multimedia information of the present disclosure, where the device includes:
an obtaining module 301, configured to obtain at least one piece of multimedia information, where the at least one piece of multimedia information is multimedia information with different sizes for the same content;
a first determining module 302, configured to determine, from at least one piece of multimedia information, first multimedia information corresponding to a size of a target terminal device;
A second determining module 303, configured to determine a target application corresponding to the first multimedia information, and determine a first page display size of the target application based on a size of the target terminal device;
the first processing module 304 is configured to process the size of the first multimedia information based on the first page display size, to obtain second multimedia information;
the first display module 305 is configured to display the second multimedia information so that the second multimedia information that matches the size of the target terminal device and is presented by the target application program is displayed in advance.
Optionally, the first determining module 302 is specifically configured to:
acquiring a mapping relation between the size of preset multimedia information and the size of terminal equipment;
and determining first multimedia information corresponding to the size of the target terminal equipment from at least one piece of multimedia information based on the mapping relation.
Optionally, the first processing module 304 is specifically configured to:
and based on the display size of the first page, performing at least one of amplification processing, shrinkage processing and clipping processing on the size of the first multimedia information according to a preset display mode to obtain second multimedia information.
Optionally, if the processing of the size of the first multimedia information by the first processing module 304 includes clipping the size of the first multimedia information, the first display module 305 is specifically configured to:
Displaying the second multimedia information in a first display area of the web display page;
and displaying the clipped multimedia information in the first multimedia information in a second display area of the web display page.
Optionally, the device further includes a second processing module and a second display module, where after the first display module 305 displays the second multimedia information, the second processing module is configured to process, when detecting a selection operation of a user for a target display mode in at least one display mode, a size of the second multimedia information according to the first page display size based on the selection operation;
and the second display module is used for displaying the processed second multimedia information.
Optionally, the second multimedia information is video, and the first display module 305 is specifically configured to:
playing the video on an open screen interface of the target application program;
when the playing time of the video reaches a preset playing time threshold, continuing to play the video on the first page of the target application program from the next video frame of the video frame at the played time point corresponding to the playing time.
Optionally, if the number of the first multimedia information is at least two, the apparatus further includes a ranking module, where the first processing module 304 performs at least one of an enlarging process, a shrinking process and a clipping process on the size of the first multimedia information according to a preset display mode based on the first page display size, after obtaining the second multimedia information, the ranking module is configured to rank the at least two second multimedia information based on a preset ranking mode corresponding to the ranking display trigger operation when a ranking display trigger operation input by a user is detected;
The first displaying module 305 is specifically configured to display the ordered at least two second multimedia information.
Referring now to fig. 4, a schematic diagram of an electronic device 600 suitable for use in implementing embodiments of the present disclosure (e.g., the electronic device of fig. 1) is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 4 is merely an example and should not be construed to limit the functionality and scope of use of the disclosed embodiments.
An electronic device includes: a memory and a processor, where the processor may be referred to as a processing device 601 hereinafter, the memory may include at least one of a Read Only Memory (ROM) 602, a Random Access Memory (RAM) 603, and a storage device 608 hereinafter, as shown in detail below:
as shown in fig. 4, the electronic device 600 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 601, which may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 602 or a program loaded from a storage means 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic apparatus 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
In general, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touchpad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, and the like; an output device 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, magnetic tape, hard disk, etc.; and a communication device 609. The communication means 609 may allow the electronic device 600 to communicate with other devices wirelessly or by wire to exchange data. While fig. 4 shows an electronic device 600 having various means, it is to be understood that not all of the illustrated means are required to be implemented or provided. More or fewer devices may be implemented or provided instead.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a non-transitory computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via communication means 609, or from storage means 608, or from ROM 602. The above-described functions defined in the methods of the embodiments of the present disclosure are performed when the computer program is executed by the processing device 601.
It should be noted that the computer readable medium described in the present disclosure may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, fiber optic cables, RF (radio frequency), and the like, or any suitable combination of the foregoing.
In some implementations, the clients, servers may communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol ), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the internet (e.g., the internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed networks.
The computer readable medium may be contained in the electronic device; or may exist alone without being incorporated into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring at least one piece of multimedia information, wherein the at least one piece of multimedia information is multimedia information with different sizes aiming at the same content; determining first multimedia information corresponding to the size of the target terminal equipment from at least one piece of multimedia information; determining a target application program corresponding to the first multimedia information, and determining a first page display size of the target application program based on the size of target terminal equipment; processing the size of the first multimedia information based on the first page display size to obtain second multimedia information; the second multimedia information is presented such that the second multimedia information presented by the target application program matching the size of the target terminal device is pre-presented.
Computer program code for carrying out operations of the present disclosure may be written in one or more programming languages, including, but not limited to, an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules or units involved in the embodiments of the present disclosure may be implemented by means of software, or may be implemented by means of hardware. The name of a module or unit is not limited to the unit itself in some cases, and for example, the acquisition module may also be described as "a module that acquires at least one multimedia information".
The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: a Field Programmable Gate Array (FPGA), an Application Specific Integrated Circuit (ASIC), an Application Specific Standard Product (ASSP), a system on a chip (SOC), a Complex Programmable Logic Device (CPLD), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
One or more embodiments of the present disclosure provide a method for displaying multimedia information, including:
acquiring at least one piece of multimedia information, wherein the at least one piece of multimedia information is multimedia information with different sizes aiming at the same content;
determining first multimedia information corresponding to the size of the target terminal equipment from at least one piece of multimedia information;
determining a target application program corresponding to the first multimedia information, and determining a first page display size of the target application program based on the size of target terminal equipment;
processing the size of the first multimedia information based on the first page display size to obtain second multimedia information;
the second multimedia information is presented such that the second multimedia information presented by the target application program matching the size of the target terminal device is pre-presented.
Optionally, determining the first multimedia information corresponding to the size of the target terminal device from the at least one multimedia information includes:
acquiring a mapping relation between the size of preset multimedia information and the size of terminal equipment;
and determining first multimedia information corresponding to the size of the target terminal equipment from at least one piece of multimedia information based on the mapping relation.
Optionally, processing the size of the first multimedia information based on the first page display size to obtain the second multimedia information includes:
and based on the display size of the first page, performing at least one of amplification processing, shrinkage processing and clipping processing on the size of the first multimedia information according to a preset display mode to obtain second multimedia information.
Optionally, if the processing the size of the first multimedia information includes clipping the size of the first multimedia information, displaying the second multimedia information includes:
displaying the second multimedia information in a first display area of the web display page;
and displaying the clipped multimedia information in the first multimedia information in a second display area of the web display page.
Optionally, after the second multimedia information is displayed, the method further includes:
when detecting a selection operation of a user for a target display mode in at least one display mode, processing the size of the second multimedia information according to the first page display size based on the selection operation;
and displaying the processed second multimedia information.
Optionally, the second multimedia information is video, and displaying the second multimedia information includes:
Playing the video on an open screen interface of the target application program;
when the playing time of the video reaches a preset playing time threshold, continuing to play the video on the first page of the target application program from the next video frame of the video frame at the played time point corresponding to the playing time.
Optionally, if the number of the first multimedia information is at least two, based on the first page display size, at least one of the enlarging process, the shrinking process and the clipping process is performed on the size of the first multimedia information according to the preset display mode, and after the second multimedia information is obtained, the method further includes:
when the ordering display triggering operation input by the user is detected, ordering at least two pieces of second multimedia information based on a preset ordering mode corresponding to the ordering display triggering operation;
displaying the second multimedia information, comprising:
and displaying the at least two sequenced second multimedia information.
One or more embodiments of the present disclosure provide a multimedia information display apparatus, including:
the device comprises an acquisition module, a storage module and a storage module, wherein the acquisition module is used for acquiring at least one piece of multimedia information, wherein the at least one piece of multimedia information is multimedia information aiming at the same content and different in size;
A first determining module, configured to determine first multimedia information corresponding to a size of a target terminal device from at least one multimedia information;
the second determining module is used for determining a target application program corresponding to the first multimedia information and determining a first page display size of the target application program based on the size of target terminal equipment;
the first processing module is used for processing the size of the first multimedia information based on the first page display size to obtain second multimedia information;
and the first display module is used for displaying the second multimedia information so as to lead the second multimedia information which is presented by the target application program and matched with the size of the target terminal equipment to be displayed in advance.
Optionally, the first determining module is specifically configured to:
acquiring a mapping relation between the size of preset multimedia information and the size of terminal equipment;
and determining first multimedia information corresponding to the size of the target terminal equipment from at least one piece of multimedia information based on the mapping relation.
Optionally, the first processing module is specifically configured to:
and based on the display size of the first page, performing at least one of amplification processing, shrinkage processing and clipping processing on the size of the first multimedia information according to a preset display mode to obtain second multimedia information.
Optionally, if the processing of the size of the first multimedia information by the first processing module includes clipping the size of the first multimedia information, the first display module is specifically configured to:
displaying the second multimedia information in a first display area of the web display page;
and displaying the clipped multimedia information in the first multimedia information in a second display area of the web display page.
Optionally, the device further includes a second processing module and a second display module, where after the first display module displays the second multimedia information, the second processing module is configured to process, when detecting a selection operation of a user for a target display mode in at least one display mode, a size of the second multimedia information according to a first page display size based on the selection operation;
and the second display module is used for displaying the processed second multimedia information.
Optionally, the second multimedia information is video, and the first display module is specifically configured to:
playing the video on an open screen interface of the target application program;
when the playing time of the video reaches a preset playing time threshold, continuing to play the video on the first page of the target application program from the next video frame of the video frame at the played time point corresponding to the playing time.
Optionally, if the number of the first multimedia information is at least two, the apparatus further includes a ranking module, where the first processing module performs at least one of enlarging, shrinking and clipping on the size of the first multimedia information according to a preset display mode based on the first page display size, and after obtaining the second multimedia information, the ranking module is configured to rank the at least two second multimedia information based on a preset ranking mode corresponding to the ranking display trigger operation when a ranking display trigger operation input by a user is detected;
the first display module is specifically configured to display the at least two sorted second multimedia information.
The foregoing description is only of the preferred embodiments of the present disclosure and description of the principles of the technology being employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in this disclosure is not limited to the specific combinations of features described above, but also covers other embodiments which may be formed by any combination of features described above or equivalents thereof without departing from the spirit of the disclosure. Such as those described above, are mutually substituted with the technical features having similar functions disclosed in the present disclosure (but not limited thereto).
Moreover, although operations are depicted in a particular order, this should not be understood as requiring that such operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Likewise, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features that are described in the context of separate embodiments can also be implemented in combination in a single embodiment. Conversely, various features that are described in the context of a single embodiment can also be implemented in multiple embodiments separately or in any suitable subcombination.
Although the subject matter has been described in language specific to structural features and/or methodological acts, it is to be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are example forms of implementing the claims.