USPatentGranted
B2

Data processing method and electronic device

Granted 23 Feb 2016 · 4 office actions

Current assignee: LENOVO (BEIJING) LIMITED · originally Lenovo

Law firm: Law firm · Log in to unlock

Attorney: Attorney · Log in to unlock

Inventors: Jun Li, Yongqiang Zhang · Examiner: Regina N Holder · AU 2688 · TC 2600

Life of the patent

3 dated events
⤢ drag to zoomJan 2013Jul 2013Jan 2014Jul 2014Jan 2015Jul 2015Jan 2016Prosecution
Prosecutionhover for detail · click to open

Abstract

The present invention discloses a data processing method applied in an electronic device. The electronic device includes a codec, at least two audio output devices, an identification module, a communication module and at least two players. The method comprises the steps of: decoding, by the at least two players, at least two paths of coded multi-media data containing audio data to generate at least two channels of code streams corresponding to the at least two paths of multi-media data when the electronic device is in an operating state; assigning, by the identification module, an identifier to each of the at least two channels of code streams and transmitting at least two identifiers to the communication module, the at least two identifiers being provided to the codec such that the codec can receive the at least two channels of code streams based on the at least two identifiers; and establishing, by the codec, a channel corresponding to each of the at least two channels of code streams based on the at least two identifiers, such that each channel of code stream can be output to one of the at least two audio output devices via its corresponding channel.

Description

9 parts
›CROSS REFERENCE TO RELATED APPLICATIONS

This application claims the benefit and priority of a foreign application filed in China as Application No. 201210063652.0 on Mar. 12, 2012, all of which is incorporated herein by reference.

›TECHNICAL FIELD

The present invention relates to electronic technology, and more particularly, to a data processing method and an electronic device.

›BACKGROUND

With the economic development, our life experiences have been constantly improved. For example, when using electronic devices, we hope that they can have more functions and bring us more fun.

There are currently various electronic devices, such as notebook computers and tablet computers. Taking a tablet computer as an example, when more than one application capable of playing music is running on the tablet computer, all the respective music will be output from these applications.

For example, an tablet computer may be used by multiple users. User A listens to music using the tablet computer. User B watches a movie on the tablet computer. User C plays a game on the tablet computer. User D chats using the QQ application on the tablet computer. In this case, the tablet computer plays using their respective players and outputs respective sounds via a speaker. For example, the music is played in a music player, the movie is played in a movie player and the sounds of the music and the movie are output via the speaker.

In addition, when a headphone is inserted into a headphone jack of the tablet computer, the sounds will be directly output from the headphone instead of the speaker. The headphone and the speaker cannot be used simultaneously.

During the implementation of the present invention, the applicant realizes at least the following technical problem in the prior art: sounds output from different applications are mixed and undistinguishable.

›SUMMARY · 1 of 2

An object of the present invention is to provide an electronic device capable of solving the above problem in the prior art that sounds output from different applications are mixed and undistinguishable.

In an aspect, according to a first embodiment of the present invention, a data processing method is provided. The method is applied in an electronic device which includes a codec, at least two audio output devices, an identification module, a communication module and at least two players. The method comprises: decoding, by the at least two players, at least two paths of coded multi-media data containing audio data to generate at least two channels of code streams corresponding to the at least two paths of multi-media data when the electronic device is in an operating state; assigning, by the identification module, an identifier to each of the at least two channels of code streams and transmitting at least two identifiers to the communication module, the at least two identifiers being provided to the codec such that the codec can receive the at least two channels of code streams based on the at least two identifiers; and establishing, by the codec, a channel corresponding to each of the at least two channels of code streams based on the at least two identifiers, such that each channel of code stream can be output to one of the at least two audio output devices via its corresponding channel.

Alternatively, prior to the at least two players decoding at least two paths of coded multi-media data containing audio data, the method further comprises: obtaining, by a data processing module in the electronic device, at least two paths of multi-media data containing audio data; coding, by the data processing module, the at least two paths of multi-media data based on a predetermined coding rule to obtain the at least two paths of coded multi-media data containing audio data; and transmitting the at least two paths of coded multi-media data containing audio data to the at least two players.

