CN103929231A - Signal processing method and electronic device - Google Patents

Signal processing method and electronic device Download PDF

Info

Publication number
CN103929231A
CN103929231A CN201410106171.2A CN201410106171A CN103929231A CN 103929231 A CN103929231 A CN 103929231A CN 201410106171 A CN201410106171 A CN 201410106171A CN 103929231 A CN103929231 A CN 103929231A
Authority
CN
China
Prior art keywords
frequency band
signal receiving
receiving unit
band value
unit
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
CN201410106171.2A
Other languages
Chinese (zh)
Other versions
CN103929231B (en
Inventor
郑煊
刘冠群
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201410106171.2A priority Critical patent/CN103929231B/en
Publication of CN103929231A publication Critical patent/CN103929231A/en
Application granted granted Critical
Publication of CN103929231B publication Critical patent/CN103929231B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Circuits Of Receivers In General (AREA)

Abstract

The invention discloses a signal processing method and an electronic device. The method comprises the step of receiving a control order sent by a user, wherein the control order comprises a frequency band value; the step of detecting whether there are signal receiving units in an idle state or not; the step of determining a signal receiving unit capable of receiving the corresponding signal of the frequency band value from the signal receiving units in the idle state when it is detected that there are the signal receiving units in the idle state; the step of controlling the determined signal receiving unit to receive a radio signal corresponding to the frequency band value and carrying out the recording operation or the playing operation according to the received radio signal. By means of the technical scheme, the user of the electronic device can listen to a plurality of programs of different frequency bands, and the user experience is enhanced.

Description

Signal processing method and electronic equipment
Technical Field
The present invention relates to communications technologies, and in particular, to a signal processing method and an electronic device.
Background
Electronic device users often listen to programs using a built-in Frequency Modulation (FM), but at the same time, the users may want to listen to multiple programs, because different programs correspond to different Frequency bands, but in the related art, programs broadcasted in real time are recorded, but only the programs that the users are currently listening to.
In summary, the related art has not yet provided an effective solution for how to enable a user to listen to a program being played in multiple frequency bands.
Disclosure of Invention
The embodiment of the invention provides a signal processing method and electronic equipment, which support the realization of listening to programs of a plurality of channels by a user and improve the user experience.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention records a signal processing method which is applied to electronic equipment; the electronic equipment comprises at least two signal receiving units, wherein the at least two signal receiving units support simultaneous reception of radio signals, and the frequency band values of the radio signals supported and received by the at least two signal receiving units are different;
the method comprises the following steps:
receiving a control instruction sent by a user, wherein the control instruction carries a frequency band value;
detecting whether a signal receiving unit in an idle state exists;
when detecting that the signal receiving unit in the idle state exists, determining the signal receiving unit which supports receiving the signal corresponding to the frequency band value from the signal receiving unit in the idle state;
and controlling the determined signal receiving unit to receive the radio signal corresponding to the frequency band value, and performing a recording operation or a playback operation according to the received radio signal.
Preferably, the performing a recording operation or a playback operation according to the received radio signal includes:
detecting whether a signal receiving unit in a working state exists or not;
when the signal receiving unit in the working state is detected, controlling the determined signal receiving unit in the idle state to receive the radio signal corresponding to the frequency band value and carrying out recording operation according to the received radio signal;
and when the signal receiving unit in the working state is not detected, controlling the determined signal receiving unit in the idle state to receive the radio signal corresponding to the frequency band value, and carrying out sound reproduction operation according to the received radio signal.
Preferably, the control instruction further carries a type identifier, and the type identifier corresponds to the frequency band value;
correspondingly, the performing a recording operation or a recording operation according to the received radio signal includes:
analyzing the instruction type corresponding to the type identification;
when the analyzed instruction type represents that the control instruction is a first type instruction, carrying out playback operation according to the received radio signal;
and when the analyzed instruction type represents that the control instruction is a second type instruction, carrying out recording operation according to the received radio signal.
Preferably, the frequency band values include: a first frequency band value and a second frequency band value;
the control instruction further carries a first type identifier and a second type identifier, the first type identifier corresponds to the first frequency band value, the second type identifier corresponds to the second frequency band value, the first type identifier identifies a first operation, the first operation is an operation performed according to a radio signal corresponding to the first frequency band value, the second type identifier identifies a second operation, and the second operation is an operation performed according to a radio signal corresponding to the second frequency band value;
correspondingly, the determining, from the signal receiving units in the idle state, the signal receiving unit that supports receiving the signal corresponding to the frequency band value includes:
determining a first signal receiving unit and a second signal receiving unit from the signal receiving units in the idle state; wherein,
the first signal receiving unit is a signal receiving unit which supports receiving of the radio signals corresponding to the first frequency band value, and the second signal receiving unit is a signal receiving unit which supports receiving of the radio signals corresponding to the second frequency band value.
Preferably, the controlling the determined signal receiving unit receives a radio signal corresponding to the band value and performs a recording operation or a playback operation according to the received radio signal, including:
when the first operation and the second operation are not operations for simultaneously instructing playback,
controlling the first signal receiving unit to receive a radio signal corresponding to the first band value and perform the first operation according to the received radio signal of the first band value;
and controlling the second signal receiving unit to receive the radio signal corresponding to the second frequency band value and perform the second operation according to the received radio signal of the second frequency band value.
The embodiment of the present invention further describes an electronic device, which includes at least two signal receiving units, where the at least two signal receiving units are configured to support simultaneous reception of radio signals, and frequency band values of the radio signals supported and received by the at least two signal receiving units are different;
the electronic device further includes: the device comprises an instruction receiving unit, a detection unit, a determination unit, a control unit, a recording unit and a playback unit; wherein,
the instruction receiving unit is used for receiving a control instruction sent by a user, and the control instruction carries a frequency band value;
the detection unit is used for detecting whether a signal receiving unit in an idle state exists or not;
the determining unit is configured to determine, from the signal receiving units in the idle state, a signal receiving unit that supports receiving the signal corresponding to the frequency band value when the detecting unit detects that there is a signal receiving unit in the idle state;
the control unit is used for controlling the signal receiving unit determined by the determining unit to receive the radio signal corresponding to the frequency band value and triggering the recording unit to carry out recording operation according to the received radio signal or triggering the playback unit to carry out playback operation according to the received radio signal.
Preferably, the detecting unit is further configured to detect whether there is a signal receiving unit in an operating state;
the control unit is further configured to control the determined signal receiving unit in the idle state to receive a radio signal corresponding to the frequency band value when the detection unit detects the signal receiving unit in the working state, and trigger the recording unit to perform a recording operation according to the received radio signal;
and when the detection unit does not detect the signal receiving unit in the working state, controlling the determined signal receiving unit in the idle state to receive a radio signal corresponding to the frequency band value, and triggering the sound reproduction unit to carry out sound reproduction operation according to the received radio signal.
Preferably, the control instruction further carries a type identifier, and the type identifier corresponds to the frequency band value;
correspondingly, the control unit is further configured to analyze the instruction type corresponding to the type identifier;
when the analyzed instruction type represents that the control instruction is a first type instruction, triggering the playback unit to perform playback operation according to the received radio signal;
and when the analyzed instruction type represents that the control instruction is a second type instruction, triggering the recording unit to record according to the received radio signal.
Preferably, the frequency band values include: a first frequency band value and a second frequency band value;
the control instruction further carries a first type identifier and a second type identifier, the first type identifier corresponds to the first frequency band value, the second type identifier corresponds to the second frequency band value, the first type identifier identifies a first operation, the first operation is an operation performed according to a radio signal corresponding to the first frequency band value, the second type identifier identifies a second operation, and the second operation is an operation performed according to a radio signal corresponding to the second frequency band value;
correspondingly, the determining unit is further configured to determine the first signal receiving unit and the second signal receiving unit from the signal receiving units in the idle state; wherein,
the first signal receiving unit is a signal receiving unit which supports receiving of the radio signals corresponding to the first frequency band value, and the second signal receiving unit is a signal receiving unit which supports receiving of the radio signals corresponding to the second frequency band value.
Preferably, the control unit is further configured to, when the first operation and the second operation are not operations for simultaneously instructing playback,
controlling the first signal receiving unit to receive a radio signal corresponding to the first frequency band value, and triggering the sound playing unit or the sound recording unit to perform the first operation according to the received radio signal of the first frequency band value;
and controlling the second signal receiving unit to receive the radio signal corresponding to the second frequency band value, and triggering the sound playing unit or the sound recording unit to perform the second operation according to the received radio signal of the second frequency band value.
In the embodiment of the invention, the signal receiving unit in an idle state is used for receiving the radio signal corresponding to the frequency band value indicated by the control instruction so as to carry out playback operation or recording operation; therefore, when the electronic equipment is in playback operation, the recording operation can be carried out, and the subsequent listening is convenient; when the electronic equipment is already performing the recording operation, the recording operation or the playing operation can be performed, so that a user of the electronic equipment can listen to programs in a plurality of different frequency bands, and the user experience is improved.
Drawings
Fig. 1 is a schematic flow chart illustrating an implementation of a signal processing method according to a first embodiment of the present invention;
fig. 2 is a schematic flow chart illustrating an implementation of the signal processing method according to the second embodiment of the present invention;
fig. 3 is a schematic flow chart illustrating an implementation of a signal processing method according to a third embodiment of the present invention;
fig. 4 is a schematic flow chart illustrating an implementation of a signal processing method according to a fourth embodiment of the present invention;
fig. 5 is a schematic flow chart illustrating an implementation of the signal processing method in the fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to a sixth embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device in a seventh embodiment of the invention.
Detailed Description
The invention is described in further detail below with reference to the figures and specific examples.
Example one
The embodiment describes a signal processing method, which is applied to an electronic device; the electronic equipment comprises at least two signal receiving units, wherein the at least two signal receiving units support simultaneous reception of radio signals, and the frequency band values of the radio signals supported and received by the at least two signal receiving units are different;
in practical applications, the signal receiving unit may be implemented by a receiver in the electronic device, and the receiver receives the radio signal with the corresponding frequency band value.
As shown in fig. 1, the signal processing method described in this embodiment includes the following steps:
step 101, receiving a control instruction sent by a user.
The control instruction carries a frequency band value.
Step 102, detecting whether a signal receiving unit in an idle state exists; if so, go to step 103; otherwise, the process is stopped.
And 103, determining a signal receiving unit which supports receiving the signal corresponding to the frequency band value from the signal receiving units in the idle state.
And step 104, controlling the determined signal receiving unit to receive the radio signal corresponding to the frequency band value.
And 105, performing recording operation or playback operation according to the received radio signal.
When a signal receiving unit in an idle state is detected in step 102, there are two cases: 1) a signal receiving unit of which the currently existing part is in an idle state; 2) the signal receiving units of the electronic equipment are all in an idle state.
For case 1), when the electronic device is currently receiving a radio signal by using a signal receiving unit in a non-idle state to perform a sound reproduction operation according to the received radio signal, the determined signal receiving unit may be controlled to receive a radio signal corresponding to the band value in step 104 and perform a sound recording operation according to the received radio signal; when the electronic device is currently receiving a radio signal by using the signal receiving unit in the non-idle state to perform a recording operation according to the received radio signal, the determined signal receiving unit may be controlled to receive the radio signal corresponding to the frequency band value in step 104, and perform a recording operation or a playback operation according to the received radio signal.
In case 2), the electronic device may perform a playback operation using the received radio signal, or may perform a recording operation; whether the electronic equipment performs the sound recording operation or the sound reproduction operation can be determined according to the current working state of the electronic equipment, and if the current electronic equipment does not perform the sound reproduction operation by using the radio signal received by the signal receiving unit which is not in the idle state before the step 101, the sound reproduction operation (or the sound recording operation) can be performed by using the radio signal received in the step 104 in the step 105; if the electronic device currently performs a sound reproduction operation using the radio signal received by the signal receiving unit that was not in the idle state before step 101, a sound recording operation may be performed using the radio signal received in step 104 in step 105.
In this embodiment, the idle signal receiving unit is used to receive the radio signal corresponding to the frequency band value indicated by the control instruction, so as to perform a playback operation or a recording operation; therefore, when the electronic equipment is in playback operation, the recording operation can be carried out, and the subsequent listening is convenient; when the electronic equipment is already performing the recording operation, the recording operation or the playing operation can be performed, so that a user of the electronic equipment can listen to programs in a plurality of different frequency bands, and the user experience is improved.
Example two
The embodiment describes a signal processing method, which is applied to an electronic device; the electronic equipment comprises at least two signal receiving units, wherein the at least two signal receiving units support simultaneous reception of radio signals, and the frequency band values of the radio signals supported and received by the at least two signal receiving units are different;
in practical applications, the signal receiving unit may be implemented by a receiver in the electronic device, and the receiver receives the radio signal of the corresponding frequency band.
As shown in fig. 2, the signal processing method described in this embodiment includes the following steps:
step 201, receiving a control instruction sent by a user.
The control instruction carries a frequency band value.
Step 202, detecting whether a signal receiving unit in an idle state exists; if so, go to step 203; otherwise, the process is stopped.
Step 203, determining the signal receiving unit supporting receiving the signal corresponding to the frequency band value from the signal receiving units in the idle state.
And step 204, controlling the determined signal receiving unit to receive the radio signal corresponding to the frequency band value.
Step 205, detecting whether a signal receiving unit in a working state exists, and if so, executing step 206; otherwise, step 207 is performed.
And step 206, performing recording operation according to the received radio signal.
And step 207, performing playback operation according to the received radio signal.
After receiving the radio signal in step 204, considering that the electronic device may already receive a radio signal in a certain frequency band before step 201, and perform a recording operation or a playback operation according to the received radio signal; if the electronic equipment is already performing playback operation, the playback operation cannot be performed according to the radio signal received in the step 204, and only the recording operation can be performed; if the electronic device is already performing a recording operation, performing a playback operation or a recording operation according to the radio signal received in step 204; correspondingly, the step 205 of detecting whether there is a signal receiving unit in an operating state means detecting whether there is a signal receiving unit currently receiving a radio signal, and the radio signal received by the signal receiving unit is used for performing an instant playback operation; correspondingly, if the radio signal exists, executing step 206, and performing a recording operation according to the radio signal received in step 204; if not, the recording operation is performed according to the radio signal received in step 204, and of course, the playback operation may also be performed by using the radio signal received in step 204.
In this embodiment, the idle signal receiving unit is used to receive the radio signal corresponding to the frequency band value indicated by the control instruction, so as to perform a playback operation or a recording operation; therefore, when the electronic equipment is in playback operation, the recording operation can be carried out, and the subsequent listening is convenient; when the electronic equipment is already performing the recording operation, the recording operation or the playing operation can be performed, so that a user of the electronic equipment can listen to programs in a plurality of different frequency bands, and the user experience is improved.
EXAMPLE III
The embodiment describes a signal processing method, which is applied to an electronic device; the electronic equipment comprises at least two signal receiving units, wherein the at least two signal receiving units support simultaneous reception of radio signals, and the frequency band values of the radio signals supported and received by the at least two signal receiving units are different;
in practical applications, the signal receiving unit may be implemented by a receiver in the electronic device, and the receiver receives the radio signal of the corresponding frequency band.
As shown in fig. 3, the signal processing method described in this embodiment includes the following steps:
step 301, receiving a control instruction sent by a user.
The control instruction carries a frequency band value and a type identifier, and the type identifier corresponds to the frequency band value.
Step 302, detecting whether a signal receiving unit in an idle state exists; if so, go to step 303; otherwise, the process is stopped.
Step 303, determining a signal receiving unit supporting receiving the signal corresponding to the frequency band value from the signal receiving units in the idle state.
And step 304, controlling the determined signal receiving unit to receive the radio signal corresponding to the frequency band value.
Step 305, analyzing the instruction type corresponding to the type identifier, and executing step 306 when the analyzed instruction type represents that the control instruction is a first type instruction; when the parsed instruction type indicates that the control instruction is a second type of instruction, step 307 is performed.
And step 306, carrying out playback operation according to the received radio signal.
Step 307, performing a recording operation according to the received radio signal.
That is, the electronic device supports the user to specify the signal of the frequency band value to be received and the operation performed on the signal of the frequency band value, namely, the recording operation or the playback operation, when the user issues the control instruction.
In the embodiment, the signal receiving unit in the idle state is used for receiving the radio signal corresponding to the frequency band value indicated by the control instruction, and performing playback operation or recording operation according to the type identifier carried in the control instruction given by the user; therefore, when the electronic equipment is in playback operation, the recording operation can be carried out, and the subsequent listening is convenient; when the electronic equipment is already performing the recording operation, the recording operation or the playing operation can be performed, so that a user of the electronic equipment can listen to programs in a plurality of different frequency bands, and the user experience is improved.
Example four
The embodiment describes a signal processing method, which is applied to an electronic device; the electronic equipment comprises at least two signal receiving units, wherein the at least two signal receiving units support simultaneous reception of radio signals, and the frequency band values of the radio signals supported and received by the at least two signal receiving units are different;
in practical applications, the signal receiving unit may be implemented by a receiver in the electronic device, and the receiver receives the radio signal of the corresponding frequency band.
As shown in fig. 4, the signal processing method described in this embodiment includes the following steps:
step 401, receiving a control instruction sent by a user.
The control instruction carries a frequency band value, and the frequency band value comprises a first frequency band value and a second frequency band value;
the control instruction further carries a first type identifier and a second type identifier, the first type identifier corresponds to the first frequency band value, the second type identifier corresponds to the second frequency band value, the first type identifier identifies a first operation, the first operation is an operation performed according to a radio signal corresponding to the first frequency band value, the second type identifier identifies a second operation, and the second operation is an operation performed according to a radio signal corresponding to the second frequency band value; the first operation and the second operation are different operations, that is, the electronic device supports a user to specify two different frequency band values through a control instruction, and performs different operations on signals corresponding to the two different frequency band values, for example, when the first operation is a recording operation, the second operation is a playback operation; and when the first operation is a playback operation, the second operation is a recording operation.
Step 402, detecting whether a signal receiving unit in an idle state exists; if so, go to step 403; otherwise, the process is stopped.
In step 403, a first signal receiving unit and a second signal receiving unit are determined from the signal receiving units in the idle state.
The first signal receiving unit is a signal receiving unit which supports receiving of the radio signal corresponding to the first frequency band value, and the second signal receiving unit is a signal receiving unit which supports receiving of the radio signal corresponding to the second frequency band value.
And step 404, controlling the determined signal receiving unit to receive the radio signal corresponding to the frequency band value.
Comprises controlling the first signal receiving unit to receive the radio signal of the first frequency band value, and simultaneously controlling the second signal receiving unit to receive the radio signal of the second frequency band value.
Step 405, performing a recording operation or a playback operation according to the received radio signal.
That is, in step 405, a corresponding recording operation or playback operation is performed on the radio signal of each frequency band received in step 405. For example, for a radio signal with a first frequency band value, when the first operation is a sound reproduction operation, the sound reproduction operation is performed according to the radio signal with the first frequency band value, and correspondingly, the sound recording operation is performed according to the radio signal with a second frequency band value; when the first operation is a recording operation, the recording operation is carried out according to the radio signal of the first frequency band value, and correspondingly, the playing operation is carried out according to the radio signal of the second frequency band value.
In this embodiment, the idle signal receiving unit is used to receive the radio signal corresponding to the frequency band value indicated by the control instruction, so as to perform a playback operation or a recording operation; therefore, when the electronic equipment user wants to listen to programs with multiple frequency band values, the radio signals with one frequency band value can be used for playing, the radio signals with the rest frequency band values are used for recording, the subsequent listening of the user is facilitated, the electronic equipment user can listen to the programs with multiple different frequency bands, and the user experience is improved.
EXAMPLE five
The embodiment describes a signal processing method, which is applied to an electronic device; the electronic equipment comprises at least two signal receiving units, wherein the at least two signal receiving units support simultaneous reception of radio signals, and the frequency band values of the radio signals supported and received by the at least two signal receiving units are different;
in practical applications, the signal receiving unit may be implemented by a receiver in the electronic device, and the receiver receives the radio signal of the corresponding frequency band.
As shown in fig. 5, the signal processing method described in this embodiment includes the following steps:
step 501, receiving a control instruction sent by a user.
The control instruction carries a frequency band value, and the frequency band value comprises a first frequency band value and a second frequency band value;
the control instruction further carries a first type identifier and a second type identifier, the first type identifier corresponds to the first frequency band value, the second type identifier corresponds to the second frequency band value, the first type identifier identifies a first operation, the first operation is an operation performed according to a radio signal corresponding to the first frequency band value, the second type identifier identifies a second operation, and the second operation is an operation performed according to a radio signal corresponding to the second frequency band value; the first operation and the second operation may be different operations or the same operation; that is, the electronic device supports the user to specify two different frequency band values through the control instruction, and perform different operations (for example, playing or recording) on the signals corresponding to the two different frequency band values, or perform the same operation (for example, recording) on the signals corresponding to the two different frequency band values.
Step 502, detecting whether a signal receiving unit in an idle state exists; if so, go to step 503; otherwise, the process is stopped.
Step 503, determining a first signal receiving unit and a second signal receiving unit from the signal receiving units in the idle state.
The first signal receiving unit is a signal receiving unit which supports receiving of the radio signal corresponding to the first frequency band value, and the second signal receiving unit is a signal receiving unit which supports receiving of the radio signal corresponding to the second frequency band value.
Step 504, judging whether the first operation and the second operation are operations for simultaneously indicating playback, if so, executing steps 505 to 506; otherwise, go to step 507 to step 508.
Step 505, controlling the first signal receiving unit to receive the radio signal corresponding to the first frequency band value, and simultaneously controlling the second signal receiving unit to receive the radio signal corresponding to the second frequency band value.
Step 506, performing playback operation according to the received radio signal with the first frequency band value, and performing recording operation according to the received radio signal with the second frequency band value.
Considering that the user of the electronic equipment may instruct the electronic equipment to simultaneously receive the radio signals of two frequency band values and perform the sound reproduction operation through the control instruction, and the simultaneous sound reproduction operation cannot be realized, when the first operation and the second operation indicated in the control instruction are determined to be the sound reproduction operation, the radio signal of one frequency band value is used for performing the sound reproduction operation, and the radio signal of the other frequency band value is used for performing the sound recording operation; accordingly, step 506 may also be replaced by the following steps: and carrying out recording operation according to the received radio signal with the first frequency band value, and carrying out playback operation according to the received radio signal with the second frequency band value.
Step 507, controlling the first signal receiving unit to receive the radio signal corresponding to the first frequency band value, and performing the first operation according to the received radio signal of the first frequency band value.
Step 508, controlling the second signal receiving unit to receive the radio signal corresponding to the second frequency band value, and performing the second operation according to the received radio signal of the second frequency band value.
In this embodiment, the idle signal receiving unit is used to receive the radio signal corresponding to the frequency band value indicated by the control instruction, so as to perform a playback operation or a recording operation; therefore, when the electronic equipment is used for hopeing to listen to programs with multiple frequency band values, the radio signals with one frequency band value can be used for playing, the radio signals with the other frequency band values are used for recording, the subsequent listening of a user is facilitated, the electronic equipment user can listen to the programs with multiple different frequency bands, and the user experience is improved.
EXAMPLE five
This embodiment describes an electronic device, as shown in fig. 6, the electronic device includes at least two signal receiving units 61, where the at least two signal receiving units 61 are configured to support simultaneous reception of radio signals, and frequency band values of the radio signals supported and received by the at least two signal receiving units 61 are different;
the electronic device further includes: an instruction receiving unit 62, a detecting unit 63, a determining unit 64, a control unit 65, a recording unit 66, and a playback unit 67; wherein,
the instruction receiving unit 62 is configured to receive a control instruction sent by a user, where the control instruction carries a frequency band value;
the detecting unit 63 is configured to detect whether there is a signal receiving unit 61 in an idle state;
the determining unit 64 is configured to determine, from the signal receiving unit 61 in the idle state, the signal receiving unit 61 that supports receiving the signal corresponding to the band value, when the detecting unit 63 detects that there is the signal receiving unit 61 in the idle state;
the control unit 65 is configured to control the signal receiving unit 61 determined by the determining unit 64 to receive the radio signal corresponding to the frequency band value, and trigger the recording unit 66 to perform a recording operation according to the received radio signal, or trigger the playback unit 67 to perform a playback operation according to the received radio signal.
In practical applications, the signal receiving unit 61 may be implemented by a receiver in an electronic device; the instruction receiving unit 62, the detecting unit 63, the determining unit 64, and the control unit 65 may be implemented by a CPU or a Field Programmable Gate Array (FPGA) in the electronic device; the recording unit 66 may be implemented by a nonvolatile storage medium in the electronic device; the sound reproduction unit 67 may be implemented by a speaker in the electronic device.
This embodiment describes an electronic device, as shown in fig. 7, the electronic device includes at least two signal receiving units 71, where the at least two signal receiving units 71 are configured to support simultaneous reception of radio signals, and frequency band values of the radio signals supported and received by the at least two signal receiving units 71 are different;
the electronic device further includes: an instruction receiving unit 72, a detecting unit 73, a determining unit 74, a control unit 75, a recording unit 76, and a playback unit 77; wherein,
the instruction receiving unit 72 is configured to receive a control instruction sent by a user, where the control instruction carries a frequency band value;
the detection unit 73, which is used to detect whether there is a signal receiving unit 71 in an idle state;
the determining unit 74 is configured to determine, from the signal receiving unit 71 in the idle state, the signal receiving unit 71 that supports receiving the signal corresponding to the frequency band value, when the detecting unit 73 detects that there is the signal receiving unit 71 in the idle state;
the control unit 75 is configured to control the signal receiving unit 71 determined by the determining unit 74 to receive the radio signal corresponding to the frequency band value, and to trigger the recording unit 76 to perform a recording operation according to the received radio signal, or trigger the sound reproduction unit 77 to perform a sound reproduction operation according to the received radio signal.
The detecting unit 73 is further configured to detect whether there is a signal receiving unit 71 in an operating state;
the control unit 75 is further configured to, when the detection unit 73 detects the signal receiving unit 71 in the working state, control the determined signal receiving unit 71 in the idle state to receive a radio signal corresponding to the frequency band value, and trigger the recording unit 76 to perform a recording operation according to the received radio signal;
when the detecting unit 73 does not detect the signal receiving unit 71 in the working state, the signal receiving unit 71 in the determined idle state is controlled to receive the radio signal corresponding to the frequency band value, and the sound playing unit 77 is triggered to play sound according to the received radio signal.
The control instruction also carries a type identifier, and the type identifier corresponds to the frequency band value;
correspondingly, the control unit 75 is further configured to parse the instruction type corresponding to the type identifier;
when the analyzed instruction type represents that the control instruction is a first type instruction, the playback unit 77 is triggered to perform playback operation according to the received radio signal;
and when the analyzed instruction type represents that the control instruction is a second type instruction, triggering the recording unit 76 to record according to the received radio signal.
Wherein the bin values include: a first frequency band value and a second frequency band value;
the control instruction further carries a first type identifier and a second type identifier, the first type identifier corresponds to the first frequency band value, the second type identifier corresponds to the second frequency band value, the first type identifier identifies a first operation, the first operation is an operation performed according to a radio signal corresponding to the first frequency band value, the second type identifier identifies a second operation, and the second operation is an operation performed according to a radio signal corresponding to the second frequency band value;
accordingly, the determining unit 74 is further configured to determine the first signal receiving unit and the second signal receiving unit from the signal receiving unit 71 in the idle state; wherein,
the first signal receiving unit is a signal receiving unit 71 supporting receiving of the radio signal corresponding to the first frequency band value, and the second signal receiving unit is a signal receiving unit 71 supporting receiving of the radio signal corresponding to the second frequency band value.
Wherein, the control unit 75 is further configured to, when the first operation and the second operation are not operations for simultaneously instructing playback,
controlling the first signal receiving unit to receive a radio signal corresponding to the first frequency band value, and triggering the sound reproduction unit 77 or the sound recording unit 76 to perform the first operation according to the received radio signal of the first frequency band value;
controls the second signal receiving unit to receive the radio signal corresponding to the second frequency band value, and triggers the sound reproducing unit 77 or the sound recording unit 76 to perform the second operation according to the received radio signal of the second frequency band value.
In practical applications, the signal receiving unit 71 may be implemented by a receiver in an electronic device; the instruction receiving unit 72, the detecting unit 73, the determining unit 74, and the controlling unit 75 may be implemented by a CPU or an FPGA in the electronic device; the recording unit 76 may be implemented by a nonvolatile storage medium in the electronic apparatus; the sound reproducing unit 77 may be implemented by a speaker in the electronic device.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described device embodiments are merely illustrative, for example, the division of the unit is only a logical functional division, and there may be other division ways in actual implementation, such as: multiple units or components may be combined, or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the coupling, direct coupling or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection between the devices or units may be electrical, mechanical or other forms.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed on a plurality of network units; some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, all the functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately regarded as one unit, or two or more units may be integrated into one unit; the integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or part of the steps for implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer readable storage medium, and when executed, the program performs the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Alternatively, the integrated unit of the present invention may be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. Based on such understanding, the technical solutions of the embodiments of the present invention may be essentially implemented or a part contributing to the prior art may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the methods described in the embodiments of the present invention. And the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic or optical disk, or various other media that can store program code.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A signal processing method is applied to electronic equipment; the electronic equipment is characterized by comprising at least two signal receiving units, wherein the at least two signal receiving units support simultaneous reception of radio signals, and the frequency band values of the radio signals supported and received by the at least two signal receiving units are different;
the method comprises the following steps:
receiving a control instruction sent by a user, wherein the control instruction carries a frequency band value;
detecting whether a signal receiving unit in an idle state exists;
when detecting that the signal receiving unit in the idle state exists, determining the signal receiving unit which supports receiving the signal corresponding to the frequency band value from the signal receiving unit in the idle state;
and controlling the determined signal receiving unit to receive the radio signal corresponding to the frequency band value, and performing a recording operation or a playback operation according to the received radio signal.
2. The method of claim 1, wherein performing a recording or playback operation based on the received radio signal comprises:
detecting whether a signal receiving unit in a working state exists or not;
when the signal receiving unit in the working state is detected, controlling the determined signal receiving unit in the idle state to receive the radio signal corresponding to the frequency band value and carrying out recording operation according to the received radio signal;
and when the signal receiving unit in the working state is not detected, controlling the determined signal receiving unit in the idle state to receive the radio signal corresponding to the frequency band value, and carrying out sound reproduction operation according to the received radio signal.
3. The method of claim 1, wherein the control command further carries a type identifier, and the type identifier corresponds to the frequency band value;
correspondingly, the performing a recording operation or a recording operation according to the received radio signal includes:
analyzing the instruction type corresponding to the type identification;
when the analyzed instruction type represents that the control instruction is a first type instruction, carrying out playback operation according to the received radio signal;
and when the analyzed instruction type represents that the control instruction is a second type instruction, carrying out recording operation according to the received radio signal.
4. The method of claim 1,
the frequency band values include: a first frequency band value and a second frequency band value;
the control instruction further carries a first type identifier and a second type identifier, the first type identifier corresponds to the first frequency band value, the second type identifier corresponds to the second frequency band value, the first type identifier identifies a first operation, the first operation is an operation performed according to a radio signal corresponding to the first frequency band value, the second type identifier identifies a second operation, and the second operation is an operation performed according to a radio signal corresponding to the second frequency band value;
correspondingly, the determining, from the signal receiving units in the idle state, the signal receiving unit that supports receiving the signal corresponding to the frequency band value includes:
determining a first signal receiving unit and a second signal receiving unit from the signal receiving units in the idle state; wherein,
the first signal receiving unit is a signal receiving unit which supports receiving of the radio signals corresponding to the first frequency band value, and the second signal receiving unit is a signal receiving unit which supports receiving of the radio signals corresponding to the second frequency band value.
5. The method according to claim 4, wherein the controlling the determined signal receiving unit to receive a radio signal corresponding to the band value and to perform a recording operation or a playback operation according to the received radio signal includes:
when the first operation and the second operation are not operations for simultaneously instructing playback,
controlling the first signal receiving unit to receive a radio signal corresponding to the first band value and perform the first operation according to the received radio signal of the first band value;
and controlling the second signal receiving unit to receive the radio signal corresponding to the second frequency band value and perform the second operation according to the received radio signal of the second frequency band value.
6. An electronic device, comprising at least two signal receiving units, wherein the at least two signal receiving units are configured to support simultaneous reception of radio signals, and frequency band values of the radio signals supported and received by the at least two signal receiving units are different;
the electronic device further includes: the device comprises an instruction receiving unit, a detection unit, a determination unit, a control unit, a recording unit and a playback unit; wherein,
the instruction receiving unit is used for receiving a control instruction sent by a user, and the control instruction carries a frequency band value;
the detection unit is used for detecting whether a signal receiving unit in an idle state exists or not;
the determining unit is configured to determine, from the signal receiving units in the idle state, a signal receiving unit that supports receiving the signal corresponding to the frequency band value when the detecting unit detects that there is a signal receiving unit in the idle state;
the control unit is used for controlling the signal receiving unit determined by the determining unit to receive the radio signal corresponding to the frequency band value and triggering the recording unit to carry out recording operation according to the received radio signal or triggering the playback unit to carry out playback operation according to the received radio signal.
7. The electronic device of claim 6,
the detection unit is also used for detecting whether a signal receiving unit in a working state exists or not;
the control unit is further configured to control the determined signal receiving unit in the idle state to receive a radio signal corresponding to the frequency band value when the detection unit detects the signal receiving unit in the working state, and trigger the recording unit to perform a recording operation according to the received radio signal;
and when the detection unit does not detect the signal receiving unit in the working state, controlling the determined signal receiving unit in the idle state to receive a radio signal corresponding to the frequency band value, and triggering the sound reproduction unit to carry out sound reproduction operation according to the received radio signal.
8. The electronic device according to claim 6, wherein the control command further carries a type identifier, and the type identifier corresponds to the frequency band value;
correspondingly, the control unit is further configured to analyze the instruction type corresponding to the type identifier;
when the analyzed instruction type represents that the control instruction is a first type instruction, triggering the playback unit to perform playback operation according to the received radio signal;
and when the analyzed instruction type represents that the control instruction is a second type instruction, triggering the recording unit to record according to the received radio signal.
9. The electronic device of claim 6,
the frequency band values include: a first frequency band value and a second frequency band value;
the control instruction further carries a first type identifier and a second type identifier, the first type identifier corresponds to the first frequency band value, the second type identifier corresponds to the second frequency band value, the first type identifier identifies a first operation, the first operation is an operation performed according to a radio signal corresponding to the first frequency band value, the second type identifier identifies a second operation, and the second operation is an operation performed according to a radio signal corresponding to the second frequency band value;
correspondingly, the determining unit is further configured to determine the first signal receiving unit and the second signal receiving unit from the signal receiving units in the idle state; wherein,
the first signal receiving unit is a signal receiving unit which supports receiving of the radio signals corresponding to the first frequency band value, and the second signal receiving unit is a signal receiving unit which supports receiving of the radio signals corresponding to the second frequency band value.
10. The electronic device of claim 9,
the control unit is also used for indicating the operation of playing back when the first operation and the second operation are not the operation of playing back sound at the same time,
controlling the first signal receiving unit to receive a radio signal corresponding to the first frequency band value, and triggering the sound playing unit or the sound recording unit to perform the first operation according to the received radio signal of the first frequency band value;
and controlling the second signal receiving unit to receive the radio signal corresponding to the second frequency band value, and triggering the sound playing unit or the sound recording unit to perform the second operation according to the received radio signal of the second frequency band value.
CN201410106171.2A 2014-03-20 2014-03-20 Signal processing method and electronic equipment Active CN103929231B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410106171.2A CN103929231B (en) 2014-03-20 2014-03-20 Signal processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410106171.2A CN103929231B (en) 2014-03-20 2014-03-20 Signal processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103929231A true CN103929231A (en) 2014-07-16
CN103929231B CN103929231B (en) 2017-09-29

