WO2020000291A1 - 一种媒体信息显示方法及媒体信息显示装置 - Google Patents

一种媒体信息显示方法及媒体信息显示装置 Download PDF

Info

Publication number
WO2020000291A1
WO2020000291A1 PCT/CN2018/093261 CN2018093261W WO2020000291A1 WO 2020000291 A1 WO2020000291 A1 WO 2020000291A1 CN 2018093261 W CN2018093261 W CN 2018093261W WO 2020000291 A1 WO2020000291 A1 WO 2020000291A1
Authority
WO
WIPO (PCT)
Prior art keywords
media information
split screen
split
screen
display
Prior art date
Application number
PCT/CN2018/093261
Other languages
English (en)
French (fr)
Inventor
曹秋枫
张中信
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to PCT/CN2018/093261 priority Critical patent/WO2020000291A1/zh
Priority to CN201880093131.5A priority patent/CN112075074A/zh
Publication of WO2020000291A1 publication Critical patent/WO2020000291A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • H04N5/775Interface circuits between an apparatus for recording and another apparatus between a recording apparatus and a television receiver
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N9/00Details of colour television systems
    • H04N9/12Picture reproducers
    • H04N9/31Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]

Definitions

  • the present application relates to the field of communications, and in particular, to a method and a device for displaying media information.
  • the commonly used protocols for projection screen technology include the Digital Living Network Alliance (DLNA) protocol, AirPlay protocol, and Miracast protocol.
  • the DLNA protocol is used as an example to describe the projection screen technology.
  • the DLNA protocol is intended to solve the problem of electronic smart devices.
  • the interconnection of digital media and content services enables unlimited sharing.
  • a terminal device such as a mobile phone or a tablet may push media information to another terminal device such as a television or an advertising machine for sharing, and the media information on the mobile phone is cast to the television as an example: when the system of the television receives the mobile phone ’s
  • a screen-casting connection request When a screen-casting connection request is made, it will first determine whether there is a screen-casting behavior between other mobile phones and the TV.
  • the screen-casting behavior of other mobile phones If the screen-casting behavior of other mobile phones is detected, it will notify the mobile phone that is currently screen-casting to disconnect and end the mobile phone. , Instead of handing over the initiative of the screen-casting behavior to the newly requested mobile phone, and displaying the multimedia information pushed by the new screen-casting mobile phone on the TV screen.
  • the screen of the TV can only play media information pushed by the new screen-to-screen mobile phone with preemptive rights.
  • This type of playback is easy to miss a lot of wonderful media information, which is far from meeting the needs of multiple people in family events or square events. .
  • the present application provides a media information display method and a media information display device, which can implement a multi-device multi-screen playback mode, can satisfy different playback needs of multiple people, and enhances the equipment experience applied to mass activities.
  • a first aspect of the present invention provides a method for displaying media information, including:
  • the first device receives a screen projection request sent by the second device, and the screen projection request is used to request that the media information pushed by the second device be displayed on the first device.
  • the first device may be a television or an advertising machine with a large screen.
  • the second device may be a mobile device such as a cell phone, tablet, or personal computer.
  • the screen casting request will trigger the first device to obtain the number of the first media information and the second media information, and compare the sum of the two with the preset maximum number of split screens, where the first media information is The media information to be displayed pushed by the second device, and the second media information is media information that has been displayed on the first device.
  • the score of the first device is determined according to the sum of the number of the first media information and the number of the second media information.
  • the screen mode and the split screen mode are used to indicate the number of divided screen areas and the specifications of each screen area.
  • the number of screen areas is equal to the sum of the number of the first media information and the number of the second media information.
  • the first device displays the first media information and the second media information in a plurality of split screen areas divided by the split screen method according to the determined split screen mode. It should be noted that the second media information is displayed on the first device.
  • the method is as follows: first, the first device determines the split screen mode according to the number of the second media information, and displays the second media information in the split screen area in the split screen mode, where the split screen area in the split screen mode The number should be equal to the number of the second media information. Then, when the first media information is added, the first device needs to re-determine the split screen mode according to the sum of the numbers of the first media information and the second media information.
  • This application determines how to properly display media information by judging the sum of the number of media information to be displayed and the displayed media information and the preset maximum split screen size, so that the display device can simultaneously display multiple device pushes Multiple media information, to achieve a multi-device multi-screen playback mode, which helps to disseminate a large amount of media information.
  • the method before the first device receives a screen projection request sent by a second device, the method further includes:
  • the first device sequentially decrements the preset value from N to 1 to obtain N number of split screens;
  • the first device divides a screen according to each number of split screens and obtains a corresponding split screen mode.
  • the set of split screen modes includes multiple split screens of N, split screens of N-1, and split screens of 1. Screen mode
  • the preset maximum number of multi-screens in this application is the upper limit of the multi-screen area displayed by the first device.
  • Each sub-screen number that is less than the maximum multi-screen has a corresponding multi-screen mode, corresponding to a different number of multi-screen areas. This method helps the first device quickly adjust the split-screen mode according to the number of media information, shortens the processing time, and improves the efficiency of the entire screen-casting process.
  • the first device stops the first The media information in the split screen area corresponding to a number is displayed, and the first device displays one or more of the first media information to be displayed in the split screen area corresponding to the first number, and then displays the remaining to be displayed Media information is displayed in the remaining split screen area.
  • the difference between the sum of the number of the first media information and the number of the second media information and the number of preset split screens is the number of the first number, that is, the number of media information that needs to be stopped, and Is the number of preemptions.
  • the defect of insufficient decoding capability of the first device can be solved by preemption, and the normal display.
  • a screen projection request after the first time point is rejected, and the first time point is when the number of received media information is equal to the preset value .
  • the method for displaying the media information by the first device may adopt the method of determining the split screen method according to the number of media information in this application, and when the number of received media information is greater than the preset number of split screens, certain inputs may be directly rejected.
  • the screen request to ensure the normal progress of the screen casting is beneficial to the normal work of the first device.
  • the first device performs After the first media information and the second media information are displayed in a screen area, the method further includes:
  • the first device If the first device receives the screen projection end request, the first device turns off the display of the media information corresponding to the screen projection end request;
  • the first device displays the remaining media information according to the split screen mode.
  • the first device when the first device receives a screen end request from another device, it will automatically decrement the number of divided screens, and readjust the divided screen mode based on the decremented divided screen number.
  • the divided screen area divided by the adjusted divided screen method The remaining media information is displayed inside.
  • the split screen mode of the first device can also be flexibly adjusted, which reflects the flexibility and practicability of the solution.
  • the method further includes:
  • the first device exits the projection mode.
  • the first device determines that the sum of the numbers of the first media information and the second media information is 0, it directly exits the screen projection mode, which can save a lot of system resources and reduce power consumption.
  • the determining the first number according to a priority rule includes:
  • the first number may be determined by a user designation or a series of priority rules, and the media information corresponding to the first number is to be Pre-empted media information and preset priority rules help improve the rationality of pre-emption methods.
  • the specification of the split screen area includes the size of the split screen area And location.
  • the size and position of the split screen area in this application can be reasonably set using a program, so that different types or different degrees of importance of media resources match their display resources, which helps to rationally allocate the screen of the first device and improve screen utilization .
  • a second aspect of the present invention provides a media information display device, including:
  • a receiving module configured to receive a screen projection request sent by a second device
  • a processing module configured to obtain the number of first media information and the number of second media information according to the screen-casting request, where the first media information is media information to be displayed pushed by a second device, and the second media The information is media information that has been displayed on the first device;
  • a processing module configured to, when the sum of the number of the first media information and the number of the second media information is less than or equal to a preset value, according to the number of the first media information and the number of the second media information
  • the sum of the numbers determines the split screen mode of the first device, where the split screen mode is used to indicate the number of divided split screen areas and the specifications of each split screen area, and the number of split screen areas is equal to the first A sum of the number of media information and the number of the second media information
  • a display module configured to display the first media information and the second media information in the split screen area according to the split screen mode.
  • the present application can simultaneously display multiple media information pushed by multiple devices through a receiving module, an acquisition module, a determining module, and a display module of the first device, so as to implement a multi-device and multi-screen playback mode, which is helpful for disseminating a large amount of media information.
  • the processing module is further configured to set a preset value N by receiving a user's instruction before the receiving module;
  • the processing module is further configured to sequentially decrease the preset value from N to 1 to obtain N divided screen numbers;
  • the processing module is further configured to divide the screen according to each number of split screens and obtain a corresponding split screen mode.
  • the set of split screen modes includes a number of split screens of N, a number of split screens of N-1 and a number of split screens of 1. Multiple split screen modes;
  • the processing module is further configured to separately number the split screen areas in each split screen mode.
  • each split screen number less than a preset value has a corresponding split screen method.
  • the split screen method can be directly called to divide the screen, shortening the processing time and improving This improves the efficiency of the entire screen-casting process.
  • the processing module is further configured to determine a first number according to a user instruction or a priority rule when a sum of the number of the first media information and the number of the second media information is greater than the preset value;
  • the processing module is further configured to stop displaying the media information in the split screen area corresponding to the first number
  • the display module is further configured to display the first media information in a split screen area corresponding to the first number.
  • a stop module and a display module may be used to resolve the defect of insufficient decoding capability of the first device through preemption. To ensure the normal display of the first device.
  • the receiving module is further configured to receive second media information pushed by a third device
  • the processing module is further configured to determine a corresponding split screen mode according to the number of the second media information when the number of the received media information is less than or equal to the preset value;
  • the display module is further configured to display the second media information in a split screen area according to the determined split screen mode, and the number of split screen areas in the determined split screen mode is equal to the second media information The number of
  • the processing module is configured to, when the number of received media information is greater than the preset value, reject a screen projection request after a first time point, where the first time point is the number of received media information When it is equal to the preset value.
  • the processing module is further configured to exit the projection mode when the sum of the number of the first media information and the number of the second media information is 0.
  • the exit module in the first device can make the first device directly exit the screen-casting mode when there is no screen-casting content, saving a lot of system resources and reducing power consumption.
  • the processing module is further configured to determine a first display duration of the media information in the first split screen area
  • the processing module is further configured to determine a second display duration of the media information in the second split screen area
  • the processing module is further configured to determine, according to the first display duration and the second display duration, that a number corresponding to a longer split screen area is a first number.
  • the preempted media information reflects the initiative of the user and the flexibility of the scheme.
  • the preset priority rules help improve the rationality of the preemption method.
  • the third aspect of the embodiments of the present application provides a computer program product containing instructions.
  • the computer program product runs on a computer, the computer causes the computer to execute the method for displaying media information as described in the first aspect of the embodiments of the present application.
  • a fourth aspect of the embodiments of the present application provides a computer-readable storage medium.
  • the computer-readable storage medium stores instructions, and when the computer-readable storage medium is run on a computer, the computer executes the media as described in the first aspect of the embodiment of the present application.
  • Information display method is described in the first aspect of the embodiment of the present application.
  • the first device is configured with multiple maximum screens and multiple screens obtained by sequentially decreasing the maximum screens.
  • the sum of the numbers of the first media information and the second media information is less than or equal to the maximum screens.
  • the first media information and the displayed second media information are all presented in multiple split screen areas under the determined split screen mode.
  • the first device can display multiple media information at the same time, among which multiple media information can come from multiple devices, so this solution can realize multi-device multi-screen playback mode, which can meet the different playback needs of multiple people, and enhances the mass application Active device experience.
  • FIG. 1 is a schematic diagram of a scene in which a mobile phone and a television perform screen casting behavior
  • FIG. 2 is a screen projection method in the prior art
  • FIG. 3 is a schematic diagram of an embodiment of a method for displaying media information according to an embodiment of the present application
  • FIG. 4 is a schematic flowchart of a method for displaying media information according to an embodiment of the present application
  • FIG. 5 is another schematic flowchart of a method for displaying media information according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a media information display device according to an embodiment of the present application.
  • the present application provides a method for displaying media information and a media information display device, which can simultaneously display multiple media information pushed by multiple devices, thereby achieving a multi-device multi-screen playback mode, satisfying different playback needs of multiple people, and enhancing applications.
  • Mobile screen projection can be divided into two methods: wired screen and wireless screen.
  • wired screen is connected to the mobile phone and TV through physical means such as data cable, and the contents of the mobile phone are displayed on the TV.
  • the wireless screen projection is to screen the content of the mobile phone to the screen projection device through a wireless connection method such as wireless fidelity (WI-FI) when the mobile phone and the screen projection device are in the same network.
  • WI-FI wireless fidelity
  • the mobile phone first establishes a connection with the TV, and then the mobile phone pushes the picture or video to be pushed to the TV through a screen-casting application, and the TV will The picture or video is displayed on its own display.
  • existing TVs and mobile phones can be installed with applications that support projection screen technology, so the mobile phone and TV can communicate through various protocols such as DNLA protocol, AirPlay protocol and Miracast protocol.
  • DNLA protocol DNLA protocol
  • AirPlay protocol Wireless Fidelity
  • Miracast protocol Miracast protocol
  • a mobile phone sends a screen-casting request to a screen-casting application through a Digital Living Network Alliance (DLNA) protocol;
  • DLNA Digital Living Network Alliance
  • the screen-casting application determines whether there is media information pushed by the B mobile phone on the television;
  • step 103 If there is media information pushed by the B mobile phone on the TV, the process proceeds to step 103; if there is no media information pushed by the B mobile phone, the process proceeds to 105;
  • the screen-casting application sends an end instruction to the television, and the end instruction is used to instruct the television to stop displaying the media information pushed by the mobile phone B.
  • the screen-casting application determines that the TV has media information pushed by the B-mobile phone, the screen-casting application sends an end instruction to the TV, the end instruction is used to instruct the TV to stop displaying the media information pushed by the B-mobile phone.
  • the screen-casting application disconnects the connection with the B mobile phone
  • the screen-casting application sends a screen-casting request response to A mobile phone
  • step 102 If the result determined in step 102 is that the TV does not have the media information pushed by mobile phone B, the screen-casting application directly sends a screen-casting request response to mobile phone A. If the result determined in step 102 is that the TV has the media message pushed by mobile phone B , Then steps 103 and 104 are executed in order, and after the screen-casting application disconnects from the mobile phone B, it will send a screen-casting request response to the mobile phone A to notify the mobile phone A to connect to the screen.
  • a phone pushes the media information to the screen-casting application
  • the screen-casting application displays the media information pushed by the A mobile phone on the television.
  • the DNLA protocol is used for a communication connection between a mobile phone and a television, and sends various requests and operation instructions to control the disconnection of the mobile phone from the television.
  • the DNLA application is the logical control center of the entire process. The most important role is to determine whether there is media information pushed by other devices on the current TV.
  • the role of the TV is to display media information such as pictures, music, and videos pushed by the user's mobile phone. This preemption mode of media information can only play a certain media resource pushed by a certain device, and cannot meet the multi-play requirements of the device.
  • the embodiment of the present application provides a media display method, which can display multiple media information pushed by multiple devices at the same time, so as to implement a multi-device multi-screen playback mode.
  • a schematic flowchart of a media display method according to an embodiment of the present application is shown in FIG. 3:
  • the first device receives a screen projection request sent by the second device.
  • the first device and the second device may be a wired connection or a wireless connection. To communicate through a wireless connection, the two devices must be in the same wireless local area network.
  • the purpose of the second device sending a screen projection request to the first device is to cause the first device to display the media information pushed by the second device.
  • the first device is usually a display device with a large screen, such as a home television, a commercial square television, and an advertising machine.
  • the second device may be a user's mobile phone, tablet, or personal computer, and generally has the advantages of being flexible, convenient, and easy to operate.
  • the embodiments of the present application do not limit the specific types of the first device and the second device.
  • the first device acquires the number of the first media information and the number of the second media information according to the screen casting request.
  • the first media information is the media information to be displayed pushed by the second device, and the second media information is the Media information displayed on the device;
  • the first media information in the embodiment of the present application refers to the media information to be displayed pushed by the second device
  • the second media information refers to the displayed media information pushed by the third device
  • the screen casting request will trigger the first device to determine The number of first media information and the number of second media information.
  • the second device and the third device in the embodiments of the present application may be a single number of mobile phones, tablets, or personal computers, or may be multiple mobile phones, tablets, or personal computers.
  • the number is not limited.
  • the number of media information pushed by the second device and the third device may be single or multiple, which is not limited herein.
  • a mobile phone wants to push video to the TV for display.
  • a mobile phone sends a screen projection request to the TV.
  • the screen projection request triggers the TV's DNLA application to count the number of videos displayed on the TV, and then adds The number of videos to be displayed corresponding to the screen projection request.
  • the first device adds 1 to the number of videos that have been displayed according to the corresponding screen projection request.
  • the first device adds m to the number of videos displayed.
  • multiple mobile phones (assuming y mobile phones) push video content to the TV, the first device requests the Add y to the number.
  • split-screen mode which is used to indicate the number of divided split-screen areas and the specifications of each split-screen area.
  • the number of split-screen areas is equal to the sum of the number of first media information and the number of second media information.
  • the TV When the TV receives a screen projection request from a mobile phone, it will count the sum of the media information to be displayed and the number of displayed media information corresponding to the screen projection request, and then judge the sum of the two numbers and the preset maximum split screen.
  • the number of split screens refers to how many split screen areas the device's screen is divided into. If it is determined that the sum of the two is less than or equal to the maximum number of split screens, then directly determine how many split screen regions the screen in the first device should be divided into, and the size and position of each split screen region based on the number of the two. . It should be noted that before this, the first device will set a series of split screen modes corresponding to different numbers of split screens.
  • the full screen of the first device can be Divided into 4 divided screen areas, the screen within the specified range can also be divided into 4 divided screen areas at the screen position designated by the first device, and the division method of full screen or non-full screen can be determined according to user instructions.
  • the first device displays the first media information and the second media information in the split screen area according to the split screen mode.
  • the first media information and the second media information are readjusted and displayed in each split screen area divided by the split screen mode.
  • the TV has displayed the media information pushed by other devices in the divided split screen area.
  • the method of selecting the split screen mode is also Determine the size of the media information to be displayed and the maximum number of split screens. Assume that before the A mobile phone is pushed, the media information to be displayed by other devices is 3, which is less than the maximum number of split screens of 5. Then, a split screen mode with a number of split screens of 3 is determined from the set of split screen modes. The screen is divided into three split screen areas, and then the three videos are displayed in the three split screen areas. After the display is successful, it becomes the second media information displayed in step 203. Then the first device detects a new When the video comes in, it will re-determine the split screen mode according to the newly requested video to be displayed and the number of videos that have been displayed.
  • the first device determines whether there is new media information access through the received screen casting request, and determines the sum of the number of the first media information and the number of the second media information and the maximum number of split screens, according to Choose different schemes to display media information in different situations.
  • the sum of the first media information and the second media information is less than the maximum number of split screens, all media information is displayed in a re-determined split screen mode.
  • Media information is displayed in a preemptive manner.
  • the method before the first device receives a screen projection request sent by the second device, the method further includes:
  • the system of the first device the TV
  • N split screen numbers can be obtained. Assuming that the maximum number of split screens N is 5, the number of split screens can be obtained in descending order.
  • Each split screen number has a corresponding split screen method, that is, how many split screen areas the screen is divided into, and The size and position of each split screen area, and each split screen area is numbered for selection.
  • FIG. 4 Another embodiment of the media information display method provided in this application is shown in FIG. 4,
  • a first device receives second media information pushed by a third device
  • the third device that pushed the second media information appears before the second device, that is, after the second media information pushed by the third device is successfully displayed on the first device, the first device then receives the media from the second device. information.
  • first and second appearing in the embodiments of the present application are only for distinguishing different devices, and do not represent specific timing relationships.
  • step 303 If the number of the received second media information is less than or equal to the preset value, the process proceeds to step 303, and if the number of the received second media information is greater than the preset value, the process proceeds to step 305.
  • the number of the second media information may be one or multiple, and the specific amount of the second media information is not limited herein.
  • the third device sends the second media information to the first device.
  • the second media information can be understood as the media information to be displayed. If the number of the second media information received by the first device is less than or equal to a preset maximum split screen Number, indicating that the number of media information is within the decoding capability of the first device at this time, so the split-screen method can be selected from the set of split-screen methods directly based on the number of second media information, and the selected method is based on the second media. The number of information determines the split screen mode, and the number of split screen areas included in the determined split screen mode should be the number of the second media information.
  • the determined split screen method should be A split-screen mode with 3 split-screen regions.
  • the three split-screen regions can be the same size or can be set to 3 split-screen regions of different sizes. If the split-screen regions are of different sizes, you can The degree of importance is flexible and determines that different videos are placed in split screen areas of different sizes.
  • the first device displays the second media information in the split screen area according to the determined split screen mode.
  • the number of the split screen areas included in the split screen mode is equal to the number of the second media information.
  • the first device If the number of received media information is greater than the maximum number of split screens, it means that the first device cannot display all the received multiple media information, so it is necessary to reject some screen casting behaviors.
  • the number of received media information is the maximum number of split screens, It indicates that the display capability of the first device has reached the upper limit. At this time, the first device will reject all screen projection requests after the first time point.
  • the first device receives a screen projection request sent by the second device.
  • step 306 is performed.
  • the first device obtains the number of the first media information and the number of the second media information according to the screen casting request.
  • the first media information is the media information to be displayed pushed by the second device, and the second media information is the Media information displayed on the device;
  • the first device can determine the number of the first media information according to the number of screen projection requests, and then the first device counts the sum of the first media information and the number of the displayed second media information.
  • step 309 is performed, and if the sum of the number of the first media information and the number of the second media information is greater than the preset value If yes, go to step 311.
  • the split screen mode is used to indicate the number of split screen areas and the specifications of each split screen area.
  • the number of split screen areas is equal to the sum of the number of the first media information and the number of the second media information;
  • step 303 is similar to step 303 (in the case where the number of received media information is less than the maximum number of split screens), but this step adds the first media information.
  • the split screen mode can be directly determined according to the number of media information.
  • the first device displays the first media information and the second media information in the split screen area according to the split screen mode.
  • the first number in the embodiment of the present application is Preempt the number of the sub-screen area where the video is located. This number can be selected by the user and then sent to the first device by an instruction with the first number. After the first device receives the user's instruction, the sub-screen area corresponding to the first number Preemption.
  • the preempted split screen area can also be determined according to priority rules. For example, the preempted split screen area is determined by judging the video display time in multiple split screen areas. Specifically, it is assumed that the video in the first split screen area has been displayed.
  • the priority rule can also be determined in other ways, for example, the priority is specified according to the importance of the video type, and the priority of the video of the news type is higher than that of the entertainment type. Then there are two types of media and the first media information When the sum of the number and the number of the second media information is greater than the preset value, the entertainment video is preferentially preempted, and the specific priority preemption method is not limited herein.
  • the number of the first number is determined according to the difference between the sum of the number of the first media information and the number of the second media information and the preset value. Specifically, it is assumed that the first media information to be displayed is 3 videos, which have been displayed in The number of second media information on the first device is also 3 videos, and the preset maximum number of split screens is 5, so the sum of the two is greater than the maximum number of split screens, and the difference is 1, then the number of the first numbered The number is one, which means that one video needs to be determined from the three videos that have been displayed, the video is preempted, and the corresponding number of this video is the first number mentioned in this application, and then the first device stops For this video display, leave the free split screen area for one of the videos to be displayed.
  • the first device disconnects the device corresponding to the first number and stops displaying the media information in the split screen area corresponding to the first number.
  • the split screen area corresponding to the first number is used to display a subset of the first media information.
  • the first device After the first device determines the preempted first number, it stops displaying the media information in the split screen area corresponding to the first number, and leaves the free split screen area to one or more videos in the media information to be displayed.
  • the embodiment of the present application determines the size relationship between the sum of the number of the first media information to be displayed and the number of the displayed second media information and the maximum number of split screens to determine how to display the media information.
  • the split screen method may be determined according to the sum of the numbers of the first media information and the second media information.
  • video preemption is required. In the above manner, multiple media information from multiple devices can be displayed on the first device at the same time, so as to meet the playback needs of multiple people as much as possible.
  • FIG. 5 includes:
  • Steps 401 to 412 are similar to steps 301 to 312 in the previous embodiment, and details are not described herein again.
  • step 410 or 412 After step 410 or 412:
  • the first device If the first device receives the screen projection end request, the first device turns off the display of the media information corresponding to the screen projection end request;
  • the first device subtracts 1 from the number of split screens to obtain a new number of split screens, and re-determines a new split screen method from a set of split screen modes according to the new number of split screens;
  • the number of the first media information and the number of the second media information may be judged to determine whether the sum of the two is zero.
  • the sum of the two pieces of media information is 0, it means that there is no content to be screened, so the first device exits the screen-casting mode.
  • An embodiment of the present application further provides a media information display device.
  • the device 50 includes:
  • a receiving module 501 configured to receive a screen projection request sent by a second device
  • the processing module 502 is configured to obtain the number of the first media information and the number of the second media information according to the screen casting request.
  • the first media information is media information to be displayed pushed by the second device, and the second media information is Media information displayed on a device;
  • a processing module 502 configured to determine when the sum of the number of the first media information and the number of the second media information is less than or equal to a preset value, and determine according to the sum of the number of the first media information and the number of the second media information
  • the split screen mode of the first device is used to indicate the number of divided split screen areas and the specifications of each split screen area.
  • the number of split screen areas is equal to the number of the first media information and the number of the second media information.
  • the display module 503 is configured to display the first media information and the second media information in the split screen area according to the split screen mode.
  • the first device uses multiple module functions to determine the sum of the number of media information to be displayed and the displayed media information and the preset maximum number of split screens, and uses different displays according to different situations.
  • the method displays the media information so that the first device can display multiple media information pushed by multiple devices at the same time, so as to implement a multi-device multi-screen playback mode.
  • another embodiment of the media information display device provided in this embodiment of the present application includes:
  • the processing module 502 is further configured to set a preset value N by receiving a user's instruction before the receiving module;
  • the processing module 502 is further configured to sequentially decrease the preset value from N to 1 to obtain N sub-screen numbers;
  • the processing module 502 is further configured to divide the screen according to each number of split screens and obtain a corresponding split screen mode.
  • the set of split screen modes includes a number of split screens of N, a number of split screens of N-1 and a number of split screens of 1.
  • the processing module 502 is further configured to separately number the split screen areas in each split screen mode.
  • This application can determine the upper limit of the number of split screen areas according to the decoding capability of the first device, that is, how many split screen areas can be used to display media information at the same time, and set in advance through the setting module, which is less than each minute of the maximum split screen number.
  • the number of screens has a corresponding split screen method, corresponding to a different number of split screen regions. This method helps the first device quickly adjust the split screen method according to the number of media information, shorten the processing time, and improve the entire screen casting process. s efficiency.
  • another embodiment of the media information display device provided in this embodiment of the present application includes:
  • the processing module 502 is further specifically configured to determine the first number according to a user instruction or a priority rule when the sum of the number of the first media information and the number of the second media information is greater than a preset value;
  • the processing module 502 is further configured to stop displaying the media information in the split screen area corresponding to the first number;
  • the display module 503 is further configured to display the first media information in a split screen area corresponding to the first number.
  • a defect of insufficient decoding capability of the first device may be solved by preemption to ensure normal display of the first device.
  • another embodiment of the media information display device provided in this embodiment of the present application includes:
  • the receiving module 501 is further configured to receive second media information pushed by a third device;
  • the processing module 502 is further configured to determine a corresponding split screen mode according to the number of the second media information when the number of the received media information is less than or equal to a preset value;
  • the display module 503 is further configured to display the second media information in the split screen area according to the determined split screen mode, and the number of split screen areas in the determined split screen mode is equal to the number of the second media information;
  • the processing module 502 is further configured to reject the screen projection request after the first time point when the number of received media information is greater than a preset value, and the first time point is when the number of received media information is equal to the preset value.
  • this application may directly reject some screen casting requests to ensure the normal screen casting, which is beneficial to the normal work of the first device.
  • another embodiment of the media information display device provided in this embodiment of the present application includes:
  • the processing module 502 is further configured to stop displaying the media information indicated by the screen casting end request when the first device receives the screen casting end request;
  • the processing module 502 is further configured to reduce the current number of divided screens by 1 to obtain a new number of divided screens;
  • the processing module 502 is further configured to re-determine the split screen mode from a set of split screen modes according to the new number of split screens;
  • the processing module 502 is further configured to display the remaining media information according to the split screen mode.
  • the split screen mode of the first device when the amount of media information changes, the split screen mode of the first device can also be flexibly adjusted, which reflects the flexibility and practicability of the solution.
  • another embodiment of the media information display device provided in this embodiment of the present application includes:
  • the processing module is further configured to exit the projection mode when the sum of the number of the first media information and the number of the second media information is 0.
  • another embodiment of the media information display device provided in this embodiment of the present application includes:
  • the processing module 502 is further configured to determine a first display duration of the media information in the first split screen area
  • the processing module 502 is further configured to determine a second display duration of the media information in the second split screen area
  • the processing module 502 is further configured to determine, according to the first display duration and the second display duration, that the number corresponding to the longer split screen area is the first number.
  • the first number may be determined by a user instruction or a series of priority rules.
  • the preset priority rules help Improve the rationality of preemptive methods.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, a computer, a server, or a data center. Transmission to another website site, computer, server, or data center through wired (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • wired such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)
  • wireless such as infrared, wireless, microwave, etc.
  • the computer-readable storage medium may be any available medium that can be stored by a computer or a data storage device such as a server, a data center, and the like that includes one or more available medium integration.
  • the available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (Solid State Disk (SSD)), and the like.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
  • the above integrated unit may be implemented in the form of hardware or in the form of software functional unit.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it may be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially a part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium , Including a number of instructions to enable a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application.
  • the foregoing storage media include: U disks, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks or compact discs and other media that can store program codes .

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

本申请公开了一种媒体信息显示方法,包括:第一设备接收第二设备发送的投屏请求;第一设备根据投屏请求获取第一媒体信息的个数和第二媒体信息的个数,第一媒体信息为第二设备推送的待显示媒体信息,第二媒体信息为已在第一设备上进行显示的媒体信息;若第一媒体信息个数和第二媒体信息的个数之和小于或等于预设值,则根据第一媒体信息个数和第二媒体信息的个数之和,确定第一设备的分屏方式;第一设备根据分屏方式在分屏区域中显示第一媒体信息以及第二媒体信息。本方案可实现多设备多屏幕的播放方式,可满足多人不同的播放需求,增强了应用于群众性活动的设备体验。

Description

一种媒体信息显示方法及媒体信息显示装置 技术领域
本申请涉及通信领域,尤其涉及一种媒体信息显示方法及媒体信息显示装置。
背景技术
随着多媒体信息时代的到来,智能设备之间的信息互动已成为必然的趋势,例如操作功能丰富的手机和大屏幕电视的结合,可将手机上的多媒体信息例如图片、音频和视频等媒体信息投屏到电视上,供大范围群众便捷快速地分享这些信息,这种投屏方式在家庭活动和广场活动中都担任着重要角色。
投屏技术常用到的协议有数字生活网络联盟(dgital living network alliance,DLNA)协议、AirPlay协议和Miracast协议等,具体以DLNA协议为例说明投屏技术,DLNA协议旨在解决电子智能设备在内的互联互通,使得数字媒体和内容服务能够无限制的共享。具体地,终端设备例如手机、平板可推送媒体信息至另一终端设备例如电视机、广告机进行共享,以手机上的媒体信息投屏到电视机上为例:当电视机的***接收到手机的投屏连接请求时,会先判断当前是否有其他手机与电视机之间存在投屏行为,若检测到有其余手机的投屏行为,则通知正在进行投屏的手机断开连接,结束该手机的投屏行为,转而将投屏行为的主动权交至新请求投屏的手机上,并在电视屏幕上显示新投屏手机推送的多媒体信息。
此时电视机的屏幕上只能播放拥有抢占权利的新投屏手机推送的媒体信息,该种播放方式容易错失大量精彩的媒体信息,远远满足不了家庭活动或广场活动中多人的播放需求。
发明内容
本申请提供了一种媒体信息显示方法及媒体信息显示装置,可实现多设备多屏幕的播放方式,可满足多人不同的播放需求,增强了应用于群众性活动的设备体验。
有鉴于此,本发明第一方面提供了一种媒体信息显示方法,包括:
第一设备接收第二设备发送的投屏请求,该投屏请求用于请求在第一设备上对第二设备推送的媒体信息进行展示,第一设备可以是电视机或广告机等具有大型屏幕的设备,第二设备可以是手机、平板或个人电脑等移动设备。
该投屏请求会触发第一设备获取第一媒体信息和第二媒体信息的个数,并将两者的个数之和与预设的最大分屏数作比较,其中,第一媒体信息是由第二设备推送的待显示媒体信息,第二媒体信息是已经在第一设备上进行显示的媒体信息。
若第一媒体信息个数和第二媒体信息的个数之和小于或等于最大分屏数,则根据第一媒体信息个数和第二媒体信息的个数之和,确定第一设备的分屏方式,分屏方式用于指示划分的分屏区域个数以及每个分屏区域的规格,分屏区域个数等于第一媒体信息个数和第二媒体信息的个数之和。
第一设备根据确定的分屏方式,在该分屏方式划分的多个分屏区域中显示第一媒体信息和第二媒体信息,需要说明的是,第二媒体信息在第一设备上进行显示的方法如下:首 先第一设备根据第二媒体信息的个数确定分屏方式,并在该分屏方式下的分屏区域中显示第二媒体信息,其中,该分屏方式下分屏区域的个数应等于第二媒体信息的个数,而后,在第一媒体信息加入时第一设备需要根据第一媒体信息和第二媒体信息的个数之和重新确定分屏方式。
本申请通过判断待显示的媒体信息和已显示的媒体信息两者个数之和与预设的最大分屏数的大小来决定如何合理地展示媒体信息,让显示设备能够同时展示多个设备推送的多个媒体信息,实现多设备多屏幕的播放方式,该种方式有助于散播大量媒体信息。
结合本申请实施例第一方面,在本申请实施例第一方面的第一种实施方式中,所述第一设备接收第二设备发送的投屏请求之前,所述方法还包括:
所述第一设备通过接收的用户指令设置预设值N;
所述第一设备将所述预设值从N依次递减至1得到N个分屏数;
所述第一设备根据每一个分屏数划分屏幕并得到对应的分屏方式,分屏方式的集合包括分屏数为N、分屏数为N-1至分屏数为1的多种分屏方式;
对每种分屏方式下的多个分屏区域分别进行编号。
本申请中预设的最大分屏数为第一设备分屏区域显示的上限值,小于最大分屏数的每一分屏数都有对应的分屏方式,对应着不同数量的分屏区域,此种方式有助于第一设备根据媒体信息的个数快速调取分屏方式,缩短处理时间,从而提高整个投屏过程的效率。
结合本申请实施例第一方面的第一种实施方式,在本申请实施例第一方面的第二种实施方式中:
若所述第一媒体信息个数和所述第二媒体信息的个数之和大于所述预设的分屏数,说明媒体信息的个数超过了第一设备的显示能力,因此第一设备需先根据用户指令或优先级规则从带有编号的分屏区域中确定第一编号,然后待显示的媒体信息抢占第一编号对应的分屏区域,具体做法是所述第一设备先停止第一编号对应的分屏区域内的媒体信息显示,第一设备再将待显示的第一媒体信息中一个或多个显示在所述第一编号对应的分屏区域内,然后将剩余的待显示媒体信息在剩余的分屏区域中进行显示。其中,第一媒体信息和第二媒体信息两者个数之和与预设分屏数之间的差值即为第一编号的个数,即代表了需要停止显示的媒体信息个数,也就是被抢占的个数。
当第一媒体信息个数和所述第二媒体信息的个数之和大于所述预设的分屏数时,可以通过抢占的方式解决第一设备解码能力不够的缺陷,保证第一设备的正常显示。
结合本申请实施例第一方面的第二种实施方式,在本申请实施例第一方面的第三种实施方式中,所述第一设备接收第二设备发送的投屏请求之前:
所述第一设备接收第三设备推送的第二媒体信息;
若所述接收的媒体信息的个数小于等于所述预设值,根据所述第二媒体信息的个数确定对应的分屏方式;
根据所述确定的分屏方式在分屏区域内显示所述第二媒体信息,确定的所述分屏方式下分屏区域的个数等于所述第二媒体信息的个数;
若所述接收的媒体信息的个数大于所述预设值,则拒绝第一时间点之后的投屏请求, 所述第一时间点为接收的媒体信息的个数等于所述预设值时。
第一设备显示媒体信息的方式均可采用本申请中的根据媒体信息个数确定分屏方式这种方法,并且在接收的媒体信息个数大于预设分屏数时,可直接拒绝某些投屏请求,以保证投屏的正常进行,有益于第一设备的正常工作。
结合本申请实施例第一方面至第一方面的第三种实施方式,在本申请实施例第一方面的第四种实施方式中,所述第一设备根据所述分屏方式在所述分屏区域中显示所述第一媒体信息以及所述第二媒体信息之后,所述方法还包括:
若所述第一设备接收到投屏结束请求,则所述第一设备关闭所述投屏结束请求对应的媒体信息的显示;
所述第一设备将所述多个分屏区域对应的分屏数减1得到新的分屏数;
所述第一设备根据所述新的分屏数从所述分屏方式的集合中重新确定分屏方式;
所述第一设备根据所述分屏方式将剩余的媒体信息进行显示。
本申请中第一设备接收到其他设备的投屏结束请求时,会自动递减分屏数,并根据递减后的分屏数重新调整分屏方式,在调整后的分屏方式划分的分屏区域内显示剩余的媒体信息,在媒体信息的数量发生变化时第一设备的分屏方式也能灵活进行调整,体现了方案的灵活性与实用性。
结合本申请实施例第一方面的第四种实施方式,在本申请实施例第一方面的第五种实施方式中,所述第一设备关闭所述投屏结束请求对应的媒体信息显示之后,所述方法还包括:
若第一媒体信息个数和第二媒体信息的个数之和为0,则所述第一设备退出投屏模式。
本申请当第一设备判断出第一媒体信息和第二媒体信息的个数之和为0时,直接退出投屏模式,可节省大量***资源,减少功耗。
结合本申请实施例第一方面的第二种实施方式,在本申请实施例第一方面的第六种实施方式中,所述根据优先级规则确定第一编号包括:
确定第一分屏区域内媒体信息的第一显示时长;
确定第二分屏区域内媒体信息的第二显示时长;
根据所述第一显示时长和所述第二显示时长确定时长较长的分屏区域对应的编号为第一编号。
本申请在第一媒体信息和第二媒体信息的个数之和大于预设分屏数时,可通过用户指定或一系列优先级规则确定第一编号,第一编号对应的媒体信息就是将要被抢占的媒体信息,提前预设的优先级规则有助于提高抢占方式的合理性。
结合本申请实施例第一方面至第一方面的第六种实施方式,在本申请实施例第一方面的第七种实施方式中,所述分屏区域的规格包括所述分屏区域的大小和位置。
本申请中分屏区域的大小和位置可利用程序进行合理设置,使得不同类型或重要程度不同的媒体资源与其占用的显示资源相匹配,有助于合理分配第一设备的屏幕,提高屏幕利用率。
本发明第二方面提供了一种媒体信息显示装置,包括:
接收模块,用于接收第二设备发送的投屏请求;
处理模块,用于根据所述投屏请求获取第一媒体信息的个数和第二媒体信息的个数,所述第一媒体信息为第二设备推送的待显示媒体信息,所述第二媒体信息为已在所述第一设备上进行显示的媒体信息;
处理模块,用于当所述第一媒体信息个数和第二媒体信息的个数之和小于或等于预设值时,根据所述第一媒体信息个数和所述第二媒体信息的个数之和,确定所述第一设备的分屏方式,所述分屏方式用于指示划分的分屏区域个数以及每个分屏区域的规格,所述分屏区域个数等于所述第一媒体信息个数和所述第二媒体信息的个数之和;
显示模块,用于根据所述分屏方式在所述分屏区域中显示所述第一媒体信息以及所述第二媒体信息。
本申请通过第一设备的接收模块、获取模块、确定模块和显示模块可同时展示多个设备推送的多个媒体信息,实现多设备多屏幕的播放方式,有助于散播大量媒体信息。
结合本申请实施例第二方面,在本申请实施例第二方面的第一种实施方式中,
所述处理模块,还用于所述接收模块之前通过接收用户的指令设置预设值N;
所述处理模块,还用于将所述预设值从N依次递减至1得到N个分屏数;
所述处理模块,还用于根据每一个分屏数划分屏幕并得到对应的分屏方式,分屏方式的集合包括分屏数为N、分屏数为N-1至分屏数为1的多种分屏方式;
所述处理模块,还用于对每种分屏方式下的分屏区域分别进行编号。
本申请中每个小于预设值的分屏数都有对应的分屏方式,在根据媒体信息个数确定分屏方式后可直接调用该分屏方式对屏幕进行划分,缩短了处理时间,提高了整个投屏过程的效率。
结合本申请实施例第二方面的第一种实施方式,在本申请实施例第二方面的第二种实施方式中:
所述处理模块,还用于当所述第一媒体信息个数和所述第二媒体信息的个数之和大于所述预设值时,根据用户指令或优先级规则确定第一编号;
所述处理模块,还用于停止所述第一编号对应的分屏区域内的媒体信息显示;
所述显示模块,还用于将所述第一媒体信息显示在所述第一编号对应的分屏区域内。
当第一媒体信息个数和所述第二媒体信息的个数之和大于所述预设的分屏数时,可利用停止模块和显示模块通过抢占的方式解决第一设备解码能力不够的缺陷,保证第一设备的正常显示。
结合本申请实施例第二方面的第二种实施方式,在本申请实施例第二方面的第三种实施方式中,
所述接收模块,还用于接收第三设备推送的第二媒体信息;
所述处理模块,还用于当所述接收的媒体信息的个数小于等于所述预设值时,根据所述第二媒体信息的个数确定对应的分屏方式;
所述显示模块,还用于根据所述确定的分屏方式在分屏区域内显示所述第二媒体信息,确定的所述分屏方式下分屏区域的个数等于所述第二媒体信息的个数;
所述处理模块,用于当所述接收的媒体信息的个数大于所述预设值时,拒绝第一时间点之后的投屏请求,所述第一时间点为接收的媒体信息的个数等于所述预设值时。
在接收的媒体信息个数大于预设分屏数时,可直接拒绝某些投屏请求,以保证投屏的正常进行,有益于第一设备的正常工作。
结合本申请实施例第二方面至第二方面的第三种实施方式,在本申请实施例第二方面的第四种实施方式中,
所述处理模块,还用于当第一媒体信息个数和第二媒体信息的个数之和为0时,退出投屏模式。
第一设备中的退出模块可在无投屏内容时使得第一设备直接退出投屏模式,节省大量***资源,减少功耗。
结合本申请实施例第二方面的第四种实施方式,在本申请实施例第二方面的第五种实施方式中:
所述处理模块,还用于确定第一分屏区域内媒体信息的第一显示时长;
所述处理模块,还用于确定第二分屏区域内媒体信息的第二显示时长;
所述处理模块,还用于根据所述第一显示时长和所述第二显示时长确定时长较长的分屏区域对应的编号为第一编号。
本申请中通过用户指令确定被抢占的媒体信息体现了用户的自主能动性和方案的灵活性,预设的优先级规则有助于提高抢占方式的合理性。
本申请实施例第三方面提供了一种包含指令的计算机程序产品,当计算机程序产品在计算机上运行时,使得计算机执行如前述本申请实施例第一方面的媒体信息显示的方法。
本申请实施例第四方面提供了一种计算机可读存储介质,该计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行如前述本申请实施例第一方面的媒体信息显示的方法。
从以上技术方案可以看出,本申请具有以下优点:
本申请实施例中第一设备设置了最大分屏数以及依次递减最大分屏数得到的多种分屏方式,在第一媒体信息和第二媒体信息的个数之和小于等于最大分屏数的情况下,根据两者数量之和确定分屏方式,在已确定分屏方式下的多个分屏区域中将第一媒体信息和已显示的第二媒体信息全部呈现,通过上述实现方式,第一设备可同时显示多个媒体信息,其中多个媒体信息可来自多个设备,因此本方案可实现多设备多屏幕的播放方式,可满足多人不同的播放需求,增强了应用于群众性活动的设备体验。
附图说明
图1为手机和电视机进行投屏行为的场景示意图;
图2为现有技术的投屏方式;
图3为本申请实施例中媒体信息显示方法的实施例示意图;
图4为本申请实施例中媒体信息显示方法的一个流程示意图;
图5为本申请实施例中媒体信息显示方法的另一流程示意图;
图6为本申请实施例中媒体信息显示装置的结构示意图。
具体实施方式
本申请提供一种媒体信息显示的方法以及媒体信息显示装置,可同时显示多个设备推送的多个媒体信息,从而实现多设备多屏幕的播放方式,满足多人不同的播放需求,增强了应用于群众性活动的设备体验。
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、***、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。
手机投屏可分为两种方式:有线投屏和无线投屏,顾名思义,有线投屏即通过数据线等实体方式连接手机和电视机,将手机里的内容显示在电视机上。无线投屏则是在手机与投屏设备处于同一网络的情况下通过无线保真(wireless fidelity,WI-FI)等无线连接方式将手机的内容投屏到投屏设备中。具体地,手机与电视通过无线连接进行投屏的场景示意图如图1所示,手机首先与电视机建立连接,然后手机将想要推送的图片或视频通过投屏应用推送到电视,电视机将该图片或视频展示在自身的显示屏上。一般来说,现有的电视机和手机内都可安装支持投屏技术的应用,因此手机和电视机之间可通过各种协议例如DNLA协议、AirPlay协议和Miracast协议进行通信,现有技术中多手机(以A手机和B手机为例)投屏的具体过程如图2所示:
101、A手机通过数字生活网络联盟(dgital living network alliance,DLNA)协议发送投屏请求到投屏应用;
102、投屏应用判断电视机是否存在B手机推送的媒体信息;
若电视机存在B手机推送的媒体信息,则进入步骤103,若不存在B手机推送的媒体信息,则进入105;
103、投屏应用向电视机发送结束指令,该结束指令用于指示电视机停止显示B手机推送的媒体信息;
若投屏应用判断出电视机存在B手机推送的媒体信息,则投屏应用向电视机发送结束指令,该结束指令用于指示电视机停止显示B手机推送的媒体信息。
104、投屏应用断开与B手机的连接;
105、投屏应用发送投屏请求响应至A手机;
若步骤102判断出的结果是电视机不存在B手机推送的媒体信息,则投屏应用直接发送投屏请求响应至A手机,若步骤102判断出的结果是电视机存在B手机推送的媒体信息,则按顺序执行步骤103、104,并且投屏应用在断开与B手机的连接之后,将会发送投屏请求响应至A手机,以通知A手机进行连接投屏。
106、A手机推送媒体信息至投屏应用;
107、投屏应用将A手机推送的媒体信息显示在电视机上。
本申请实施例中,DNLA协议用于手机和电视机之间的通信连接,通过发送各种请求和操作指令以控制手机与电视机的断连。DNLA应用是整个过程的逻辑控制中心,其中最重要的作用是用来判断当前电视机是否存在其他设备推送的媒体信息。而电视机的作用是用来显示用户手机推送的图片、音乐和视频等媒体信息。此种媒体信息的抢占模式只能单一地播放某一个设备推送的某一个媒体资源,无法满足设备的多播放需求。
因此本申请实施例提供了一种媒体显示方法,可同时显示多个设备推送的多个媒体信息,实现多设备多屏幕的播放方式。本申请实施例提供的媒体显示方法的流程示意图如图3所示:
201、第一设备接收第二设备发送的投屏请求;
第一设备和第二设备之间可以为有线连接,也可以为无线连接,若要通过无线连接的方式进行通信,两者需处于同一无线局域网中。
第二设备向第一设备发送投屏请求目的是使得第一设备显示第二设备推送的媒体信息,第一设备通常是具有大型屏幕的显示设备例如家用电视机、商业广场的电视机和广告机等,第二设备可以为用户的手机、平板或个人电脑,通常具有灵活便捷、易于操作的优点。本申请实施例对第一设备和第二设备的具体类型不作限定。
202、第一设备根据投屏请求获取第一媒体信息的个数和第二媒体信息的个数,第一媒体信息为第二设备推送的待显示媒体信息,第二媒体信息为已在第一设备上进行显示的媒体信息;
本申请实施例中的第一媒体信息指的是第二设备推送的待显示媒体信息,第二媒体信息指的是第三设备推送的已显示的媒体信息,投屏请求会触发第一设备确定第一媒体信息个数和第二媒体信息个数。
本申请实施例中的第二设备和第三设备可以为单个数量的手机、平板或个人电脑,也可以为多个手机、平板或个人电脑,本申请实施例对第二设备和第三设备的数量不作限定。第二设备和第三设备分别推送的媒体信息的个数可以是单个也可以是多个,具体此处不作限定。第一设备每次接收到一个新的投屏请求时,便会对第一媒体信息的个数和第二媒体信息的个数进行统计。
具体地,假设A手机想要向电视机推送视频进行展示,首先A手机向电视机发送投屏请求,该投屏请求触发电视机的DNLA应用统计该电视机上的已显示视频个数,再加上投屏请求对应的待显示视频个数,此时若A手机只推送一个视频内容,第一设备根据对应的投屏请求在已显示的视频个数上加1,若A手机推送m个视频内容,则第一设备在已显示的视频个数加上m,若多个手机(假设y个手机)都向电视机推送视频内容,则第一设备根据对应的投屏请求在已显示的视频个数上加上y。
203、若第一媒体信息的个数和第二媒体信息的个数之和小于或等于预设值,则根据第一媒体信息个数和第二媒体信息的个数之和,确定第一设备的分屏方式,分屏方式用于指示划分的分屏区域个数以及每个分屏区域的规格,分屏区域个数等于第一媒体信息个数和 第二媒体信息的个数之和;
电视机在接收到手机的投屏请求时,会统计该投屏请求对应的待显示媒体信息和已显示媒体信息的个数之和,然后判断两者个数之和与预设的最大分屏数的大小,分屏数是指将设备的屏幕划分成多少个分屏区域。若是判断出两者之和小于或等于最大分屏数,则直接根据两者之和的数量确定应将第一设备中的屏幕划分成多少个分屏区域以及每个分屏区域的大小和位置。需要说明的是,在此之前,第一设备会设置好一系列不同分屏数对应的分屏方式。
具体地,假设A手机想向电视机推送一个视频内容进行展示播放,而此时电视机中正在进行显示的有三个视频,电视机统计得到的待显示媒体信息和已显示媒体信息的个数之和为4个,若之前该电视机根据芯片解码能力设置的最大分屏数为5,那么此时待显示的第一媒体信息和已显示的第二媒体信息个数之和小于最大分屏数,接下来从分屏方式的集合中选取分屏数为4对应的分屏方式,表示的意义是将第一设备的屏幕划分成4个分屏区域,具体地,可将第一设备的全屏划分成4个分屏区域,也可以在第一设备指定的屏幕位置上将规定范围内的屏幕划分成4个分屏区域,全屏或非全屏的划分方式可根据用户指令确定。
204、第一设备根据分屏方式在分屏区域中显示第一媒体信息以及第二媒体信息。
确定分屏方式后在该分屏方式划分的各个分屏区域内重新调整显示第一媒体信息和第二媒体信息。
沿用步骤203中提及的例子,在接收A手机推送的待显示媒体信息之前,电视机已经将其他设备推送的媒体信息显示在划分好的分屏区域内,此时选择分屏方式的方法也是判断将要显示的媒体信息与最大分屏数的大小。假设A手机推送之前,其他设备推送的欲显示的媒体信息为3个,小于最大分屏数5,则从分屏方式的集合中确定分屏数为3的分屏方式,即将第一设备的屏幕划分成3个分屏区域,然后将3个视频分别显示在3个分屏区域中,显示成功后即成为步骤203中已显示的第二媒体信息,然后第一设备在探测到有新的视频接进来时会根据新请求的待显示视频和已显示的视频个数重新确定分屏方式。
本申请实施例中,第一设备通过接收到的投屏请求判断是否有新的媒体信息接入,并判断第一媒体信息和第二媒体信息个数之和与最大分屏数的大小,根据不同情况选择不同的方案来显示媒体信息,当第一媒体信息和第二媒体信息个数之和小于最大分屏数时,通过重新确定的分屏方式显示所有媒体信息,当大于最大分屏数时,则通过抢占的方式显示媒体信息。
在上述实施例的基础上,本申请提供的媒体信息显示方法的又一实施例,在第一设备接收第二设备发送的投屏请求之前,方法还包括:
首先,第一设备即电视机的***会根据芯片的解码能力设置最大分屏数N,即电视机最多能够划分N个分屏区域,因此可以理解的是,也可以将电视机的屏幕划分成N-1个或N-2个分屏区域,直至递减到1个分屏区域,如此一来可得到N个分屏数。假设最大分屏数N为5,则依次递减可得到分别为4、3、2、1的分屏数,每个分屏数有对应的分屏方式,即将屏幕划分为多少个分屏区域以及每个分屏区域的大小和位置,并会对每个分屏区域进行 编号以便进行选择。
可选地,在上述实施例的基础上,本申请提供的媒体信息显示方法的又一实施例如图4所示,
301、第一设备接收第三设备推送的第二媒体信息;
本申请实施例中推送第二媒体信息的第三设备出现在第二设备之前,即第三设备推送的第二媒体信息在第一设备上显示成功之后,第一设备再接收第二设备的媒体信息。需要说明的是,本申请实施例中的出现的“第一”、“第二”仅仅是为了区别不同的设备,并不代表具体时序关系。
302、判断接收的第二媒体信息的个数是否小于等于预设值;
若接收的第二媒体信息个数小于等于预设值,则进入步骤303,若接收的第二媒体信息的个数大于预设值,则进入步骤305。
303、根据第二媒体信息的个数确定对应的分屏方式;
本申请实施例中第二媒体信息的个数可以为一个,也可以为多个,此处对第二媒体信息的具体数量不作限定。
第三设备向第一设备发送第二媒体信息,此时的第二媒体信息可以理解成待显示的媒体信息,若第一设备接收到的第二媒体信息个数小于等于预设的最大分屏数,说明此时媒体信息的个数在第一设备的解码能力内,因此可直接根据第二媒体信息的个数从分屏方式的集合中选取分屏方式,选取的方式是根据第二媒体信息的个数确定分屏方式,确定出来的分屏方式包含的分屏区域个数应为第二媒体信息的个数。
具体地,假设B手机向电视机推送3个视频,此时电视机预设的最大分屏数是5,推送的待显示视频个数小于最大分屏数,因此确定出的分屏方式应为具有3个分屏区域的分屏方式,其中,3个分屏区域大小可以一样,也可以设置成3个不同大小规格的分屏区域,若是分屏区域大小不一,则可根据接收视频的重要程度灵活决定将不同的视频放置在不同大小的分屏区域内。
304、第一设备根据确定的分屏方式在分屏区域内显示第二媒体信息,该分屏方式包含的分屏区域的个数等于第二媒体信息的个数;
305、若接收的第二媒体信息的个数大于预设值,则拒绝第一时间点之后的投屏请求,第一时间点为接收的媒体信息个数等于预设值时。
若接收的媒体信息个数大于最大分屏数,则说明第一设备无法全部显示接收的多个媒体信息,因此需要拒绝一些投屏行为,当接收的媒体信息个数为最大分屏数时,表示第一设备的显示能力已达上限,此时为第一时间点,第一设备将会拒绝第一时间点之后的所有投屏请求。
306、第一设备接收第二设备发送的投屏请求;
在步骤304和步骤305之后执行步骤306。
307、第一设备根据投屏请求获取第一媒体信息的个数和第二媒体信息的个数,第一媒体信息为第二设备推送的待显示媒体信息,第二媒体信息为已在第一设备上进行显示的媒体信息;
首先第一设备根据投屏请求的个数可以确定第一媒体信息的个数,接着第一设备统计第一媒体信息和已显示的第二媒体信息的个数之和。
308、判断第一媒体信息个数和第二媒体信息的个数之和是否小于或等于最大分屏数;
若第一媒体信息个数和第二媒体信息的个数之和小于或等于预设值,则进入步骤309,若第一媒体信息个数和第二媒体信息的个数之和大于预设值,则进入步骤311。
309、根据第一媒体信息个数和第二媒体信息的个数之和,确定第一设备的分屏方式,分屏方式用于指示划分的分屏区域个数以及每个分屏区域的规格,分屏区域个数等于第一媒体信息个数和第二媒体信息的个数之和;
该步骤与步骤303(接收的媒体信息的个数小于最大分屏数的情况)类似,但是该步骤加入了第一媒体信息,总而言之,当需要在第一设备上显示的媒体信息个数在第一设备的解码范围之内,那么可直接根据媒体信息的个数确定分屏方式。
310、第一设备根据分屏方式在分屏区域中显示第一媒体信息以及第二媒体信息;
311、若第一媒体信息个数和第二媒体信息的个数之和大于预设值,则根据用户指令或优先级规则确定第一编号,第一编号的个数根据第一媒体信息和第二媒体信息个数之和与预设值之间的差值决定;
如果第一媒体信息和第二媒体信息的个数之和大于最大分屏数,则需要抢占第一设备中一个或多个已显示的视频内容,本申请实施例中的第一编号即为被抢占视频所在的分屏区域的编号,该编号可以由用户自行选择,然后通过带有第一编号的指令发送至第一设备,第一设备接收到用户指令之后对第一编号对应的分屏区域进行抢占。被抢占的分屏区域还可以根据优先级规则进行确定,例如通过判断多个分屏区域内视频的显示时长决定被抢占的分屏区域,具体地,假设第一分屏区域内的视频已经展示了30分钟,第二分屏区域内的视频已显示了20分钟,那么就可以将投屏显示30分钟的第一分屏区域对应的编号作为第一编号,该分屏区域将被下一个待显示视频抢占。可以理解的是,优先级规则还可以由其他的方式决定,例如根据视频类型的重要程度指定优先级,新闻类型的视频优先级高于娱乐型视频,那么在两种类型存在且第一媒体信息个数和第二媒体信息的个数之和大于预设值时优先抢占娱乐型视频,具体的优先级抢占方式此处不作限定。
第一编号的个数根据第一媒体信息和第二媒体信息个数之和与预设值之间的差值决定,具体地,假设待显示的第一媒体信息为3个视频,已显示在第一设备上的第二媒体信息个数也为3个视频,预设的最大分屏数为5,则两者之和大于最大分屏数,且差值为1,那么第一编号的个数则为1个,即说明需要从已显示的3个视频中确定出1个视频,该视频被抢占,该视频对应的编号即为本申请中提到的第一编号,然后第一设备停止该视频的显示,将空闲出来的分屏区域留给待显示的其中1个视频。
312、第一设备断开第一编号对应的设备连接,并停止第一编号对应的分屏区域内的媒体信息显示,第一编号对应的分屏区域用于显示第一媒体信息的子集;
第一设备确定了被抢占的第一编号之后,停止第一编号对应的分屏区域内的媒体信息显示,将空闲的分屏区域留给待显示媒体信息中的一个或多个视频。
本申请实施例通过判断待显示的第一媒体信息和已显示的第二媒体信息的个数之和与 最大分屏数之间的大小关系,决定如何显示媒体信息,在第一设备的能力显示范围内,可根据第一媒体信息和第二媒体信息的个数之和确定分屏方式,当两者之和超过了第一设备的能力显示范围,则需要进行视频的抢占。通过上述方式,可在第一设备上同时展示来自多个设备的多个媒体信息,尽可能地满足多人的播放需求。
可选地,在图4对应的实施例的基础上,本申请提供的又一可选实施例如图5包括:
步骤401至步骤412与上个实施例中的步骤301至312类似,具体此处不再赘述。
在步骤410或412之后:
413、若第一设备接收到投屏结束请求,则第一设备关闭投屏结束请求对应的媒体信息的显示;
414、第一设备将分屏数减1得到新的分屏数,并根据新的分屏数从分屏方式的集合中重新确定新的分屏方式;
415、在新的分屏方式下将剩余的媒体信息分别显示在多个分屏区域中。
在第一设备每次接收到投屏结束请求之后可对第一媒体信息个数和第二媒体信息的个数进行判断,判断两者之和是否为0,若第一媒体信息个数和第二媒体信息的个数之和为0,则说明无任何内容需要进行投屏,因此第一设备退出投屏模式。
本申请实施例还提供了一种媒体信息显示装置,如图6所示,装置50包括:
接收模块501,用于接收第二设备发送的投屏请求;
处理模块502,用于根据投屏请求获取第一媒体信息的个数和第二媒体信息的个数,第一媒体信息为第二设备推送的待显示媒体信息,第二媒体信息为已在第一设备上进行显示的媒体信息;
处理模块502,用于当第一媒体信息个数和第二媒体信息的个数之和小于或等于预设值时,根据第一媒体信息个数和第二媒体信息的个数之和,确定第一设备的分屏方式,分屏方式用于指示划分的分屏区域个数以及每个分屏区域的规格,分屏区域个数等于第一媒体信息个数和第二媒体信息的个数之和;
显示模块503,用于根据分屏方式在分屏区域中显示第一媒体信息以及第二媒体信息。
本申请实施例中第一设备通过多个模块功能判断待显示的媒体信息和已显示的媒体信息两者个数之和与预设的最大分屏数的大小,根据不同的情况采用不同的显示方式对媒体信息进行显示,使得第一设备能够同时展示多个设备推送的多个媒体信息,实现多设备多屏幕的播放方式。
可选地,在图6对应的实施例的基础上,本申请实施例提供的媒体信息显示装置的另一实施例包括:
处理模块502,还用于接收模块之前通过接收用户的指令设置预设值N;
处理模块502,还用于将预设值从N依次递减至1得到N个分屏数;
处理模块502,还用于根据每一个分屏数划分屏幕并得到对应的分屏方式,分屏方式的集合包括分屏数为N、分屏数为N-1至分屏数为1的多种分屏方式;
处理模块502,还用于对每种分屏方式下的分屏区域分别进行编号。
本申请可根据第一设备的解码能力确定分屏区域个数的上限,即最多能同时通过多少 个分屏区域展示媒体信息,并通过设置模块提前设置好,小于最大分屏数的每一分屏数都有对应的分屏方式,对应不同数量的分屏区域,此种方式有助于第一设备根据媒体信息的个数快速调取分屏方式,缩短处理时间,从而提高整个投屏过程的效率。
可选地,在图6对应的实施例的基础上,本申请实施例提供的媒体信息显示装置的另一实施例包括:
处理模块502,还具体用于当第一媒体信息个数和第二媒体信息的个数之和大于预设值时,根据用户指令或优先级规则确定第一编号;
处理模块502,还用于停止第一编号对应的分屏区域内的媒体信息显示;
显示模块503,还用于将第一媒体信息显示在第一编号对应的分屏区域内。
当第一媒体信息个数和第二媒体信息的个数之和大于预设的分屏数时,可以通过抢占的方式解决第一设备解码能力不够的缺陷,保证第一设备的正常显示。
可选地,在图6对应的实施例的基础上,本申请实施例提供的媒体信息显示装置的另一实施例包括:
接收模块501,还用于接收第三设备推送的第二媒体信息;
处理模块502,还用于当接收的媒体信息的个数小于等于预设值时,根据第二媒体信息的个数确定对应的分屏方式;
显示模块503,还用于根据确定的分屏方式在分屏区域内显示第二媒体信息,确定的分屏方式下分屏区域的个数等于第二媒体信息的个数;
处理模块502,还用于当接收的媒体信息的个数大于预设值时,拒绝第一时间点之后的投屏请求,第一时间点为接收的媒体信息的个数等于预设值时。
本申请在接收的媒体信息个数大于预设分屏数时,可直接拒绝某些投屏请求,以保证投屏的正常进行,有益于第一设备的正常工作。
可选地,在图6对应的实施例的基础上,本申请实施例提供的媒体信息显示装置的另一实施例包括:
处理模块502,还用于当第一设备接收到投屏结束请求时,停止投屏结束请求指示的媒体信息的显示;
处理模块502,还用于将当前分屏数减1得到新的分屏数;
处理模块502,还用于根据新的分屏数从分屏方式的集合中重新确定分屏方式;
处理模块502,还用于根据分屏方式将剩余的媒体信息进行显示。
本申请实施例在媒体信息的数量发生变化时第一设备的分屏方式也能灵活进行调整,体现了方案的灵活性与实用性。
可选地,在图6对应的实施例的基础上,本申请实施例提供的媒体信息显示装置的另一实施例包括:
处理模块,还用于当第一媒体信息个数和第二媒体信息的个数之和为0时,退出投屏模式。
可选地,在图6对应的实施例的基础上,本申请实施例提供的媒体信息显示装置的另一实施例包括:
处理模块502,还用于确定第一分屏区域内媒体信息的第一显示时长;
处理模块502,还用于确定第二分屏区域内媒体信息的第二显示时长;
处理模块502,还用于根据第一显示时长和第二显示时长确定时长较长的分屏区域对应的编号为第一编号。
本申请在第一媒体信息和第二媒体信息的个数之和大于预设分屏数时,可通过用户指令或一系列优先级规则确定第一编号,提前预设的优先级规则有助于提高抢占方式的合理性。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本申请所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的***,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的***,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个***,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可 以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (17)

  1. 一种媒体信息显示方法,其特征在于,所述方法包括:
    第一设备接收第二设备发送的投屏请求;
    所述第一设备根据所述投屏请求获取第一媒体信息的个数和第二媒体信息的个数,所述第一媒体信息为第二设备推送的待显示媒体信息,所述第二媒体信息为已在所述第一设备上进行显示的媒体信息;
    若所述第一媒体信息个数和第二媒体信息的个数之和小于或等于预设值,则根据所述第一媒体信息个数和所述第二媒体信息的个数之和,确定所述第一设备的分屏方式,所述分屏方式用于指示划分的分屏区域个数以及每个分屏区域的规格,所述分屏区域个数等于所述第一媒体信息个数和所述第二媒体信息的个数之和;
    所述第一设备根据所述分屏方式在所述分屏区域中显示所述第一媒体信息以及所述第二媒体信息。
  2. 根据权利要求1所述的方法,其特征在于,所述第一设备接收第二设备发送的投屏请求之前,所述方法还包括:
    所述第一设备根据接收的用户指令设定预设值N,所述预设值为所述第一设备划分的分屏区域个数的最大值;
    所述第一设备将所述预设值从N依次递减至1得到N个分屏数;
    所述第一设备根据每一个分屏数划分屏幕并得到对应的分屏方式,分屏方式的集合包括分屏数为N、分屏数为N-1至分屏数为1的多种分屏方式;
    对每种分屏方式下的多个分屏区域分别进行编号。
  3. 根据权利要求2所述的方法,其特征在于,所述方法还包括:
    若所述第一媒体信息个数和所述第二媒体信息的个数之和大于所述预设值,则根据用户指令或优先级规则确定第一编号;
    所述第一设备停止所述第一编号对应的分屏区域内的媒体信息显示;
    所述第一设备将所述第一媒体信息显示在所述第一编号对应的分屏区域内。
  4. 根据权利要求3所述的方法,其特征在于,所述第一设备接收第二设备发送的投屏请求之前,所述方法还包括:
    所述第一设备接收第三设备推送的第二媒体信息;
    若所述接收的媒体信息的个数小于等于所述预设值,根据所述第二媒体信息的个数确定对应的分屏方式;
    根据所述确定的分屏方式在分屏区域内显示所述第二媒体信息,确定的所述分屏方式下分屏区域的个数等于所述第二媒体信息的个数;
    若所述接收的媒体信息的个数大于所述预设值,则拒绝第一时间点之后的投屏请求,所述第一时间点为接收的媒体信息的个数等于所述预设值时。
  5. 根据权利要求1至4中任一项所述的方法,其特征在于,所述第一设备根据所述分屏方式在所述分屏区域中显示所述第一媒体信息以及所述第二媒体信息之后,所述方法还包括:
    若所述第一设备接收到投屏结束请求,则所述第一设备关闭所述投屏结束请求指示的媒体信息的显示;
    所述第一设备将所述多个分屏区域对应的分屏数减1得到新的分屏数;
    所述第一设备根据所述新的分屏数从所述分屏方式的集合中重新确定新的分屏方式;
    所述第一设备根据所述新的分屏方式将剩余的媒体信息进行显示。
  6. 根据权利要求5所述的方法,其特征在于,所述第一设备关闭所述投屏结束请求对应的媒体信息显示之后,所述方法还包括:
    若第一媒体信息个数和第二媒体信息的个数之和为0,则所述第一设备退出投屏模式。
  7. 根据权利要求3所述的方法,其特征在于,所述根据优先级规则确定第一编号包括:
    确定第一分屏区域内媒体信息的第一显示时长;
    确定第二分屏区域内媒体信息的第二显示时长;
    根据所述第一显示时长和所述第二显示时长确定时长较长的分屏区域对应的编号为第一编号。
  8. 根据权利要求1至7所述的方法,其特征在于,所述分屏区域的规格包括所述分屏区域的大小和位置。
  9. 一种媒体信息显示装置,其特征在于,所述装置包括:
    接收模块,用于接收第二设备发送的投屏请求;
    处理模块,用于根据所述投屏请求获取第一媒体信息的个数和第二媒体信息的个数,所述第一媒体信息为第二设备推送的待显示媒体信息,所述第二媒体信息为已在所述第一设备上进行显示的媒体信息;
    处理模块,用于当所述第一媒体信息个数和第二媒体信息的个数之和小于或等于预设值时,根据所述第一媒体信息个数和所述第二媒体信息的个数之和,确定所述第一设备的分屏方式,所述分屏方式用于指示划分的分屏区域个数以及每个分屏区域的规格,所述分屏区域个数等于所述第一媒体信息个数和所述第二媒体信息的个数之和;
    显示模块,用于根据所述分屏方式在所述分屏区域中显示所述第一媒体信息以及所述第二媒体信息。
  10. 根据权利要求9所述的装置,其特征在于,所述处理模块还用于:
    通过接收用户的指令设置预设值N;
    将所述预设值从N依次递减至1得到N个分屏数;
    根据每一个分屏数划分屏幕并得到对应的分屏方式,分屏方式的集合包括分屏数为N、分屏数为N-1至分屏数为1的多种分屏方式;
    对每种分屏方式下的分屏区域分别进行编号。
  11. 根据权利要求10所述的装置,其特征在于,所述处理模块还用于:
    当所述第一媒体信息个数和所述第二媒体信息的个数之和大于所述预设值时,根据用户指令或优先级规则确定第一编号;
    停止所述第一编号对应的分屏区域内的媒体信息显示;
    将所述第一媒体信息显示在所述第一编号对应的分屏区域内。
  12. 根据权利要求11所述的装置,其特征在于,
    所述接收模块,还用于接收第三设备推送的第二媒体信息;
    所述处理模块,还用于当所述接收的媒体信息的个数小于等于所述预设值时,根据所述第二媒体信息的个数确定对应的分屏方式;
    所述显示模块,还用于根据所述确定的分屏方式在分屏区域内显示所述第二媒体信息,确定的所述分屏方式下分屏区域的个数等于所述第二媒体信息的个数;
    所述处理模块,用于当所述接收的媒体信息的个数大于所述预设值时,拒绝第一时间点之后的投屏请求,所述第一时间点为接收的媒体信息的个数等于所述预设值时。
  13. 根据权利要求9至12中任一项所述的装置,其特征在于,所述装置还包括:
    所述处理模块,还用于当所述第一设备接收到投屏结束请求时,停止所述投屏结束请求指示的媒体信息的显示;
    所述处理模块,还用于将当前分屏数减1得到新的分屏数;
    所述处理模块,还用于根据所述新的分屏数从所述分屏方式的集合中重新确定分屏方式;
    所述显示模块,还用于根据所述分屏方式将剩余的媒体信息进行显示。
  14. 根据权利要求13所述的装置,其特征在于,所述处理模块还用于:
    当第一媒体信息个数和第二媒体信息的个数之和为0时,退出投屏模式。
  15. 根据权利要求11所述的装置,其特征在于,所述处理模块还用于:
    确定第一分屏区域内媒体信息的第一显示时长;
    确定第二分屏区域内媒体信息的第二显示时长;
    根据所述第一显示时长和所述第二显示时长确定时长较长的分屏区域对应的编号为第一编号。
  16. 一种包含指令的计算机程序产品,其特征在于,当所述计算机程序产品在计算机上运行时,使得计算机执行如权利要求1至8中任意一项所述的媒体信息显示方法。
  17. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述权利要求1至8中任一所述的媒体信息显示方法。
PCT/CN2018/093261 2018-06-28 2018-06-28 一种媒体信息显示方法及媒体信息显示装置 WO2020000291A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2018/093261 WO2020000291A1 (zh) 2018-06-28 2018-06-28 一种媒体信息显示方法及媒体信息显示装置
CN201880093131.5A CN112075074A (zh) 2018-06-28 2018-06-28 一种媒体信息显示方法及媒体信息显示装置

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/093261 WO2020000291A1 (zh) 2018-06-28 2018-06-28 一种媒体信息显示方法及媒体信息显示装置

Publications (1)

Publication Number Publication Date
WO2020000291A1 true WO2020000291A1 (zh) 2020-01-02

Family

ID=68985656

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/093261 WO2020000291A1 (zh) 2018-06-28 2018-06-28 一种媒体信息显示方法及媒体信息显示装置

Country Status (2)

Country Link
CN (1) CN112075074A (zh)
WO (1) WO2020000291A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438535A (zh) * 2021-06-23 2021-09-24 深圳康佳电子科技有限公司 一种多窗口显示方法、装置、终端设备及存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112969081B (zh) * 2021-02-10 2023-05-30 深圳创维-Rgb电子有限公司 一种电视分屏投屏方法、***及智能电视
CN114302204B (zh) * 2021-05-21 2023-03-24 海信视像科技股份有限公司 一种分屏播放方法及显示设备
CN114461159B (zh) * 2021-12-31 2024-04-09 惠州华阳通用电子有限公司 一种投屏控制方法

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104020968A (zh) * 2013-02-28 2014-09-03 中兴通讯股份有限公司 控制共享屏幕显示的方法及装置
CN106358319A (zh) * 2016-11-03 2017-01-25 努比亚技术有限公司 一种无线投影装置、***及方法
US20180074779A1 (en) * 2016-09-15 2018-03-15 Dell Products L.P. Multi-user display collaboration system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102595239B (zh) * 2012-02-24 2015-02-04 深圳创维-Rgb电子有限公司 一种终端***的多屏互动方法、装置及智能电视机
CN103324457B (zh) * 2013-06-21 2016-09-21 东莞宇龙通信科技有限公司 终端和多任务数据显示方法
CN104571801B (zh) * 2013-10-28 2019-06-25 联想(北京)有限公司 一种信息处理方法及电子设备
CN106534959B (zh) * 2016-10-11 2019-09-10 北京小米移动软件有限公司 直播视频的处理方法及装置

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104020968A (zh) * 2013-02-28 2014-09-03 中兴通讯股份有限公司 控制共享屏幕显示的方法及装置
US20180074779A1 (en) * 2016-09-15 2018-03-15 Dell Products L.P. Multi-user display collaboration system
CN106358319A (zh) * 2016-11-03 2017-01-25 努比亚技术有限公司 一种无线投影装置、***及方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113438535A (zh) * 2021-06-23 2021-09-24 深圳康佳电子科技有限公司 一种多窗口显示方法、装置、终端设备及存储介质

Also Published As

Publication number Publication date
CN112075074A (zh) 2020-12-11

Similar Documents

Publication Publication Date Title
WO2020000291A1 (zh) 一种媒体信息显示方法及媒体信息显示装置
US11962840B2 (en) Services over wireless communication with high flexibility and efficiency
US9648073B2 (en) Streaming control for real-time transport protocol
EP2640100B1 (en) Method and apparatus for providing an enhanced wi-fi display session in a wi-fi display network
EP3745731B1 (en) Streaming policy management system and method
EP2929694B1 (en) Method and system for streaming multimedia contents in a wi-fi network
US10628172B2 (en) Systems and methods for using distributed universal serial bus (USB) host drivers
CN111984215A (zh) 多媒体数据播放方法、终端及存储介质
WO2013063941A1 (zh) 家庭网络中dlna终端的屏幕共享方法及***
EP3269125B1 (en) Method for maintaining a persistent miracast session over wireless link
WO2023020008A1 (zh) 控制投屏的方法、电子设备及计算机可读存储介质
CN105430482A (zh) 一种多屏互动方法及终端设备
WO2017075956A1 (zh) 内容投射方法及移动终端
WO2016197654A1 (zh) 一种投影终端及其实现多终端同屏投影的方法
CN112153457A (zh) 无线投屏连接方法、装置、计算机存储介质及电子设备
US20220286731A1 (en) Multimedia apparatus and cast method
KR20140146004A (ko) 무선 통신 시스템에서 어플리케이션 데이터를 디스플레이하기 위한 방법 및 장치
KR102162360B1 (ko) 사용자 단말장치, 사용자 단말장치의 구동방법 및 컴퓨터 판독가능 기록매체
WO2017092323A1 (zh) 一种主控设备、播放设备,及其数据传输方法
US11758594B2 (en) Communication apparatus, method of controlling the same, and storage medium
CN115379279B (zh) 多屏联动的交互方法及装置、***、存储介质、电子设备
WO2023005880A1 (zh) 音频控制方法、电子设备、音频设备和存储介质
US9253743B2 (en) Systems and methods for reduced latency and improved beacon reception in devices capable of providing multiple wireless interfaces via a single radio
WO2015169005A1 (zh) 共享屏幕和操作控制的方法、***和主共享端
US9509735B2 (en) Apparatuses and methods for selecting a transport control mechanism

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18924228

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18924228

Country of ref document: EP

Kind code of ref document: A1