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 are shown in the 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 rather are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the 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. Moreover, 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 "include" and variations thereof as used herein are 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". Relevant definitions for other terms will be given in the following description.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing the devices, modules or units, and are not used for limiting the devices, modules or units to be different devices, modules or units, and also for limiting the sequence or interdependence relationship of the functions executed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The content information displayed on the terminal devices with different sizes at present mainly has the following problems:
1. there may be omission of one or more sizes of terminal equipment that cannot cover all sizes of terminal equipment;
2. the user operation is complex, and the realization difficulty is high;
3. if the content information is cut, the cut 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 influenced.
To solve the above problem, referring to fig. 1, the present disclosure provides a method for displaying multimedia information, where the method is specifically executed by an electronic device, where the electronic device may be a terminal device, and the terminal device may be a desktop device or a mobile terminal, and the method includes:
step S101, at least one piece of multimedia information is obtained, 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 piece of multimedia information is one, the multimedia information is received by the electronic device, input by a user, or sent by another device; more likely, the number of the at least one multimedia message is two or more, and the two or more multimedia messages may be multimedia messages received by the electronic device, input by the user, or sent by other devices, or two or more multimedia messages with different sizes obtained by processing the size of the multimedia message after the electronic device receives one multimedia message input by the user or sent by other devices.
In this embodiment, the multimedia information may be a video, a picture, and the like, the two or more multimedia information are multimedia information for the same content but with different sizes, for example, two pictures with different sizes show the same content, the sizes of the pictures are 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 present disclosure, the electronic device supports uploading pictures in the formats of jpg, png, gif, and the like, and supports uploading video formats such as Moving Picture Experts Group (MPEG), Audio video interleaved format (AVI), MOV, Advanced Streaming Format (ASF), wmv (windows media video), and ASF (Advanced Streaming format).
Step S102, determining first multimedia information corresponding to the size of target terminal equipment from at least one piece of multimedia information;
the method comprises the steps that the multimedia information corresponding to different terminal equipment sizes is different, at least one option of the terminal equipment model is displayed on a web display page of the electronic equipment, the electronic equipment receives a target terminal equipment model selected by a user through the web display page, and then the target terminal equipment size corresponding to the target terminal equipment model is determined, so that first multimedia information corresponding to the target terminal equipment size is determined from the at least one piece of multimedia information.
It is understood that there may be two or more terminal device models corresponding to the same terminal device size, and 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 the target terminal equipment;
the electronic device determines a first page display size of the target application program based on the size of the target terminal device, wherein the first page display size is the page display size of the target application program when the target terminal device runs the target application program.
It should be noted that the target terminal device is the terminal device indicated by the model of the target terminal device.
Step S104, processing the size of the first multimedia information based on the first page display size to obtain second multimedia information;
and step S105, presenting the second multimedia information so as to pre-present the second multimedia information which is presented through the target application program and is matched with the size of the target terminal equipment.
The electronic equipment processes the size of the first multimedia information to obtain second multimedia information based on the display size of the first display page, 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 larger than or equal to the size of the target terminal device (for example, the size of a computer screen is generally larger than that of a mobile phone screen), the image of the target terminal device and the corresponding second multimedia information can be displayed completely on the web display page, if the display size of the web display page of the electronic device is smaller than that of the target terminal device, the image of the target terminal device and the corresponding second multimedia information may not be displayed completely, and a user can pull up or pull down the web display page to view the part which is not displayed completely. Therefore, the second multimedia information which is presented through the target application program and is matched with the size of the target terminal equipment can be pre-displayed, the target application program does not need to be operated on the target terminal equipment to display the second multimedia information, and the display effect of the second multimedia information on the target terminal equipment can also be displayed for a user.
In this embodiment, after obtaining at least one piece of multimedia information, a first piece of multimedia information corresponding to the size of a target terminal device may be determined, a target application corresponding to the first piece of multimedia information may be determined, after a first page display size of the target application is determined based on the size of the target terminal device, the size of the first piece of multimedia information may be processed based on the first page display size to obtain a second piece of multimedia information, and the second piece of multimedia information may be displayed, so that for any second piece of multimedia information matching the size of the target terminal device, it is not necessary to apply the target application to display the second piece of multimedia information on an actual terminal device, and it is also possible to pre-display the second piece of multimedia information matching the size of the target terminal device, which is presented by the target application, with respect to the omission of terminal devices of one or more sizes that may exist, the method and the device can cover all sizes of the terminal equipment as much as possible, so that the multimedia information corresponding to all sizes of the terminal equipment is displayed on the electronic equipment, the corresponding multimedia information can be adjusted conveniently, meanwhile, a user does not need to check the display effect of the multimedia information on the terminal equipment with all sizes, the complexity of user operation is simplified, and the difficulty in displaying second multimedia information corresponding to all sizes of the terminal equipment is reduced.
In this embodiment, the manner of determining the first multimedia information specifically includes:
optionally, determining first multimedia information corresponding to the size of the target terminal device from the at least one piece of 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 the at least one piece of multimedia information based on the mapping relation.
In this embodiment, the electronic device stores a mapping relationship between a preset size of one piece of multimedia information and one or more terminal device sizes, and 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 the multimedia information corresponding to the size of the target terminal device cannot be found, the electronic device may prompt a user to upload the multimedia information meeting the size requirement.
Further, in this embodiment, the multimedia information has different presentation manners, and the size processing manner for the multimedia information is different based on the different presentation manners.
Optionally, processing the size of the first multimedia information based on the first page display size to obtain second multimedia information, including:
and based on the first page display size, performing at least one of amplification processing, reduction processing and cutting 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 an enlargement process, a reduction process, and a clipping process is performed on the size of the first multimedia information according to a preset display mode, so as to obtain second multimedia information, where the method further includes:
when the sequencing display triggering operation input by the user is detected, sequencing at least two pieces of second multimedia information based on a preset sequencing mode corresponding to the sequencing display triggering operation;
and displaying second multimedia information, comprising:
and displaying the sequenced at least two pieces of second multimedia information.
In this embodiment of the present disclosure, the preset display mode includes any one of full-screen display, half-screen display, and half-screen advertisement (banner) display, or the preset display mode includes a combination of any one of full-screen display, half-screen display, and half-screen advertisement (banner) display and at least one of sort display and open-screen display, specifically:
firstly, the method comprises the following steps: 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 specifically processes the size of the first multimedia information according to the preset display mode as follows: the electronic equipment performs at least one of amplification processing, reduction processing and cutting processing on the first multimedia information according to a preset display mode, so as to obtain second multimedia information;
secondly, if the display mode of the preset value comprises any one of full-screen display, half-screen display and half-screen band banner display and sequencing display, and the sequencing display represents sequencing display of second multimedia information corresponding to terminal devices of all models, the electronic device takes the terminal devices of at least two models as the target terminal devices respectively, the steps S102 to S104 are repeatedly executed, so that the second multimedia information corresponding to the terminal devices of all models respectively is obtained, the number of the second multimedia information is also at least two, when the electronic device detects the sequencing display triggering operation input by the user, the electronic device can sequence the at least two second multimedia information and the images of the corresponding terminal devices according to the preset sequencing mode corresponding to the triggering operation, and display the sequenced second multimedia information and the images of the corresponding terminal devices, so that the images displayed by the target application program can be pre-displayed through a web display page, And the second multimedia information is matched with the sizes of all the terminal devices.
The display effect of this embodiment can be seen with reference to fig. 2(g), the display size of the web display page of the electronic device is limited, if the amount of the second multimedia information that needs to be displayed and matches with the sizes of all the terminal devices is too large, the images of all the terminal devices and the corresponding second multimedia information may not be completely displayed 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, the method comprises the following steps: and if the preset display mode comprises screen-opening display.
If the preset display mode comprises screen-opening display, displaying the second multimedia information in a screen-opening display mode, specifically:
optionally, the second multimedia information is a video, and the displaying of the second multimedia information includes:
playing a video on a screen opening interface of a target application program;
and when the playing time of the video reaches a preset playing time threshold, continuously playing the video on the next video frame of the video frames at the playing time point corresponding to the playing time in the slave video on the home page of the target application program.
In this embodiment, if the multimedia information is a video, the electronic device may play the video in two different manners, one manner is: when the multimedia information is displayed through the target application program, the video can be played after the application program is opened and the application program enters the home page of the application program, and the method II comprises the following steps: the method comprises the steps that after an application program is opened, a video is played on a screen opening interface, when the playing time of the video reaches a preset playing time threshold (the preset playing time threshold is screen opening time), a home page of the application program is entered, the electronic equipment continues to play the video from a next frame of a video frame at a playing time point corresponding to the playing time in the video on the home page of the application program, for example, for 10s of video, the video of the first 3s is played on the screen opening interface, and after the video enters the home page of the application program, the videos of the 3 rd to 7 th s are continuously played on the home page of the application program. The two modes can be different default settings based on the application program, and either mode can be actively selected by the user as a preset display mode.
In this embodiment, the opening of the screen interface refers to that before the terminal device opens the application program and enters the application program home page, the terminal device displays the interface to the user, the display time of the opening of the screen interface is the screen opening time, the screen opening time is limited, the screen opening time is generally preset by the terminal device and can be 3s, 5s, 7s, 10s, or the like, and the terminal device enters the application program home page after the screen opening time is finished.
In this embodiment, the open screen display generally combines any one of a full screen display, a half screen display, and a half screen advertisement (banner) display to display the video together.
The method and the device can continue to play the content which is not played on the screen-opening interface after the screen-opening time is over, and can meet the requirement of a user on watching the content displayed on the complete screen-opening interface.
Further, as above, the cut content information cannot show complete content information, so as to affect the adjustment of the user on the content information, based on this, in order to solve the problem, the present disclosure provides the following scheme:
optionally, if the processing of the size of the first multimedia information includes performing a clipping process on the size of the first multimedia information, displaying the second multimedia information, including:
displaying second multimedia information in a first display area of the web display page;
and displaying the cut multimedia information in the first multimedia information in a second display area of the web display page.
The multimedia information actually displayed on the terminal device may be clipped multimedia information, and therefore, for the second multimedia information displayed on the web display page and matching with any terminal device size (which may be a target terminal device size), the second multimedia information is likely to be clipped by the first multimedia information.
Furthermore, for the multimedia information actually displayed on the terminal device, it may be the multimedia information added with the mask special effect, the mask is a visual aid, and the picture of the mask area may be covered or cut by the multimedia information, whereas in the present disclosure, for the first multimedia information added with the mask special effect, when the processed second multimedia information and the cut part of the first multimedia information are displayed, the covered mask picture in the mask area is displayed, so that the user can view the covered mask picture, and the user can better adjust the display effect of the multimedia information.
In this embodiment, the cut part of the multimedia information can be displayed on the electronic device, so that the user can adjust the display effect of the multimedia information based on the complete multimedia information, meanwhile, the mask picture can be displayed on the electronic device, important information may exist on the mask picture, the user can be prevented from cutting the important information in the mask picture when the user adjusts the multimedia information by displaying the mask picture, and the display effect of the multimedia information can be enhanced.
Optionally, after the second multimedia information is displayed, the method further includes:
when the selection operation of a user for a target display mode in at least one display mode is detected, 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 a display effect of the second multimedia information when the second multimedia information is displayed in other display manners besides the preset display manner, when the electronic device detects a selection operation of the user for a target display manner in at least one display manner, the size of the second multimedia information may be processed according to the display size of the first page based on the selection operation to obtain the processed second multimedia information, and the processed second multimedia information is displayed on the web display page.
In this embodiment, the specific content included in the at least one presentation mode may refer to the content included in the preset presentation mode, and is not described herein again, and the method for processing the size of the second multimedia information according to the first page presentation size may refer to the method for processing the first multimedia information according to the preset presentation mode, and is not described herein again specifically.
Based on the above description of the embodiments of the present disclosure, the following detailed description will be made with reference to the accompanying drawings.
As shown in fig. 2(a), a file upload area is displayed on the web display page, and a user can drag a file corresponding to the multimedia information to the file upload area in the drawing or click to upload the file and then select a corresponding file from a database of the device to upload the file.
A pull-down selection frame of an application program is also displayed on the web display page, and the default initial application program is the application program A; a drop-down selection box of the display mode, wherein the current display mode is displayed in a full screen as a default; a dropdown selection box of the terminal equipment model (the current state is a self-defined state, namely a specific terminal equipment model is not selected yet); aiming at a user-defined size area of the size of the terminal equipment, a user can input the user-defined width and height, and can also select any terminal equipment model from a dropdown selection box of the terminal equipment model, and after the terminal equipment model is fixed, the width and height in the user-defined size area are changed into the width and height corresponding to the terminal equipment model, namely the width and height are also fixed; and the web display page also displays a sequencing display control, a selection frame for displaying the cut-off part and a selection frame for displaying the mask, and dragging the selection frame to the right is to confirm that the cut-off part and the mask are displayed.
As shown in fig. 2(B), the electronic device may receive a selection operation of a user on any one of the terminal device models a to E displayed in the dropdown selection box of the terminal device model, the user may select the terminal device model B, and the terminal device size in the user-defined size region is changed to the width and height corresponding to the terminal device model B after the user selects; as shown in fig. 2(c), the electronic device may receive a selection operation of a user on any one of the application programs a to F shown in the dropdown selection box of the application program; as shown in fig. 2(d), the dropdown selection frame of the display mode includes a half-screen display, a half-screen banner display, and an open-screen display, and the user can select any display mode.
As shown in fig. 2(e), for the display effect of the electronic device in the present disclosure when a certain picture is displayed in a half-screen display manner on iphone6 plus, iphone7 plus or iphone8 plus through an application B, an image of iphone6 plus, iphone7 plus or iphone8 plus, a corresponding picture, a cut-down portion, and a logol of the application B are displayed on a web display page, at this time, the size of the terminal device is changed to a fixed size 667pm 375pm, the application logol is displayed at the bottom of the terminal device image, and the user drags a selection frame to the right to select and display the cut-down portion, which is displayed outside the terminal device image.
On the basis of fig. 2(e), as shown in fig. 2(f), the user can further drag the selection frame to the right to select to display the mask, and the mask picture is displayed in an overlapping manner on the basis of the original picture.
As shown in fig. 2(g), the application is an application B, the display mode is full-screen display, when the electronic device detects a trigger operation of a user on the sequencing display control, the electronic device pre-displays a display effect when the pictures are displayed on the terminal devices a to E in a full-screen display mode through the application B, the images of the terminal devices a to E, the corresponding pictures and the logol of the application B are displayed on the web display page, and because the size of the web display page is limited, the image of the terminal device E and the corresponding pictures can be displayed by sliding the web display page (or mouse pull-down web display page) upwards.
Fig. 3 is a schematic structural diagram of a multimedia information display apparatus according to the present disclosure, the apparatus including:
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 a 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 the size of the target terminal device;
a first processing module 304, configured to process the size of the first multimedia information based on the first page display size to obtain second multimedia information;
and a first presentation module 305 for presenting the second multimedia information so that the second multimedia information which is presented by the target application and matches the size of the target terminal device is pre-presented.
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 the 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 first page display size, performing at least one of amplification processing, reduction processing and cutting 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 performing a clipping process on the size of the first multimedia information, the first displaying module 305 is specifically configured to:
displaying second multimedia information in a first display area of the web display page;
and displaying the cut multimedia information in the first multimedia information in a second display area of the web display page.
Optionally, the apparatus further includes a second processing module and a second presentation module, where after the first presentation module 305 presents the second multimedia information, the second processing module is configured to, when a selection operation of a user for a target presentation mode in at least one presentation mode is detected, process a size of the second multimedia information according to the first page presentation 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 a video, and the first presentation module 305 is specifically configured to:
playing a video on a screen opening interface of a target application program;
and when the playing time of the video reaches a preset playing time threshold, continuously playing the video on the next video frame of the video frames at the playing time point corresponding to the playing time in the slave video on the home page of the target application program.
Optionally, if the number of the first multimedia information is at least two, the apparatus further includes a sorting module, after the first processing module 304 performs at least one of an enlargement processing, a reduction processing, and a cutting processing on the size of the first multimedia information according to a preset display mode based on the first page display size to obtain the second multimedia information, the sorting module is configured to sort the at least two second multimedia information based on a predetermined sorting mode corresponding to a sorting display trigger operation when detecting the sorting display trigger operation input by the user;
the first displaying module 305 is specifically configured to display at least two sorted second multimedia information.
Referring now to FIG. 4, a schematic diagram of an electronic device (e.g., the electronic device of FIG. 1) 600 suitable for use in implementing embodiments of the present disclosure 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., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
The electronic device includes: a memory and a processor, wherein the processor may be referred to as the processing device 601 hereinafter, and 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, which are specifically shown as follows:
as shown in fig. 4, electronic device 600 may include a processing means (e.g., central processing unit, graphics processor, etc.) 601 that may perform various appropriate actions and processes in accordance with 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 necessary 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 via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
Generally, the following devices may be connected to the I/O interface 605: input devices 606 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 607 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 608 including, for example, 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 illustrates an electronic device 600 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication means 609, or may be installed from the storage means 608, or may be installed from the ROM 602. The computer program, when executed by the processing device 601, performs the above-described functions defined in the methods of the embodiments of the present disclosure.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples 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 present 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 contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A 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, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, 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 communications 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 network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled 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 the target terminal equipment; processing the size of the first multimedia information based on the first page display size to obtain second multimedia information; and presenting the second multimedia information so as to pre-present the second multimedia information which is presented by the target application program and is matched with the size of the target terminal equipment.
Computer program code for carrying out operations for the present disclosure may be written in any combination of 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 type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart 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 described in the embodiments of the present disclosure may be implemented by software or hardware. The name of a module or a unit does not in some cases constitute a limitation of the unit itself, for example, the acquiring module may also be described as a "module for acquiring at least one multimedia message".
The functions described herein above 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: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), 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. A 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 the target terminal equipment;
processing the size of the first multimedia information based on the first page display size to obtain second multimedia information;
and presenting the second multimedia information so as to pre-present the second multimedia information which is presented by the target application program and is matched with the size of the target terminal equipment.
Optionally, determining first multimedia information corresponding to the size of the target terminal device from the at least one piece of 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 the 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 second multimedia information, including:
and based on the first page display size, performing at least one of amplification processing, reduction processing and cutting 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 includes performing a clipping process on the size of the first multimedia information, displaying the second multimedia information, including:
displaying second multimedia information in a first display area of the web display page;
and displaying the cut 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 the selection operation of a user for a target display mode in at least one display mode is detected, 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 a video, and the displaying of the second multimedia information includes:
playing a video on a screen opening interface of a target application program;
and when the playing time of the video reaches a preset playing time threshold, continuously playing the video on the next video frame of the video frames at the playing time point corresponding to the playing time in the slave video on the home page of the target application program.
Optionally, if the number of the first multimedia information is at least two, based on the first page display size, at least one of an enlargement process, a reduction process, and a clipping process is performed on the size of the first multimedia information according to a preset display mode, so as to obtain second multimedia information, where the method further includes:
when the sequencing display triggering operation input by the user is detected, sequencing at least two pieces of second multimedia information based on a preset sequencing mode corresponding to the sequencing display triggering operation;
and displaying second multimedia information, comprising:
and displaying the sequenced at least two pieces of 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 processing module and a display module, wherein the acquisition module is used for acquiring at least one piece of multimedia information, and the at least one piece of multimedia information is the multimedia information with different sizes aiming at the same content;
the first determining module is used for determining first multimedia information corresponding to the size of the target terminal equipment from at least one piece of 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 the 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 pre-display the second multimedia information which is presented by the target application program and is matched with the size of the target terminal equipment.
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 the 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 first page display size, performing at least one of amplification processing, reduction processing and cutting 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 performing cutting processing on the size of the first multimedia information, the first display module is specifically configured to:
displaying second multimedia information in a first display area of the web display page;
and displaying the cut multimedia information in the first multimedia information in a second display area of the web display page.
Optionally, the apparatus further includes a second processing module and a second presentation module, where after the first presentation module presents the second multimedia information, the second processing module is configured to, when a selection operation of a user for a target presentation mode in the at least one presentation mode is detected, process a size of the second multimedia information according to the first page presentation 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 a video, and the first display module is specifically configured to:
playing a video on a screen opening interface of a target application program;
and when the playing time of the video reaches a preset playing time threshold, continuously playing the video on the next video frame of the video frames at the playing time point corresponding to the playing time in the slave video on the home page of the target application program.
Optionally, if the number of the first multimedia information is at least two, the apparatus further includes a sorting module, after the first processing module performs at least one of an enlargement processing, a reduction processing, and a cutting processing on the size of the first multimedia information according to a preset display mode based on the first page display size to obtain the second multimedia information, the sorting module is configured to sort the at least two second multimedia information based on a predetermined sorting mode corresponding to a sorting display trigger operation when detecting the sorting display trigger operation input by the user;
and the first display module is specifically used for displaying the sequenced at least two pieces of second multimedia information.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the disclosure herein is not limited to the particular combination of features described above, but also encompasses other embodiments in which any combination of the features described above or their equivalents does not depart from the spirit of the disclosure. For example, the above features and (but not limited to) the features disclosed in this disclosure having similar functions are replaced with each other to form the technical solution.
Further, while 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. Under 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 limitations on the scope of the 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 disclosed as example forms of implementing the claims.