Family

ID=51147325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410106171.2A Active CN103929231B (en) 2014-03-20 2014-03-20 Signal processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103929231B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105281795A (en) * 2015-10-30 2016-01-27 兰州大学 Multifunctional double-channel FM receiving device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1152612A2 (en) * 2000-05-01 2001-11-07 Matsushita Electric Industrial Co., Ltd. Multiplex data recording and reproducing apparatus and method for the same
US20070077028A1 (en) * 1999-08-09 2007-04-05 British Sky Broadcasting Limited Receivers for television signals
CN1969547A (en) * 2004-06-11 2007-05-23 松下电器产业株式会社 Data processing device
CN102075842A (en) * 2011-01-24 2011-05-25 北京奥麦特科技有限公司 Tinnitus hearing aid
CN102231853A (en) * 2011-06-22 2011-11-02 宇龙计算机通信科技(深圳)有限公司 Program processing method and mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070077028A1 (en) * 1999-08-09 2007-04-05 British Sky Broadcasting Limited Receivers for television signals
EP1152612A2 (en) * 2000-05-01 2001-11-07 Matsushita Electric Industrial Co., Ltd. Multiplex data recording and reproducing apparatus and method for the same
CN1969547A (en) * 2004-06-11 2007-05-23 松下电器产业株式会社 Data processing device
CN102075842A (en) * 2011-01-24 2011-05-25 北京奥麦特科技有限公司 Tinnitus hearing aid
CN102231853A (en) * 2011-06-22 2011-11-02 宇龙计算机通信科技(深圳)有限公司 Program processing method and mobile terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105281795A (en) * 2015-10-30 2016-01-27 兰州大学 Multifunctional double-channel FM receiving device

