CN108234768A - Resource switch control method, device and terminal device - Google Patents
Resource switch control method, device and terminal device Download PDFInfo
- Publication number
- CN108234768A CN108234768A CN201810001179.0A CN201810001179A CN108234768A CN 108234768 A CN108234768 A CN 108234768A CN 201810001179 A CN201810001179 A CN 201810001179A CN 108234768 A CN108234768 A CN 108234768A
- Authority
- CN
- China
- Prior art keywords
- resource
- terminal device
- identification
- output
- instruction
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/16—Sound input; Sound output
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
- H04M1/72442—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for playing music files
Abstract
The present invention provides a kind of resource switch control methods, device and terminal device, after terminal device receives resource switch instruction, the current state information of terminal device will be obtained, and in the case where determining that it meets resource selection pattern trigger condition, control terminal equipment is entered into resource selection pattern, it is sequentially output at least one resource identification, at this time, user can be according to each resource identification learnt, the resource identification of terminal device output resource it is expected in selection, and send corresponding selection instruction to terminal device, so as to which terminal device be made directly to export the corresponding resource of selected resource identification, user's or else disconnected progress resource switch operation is not needed to, substantially increase efficiency and convenience that resource it is expected in switching.
Description
Technical field
The invention mainly relates to Communication Control Technology field, more particularly to a kind of resource switch control method,
Device and terminal device.
Background technology
Nowadays, such as mobile phone, the function of iPad terminal devices are stronger and stronger, usually with audio-video document, text text
The displaying function of the resources such as part, in practical applications, in order to improve user experience, additionally it is possible to be set by external equipment experience terminal
Standby function.For example make a phone call, listen to music by earphone, terminal device can be placed at this time in packet or in pocket, no
User's hand-held terminal device is needed, convenience is brought for user.
By taking user is listened to music by earphone as an example, when user wishes to listen other songs, typically on the terminal device into
Enter music list interface, user is selected directly to be played after wanting the song listened.But it takes end in the inconvenient user of such as running etc.
In the scene of end equipment manual operation, when user wishes to switch currently playing song, the button on earphone can be grasped
Make, the resource switch instruction of generation is sent to terminal device, control terminal equipment is switched to next song, does not need to user
It picks up terminal device and enters music list interface progress song handover operation, further improve what user was listened to music using earphone
Experience sense by.
However, existing this resource switch control method, in the case where user it is expected that song compares rearward, usually needs
It takes a long time and song handover operation is repeated, not only affect the service life of earphone, but also search and it is expected song
It is less efficient.
Invention content
In view of this, the present invention provides a kind of resource switch control method, device and terminal device, pass through control terminal
Equipment enters resource selection pattern, and during exporting at least one resource identification, resource output it is expected in selection, does not need to frequently cut
It changes one resource switch of a resource to search, substantially increases the efficiency for searching resource switch.
In order to achieve the above-mentioned object of the invention, the present invention provides following technical schemes:
An embodiment of the present invention provides a kind of resource switch control method, the method includes:
Resource switch instruction is received, obtains the current state information of terminal device, the resource switch instructs to refer to
Show that the terminal device exports the corresponding resource of next resource identification;
It determines that the current state information meets resource selection pattern trigger condition, the terminal device is controlled to enter resource
Selection mode is sequentially output at least one resource identification;
The selection instruction for any one resource identification is received, the output phase answers the corresponding resource of resource identification.
Optionally, the method further includes:
It determines that the current state information does not meet resource selection pattern trigger condition, responds the resource switch instruction,
Export the corresponding resource of next resource identification.
Optionally, the current state information includes current count value, and the current count value shows to set the terminal
The continuous switching control number of standby output resource, it is described to determine that the current state information meets resource selection pattern trigger condition
Including:
Determine that current count value reaches predetermined threshold value;
After the terminal device is controlled to enter resource selection pattern, the method further includes:
The current count value is reset.
Optionally, the method further includes:
It determines that the terminal device continuously exports same resource in preset time period, controls the current count value clear
Zero.
Optionally, it is described receive resource switch instruction include:
Resource switch instruction is received in the preset time period the output time since Current resource.
Optionally, in the case where determining that the current state information meets resource selection pattern trigger condition, the side
Method further includes:
Information of voice prompt is exported, the information of voice prompt is used to indicate whether the terminal device enters resource selection
Pattern;
Mode entry instruction is received, the control terminal device is performed and enters resource selection mode step.
The embodiment of the present invention additionally provides a kind of resource switch control device, and described device includes:
Command reception module for receiving resource switch instruction, obtains the current state information of terminal device, the money
Source switching command is used to indicate the terminal device and exports the corresponding resource of next resource identification;
Mode control module for determining that the current state information meets resource selection pattern trigger condition, controls institute
It states terminal device and enters resource selection pattern, be sequentially output at least one resource identification;
Resource output module for receiving the selection instruction for being directed to any one resource identification, exports respective resources mark
Know corresponding resource.
Optionally, described device further includes:
Respond module is instructed, for determining that the current state information does not meet resource selection pattern trigger condition, response
The resource switch instruction, exports the corresponding resource of next resource identification.
Optionally, the current state information includes current count value, and the current count value shows to set the terminal
The continuous switching control number of standby output resource, the mode control module include:
First determination unit, for determining that current count value reaches predetermined threshold value;
Described device further includes:
Dump block, after entering resource selection pattern in the control terminal device, by the current count value
It resets.
The embodiment of the present invention additionally provides a kind of terminal device, and the terminal device includes:
Communication interface;
Resource player;
Memory, for storing the program for realizing resource switch control method as described above;
Processor, for loading and performing described program, including:
Resource switch instruction is received, obtains the current state information of terminal device, the resource switch instructs to refer to
Show that the terminal device exports the corresponding resource of next resource identification;
It determines that the current state information meets resource selection pattern trigger condition, the terminal device is controlled to enter resource
Selection mode is sequentially output at least one resource identification;
The selection instruction for any one resource identification is received, controls the resource player output respective resources mark
Know corresponding resource.
It can be seen that compared with prior art, the present invention provides a kind of resource switch control method, device and terminal are set
It is standby, after terminal device receives resource switch instruction, the current state information of terminal device will be obtained, and provide determining that it meets
In the case of the selection mode trigger condition of source, control terminal equipment is entered into resource selection pattern, is sequentially output at least one money
Source identifies, at this point, user can select it is expected the resource mark of terminal device output resource according to each resource identification learnt
Know, and corresponding selection instruction is sent to terminal device, corresponded to so as to which terminal device be made directly to export selected resource identification
Resource, do not need to user and or else break carry out resource switch operation, substantially increase the efficiency and just that resource it is expected in switching
Profit.
Description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention, for those of ordinary skill in the art, without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of resource switch control method provided in an embodiment of the present invention;
Fig. 2 is the flow chart of another resource switch control method provided in an embodiment of the present invention;
Fig. 3 is the structure chart of a kind of resource switch control device that inventive embodiments provide;
Fig. 4 is the structure chart of another resource switch control device that inventive embodiments provide;
Fig. 5 is the structure chart of another resource switch control device that inventive embodiments provide;
Fig. 6 is the structure chart of another resource switch control device that inventive embodiments provide;
Fig. 7 is the hardware structure diagram of a kind of terminal device that inventive embodiments provide.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work
Embodiment shall fall within the protection scope of the present invention.
The present invention provides a kind of resource switch control method, device and terminal device, terminal device receive resource and cut
After changing instruction, the current state information of terminal device will be obtained, and determining that it meets the feelings of resource selection pattern trigger condition
Under condition, control terminal equipment is entered into resource selection pattern, is sequentially output at least one resource identification, at this point, user can root
According to each resource identification learnt, the resource identification of terminal device output resource it is expected in selection, and sends phase to terminal device
The selection instruction answered so as to which terminal device be made directly to export the corresponding resource of selected resource identification, does not need to user again
Resource switch operation is constantly carried out, substantially increases efficiency and convenience that resource it is expected in switching.
In order to enable the above objects, features and advantages of the present invention more obvious understandable, below in conjunction with the accompanying drawings and specifically
The present invention is described in further detail for embodiment.
As shown in Figure 1, for a kind of flow chart of resource switch control method provided in an embodiment of the present invention, this method can be with
Including:
Step S11 receives resource switch instruction, obtains the current state information of terminal device;
Wherein, resource switch instruction can serve to indicate that terminal device exports the corresponding resource of next resource identification.
In practical applications, user can use the input equipments such as earphone to realize the control to terminal device, for example, passing through
The earphone of wearing realizes closing of the circuit or hangs up that music client end starts and the switching operations such as song, file page turning, is user
Using terminal equipment provides convenience.
By taking song switches as an example, in order to solve existing switching control can only one song of a song switching, lead to not
The technical issues of user it is expected the song listened to is quickly switched into, the embodiment of the present invention proposes a kind of more convenient money
Source (such as song, image, file) method for handover control that is, in switching song operation, adds song selection operation, so as to straight
It connects and selects the song that user it is expected broadcasting, do not need to the one playback of songs selection of another song, substantially increase song and cut
Change efficiency.
Conceived based on foregoing invention, the embodiment of the present invention can be in particular state with setting terminal equipment, can be according to
The upper quick selection target song of segment description plays out, and in other states of terminal device, still uses conventional switching control side
Formula carries out song switching control.So after detecting user to the switching control instruction of terminal device, terminal can be first determined
Which kind of state is equipment be currently at, that is, determines if that resource selection pattern can be entered.
Optionally, resource switch instruction can generate, such as user the operation of the input equipments such as such as earphone based on user
The button on earphone is clicked or double-clicked, corresponding resource switch instruction is generated and is sent to terminal device, the embodiment of the present invention is to this
The generating mode of resource switch instruction is not construed as limiting, and can also be generated by being based on voice messaging, i.e., user passes through voice mode
Control the switching of resource.
In addition, the current state information of the terminal device obtained can include believing the operation of terminal device by the end of currently
Breath, time interval etc. of last time operation to current time, the embodiment of the present invention to it includes content do not limit, can be with
It is determined according to the triggering mode of the resource selection pattern of preset terminal device.
Step S12 determines that the current state information meets resource selection pattern trigger condition, and control terminal equipment enters money
Source selection mode is sequentially output at least one resource identification;
After the current state information for obtaining terminal device, it can first judge whether it meets preset resource selection pattern
Trigger condition, if not satisfied, can be instructed directly in response to the resource switch, control terminal equipment exports next resource;It is if full
Foot, terminal device will enter resource selection pattern, and in this case, terminal device can export the corresponding resource mark of multiple resources
Know, user can select it is expected the resource that terminal device exports by earphone, directly export selected resource, do not need to one
During the output for providing a resource, user judges one by one, selects expectation resource, substantially increases resource switch effect
Rate.
Wherein, after terminal device enters resource selection pattern, the display screen of terminal device can export its tool in batches
The corresponding resource identification of multiple resources having can specifically show a resource identification every time according to intervals, if working as
The resource identification note of preceding display is the resource identification of user's desired output resource, can directly select determining output;It is if current aobvious
The resource identification note shown is not the resource identification of user's desired output resource, and without processing, separated in time will be cut automatically
Next resource identification is changed to, and so on, select the resource identification of the resource of user's desired output.As it can be seen that in the process
In, for not being the resource of user's desired output, its resource identification is only exported, resource content can't be exported, improves lookup
It is expected the efficiency of resource.
It should be noted that the output of the resource identification of multiple resources having for terminal device, it is not limited on
The way of output of one resource identification of a resource identification of text description, can also be according to intervals, and output is more every time
(its quantity can be true according to the display area shared by the size of terminal device display screen and each resource identification for a resource identification
Fixed, however, it is not limited to this), in this case, if after user's selection determines multiple resource identifications that current interface is shown, only need
These resources in current interface are exported, and the prior art one resource the output phase ratio of a resource from the beginning,
Also improve resource switch efficiency.
Certainly, the resource identification of different number, the embodiment of the present invention pair can also be exported every time in embodiments of the present invention
The concrete methods of realizing for being sequentially output at least one resource identification does not limit, and is no longer described in detail one by one herein.
Optionally, after determining that terminal device enters resource selection pattern, corresponding prompt message can be exported, informs use
Family terminal device current operation mode.The prompt message can be alarm song of information of voice prompt or setting etc., in this way,
User needs to check terminal device display screen it can be learnt that terminal device current operation mode, thereby using family to terminal device
It operates more convenient and timely.
Step S13, receives the selection instruction for any one resource identification, and the output phase answers the corresponding money of resource identification
Source.
As described above, if during resource selection pattern, if terminal device only exports a resource identification every time, true
The resource mark mark of settled front interface output is the resource identification that user it is expected resource, can be directly based upon user to current defeated
The confirmation operation of the resource identification gone out generates corresponding selection instruction, and so as to which terminal device be made to respond the selection instruction, output is worked as
The corresponding resource of resource identification of front interface output.
If terminal device exports multiple resource identifications every time, after user is confirmed by input equipment, it is directly switch to
The corresponding resource of multiple resource identifications of current interface output, at this time, it may be necessary to which user is exported using input equipment in current interface
These resource identifications in switch over operation, the corresponding resource of any one resource identification in current interface is switched to
When, the switching command generated at this time may be considered selection instruction, at this point, the resource identification that output current interface is chosen
Corresponding resource if not user it is expected resource, can continue to switch in the manner described above, due in this case, needing
The resource quantity to be switched greatly reduces, and improves the efficiency for being cut to and it is expected resource.
Certainly, the resource identification for it is expected resource, Yong Huke are included in multiple resource identifications of terminal device current interface
Input equipment to be used to carry out selection operation in interface in this prior, when choosing the resource identification for it is expected resource, then confirmed
Output operation, generation so as to which terminal device be made to export the expectation resource, but are not limited to for the selection instruction of the expectation resource
In above-described several selection modes.
Wherein, the mode of at least one resource identification is exported for terminal device, voice broadcasting modes may be used, it is this
In the case of, user, which does not need to take out terminal device, checks display screen, it will be able to directly select and it is expected resource output, meet user
Be inconvenient to the scene demand that terminal device operates of taking.Certainly, for the way of output of resource identification, it is not limited to which voice is broadcast
Mode is put, can be set according to actual needs, the embodiment of the present invention is no longer described in detail one by one herein.
In embodiments of the present invention, after terminal device receives selection instruction, resource selection pattern can be exited, response should
Selection instruction exports corresponding resource, such as plays the song chosen or musical play multimedia file.
In conclusion especially under the user not scene of aspect direct operation terminal device, the embodiment of the present invention passes through
Control control terminal equipment enters resource selection pattern so that and terminal device is sequentially output at least one resource identification, in this way, with
Family can select the resource of desired output to export, do not need to export each resource selection directly according to the resource identification of output
It is expected resource, avoid the frequent operation to input equipment, and improve the efficiency searched and it is expected resource.
As shown in Fig. 2, the flow chart for another resource switch control method provided in an embodiment of the present invention, this method can
To include:
Step S21 in the preset time period the output time since Current resource, receives resource switch instruction,
Obtain the current count value of terminal device;
In the embodiment of the present invention, in the initial state, counter can be 0, it is generally the case that in the current meter of counter
In the case that numerical value is not up to predetermined threshold value, resource switch operation is carried out per secondary control input equipment in user, counter adds 1,
Update current count value.But if terminal device output Current resource preset time period in, user is not any to it
Operation can be resource switch operation herein, can counter be reverted to zero;If terminal device is pre- output Current resource
If in the period, user has carried out Current resource handover operation, i.e. terminal device has received corresponding resource switch instruction,
It can be by judging the continuous switching times to terminal device resource, to determine whether user needs terminal device to enter resource choosing
Pattern is selected, therefore, the current count value of terminal device can be obtained at this time.As it can be seen that the current count value may be used to indicate that pair
Terminal device exports the continuous switching control number of resource.
Certainly, it should be noted that about judge terminal device whether can enter resource selection pattern judgment method,
The judgement of continuous switching times is not limited to, the embodiment of the present invention is only illustrated by taking the judgement of continuous switching times as an example,
It is similar for the realization process of other judgment methods, it is no longer described in detail one by one herein.
Wherein, which can be realized by the processor of terminal device, it can also be by input equipment
Processor realize that the embodiment of the present invention is not construed as limiting this.
Step S22, detects whether the current count value reaches predetermined threshold value, if reaching, performs step S25;If not up to,
Enter step S23;
Wherein, when predetermined threshold value can represent to enter terminal device resource selection pattern, the continuous of output resource is cut
Number is changed, the embodiment of the present invention does not limit its concrete numerical value, usually will not be very big, such as 3 or 4 etc..
Step S23 updates current count value, and responds resource switch instruction, and it is corresponding to export next resource identification
Resource;
With reference to being described above, after determining user to this handover operation of terminal device output resource, do not meet terminal and set
The standby trigger condition for entering resource selection pattern, will directly carry out resource switch operation, i.e., rule is exported according to resource, under output
The corresponding resource of one resource identification.
Wherein, if resource output rule is sequentially to export respective resources according to resource identification sequence, resource response switching refers to
When enabling, the adjacent corresponding resource of next resource identification of resource identification that resource is currently exported with terminal device can be exported;If
Resource output rule is random output resource, then, during resource response switching command, it can export different from Current resource another
One resource etc..
In practical applications, the resource switch operation of terminal device response user, can be with after being switched to the output of next resource
Return to step S21 is continued to execute.
Step S24 detects that terminal device continuously exports the corresponding money of the next resource identification in preset time period
Source resets updated count value;
Step S25, control terminal equipment enter resource selection pattern, are sequentially output at least one resource identification;
Optionally, in embodiments of the present invention, the operation of this resource switch is completed, and is determining that updated count value reaches
To predetermined threshold value, the output to Current resource can be suspended with control terminal equipment, and export and whether enter resource selection pattern
Prompt message, i.e. request receive into the prompting message of resource selection pattern and determine to enter resource selection pattern for user
Operation generation control instruction, control terminal equipment enters resource selection pattern;Conversely, perform step S25 be switched to it is next
A resource output.
Based on this, as another embodiment of the present invention, when the testing result of above-mentioned steps S22 is to be, language can be exported
Sound prompt message, the information of voice prompt can serve to indicate that whether terminal device enters resource selection pattern, receive pattern
Entry instruction, control terminal equipment enter resource selection pattern, but are not limited to this judgement triggering of the present embodiment description
Mode.
Wherein, output after resource selection pattern to resource identification is entered for terminal device, is referred to above step
The description of S12 corresponding portions, this will not be detailed here for the present embodiment.
Step S26, receives the selection instruction for any one resource identification, and the output phase answers the corresponding money of resource identification
Source, and current count value is reset.
In embodiments of the present invention, step S26 realizes that process is identical with above-mentioned steps S13, and details are not described herein.
In conclusion the embodiment of the present invention, by handover operation counting mode, control terminal equipment enters resource selection mould
Formula exports at least one resource identification, therefrom selects it is expected the resource identification of resource for user, output it is expected resource, do not needed to
The resource one of frequent switching one resource exports, and it is expected resource output to search, substantially increases the efficiency searched and it is expected resource,
And avoid to a certain extent and frequent operation is carried out to input equipment, influence the service life of input equipment operation object.
It, hereafter will be to pass through bluetooth ear in order to more clearly illustrate resource switch control program provided in an embodiment of the present invention
Machine illustrates for realizing the scene of switch mobile phone song, during user listens song using bluetooth headset, if wanting to change a certain
Song is listened, and is not desired to or inconvenient adept machine directly searches the song wanted to listen to and it is expected song, at this point it is possible to use earphone
On case, realize mobile phone play song switching, but this operation can only in sequence one song of a song switch broadcast
It puts, if user wishes the song listened, does not continue to switch, process is more complicated, and searches and it is expected that the efficiency of song is very low.
In view of the above-mentioned problems, combining the resource switch control program of the various embodiments described above of the present invention description, obtain a kind of new
Song handover scheme, it is assumed that the case that user is double-clicked on earphone realizes the switching of song, under original state, for counting switching
The counter T=0 of number, then, when user wishes to cut song, i.e., after the case on earphone is double-clicked, mobile phone will receive song
Switching command, at this point it is possible to the current count value of counter T be obtained, if T (presets threshold not equal to 3 i.e. in above-described embodiment
Value, however, it is not limited to this, and the present embodiment is herein only with continuously handover operation, control mobile phone enter song selection mode and be three times
Example illustrates), the numerical value of T can be updated, obtains T+1, meanwhile, mobile phone is cut directly in response to the song switching command received
Change to next playback of songs.
If T=3, the broadcasting of current song can be suspended, and pass through whether voice prompt user enters song selection mode,
If user agrees to enter song selection mode, earphone keystroke can be clicked, mobile phone receives corresponding confirmation instruction, controls mobile phone
Into song selection mode, and pass through voice mode and play at least one song title to be played, user can basis at this time
Song it is expected in the song title selection of report, carries out clicking confirmation by earphone keystroke, so as to which mobile phone be made to receive corresponding song
Bent selection instruction, the corresponding song of song title selected by broadcasting, and by counter O reset.
As it can be seen that this control mode for searching song switching, does not need to the lookup of one playback of songs of a song, it is only necessary to
It plays song title and searches and it is expected song, substantially increase and search song switching efficiency, and due to reducing to the frequent of earphone
Handover operation avoids and frequently earphone keystroke is operated, influences earphone service life.
Wherein, in the above-described embodiments, current song preset time period is played (such as 10 seconds, but do not limit in mobile phone
In this) without any operation, generally it can be thought that user wishes to listen the song, song will not be switched again, above-mentioned meter can be controlled
Number device T reverts to zero;If having carried out handover operation in preset time period, it is referred to above-mentioned song method for handover control and carries out
Operation, this will not be detailed here.
As shown in figure 3, for a kind of structure chart of resource switch control device provided in an embodiment of the present invention, which can be with
Including:
Command reception module 310 for receiving resource switch instruction, obtains the current state information of terminal device, institute
It states resource switch instruction and is used to indicate the corresponding resource of the next resource identification of the terminal device output;
Wherein, the current state information can include current count value, which may indicate that the end
End equipment exports the continuous switching control number of resource, if the current count value of terminal device reaches predetermined threshold value, this resource
Triggering terminal equipment is entered resource selection pattern by switching control instruction.
Mode control module 320, for determining that the current state information meets resource selection pattern trigger condition, control
The terminal device enters resource selection pattern, is sequentially output at least one resource identification;
Wherein, after entering resource selection pattern about terminal device, the process of at least one resource identification how is exported, it can
With the description with reference to above method embodiment corresponding portion, this will not be detailed here for the present embodiment.
Resource output module 330 for receiving the selection instruction for being directed to any one resource identification, exports respective resources
Identify corresponding resource.
Optionally, as shown in figure 4, the device can also include:
Respond module 340 is instructed, for determining that the current state information does not meet resource selection pattern trigger condition, is rung
The resource switch is answered to instruct, exports the corresponding resource of next resource identification.
In the case where the current state information for determining terminal device meets resource selection pattern trigger condition, such as Fig. 5 institutes
Show, which can also include:
Mode annunciations module 350, for exporting information of voice prompt, the information of voice prompt is used to indicate the terminal
Whether equipment enters resource selection pattern;
Mode instruction receiving module 360, for receiving mode entry instruction, perform the control terminal device into
Enter resource selection mode step.
As another embodiment of the present invention, above by continuous switching control number, the resource choosing of terminal device is realized
In the control program for selecting pattern, as shown in fig. 6, mode control module 320 can include:
First determination unit 321, for determining that current count value reaches predetermined threshold value;
First control unit 322 enters resource selection pattern for control terminal equipment, is sequentially output at least one resource
Mark;
Correspondingly, which can also include:
Dump block 370, after entering resource selection pattern in the control terminal device, by the current count
Value is reset.
Optionally, which can also include:
Determining module continuously exports same resource for surely described terminal device in preset time period, and control is described to work as
Preceding count value is reset.
Correspondingly, above-metioned instruction receiving module 310 includes:
Instruction reception unit is cut for receiving resource in the preset time period the output time since Current resource
Change instruction.
It is to be appreciated that being realized about module each in device embodiment or the function of unit, it is referred to method above and implements
The description of example corresponding portion, the present embodiment are no longer described in detail one by one herein.
In conclusion in embodiments of the present invention, after terminal device receives resource switch instruction, terminal device will be obtained
Current state information, and in the case where determining that it meets resource selection pattern trigger condition, control terminal equipment is entered
Resource selection pattern is sequentially output at least one resource identification, at this point, user can according to each resource identification learnt,
The resource identification of terminal device output resource it is expected in selection, and sends corresponding selection instruction to terminal device, so as to make terminal
Equipment directly exports the corresponding resource of selected resource identification, does not need to user's or else disconnected progress resource switch operation, greatly
The big efficiency and convenience for improving switching and it is expected resource.
Above-mentioned resource switch device can include processor and memory, above-metioned instruction receiving module, mode control module,
Resource output module, instruction respond module, dump block, mode annunciations module and mode instruction receiving module etc. are used as journey
Sequence unit stores in memory, performs above procedure unit stored in memory by processor to realize corresponding work(
Energy.
Comprising kernel in processor, gone in memory to transfer corresponding program unit by kernel.Kernel can set one
Or more, carry out control terminal equipment by adjusting kernel parameter and enter resource selection pattern, be sequentially output at least one resource mark
Know, select the resource of desired output accordingly thereby using family and switch output, do not need to terminal device and export a resource one
Resource can just find and it is expected resource switch output, substantially increase the switching efficiency for searching resource, and avoid and input is set
Standby frequent operation, the influence to input equipment service life.
Memory may include computer-readable medium in volatile memory, random access memory (RAM) and/
Or the forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM), memory includes at least one deposit
Store up chip.
An embodiment of the present invention provides a kind of storage mediums, are stored thereon with computer program, which is located
It manages device and performs the above-mentioned resource switch control method of realization, specific steps are referred to retouching for above method embodiment corresponding portion
It states, this will not be detailed here for the present embodiment.
An embodiment of the present invention provides a kind of processor, which is used to run computer program, wherein, the computer
Upper resource switch control method is performed when program is run, specific steps are referred to retouching for above method embodiment corresponding portion
It states, this will not be detailed here for the present embodiment.
Device embodiment above is mainly the description carried out to the virtual architecture of terminal device, below will be from terminal device
Entity structure come illustrate its hardware form structure.
As shown in fig. 7, for a kind of hardware structure diagram of terminal device provided in an embodiment of the present invention, which can be with
Including:
Communication interface 710;
In embodiments of the present invention, it is different according to the communication mode between input equipment and the terminal device, the communication
The structure of interface is similar different, can be specifically various wireless communication interfaces or wired communication interface, for example input equipment is with being somebody's turn to do
Terminal device is communicated by bluetooth, then, which can be blue tooth interface, and the embodiment of the present invention is to communication interface
Type be not construed as limiting.
Resource player 720;
In practical applications, for different resource, the composition structure of corresponding resource player 720 can not
Together, for example resource is song, and resource player 720 can be music player;Resource is text file, resource player 720
Can be text output software, such as office software, the embodiment of the present invention is to the type and particular hardware of resource player 720
Structure is not construed as limiting.
Memory 730, for storing the program for realizing resource switch control method as described above;
In embodiments of the present invention, which can also store the letters such as various resources and resource output record
Breath.
Processor 740, for loading and performing described program, including:
Resource switch instruction is received, obtains the current state information of terminal device, the resource switch instructs to refer to
Show that the terminal device exports the corresponding resource of next resource identification;
It determines that the current state information meets resource selection pattern trigger condition, the terminal device is controlled to enter resource
Selection mode is sequentially output at least one resource identification;
The selection instruction for any one resource identification is received, controls the resource player output respective resources mark
Know corresponding resource.
Optionally, the program for realizing following steps can also be performed in processor 740:
It determines that the current state information does not meet resource selection pattern trigger condition, responds the resource switch instruction,
Export the corresponding resource of next resource identification.
Optionally, if current state information includes current count value, the current count value shows to the terminal device
The continuous switching control number of resource is exported, the program for realizing following steps can also be performed in processor 740:
Determine that current count value reaches predetermined threshold value;
After the terminal device is controlled to enter resource selection pattern, the current count value is reset.
Optionally, the program for realizing following steps can also be performed in processor 740:
It determines that the terminal device continuously exports same resource in preset time period, controls the current count value clear
Zero.
Resource switch instruction is received in the preset time period the output time since Current resource.
Optionally, the program for realizing following steps can also be performed in processor 740:
In the case where determining that the current state information meets resource selection pattern trigger condition, output voice prompt letter
Breath, the information of voice prompt are used to indicate whether the terminal device enters resource selection pattern;
Mode entry instruction is received, the control terminal device is performed and enters resource selection mode step.
In conclusion when user wishes to search a certain resource output, terminal device provided in an embodiment of the present invention can
Based on the operational order received, into resource selection pattern, so as to which user be facilitated fast and accurately to find expectation resource, and
It avoids opposite terminal device and frequently enters resource switch instruction, substantially increase the efficiency and facility for searching resource switch
Property.
It should be understood by those skilled in the art that, embodiments herein can be provided as method, apparatus, server cluster.
Therefore, complete hardware embodiment, complete software embodiment or the embodiment in terms of combining software and hardware can be used in the application
Form.It is deposited moreover, the application can be used to can be used in one or more computers for wherein including computer usable program code
The shape of computer program product that storage media is implemented on (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.)
Formula.
The application is with reference to the flow according to the method for the embodiment of the present application, equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
The processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices is generated for real
The device of function specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction generation being stored in the computer-readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps are performed on calculation machine or other programmable devices to generate computer implemented processing, so as in computer or
The instruction offer performed on other programmable devices is used to implement in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
It should also be noted that, about in the various embodiments described above, such as first, second or the like relational terms are only used
One operation, unit or module and another operation, unit or module are distinguished, without necessarily requiring or implying this
It is a little that there are any actual relationship or orders between unit, operation or module.Moreover, term " comprising ", "comprising" or
Any other variant thereof is intended to cover non-exclusive inclusion by person so that process, method including a series of elements or
System not only include those elements, but also including other elements that are not explicitly listed or further include for this process,
Method or the intrinsic element of system.In the absence of more restrictions, it is wanted by what sentence "including a ..." limited
Element, it is not excluded that also there are other identical elements in the process including the element, method or system.
Each embodiment is described by the way of progressive in this specification, the highlights of each of the examples are with other
The difference of embodiment, just to refer each other for identical similar portion between each embodiment.For device disclosed in embodiment
For terminal device, due to its with embodiment disclosed in method it is corresponding, so description is fairly simple, related part is referring to side
Method part illustrates.
The foregoing description of the disclosed embodiments enables professional and technical personnel in the field to realize or use the present invention.
A variety of modifications of these embodiments will be apparent for those skilled in the art, it is as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and the principles and novel features disclosed herein phase one
The most wide range caused.
Claims (10)
1. a kind of resource switch control method, which is characterized in that the method includes:
Resource switch instruction is received, obtains the current state information of terminal device, the resource switch instruction is used to indicate institute
It states terminal device and exports the corresponding resource of next resource identification;
It determines that the current state information meets resource selection pattern trigger condition, the terminal device is controlled to enter resource selection
Pattern is sequentially output at least one resource identification;
The selection instruction for any one resource identification is received, the output phase answers the corresponding resource of resource identification.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
It determines that the current state information does not meet resource selection pattern trigger condition, responds the resource switch instruction, output
The corresponding resource of next resource identification.
3. according to the method described in claim 1, it is characterized in that, the current state information include current count value, it is described
Current count value shows the continuous switching control number to terminal device output resource, described to determine the current state letter
Breath meets resource selection pattern trigger condition and includes:
Determine that current count value reaches predetermined threshold value;
After the terminal device is controlled to enter resource selection pattern, the method further includes:
The current count value is reset.
4. according to the method described in claim 3, it is characterized in that, the method further includes:
It determines that the terminal device continuously exports same resource in preset time period, the current count value is controlled to reset.
5. according to the method described in claim 3, it is characterized in that, it is described receive resource switch instruction include:
Resource switch instruction is received in the preset time period the output time since Current resource.
6. according to the method described in claim 1-5 any one, which is characterized in that determining the current state information satisfaction
In the case of resource selection pattern trigger condition, the method further includes:
Information of voice prompt is exported, the information of voice prompt is used to indicate whether the terminal device enters resource selection mould
Formula;
Mode entry instruction is received, the control terminal device is performed and enters resource selection mode step.
7. a kind of resource switch control device, which is characterized in that described device includes:
Command reception module for receiving resource switch instruction, obtains the current state information of terminal device, and the resource is cut
It changes instruction and is used to indicate the corresponding resource of the next resource identification of the terminal device output;
Mode control module for determining that the current state information meets resource selection pattern trigger condition, controls the end
End equipment enters resource selection pattern, is sequentially output at least one resource identification;
Resource output module, for receiving the selection instruction for being directed to any one resource identification, the output phase answers resource identification pair
The resource answered.
8. device according to claim 7, which is characterized in that described device further includes:
Respond module is instructed, for determining that the current state information does not meet resource selection pattern trigger condition, described in response
Resource switch instructs, and exports the corresponding resource of next resource identification.
9. device according to claim 7, which is characterized in that the current state information includes current count value, described
Current count value shows the continuous switching control number to terminal device output resource, and the mode control module includes:
First determination unit, for determining that current count value reaches predetermined threshold value;
Described device further includes:
Dump block, for after the terminal device is controlled to enter resource selection pattern, the current count value to be reset.
10. a kind of terminal device, which is characterized in that the terminal device includes:
Communication interface;
Resource player;
Memory, for storing the program for realizing the resource switch control method as described in claim 1-5 any one;
Processor, for loading and performing described program, including:
Resource switch instruction is received, obtains the current state information of terminal device, the resource switch instruction is used to indicate institute
It states terminal device and exports the corresponding resource of next resource identification;
It determines that the current state information meets resource selection pattern trigger condition, the terminal device is controlled to enter resource selection
Pattern is sequentially output at least one resource identification;
The selection instruction for any one resource identification is received, the resource player the output phase is controlled to answer resource identification pair
The resource answered.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810001179.0A CN108234768B (en) | 2018-01-02 | 2018-01-02 | Resource switching control method and device and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810001179.0A CN108234768B (en) | 2018-01-02 | 2018-01-02 | Resource switching control method and device and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108234768A true CN108234768A (en) | 2018-06-29 |
CN108234768B CN108234768B (en) | 2021-02-19 |
Family
ID=62642480
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810001179.0A Active CN108234768B (en) | 2018-01-02 | 2018-01-02 | Resource switching control method and device and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108234768B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110365852A (en) * | 2019-08-13 | 2019-10-22 | 上饶市中科院云计算中心大数据研究院 | A kind of method and apparatus of voice guide recording |
CN113822777A (en) * | 2021-11-22 | 2021-12-21 | 华中师范大学 | Virtual teaching resource aggregation system based on 5G cloud rendering and working method thereof |
CN114090148A (en) * | 2021-11-01 | 2022-02-25 | 深圳Tcl新技术有限公司 | Information synchronization method and device, electronic equipment and computer readable storage medium |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103546800A (en) * | 2012-07-09 | 2014-01-29 | 纬创资通股份有限公司 | Channel information prompting method and system |
CN203422925U (en) * | 2013-02-27 | 2014-02-05 | 深圳好未来智能科技有限公司 | Voice control vehicle music playing system |
CN103826015A (en) * | 2014-03-19 | 2014-05-28 | 广东欧珀移动通信有限公司 | Method for switching songs through double MICs and mobile terminal |
US8861541B1 (en) * | 2006-11-27 | 2014-10-14 | Marvell International Ltd. | Methods and apparatus for scanning transmission channels |
CN104598229A (en) * | 2015-01-06 | 2015-05-06 | 深圳市金立通信设备有限公司 | Terminal |
CN105404415A (en) * | 2015-10-19 | 2016-03-16 | 惠州Tcl移动通信有限公司 | Mobile terminal and control method of mobile terminal |
CN105632522A (en) * | 2015-12-26 | 2016-06-01 | 北海鸿旺电子科技有限公司 | Music automatic switching method and electronic equipment |
CN106506798A (en) * | 2016-09-14 | 2017-03-15 | 努比亚技术有限公司 | A kind of information output method and mobile terminal |
CN106658122A (en) * | 2016-09-14 | 2017-05-10 | 腾讯科技(深圳)有限公司 | Television control method and device |
CN106657629A (en) * | 2016-12-08 | 2017-05-10 | 惠州Tcl移动通信有限公司 | Method and system for collecting song through headset answer key |
US20170186299A1 (en) * | 2015-11-30 | 2017-06-29 | International Business Machines Corporation | Transition to Accessibility Mode |
CN107146608A (en) * | 2017-04-10 | 2017-09-08 | 北京猎户星空科技有限公司 | A kind of control method for playing back, device and smart machine |
US20170344505A1 (en) * | 2016-05-25 | 2017-11-30 | Realtek Semiconductor Corporation | Data Processing Circuit and Data Processing Method |
CN107484058A (en) * | 2017-09-26 | 2017-12-15 | 联想(北京)有限公司 | Headphone device and control method |
-
2018
- 2018-01-02 CN CN201810001179.0A patent/CN108234768B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8861541B1 (en) * | 2006-11-27 | 2014-10-14 | Marvell International Ltd. | Methods and apparatus for scanning transmission channels |
CN103546800A (en) * | 2012-07-09 | 2014-01-29 | 纬创资通股份有限公司 | Channel information prompting method and system |
CN203422925U (en) * | 2013-02-27 | 2014-02-05 | 深圳好未来智能科技有限公司 | Voice control vehicle music playing system |
CN103826015A (en) * | 2014-03-19 | 2014-05-28 | 广东欧珀移动通信有限公司 | Method for switching songs through double MICs and mobile terminal |
CN104598229A (en) * | 2015-01-06 | 2015-05-06 | 深圳市金立通信设备有限公司 | Terminal |
CN105404415A (en) * | 2015-10-19 | 2016-03-16 | 惠州Tcl移动通信有限公司 | Mobile terminal and control method of mobile terminal |
US20170186299A1 (en) * | 2015-11-30 | 2017-06-29 | International Business Machines Corporation | Transition to Accessibility Mode |
CN105632522A (en) * | 2015-12-26 | 2016-06-01 | 北海鸿旺电子科技有限公司 | Music automatic switching method and electronic equipment |
US20170344505A1 (en) * | 2016-05-25 | 2017-11-30 | Realtek Semiconductor Corporation | Data Processing Circuit and Data Processing Method |
CN106658122A (en) * | 2016-09-14 | 2017-05-10 | 腾讯科技(深圳)有限公司 | Television control method and device |
CN106506798A (en) * | 2016-09-14 | 2017-03-15 | 努比亚技术有限公司 | A kind of information output method and mobile terminal |
CN106657629A (en) * | 2016-12-08 | 2017-05-10 | 惠州Tcl移动通信有限公司 | Method and system for collecting song through headset answer key |
CN107146608A (en) * | 2017-04-10 | 2017-09-08 | 北京猎户星空科技有限公司 | A kind of control method for playing back, device and smart machine |
CN107484058A (en) * | 2017-09-26 | 2017-12-15 | 联想(北京)有限公司 | Headphone device and control method |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110365852A (en) * | 2019-08-13 | 2019-10-22 | 上饶市中科院云计算中心大数据研究院 | A kind of method and apparatus of voice guide recording |
CN114090148A (en) * | 2021-11-01 | 2022-02-25 | 深圳Tcl新技术有限公司 | Information synchronization method and device, electronic equipment and computer readable storage medium |
CN113822777A (en) * | 2021-11-22 | 2021-12-21 | 华中师范大学 | Virtual teaching resource aggregation system based on 5G cloud rendering and working method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN108234768B (en) | 2021-02-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111050203B (en) | Video processing method and device, video processing equipment and storage medium | |
CN106027809B (en) | A kind of adjusting method and mobile terminal of volume | |
CN104575539B (en) | A kind of music control method and device | |
CN104571498B (en) | A kind of application program launching method | |
CN101952812B (en) | Operation supporting device and method for supporting operation | |
CN108234768A (en) | Resource switch control method, device and terminal device | |
US20190333513A1 (en) | Voice interaction method, device and computer readable storage medium | |
CN104934048A (en) | Sound effect regulation method and device | |
CN101155363A (en) | Method and apparatus for implementing mobile phone control by action induction | |
CN106168958B (en) | A kind of the recommendation method and server of audio-frequency information | |
CN105703805B (en) | Bluetooth module control method, device and the audio-video frequency playing system of playback equipment | |
CN110287473A (en) | Electrical form edit methods and device | |
CN107315583A (en) | Application control method and device, computer installation and storage medium | |
CN104835516A (en) | Music playing method and apparatus, and intelligent terminal | |
CN107995105A (en) | A kind of intelligent terminal with blind operation software | |
CN104898821A (en) | Information processing method and electronic equipment | |
CN109089169A (en) | A kind of live streaming method for switching between, device and storage medium | |
CN103955490A (en) | Audio playing method and audio playing equipment | |
CN110096249A (en) | Methods, devices and systems for prompting fast to wake up word | |
CN109862430A (en) | Multi-medium play method and terminal device | |
CN106201228B (en) | A kind of layout method and device of status bar | |
CN106255135A (en) | A kind of network type determines method and terminal | |
CN104426915B (en) | Realize method, server and system that Online Music segmentation is downloaded | |
CN105812904B (en) | The bluetooth module control method and audio-video frequency playing system of playback equipment | |
CN109542320B (en) | Display method, terminal and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |