CN106453821A - Signal conversion method and apparatus - Google Patents

Signal conversion method and apparatus Download PDF

Info

Publication number
CN106453821A
CN106453821A CN201610787097.4A CN201610787097A CN106453821A CN 106453821 A CN106453821 A CN 106453821A CN 201610787097 A CN201610787097 A CN 201610787097A CN 106453821 A CN106453821 A CN 106453821A
Authority
CN
China
Prior art keywords
signal
object run
operation signal
converted
preset mode
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.)
Pending
Application number
CN201610787097.4A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610787097.4A priority Critical patent/CN106453821A/en
Publication of CN106453821A publication Critical patent/CN106453821A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones
    • H04M1/72502Cordless telephones with one base station connected to a single line
    • H04M1/72505Radio link set-up procedures
    • H04M1/72513On hold, intercom or transfer communication modes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Abstract

The invention provides a signal conversion method and apparatus. The method comprises the following steps: when an earphone jack detects operation signals, detecting whether it is currently in a preset mode; if so, converting the operation signals into target operation signals; and executing operation indicated by the target operation signals. According to the invention, after the earphone jack receives the operation signals, more operation can be executed, the operability and the controllability of a hardware device accessed to a terminal through the earphone jack for the terminal is improved, and user experience is improved.

Description

Signal conversion method and device
Technical field
It relates to the communications field, particularly relate to signal conversion method and device.
Background technology
In correlation technique, hardware device such as earphone, after earphone jack access terminal, once triggers this hardware device On physical button, then can send operation signal by described earphone jack to terminal, and then terminal is operated letter according to this Number perform corresponding operation.
But the operation that terminal can be performed by based on the operation signal that earphone jack receives is limited, causes passing through The hardware device of earphone jack access terminal is to the operability of described terminal and poor controllability, and Consumer's Experience is bad.
Content of the invention
In view of this, present disclose provides signal conversion method and device, to solve the deficiency in correlation technique.
According to the first aspect of disclosure embodiment, providing a kind of signal conversion method, described method includes:
After receiving operation signal by earphone jack, whether detection is currently in preset mode;
If being in described preset mode, described operation signal is converted to object run signal;
Perform the operation indicated by described object run signal;
Wherein, described operation signal be performed for described preset mode outside the behaviour of operation of other pattern match Make signal;Described object run signal is performed for the operation signal of predetermined registration operation.
Alternatively, described preset mode is for playing the pattern outside the play mode of media file or incoming call handling pattern;
Described operation signal includes any one signal following:
Volume adjusting operation, broadcasting pausing operation or the broadcasting mated with described play mode start the operation signal of operation
Volume adjusting operation with described incoming call handling pattern match, incoming call making operation or incoming call hang up the operation of operation Signal.
Alternatively, described by described operation signal be converted to object run signal, including:
According to the conversion corresponding relation between the operation signal prestoring, determine and the described operation corresponding object run of signal Signal.
Alternatively, described by described operation before signal is converted to object run signal, described method also includes:
Output prompts the user to choose whether to carry out described operation signal the information of signal conversion;
After receiving the confirmation based on described information, perform described by described operation signal be converted to target The step of operation signal.
Alternatively, described by described operation before signal is converted to object run signal, described method also includes:
Detect whether to open function switching signal;
When detect open described function switching signal after, perform described by described operation signal be converted to object run The step of signal.
According to the second aspect of disclosure embodiment, providing a kind of chromacoder, described device includes:
First detection module, after being configured as receiving operation signal by earphone jack, whether detection is currently in Preset mode;
Described operation signal, if being configured to be in described preset mode, is converted to target behaviour by signal conversion module Make signal;
Perform module, be configured to perform the operation indicated by described object run signal;
Wherein, described operation signal be performed for described preset mode outside the behaviour of operation of other pattern match Make signal;Described object run signal is performed for the operation signal of predetermined registration operation.
Alternatively, described preset mode is for playing the pattern outside the play mode of media file or incoming call handling pattern;
Described operation signal includes any one signal following:
Volume adjusting operation, broadcasting pausing operation or the broadcasting mated with described play mode start the operation signal of operation
Volume adjusting operation with described incoming call handling pattern match, incoming call making operation or incoming call hang up the operation of operation Signal.
Alternatively, described signal conversion module includes:
Signal transform subblock, is configured to the conversion corresponding relation between according to the operation signal prestoring, determines and institute State operation signal corresponding object run signal.
Alternatively, described device also includes:
Output module, is configured to export the prompting prompting the user to choose whether to carry out signal conversion to described operation signal Information;
First control module, after being configured as receiving the confirmation based on described information, controls described letter Described operation signal is converted to object run signal by number modular converter.
Alternatively, described device also includes:
Second detection module, is configured to detect whether to open function switching signal;
Second control module, after being configured as detecting and opening described function switching signal, controls described signal and turns Described operation signal is converted to object run signal by die change block.
According to the third aspect of disclosure embodiment, provide a kind of chromacoder, including:
Processor;
For storing the memory of processor executable;
Wherein, described processor is configured to:
After receiving operation signal by earphone jack, whether detection is currently in preset mode;
If being in described preset mode, described operation signal is converted to object run signal;
Perform the operation indicated by described object run signal;
Wherein, described operation signal be performed for described preset mode outside the behaviour of operation of other pattern match Make signal;Described object run signal is performed for the operation signal of predetermined registration operation.
Embodiment of the disclosure that the technical scheme of offer can include following beneficial effect:
In disclosure embodiment, after terminal receives operation signal by earphone jack, whether detection automatically is currently in Preset mode.Under described preset mode, described operation signal is changed, obtains object run signal.Thus perform to be somebody's turn to do Operation indicated by object run signal.By the signal conversion of said process so that receiving operation by earphone jack After signal, can perform more to operate, and improve by the hardware device of earphone jack access terminal to described terminal Operability and controllability, improve Consumer's Experience.
In disclosure embodiment, terminal can determine according to the conversion corresponding relation between the operation signal prestoring and lead to Cross the operation signal corresponding object run signal that earphone jack receives.Realizing simplicity, availability is high.
In disclosure embodiment, before operation signal is converted to object run signal, information can be exported, with Just user chooses whether to carry out signal conversion based on described information, and further, terminal is receiving the confirmation letter of user Carry out signal conversion after breath.Or whether terminal automatic detection signal translation function opens, if had been switched on, just carry out signal Conversion.Pass through said process so that after received operation signal by earphone jack, can perform more to operate is same When, add between terminal and user is mutual, improves Consumer's Experience.
It should be appreciated that it is only exemplary and explanatory, not that above general description and details hereinafter describe The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in specification and constitutes the part of this specification, shows the enforcement meeting the disclosure Example, and for explaining the principle of the disclosure together with specification.
Fig. 1 is a kind of signal conversion method flow chart according to an exemplary embodiment for the disclosure;
Fig. 2 is another kind of signal conversion method flow chart according to an exemplary embodiment for the disclosure;
Fig. 3 A to 3B is signal shift scene schematic diagram according to an exemplary embodiment for the disclosure;
Fig. 4 is another kind of signal conversion method flow chart according to an exemplary embodiment for the disclosure;
Fig. 5 is another kind of signal shift scene schematic diagram according to an exemplary embodiment for the disclosure;
Fig. 6 is another kind of signal conversion method flow chart according to an exemplary embodiment for the disclosure;
Fig. 7 is another kind of signal shift scene schematic diagram according to an exemplary embodiment for the disclosure;
Fig. 8 is a kind of chromacoder block diagram according to an exemplary embodiment for the disclosure;
Fig. 9 is another kind of chromacoder block diagram according to an exemplary embodiment for the disclosure;
Figure 10 is another kind of chromacoder block diagram according to an exemplary embodiment for the disclosure;
Figure 11 is another kind of chromacoder block diagram according to an exemplary embodiment for the disclosure;
Figure 12 is an a kind of structural representation for chromacoder according to an exemplary embodiment for the disclosure Figure.
Detailed description of the invention
Here will illustrate exemplary embodiment in detail, its example represents in the accompanying drawings.Explained below relates to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with such as appended The example of the consistent apparatus and method of some aspects that described in detail in claims, the disclosure.
The term using in the disclosure is only merely for the purpose describing specific embodiment, and is not intended to be limiting the disclosure. " a kind of ", " described " and " being somebody's turn to do " of singulative used in disclosure and the accompanying claims book is also intended to include majority Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wraps Containing one or more any or all possible combinations listing project being associated.
Although it should be appreciated that and term first, second, third, etc. may being used to describe various information in the disclosure, but this A little information should not necessarily be limited by these terms.These terms are only used for same type of information is distinguished from each other out.For example, without departing from In the case of disclosure scope, the first information also can be referred to as the second information, and similarly, the second information also can be referred to as One information.Depend on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
The method providing in disclosure embodiment may be used for terminal, for example, and smart mobile phone, panel computer, individual digital Assistant (Personal Digital Assistant, PDA) etc..As it is shown in figure 1, Fig. 1 is to illustrate according to an exemplary embodiment A kind of signal conversion method, comprise the following steps:
In a step 101, after receiving operation signal by earphone jack, whether detection is currently in preset mode.
In disclosure embodiment, after hardware device is by earphone jack access terminal, user can trigger described hardware Physical button on equipment, thus send operation signal by described earphone jack to described terminal.Alternatively, described hardware sets The standby equipment that can be by earphone jack access terminal, such as line control earphone, draws OK a karaoke club, meter Jian etc..
In correlation technique, the hardware device that terminal acquiescence accesses described earphone jack is earphone, and described terminal is by test The resistance value of earphone jack position, directly determines described operation signal.The resistance value that prestored in described terminal and operation signal it Between corresponding relation, therefore, it can, after the resistance value testing out earphone jack position according to correlation technique, determine corresponding institute State operation signal.
Wherein, described operation signal be performed for described preset mode outside the behaviour of operation of other pattern match Make signal.In disclosure embodiment, described preset mode is outside play mode or the incoming call handling pattern playing media file Pattern.Correspondingly, described operation signal is just performed for and described play mode or described incoming call handling pattern match The operation signal of operation, it is alternatively possible to include any one signal following:
Volume adjusting operation, broadcasting pausing operation or the broadcasting mated with described play mode start the operation signal of operation
Volume adjusting operation with described incoming call handling pattern match, incoming call making operation or incoming call hang up the operation of operation Signal.
Corresponding relation between the resistance value preset and operation signal can be with shown in table 1.
Table 1
It can be seen that described terminal is detecting that the resistance value of described earphone jack position is R1Or R3When, determine respectively and connect Receiving volume increases operation signal and volume reduction operation signal.When resistance value is R2When, corresponding in multiple operation signals Any one, at this time, it may be necessary to the pattern being presently according to terminal, determine received which operation signal.
It is alternatively possible to determine be currently at which kind of pattern by the App running current in terminal.If described terminal On run audio frequency play App, then may determine that and be currently at described play mode;If having run call App in terminal, then May determine that and be currently at described call tupe;If off-duty audio frequency plays App and off-duty call App, then permissible Determine and be currently at described preset mode.
If being in described play mode or described call tupe, described terminal can be further according to correlation technique Determine the operation signal of coupling, perform corresponding operating.For example, be currently running audio frequency and play App, then described terminal is true Fixed described operation signal starts to operate signal for broadcasting pausing operation signal or the broadcasting mated with described play mode.Further Ground, terminal plays the state of App according to the described audio frequency of correlation technique detection, if carrying out audio frequency broadcasting, then described operation Signal, for playing pausing operation signal, otherwise determines that described operation signal is that broadcasting starts to operate signal, thus performs corresponding behaviour Make.
If being currently at described preset mode, then continue executing with step 102.
In a step 102, described operation signal is converted to object run signal.
In this step, described terminal can be right according to the conversion between the operation signal prestoring under described preset mode Should be related to, determine and described operation signal corresponding object run signal.Wherein, described object run signal is performed for pre- If the operation signal of operation.
For example, described conversion corresponding relation instruction volume increases operation signal corresponding conversion is to run to specify App, for example micro- The operation signal of letter, then described terminal is under described preset mode, described volume increases operation signal and is converted to run wechat The object run signal of App.
In step 103, the operation indicated by described object run signal is performed.
In this step, described terminal, after obtaining described object run signal, directly performs described mesh according to correlation technique Operation indicated by signal for the mark operation.
In above-described embodiment, after terminal receives operation signal by earphone jack, whether detection automatically is currently in pre- If pattern.Under described preset mode, described operation signal is changed, obtains object run signal.Thus perform this mesh Operation indicated by signal for the mark operation.By the signal conversion of said process so that receiving operation letter by earphone jack After number, can perform more to operate, and improve by the hardware device of earphone jack access terminal to described terminal can Operability and controllability, improve Consumer's Experience.
Alternatively, in above-described embodiment, terminal use can pre-set on the hardware device accessing earphone jack different Physical button predetermined registration operation corresponding under described preset mode, as in figure 2 it is shown, Fig. 2 is in aforementioned embodiment illustrated in fig. 1 On the basis of the another kind of document handling method that illustrates, comprise the following steps:
In step 100-1, virtual key is preset in output.
In this step, described terminal can be according to the described default virtual key of correlation technique output.For example, described terminal can Answer or the virtual key of hanging up calling with output, and the virtual key that the virtual key that increases of volume and volume reduce, as Shown in Fig. 3 A.
In step 100-2, the needs correspondence that described default virtual key is arranged by acquisition user by input operation is held The operation information of the operation of row.
In this step, user can by the modes such as double-click select to need to arrange respective operations described preset virtual by Key, and then input corresponding operation by input operation.For example, user can arrange described and answer or the void of hanging up calling The corresponding operation of plan button, for opening wechat circle of friends, can also arrange operation corresponding with the virtual key that volume increases for stepping on App, such as Alipay App are specified in record, and operation corresponding with the virtual key that volume reduces logs in described terminal for exiting All App, as shown in Figure 3 B.
Certainly, in order to promote Consumer's Experience further, in disclosure embodiment, multiple choosings of predetermined registration operation can also be exported , selected by user and preset the corresponding predetermined registration operation of virtual key.
In above-described embodiment, after described predetermined registration operation is configured by described user, terminal can be held under preset mode The corresponding described predetermined registration operation of row.
For example, after earphone is by described earphone jack access terminal, user triggers the thing that the volume on described earphone increases Reason button, then described terminal detects that the resistance value of described earphone jack position is R1When, determine that receiving volume increases operation Signal, further, described terminal detects that current i.e. off-duty audio frequency plays App also off-duty call App, it is determined that current It is in described preset mode.Now, described volume increase operation signal can be converted to open wechat circle of friends by described terminal Object run signal, thus according to described object run signal, open wechat circle of friends.
In above-described embodiment, user can arrange according to the hobby of oneself and trigger physical button different on hardware device When, the operation that terminal performs, improve Consumer's Experience.
In disclosure embodiment, alternatively, before described operation signal being converted to object run signal, described method is such as Shown in Fig. 4, Fig. 4 is the another kind of signal conversion method shown on the basis of embodiment illustrated in fig. 1, can also include:
At step 104, output prompts the user to choose whether to carry out described operation signal the information of signal conversion.
In this step, after described terminal is currently at described preset mode according to correlation technique determination, output is described automatically Information, such as, shown in Fig. 5, chosen whether to carry out signal conversion by user.
In step 105, after receiving the confirmation based on described information, perform described by described operation letter Number be converted to the step of object run signal.
In this step, if user confirms to carry out signal conversion to described operation signal, then described terminal based on described really Recognize information, perform the above-mentioned step that described operation signal is converted to object run signal.
In above-described embodiment, can be chosen whether to carry out signal conversion to operation signal by user so that passing through earphone After the operation signal that jack receives, while can performing more to operate, add between terminal and user is mutual, carries Rise Consumer's Experience.
In disclosure embodiment, alternatively, before described operation signal being converted to object run signal, described method is such as Shown in Fig. 6, Fig. 6 is the another kind of signal conversion method shown on the basis of embodiment illustrated in fig. 1, can also include:
In step 104 ' in, detect whether to open function switching signal.
Alternatively, whether described terminal can open to described behaviour in advance according to the described terminal of correlation technique detection Carry out the function of signal conversion as signal.Described function switching signal is once opened, as it is shown in fig. 7, described terminal performs institute State operation signal and be converted to the step of object run signal.
In above-described embodiment, user can open described function switching signal in advance, and terminal is currently at described in determination It after preset mode, is automatically based upon described function switching signal and has turned on, signal conversion is carried out to operation signal so that passing through ear After the operation signal that machine transplanting of rice hole receives, while can performing more to operate, add between terminal and user is mutual, Improve Consumer's Experience.
Corresponding with preceding method embodiment, the disclosure additionally provides the embodiment of device.
As shown in Figure 8, Fig. 8 is a kind of chromacoder block diagram according to an exemplary embodiment for the disclosure, bag Include:
First detection module 210, after being configured as receiving operation signal by earphone jack, whether detection is currently located In preset mode;
Described operation signal, if being configured to be in described preset mode, is converted to target by signal conversion module 220 Operation signal;
Perform module 230, be configured to perform the operation indicated by described object run signal;
Wherein, described operation signal be performed for described preset mode outside the behaviour of operation of other pattern match Make signal;Described object run signal is performed for the operation signal of predetermined registration operation.
Alternatively, described preset mode is for playing the pattern outside the play mode of media file or incoming call handling pattern;
Described operation signal includes any one signal following:
Volume adjusting operation, broadcasting pausing operation or the broadcasting mated with described play mode start the operation signal of operation
Volume adjusting operation with described incoming call handling pattern match, incoming call making operation or incoming call hang up the operation of operation Signal.
As it is shown in figure 9, Fig. 9 is another kind of chromacoder block diagram according to an exemplary embodiment for the disclosure, This embodiment is on the basis of aforementioned embodiment illustrated in fig. 8, and described signal conversion module 220 includes:
Signal transform subblock 221, be configured to according to prestore operation signal between conversion corresponding relation, determine with Described operation signal corresponding object run signal.
As shown in Figure 10, Figure 10 is another kind of chromacoder frame according to an exemplary embodiment for the disclosure Figure, this embodiment is on the basis of aforementioned embodiment illustrated in fig. 8, and described device also includes:
Output module 240, be configured to export prompt the user to choose whether to described operation signal carry out signal conversion Information;
First control module 250, after being configured as receiving the confirmation based on described information, control is described Described operation signal is converted to object run signal by signal conversion module.
As shown in figure 11, Figure 11 is another kind of chromacoder frame according to an exemplary embodiment for the disclosure Figure, this embodiment is on the basis of aforementioned embodiment illustrated in fig. 8, and described device also includes:
Second detection module 260, is configured to detect whether to open function switching signal;
Second control module 270, after being configured as detecting and opening described function switching signal, controls described signal Described operation signal is converted to object run signal by modular converter.
For device embodiment, owing to it corresponds essentially to embodiment of the method, so related part sees method in fact The part executing example illustrates.Device embodiment described above is only schematically, wherein said as separating component The unit illustrating can be or may not be physically separate, as the parts that unit shows can be or also permissible It not physical location, i.e. may be located at a place, or can be distributed on multiple NE yet.Can be according to actual Need to select some or all of module therein to realize the purpose of disclosure scheme.Those of ordinary skill in the art are not paying It in the case of going out creative work, is i.e. appreciated that and implements.
Accordingly, the disclosure also provides a kind of chromacoder, including:
Processor;
For storing the memory of processor executable;
Wherein, described processor is configured to:
After receiving operation signal by earphone jack, whether detection is currently in preset mode;
If being in described preset mode, described operation signal is converted to object run signal;
Perform the operation indicated by described object run signal;
Wherein, described operation signal be performed for described preset mode outside the behaviour of operation of other pattern match Make signal;Described object run signal is performed for the operation signal of predetermined registration operation.As shown in figure 12, Figure 12 is disclosure root Structural representation according to a kind of chromacoder 1200 shown in an exemplary embodiment.For example, device 1200 can be eventually End, can be specially mobile phone, computer, digital broadcast terminal, messaging devices, smart jack, intelligent sphygmomanometer, trip Play console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
With reference to Figure 12, device 1200 can include following one or more assembly:Process assembly 1202, memory 1204, Power supply module 1206, multimedia groupware 1208, audio-frequency assembly 1210, the interface 1212 of input/output (I/O), sensor cluster 1214, and communications component 1216.
Process assembly 1202 and generally control the integrated operation of device 1200, such as with display, call, data communication, The operation that camera operation and record operation are associated.Process assembly 1202 and can include that one or more processor 1220 performs Instruction, to complete all or part of step of above-mentioned method.Additionally, process assembly 1202 can include one or more Module, it is simple to process between assembly 1202 and other assemblies is mutual.For example, process assembly 1202 and can include multimedia mould Block, with facilitate multimedia groupware 1208 and process between assembly 1202 mutual.
Memory 1204 is configured to store various types of data to support the operation at device 1200.These data Example includes the instruction of any application program for operation on device 1200 or method, contact data, telephone directory number According to, message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or Combinations thereof realizes, such as static RAM (SRAM), and Electrically Erasable Read Only Memory (EEPROM) can Erasable programmable read-only memory (EPROM) (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, Flash memory, disk or CD.
The various assembly that power supply module 1206 is device 1200 provides electric power.Power supply module 1206 can include power management System, one or more power supply, and other generate, manage and distribute, with for device 1200, the assembly that electric power is associated.
Multimedia groupware 1208 includes the screen of one output interface of offer between described device 1200 and user.? In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch-screen, to receive the input signal from user.Touch panel includes that one or more touches Sensor is to sense touch, to slide and the gesture on touch panel.Described touch sensor can not only sense touch or slide The border of dynamic action, but also the duration that detection touches to described or slide is related and pressure.Implement at some In example, multimedia groupware 1208 includes a front-facing camera and/or post-positioned pick-up head.When device 1200 is in operator scheme, During such as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside.Often Individual front-facing camera and post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom energy Power.
Audio-frequency assembly 1210 is configured to output and/or input audio signal.For example, audio-frequency assembly 1210 includes a wheat Gram wind (MIC), when device 1200 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The audio signal being received can be further stored at memory 1204 or via logical Letter assembly 1216 sends.In certain embodiments, audio-frequency assembly 1210 also includes a loudspeaker, is used for exporting audio signal.
I/O interface 1212 provides interface, above-mentioned peripheral interface module for processing between assembly 1202 and peripheral interface module Can be keyboard, put striking wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor cluster 1214 includes one or more sensor, for providing the state of various aspects for device 1200 Assessment.For example, what sensor cluster 1214 can detect device 1200 opens/closed mode, the relative positioning of assembly, for example Described assembly is display and the keypad of device 1200, and sensor cluster 1214 can also detect device 1200 or device The position of 1200 1 assemblies changes, the existence that user contacts with device 1200 or do not exist, and device 1200 orientation or acceleration/ Slow down and the temperature of device 1200 changes.Sensor cluster 1214 can include proximity transducer, is configured to do not appointing The existence of object near detection during what physical contact.Sensor cluster 1214 can also include optical sensor, such as CMOS or Ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1214 can also include Acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor, microwave remote sensor or temperature sensor.
Communications component 1216 is configured to facilitate wired between device 1200 and other equipment or wireless mode communication. Device 1200 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.At one In exemplary embodiment, communications component 1216 via broadcast channel receive from external broadcasting management system broadcast singal or Broadcast related information.In one exemplary embodiment, described communications component 1216 also includes near-field communication (NFC) module, with Promote junction service.For example, can be based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology is super Broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuit (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components realize, are used for performing said method.Exemplary In embodiment, additionally provide a kind of non-transitory computer-readable recording medium including instruction, for example, include the storage of instruction Device 1204, above-mentioned instruction can be performed by the processor 1220 of device 1200 to complete said method.For example, described non-transitory meter Calculation machine readable storage medium storing program for executing can be that ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage set Standby etc..
Those skilled in the art, after considering specification and putting into practice invention disclosed herein, will readily occur to its of the disclosure Its embodiment.The disclosure is intended to any modification, purposes or the adaptations of the disclosure, these modification, purposes or Person's adaptations is followed the general principle of the disclosure and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques means.Description and embodiments is considered only as exemplary, and the true scope of the disclosure and spirit are by following Claim point out.
The foregoing is only the preferred embodiment of the disclosure, not in order to limit the disclosure, all essences in the disclosure Within god and principle, any modification, equivalent substitution and improvement etc. done, within the scope of should be included in disclosure protection.

Claims (11)

1. a signal conversion method, it is characterised in that described method includes:
After receiving operation signal by earphone jack, whether detection is currently in preset mode;
If being in described preset mode, described operation signal is converted to object run signal;
Perform the operation indicated by described object run signal;
Wherein, described operation signal be performed for described preset mode outside other pattern match operation operation letter Number;Described object run signal is performed for the operation signal of predetermined registration operation.
2. method according to claim 1, it is characterised in that described preset mode is for playing the play mode of media file Or the pattern outside incoming call handling pattern;
Described operation signal includes any one signal following:
Volume adjusting operation, broadcasting pausing operation or the broadcasting mated with described play mode start the operation signal of operation
Volume adjusting operation with described incoming call handling pattern match, incoming call making operation or incoming call hang up the operation letter of operation Number.
3. method according to claim 1, it is characterised in that described by described operation signal be converted to object run letter Number, including:
According to the conversion corresponding relation between the operation signal prestoring, determine and described operation signal corresponding object run letter Number.
4. method according to claim 1, it is characterised in that described by described operation signal be converted to object run signal Before, described method also includes:
Output prompts the user to choose whether to carry out described operation signal the information of signal conversion;
After receiving the confirmation based on described information, perform described by described operation signal be converted to object run The step of signal.
5. method according to claim 1, it is characterised in that described by described operation signal be converted to object run signal Before, described method also includes:
Detect whether to open function switching signal;
When detect open described function switching signal after, perform described by described operation signal be converted to object run signal Step.
6. a chromacoder, it is characterised in that described device includes:
First detection module, after being configured as receiving operation signal by earphone jack, it is default whether detection is currently in Pattern;
Described operation signal, if being configured to be in described preset mode, is converted to object run letter by signal conversion module Number;
Perform module, be configured to perform the operation indicated by described object run signal;
Wherein, described operation signal be performed for described preset mode outside other pattern match operation operation letter Number;Described object run signal is performed for the operation signal of predetermined registration operation.
7. device according to claim 6, it is characterised in that described preset mode is for playing the play mode of media file Or the pattern outside incoming call handling pattern;
Described operation signal includes any one signal following:
Volume adjusting operation, broadcasting pausing operation or the broadcasting mated with described play mode start the operation signal of operation
Volume adjusting operation with described incoming call handling pattern match, incoming call making operation or incoming call hang up the operation letter of operation Number.
8. device according to claim 6, it is characterised in that described signal conversion module includes:
Signal transform subblock, is configured to the conversion corresponding relation between according to the operation signal prestoring, determines and described behaviour Make signal corresponding object run signal.
9. device according to claim 6, it is characterised in that described device also includes:
Output module, is configured to export the prompting letter prompting the user to choose whether to carry out signal conversion to described operation signal Breath;
First control module, after being configured as receiving the confirmation based on described information, controls described signal and turns Described operation signal is converted to object run signal by die change block.
10. device according to claim 6, it is characterised in that described device also includes:
Second detection module, is configured to detect whether to open function switching signal;
Second control module, after being configured as detecting and opening described function switching signal, controls described signal modulus of conversion Described operation signal is converted to object run signal by block.
11. 1 kinds of chromacoders, it is characterised in that include:
Processor;
For storing the memory of processor executable;
Wherein, described processor is configured to:
After receiving operation signal by earphone jack, whether detection is currently in preset mode;
If being in described preset mode, described operation signal is converted to object run signal;
Perform the operation indicated by described object run signal;
Wherein, described operation signal be performed for described preset mode outside other pattern match operation operation letter Number;Described object run signal is performed for the operation signal of predetermined registration operation.
CN201610787097.4A 2016-08-30 2016-08-30 Signal conversion method and apparatus Pending CN106453821A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610787097.4A CN106453821A (en) 2016-08-30 2016-08-30 Signal conversion method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610787097.4A CN106453821A (en) 2016-08-30 2016-08-30 Signal conversion method and apparatus

Publications (1)

Publication Number Publication Date
CN106453821A true CN106453821A (en) 2017-02-22

Family

ID=58091344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610787097.4A Pending CN106453821A (en) 2016-08-30 2016-08-30 Signal conversion method and apparatus

Country Status (1)

Country Link
CN (1) CN106453821A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413239A (en) * 2011-11-15 2012-04-11 惠州Tcl移动通信有限公司 Mobile phone and method for detecting earphone mode of mobile phone
CN103139359A (en) * 2011-11-25 2013-06-05 上海晨兴希姆通电子科技有限公司 Camera system and camera method
CN105516844A (en) * 2014-09-26 2016-04-20 鸿富锦精密工业(深圳)有限公司 Earphone device, electronic device provided with earphone device, and control method thereof
CN105573522A (en) * 2015-12-22 2016-05-11 广东欧珀移动通信有限公司 Operation method of mobile terminal and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413239A (en) * 2011-11-15 2012-04-11 惠州Tcl移动通信有限公司 Mobile phone and method for detecting earphone mode of mobile phone
CN103139359A (en) * 2011-11-25 2013-06-05 上海晨兴希姆通电子科技有限公司 Camera system and camera method
CN105516844A (en) * 2014-09-26 2016-04-20 鸿富锦精密工业(深圳)有限公司 Earphone device, electronic device provided with earphone device, and control method thereof
CN105573522A (en) * 2015-12-22 2016-05-11 广东欧珀移动通信有限公司 Operation method of mobile terminal and mobile terminal

Similar Documents

Publication Publication Date Title
CN105652671B (en) The setting method and device of smart machine operating mode
CN104281432A (en) Method and device for regulating sound effect
CN105163366A (en) Wireless network connection method and device
CN106331338A (en) Volume adjusting method and device
CN105426218A (en) Method and device for controlling audio playing
CN107204883A (en) Network failure processing method and device
CN105549960B (en) Control the method and device of camera
CN104618783A (en) Remote control method and device
CN105068467A (en) Method and device for controlling intelligent equipment
CN105187667A (en) Incoming call processing method and device
CN104735670A (en) Network access method and device
CN104967888A (en) Remote control method and device and remote control equipment
CN105472706A (en) Method and device for connection establishment
CN106453032A (en) Information pushing method, device and system
CN107105517A (en) Method for connecting network and device
CN104636110A (en) Method and device for controlling volume
CN106506562A (en) The method for connecting network of smart machine, device and smart machine
CN105554631B (en) Audio switching method, device and electronic equipment
CN104796875A (en) Call mode selection method and device
CN105183309B (en) Method for handover control and device
CN106357913A (en) Method and device for prompting information
CN106941635A (en) Audio amplifier connection method and device
CN104333641B (en) Call method and device
CN104881342A (en) Terminal testing method and device
CN107393528A (en) Sound control method and 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170222

RJ01 Rejection of invention patent application after publication