CN105263189B - Realize the method and terminal of channel type processing - Google Patents
Realize the method and terminal of channel type processing Download PDFInfo
- Publication number
- CN105263189B CN105263189B CN201510581769.1A CN201510581769A CN105263189B CN 105263189 B CN105263189 B CN 105263189B CN 201510581769 A CN201510581769 A CN 201510581769A CN 105263189 B CN105263189 B CN 105263189B
- Authority
- CN
- China
- Prior art keywords
- terminal
- channel
- knob
- channel type
- rotation
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000012545 processing Methods 0.000 title claims abstract description 15
- 230000001960 triggered effect Effects 0.000 claims description 19
- 238000003860 storage Methods 0.000 claims description 7
- 238000004519 manufacturing process Methods 0.000 description 33
- 230000006870 function Effects 0.000 description 13
- 238000010295 mobile communication Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 10
- 230000008569 process Effects 0.000 description 7
- 241000208340 Araliaceae Species 0.000 description 2
- 235000005035 Panax pseudoginseng ssp. pseudoginseng Nutrition 0.000 description 2
- 235000003140 Panax quinquefolius Nutrition 0.000 description 2
- 230000009471 action Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 235000008434 ginseng Nutrition 0.000 description 2
- 238000012356 Product development Methods 0.000 description 1
- 238000013459 approach Methods 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000004088 simulation Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/02—Selection of wireless resources by user or terminal
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Input From Keyboards Or The Like (AREA)
Abstract
The present invention provides a kind of methods for realizing channel type processing, comprising: reading carries out the channel knob in terminal to identify obtained channel type parameter in advance;The channel type being presently according to the channel type parameter setting terminal;The preset corresponding functional unit of the channel type is called and runs, to realize the normal work under the channel type for the terminal.In addition, additionally providing a kind of and matched terminal of this method.The method and terminal of above-mentioned realization channel type processing no longer can only support single channel type by convenient terminal under the premise of not increasing control difficulty and cost.
Description
Technical field
The present invention relates to field of communication technology, in particular to a kind of method and terminal for realizing channel type processing.
Background technique
With the development of communication technology, the various terminals for realizing mobile communication between user, for example, intercom,
Different hardware can be set according to the needs of practical application, different functions is provided with the mobile communication carried out by user.
Therefore, multiple hardwares are usually present, different terminals are set, in order to user can be carried out according to the needs on currently used with
Meaning is chosen.
Existing multiple hardwares are arranged between different terminal, mostly use different model number, i.e., firmly
Part model realizes that terminal corresponds to corresponding function in the control and terminal of production line using model number to distinguish
The setting of energy component, therefore huge model number quantity will significantly increase the cost of terminal.
And by taking channel knob as an example, terminal is provided with channel knob, so that terminal supports letter corresponding to channel knob
Road type.Since channel knob is also used as one kind of hardware in terminal, the difference of channel knob has also been corresponded to different in terminal
Model number, and the corresponding software of programming, to realize the normal work under the channel type corresponding to it.
That is, existing terminal is that the control of channel type in terminal is realized by model number, because
This, in order not to increase the control difficulty of terminal, terminal will only be able to support a kind of channel type, and then guarantee lower cost.
Summary of the invention
Based on this, it is necessary to provide it is a kind of can be not increasing control difficulty and cost under the premise of make terminal no longer only prop up
Hold the method for realizing channel type processing of single channel type.
In addition, there is a need to provide a kind of can make terminal no longer only prop up under the premise of not increasing control difficulty and cost
Hold the terminal for realizing channel type processing of single channel type.
In order to solve the above technical problems, will adopt the following technical scheme that
A method of realizing channel type processing, comprising:
Reading carries out the channel knob in terminal to identify obtained channel type parameter in advance;
The channel type being presently according to the channel type parameter setting terminal;
The preset corresponding functional unit of the channel type is called and runs, to realize the channel class for the terminal
Normal work under type.
The reading carries out identifying obtained channel to the channel knob in terminal in advance in one of the embodiments,
Before the step of type parameter, the method also includes:
It is identified according to the rotation that channel knob in the terminal triggers, to obtain corresponding channel type parameter, and
Storage.
The rotation triggered according to channel knob in the terminal is identified in one of the embodiments, with
To corresponding channel type parameter, and the step of storing includes:
The rotation that channel knob triggers in the terminal is listened to, the end is identified according to the rotation of channel knob triggering
The corresponding knob type of channel knob in end;
The value of channel type parameter in the terminal is updated according to the knob type, and stores the channel of the update
Type parameter.
It is described in one of the embodiments, to listen to the rotation that channel knob triggers in the terminal, according to the channel
The rotation of knob triggering identifies in the terminal that the step of channel knob corresponding knob type includes:
The rotation that channel knob triggers in the terminal is listened to, to obtain position corresponding to the rotation of the channel knob
Coding;
Whether exceed one week according to the position encoded rotation for determining that the channel knob is currently triggered, is obtained with basis
To judgement result obtain the current knob type of the terminal.
The functional unit is the software transfer by programming in terminal and operation, institute in one of the embodiments,
Stating software is the several channel type programming previously according to terminal support into terminal.
A kind of terminal for realizing channel type processing, comprising:
Read module carries out the channel knob in terminal to identify obtained channel type parameter in advance for reading;
Setting module, the channel type for being presently according to the channel type parameter setting terminal;
Calling module, for calling and running the preset corresponding functional unit of the channel type, for the terminal
Realize the normal work under the channel type.
The terminal in one of the embodiments, further include:
Identification module, the rotation for being triggered according to channel knob in the terminal is identified, to obtain corresponding letter
Road type parameter, and store.
The identification module includes: in one of the embodiments,
Unit is listened in rotation, for listening to the rotation that channel knob triggers in the terminal, is touched according to the channel knob
The rotation of hair identifies the corresponding knob type of channel knob in the terminal;
Updating unit for updating the value of channel type parameter in the terminal according to the knob type, and stores
The channel type parameter of the update.
The rotation listens to unit and includes: in one of the embodiments,
Coding obtains subelement, for listening to the rotation that channel knob triggers in the terminal, to obtain the channel rotation
It is position encoded corresponding to the rotation of button;
Subelement is determined, for whether surpassing according to the position encoded rotation for determining that the channel knob is currently triggered
One week out, to obtain the current channel type of the terminal according to obtained judgement result.
The functional unit is the software transfer by programming in terminal and operation, institute in one of the embodiments,
Stating software is the several channel type programming previously according to terminal support into terminal.
As shown from the above technical solution, when terminal carries out mobile communication, channel type parameter, the channel will be read first
Type parameter will identify to the rotation of channel knob in terminal channel type that is obtained, obtaining according to reading in advance
The channel type that parameter setting terminal is presently in, and then the corresponding functional unit of the channel type is called and runs, for eventually
The normal work under the channel type is realized at end, it follows that the corresponding functional unit of required channel type is prefixed in terminal,
And channel type parameter is prefixed according to channel rotation, therefore, if desired current channel type is switched over, then is only needed
Preset channel type parameter is read, and calls and runs corresponding functional unit, is no longer needed in the production of terminal
The control of channel type and corresponding function component is realized by model number, no longer only supports single channel class
Type ensure that lower cost while supporting a variety of channel types and not increase control difficulty, and having greatly improved terminal makes
With flexibility.
Detailed description of the invention
Fig. 1 is the flow chart that the method for channel type processing is realized in one embodiment;
Fig. 2 is to be identified in one embodiment according to the rotation that channel knob in terminal triggers, corresponding to have obtained
Channel type parameter, and the method flow diagram stored;
Fig. 3 is that the rotation that channel knob triggers in terminal is listened in Fig. 2, the rotation identification terminal triggered according to channel knob
The method flow diagram of the corresponding knob type of middle channel knob;
Fig. 4 is the application schematic diagram that channel type processing method is realized in one embodiment;
Fig. 5 is the knob assembly structure schematic diagram that the first knob is assembled in one embodiment;
Fig. 6 is the knob assembly structure schematic diagram that opposite Fig. 1 is assembled with the second knob;
Fig. 7 is the stereoscopic schematic diagram of the first knob in one embodiment;
Fig. 8 is the structural schematic block diagram that the terminal of channel type processing is realized in one embodiment;
Fig. 9 is the structural schematic block diagram of identification module in one embodiment;
Figure 10 is the structural schematic block diagram that unit is listened in rotation in Fig. 9.
Specific embodiment
The exemplary embodiment for embodying feature of present invention and advantage will describe in detail in the following description.It should be understood that
The present invention can have various variations in different embodiments, neither depart from the scope of the present invention, and theory therein
Bright and diagram inherently is illustrated as being used, rather than to limit the present invention.
As previously mentioned, single channel type can be only supported in the existing terminal for carrying out mobile communication, it can not root
According to the switching for needing to carry out channel type of mobile communication, this is because the channel type that terminal is presently in is set with terminal
The hardware set, i.e. channel knob are relevant;That is, each channel knob has all uniquely corresponded to a channel type, because
If desired this switches channel type for terminal, then need the replacement for carrying out channel knob.
Another aspect, as different channel knobs will be for terminal as existing for different hardware, because
This, will correspond to different model number, and the terminal for possessing different channels knob will correspond to different model
Number, and then it is easy to implement the control of terminal.
But thus brought model number quantity double will be incremented by, and then manage double incremental model
While number, the setting of functional unit in terminal will be also carried out according to model number, so that terminal is in use process
In can carry out mobile communication under the corresponding channel type of channel knob.
Therefore, for a user, if the single channel type supported in terminal need to be switched over, need to return factory,
With the help of the offer manufacturer of terminal, channel knob is replaced according to the channel type of required switching, at this point, terminal institute is right
The model number answered will change, and then the setting of functional unit is carried out according to the model number of variation, this is right
It is very inconvenient and increase cost in terminal for the switching of channel type.
In consideration of it, special propose a kind of method realizing channel type and handling, to realize cutting for channel type in terminal
It changes.
In one embodiment, specifically, this method is as shown in Figure 1, comprising:
Step 110, it reads and the channel knob in terminal is carried out identifying obtained channel type parameter in advance.
Channel type parameter is prefixed in terminal, the value of the channel type parameter will determine that terminal is current corresponding
Channel type.Specifically, in actual operations, channel type parameter is provided in the data structure of terminal, it will be previously according to end
Channel knob in end carries out assignment.
Triggering carries out in the terminal of mobile communication, the parameter increased newly in data structure, i.e. channel type parameter is read, to obtain
Know the current corresponding channel type of terminal.
As previously described, channel knob will be corresponding with channel type, and the difference of channel knob is also by band in terminal
Carry out the difference of channel type, therefore, channel type parameter be in advance the channel knob in terminal identify it is obtained.
Step 130, the channel type being presently according to channel type parameter setting terminal.
Read the value in information type parameter, the channel being presently in the value setting terminal obtained according to the reading
Type.
Step 150, the corresponding functional unit of preset channel type is called and runs, to realize under channel type for terminal
Normal work.
Preset any functional unit is corresponding with a channel type in terminal, the terminal preset functional unit
To be a variety of, the channel type of the support according to required for terminal is carried out preset.That is, for terminal, channel rotation
Button is corresponding with channel type, and there is also functional units corresponding thereto for information type.
For example, if needing terminal that can support two kinds of channel types, corresponding, the letter being used alternatingly for the terminal
Road knob is also two kinds, wherein a channel knob is corresponding with the channel type that terminal is supported, another channel knob then with end
Hold another channel type supported corresponding, and functional unit preset in terminal is also two kinds, is respectively used to realize terminal
Normal work under middle respective channels type.
Specifically, terminal will call corresponding functional unit according to currently supported channel type, and triggering operation should
The functional unit of calling, to realize mobile communication of the terminal under the channel type.
By process as described above, the replacement that will make terminal that can carry out channel knob according to actual needs, Jin Erxiang
The currently supported channel type of ground switching terminal is answered, the identification and respective channel type ginseng of channel knob are completed in terminal
After several settings, the switching of channel type in terminal will be smoothly realized under the action of preset functional unit, so that
Terminal no longer only supports single channel type, also ensures that the low control in the low cost and terminal production of terminal is difficult
Degree.
In other words, according to needed for terminal support channel type it is comprehensive, in advance in the terminal programming be integrated with it is a variety of
The software of functional unit, so that terminal is able to the corresponding multiple functions component of preset all channel types, therefore, in the life of terminal
In producing line, multiple model number is no longer used to carry out the control of software programming by the difference of channel knob, as long as will collection
The difficulty of control is significantly reduced in terminal at the software programming of all functional units, and further reduced production
The various costs of required consuming.
In one embodiment, before step 110 as described above, this method further include:
It is identified according to the rotation of channel knob in terminal, to obtain corresponding channel type parameter, and is stored.
That is, need to be revolved to the channel in terminal before the normal work under a certain channel type in realization terminal
Button is identified, and then the update of channel type parameter in the data structure of terminal is carried out according to recognition result.
Multiple channel knobs are equipped with for terminal, realize that multiple channel knobs of channel type switching in terminal will be in terminal
In be replaced use, for terminal, if desired switch the channel type being presently in, then need to only replace current set
The channel knob set is channel knob corresponding to Target Channel Type, for a user, convenient and simple, does not need to consume
Take any cost.
It is substituted in the terminal of channel knob, triggering channel knob is rotated by the operation of user, is only needed at this time
The rotation of channel knob is identified and can trigger the switching for carrying out channel type in terminal.
Specifically, in a preferred embodiment, it is two kinds that terminal, which can be replaced the channel knob used, i.e., gathered around in terminal
There is various types of other channel knob, then the channel type that terminal is supported also is two kinds, and two kinds of channel knobs are in the terminal
It rotates also different.Wherein, a channel knob can carry out unlimited rotary in either direction in the terminal, and another channel knob
It can only can be made without departing from 360 degree in either direction in the terminal, i.e., rotation in one week.
Therefore, whether for terminal, terminal can be confirmed beyond one week by only needing to identify that channel knob is rotated
Currently used is any channel knob, realizes that very simple and identification is very accurate.
By the identification of channel knob in terminal by the value for the channel type parameter that timely updates, and then it ensure that terminal is steady
It is worked normally under the fixed swimmingly channel type corresponding to the value.
As previously described, the use of terminal will include two modes, wherein one is normal mode of operation, another mode
Then be AD HOC, the AD HOC for realizing channel knob in terminal identification so that terminal know it is current set
Channel type, and normal mode of operation is then used for so that terminal under current set channel type by corresponding function
Component works normally.
It does not need to enter AD HOC if not replacing the channel knob in terminal, and only needs in the normal mode of operation
Executing step 110 as described above to step 150 can be realized the normal work of terminal under Current channel type.
Further, as shown in Fig. 2, this is identified according to the rotation that channel knob in terminal triggers, to be corresponded to
Channel type parameter, and the step of storing includes:
Step 201, the rotation that channel knob triggers in terminal is listened to, according in the rotation identification terminal of channel knob triggering
The corresponding knob type of channel knob.
In terminal, user's rotated channel knob, wherein channel knob that user is rotated and to channel knob institute into
Capable rotation is cut according to current desired
What the channel type changed carried out.There are many channel knobs used in terminal, and type will be according to required branch
What the channel type held was configured.Therefore, in the channel type switching carried out, the placement that will be triggered according to channel knob
To identify the knob type of channel knob used in present terminal.
It specifically, being provided with the channel knob of corresponding type previously according to the Target Channel Type of switching, and is each
The channel knob of type sets corresponding rotation angle;The subsequent rotation that channel knob can will be carried out according to the rotation angle of setting
Turn, terminal can be obtained pair after acquiring channel knob and carrying out rotating corresponding rotation angle according to the rotation angle
The knob type answered.
Step 203, according to the value of channel type parameter in knob type more new terminal, and the channel type of update is stored
Parameter.
Identify the value of channel type parameter in obtained knob type instruction terminal, and then by channel type parameter
Value is the channel type that can determine in terminal.
It is updated by the value of identification and the progress of channel type parameter to channel knob currently used in terminal,
Terminal can execute its course of work under channel type corresponding to channel type parameter after completing channel type switching, and can
Carry out the switching of channel type, i.e., the channel knob that replacement terminal uses again, to carry out institute as above again again as needed
The identification for the channel knob stated and the value of channel type parameter update.
By process as described above, channel type can be carried out according to the various types of channel knobs possessed in terminal
Switching, which can carry out before terminal factory, for example, in terminal shipment, if current stock and demand are known in detection
Be not consistent, i.e., channel type in the terminal of shipment be not consistent with the channel type in demand, then according to demand in channel class
Type carries out the replacement of channel knob in terminal, may make with carrying out identification and the update of channel type parameter of the channel knob
Channel type in terminal is consistent with demand, and the production line without returning to terminal is handled, and avoids manufacturing cost
Rise, also ensures the timeliness of shipment.
In addition, such as wanting to switch channel type, existing mode is unconditionally will during user's using terminal
Terminal is returned factory and is handled, for a user, although not needing to pay extra-pay, due to channel class in terminal
Type can not be switched over immediately, and user needs to wait this, greatly consume the time cost of user, so to
Bad experience is caused for family, and for the manufacturer of terminal, also increase cost, and by mode as described above,
Existing predicament will be effectively prevented, the instant switching of channel type in terminal can be realized in user this side.
Further, in the present embodiment, as shown in figure 3, the detailed process of above-mentioned steps 201 includes:
Step 2011, the rotation that channel knob triggers in terminal is listened to, to have obtained corresponding to the rotation of channel knob
It is position encoded.
No matter what type of channel knob is used in terminal, each channel knob all will radially according to the angle of rotation
Several positions are divided, each position has unique corresponding position encoded, wherein the position divided is revolved with the channel
Channel in button is corresponding.
During channel knob is rotated, successively record the position rotated through in channel knob is obtained into and has been compiled
Code.
Step 2013, whether exceed one week according to the rotation that position encoded judgement channel knob is currently triggered, with basis
Obtained judgement result has obtained the current knob type of terminal.
It is position encoded to what is obtained, judge whether the rotation that channel knob is currently triggered exceeds one week, i.e., 360 degree, if
Obtain it is position encoded be continuous and its quantity has exceeded channel quantity in channel knob, then can determine that obtain channel knob
That is currently triggered has been rotated out one week, and generates corresponding judgement result;It is on the contrary then obtained channel knob and currently touched
Judgement result of the rotation of hair without departing from one week.
According to the corresponding relationship of obtained judgement result and preset rotation angle and knob type, can be obtained pair
The knob type answered.For example, two kinds of channel knobs can be equipped with for terminal, wherein a kind of channel knob is to have pole channel knob, separately
One channel knob is electrodeless channel knob.
Have and be provided with limit assembly between pole channel knob and the shell of terminal, so that there is pole channel knob to be carried out
Rotation cannot be more than 360 degree to same direction continuous rotation, that is to say, that this has pole channel knob continuously to revolve to a direction
Turn certain number after, cannot necessarily continue to rotate forward, at this time can only opposite direction rotated.
Rotating Vortex cannot be further continued for after having pole channel knob to rotate certain number into any direction.
Any restrictions are not present between electrodeless channel knob and the shell of terminal, because for this purpose, it can be continuous to same direction
Rotation, also can be always ceaselessly to same direction continuous rotation more than 360 degree.
In one embodiment, functional unit as described above is software transfer by programming in terminal and runs,
The software is the several channel type programming previously according to terminal support into terminal.
As previously described, terminal can support at least two channel types, therefore, the channel type supported according to it, and in advance
First programming is integrated with the software of both channel type corresponding function components in the terminal.
A series of hardware of the signified channel by signal Jing Guo approach form in terminal, and the channel will with it is corresponding
Functional unit matches, to realize normal work of the terminal under respective channel type.
Can integrate previously according to all channel types the burning of the software of all functional units in the production of terminal
It writes, is managed so that not needing that functional unit is arranged in the production process of terminal, thereby reduce terminal and produced
The control cost expended required for journey reduces the complexity of terminal production.
The method for realizing channel type processing of the invention is elaborated below with reference to a specific embodiment.The reality
It applies in example, for terminal by taking intercom as an example, the identification of channel knob as described above and the update of channel type parameter can be
The production line of the intercom is completed, and can also be completed at dealer, can also even be completed in end user location, this can be with
It flexibly carries out as needed, flexibility is very high, illustrates realization of the invention with the production process of intercom below.
For the complete series product of intercom, the channel knob that can be equipped with is electrodeless channel knob or has pole channel
Knob, i.e. channel knob type is electrodeless types or have pole type, corresponding, the function of intercom institute programming in production line
Can component to can be electrodeless type corresponding, be also possible to have pole type corresponding.
Therefore, as shown in figure 4, in intercom production of the invention step 410 will be executed, to intercom produced
Programming is integrated with the software of all knob type corresponding function components, i.e., functional unit corresponding to electrodeless channel knob and has pole
Software corresponding to the corresponding functional unit of channel knob.
In production line, in completing intercom after the programming of software, since channel knob has produced in terminal
Assembly finishes in line, and therefore, producers can rotate the channel knob in the intercom, will hold in the intercom at this time
Row step 430 rotates into AD HOC by the triggering of channel knob, to carry out the identification and channel class of current knob type
The update of shape parameter executes step 201 and step 203 as described above.
By the execution of step 430, the channel type parameter that is updated simultaneously is stored, for subsequent use.
After the intercom identifies which kind of channel knob the channel knob currently assembled is, step will be directly executed
450, the intercom that channel knob and corresponding channel type has been determined is scheduled and is tested, to know whether it meets
Shipment requirement executes step 110 in embodiment as described above to step 150.
By the production process of intercom as described above, the intercom that production is obtained is put in storage.
On the other hand, it for stock, i.e., by the intercom of shipment, will need to check it.It has been obtained in inspection standby
When goods is not consistent with demand, the channel knob in intercom will be replaced, so that letter corresponding to the knob type in intercom
Road type is consistent with demand.
In completing intercom after the replacement of channel knob, it will also enter the knob that AD HOC is presently in
The identification of type and the update of channel type parameter, that is, execute step 201 and step 203 as described above, updated
After channel type parameter, which is put in storage.
In production process as described above, it is no longer necessary to be related to model number, and then not need to increase in production
Control cost can arbitrarily carry out the switching of channel type, enhance the performance of terminal.
In one embodiment, a kind of knob assembly is further correspondingly provided, which is applied to side as described above
In method.As shown in figure 5, the knob assembly includes mounting base 510 and an at least knob 530, wherein at least a knob 530 is for this
It is compatible with mounting base 510, any type of knob 530 can be installed in mounting base 510 as needed.
That is, being the replacement of knob 530 in mounting base 510 due to including at least one knob 530 in knob assembly
Using providing possibility, and then help to improve the flexibility of knob assembly in practical applications.
Specifically, an at least knob 530 includes the first knob 531, which is rotatably inserted into peace
It fills on seat 510, and is rotated in 510 upper limit of mounting base.
In other words, the first knob 531 is one of as knob 530, if being inserted into mounting base 510, with
The rotation that it is carried out under the cooperation of mounting base 510, so that being rotated in of being carried out in mounting base 510 of the first knob 531
It goes to relatively fixed when a certain position, can not be further continued for rotating.
The rotary limited carried out by the first knob 531, by be the first knob 210 in knob assembly work carry out
Label, to pass through the rotary limited you can learn that the knob currently installed in the mounting base 510 of knob assembly.
Further, Fig. 6 is please referred to, an at least knob includes the second knob 533 as described above, is if desired filled
Assigned in mounting base 510, then similar with the first knob 531, the second knob 533 is also rotatably inserted into mounting base 510
On, and with the first knob 531 the difference is that between the second knob 533 being inserted into mounting base 510 and mounting base 510
There is no any limits, can carry out unlimited rotary.
As described above, rotation of the knob 530 in mounting base 510 will as label, with for any knob 530,
For example, the first knob 531, the second knob 533, the rotation in mounting base 510 is different, therefore, can be used for realizing and replace
The knob 530 carried out after knob 530 has been changed to identify.
Further, incorporated by reference to Fig. 5, Fig. 6 and Fig. 7, rotation between the first knob 531 and mounting base 510 is carried out
Limit, in one embodiment, the first knob 531 be equipped with locating part 5311, mounting base 510 be equipped with stop position 511 so that insert
The first knob 531 in mounting base 510 and position limiting structure, i.e. locating part 5311 and stop position are formed between mounting base 510
511 position limiting structures formed, and then knob angle of first knob 531 in mounting base 510 is limited by the position limiting structure.
With the rotation that the first knob 531 carries out in mounting base 510, when locating part 5311 is rotated into stop position 511,
Locating part 5311 is abutted against with stop position 511, will make the terminating rotation of the first knob 531 carried out at this time, and then complete
The rotation of default rotation angle.
Further, the quantity of the quantity and stop position 511 of locating part 5311 can be according to the rotation angle of required setting
Flexibly set.
Such as, which can be 360 degree, corresponding, carry out locating part 5311 in the first knob 531 of rotary limited
It is one, stop position 511 is also one in mounting base 510.
Further, which is to axially extend the flange formed by 531 bottom margin of the first knob.
Correspondingly, the inner wall local radial that the stop position 511 matched with locating part 5311 is mounting base 510 extends to form
Protrusion, protrusion abuts against with flange, so that the first knob 531 of rotation is relatively fixed in mounting base 510.
In addition, the formation for position limiting structure between the first knob 531 and mounting base 510, in addition to the limit of protrusion form
Part 5311, flange forms stop position 511 except, can also be some other forms, for example, the locating part 5311 can be with
To be arranged on the first knob 531, the elastic component abutted with the inner wall elasticity of mounting base 510, can radially elastic telescopic, and
Stop position 511 can be groove compatible with the elastic component, and the inner wall to be compressed in mounting base 510 is abutted with its elasticity
When elastic component is rotated to groove, which will be popped up, and to abut against with groove, and then be carried out to the rotation of the first knob 531
Limit.
Such, the stop position 511 in locating part 5311 and mounting base 510 in the first knob 531 may be configured as more
Kind form, is not enumerated one by one herein.
It should be noted that the first knob 531 and the second knob 533 will select one and be plugged in mounting base 10.
By knob assembly as described above, a variety of knobs 530 can be provided for the use of the knob assembly, and pass through its institute
The rotation of progress identifies that used knob 530 is not required in process of production for the terminal for having installed the knob assembly
It distinguishes different knobs 530 and is produced, reduce control cost and complexity, provide product development and production effect
Rate guarantees the simplification in production process, and then is applicable to more application scenarios have stronger versatility.
For applying the terminal of knob assembly as described above comprising main part and knob assembly, the set of knobs
Mounting base 510 in part is installed on main part.
That is, for the terminal, application of the knob assembly as channel knob in the terminal will enable it
Support all channel types.
For example, for realizing the terminal mobile communication channel type there are two types of, then the rotation 530 that includes in knob assembly
Also it is two kinds, can is the first knob 531 as described above and the second knob 533, respectively correspond two kinds of channels and therefore pass through
The switching of channel type can be realized in the switching of knob 530 in terminal.
By the application of knob assembly as described above in the terminal, for terminal production and use bring it is biggish just
Benefit, and the production and maintenance cost of terminal will not be improved.
It is carried out in terminal in the switching of channel type, on main part in terminal by knob assembly as described above
Mounting base 510 has been inserted in for the second knob 533 and has been illustrated.
Unlimited bit architecture between second knob 533 and mounting base 510, can in mounting base 510 unlimited rotary.If will
Second knob 533 replaces with the first knob 531, and the first knob 531 is inserted into mounting base 510, then the first knob 531 and peace
Position limiting structure is formed between dress seat 510.
At this point, by according to the knob of the first knob 531 identify to obtain terminal it is current belonging to channel type to get to corresponding to
Channel type parameter, and store.
During subsequent terminal works, it is only necessary to read the storage channel type parameter can setting terminal it is current
Locating channel type, and then functional unit preset in respective calls terminal can be realized in terminal under the channel type just
Often work.
In addition, in one embodiment, as shown in figure 8, a kind of terminal for realizing channel type processing is further correspondingly provided,
Including read module 610, setting module 630 and calling module 650, in which:
Read module 610 carries out the channel knob in terminal to identify that obtained channel type is joined in advance for reading
Number.
Channel type parameter is prefixed in terminal, the value of the channel type parameter will determine that terminal is current corresponding
Channel type.Specifically, in actual operations, channel type parameter is provided in the data structure of terminal, it will be previously according to end
Channel knob in end carries out assignment.
Triggering carries out in the terminal of mobile communication, and read module 610 reads the parameter increased newly in data structure, i.e. channel class
Shape parameter, to know the current corresponding channel type of terminal.
As previously described, channel knob will be corresponding with channel type, and the difference of channel knob is also by band in terminal
Carry out the difference of channel type, therefore, channel type parameter be in advance the channel knob in terminal identify it is obtained.
Setting module 630, the channel type for being presently according to channel type parameter setting terminal.
Setting module 630 reads the value in information type parameter, is worked as with the value setting terminal obtained according to the reading
Preceding locating channel type.
Calling module 650 is somebody's turn to do for calling and running the corresponding functional unit of preset channel type with realizing for terminal
Normal work under channel type.
Preset any functional unit is corresponding with a channel type in terminal, the terminal preset functional unit
To be a variety of, the channel type of the support according to required for terminal is carried out preset.That is, for terminal, channel rotation
Button is corresponding with channel type, and there is also functional units corresponding thereto for information type.
Specifically, calling module 650 will call corresponding functional unit according to currently supported channel type in terminal,
And the functional unit for running the calling is triggered, to realize mobile communication of the terminal under the channel type.
By process as described above, the replacement that will make terminal that can carry out channel knob according to actual needs, Jin Erxiang
The currently supported channel type of ground switching terminal is answered, the identification and respective channel type ginseng of channel knob are completed in terminal
After several settings, the switching of channel type in terminal will be smoothly realized under the action of preset functional unit, so that
Terminal no longer only supports single channel type, also ensures that the low control in the low cost and terminal production of terminal is difficult
Degree.
In other words, according to needed for terminal support channel type it is comprehensive, in advance in the terminal programming be integrated with it is a variety of
The software of functional unit, so that terminal is able to the corresponding multiple functions component of preset all channel types, therefore, in the life of terminal
In producing line, multiple model number is no longer used to carry out the control of software programming by the difference of channel knob, as long as will collection
At the software programming of institute's functional unit in terminal, the difficulty of control is significantly reduced, and further reduced production institute
The various costs for needing to expend.
In one embodiment, terminal as described above further includes identification module.The identification module is used for according in terminal
The rotation of channel knob triggering is identified, to have obtained corresponding channel type parameter, and is stored.
That is, needing identification module in terminal before the normal work under a certain channel type in realization terminal
Channel knob identified, and then according to recognition result carry out terminal data structure in channel type parameter update.
Multiple channel knobs are equipped with for terminal, realize that multiple channel knobs of channel type switching in terminal will be in terminal
In be replaced use, for terminal, if desired switch the channel type being presently in, then need to only replace current set
The channel knob set is channel knob corresponding to Target Channel Type, for a user, convenient and simple, does not need to consume
Take any cost.
It is substituted in the terminal of channel knob, triggering channel knob is rotated by the operation of user, is only needed at this time
Wanting identification module to identify the rotation of channel knob can trigger the switching for carrying out channel type in terminal.
By identification module in terminal to the identification of channel knob by the value for the channel type parameter that timely updates, Jin Erbao
Terminal steady has been demonstrate,proved swimmingly to be worked normally under the channel type corresponding to the value.
As previously described, the use of terminal will include two modes, wherein one is normal mode of operation, another mode
Then be AD HOC, the AD HOC for realizing channel knob in terminal identification so that terminal know it is current set
Channel type, and normal mode of operation is then used for so that terminal under current set channel type by corresponding function
Component works normally.
It does not need to enter AD HOC if not replacing the channel knob in terminal, and only needs in the normal mode of operation
Terminal can be realized under Current channel type just by the cooperation of read module 610, setting module 630 and calling module 650
Often work.
Further, in the present embodiment, as shown in figure 9, the identification module 700 includes that unit 710 and more is listened in rotation
New unit 730, in which:
Unit 710 is listened in rotation, for listening to the rotation that channel knob triggers in terminal, according to the rotation of channel knob triggering
Turn the corresponding knob type of channel knob in identification terminal.
In terminal, user's rotated channel knob, wherein channel knob that user is rotated and to channel knob institute into
Capable rotation is carried out according to the current desired channel type to be switched.There are many channel knobs used in terminal, kind
Class will be configured according to the channel type of required support.Therefore, in the channel type switching carried out, rotation is detectd
The knob type placed to identify channel knob used in present terminal for listening unit 710 that will be triggered according to channel knob.
Updating unit 730 for the value according to channel type parameter in knob type more new terminal, and stores update
Channel type parameter.
Identify the value of channel type parameter in obtained knob type instruction terminal, and then by channel type parameter
Value is the channel type that can determine in terminal.
By listening to identification and updating unit of the unit 710 to currently used channel knob to rotation in terminal
The value that 730 pairs of channel type parameters carry out updates, terminal can after completing channel type switching channel type parameter institute it is right
Its course of work is executed under the channel type answered, and can carry out the switching of channel type again as needed, i.e., replacement is whole again
Hold the channel knob that uses, with carry out again channel knob as described above identification and channel type parameter value more
Newly.
By process as described above, channel type can be carried out according to the various types of channel knobs possessed in terminal
Switching, which can carry out before terminal factory, for example, in terminal shipment, if current stock and demand are known in detection
Be not consistent, i.e., channel type in the terminal of shipment be not consistent with the channel type in demand, then according to demand in channel class
Type carries out the replacement of channel knob in terminal, may make with carrying out identification and the update of channel type parameter of the channel knob
Channel type in terminal is consistent with demand, and the production line without returning to terminal is handled, and avoids manufacturing cost
Rise, also ensures the timeliness of shipment.
In addition, such as wanting to switch channel type, existing mode is unconditionally will during user's using terminal
Terminal is returned factory and is handled, for a user, although not needing to pay extra-pay, due to channel class in terminal
Type can not be switched over immediately, and user needs to wait this, greatly consume the time cost of user, so to
Bad experience is caused for family, and for the manufacturer of terminal, also increase cost, and by mode as described above,
Existing predicament will be effectively prevented, the instant switching of channel type in terminal can be realized in user this side.
In one embodiment, as shown in Figure 10, it includes that coding obtains subelement 711 and sentences which, which listens to unit 710,
Stator unit 713, in which:
Coding obtains subelement 711, for listening to the rotation that channel knob triggers in terminal, to have obtained channel knob
It is position encoded corresponding to rotation.
No matter what type of channel knob is used in terminal, each channel knob all will radially according to the angle of rotation
Several positions are divided, each position has unique corresponding position encoded, wherein the position divided is revolved with the channel
Channel in button is corresponding.
During channel knob is rotated, coding obtains subelement 711 and will successively record to have obtained channel knob
In rotate through it is position encoded.
Determine subelement 713, whether the rotation for currently being triggered according to position encoded judgement channel knob exceeds one
Week, to have obtained the current channel type of terminal according to obtained judgement result.
It is position encoded to what is obtained, determine that subelement 713 judges whether the rotation that channel knob is currently triggered exceeds one
Week, i.e., 360 degree, if obtain it is position encoded be continuous and its quantity has exceeded channel quantity in channel knob, can sentence
Surely obtain that channel knob currently triggered has been rotated out one week, and generates and corresponding determine result;It is on the contrary then believed
Judgement result of the rotation that road knob is currently triggered without departing from one week.
In another embodiment, functional unit as described above is the software transfer by programming in terminal and operation
, which is the several channel type programming previously according to terminal support into terminal.
As previously described, terminal can support at least two channel types, therefore, the channel that programming module is supported according to it
Type, programming is integrated with the software of both channel type corresponding function components in the terminal in advance.
Signified channel is made of a series of hardware that signal passes through in terminal, and the channel will be with corresponding function
Component matches, to realize normal work of the terminal under respective channel type.
The programming of the software of institute's functional unit can be integrated previously according to all channel types in the production of terminal,
So that not needing to manage this in the production process of terminal, consuming required for terminal production process is thereby reduced
Cost is managed, the complexity of terminal production is reduced.
That is, in actual production, it is only necessary to which programming can support simultaneously the only one of all channel types soft
Part, Integrated Simulation multiple functions components so that the production process of terminal no longer need programming to software into
Row control.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
Although describing the present invention with reference to several exemplary embodiments, it is to be understood that, term used be explanation and
Term exemplary, and not restrictive.Due to the present invention can be embodied in a variety of forms without departing from invention spirit or
Essence, it should therefore be appreciated that above embodiment is not limited to any of the foregoing details, and should be defined by the appended claims
The whole change and modification widely explained, therefore fallen into claim or its equivalent scope in spirit and scope all should be with
Attached claim is covered.
Claims (10)
1. a kind of method for realizing channel type processing characterized by comprising
Reading carries out the channel knob in terminal to identify that obtained channel type parameter, the channel type parameter are in advance
It replaces and rotates the channel knob and switch;
The channel type being presently according to the channel type parameter setting terminal;
The preset corresponding functional unit of the channel type is called and runs, to realize under the channel type for the terminal
Normal work.
2. the method according to claim 1, wherein the reading in advance knows the channel knob in terminal
Not obtained channel type parameter the step of before, the method also includes:
It is identified according to the rotation that channel knob in the terminal triggers, to obtain corresponding channel type parameter, and is stored.
3. according to the method described in claim 2, it is characterized in that, the rotation triggered according to channel knob in the terminal
It is identified, to obtain corresponding channel type parameter, and the step of storing includes:
The rotation that channel knob triggers in the terminal is listened to, is identified in the terminal according to the rotation of channel knob triggering
The corresponding knob type of channel knob;
The value of channel type parameter in the terminal is updated according to the knob type, and stores the channel type of the update
Parameter.
4. according to the method described in claim 3, it is characterized in that, described listen to the rotation that channel knob triggers in the terminal
The step of turning, identifying in the terminal channel knob corresponding knob type according to the rotation of channel knob triggering include:
The rotation that channel knob triggers in the terminal is listened to, to obtain the volume of position corresponding to the rotation of the channel knob
Code;
Whether exceed one week according to the position encoded rotation for determining that the channel knob is currently triggered, is obtained with basis
Determine that result obtains the current knob type of the terminal.
5. the method according to claim 1, wherein the functional unit is the software tune by programming in terminal
With and run, the software be previously according to terminal support several channel type programming into terminal.
6. a kind of terminal for realizing channel type processing characterized by comprising
Read module carries out the channel knob in terminal to identify obtained channel type parameter in advance for reading, described
Channel type parameter is replacement and rotates the channel knob and switch to obtain;
Setting module, the channel type for being presently according to the channel type parameter setting terminal;
Calling module, for calling and running the preset corresponding functional unit of the channel type, for terminal realization
Normal work under the channel type.
7. terminal according to claim 6, which is characterized in that the terminal further include:
Identification module, the rotation for being triggered according to channel knob in the terminal is identified, to obtain corresponding channel class
Shape parameter, and store.
8. terminal according to claim 7, which is characterized in that the identification module includes:
Unit is listened in rotation, for listening to the rotation that channel knob triggers in the terminal, according to channel knob triggering
Rotation identifies the corresponding knob type of channel knob in the terminal;
Updating unit, for updating the value of channel type parameter in the terminal according to the knob type, and described in storage
The channel type parameter of update.
9. terminal according to claim 8, which is characterized in that the rotation listens to unit and includes:
Coding obtains subelement, for listening to the rotation that channel knob triggers in the terminal, to obtain the channel knob
It is position encoded corresponding to rotation;
Subelement is determined, for whether exceeding one according to the position encoded rotation for determining that the channel knob is currently triggered
Week, to obtain the current channel type of the terminal according to obtained judgement result.
10. terminal according to claim 6, which is characterized in that the functional unit is the software by programming in terminal
It calls and runs, the software is the several channel type programming supported previously according to terminal into terminal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510581769.1A CN105263189B (en) | 2015-09-14 | 2015-09-14 | Realize the method and terminal of channel type processing |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510581769.1A CN105263189B (en) | 2015-09-14 | 2015-09-14 | Realize the method and terminal of channel type processing |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN105263189A CN105263189A (en) | 2016-01-20 |
| CN105263189B true CN105263189B (en) | 2019-01-15 |
Family
ID=55102648
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510581769.1A Active CN105263189B (en) | 2015-09-14 | 2015-09-14 | Realize the method and terminal of channel type processing |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN105263189B (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1776373A (en) * | 2005-11-24 | 2006-05-24 | 上海交通大学 | The Phase Detection Circuit of Incremental Rotary Encoder |
| US8126492B2 (en) * | 2008-09-25 | 2012-02-28 | Sonetics Corporation | Vehicle communications system |
| CN102609258A (en) * | 2012-02-02 | 2012-07-25 | 武汉光庭科技有限公司 | Improvement method for identifying rotary encoder |
| CN103178866A (en) * | 2013-02-22 | 2013-06-26 | 海能达通信股份有限公司 | Terminal equipment and utilization method thereof |
| JP5423099B2 (en) * | 2009-03-30 | 2014-02-19 | サクサ株式会社 | Telephone system and doorphone remote access control method |
-
2015
- 2015-09-14 CN CN201510581769.1A patent/CN105263189B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1776373A (en) * | 2005-11-24 | 2006-05-24 | 上海交通大学 | The Phase Detection Circuit of Incremental Rotary Encoder |
| US8126492B2 (en) * | 2008-09-25 | 2012-02-28 | Sonetics Corporation | Vehicle communications system |
| JP5423099B2 (en) * | 2009-03-30 | 2014-02-19 | サクサ株式会社 | Telephone system and doorphone remote access control method |
| CN102609258A (en) * | 2012-02-02 | 2012-07-25 | 武汉光庭科技有限公司 | Improvement method for identifying rotary encoder |
| CN103178866A (en) * | 2013-02-22 | 2013-06-26 | 海能达通信股份有限公司 | Terminal equipment and utilization method thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| CN105263189A (en) | 2016-01-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102915004A (en) | Home appliance, home appliance diagnostic system, and method | |
| CN105334809B (en) | A kind of autocontrol method and device | |
| CN102469207A (en) | Multi-operating system mobile phone and implementation method thereof | |
| CN105095044A (en) | SNMP based server monitoring method and apparatus | |
| CN109189409A (en) | Programming system, programming system server and its parallel programming management method and device | |
| CN101873383A (en) | Terminal operation configuration method and terminal | |
| CN110427003A (en) | Robot control method and device and robot | |
| CN105263189B (en) | Realize the method and terminal of channel type processing | |
| CN113452556A (en) | Product skill configuration method and device, storage medium and electronic device | |
| US20120194435A1 (en) | Mouse and method for pairing the mouse with computer | |
| CN108833584A (en) | Information push method, terminal, server and computer storage medium | |
| CN105468699A (en) | Duplicate removal data statistics method and equipment | |
| CN115617589A (en) | Chip debugging method | |
| CN110004637B (en) | A kind of control method of clothes treatment system | |
| CN105094925B (en) | The burning rolling code method and system of general One Time Programmable chip | |
| CN109992317A (en) | A kind of TPM initial method and relevant apparatus | |
| CN101510160A (en) | Program operation control method of embedded equipment applying function and embedded equipment | |
| CN112162920A (en) | Kubernetes-based automatic model testing method and system | |
| CN101835175B (en) | Method and tool for realizing network management configuration | |
| CN108845531B (en) | Voice control command word pushing method and device | |
| CN104503369A (en) | Servo driver and servo parameter operation method | |
| CN114253223B (en) | Controller port data processing method, device, equipment and storage medium | |
| CN215867907U (en) | Touch screen identification card for 3D printing | |
| CN212785424U (en) | Intelligent alarm clock control circuit operated by intelligent mobile phone | |
| CN103677901B (en) | Method and apparatus for application switching |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |