WO2022237282A1 - 播放节目的方法、电子设备及存储介质 - Google Patents

播放节目的方法、电子设备及存储介质 Download PDF

Info

Publication number
WO2022237282A1
WO2022237282A1 PCT/CN2022/078699 CN2022078699W WO2022237282A1 WO 2022237282 A1 WO2022237282 A1 WO 2022237282A1 CN 2022078699 W CN2022078699 W CN 2022078699W WO 2022237282 A1 WO2022237282 A1 WO 2022237282A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
program
earphones
sound
worn
Prior art date
Application number
PCT/CN2022/078699
Other languages
English (en)
French (fr)
Inventor
张吉成
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022237282A1 publication Critical patent/WO2022237282A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4126The peripheral being portable, e.g. PDAs or mobile phones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4333Processing operations in response to a pause request
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • H04N21/43637Adapting the video stream to a specific local network, e.g. a Bluetooth® network involving a wireless protocol, e.g. Bluetooth, RF or wireless LAN [IEEE 802.11]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams

Definitions

  • the invention relates to the technical field of electronic equipment, in particular to a method for playing programs, electronic equipment and storage media.
  • multiple applications of electronic devices can be displayed on the screen at the same time.
  • a TV can realize multiple screens to be played at the same time through screen projection and other methods.
  • Embodiments of the present invention provide a method for playing programs, electronic equipment, and storage media, which are used to intelligently identify the corresponding positional relationship between users and programs, thereby judging the user's preference for currently displayed program videos, thereby playing corresponding programs, and improving the user experience. experience.
  • the first aspect of the present application provides a method for playing a program, the method is applied to an electronic device, and may include:
  • the sound of at least one program is output.
  • the second aspect of the present application provides an electronic device, which may include:
  • the processing module is configured to output the sound of at least one program according to the positional relationship between the user and the multiple programs.
  • the third aspect of the present application provides an electronic device, which may include:
  • the transceiver and the processor invoke the executable program code stored in the memory to execute the method as described in the first aspect of the present application.
  • Yet another aspect of the embodiments of the present application provides a computer-readable storage medium, including instructions, which, when run on a processor, cause the processor to execute the method described in the first aspect of the present application.
  • Still another aspect of the embodiments of the present invention discloses a computer program product, when the computer program product is run on a computer, the computer is made to execute the method described in the first aspect of the present application.
  • Still another aspect of the embodiments of the present invention discloses an application release platform, the application release platform is used to release computer program products, wherein, when the computer program products run on a computer, the computer is made to execute the first aspect of the present application the method described.
  • the sound of at least one program is output according to the positional relationship between the user and multiple programs, and the corresponding positional relationship between the user and the program can be intelligently identified, thereby judging the user's preference for the currently displayed program video, and playing the corresponding Programs; and will not cause audio confusion due to simultaneous playback, thereby improving user experience.
  • FIG. 1 is a schematic diagram of an embodiment of a method for simultaneously playing multiple programs in an embodiment of the present application
  • Fig. 2 is a schematic diagram of simultaneously playing multiple programs and outputting program sounds in the embodiment of the present application
  • Fig. 3 is a schematic diagram of simultaneously playing multiple programs and outputting program sounds in the embodiment of the present application
  • Fig. 4 is a schematic diagram of playing multiple programs simultaneously and outputting program sounds in the embodiment of the present application
  • Fig. 5 is a schematic diagram of playing multiple programs simultaneously and outputting program sounds in the embodiment of the present application
  • Fig. 6 is a schematic diagram of playing multiple programs simultaneously and outputting program sounds in the embodiment of the present application.
  • FIG. 7 is a schematic diagram of an embodiment of the electronic device in the embodiment of the present application.
  • FIG. 8 is a structural block diagram of an electronic device in an embodiment of the present application.
  • Embodiments of the present invention provide a method for playing programs, electronic equipment, and storage media, which are used to intelligently identify the corresponding positional relationship between users and programs, thereby judging the user's preference for currently displayed program videos, thereby playing corresponding programs, and improving the user experience. experience.
  • electronic equipment supports multi-program playback, for example, it supports 2-4 mobile phones to be displayed on the TV at the same time, so that one TV can display the screens of 2-4 mobile phones at the same time, and all the screens are sounded through the TV speakers at the same time, or There is no sound at the same time, or only one picture is sounded; or, multiple application programs on the TV are played at the same time.
  • the mobile phone and the TV establish a point-to-point connection based on Miracast or other proprietary protocols, and the mobile phone screen is mirrored to the TV for display.
  • the TV is displayed in different arrangements based on the number of screen-casting devices, and a certain screen is manually selected to produce sound.
  • multiple programs can be watched on one TV, all screens are muted or all voiced. If there is no voice, the sound of the projection screen cannot be heard. If all voices are voiced, the voices will interfere with each other.
  • the electronic device used in the embodiment of the present application may be a TV, a computer, a tablet computer (Pad), or other devices that support multi-program playback.
  • a television is taken as an example, wherein the television may include but not limited to the following components: 1. Display; such as a cathode ray tube (Cathode Ray Tube, CRT) or a liquid crystal display (abbreviation of Liquid Crystal Display, LCD) Or plasma display panel (Plasma Display Panel, PDP), used to display images. 2. Loudspeaker; that is, loudspeaker. 3. Display drive circuit; such as field input circuit or deflection coil. 4. Audio amplifier circuit. 5. Image processing circuit; process the video signal and send it to the display driver part. 6. The whole TV signal processing part; the signal demodulation process is amplified to obtain the image signal and sound signal. 7. Tuner. 8. Signal source conversion circuit; that is, the circuit corresponding to each input and output port. 9. Control part; including the remote control part. 10. Power supply. For example, the 220V AC power supply is transformed, rectified and stabilized to obtain the voltage required by each part.
  • CTR cathode Ray Tube
  • LCD liquid crystal display
  • FIG. 1 it is a schematic diagram of an embodiment of the method for playing a program in the embodiment of the application. This method is applied to electronic equipment.
  • the embodiment of the application is based on The electronic device is illustrated by taking a TV as an example, which may include:
  • the TV outputs the sound of at least one program according to the positional relationship between the user and the multiple programs. It is understandable that the TV can intelligently identify the positional relationship between the user and the program, thereby judging the user's preference for the currently displayed program video, and then play the corresponding program; and it will not cause audio mixing due to simultaneous playback, thereby improving user experience.
  • the above scheme may include steps 101-103, as follows:
  • the television recognizes whether the user is wearing earphones.
  • the TV when the TV is playing multiple programs at the same time, the TV identifies whether there is one or more users wearing earphones through the TV camera.
  • other camera equipment can also be placed around the TV, which can shoot or record the user watching the TV.
  • home robots, etc. send pictures or recorded videos to the TV by taking pictures or video, and the TV recognizes whether there are one or more users wearing earphones according to the received pictures or videos.
  • a TV can play 1-channel, 2-channel, 3-channel or 4-channel TV program images, etc., and the sound of each TV program image is output through their respective connections.
  • the sound output mode of different TV program screens also supports manual setting, which can manually set specific TV program screens to produce sound, and each TV program screen to output sound through which device (such as earphones or TV speakers).
  • the multiple programs include at least one of contents of different applications in the electronic device and contents projected by other electronic devices. That is, the screen of the program played on the TV can be the content of different applications on the TV, or the content projected by other electronic devices, or a combination of the projected content and the content of the TV's own application.
  • Screen projection in this application can be understood as sending the screen content of electronic devices such as mobile phones, tablets, and watches to the TV for display through network protocols.
  • other electronic devices may be mobile phones (Mobile Phone), tablet computers (Pad), computers with wireless transceiver functions, virtual reality (Virtual Reality, VR) terminal equipment, augmented reality (Augmented Reality, AR) Terminal equipment, wireless terminal equipment in industrial control, wireless terminal equipment in self driving, wireless terminal equipment in remote medical, wireless terminal in smart grid equipment, wireless terminal equipment in transportation safety, wireless terminal equipment in smart city, or wireless terminal equipment in smart home.
  • virtual reality Virtual Reality, VR
  • AR Augmented Reality, AR Terminal equipment
  • wireless terminal equipment in industrial control wireless terminal equipment in self driving
  • wireless terminal equipment in remote medical wireless terminal equipment in smart grid equipment
  • wireless terminal equipment in transportation safety wireless terminal equipment in smart city, or wireless terminal equipment in smart home.
  • the TV recognizes whether the user wears the headset, the TV establishes a connection with the headset.
  • a connection may be a wired connection or a wireless connection, which is not specifically limited.
  • the headset worn by the user establishes a connection with the TV through Bluetooth or other wireless protocols (such as the OAF protocol)
  • the sound of the TV program picture can be transmitted to the headset in real time.
  • the TV can be connected to one or more (2, 3 or 4 etc.) headphones.
  • the earphone in this application has a positioning function.
  • outputting the sound of the corresponding programs through the earphones worn by the user according to the positional relationship between the user and multiple programs may include:
  • the electronic device When the electronic device is playing the multiple programs at the same time, if it is recognized that multiple users are wearing earphones, then according to the positional relationship between the multiple users and the multiple programs, through earphones worn by the multiple users The headphone outputs the sound of the corresponding program.
  • the viewer's position can be identified by the TV camera, and the sound of which TV program picture the earphone listens to is determined according to the distance between the viewer's position and the TV program picture. Specifically, if the viewer's location is close to which TV program picture, the sound of the TV program picture near the distance is output through the earphones worn by the viewer.
  • outputting the sound of the corresponding program through the headphones worn by the user according to the positional relationship between the user and the multiple programs may include: if it is recognized that a user is wearing Earphones, according to the positional relationship between the user and multiple programs, output the sound of the latest program through the earphone worn by the user, and pause or mute other programs, or randomly select a program from other programs to play through the loudspeaker.
  • outputting the sound of the corresponding program through the earphone worn by the user according to the positional relationship between the user and the multiple programs may include: if only one user is identified , and the one user wears earphones, then according to the positional relationship between the one user and multiple programs, the sound of the latest program is output through the earphone worn by the one user, and other programs are paused or muted.
  • the TV may enlarge and play the picture of the program closest to the user. Because if only one user is watching a TV program, if the picture of the closest program is enlarged for playback, the user's viewing experience will be better.
  • outputting the sound of the corresponding program through the earphones worn by the multiple users respectively includes: If it is recognized by the camera that multiple users are wearing earphones, according to the positional relationship between the multiple users and the multiple programs, output the sound of the corresponding program through the earphones worn by the multiple users.
  • the camera here may be a TV camera, or a camera of other electronic devices, which is not specifically limited here.
  • the multiple users include a first user and a second user
  • the multiple programs include a third program and a fourth program; if it is identified that multiple users wear headphones, then according to the multiple users
  • the positional relationship with the multiple programs, outputting the sound of the corresponding programs through the earphones worn by the multiple users may include but not limited to the following implementations:
  • the second user and the second user are on the same side. If the fourth program is on the same side, the sound of the third program is output through the earphone worn by the first user, and the sound of the fourth program is output through the earphone worn by the second user.
  • the first user is on the same side as the third program, which can be understood as the distance between the first user and the screen of the third program is short
  • the second user is on the same side as the fourth program, which can be understood as the second user
  • the distance to the screen of the fourth program is short. Therefore, in Implementation Mode 1, it can be understood that which earphone outputs the sound of which TV program picture is located by the camera of the TV, and the sound of which TV program picture is output when the user's head is closer to the center of the TV program picture.
  • FIG. 2 it is a schematic diagram of playing multiple programs simultaneously and outputting program sounds in the embodiment of the present application.
  • two programs are played on the TV at the same time, one is a movie program and the other is a game program. Both of them wear earphones that have been connected to the TV, respectively on the left and right sides of the TV, and the sound of the TV program screen is output through the earphones connected to each other. That is, the sound of the TV program on the left is output through the earphone worn by the left user, and the sound of the TV program on the right is output through the earphone worn by the right user. Therefore, both of them wear earphones, and they can listen to the sound of the corresponding TV program through their respective earphones. ; So as to realize that two people watch different programs, and the sounds of the respective programs do not affect each other.
  • the first user and the second user are wearing headphones, and the first user and the second user are on the same side as the third program, Then output the sound of the third program through the earphones worn by the first user and the earphones worn by the second user, and mute or pause playing the fourth program.
  • FIG. 3 it is a schematic diagram of playing multiple programs simultaneously and outputting program sounds in the embodiment of the present application.
  • two programs are played on the TV at the same time, one is a movie program and the other is a game program.
  • the game program on the right is muted or paused, and the sound of the movie program on the left is output through the headphones connected to the TV worn by the two people. That is, if two people are sitting on the left (or right) side of the TV, then the two people can listen to the sound of the TV screen on the left (or right side) at the same time. In this way, it is realized that two people watch different programs, and the sounds of the respective programs do not affect each other.
  • FIG. 4 it is a schematic diagram of playing multiple programs simultaneously and outputting program sounds in the embodiment of the present application.
  • the TV broadcasts two programs at the same time, one is a movie program and the other is a game program.
  • Both of them wear earphones that have been connected to the TV at the beginning, and they can listen to the sound of the corresponding TV program screen through the earphones they wear; but when the TV camera detects that one of them takes off the earphones, the corresponding TV program screen on the side where the earphones are taken off Mute or pause or play through the TV speakers and another TV program picture continues sending sound to the other person's headphones. In this way, it is realized that two people watch different programs, and the sounds of the respective programs have little influence on each other.
  • FIG. 5 it is a schematic diagram of playing multiple programs simultaneously and outputting program sounds in the embodiment of the present application.
  • the TV broadcasts two programs at the same time, one is a movie program and the other is a game program.
  • Both of them wear earphones that have been connected to the TV at the beginning, but when the TV camera detects that one of them takes off the earphones, the corresponding TV program picture on the side where the earphones are taken off is muted or paused, and the other TV program picture is sounded through the speaker. Meanwhile, continue sending sound to the other person's headset. In this way, it is realized that two people watch different programs, and the sounds of the respective programs do not affect each other.
  • outputting the sound of the corresponding programs through the earphones worn by the user according to the positional relationship between the user and multiple programs may include:
  • the electronic device plays the multiple programs at the same time, if it is recognized that multiple users are wearing earphones, then according to the positional relationship between the multiple users and the multiple programs, in response to the operation of selecting earphones, select the multiple The earphones worn by the users respectively output the sound of the corresponding program; or,
  • the electronic device plays the multiple programs at the same time, if it is recognized that multiple users are wearing earphones, then according to the positional relationship between the multiple users and the multiple programs, in response to the operation of selecting earphones, select the multiple The earphones worn by the users respectively output the sound of the corresponding program.
  • the earphone does not have a positioning function, so the user needs to make an operation selection, so that the corresponding program audio data can be played in response to the operation of selecting the earphone, which can be the selection operation performed by the user on the TV, or It can be a selection operation performed by the user on the earphone (for example: pressing a selection control, voice control, etc.), and then the earphone sends the selection command to the TV, or it can be other selection methods, which are not specifically limited here.
  • the earphone worn by the user in response to the user's selection operation, select the earphone worn by the user to output the sound of the corresponding program, which may include: if identifying When the first user and the second user wear earphones, in response to the selection operation of playing the third program through the earphones worn by the first user, output the third program through the earphones worn by the first user In response to the selection operation of playing the fourth program through the earphone worn by the second user, the sound of the fourth program is output through the earphone worn by the second user, wherein the first user and the The third program is on the same side, and the second user is on the same side as the fourth program.
  • the operation of selecting the earphone in response may further include but not limited to the following implementations:
  • the first user and the second user are wearing earphones, and the first user and the second user are on the same side as the third program, then respond to the first user and the second user
  • the earphones worn by the second user play the selection operation of the third program, output the sound of the third program through the earphones worn by the first user and the earphones worn by the second user, and mute or pause the playback of the third program. Describe the fourth program.
  • the user If it is recognized that the user is not wearing an earphone, play a first program audibly, the distance between the first program and the user is the shortest, and the plurality of programs include the first program.
  • playing the first program out loud includes: when the electronic device plays the multiple programs at the same time, the multiple programs include at least the first program and the second program, if it is recognized that the user is not wearing headphones and the distance between the first program and the user is smaller than the distance between the second program and the user, then the first program will be played audibly, and the sound will be muted or paused The second program. That is, it can also be understood that if it is recognized that the user is not wearing earphones, then the first program is played audibly, and the distance between the first program and the user is the shortest.
  • the second program may include: if it is recognized that multiple users are not wearing headphones, the multiple users include the first user and the second user, and the first user and the second user are related to the first user.
  • the programs are on the same side, the sound of the first program is played through the loudspeaker, and the second program is muted or paused.
  • playing the first program audibly may include: if it is recognized that the user is not wearing earphones, playing the first program through a speaker or sound box.
  • playing the first program through a speaker or a speaker may include: if it is recognized that the user is not wearing an earphone, then amplifying the playing screen of the first program, and playing the first program through a speaker or a speaker. a show.
  • the TV plays two programs at the same time, and if only one person is watching the TV is detected by the TV camera, the screen of the TV program closest to the person will play sound, and the screen of the other TV program will be muted or paused.
  • FIG. 6 it is a schematic diagram of playing multiple programs simultaneously and outputting program sounds in the embodiment of the present application.
  • the TV broadcasts two programs at the same time, that is, one person watches two programs, one is a movie program and the other is a game program.
  • the picture of the TV program closest to the person is played audibly through the loudspeaker, and the picture of the other TV program is muted or paused.
  • pause of playback in this embodiment of the present application can also be understood as stop of playback.
  • the TV outputs the sound of at least one program according to the positional relationship between the user and the multiple programs.
  • it may include: the television recognizes whether the user is wearing earphones, and if it is recognized that the user is wearing earphones, output the sound of the corresponding program through the earphones worn by the user according to the positional relationship between the user and the multiple programs; if If it is recognized that the user is not wearing an earphone, the first program is played audibly, the distance between the first program and the user is the shortest, and the plurality of programs include the first program.
  • the sound of at least one program is output, and different users can watch corresponding different programs, and the sounds of different programs will not interfere with each other, thereby improving the user experience. experience.
  • the viewer is wearing earphones through the TV camera, and according to whether the viewer is wearing earphones, determine whether the TV program is muted or paused or output sound through the earphones. It can also identify the audience's position through the TV camera, and determine which TV program screen the earphone listens to according to the distance between the audience's location and the TV program screen, so that multiple people can watch different programs, and can switch to listen to another TV program screen at any time voice, you can watch individually, or watch the same exciting TV program together at any time. It is also possible to identify whether one person is watching or many people are watching through the TV camera. When it is detected that one person is watching, only the sound of one TV program picture will be output, that is, the picture near the person will produce sound, and the other TV program picture will be muted or paused.
  • the TV realizes the program interface of different applications on one TV at the same time, enables multiple people to watch different programs at the same time on one TV or one person watches multiple programs at the same time, and solves the scene where family members have different opinions on watching TV.
  • family members have different opinions on watching TV, they can watch two or more different programs at the same time, and the sound can not interfere with each other.
  • the same person can also watch different programs at the same time, and the sounds of different programs will not interfere with each other.
  • FIG. 7 it is a schematic diagram of an embodiment of the electronic device in the embodiment of the present application, which may include:
  • the processing module 701 is configured to output the sound of at least one program according to the positional relationship between the user and the multiple programs.
  • the processing module 701 is specifically configured to, if it is recognized that the user is wearing headphones, output the sound of the corresponding program through the headphones worn by the user according to the positional relationship between the user and multiple programs; earphone, then audibly play the first program, the distance between the first program and the user is the shortest, and the plurality of programs include the first program.
  • the processing module 701 is specifically configured to, when the electronic device is playing the multiple programs at the same time, if it is recognized that the user is wearing earphones, according to the positional relationship between the user and the multiple programs, through the user The earphones worn output the sound of the corresponding program.
  • the processing module 701 is specifically configured to, when the electronic device plays the multiple programs at the same time, the multiple programs include at least the first program and the second program, if it is recognized that the user is not wearing headphones , the distance between the first program and the user is smaller than the distance between the second program and the user, the first program is played aloud, and the second program is muted or paused.
  • the processing module 701 is specifically configured to, if it is recognized that multiple users are not wearing earphones, the multiple users include a first user and a second user, and the first user and the second user are related to the The first program is on the same side, the sound of the first program is played through the loudspeaker, and the second program is muted or paused.
  • the processing module 701 is specifically configured to, if it is recognized that multiple users are wearing earphones, respond to the operation of selecting earphones according to the positional relationship between the multiple users and multiple programs, and select earphones worn by each of the multiple users.
  • the headphone outputs the sound of the corresponding program.
  • the processing module 701 is specifically configured to, if it is recognized that multiple users are wearing headphones, output corresponding programs through the headphones worn by the multiple users according to the positional relationship between the multiple users and the multiple programs the sound of.
  • the multiple users include a first user and a second user
  • the multiple programs include a third program and a fourth program
  • the processing module 701 is specifically configured to, if it is recognized that the first user and the second user are wearing earphones, and the first user and the third program are on the same side, the second user and the fourth program If the programs are on the same side, the sound of the third program is output through the earphone worn by the first user, and the sound of the fourth program is output through the earphone worn by the second user.
  • the multiple users include a first user and a second user
  • the multiple programs include a third program and a fourth program
  • the processing module 701 is specifically configured to, if it is recognized that the first user and the second user are wearing earphones, and the first user and the second user are on the same side as the third program, then pass the The earphone worn by the first user and the earphone worn by the second user output the sound of the third program, and mute or pause playing the fourth program.
  • the multiple users include a first user and a second user
  • the multiple programs include a third program and a fourth program
  • the processing module 701 is specifically configured to output the third program through the earphone worn by the first user if it is recognized that the first user is wearing an earphone, and the first user is on the same side as the third program sound; if it is recognized that the second user wears the earphone and takes off the earphone, and the second user is on the same side as the fourth program, then mute or pause or play the fourth program through the speaker; or,
  • the processing module 701 is specifically configured to, if it is recognized that the first user is wearing earphones, and the first user is on the same side as the third program, then output the the sound of the third program; if it is recognized that the second user wears the earphone and takes off the earphone, and the second user is on the same side as the fourth program, mute or pause playing the fourth program.
  • the multiple users include a first user and a second user
  • the multiple programs include a third program and a fourth program
  • the processing module 701 is specifically configured to output the sound of the third program through the speaker if it is recognized that the first user is wearing earphones, and the first user is on the same side as the third program, and through the The earphone worn by the first user outputs the sound of the third program; if it is recognized that the second user wears the earphone and takes off the earphone, and the second user is on the same side as the fourth program, mute or pause the sound Play the fourth program.
  • the processing module 701 is specifically configured to, if it is recognized by the camera that multiple users are wearing earphones, according to the positional relationship between the multiple users and the multiple programs, output the Corresponds to the sound of the program.
  • the processing module 701 is specifically configured to, if it is recognized that the user is wearing earphones, according to the positional relationship between the user and the multiple programs, in response to the user's selection operation, select the earphones worn by the user to output the corresponding program. sound.
  • the multiple programs include at least one of contents of different applications in the electronic device and contents projected by other electronic devices.
  • the processing module 701 is also configured to establish a connection with the earphone.
  • FIG. 8 it is a schematic diagram of another embodiment of the electronic device in the embodiment of the present application, which may include:
  • a memory 801 storing executable program codes
  • processor 802 coupled to the memory 801;
  • the processor 802 invokes the executable program code stored in the memory 801 to perform the following steps:
  • the sound of at least one program is output.
  • the processor 802 invokes the executable program code stored in the memory 801, specifically for performing the following steps:
  • the first program is played audibly, the distance between the first program and the user is the shortest, and the plurality of programs include the first program.
  • the processor 802 calls the executable program code stored in the memory 801, specifically for performing the following steps: when the electronic device plays the multiple programs at the same time, if it is recognized that the user is wearing earphones, then According to the positional relationship between the user and the multiple programs, output the sound of the corresponding programs through the earphone worn by the user.
  • the processor 802 calls the executable program code stored in the memory 801, specifically for performing the following steps: when the electronic device plays the multiple programs at the same time, the multiple programs at least include the The first program and the second program, if it is recognized that the user is not wearing headphones, and the distance between the first program and the user is smaller than the distance between the second program and the user, the first program will be played audibly, and the sound will be muted. Or pause playing the second program.
  • the processor 802 calls the executable program code stored in the memory 801, specifically for performing the following steps: if it is recognized that multiple users are not wearing earphones, the multiple users include the first user and the second user , and the first user and the second user are on the same side as the first program, the sound of the first program is played through the speaker, and the sound of the second program is muted or paused.
  • the processor 802 calls the executable program code stored in the memory 801, which is specifically used to perform the following steps: if it is identified that multiple users are wearing earphones, then according to the positional relationship between the multiple users and multiple programs, , in response to the operation of selecting the earphones, select the earphones worn by the multiple users to output the sound of the corresponding program.
  • the processor 802 calls the executable program code stored in the memory 801, which is specifically used to perform the following steps: if it is identified that multiple users wear earphones, then according to the multiple users and the multiple programs, Positional relationship, the sound of the corresponding program is output through the earphones worn by the multiple users.
  • the multiple users include a first user and a second user
  • the multiple programs include a third program and a fourth program
  • the processor 802 calls the executable program code stored in the memory 801, specifically using Then perform the following steps: if it is recognized that the first user and the second user are wearing earphones, and the first user is on the same side as the third program, the second user is on the same side as the fourth program On the same side, the sound of the third program is output through the earphone worn by the first user, and the sound of the fourth program is output through the earphone worn by the second user.
  • the multiple users include a first user and a second user
  • the multiple programs include a third program and a fourth program
  • the processor 802 calls the executable program code stored in the memory 801, specifically using Then perform the following steps: if it is recognized that the first user and the second user are wearing earphones, and the first user and the second user are on the same side as the third program, then through the first The earphone worn by the user and the earphone worn by the second user output the sound of the third program, and mute or pause playing the fourth program.
  • the multiple users include a first user and a second user
  • the multiple programs include a third program and a fourth program
  • the processor 802 calls the executable program code stored in the memory 801, specifically using To perform the following steps:
  • the first user is wearing earphones, and the first user is on the same side as the third program, output the sound of the third program through the earphones worn by the first user; After the second user wears the earphones and takes off the earphones, and the second user is on the same side as the fourth program, mute or pause or play the fourth program through the speaker, or,
  • the first user is wearing earphones, and the first user is on the same side as the third program, then output the sound of the third program through the earphones worn by the first user and the speaker; If it is recognized that the second user wears the earphone and takes off the earphone, and the second user is on the same side as the fourth program, mute or pause playing the fourth program.
  • the multiple users include a first user and a second user
  • the multiple programs include a third program and a fourth program
  • the processor 802 invokes the executable program code stored in the memory 801, specifically using To perform the following steps:
  • the first user is wearing earphones, and the first user is on the same side as the third program
  • the sound of the third program if it is recognized that the second user wears the earphone and takes off the earphone, and the second user is on the same side as the fourth program, mute or pause playing the fourth program.
  • the multiple programs include at least one of contents of different applications in the electronic device and contents projected by other electronic devices.
  • the processor 802 invokes the executable program code stored in the memory 801, specifically for performing the following step: establishing a connection with the earphone.
  • all or part of them may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server, or data center Transmission to another website site, computer, server, or data center by wired (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.).
  • wired eg, coaxial cable, fiber optic, digital subscriber line (DSL)
  • wireless eg, 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 or a data center integrated with one or more available media.
  • the available medium may be a magnetic medium (such as a floppy disk, a hard disk, or a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a Solid State Disk (SSD)).
  • the disclosed systems, devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
  • the integrated unit is realized in the form of a software function unit and sold or used as an independent product, it can be stored in a computer-readable storage medium.
  • the computer software product is stored in a storage medium , including several instructions to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disc, etc., which can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本发明实施例公开了一种播放节目的方法、电子设备及存储介质,用于智能识别用户与节目对应的位置关系,从而判断用户对目前显示节目视频的喜好倾向,从而播放对应节目,提高用户体验。本申请第一方面提供一种播放节目的方法,所述方法应用于电子设备,可以包括:根据用户与多个节目的位置关系,输出至少一个节目的声音。

Description

播放节目的方法、电子设备及存储介质
本申请要求于2021年05月12日提交中国专利局、申请号为2021105186736、申请名称为“播放节目的方法、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及电子设备技术领域,尤其涉及播放节目的方法、电子设备及存储介质。
背景技术
目前可以实现电子设备的多个应用同时在屏幕显示,比如电视可以通过投屏等方式实现多个画面同时播放。
发明内容
本发明实施例提供了一种播放节目的方法、电子设备及存储介质,用于智能识别用户与节目对应的位置关系,从而判断用户对目前显示节目视频的喜好倾向,从而播放对应节目,提高用户体验。
本申请第一方面提供一种播放节目的方法,所述方法应用于电子设备,可以包括:
根据用户与多个节目的位置关系,输出至少一个节目的声音。
本申请第二方面提供一种电子设备,可以包括:
处理模块,用于根据用户与多个节目的位置关系,输出至少一个节目的声音。
本申请第三方面提供一种电子设备,可以包括:
存储有可执行程序代码的存储器;
与所述存储器耦合的处理器和收发器;
所述收发器和所述处理器调用所述存储器中存储的所述可执行程序代码,用于执行如本申请第一方面所述的方法。
本申请实施例又一方面提供一种计算机可读存储介质,包括指令,当其在处理器上运行时,使得处理器执行本申请第一方面所述的方法。
本发明实施例又一方面公开一种计算机程序产品,当所述计算机程序产品 在计算机上运行时,使得所述计算机执行本申请第一方面所述的方法。
本发明实施例又一方面公开一种应用发布平台,所述应用发布平台用于发布计算机程序产品,其中,当所述计算机程序产品在计算机上运行时,使得所述计算机执行本申请第一方面所述的方法。
本发明实施例至少具有以下优点:
在本申请实施例中,根据用户与多个节目的位置关系,输出至少一个节目的声音,可以智能识别用户与节目对应的位置关系,从而判断用户对目前显示节目视频的喜好倾向,从而播放对应节目;而且不会同时播放导致音频杂糅,从而提高用户体验。
附图说明
为了更清楚地说明本发明实施例技术方案,下面将对实施例和现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,还可以根据这些附图获得其它的附图。
图1为本申请实施例中同时播放多个节目的方法的一个实施例示意图;
图2为本申请实施例中同时播放多个节目,输出节目声音的一个示意图;
图3为本申请实施例中同时播放多个节目,输出节目声音的一个示意图;
图4为本申请实施例中同时播放多个节目,输出节目声音的一个示意图;
图5为本申请实施例中同时播放多个节目,输出节目声音的一个示意图;
图6为本申请实施例中同时播放多个节目,输出节目声音的一个示意图;
图7为本申请实施例中电子设备的一个实施例示意图;
图8为本申请实施例中电子设备的结构框图。
具体实施方式
本发明实施例提供了一种播放节目的方法、电子设备及存储介质,用于智能识别用户与节目对应的位置关系,从而判断用户对目前显示节目视频的喜好倾向,从而播放对应节目,提高用户体验。
为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,都应当属于本发明保护的范围。
在电子设备支持多节目播放的方案中,例如支持2-4个手机同时投屏到电视中显示,实现一台电视同时显示2-4个手机的画面,所有画面同时通过电视扬声器出声,或者同时不出声,或者只有一个画面出声;或者,电视多个应用节目同时播放。手机与电视基于Miracast或者其他私有协议建立点对点连接,将手机画面镜像到电视中显示,电视基于投屏设备的数量以不同的排列方式显示,手动选择某个画面出声音。虽然一个电视可以看多个节目,但是所有画面都不出声或者都出声,都不出声的话就听不到投屏的声音,都出声的话,声音会相互干扰。
在现有技术中,1)虽然一个电视可以看多个节目,但是所有画面都不出声或者都出声,都不出声的话就听不到投屏的声音,都出声的话,声音会相互干扰,而且只适用于手机投屏的场景;2)或者一个电视只能看一个节目,当有多个人想看的节目不一样时,会产生分歧,无法同时满足;3)或者只能有一个画面出声音,其他画面没有声音,观影体验不好。
在本申请实施例中所应用的电子设备,可以是电视、电脑、平板电脑(Pad),也可以其他支持多节目播放的设备。
本申请中以电视为例进行说明,其中,电视可以包括但不限于下述元器件:1、显示器;如阴极射线管(Cathode Ray Tube,CRT)或液晶显示器(Liquid Crystal Display的简称,LCD)或等离子显示板(Plasma Display Panel,PDP),用来显示图像。2、扬声器;即喇叭。3、显示驱动线路;如行场输入电路或偏转线圈。4、音频放大电路。5、图像处理电路;将视频信号进行处理送到显示驱动部分。6、全电视信号处理部分;将信号解调处理放大得到图像信号和声音信号。7、调谐器。8、信号源转换电路;即各输入输出端口对应的电路。9、控制部分;包括遥控部分。10、电源。例如将220V交流电源变压整流稳压得到各部分需要的电压。
下面以实施例的方式,对本申请技术方案做进一步的说明,如图1所示,为本申请实施例中播放节目的方法的一个实施例示意图,该方法应用于电子设备,本申请实施例以电子设备为电视为例进行说明,可以包括:
10、电视根据用户与多个节目的位置关系,输出至少一个节目的声音。可以理解的是,电视可以智能识别用户与节目对应的位置关系,从而判断用户对 目前显示节目视频的喜好倾向,从而播放对应节目;而且不会同时播放导致音频杂糅,从而提高用户体验。
上述方案可以包括步骤101-103,如下所示:
101、电视识别用户是否佩戴耳机。
可选的,在电视同一时间播放多个节目时,识别用户是否佩戴耳机。
可选的,在电视同一时间播放多个节目时,电视通过电视摄像头识别是否存在一个或多个用户佩戴耳机。
可选的,也可以是其他拍照设备,置于电视周围,可以拍摄或录像看电视的用户。例如,家庭机器人等,通过拍照或者摄像方式,将拍摄的图片或者录的视频发送给电视,电视根据接收的图片或视频识别是否存在一个或多个用户佩戴耳机。
可以理解的是,一台电视可以播放1路、2路、3路或者4路电视节目画面等,各个电视节目画面的声音分别通过各自的连接输出。不同电视节目画面的声音的输出方式也支持手动设置,可以手动设置具体几个电视节目画面出声音、以及每个电视节目画面通过什么设备(例如耳机或电视扬声器)出声音等。
可选的,所述多个节目包括所述电子设备中不同应用的内容,以及其他电子设备投屏的内容中的至少一项。即电视播放的节目画面可以是电视不同应用的内容,也可以是其他电子设备投屏的内容,还可以是投屏内容与电视自带应用内容的组合。本申请中的投屏可以理解为将手机、平板、手表等电子设备的屏幕内容通过网络协议发送给电视显示。
在本申请实施例中,其他电子设备可以是手机(Mobile Phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(Virtual Reality,VR)终端设备、增强现实(Augmented Reality,AR)终端设备、工业控制(industrial control)中的无线终端设备、无人驾驶(self driving)中的无线终端设备、远程医疗(remote medical)中的无线终端设备、智能电网(smart grid)中的无线终端设备、运输安全(transportation safety)中的无线终端设备、智慧城市(smart city)中的无线终端设备或智慧家庭(smart home)中的无线终端设备等。
102、若识别到用户佩戴耳机,则根据所述用户与所述多个节目的位置关系,通过所述用户佩戴的耳机输出对应节目的声音。
可以理解的是,在电视识别用户是否佩戴耳机之前,电视与耳机建立连接。比如可以是有线连接,也可以是无线连接,具体不做限定。
示例性的,用户佩戴的耳机,与电视通过蓝牙或者其他无线协议(比如OAF协议)建立连接后,电视节目画面的声音可以实时传输给耳机。电视可以与一副或多副(2、3或4副等)耳机建立连接。
可选的,在下述的一些实施例中,本申请中的耳机具有定位功能。
可选的,所述若识别到用户佩戴耳机,则根据所述用户与多个节目的位置关系,通过所述用户佩戴的耳机输出对应节目的声音,可以包括:
在所述电子设备同一时间播放所述多个节目时,若识别到用户佩戴耳机,则根据所述用户与多个节目的位置关系,通过所述用户佩戴的耳机输出对应节目的声音;或,
若识别到多个用户佩戴耳机,则根据所述多个用户与所述多个节目的位置关系,通过所述多个用户各自佩戴的耳机输出对应节目的声音;或,
在所述电子设备同一时间播放所述多个节目时,若识别到多个用户佩戴耳机,则根据所述多个用户与所述多个节目的位置关系,通过所述多个用户各自佩戴的耳机输出对应节目的声音。
示例性的,即可以通过电视摄像头识别观众的位置,根据观众所在的位置与电视节目画面的距离来确定耳机收听哪个电视节目画面的声音。具体的,观众所在的位置与哪个电视节目画面近,则通过观众所佩戴的耳机输出距离近的电视节目画面的声音。
可选的,所述若识别到用户佩戴耳机,则根据所述用户与所述多个节目的位置关系,通过所述用户佩戴的耳机输出对应节目的声音,可以包括:若识别到一个用户佩戴耳机,则根据该一个用户与多个节目的位置关系,通过该一个用户佩戴的耳机输出最近节目的声音,其他节目暂停播放,或静音播放,或从其他节目中随机选择一个节目通过扬声器播放。
可选的,所述若识别到用户佩戴耳机,则根据所述用户与所述多个节目的位置关系,通过所述用户佩戴的耳机输出对应节目的声音,可以包括:若识别到只有一个用户,且该一个用户佩戴耳机,则根据该一个用户与多个节目的位置关系,通过该一个用户佩戴的耳机输出最近节目的声音,其他节目暂停或静 音播放。进一步可选的,电视可以将距离用户最近节目的画面放大进行播放。因为如果只有一个用户在观看电视节目时,如果将距离最近节目的画面放大进行播放时,用户的观感体验更好。
可选的,所述若识别到多个用户佩戴耳机,则根据所述多个用户与所述多个节目的位置关系,通过所述多个用户各自佩戴的耳机输出对应节目的声音,包括:若通过摄像头识别到多个用户佩戴耳机,则根据所述多个用户与所述多个节目的位置关系,通过所述多个用户各自佩戴的耳机输出对应节目的声音。可以理解的是,这里的摄像头可以是电视摄像头,也可以是其他电子设备的摄像头,具体此处不做限定。
可选的,所述多个用户包括第一用户和第二用户,所述多个节目包括第三节目和第四节目;所述若识别到多个用户佩戴耳机,则根据所述多个用户与所述多个节目的位置关系,通过所述多个用户各自佩戴的耳机输出对应节目的声音,可以包括但不限于以下的实现方式:
可选的,在一实施例中,若识别到所述第一用户和所述第二用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,所述第二用户与所述第四节目在同一侧,则通过所述第一用户佩戴的耳机输出所述第三节目的声音,通过所述第二用户佩戴的耳机输出所述第四节目的声音。
需要说明的是,这里的第一用户与第三节目在同一侧,可以理解为第一用户与第三节目画面的距离近,第二用户与第四节目在同一侧,可以理解为第二用户与第四节目画面的距离近。所以,在实现方式1中,可以理解为通过电视的摄像头来定位哪个耳机输出哪个电视节目画面的声音,用户的头部离哪个电视节目画面中心近就输出哪个电视节目画面的声音。
示例性的,如图2所示,为本申请实施例中同时播放多个节目,输出节目声音的一个示意图。在图2所示中,电视同时播放两个节目,一个是电影节目,一个是比赛节目。两个人都佩戴与电视已建立连接的耳机,分别在电视的左右两边,电视节目画面声音通过各自连接的耳机输出。即左边电视节目画面的声音通过左边用户佩戴的耳机输出,右边电视节目画面的声音通过右边用户佩戴的耳机输出,所以,两个人都佩戴耳机,可以通过各自佩戴的耳机收听对应电视节目画面的声音;从而实现两个人看不同节目,且各自节目的声音相互不影 响。
可选的,在另一实施例中,若识别到所述第一用户和所述第二用户佩戴耳机,且所述第一用户和所述第二用户与所述第三节目在同一侧,则通过所述第一用户佩戴的耳机和所述第二用户佩戴的耳机输出所述第三节目的声音,静音或暂停播放所述第四节目。
示例性的,两个人都佩戴耳机,电视摄像头检测到人离哪个电视节目画面中心近,就发送哪个电视节目画面的声音,当两个人收听同一个电视节目画面声音时,另外一个电视节目画面暂停或者静音。如图3所示,为本申请实施例中同时播放多个节目,输出节目声音的一个示意图。在图3所示中,电视同时播放两个节目,一个是电影节目,一个是比赛节目。两个人同时佩戴与电视已建立连接的耳机,但两人都在电视的左边,右边比赛节目画面静音或暂停播放,左边电影节目画面声音通过两个人佩戴的与电视已建立连接的耳机输出。即如果两个人都坐在电视的左方(或右方),则两个人可以同时收听左侧(或右侧)电视画面的声音。从而实现两个人看不同节目,且各自节目的声音相互不影响。
可选的,在另一些实施例中:
1)若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,则通过所述第一用户佩戴的耳机输出所述第三节目的声音;若识别到所述第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂停或通过扬声器播放所述第四节目。
示例性的,如果电视检测到其中一人摘掉耳机后,其对应电视节目画面静音播放(或暂停播放或通过电视扬声器播放),同时另外一边电视节目画面通过另外一个耳机同时出声。如图4所示,为本申请实施例中同时播放多个节目,输出节目声音的一个示意图。在图4所示中,电视同时播放两个节目,一个是电影节目,一个是比赛节目。两个人开始都佩戴与电视已建立连接的耳机,可以通过各自佩戴的耳机收听对应电视节目画面的声音;但电视摄像头检测到其中一人摘掉耳机后,摘掉耳机的那侧对应的电视节目画面静音或暂停或通过电视扬声器播放,另外一个电视节目画面继续发送声音到另一个人的耳机。从而实现两个人看不同节目,且各自节目的声音相互影响不大。
2)若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在 同一侧,则通过所述第一用户佩戴的耳机和所述扬声器输出所述第三节目的声音;若识别到所述第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂停播放所述第四节目。
示例性的,如果电视检测到其中一人摘掉耳机后,其对应电视节目画面静音播放(或暂停播放),同时另外一边电视节目画面通过电视扬声器与另外一个耳机同时出声。如图5所示,为本申请实施例中同时播放多个节目,输出节目声音的一个示意图。在图5所示中,电视同时播放两个节目,一个是电影节目,一个是比赛节目。两个人开始都佩戴与电视已建立连接的耳机,但电视摄像头检测到其中一人摘掉耳机后,摘掉耳机的那侧对应的电视节目画面静音或暂停,另外一个电视节目画面通过扬声器出声,同时,继续发送声音到另一个人的耳机。从而实现两个人看不同节目,且各自节目的声音相互不影响。
可选的,所述若识别到用户佩戴耳机,则根据所述用户与多个节目的位置关系,通过所述用户佩戴的耳机输出对应节目的声音,可以包括:
在所述电子设备同一时间播放所述多个节目时,若识别到多个用户佩戴耳机,则根据所述多个用户与多个节目的位置关系,响应选择耳机的操作,选择所述多个用户各自佩戴的耳机输出对应节目的声音;或,
若识别到多个用户佩戴耳机,则根据所述多个用户与多个节目的位置关系,响应选择耳机的操作,选择所述多个用户各自佩戴的耳机输出对应节目的声音;或,
在所述电子设备同一时间播放所述多个节目时,若识别到多个用户佩戴耳机,则根据所述多个用户与多个节目的位置关系,响应选择耳机的操作,选择所述多个用户各自佩戴的耳机输出对应节目的声音。
可以理解的是,在这种实现方式中耳机不具有定位功能,因此需要用户进行操作选择,从而响应选择耳机的操作进行对应的节目音频数据播放,可以是用户在电视上进行的选择操作,也可以是用户在耳机进行的选择操作(例如:按压选择控件、声控等),然后耳机将选择指令向电视发送,也可以是其他的选择方式,此处不做具体限定。
可选的,若识别到用户佩戴耳机,则根据所述用户与所述多个节目的位置关系,响应用户的选择操作,选择所述用户佩戴的耳机输出对应节目的声音, 可以包括:若识别到所述第一用户和所述第二用户佩戴耳机,则响应所述第一用户佩戴的耳机播放所述第三节目的选择操作,通过所述第一用户佩戴的耳机输出所述第三节目的声音,响应所述第二用户佩戴的耳机播放所述第四节目的选择操作,通过所述第二用户佩戴的耳机输出所述第四节目的声音,其中,所述第一用户与所述第三节目在同一侧,所述第二用户与所述第四节目在同一侧。
可选的,在这种响应选择耳机的操作实现方式的基础上,进一步的,还可以包括但不限于以下的实现方式:
(1)若识别到所述第一用户和所述第二用户佩戴耳机,且所述第一用户和所述第二用户与所述第三节目在同一侧,则通过所述第一用户佩戴的耳机和所述第二用户佩戴的耳机输出所述第三节目的声音,静音或暂停播放所述第四节目。
(2)若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,则通过所述第一用户佩戴的耳机输出所述第三节目的声音;若识别到所述第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂停或通过扬声器播放所述第四节目。
(3)若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,则通过所述第一用户佩戴的耳机和所述扬声器输出所述第三节目的声音;若识别到所述第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂停播放所述第四节目。
(4)若识别到所述第一用户和所述第二用户佩戴耳机,且所述第一用户和所述第二用户与所述第三节目在同一侧,则响应所述第一用户和所述第二用户佩戴的耳机播放所述第三节目的选择操作,通过所述第一用户佩戴的耳机和所述第二用户佩戴的耳机输出所述第三节目的声音,静音或暂停播放所述第四节目。
(5)若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,则响应所述第一用户佩戴的耳机播放所述第三节目的选择操作,通过所述第一用户佩戴的耳机输出所述第三节目的声音;若识别到所述第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂 停或通过扬声器播放所述第四节目。
(6)若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,则通过扬声器输出所述第三节目的声音,以及响应所述第一用户佩戴的耳机播放所述第三节目的选择操作,通过所述第一用户佩戴的耳机和所述扬声器输出所述第三节目的声音;若识别到所述第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂停播放所述第四节目。
103、若识别到用户未佩戴耳机,则出声播放第一节目,所述第一节目与所述用户的距离最近,所述多个节目包括所述第一节目。
可选的,所述若识别到用户未佩戴耳机,则出声播放第一节目,包括:在所述电子设备同一时间播放所述多个节目时,所述多个节目至少包括所述第一节目和第二节目,若识别到用户未佩戴耳机,所述第一节目与所述用户的距离小于所述第二节目与所述用户的距离,则出声播放第一节目,静音或暂停播放所述第二节目。即也可以理解为若识别到用户未佩戴耳机,则出声播放第一节目,所述第一节目与所述用户的距离最近。
可选的,所述若识别到用户未佩戴耳机,所述第一节目与所述用户的距离小于所述第二节目与所述用户的距离,则出声播放第一节目,静音或暂停播放所述第二节目,可以包括:若识别到多个用户未佩戴耳机,所述多个用户包括第一用户和第二用户,且所述第一用户和所述第二用户与所述第一节目在同一侧,通过扬声器播放第一节目的声音,静音或者暂停播放所述第二节目。
可选的,所述若识别到用户未佩戴耳机,则出声播放第一节目,可以包括:若识别到用户未佩戴耳机,则通过扬声器或者音箱播放第一节目。
可选的,若识别到用户未佩戴耳机,则通过扬声器或者音箱播放第一节目,可以包括:若识别到用户未佩戴耳机,则放大所述第一节目的播放画面,通过扬声器或者音箱播放第一节目。
示例性的,电视同时播放两个节目,通过电视摄像头检测到只有一个人观看电视,则距离人近的电视节目画面出声音,另外一个电视节目画面静音或暂停播放。如图6所示,为本申请实施例中同时播放多个节目,输出节目声音的一个示意图。在图6所示中,电视同时播放两个节目,即一人观看两个节目, 一个是电影节目,一个是比赛节目。距离人最近的电视节目画面通过扬声器出声播放,另外一个电视节目画面静音或暂停播放。
可以理解的是,本申请实施例中的暂停播放也可以理解为停止播放。
在本申请实施例中,电视根据用户与多个节目的位置关系,输出至少一个节目的声音。可选的,可以包括:电视识别用户是否佩戴耳机,若识别到用户佩戴耳机,则根据所述用户与所述多个节目的位置关系,通过所述用户佩戴的耳机输出对应节目的声音;若识别到用户未佩戴耳机,则出声播放第一节目,所述第一节目与所述用户的距离最近,所述多个节目包括所述第一节目。例如在电视同一时间播放多个节目时,根据用户与多个节目的位置关系,输出至少一个节目的声音,不同用户可以观看对应的不同节目,而且不同节目的声音不会相互干扰,从而提高用户体验。
即在本申请实施例中,可以通过电视摄像头识别观众是否佩戴耳机,根据观众是否佩戴耳机,来确定电视节目画面是否静音或者暂停或者通过耳机输出声音。还可以通过电视摄像头识别观众的位置,根据观众所在的位置与电视节目画面的距离来确定耳机收听哪个电视节目画面的声音,可以实现多个人看不同节目,而且随时可切换收听另外一个电视节目画面的声音,既可以各自观看,也可以随时一起观看同一精彩电视节目画面。还可以通过电视摄像头识别是一人观看还是多人观看,检测到是一人观看,就只输出一个电视节目画面的声音,即距离人近的画面出声音,另外一个电视节目画面静音或暂停播放。
电视基于多任务实现一台电视同时展示不同应用的节目界面,实现一台电视多人同时观看不同节目或者一人同时看多个节目,解决家人观看电视意见分歧的场景。当家人观看电视意见分歧时,可以同时观看两个或两个以上不同的节目,声音可以不相互干扰。当同一时间段有两个(或多个)精彩节目时,同一个人也可以同时观看不同节目,而且不同节目的声音不会相互干扰。
如图7所示,为本申请实施例中电子设备的一个实施例示意图,可以包括:
处理模块701,用于根据用户与多个节目的位置关系,输出至少一个节目的声音。
可选的,处理模块701,具体用于若识别到用户佩戴耳机,则根据所述用户与多个节目的位置关系,通过所述用户佩戴的耳机输出对应节目的声音;若 识别到用户未佩戴耳机,则出声播放第一节目,所述第一节目与所述用户的距离最近,所述多个节目包括所述第一节目。
可选的,处理模块701,具体用于在所述电子设备同一时间播放所述多个节目时,若识别到用户佩戴耳机,则根据所述用户与多个节目的位置关系,通过所述用户佩戴的耳机输出对应节目的声音。
可选的,处理模块701,具体用于在所述电子设备同一时间播放所述多个节目时,所述多个节目至少包括所述第一节目和第二节目,若识别到用户未佩戴耳机,所述第一节目与所述用户的距离小于所述第二节目与所述用户的距离,则出声播放第一节目,静音或暂停播放所述第二节目。
可选的,处理模块701,具体用于若识别到多个用户未佩戴耳机,所述多个用户包括第一用户和第二用户,且所述第一用户和所述第二用户与所述第一节目在同一侧,通过扬声器播放第一节目的声音,静音或者暂停播放所述第二节目。
可选的,处理模块701,具体用于若识别到多个用户佩戴耳机,则根据所述多个用户与多个节目的位置关系,响应选择耳机的操作,选择所述多个用户各自佩戴的耳机输出对应节目的声音。
可选的,处理模块701,具体用于若识别到多个用户佩戴耳机,则根据所述多个用户与所述多个节目的位置关系,通过所述多个用户各自佩戴的耳机输出对应节目的声音。
可选的,所述多个用户包括第一用户和第二用户,所述多个节目包括第三节目和第四节目;
处理模块701,具体用于若识别到所述第一用户和所述第二用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,所述第二用户与所述第四节目在同一侧,则通过所述第一用户佩戴的耳机输出所述第三节目的声音,通过所述第二用户佩戴的耳机输出所述第四节目的声音。
可选的,所述多个用户包括第一用户和第二用户,所述多个节目包括第三节目和第四节目;
处理模块701,具体用于若识别到所述第一用户和所述第二用户佩戴耳机,且所述第一用户和所述第二用户与所述第三节目在同一侧,则通过所述第 一用户佩戴的耳机和所述第二用户佩戴的耳机输出所述第三节目的声音,静音或暂停播放所述第四节目。
可选的,所述多个用户包括第一用户和第二用户,所述多个节目包括第三节目和第四节目;
处理模块701,具体用于若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,则通过所述第一用户佩戴的耳机输出所述第三节目的声音;若识别到所述第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂停或通过扬声器播放所述第四节目;或,
处理模块701,具体用于若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,则通过所述第一用户佩戴的耳机和所述扬声器输出所述第三节目的声音;若识别到所述第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂停播放所述第四节目。
可选的,所述多个用户包括第一用户和第二用户,所述多个节目包括第三节目和第四节目;
处理模块701,具体用于若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,则通过扬声器输出所述第三节目的声音,以及通过所述第一用户佩戴的耳机输出所述第三节目的声音;若识别到所述第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂停播放所述第四节目。
可选的,处理模块701,具体用于若通过摄像头识别到多个用户佩戴耳机,则根据所述多个用户与所述多个节目的位置关系,通过所述多个用户各自佩戴的耳机输出对应节目的声音。
可选的,处理模块701,具体用于若识别到用户佩戴耳机,则根据所述用户与所述多个节目的位置关系,响应用户的选择操作,选择所述用户佩戴的耳机输出对应节目的声音。
可选的,所述多个节目包括所述电子设备中不同应用的内容,以及其他电子设备投屏的内容中的至少一项。
可选的,处理模块701,还用于与所述耳机建立连接。
如图8所示,为本申请实施例中电子设备的另一个实施例示意图,可以包 括:
存储有可执行程序代码的存储器801;
与存储器801耦合的处理器802;
处理器802调用存储器801中存储的所述可执行程序代码,用于执行如下步骤:
根据用户与多个节目的位置关系,输出至少一个节目的声音。
可选的,处理器802调用存储器801中存储的所述可执行程序代码,具体用于执行如下步骤:
若识别到用户佩戴耳机,则根据所述用户与多个节目的位置关系,通过所述用户佩戴的耳机输出对应节目的声音;
若识别到用户未佩戴耳机,则出声播放第一节目,所述第一节目与所述用户的距离最近,所述多个节目包括所述第一节目。
可选的,处理器802调用存储器801中存储的所述可执行程序代码,具体用于执行如下步骤:在所述电子设备同一时间播放所述多个节目时,若识别到用户佩戴耳机,则根据所述用户与多个节目的位置关系,通过所述用户佩戴的耳机输出对应节目的声音。
可选的,处理器802调用存储器801中存储的所述可执行程序代码,具体用于执行如下步骤:在所述电子设备同一时间播放所述多个节目时,所述多个节目至少包括所述第一节目和第二节目,若识别到用户未佩戴耳机,所述第一节目与所述用户的距离小于所述第二节目与所述用户的距离,则出声播放第一节目,静音或暂停播放所述第二节目。
可选的,处理器802调用存储器801中存储的所述可执行程序代码,具体用于执行如下步骤:若识别到多个用户未佩戴耳机,所述多个用户包括第一用户和第二用户,且所述第一用户和所述第二用户与所述第一节目在同一侧,通过扬声器播放第一节目的声音,静音或者暂停播放所述第二节目。
可选的,处理器802调用存储器801中存储的所述可执行程序代码,具体用于执行如下步骤:若识别到多个用户佩戴耳机,则根据所述多个用户与多个节目的位置关系,响应选择耳机的操作,选择所述多个用户各自佩戴的耳机输出对应节目的声音。
可选的,处理器802调用存储器801中存储的所述可执行程序代码,具体用于执行如下步骤:若识别到多个用户佩戴耳机,则根据所述多个用户与所述多个节目的位置关系,通过所述多个用户各自佩戴的耳机输出对应节目的声音。
可选的,所述多个用户包括第一用户和第二用户,所述多个节目包括第三节目和第四节目;处理器802调用存储器801中存储的所述可执行程序代码,具体用于执行如下步骤:若识别到所述第一用户和所述第二用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,所述第二用户与所述第四节目在同一侧,则通过所述第一用户佩戴的耳机输出所述第三节目的声音,通过所述第二用户佩戴的耳机输出所述第四节目的声音。
可选的,所述多个用户包括第一用户和第二用户,所述多个节目包括第三节目和第四节目;处理器802调用存储器801中存储的所述可执行程序代码,具体用于执行如下步骤:若识别到所述第一用户和所述第二用户佩戴耳机,且所述第一用户和所述第二用户与所述第三节目在同一侧,则通过所述第一用户佩戴的耳机和所述第二用户佩戴的耳机输出所述第三节目的声音,静音或暂停播放所述第四节目。
可选的,所述多个用户包括第一用户和第二用户,所述多个节目包括第三节目和第四节目;处理器802调用存储器801中存储的所述可执行程序代码,具体用于执行如下步骤:
若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,则通过所述第一用户佩戴的耳机输出所述第三节目的声音;若识别到所述第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂停或通过扬声器播放所述第四节目,或,
若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,则通过所述第一用户佩戴的耳机和所述扬声器输出所述第三节目的声音;若识别到所述第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂停播放所述第四节目。
可选的,所述多个用户包括第一用户和第二用户,所述多个节目包括第三节目和第四节目;处理器802调用存储器801中存储的所述可执行程序代码, 具体用于执行如下步骤:
若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,则通过扬声器输出所述第三节目的声音,以及通过所述第一用户佩戴的耳机输出所述第三节目的声音;若识别到所述第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂停播放所述第四节目。
可选的,所述多个节目包括所述电子设备中不同应用的内容,以及其他电子设备投屏的内容中的至少一项。
可选的,处理器802调用存储器801中存储的所述可执行程序代码,具体用于执行如下步骤:与所述耳机建立连接。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。
所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性 的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims (20)

  1. 一种播放节目的方法,其特征在于,所述方法应用于电子设备,包括:
    根据用户与多个节目的位置关系,输出至少一个节目的声音。
  2. 根据权利要求1所述的方法,其特征在于,所述根据用户与多个节目的位置关系,输出至少一个节目的声音,包括:
    若识别到用户佩戴耳机,则根据所述用户与多个节目的位置关系,通过所述用户佩戴的耳机输出对应节目的声音;
    若识别到用户未佩戴耳机,则出声播放第一节目,所述第一节目与所述用户的距离最近,所述多个节目包括所述第一节目。
  3. 根据权利要求2所述的方法,其特征在于,所述若识别到用户佩戴耳机,则根据所述用户与多个节目的位置关系,通过所述用户佩戴的耳机输出对应节目的声音,包括:
    在所述电子设备同一时间播放所述多个节目时,若识别到用户佩戴耳机,则根据所述用户与多个节目的位置关系,通过所述用户佩戴的耳机输出对应节目的声音。
  4. 根据权利要求2所述的方法,其特征在于,所述若识别到用户未佩戴耳机,则出声播放第一节目,包括:
    在所述电子设备同一时间播放所述多个节目时,所述多个节目至少包括所述第一节目和第二节目,若识别到用户未佩戴耳机,所述第一节目与所述用户的距离小于所述第二节目与所述用户的距离,则出声播放第一节目,静音或暂停播放所述第二节目。
  5. 根据权利要求4所述的方法,其特征在于,所述若识别到用户未佩戴耳机,所述第一节目与所述用户的距离小于所述第二节目与所述用户的距离,则出声播放第一节目,静音或暂停播放所述第二节目,包括:
    若识别到多个用户未佩戴耳机,所述多个用户包括第一用户和第二用户,且所述第一用户和所述第二用户与所述第一节目在同一侧,通过扬声器播放第一节目的声音,静音或者暂停播放所述第二节目。
  6. 根据权利要求2所述的方法,其特征在于,所述若识别到用户佩戴耳机,则根据所述用户与多个节目的位置关系,通过所述用户佩戴的耳机输出对应节目的声音,包括:
    若识别到多个用户佩戴耳机,则根据所述多个用户与多个节目的位置关系,响应选择耳机的操作,选择所述多个用户各自佩戴的耳机输出对应节目的声音。
  7. 根据权利要求2所述的方法,其特征在于,所述若识别到用户佩戴耳机,则根据所述用户与所述多个节目的位置关系,通过所述用户佩戴的耳机输出对应节目的声音,包括:
    若识别到多个用户佩戴耳机,则根据所述多个用户与所述多个节目的位置关系,通过所述多个用户各自佩戴的耳机输出对应节目的声音。
  8. 根据权利要求6或7所述的方法,其特征在于,所述多个用户包括第一用户和第二用户,所述多个节目包括第三节目和第四节目;所述若识别到多个用户佩戴耳机,则根据所述多个用户与所述多个节目的位置关系,通过所述多个用户各自佩戴的耳机输出对应节目的声音,包括:
    若识别到所述第一用户和所述第二用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,所述第二用户与所述第四节目在同一侧,则通过所述第一用户佩戴的耳机输出所述第三节目的声音,通过所述第二用户佩戴的耳机输出所述第四节目的声音。
  9. 根据权利要求6或7所述的方法,其特征在于,所述多个用户包括第一用户和第二用户,所述多个节目包括第三节目和第四节目;所述若识别到多个用户佩戴耳机,则根据所述多个用户与所述多个节目的位置关系,通过所述多个用户各自佩戴的耳机输出对应节目的声音,包括:
    若识别到所述第一用户和所述第二用户佩戴耳机,且所述第一用户和所述第二用户与所述第三节目在同一侧,则通过所述第一用户佩戴的耳机和所述第二用户佩戴的耳机输出所述第三节目的声音,静音或暂停播放所述第四节目。
  10. 根据权利要求6或7所述的方法,其特征在于,所述多个用户包括第一用户和第二用户,所述多个节目包括第三节目和第四节目;所述若识别到多个用户佩戴耳机,则根据所述多个用户与所述多个节目的位置关系,通过所述多个用户各自佩戴的耳机输出对应节目的声音,包括:
    若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,则通过所述第一用户佩戴的耳机输出所述第三节目的声音;若识别到所述 第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂停或通过扬声器播放所述第四节目;或,
    若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,则通过所述第一用户佩戴的耳机和所述扬声器输出所述第三节目的声音;若识别到所述第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂停播放所述第四节目。
  11. 根据权利要求1-7中任一项所述的方法,其特征在于,所述多个节目包括所述电子设备中不同应用的内容,以及其他电子设备投屏的内容中的至少一项。
  12. 根据权利要求2-7中任一项所述的方法,其特征在于,所述方法还包括:
    所述电子设备与所述耳机建立连接。
  13. 根据权利要求4所述的方法,其特征在于,所述若识别到用户未佩戴耳机,则出声播放第一节目,包括:
    若识别到用户未佩戴耳机,则通过扬声器或者音箱播放所述第一节目。
  14. 根据权利要求13所述的方法,其特征在于,所述若识别到用户未佩戴耳机,则通过扬声器或者音箱播放所述第一节目,包括:
    若识别到用户未佩戴耳机,则放大所述第一节目的播放画面,通过扬声器或者音箱播放第一节目。
  15. 根据权利要求6所述的方法,其特征在于,所述多个用户包括第一用户和第二用户,所述多个节目包括第三节目和第四节目;所述若识别到多个用户佩戴耳机,则根据所述多个用户与多个节目的位置关系,响应选择耳机的操作,选择所述多个用户各自佩戴的耳机输出对应节目的声音,包括:
    若识别到所述第一用户和所述第二用户佩戴耳机,则响应所述第一用户佩戴的耳机播放所述第三节目的选择操作,通过所述第一用户佩戴的耳机输出所述第三节目的声音,响应所述第二用户佩戴的耳机播放所述第四节目的选择操作,通过所述第二用户佩戴的耳机输出所述第四节目的声音,其中,所述第一用户与所述第三节目在同一侧,所述第二用户与所述第四节目在同一侧。
  16. 根据权利要求15所述的方法,其特征在于,所述方法还包括:
    若识别到所述第一用户和所述第二用户佩戴耳机,且所述第一用户和所述第二用户与所述第三节目在同一侧,则通过所述第一用户佩戴的耳机和所述第二用户佩戴的耳机输出所述第三节目的声音,静音或暂停播放所述第四节目;或,
    若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,则通过所述第一用户佩戴的耳机输出所述第三节目的声音;若识别到所述第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂停或通过扬声器播放所述第四节目;或,
    若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,则通过所述第一用户佩戴的耳机和所述扬声器输出所述第三节目的声音;若识别到所述第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂停播放所述第四节目;或,
    若识别到所述第一用户和所述第二用户佩戴耳机,且所述第一用户和所述第二用户与所述第三节目在同一侧,则响应所述第一用户和所述第二用户佩戴的耳机播放所述第三节目的选择操作,通过所述第一用户佩戴的耳机和所述第二用户佩戴的耳机输出所述第三节目的声音,静音或暂停播放所述第四节目;或,
    若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,则响应所述第一用户佩戴的耳机播放所述第三节目的选择操作,通过所述第一用户佩戴的耳机输出所述第三节目的声音;若识别到所述第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂停或通过扬声器播放所述第四节目;或,
    若识别到所述第一用户佩戴耳机,且所述第一用户与所述第三节目在同一侧,则通过扬声器输出所述第三节目的声音,以及响应所述第一用户佩戴的耳机播放所述第三节目的选择操作,通过所述第一用户佩戴的耳机和所述扬声器输出所述第三节目的声音;若识别到所述第二用户佩戴耳机后摘掉耳机,且所述第二用户与所述第四节目在同一侧,则静音或暂停播放所述第四节目。
  17. 根据权利要求2所述的方法,其特征在于,所述若识别到用户佩戴耳机,则根据所述用户与所述多个节目的位置关系,通过所述用户佩戴的耳机 输出对应节目的声音,包括:
    若识别到一个用户佩戴耳机,则根据所述一个用户与所述多个节目的位置关系,通过所述一个用户佩戴的耳机输出最近节目的声音,其他节目暂停播放,或静音播放,或从所述其他节目中随机选择一个节目通过扬声器播放。
  18. 一种电子设备,其特征在于,包括:
    处理模块,用于根据用户与多个节目的位置关系,输出至少一个节目的声音。
  19. 一种电子设备,其特征在于,包括:
    存储有可执行程序代码的存储器;
    与所述存储器耦合的处理器;
    所述处理器调用所述存储器中存储的所述可执行程序代码,用于执行如权利要求1-17中任一项所述的方法。
  20. 一种计算机可读存储介质,包括指令,当其在处理器上运行时,使得处理器执行如权利要求1-17中任一项所述的方法。
PCT/CN2022/078699 2021-05-12 2022-03-02 播放节目的方法、电子设备及存储介质 WO2022237282A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110518673.6 2021-05-12
CN202110518673.6A CN115348466A (zh) 2021-05-12 2021-05-12 播放节目的方法、电子设备及存储介质

Publications (1)

Publication Number Publication Date
WO2022237282A1 true WO2022237282A1 (zh) 2022-11-17

Family

ID=83977668

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/078699 WO2022237282A1 (zh) 2021-05-12 2022-03-02 播放节目的方法、电子设备及存储介质

Country Status (2)

Country Link
CN (1) CN115348466A (zh)
WO (1) WO2022237282A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791198A (zh) * 2004-12-17 2006-06-21 Tcl王牌电子(深圳)有限公司 一种实现可同时接收播放多套节目的电视机装置
JP2008263524A (ja) * 2007-04-13 2008-10-30 Sharp Corp テレビジョン受像機
CN101990109A (zh) * 2010-11-03 2011-03-23 华为终端有限公司 影音分配方法及其装置
CN103118298A (zh) * 2013-02-21 2013-05-22 华为终端有限公司 一种同时播放多个电视节目的装置及方法
CN109743465A (zh) * 2019-03-18 2019-05-10 维沃移动通信有限公司 一种音频数据输出方法及终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1791198A (zh) * 2004-12-17 2006-06-21 Tcl王牌电子(深圳)有限公司 一种实现可同时接收播放多套节目的电视机装置
JP2008263524A (ja) * 2007-04-13 2008-10-30 Sharp Corp テレビジョン受像機
CN101990109A (zh) * 2010-11-03 2011-03-23 华为终端有限公司 影音分配方法及其装置
CN103118298A (zh) * 2013-02-21 2013-05-22 华为终端有限公司 一种同时播放多个电视节目的装置及方法
CN109743465A (zh) * 2019-03-18 2019-05-10 维沃移动通信有限公司 一种音频数据输出方法及终端

Also Published As

Publication number Publication date
CN115348466A (zh) 2022-11-15

Similar Documents

Publication Publication Date Title
US9137484B2 (en) Device, method and software for providing supplementary information
US9191767B2 (en) Directional sound apparatus, method graphical user interface and software
TWI450105B (zh) 用於多通道聲音內容之空間重組之方法、音訊呈現裝置與機器可讀取媒體
US8395706B2 (en) Information processing system, display device, output device, information processing device, identification information acquisition method and identification information supply method
KR102170398B1 (ko) 위치정보를 활용한 멀티 스피커의 운용 방법 및 장치
US8446533B2 (en) Television apparatus and method for controlling the same
US20120155657A1 (en) Communication device and communication methods
JP2011515942A (ja) 対象指向性の3d音声ディスプレイ装置
CN103873798A (zh) 智能电视的声音播放方法和装置
WO2020233263A1 (zh) 音频处理方法及电子设备
KR20090118837A (ko) 이동 장치를 사용하여 가전 장치를 제어하는 방법 및 통신시스템
CN111095191B (zh) 显示装置及其控制方法
JP2005505205A (ja) オーディオ及び/又はビジュアルのシステム、方法及びコンポーネント
WO2023142391A1 (zh) 投屏通话方法、装置、电子设备及存储介质
WO2022237282A1 (zh) 播放节目的方法、电子设备及存储介质
CN111491191A (zh) 机顶盒和蓝牙耳机自动配对的方法及多媒体播放系统
US20070171307A1 (en) Media playback system with real-time camera image display and method thereof
TWI699122B (zh) 多聲道音訊控制系統
TWI739429B (zh) 喇叭聲道音訊控制系統
WO2008015733A1 (fr) Dispositif, procédé et programme de commande sonore
US11900007B2 (en) Display apparatus
WO2010122802A1 (ja) 音声再生装置
WO2009144788A1 (ja) 音声出力機能を備えた映像表示装置、該映像表示装置で行う音量制御方法
JP2009253482A (ja) コンテンツ再生システム、無線通信システム及びコンテンツ再生方法
CN113868084A (zh) 智能控制方法、装置及电子设备

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: 22806259

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: 22806259

Country of ref document: EP

Kind code of ref document: A1