Also Published As

Publication number Publication date
CN103929231B (en) 2017-09-29

Similar Documents

Publication Publication Date Title
CN104185132B (en) Channel configuration method, intelligent terminal and corresponding system
CN106331765B (en) Hard solution testing method, terminal, server and computer readable storage medium
JP2009514341A5 (en)
US10635388B2 (en) Sound effect processing method and mobile terminal
CN103905925B (en) The method and terminal that a kind of repeated program plays
CN104853336A (en) Method for discovering intelligent equipment, method for accessing to internet and devices thereof
CN104834435A (en) Method and device for playing audio comments
CN113039516B (en) Method and device for processing application program and electronic equipment
CN104618794A (en) Method and device for playing video
CN105096977A (en) Control method for multimedia playing and mobile terminal
EP2744181B1 (en) Alarm Operation Method and Mobile Terminal Supporting the Same
CN102868817A (en) Method and system for automatic running of earphone inserted in mobile terminal
CN104991755A (en) Information processing method and electronic device
CN105979060A (en) Play method and device
CN106095379B (en) A kind of volume adjusting method and device
CN105898480A (en) Multimedia preview method and device and mobile terminal device
CN103929231B (en) Signal processing method and electronic equipment
EP3553650B1 (en) Multimedia data playback method and terminal device
US20170123753A1 (en) Electronic device and method for playing back sound data
CN110989816B (en) Application processing method and device and storage medium
CN102638756A (en) Mobile terminal voice frequency test method, test device and mobile terminal
CN107957899B (en) Screen recording method and device, computer readable storage medium and mobile terminal
CN105812904A (en) Bluetooth module control method for playing devices and audio-video playing system
CN105577863A (en) Sound recording method and apparatus
CN108200142A (en) A kind of music method for pushing and sound-box device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant