CN103309834A - Control method, control device and electronic device - Google Patents

Control method, control device and electronic device Download PDF

Info

Publication number
CN103309834A
CN103309834A CN2012100681155A CN201210068115A CN103309834A CN 103309834 A CN103309834 A CN 103309834A CN 2012100681155 A CN2012100681155 A CN 2012100681155A CN 201210068115 A CN201210068115 A CN 201210068115A CN 103309834 A CN103309834 A CN 103309834A
Authority
CN
China
Prior art keywords
input operation
electronic equipment
instruction
user
button
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
CN2012100681155A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2012100681155A priority Critical patent/CN103309834A/en
Priority to PCT/CN2012/075470 priority patent/WO2013134996A1/en
Publication of CN103309834A publication Critical patent/CN103309834A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a control method, a control device and an electronic device. The control method comprises the steps of monitoring input operation carried out by a user through an input unit; determining a first command corresponding to the input operation; controlling a first electronic device to execute the first command, and enabling the first electronic device to be in a state of supplying a function corresponding to the input operation. According to the control method, the control device and the electronic device, which are provided by the invention, the user operation can be simplified, the time which is consumed by the electronic device for identifying purposeful action of connecting the electronic device by the user can be reduced, and thus the user experience can be increased.

Description

A kind of control method, control device and electronic equipment
Technical field
The present invention relates to electronic device field, particularly relate to a kind of control method, control device and electronic equipment.
Background technology
Along with the day by day lifting of user to electronic equipment ease for operation demand, use single interfaces for external devices (as USB (universal serial bus), IEEE 1394 interfaces) to connect electronic equipment (as mobile phone, digital camera) and external electronic device (as personal computer), thereby the charging between support electronic equipment and the external electronic device, data transmission etc. have become a kind of development trend alternately.
To use USB (universal serial bus) (Universal Serial Bus, USB) interface connects mobile phone and personal computer (Personal Computer, PC) is example, the method that generally adopts is at present: in the moment that mobile phone and PC are connected by the usb data line, the system of mobile phone judges automatically whether D+ and the D-of the end output that the usb data line links to each other with external electronic device are shorted together, if then directly enter charge mode; Otherwise, show options such as charging, data transmission at cell-phone user interface, after receiving user's selection instruction, start corresponding operation.
Yet this method need be selected manually to wish the function that described electronic equipment provides that be unfavorable for that the user experiences: on the one hand, the user operates easy inadequately again by the user after user interface for electronic devices presents option; On the other hand, described electronic equipment need by to user interface call and read identifying purpose action, the central time of waiting for that in addition the user operates, thus spent time of this identification is also longer.
Summary of the invention
In view of this, the purpose of this invention is to provide a kind of control method, control device and electronic equipment, can simplify user's operation and reduce the spent time of purpose action that electronic equipment identification user connects described electronic equipment, experience thereby promote the user.
For solving the problems of the technologies described above, it is as follows to the invention provides scheme:
The invention provides a kind of control method, be used for first electronic equipment, wherein, described first electronic equipment is provided with input block and first interface for user's input, described first electronic equipment can provide at least two kinds of functions by described first interface, each function in described at least two kinds of functions is corresponding to a default input operation, and described control method comprises:
The input operation that monitoring user is undertaken by described input block;
Determine first instruction corresponding with described input operation;
Control described first electronic equipment and carry out described first instruction, make described first electronic equipment be in the state of the function that can provide corresponding with described input operation.
Preferably, in the above-mentioned method, described input block is first button, and described control method also comprises:
The input operation that judgement is carried out described first button is that the operation of the first kind still is the operation of second type;
When the input operation that described first button is carried out is the operation of the described first kind, enter the described step of determining first instruction corresponding with described input operation; When the input operation that described first button is carried out is the operation of described second type, controls described first electronic equipment and carry out second instruction corresponding with the operation of described second type.
Preferably, in the above-mentioned method, each function in described at least two kinds of functions is also corresponding to second a default type of electronic device, and described first instruction is and described second type of electronic device and the equal corresponding instruction of described input operation.
Preferably, in the above-mentioned method, first corresponding relation of pre-recorded described input operation and described first instruction, described control method also comprises judging whether described input operation is recorded in described first corresponding relation,
If then enter the described step of determining first instruction corresponding with described input operation;
If not, the information that then is used for the prompting user by output unit output.
Preferably, in the above-mentioned method, the method that described first electronic equipment of described control is carried out described first instruction is:
Monitor the insertion signal of external electronic device by described first interface;
Control described first electronic equipment according to described insertion signal triggering and carry out described first instruction.
Preferably, in the above-mentioned method, described monitoring user by the method for the input operation that described input block carries out is:
Monitor the insertion signal of external electronic device by described first interface;
The input operation of being undertaken by described input block according to described insertion signal triggering monitoring user.
Preferably, in the above-mentioned method, each function in described at least two kinds of functions is also corresponding to second a default type of electronic device, and the method for the described input operation of being undertaken by described input block according to described insertion signal triggering monitoring user is:
Determine the type of described external electronic device according to described insertion signal;
Whether the type of judging described external electronic device is the described second default type of electronic device, if then trigger the input operation that monitoring user is undertaken by described input block.
The present invention also provides a kind of control device, be used for first electronic equipment, wherein, described first electronic equipment is provided with input block and first interface for user's input, described first electronic equipment can provide at least two kinds of functions by described first interface, each function in described at least two kinds of functions is corresponding to a default input operation, and described control device comprises:
Monitor module is used for the input operation that monitoring user is undertaken by described input block;
Processing module is used for determining first instruction corresponding with described input operation;
Control module is used for described first electronic equipment of control and carries out described first instruction, makes described first electronic equipment be in the state of the function that can provide corresponding with described input operation.
Preferably, in the above-mentioned device, described input block is first button, and described processing module comprises:
The action type determining unit be used for to judge that the input operation that described first button is carried out is that the operation of the first kind still is the operation of second type;
Performance element is used for when the input operation that described first button is carried out is the operation of the described first kind, enters the described step of determining first instruction corresponding with described input operation; When the input operation that described first button is carried out is the operation of described second type, controls described first electronic equipment and carry out second instruction corresponding with the operation of described second type.
Preferably, in the above-mentioned device, each function in described at least two kinds of functions is also corresponding to second a default type of electronic device, and described first instruction is and described second type of electronic device and the equal corresponding instruction of described input operation.
The present invention also provides a kind of electronic equipment that comprises above-mentioned control device.
From the above as can be seen, there is following technique effect at least in the present invention:
1) by the corresponding relation between the input operation that sets in advance function that electronic equipment provides and user, make the user that the corresponding input operation of function that provides with electronic equipment can directly be provided, because the user remembers this corresponding relation in advance, do not need the prompting of browsing user interface, it is easier that the user is operated, thereby promoted user's experience.
2) electronic equipment enters into the state of the function that can provide corresponding with user's input operation according to user's input operation, this process does not relate to calling and reading of user interface, so just having shortened electronic equipment provides the time of corresponding function, make that the user does not need to spend the long stand-by period, thereby promoted user's experience.
Description of drawings
The flow chart of steps of the control method that Fig. 1 provides for the embodiment of the invention;
The flow chart of steps of the example of the control method that Fig. 2 provides for the embodiment of the invention;
The structural drawing of the control device that Fig. 3 provides for the embodiment of the invention;
The input block that Fig. 4 provides for the embodiment of the invention is the structural drawing of the control device under the first button situation.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, describe the present invention below in conjunction with the accompanying drawings and the specific embodiments.
The flow chart of steps of the control method that Fig. 1 provides for the embodiment of the invention, with reference to Fig. 1, described control method is used for first electronic equipment, comprises the steps:
Step 101, the input operation that monitoring user is undertaken by described input block;
Step 102 is determined first instruction corresponding with described input operation;
Step 103 is controlled described first electronic equipment and is carried out described first instruction, makes described first electronic equipment be in the state of the function that can provide corresponding with described input operation.
Described first electronic equipment can provide at least two kinds of functions by described first interface, and wherein, each function in described at least two kinds of functions is corresponding to a default input operation.
Like this, on the one hand, by the corresponding relation between the input operation that sets in advance function that electronic equipment provides and user, make the user that the corresponding input operation of function that provides with electronic equipment can directly be provided, because the user remembers this corresponding relation in advance, do not need the prompting of browsing user interface, it is easier that the user is operated; On the other hand, electronic equipment enters into the state of the function that can provide corresponding with user's input operation according to user's input operation, this process does not relate to calling and reading of user interface, so just having shortened electronic equipment provides the time of corresponding function, makes that the user does not need to spend the long stand-by period.Thus, also just promoted user's experience.
In said method, described first interface can be the various interfaces that possess multiple function such as USB interface or IEEE 1394 interfaces, and described first electronic equipment can be the various electronic equipments that possess above-mentioned interface such as mobile phone, digital camera.
Described input block can be the various types of unit that are used for user's input that arrange on the existing or following various electronic equipments that may occur, maybe can detect the sensor etc. of user's action or user's sound as button.And described button can be the virtual key on physical button, the touch-screen, and this is described as follows for example.
Can be button " * ", button " 0 " or button " c " as this physical button, or the last key of navigation key, key, left button or right button down; And the virtual key on the touch-screen can be button " * ", button " 0 " or the button " c " that shows on the touch-screen, or the last key of the navigation key that shows on the touch-screen, down key, left button or right button; User's action can be the action in the space outside described first electronic equipment of presetting, as draws a circle or leg-of-mutton gesture; User's sound can be the sound of presetting, as Chinese sounding " charging ", Chinese sounding " data transmission ".When described input block is button, it can be the button of the independent method that is used for the embodiment of the invention that arranges, but for the convenience that convenience and the user of the processing resource of saving equipment, electronic device design uses, this button also can be multiplexing to the button (as navigation key, letter key etc.) that possesses other function.
For latter event, no matter be physical button, or virtual key, all need the user is separated the operational zone of described first button.When the user uses button original function (as the character input function of letter key) Shi Buhui with the method for button operation result for the embodiment of the invention, only when using the secondary function of button, the user just the button operation result can be used for the method for the embodiment of the invention.
And above-mentioned multiplexing can the differentiation by dissimilar operations, after different action types is set, can judge that the input operation that described first button is carried out is the still operation of second type of operation (carrying out the operation of original function) (carrying out the operation of the method that is used for the embodiment of the invention) of the first kind; When the input operation that described first button is carried out is the operation of the described first kind, enter the described step of determining first instruction corresponding with described input operation; When the input operation that described first button is carried out is the operation of described second type, controls described first electronic equipment and carry out second instruction corresponding with the operation of described second type.
The input operation that described judgement is carried out described first button is that the operation of the first kind still is that the operation of second type can have different judgment criterion, as in the mode of time, with the mode of quantity or the mode that combines with T/A.
For example, default first thresholding, then the operation of the first kind can be not less than first thresholding by the duration of hitting for described first button, the operation of second type can for described first button by by the duration of hitting less than first thresholding.
Again for example, default first thresholding and second thresholding, wherein, first thresholding is greater than second thresholding, then the operation of the first kind can be not less than first thresholding by the duration of hitting for described first button, and the operation of second type can be not more than second thresholding by the duration of hitting for described first button.
Again for example, default first number, then being operating as in the described first button predetermined amount of time of the first kind is not less than first number by the number of times that hits, second type be operating as in the described first button predetermined amount of time by by the number of times that hits less than first number.
Mention before, described first electronic equipment can provide at least two kinds of functions by described first interface, and described at least two kinds of functions can be at least two kinds of simple functions, as charge function and reading and writing data function, the perhaps reading and writing data function of the reading and writing data function of charge function, internal memory and external memory card; Can also be some or all combinations at least two kinds of simple functions and these simple functions, as the function of charge function, reading and writing data function and charging and reading and writing data, the perhaps function of the reading and writing data of the function of the reading and writing data of the reading and writing data function of the reading and writing data function of charge function, internal memory, external memory card, charging and internal memory and charging and external memory card.
Corresponding for example with above-mentioned input block and at least two kinds of functions, can provide following 3 kinds of functions with interface: the read-write capability that charges, provides the read-write capability of external memory card and internal memory is provided, input block is that physical button " * ", " c " and " 0 " are example, and each function in described at least two kinds of functions is as shown in table 1 with the example of the corresponding relation of the input operation of presetting and first instruction:
Table 1
Figure BDA0000143772070000061
Correspondingly, control described first electronic equipment and for example carry out described first method of instructing, when described first instruction can provide for the control respective modules enters charge function the instruction of state the time, then control described first electronic equipment enter can provide charge function state; Perhaps, when described first instruction is when opening the instruction of the USB flash disk pattern of external memory card, then to control the USB flash disk pattern that described first electronic equipment is opened external memory card, make described first electronic equipment be in the state of the read-write capability that external memory card can be provided; Perhaps, when described first instruction is when opening the instruction of the USB flash disk pattern of internal memory, then to control the USB flash disk pattern that described first electronic equipment is opened internal memory, make described first electronic equipment be in the state of the read-write capability that internal memory can be provided.
Described second instruction can for digital or alphabetical value record that will the described first button correspondence in described first electronic equipment; Perhaps, can enter standby mode for guiding described first electronic equipment; Perhaps, can namely continue the input operation that monitoring user carries out described first button for returning step 101.
The interface of considering electronic equipment can external plurality of devices, be example with the USB interface, its can the circumscribed USB interface charger, also can external other electronic equipments (as PC), but have only when external equipment is the electronic equipment (as PC) of particular type, it just can provide above-mentioned multiple function, therefore, in the specific embodiment of the invention, for fear of the control method of external electronic device that a kind of function only is provided (as the external charge device time) being used the embodiment of the invention, each function at least two kinds of functions described in the control method of the embodiment of the invention can also be corresponding to second a default type of electronic device, as PC, panel computer.
Correspondingly, determine described first instruction method can for: after monitoring the input operation that the user undertakies by described input block, determine the type of external electronic device by described first interface, if the type of described external electronic device is default type, then determine described first instruction; Otherwise, carry out other function, as described in external electronic device guide when only providing a kind of function as described in external electronic device the state that can provide with this kind function is provided, perhaps, guide described first electronic equipment to enter holding state.
For fear of the user after carrying out input operation by described input block not by described first interface insert external electronic device the wasting of resources or the power consumption of described first electronic equipment that may cause, then can also comprise between the type of described external electronic device monitoring the input operation that the user undertakies by described input block and determine: monitor the insertion signal of described external electronic device by described first interface, under the triggering of described insertion signal, determine the type of described external electronic device then.
Certainly, might the user can't remember the input action preset at the use initial stage, in this case, the user might import the input operation of a mistake, and should give prompting of user this moment, improves user's experience, avoids the user to wait for for a long time.
Therefore, first corresponding relation of all right pre-recorded described input operation and described first instruction in the embodiment of the invention, then determine first method of instructing corresponding with described input operation can for: judge whether described input operation is recorded in described first corresponding relation, if then determine first instruction corresponding with described input operation; If not, then be used for the information that the prompting user makes mistakes by output unit output, as in display screen display reminding or the proper operation that can carry out with the possible operating mistake of voice mode prompting user and/or user by loudspeaker.Like this, when user's operating mistake, the user just can carry out subsequent operation by described information, as carries out the operation of certain first kind or carry out the operation of certain second type.
Certainly, when also comprising device type in the above-mentioned corresponding relation, then judge described input operation whether be recorded in described first corresponding relation method can for: whether the combination of judging described input operation and described second type of electronic device is recorded in described second corresponding relation.
Alternatively, described first electronic equipment of described control carry out described first instruction method can for: monitor the insertion signal of external electronic device by described first interface, control described first electronic equipment according to described insertion signal triggering then and carry out described first instruction.Like this, just avoided described first electronic equipment external electronic device not to be inserted the execution of control first instruction under the situation of described first interface the user, just avoided the unnecessary power consumption of described first electronic equipment or possible instruction to carry out thus and made mistakes.
Alternatively, the method of the input operation that described monitoring user is undertaken by described input block can for: monitor the insertion signal of external electronic device, the input operation of being undertaken by described input block according to described insertion signal triggering monitoring user then by described first interface.Like this, just avoided described first electronic equipment external electronic device not to be inserted the input operation that monitoring user is undertaken by described input block under the situation of described first interface the user, just avoided the unnecessary power consumption of described first electronic equipment or possible instruction to carry out thus and made mistakes.
Alternatively, described insertion signal also may be owing to type is not that the insertion of the external electronic device of described second type of electronic device causes.Described external electronic device for example, only provides the external electronic device of simple function.If the then still input operation undertaken by described input block of monitoring user in this case will cause that described first electronic equipment handles waste or the power consumption of resource.Thus, the method of the described input operation of being undertaken by described input block according to described insertion signal triggering monitoring user can be the type of determining described external electronic device according to described insertion signal, when the type of described external electronic device is described second type of electronic device, the input operation that monitoring user is undertaken by described input block.
As seen, there is default corresponding relation between the function that described first electronic equipment can provide and user's the input operation, thereby first electronic equipment can be able to provide the state of corresponding function by the input operation of monitoring user, so just do not need to determine by the invoke user interface user's selection, it is easier to make the user operate, and reduced stand-by period of user, thereby promoted user's experience.
For above-mentioned control method is described better, be described in detail for example below.
The flow chart of steps of the example of the control method that Fig. 2 provides for the embodiment of the invention, as Fig. 2, in this example, first electronic equipment is mobile phone, and first interface is USB interface, and second type of electronic device is external USB equipment, as PC.
Input block is first button, as the virtual key on entity button or the touch-screen, wherein, physical button is any three buttons in the right button of the left button of following key, navigation key of last key, the navigation key of button " * ", button " 0 ", button " c ", navigation key and navigation key; Virtual key on the touch-screen is any three virtual keys in the right button of the left button of following key, navigation key of last key, the navigation key of the button " * " that shows on the touch-screen, button " 0 ", button " c ", navigation key and navigation key.
At least two kinds of functions are data transmission and TransFlash (TF, T-flash) data transmission of storage card of charging, mobile phone EMS memory.
The input operation that judgement is carried out described first button be the operation of the first kind still be the judgment criterion of operation of second type in the mode of time, for example, first button that is operating as of the first kind was reached a certain thresholding by the duration of hitting, as 3 seconds; Second type be operating as first button by by the duration of hitting less than this thresholding, as less than 3 seconds.Particularly, first button is the button that possesses secondary function.Wherein, when the secondary function of button refers under mobile phone master interface long button, the function that can realize.
First instruction is for entering charge mode, open the USB flash disk pattern of TF storage card or opening the USB flash disk pattern of mobile phone EMS memory.
This example has taken full advantage of the keypress function of mobile phone and has made up judgement with the identification of inserting the external electronic device of described first electronic equipment by USB interface.Particularly, the end that the USB cable connects mobile phone is made as the USB-A end, the end that the USB cable connects charger or external USB equipment is made as the USB-B end, and then first electronic equipment can be divided into three modules according to function: USB main control module, button secondary function identification module and primary application program control module.Wherein, the USB main control module is responsible for detecting the equipment that the Plug Action of USB is connected with identification USB-B end, button secondary function identification module is responsible for carrying out second functional condition of mobile phone key and is put and call, the primary application program control module then is responsible for USB main control module and button secondary function identification module are made up, further judge the insertion purpose of USB, thereby start corresponding operation.
As shown in Figure 2, specifically adopt following steps to realize this example:
Step 201: mobile phone side configuration USB main control module.
The configuration detailed process of USB main control module is, the external electronic device that Plug Action and the USB end of USB is connected detects, and after the USB cable inserted mobile phone, the power supply of its USB end can produce a look-at-me to the host application module of mobile phone.Further, USB main control module can be judged whether short circuit of D+, D-, if short circuit then be judged as charger and connect does not have short circuit then to be judged as external USB equipment (as PC) and connects.
Step 202: mobile phone key secondary function identification module is pre-seted.
The process of pre-seting of mobile phone key secondary function identification module is, press " * " key when the user is long under mobile phone master interface, then information uploaded to host application module, makes it call the charging correlation parameter, and startup external USB equipment carries out charging process to mobile phone; And for example, press " 0 " key when the user is long under mobile phone master interface, then information is uploaded to host application module, make the data transmission respective process of its calling mobile phone internal memory; Press " c " key when the user is long under mobile phone master interface, then information is reported to host application module, make it call the data transmission respective process of T-flash card.
Wherein, step 202 can take place before step 201, also can take place simultaneously with step 201.
Step 203: the host application module of mobile phone reads the USB main control module and mobile phone key secondary function identification module reports for information about, and its information of obtaining is made up judgement.
Correspondingly, need carry out in advance setting to host application module.Preferably, whole combinations of second type of electronic device relevant with described at least two kinds of functions and default input operation and each combination wherein corresponding relation with first command information can be set in advance in host application module.For example, write in advance in the fixing software interface function of host application module.Then host application module reads from just calling this function after the type information of the external electronic device of USB main control module and the input operation information from mobile phone secondary function identification module, and read first command information that this function generates, call corresponding process according to this first command information then, can provide the state of a certain function in described at least two kinds of functions thereby make mobile phone be in.Wherein, different combination is as shown in table 2 with the example of the corresponding relation of different first instruction:
Table 2
Figure BDA0000143772070000111
Step 204: when the host application module of mobile phone is judged the correct combined information that reports, the reporting information of the USB main control module that namely gets access to and mobile phone key secondary function module, be consistent with the numerical value that presets in host application module, start the action of correlation function immediately.
Corresponding with the example in the step 203, if the result of the combination of these two information that host application module judges whether pre-recorded is for being, then host application module accesses this secondary development program according to these two information, thereby makes this secondary development program generate first instruction according to these two information.Then, host application module starts the action of the function corresponding with this first instruction immediately.For example, first instruction can provide for the control respective modules enters charge function the instruction of state the time, call the charging correlation parameter, start external USB equipment mobile phone carried out charging process; When opening the instruction of USB flash disk pattern of TF storage card, call the data transmission respective process of T-flash card in first instruction; In first instruction when opening the instruction of USB flash disk pattern of internal memory, the data transmission respective process of calling mobile phone internal memory.
Step 205: judge the combined information that reports definite value default with it when inconsistent when the host application module of mobile phone, discharge error message wherein, and send prompt tone by host application module to the user, remind the user to carry out correct operation.
Preferably, because being the detection method information of carrying out by hardware, the USB main control module reports, be connection charger or two kinds of situations of external USB equipment nothing more than of USB cable, and can not produce the information of reporting an error, so " discharge wrong reporting information " in this step mainly is the steps necessary of taking under the situation about pressing the wrong button at the user.When the user reselect respective keys length by the action after, mobile phone key secondary function module reports detected information again to host application module, make up judgement again by it, i.e. the process of repeating step 203 and step 204.Here, the situation that the user presses the wrong button does not for example possess the physical button of secondary function or the virtual key on the touch-screen by by hitting or being not less than certain thresholding by the duration of hitting.
Judgement is made up in the identification that this example has utilized the button secondary development function of mobile phone and USB cable to insert external electronic device, has reduced by cell-phone user interface and has charged or the selection step of data transmission, has improved user's availability.
So far, the function of this fast and convenient identification mobile phone USB insert action has just realized.Need to prove, this example is a kind of possible implementation of control method of the present invention just, external interface also can be other interface, and external equipment also can be other equipment, and the difference of distinct interface, distinct device only is not to be described in detail the difference of the final instruction of determining at this.
At this example, has only one type or provide under the application scenarios that the external electronic device of at least two kinds of functions provides same at least two kinds of functions in the external electronic device that at least two kinds of functions are provided, for above-mentioned steps 202 before step 201 or with step 201 situation simultaneously, in order to minimize input operation that mobile phone presets from the user to the time that is in the state that corresponding function is provided, set in advance and to set in advance in host application module for input operation that each is default and the corresponding relation of first command information what host application module was carried out, for example, write in advance in the fixing software interface function of host application module.Then host application module is behind the type information that reads from the external electronic device of USB main control module, just can call this function, and read first command information that this function generates, call corresponding process according to this first command information then, thereby make the system of mobile phone prepare to carry out this first instruction; Simultaneously, the system of mobile phone detects at the appointed time, detects the second type of electronic device information that the USB main control module reports that whether reads, if then carry out this first instruction immediately, thereby make the state that mobile phone is in can provide corresponding function; If not, then discharge function calls immediately.
Wherein, the example of the corresponding relation of Yu She input operation and first instruction is as shown in table 3:
Table 3
Figure BDA0000143772070000131
Provide the specific implementation of this example under this application scenarios below: first kind of function at least two kinds of functions is for providing the read-write capability of TF storage card, the input operation of the corresponding first kind is that the left button of navigation keys presents at mobile phone under the situation at main interface and reached 3 seconds by the duration of hitting, and the first corresponding instruction is the instruction of the USB flash disk pattern of opening the TF storage card; Second kind of function at least two kinds of functions is for providing the read-write capability of internal memory, the input operation of the corresponding first kind is that the right button of navigation keys presents at mobile phone under the situation at main interface and reached 3 seconds by the duration of hitting, and the first corresponding instruction is the instruction of the USB flash disk pattern of opening internal memory.Then by second development interface and secondary development function at the default mobile phone key of software, make mobile phone possess following control method:
Mobile phone is under holding state, when left button that system detects navigation keys is reached 3 seconds input operation by the duration of hitting under mobile phone presents the situation at main interface, system is by wakes, and call the secondary development function on the backstage, thereby make the system of mobile phone prepare to open the USB flash disk pattern of outside TF storage card; Simultaneously, system detects at the appointed time, detect whether type is arranged is that the external electronic device of second type of electronic device is connected to mobile phone by USB interface, if, then start the USB flash disk pattern of outside TF storage card immediately, this moment, the user can see on computers that new drive occurs, and carries out the read-write operation of outside TF storage card then; If not, then discharge function calls immediately, system continues to enter holding state.By this control method, the user just can connect on mobile phone other external electronic device (as PC) outside the charger fast, and directly read on the mobile phone related data in the outside TF card and outside TF is sticked into capable read-write operation, thereby promoted user's experience.
Perhaps, second development interface and secondary development function by at the default mobile phone key of software make mobile phone possess following control method:
Mobile phone is under holding state, when right button that system detects navigation keys is reached 3 seconds input operation by the duration of hitting under mobile phone presents the situation at main interface, system is by wakes, and call the secondary development function on the backstage, thereby make the system of mobile phone prepare to open mobile phone self for the USB flash disk pattern of the storer of user's use; Simultaneously, system detects at the appointed time, detect whether type is arranged is that the external electronic device of second type of electronic device is connected to mobile phone by USB interface, if, then start mobile phone self immediately for the USB flash disk pattern of the storer of user's use, this moment, the user can see on computers that new drive occurs, and carries out corresponding read-write operation then; If not, then discharge function calls immediately, system continues to enter holding state.By this control method, the user just can connect on mobile phone other external electronic device (as PC) outside the charger fast, and directly read self-contained the using the related data in the storer and carry out corresponding read-write operation for the user of mobile phone, thereby promoted user's experience.
The structural drawing of the control device that Fig. 3 provides for the embodiment of the invention, with reference to Fig. 3, described control device comprises monitor module 301, processing module 302 and control module 303, wherein:
Monitor module 301 is used for the input operation that monitoring user is undertaken by described input block;
Processing module 302 is used for determining first instruction corresponding with described input operation;
Control module 303 is used for described first electronic equipment of control and carries out described first instruction, makes described first electronic equipment be in the state of the function that can provide corresponding with described input operation.
Described first electronic equipment is described can to provide at least two kinds of functions by described first interface, and wherein, each function in described at least two kinds of functions is corresponding to a default input operation.
Like this, on the one hand, by the corresponding relation between the input operation that sets in advance function that electronic equipment provides and user, make the user that the corresponding input operation of function that provides with electronic equipment can directly be provided, because the user remembers this corresponding relation in advance, do not need the prompting of browsing user interface, it is easier that the user is operated; On the other hand, electronic equipment enters into the state of the function that can provide corresponding with user's input operation according to user's input operation, this process does not relate to calling and reading of user interface, so just having shortened electronic equipment provides the time of corresponding function, makes that the user does not need to spend the long stand-by period.Thus, also just promoted user's experience.
Described input block both can be first button with standalone feature; For the processing resource of saving equipment and look after the convenience that the user uses, also can be multiplexing to first button that possesses other function.For latter event, just the user need be separated the operational zone of described first button.
For this reason, preferably, as shown in Figure 4, above-mentioned processing module 302 can comprise:
The action type determining unit be used for to judge that the input operation that described first button is carried out is that the operation of the first kind still is the operation of second type;
Performance element is used for when the input operation that described first button is carried out is the operation of the described first kind, enters the step of determining first instruction corresponding with described input operation; When the input operation that described first button is carried out is the operation of described second type, controls described first electronic equipment and carry out second instruction corresponding with the operation of described second type.
Like this, when described first button also during other function outside corresponding described at least two kinds of functions, just the user can be separated the operation of described first button, come up thereby the operation of the described first kind that the user is carried out corresponds to described first instruction.
Preferably, each function in described at least two kinds of functions is also corresponding to second a default type of electronic device, as PC, panel computer.Then described first instruction can be described first instruction corresponding with described second type of electronic device.
The embodiment of the invention also provides a kind of electronic equipment, and described equipment comprises above-described control device.Described electronic equipment can be mobile phone or digital camera.
As from the foregoing, the embodiment of the invention has following advantage:
1) by the corresponding relation between the input operation that sets in advance function that electronic equipment provides and user, make the user that the corresponding input operation of function that provides with electronic equipment can directly be provided, because the user remembers this corresponding relation in advance, do not need the prompting of browsing user interface, it is easier that the user is operated, thereby promoted user's experience.
2) electronic equipment enters into the state of the function that can provide corresponding with user's input operation according to user's input operation, this process does not relate to calling and reading of user interface, so just having shortened electronic equipment provides the time of corresponding function, make that the user does not need to spend the long stand-by period, thereby promoted user's experience.
The above only is embodiments of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (11)

1. control method, be used for first electronic equipment, wherein, described first electronic equipment is provided with input block and first interface for user's input, described first electronic equipment can provide at least two kinds of functions by described first interface, each function in described at least two kinds of functions is characterized in that corresponding to a default input operation described control method comprises:
The input operation that monitoring user is undertaken by described input block;
Determine first instruction corresponding with described input operation;
Control described first electronic equipment and carry out described first instruction, make described first electronic equipment be in the state of the function that can provide corresponding with described input operation.
2. control method as claimed in claim 1 is characterized in that, described input block is first button, and described control method also comprises:
The input operation that judgement is carried out described first button is that the operation of the first kind still is the operation of second type;
When the input operation that described first button is carried out is the operation of the described first kind, enter the described step of determining first instruction corresponding with described input operation; When the input operation that described first button is carried out is the operation of described second type, controls described first electronic equipment and carry out second instruction corresponding with the operation of described second type.
3. control method as claimed in claim 1 or 2, it is characterized in that, each function in described at least two kinds of functions is also corresponding to second a default type of electronic device, and described first instruction is and described second type of electronic device and the equal corresponding instruction of described input operation.
4. control method as claimed in claim 1 or 2 is characterized in that, first corresponding relation of pre-recorded described input operation and described first instruction, and described control method also comprises judging whether described input operation is recorded in described first corresponding relation,
If then enter the described step of determining first instruction corresponding with described input operation;
If not, the information that then is used for the prompting user by output unit output.
5. control method as claimed in claim 1 or 2 is characterized in that, the method that described first electronic equipment of described control is carried out described first instruction is:
Monitor the insertion signal of external electronic device by described first interface;
Control described first electronic equipment according to described insertion signal triggering and carry out described first instruction.
6. control method as claimed in claim 1 or 2 is characterized in that, described monitoring user by the method for the input operation that described input block carries out is:
Monitor the insertion signal of external electronic device by described first interface;
The input operation of being undertaken by described input block according to described insertion signal triggering monitoring user.
7. control method as claimed in claim 6, it is characterized in that, each function in described at least two kinds of functions is also corresponding to second a default type of electronic device, and the method for the described input operation of being undertaken by described input block according to described insertion signal triggering monitoring user is:
Determine the type of described external electronic device according to described insertion signal;
Whether the type of judging described external electronic device is the described second default type of electronic device, if then trigger the input operation that monitoring user is undertaken by described input block.
8. control device, be used for first electronic equipment, wherein, described first electronic equipment is provided with input block and first interface for user's input, described first electronic equipment can provide at least two kinds of functions by described first interface, each function in described at least two kinds of functions is characterized in that corresponding to a default input operation described control device comprises:
Monitor module is used for the input operation that monitoring user is undertaken by described input block;
Processing module is used for determining first instruction corresponding with described input operation;
Control module is used for described first electronic equipment of control and carries out described first instruction, makes described first electronic equipment be in the state of the function that can provide corresponding with described input operation.
9. control device as claimed in claim 8 is characterized in that, described input block is first button, and described processing module comprises:
The action type determining unit be used for to judge that the input operation that described first button is carried out is that the operation of the first kind still is the operation of second type;
Performance element is used for when the input operation that described first button is carried out is the operation of the described first kind, enters the described step of determining first instruction corresponding with described input operation; When the input operation that described first button is carried out is the operation of described second type, controls described first electronic equipment and carry out second instruction corresponding with the operation of described second type.
10. control device as claimed in claim 8 or 9, it is characterized in that, each function in described at least two kinds of functions is also corresponding to second a default type of electronic device, and described first instruction is and described second type of electronic device and the equal corresponding instruction of described input operation.
11. an electronic equipment is characterized in that, comprises each described control device in the claim 8 to 10.
CN2012100681155A 2012-03-15 2012-03-15 Control method, control device and electronic device Pending CN103309834A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2012100681155A CN103309834A (en) 2012-03-15 2012-03-15 Control method, control device and electronic device
PCT/CN2012/075470 WO2013134996A1 (en) 2012-03-15 2012-05-14 Controlling method, controlling apparatus and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2012100681155A CN103309834A (en) 2012-03-15 2012-03-15 Control method, control device and electronic device

Publications (1)

Publication Number Publication Date
CN103309834A true CN103309834A (en) 2013-09-18

Family

ID=49135076

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2012100681155A Pending CN103309834A (en) 2012-03-15 2012-03-15 Control method, control device and electronic device

Country Status (2)

Country Link
CN (1) CN103309834A (en)
WO (1) WO2013134996A1 (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016029752A1 (en) * 2014-08-27 2016-03-03 深圳市金立通信设备有限公司 Key function control method and terminal
CN105426742A (en) * 2015-11-30 2016-03-23 广东小天才科技有限公司 Method and apparatus for connecting mobile terminal with computer
CN105808082A (en) * 2014-12-30 2016-07-27 深圳富泰宏精密工业有限公司 Multipoint touch processing system and method
CN106657158A (en) * 2017-02-13 2017-05-10 北京奇虎科技有限公司 System and method for carrying out secure data transmission between devices
CN108491344A (en) * 2018-03-14 2018-09-04 广东美的制冷设备有限公司 Robot controls management method, system, robot and computer storage media
CN109690446A (en) * 2016-09-26 2019-04-26 华为技术有限公司 A kind of exchange method and electronic equipment
CN110024371A (en) * 2016-11-30 2019-07-16 富士胶片株式会社 Camera and its control method
CN110196671A (en) * 2018-02-27 2019-09-03 杭州海康威视数字技术股份有限公司 A kind of device management method, apparatus and system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193369A (en) * 2006-11-23 2008-06-04 中兴通讯股份有限公司 A device and method for realizing mobile phone and external network access of PC based on mobile phone
CN101383627A (en) * 2007-09-04 2009-03-11 大唐移动通信设备有限公司 Device and method for terminal charger charging, USB charging and data communication
CN101505548A (en) * 2008-02-04 2009-08-12 希姆通信息技术(上海)有限公司 Method and apparatus for implementing USB2.0 function by mobile phone
WO2010073408A1 (en) * 2008-12-26 2010-07-01 Necディスプレイソリューションズ株式会社 Electronic device, electronic device control system, and electronic device control method
CN101827174A (en) * 2010-02-03 2010-09-08 哈尔滨工业大学 Mobile phone data backup device with multiple data exchange ways and charging function
CN101931674A (en) * 2010-09-01 2010-12-29 惠州Tcl移动通信有限公司 Method and device for sharing Micro-USB interface

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2765254Y (en) * 2004-11-24 2006-03-15 北京广大鸿业科技有限公司 Data exchange and charging apparatus for handset

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193369A (en) * 2006-11-23 2008-06-04 中兴通讯股份有限公司 A device and method for realizing mobile phone and external network access of PC based on mobile phone
CN101383627A (en) * 2007-09-04 2009-03-11 大唐移动通信设备有限公司 Device and method for terminal charger charging, USB charging and data communication
CN101505548A (en) * 2008-02-04 2009-08-12 希姆通信息技术(上海)有限公司 Method and apparatus for implementing USB2.0 function by mobile phone
WO2010073408A1 (en) * 2008-12-26 2010-07-01 Necディスプレイソリューションズ株式会社 Electronic device, electronic device control system, and electronic device control method
CN101827174A (en) * 2010-02-03 2010-09-08 哈尔滨工业大学 Mobile phone data backup device with multiple data exchange ways and charging function
CN101931674A (en) * 2010-09-01 2010-12-29 惠州Tcl移动通信有限公司 Method and device for sharing Micro-USB interface

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016029752A1 (en) * 2014-08-27 2016-03-03 深圳市金立通信设备有限公司 Key function control method and terminal
CN105808082A (en) * 2014-12-30 2016-07-27 深圳富泰宏精密工业有限公司 Multipoint touch processing system and method
CN105808082B (en) * 2014-12-30 2020-10-09 深圳富泰宏精密工业有限公司 Multi-touch processing system and method
CN105426742A (en) * 2015-11-30 2016-03-23 广东小天才科技有限公司 Method and apparatus for connecting mobile terminal with computer
CN105426742B (en) * 2015-11-30 2019-01-01 广东小天才科技有限公司 Mobile terminal connects computer method and device
CN109690446B (en) * 2016-09-26 2021-06-01 华为技术有限公司 Interaction method and electronic equipment
CN109690446A (en) * 2016-09-26 2019-04-26 华为技术有限公司 A kind of exchange method and electronic equipment
US10931869B2 (en) 2016-11-30 2021-02-23 Fujifilm Corporation Imaging apparatus and control method therefor
CN110024371A (en) * 2016-11-30 2019-07-16 富士胶片株式会社 Camera and its control method
CN110024371B (en) * 2016-11-30 2021-03-09 富士胶片株式会社 Image capturing apparatus and control method thereof
CN106657158A (en) * 2017-02-13 2017-05-10 北京奇虎科技有限公司 System and method for carrying out secure data transmission between devices
CN106657158B (en) * 2017-02-13 2019-09-24 北京安云世纪科技有限公司 A kind of system and method in equipment room progress data security transmission
CN110196671A (en) * 2018-02-27 2019-09-03 杭州海康威视数字技术股份有限公司 A kind of device management method, apparatus and system
CN110196671B (en) * 2018-02-27 2021-05-25 杭州海康威视数字技术股份有限公司 Equipment management method, device and system
CN108491344B (en) * 2018-03-14 2020-03-06 广东美的制冷设备有限公司 Robot control management method, system, robot and computer storage medium
CN108491344A (en) * 2018-03-14 2018-09-04 广东美的制冷设备有限公司 Robot controls management method, system, robot and computer storage media

Also Published As

Publication number Publication date
WO2013134996A1 (en) 2013-09-19

Similar Documents

Publication Publication Date Title
CN103309834A (en) Control method, control device and electronic device
EP3355223B1 (en) Unlock method and mobile terminal
CN100401820C (en) Cellular phone and operational mode switching method thereof
TW200415471A (en) Peripheral device and control method thereof, and main device and control method thereof, and program thereof
CN104099751A (en) Washing machine control system and method of controlling the same
CN103870356A (en) Information processing method and electronic equipment
CN104503690A (en) Arrangement method and device for application icons
CN104169859A (en) Screen control method, screen control device and touch terminal
CN101493799A (en) Information processing apparatus
CN110912574B (en) SIM card detection method, device, storage medium and terminal
US9235249B2 (en) Power control for serial bus peripheral device
CN105681533A (en) Call content recording method and apparatus
CN101661410A (en) False touch protection method realized by utilizing power switch delay and computer device
CN100518198C (en) Method for increasing handset starting response speed
JP2019501611A (en) Power supply control method, apparatus, and power strip for power strip
CN110109529B (en) SD card power supply control method and device, storage medium and electronic equipment
CN107766218A (en) system optimization method, device, storage medium and terminal device
US20080046625A1 (en) Sensor switching system for a computing device and related methods
CN106843440B (en) A kind of mobile terminal restarts control method, device and mobile terminal
CN105138323A (en) Information processing method and electronic equipment
CN213069764U (en) Touch control equipment
KR100571887B1 (en) A portable memory-card backup device
CN107391157A (en) Mobile terminal and the method for identifying movable storage device
CN102880419A (en) Method and system for mobile terminal to set working mode of touch screen
CN101901153A (en) Electronic device, starting method thereof and method for installing instant start operation system

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20130918