Alternatively, the data processing module in the electronic device obtaining at least two paths of multi-media data containing audio data comprises: obtaining, by the data processing module in the electronic device, the at least two paths of multi-media data containing audio data from at least one storage unit in the electronic device; or obtaining, by the data processing module in the electronic device, the at least two paths of multi-media data containing audio data from a data transceiving interface in the electronic device, wherein the data transceiving interface is an interface module for connecting to a network or another device.

Alternatively, the at least two players decoding at least two paths of coded multi-media data containing audio data to generate at least two channels of code streams corresponding to the at least two paths of multi-media data comprises: obtaining, by the at least two players, the at least two paths of coded multi-media data containing audio data; decoding, by the at least two players, the at least two paths of coded multi-media data containing audio data based on a predetermined decoding rule corresponding to the predetermined coding rule to obtain the at least two channels of code streams corresponding to the at least two paths of multi-media data.

Alternatively, the at least two players decoding the at least two paths of coded multi-media data containing audio data based on a predetermined decoding rule corresponding to the predetermined coding rule to obtain the at least two channels of code streams corresponding to the at least two paths of multi-media data comprises: determining, for each of the at least two players, one of the at least two paths of coded multi-media data containing audio data based on a matching relationship between the coded multi-media data and the players; and decoding, by each player, its corresponding path of coded multi-media data containing audio data based on the predetermined decoding rule corresponding to the predetermined coding rule to obtain a corresponding channel of code stream.

Alternatively, each player decoding its corresponding path of coded multi-media data containing audio data based on the predetermined decoding rule corresponding to the predetermined coding rule to obtain a corresponding channel of code stream comprises: decoding, by using a decoding package in each player, its corresponding path of coded multi-media data containing audio data based on the predetermined decoding rule corresponding to the predetermined coding rule to obtain compressed multi-media data containing audio data; and automatically restoring the compressed multi-media data containing audio data to generate the corresponding channel of code stream.

Alternatively, the identification module assigning an identifier to each of the at least two channels of code streams comprises: setting, by the identification module, an identifier at a predetermined location in each of the at least two channels of code streams, wherein the identifier is unique to the channel of code stream.

Alternatively, setting an identifier at a predetermined location in each of the at least two channels of code streams comprises: setting a numerical or alphabetic identifier at the front or back end of each of the at least two channels of code streams.

In another aspect, according to a second embodiment of the present invention, an electronic device is provided. The electronic device comprises: at least two players each containing a decoding package for decoding a code file; an identification module connected to the players; a communication module connected to the identification module; a codec connected to the communication module; at least two audio output devices each connected to the codec. The at least two players decode at least two paths of coded multi-media data containing audio data to generate at least two channels of code streams corresponding to the at least two paths of multi-media data when the electronic device is in an operating state. The identification module assigns an identifier to each of the at least two channels of code streams and transmits at least two identifiers to the communication module, the at least two identifiers being provided to the codec such that the codec can receive the at least two channels of code streams based on the at least two identifiers. The codec establishes a channel corresponding to each of the at least two channels of code streams based on the at least two identifiers, such that each channel of code stream can be output to one of the at least two audio output devices via its corresponding channel.

›SUMMARY · 2 of 2

Alternatively, the electronic device further comprises: a data processing module configured to obtain at least two paths of multi-media data containing audio data, to code the at least two paths of multi-media data based on a predetermined coding rule to obtain the at least two paths of coded multi-media data containing audio data, and to transmit the at least two paths of coded multi-media data containing audio data to the at least two players, before the at least two players decode the at least two paths of coded multi-media data containing audio data.

One or more of the above aspects have at least the following technical effects or advantages.

In a scenario involving interactions with multiple users, an electronic device is automatically activated. Additionally, when processing audio data, the electronic device automatically identifies the audio data with a number of identifiers and assigns code streams channels corresponding to the number of identifiers. In this way, the present invention solves the technical problem that the audio data output from different applications are output from only one code stream channel and thus the sounds are mixed and undistinguishable. With the present invention, it is possible to achieve the technical effect that, when the audio data are output via different code stream channels, the sounds from different applications can be distinguishable without interfering with each other, thereby improving the user experience.

›BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a flowchart of a data processing method according to a first embodiment of the present invention; and

FIG. 2 is a structural block diagram of an electronic device according to a second embodiment of the present invention.

›DETAILED DESCRIPTION OF THE EMBODIMENTS · 1 of 3

The solutions of the present invention will be detailed in the following with reference to the embodiments taken in conjunction with the figures, such that those skilled in the art can have a better understanding of the present invention.

Referring to FIG. 1 , a data processing method according to a first embodiment of the present invention is applied in an electronic device which includes a codec, at least two audio output devices, an identification module, a communication module and at least two players. The method comprises the following steps.

At step 101 , the at least two players decode at least two paths of coded multi-media data containing audio data to generate at least two channels of code streams corresponding to the at least two paths of multi-media data when the electronic device is in an operating state.

At step 102 , the identification module assigns an identifier to each of the at least two channels of code streams and transmits at least two identifiers to the communication module. The at least two identifiers are provided to the codec such that the codec can receive the at least two channels of code streams based on the at least two identifiers.

At step 103 , the codec establishes a channel corresponding to each of the at least two channels of code streams based on the at least two identifiers, such that each channel of code stream can be output to one of the at least two audio output devices via its corresponding channel.

In particular, prior to the at least two players decoding at least two paths of coded multi-media data containing audio data, the method further comprises: step 1011 of obtaining, by a data processing module in the electronic device, at least two paths of multi-media data containing audio data; step 1012 of coding, by the data processing module, the at least two paths of multi-media data based on a predetermined coding rule to obtain the at least two paths of coded multi-media data containing audio data; and step 1013 of transmitting the at least two paths of coded multi-media data containing audio data to the at least two players.

In particular, the data processing module in the electronic device obtaining at least two paths of multi-media data containing audio data comprises: obtaining, by the data processing module in the electronic device, the at least two paths of multi-media data containing audio data from at least one storage unit in the electronic device; or obtaining, by the data processing module in the electronic device, the at least two paths of multi-media data containing audio data from a data transceiving interface in the electronic device, wherein the data transceiving interface is an interface module for connecting to a network or another device.

In particular, the at least two players decoding at least two paths of coded multi-media data containing audio data to generate at least two channels of code streams corresponding to the at least two paths of multi-media data comprises: obtaining, by the at least two players, the at least two paths of coded multi-media data containing audio data; decoding, by the at least two players, the at least two paths of coded multi-media data containing audio data based on a predetermined decoding rule corresponding to the predetermined coding rule to obtain the at least two channels of code streams corresponding to the at least two paths of multi-media data.

In particular, the at least two players decoding the at least two paths of coded multi-media data containing audio data based on a predetermined decoding rule corresponding to the predetermined coding rule to obtain the at least two channels of code streams corresponding to the at least two paths of multi-media data comprises: determining, for each of the at least two players, one of the at least two paths of coded multi-media data containing audio data based on a matching relationship between the coded multi-media data and the players; and decoding, by each player, its corresponding path of coded multi-media data containing audio data based on the predetermined decoding rule corresponding to the predetermined coding rule to obtain a corresponding channel of code stream.

In particular, each player decoding its corresponding path of coded multi-media data containing audio data based on the predetermined decoding rule corresponding to the predetermined coding rule to obtain a corresponding channel of code stream comprises: decoding, by using a decoding package in each player, its corresponding path of coded multi-media data containing audio data based on the predetermined decoding rule corresponding to the predetermined coding rule to obtain compressed multi-media data containing audio data; and automatically restoring the compressed multi-media data containing audio data to generate the corresponding channel of code stream.

In particular, the identification module assigning an identifier to each of the at least two channels of code streams comprises: setting, by the identification module, an identifier at a predetermined location in each of the at least two channels of code streams, wherein the identifier is unique to the channel of code stream.

In particular, setting an identifier at a predetermined location in each of the at least two channels of code streams comprises: setting a numerical or alphabetic identifier at the front or back end of each of the at least two channels of code streams.

Next, the data processing method according to the first embodiment of the present invention will be explained in further detail with reference to an example in which the electronic device is a tablet computer. Of course, in practice, the electronic device can also be another type of electronic device.

For example, four users, User A, User B, User C and User D need to use the tablet computer for different applications. User A listens to music using the tablet computer. User B watches a movie on the tablet computer. User C plays a game on the tablet computer. User D chats on the tablet computer. The music, movie, game and chatting tool are all displayed on the display screen of the tablet computer. When the music, movie, game and chatting tool are clicked by User A, User B, User C and User D, respectively, they are loaded into their corresponding applications. At this time, a software system in the tablet computer is automatically activated. The software system includes a data processing module, an identification module, a communication module and a player. When the software system is automatically activated, the number of areas displayed on the display screen matches the number of operating applications. Here, there are four areas displayed on the display screen, denoted as A 1 , B 1 , C 1 and D 1 , respectively. Among these areas, the operation state of the music is displayed in Area A 1 , the operation state of the movie is displayed in Area B 1 , the operation state of the game is displayed in Area C 1 and the operation state of the chatting tool is displayed in Area D 1 . When operating, all of the music, movie, game and chatting tool produce sounds which will be output by the player.

›DETAILED DESCRIPTION OF THE EMBODIMENTS · 2 of 3

In an embodiment, the sounds need to be transmitted to the player before the player can play the sounds. In a particular transmission process, the music sound, the movie sound, the game sound and the sound produced by the chatting tool during the chatting will be first obtained by the data processing module in the table computer. In particular, the data processing module obtains these sounds as audio data, compresses the audio data into corresponding code files (e.g., the music sound can be compressed into an MP3 code file and the movie sound can be compressed into an ASF file) and transmits the code files to the player. In practice, there can four players in this embodiment for playing the sounds of music, movie, game and chatting, respectively.

Upon receiving the audio data, the four players use their data decoding packages to decode the code files. After the decoding process, the four players automatically restore the audio data into PCM code streams. In practice, there will be a large number of PCM code streams which can be considered as a group. The PCM code streams are raw sound data received by the four players. After the automatic restoration to obtain the PCM code streams, the four players transmit the PCM code streams to the identification module, which is also a PCM identification module. Since the PCM code streams are generated by the four players in the automatic restoration process, the PCM identification module assigns an identifier to the PCM code streams after receiving the PCM code streams. In particular, the identifier can be a number or an alphabet letter and located at the front or back end of the PCM code streams. For example, the PCM code streams can be identified as PCM 1 , PCM 2 , PCM 3 and PCM 4 , denoting the PCM code streams automatically restored by the four players, respectively.

After identifying the automatically restored PCM code streams, the PCM identification module transmits the identified PCM code streams to the communication module. When communicating with the codec, the communication module transmits the identified PCM code streams to the codec. Upon receiving the identified PCM code streams, the codec assigns a number of code stream channels corresponding to the number of identifiers. Here, there can be four code stream channels, denoted as channel 1 , channel 2 , channel 3 and channel 4 , respectively. In particular, each of the four code stream channels only receives the PCM code stream having the corresponding identifiers. For example, the channel 1 receives only data in PCM 1 , the channel 2 receives only data in PCM 2 , the channel 3 receives only data in PCM 3 and the channel 4 receives only data in PCM 4 . Since the data in PCM 1 , PCM 2 , PCM 3 and PCM 4 are transmitted to the codec in digital form, the codec uses its Digital-to-Analog Converter (DAC) to convert the digital signals of the data in PCM 1 , PCM 2 , PCM 3 and PCM 4 into analog signals after receiving the data in PCM 1 , PCM 2 , PCM 3 and PCM 4 . In a particular conversion process, the data processing for the PCM data in the channel 1 , channel 2 , channel 3 and channel 4 is independent of each other.

In an embodiment, after converting the data in PCM 1 , PCM 2 , PCM 3 and PCM 4 into analog signals, the codec transmits the analog signals to audio output devices, such as headphones. Here, the number of headphones corresponds to the number of players. In other words, there are four headphones, denoted as Headphone 1 , Headphone 2 , Headphone 3 and Headphone 4 , respectively. Here, the analog signals received by the headphones correspond to the analog signals output from the respective code stream channels one by one. In particular, Headphone 1 receives the analog signal output from the channel 1 , Headphone 2 receives the analog signal output from the channel 2 , Headphone 3 receives the analog signal output from the channel 3 and Headphone 4 receives the analog signal output from the channel 4 .

In an embodiment, each headphone corresponds to a user. For example, User A, User B, User C and User D wear Headphone 1 , Headphone 2 , Headphone 3 and Headphone 4 , respectively. Each user can clearly hear his/her desired sound without interfering with the other sounds. In particular, User A can hear the music sound via Headphone 1 , User B can hear the movie sound via Headphone 2 , User C can hear the game sound via Headphone 3 and User D can hear the chatting sound via Headphone 4 .

Referring to FIG. 2 , an electronic device 10 according to a second embodiment of the present invention includes: at least two players 101 each containing a decoding package for decoding a code file; an identification module 102 connected to the players 101 ; a communication module 103 connected to the identification module 102 ; a codec 104 connected to the communication module 103 ; at least two audio output devices 105 each connected to the codec 104 .

The at least two players 101 decode at least two paths of coded multi-media data containing audio data to generate at least two channels of code streams corresponding to the at least two paths of multi-media data when the electronic device 10 is in an operating state. The identification module 102 assigns an identifier to each of the at least two channels of code streams and transmits at least two identifiers to the communication module 103 . The at least two identifiers are provided to the codec 104 such that the codec 104 can receive the at least two channels of code streams based on the at least two identifiers. The codec 104 establishes a channel corresponding to each of the at least two channels of code streams based on the at least two identifiers, such that each channel of code stream can be output to one of the at least two audio output devices 105 via its corresponding channel.

The electronic device further includes: a data processing module 106 configured to obtain at least two paths of multi-media data containing audio data, to code the at least two paths of multi-media data based on a predetermined coding rule to obtain the at least two paths of coded multi-media data containing audio data, and to transmit the at least two paths of coded multi-media data containing audio data to the at least two players 101 , before the at least two players decode the at least two paths of coded multi-media data containing audio data.

›DETAILED DESCRIPTION OF THE EMBODIMENTS · 3 of 3

One or more of the above embodiments have at least the following technical effects or advantages.

In a scenario involving interactions with multiple users, an electronic device is automatically activated. Additionally, when processing audio data, the electronic device automatically identifies the audio data with a number of identifiers and assigns code streams channels corresponding to the number of identifiers. In this way, the present invention solves the technical problem that the audio data output from different applications are output from only one code stream channel and thus the sounds are mixed and undistinguishable. With the present invention, it is possible to achieve the technical effect that, when the audio data are output via different code stream channels, the sounds from different applications can be distinguishable without interfering with each other, thereby improving the user experience.

Obviously, those skilled in the art can make various modifications and variants of the present invention without departing from the spirit and scope of the present invention. These modifications and variants are to be encompassed by the scope of the present invention if they fall into the scope of the claims and their equivalents.

Claims

8 · 2 independent · depth 4
12345678
8 granted claims

Classifications

4 codes
IPC · International Patent Classification
Section G — Physics
  • G06F3/16
  • G10L19/00
Section H — Electricity
  • H04B3/00
  • H04R3/12

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this patent are not paired with the granted ones in what we hold.

File wrapper

Pendency
3.0 y
1,078 days filing → grant
Office actions
2
non-final + final
Responses
2
no RCE
Examiner
Regina N Holder
art unit 2688 · TC 2600
Citations: 3 back · 1 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Chain of title

⤢ drag to zoom20142016201820202022202420262028203020322034Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock

Term & fees

See the term timeline — pendency span, in-force span, the maintenance fees paid and both computed expiry dates.

Log in to unlock

Priority chain

1 priority documents
›Priority documents — 1
TypeDocumentDate
related publicationUS 20130236028 A112 Sep 2013

Worldwide family

4 members · 2 offices
US2CN2
this patentIP5 & PCTother officessolid = grantedhover for detail · click to open
Members
4
DOCDB simple family 47054898
Offices
2
US · CN
Granted
2 of 4
grant date present
Non-English titles
1
shown as filed, never translated
›IP5 & PCT — 4 members
OfficePublicationKindPublishedFiledStatusTitle
USUS-2013236028-A1A112 Sep 201312 Mar 2013publishedData processing method and electronic device
USthis patentUS-9271079-B2B223 Feb 201612 Mar 2013grantedData processing method and electronic device
CNCN-102760462-AA31 Oct 201212 Mar 2012publishedData processing method and electronic equipment
CNCN-102760462-BB28 Jan 201512 Mar 2012granted一种数据处理方法及电子设备zh

Validity challenges

See the validity challenges on record — reexaminations, IPRs and PGRs, with their institution decisions and outcomes.

Log in to unlock

Citations

See every patent this one cites and every patent that cites it back — publication, assignee, and how each one was found.

Log in to unlock