CN104049864B - object control method and device - Google Patents
object control method and device Download PDFInfo
- Publication number
- CN104049864B CN104049864B CN201410273245.1A CN201410273245A CN104049864B CN 104049864 B CN104049864 B CN 104049864B CN 201410273245 A CN201410273245 A CN 201410273245A CN 104049864 B CN104049864 B CN 104049864B
- Authority
- CN
- China
- Prior art keywords
- operation control
- batch operation
- batch
- objects
- triggered
- 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 51
- 230000001960 triggered effect Effects 0.000 claims abstract description 72
- 238000001514 detection method Methods 0.000 claims abstract description 27
- 230000006870 function Effects 0.000 claims description 33
- 230000003213 activating effect Effects 0.000 claims description 8
- 230000004913 activation Effects 0.000 claims description 8
- 238000010200 validation analysis Methods 0.000 claims description 7
- 238000011017 operating method Methods 0.000 abstract 1
- 238000004891 communication Methods 0.000 description 10
- 238000010586 diagram Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 8
- 230000003287 optical effect Effects 0.000 description 4
- 238000003825 pressing Methods 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000001133 acceleration Effects 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000007306 functionalization reaction Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
The disclosure is directed to a kind of object control method and device, this method includes:Whether detection batch operation control is triggered;If the batch operation control is triggered, it is determined that two references object corresponding with the batch operation control;By the state of the object existed between described two references object and described two references object be all set to selection state when using this method to a large amount of objects are handled in terminal when, operating procedure simply, conveniently, and then rapidly can carry out batch processing to object.
Description
Technical Field
The present disclosure relates to the field of mobile terminal technologies, and in particular, to an object control method and apparatus.
Background
All install input device on current computer, for example: the user can use the mouse alone to select the files on the computer, or use the mouse and the keyboard simultaneously to select the files on the computer.
However, on a mobile terminal such as a mobile phone or a tablet computer, there is usually only a touch screen or a keyboard of the mobile phone, but no other external keyboard or mouse, so that when a user selects a file on the mobile terminal, the operation is difficult, and especially when a plurality of files need to be selected, a preset selection operation needs to be performed on each file, which is cumbersome and very inconvenient.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides an object control method and apparatus.
According to a first aspect of embodiments of the present disclosure, there is provided an object control method, including:
detecting whether the batch operation control is triggered;
if the batch operation control is triggered, determining two reference objects corresponding to the batch operation control;
setting all of the states of the two reference objects and the object existing between the two reference objects as a selection state.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the method further includes:
detecting whether the current operation meets the effective condition of the batch operation control;
and if the current operation meets the effective condition of the batch operation control, activating the batch operation control.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the detecting whether the current operation meets the effective condition of the batch operation control includes:
detecting whether the current operation is an object selection operation;
if the current operation is the object selection operation, judging whether the objects selected by the object selection operation are continuous;
and if the object selected by the object selection operation is continuous, determining that the current operation meets the effective condition of the batch operation control.
With reference to the first possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the detecting whether the current operation meets the effective condition of the batch operation control includes:
detecting whether the current operation is an object selection operation;
if the current operation is the object selection operation, judging whether the objects selected by the object selection operation are continuous;
if the objects selected by the object selection operation are continuous, judging whether the number of the continuous objects exceeds a preset number;
and if the number of the continuous objects exceeds the preset number, determining that the current operation meets the effective condition of the batch operation control.
With reference to the first possible implementation manner of the first aspect, in a fourth possible implementation manner of the first aspect, the activating the batch operation control includes:
displaying a virtual button corresponding to the batch operation control on a current operation interface;
or,
and switching the function of the preset physical key from the original function to the function corresponding to the batch operation control.
With reference to the first aspect or the fourth possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the method further includes:
and when the states of the two reference objects and the object between the two reference objects are all set to be the selection state, setting the state of the batch operation control to be the non-trigger state.
With reference to the first aspect or the fourth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the method further includes:
when the two reference objects and the object states between the two reference objects are all set to be the selection states, detecting whether the batch operation control is triggered again;
and if the batch operation control is triggered again, setting the state of the batch operation control to be an un-triggered state.
With reference to the first aspect, in a seventh possible implementation manner of the first aspect, the determining two reference objects corresponding to the batch operation control includes:
after the batch operation control is triggered, respectively acquiring selection operations of a first reference object and a second reference object; determining the first reference object and the second reference object as two reference objects corresponding to the batch operation control;
or,
acquiring a selection operation of a first reference object before the batch operation control is triggered; after the batch operation control is triggered, acquiring selection operation of a second reference object; and determining the first reference object and the second reference object as two reference objects corresponding to the batch operation control.
According to a second aspect of the embodiments of the present disclosure, there is provided an object control apparatus including:
the trigger detection unit is used for detecting whether the batch operation control is triggered or not;
a reference object determining unit, configured to determine two reference objects corresponding to the batch operation control when the batch operation control is triggered;
and an object state setting unit configured to set all states of the two reference objects and the object existing between the two reference objects as a selection state.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the apparatus further includes:
the condition detection unit is used for detecting whether the current operation meets the effective condition of the batch operation controls;
and the activation unit is used for activating the batch operation control when the current operation meets the effective condition of the batch operation control.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the condition detecting unit includes:
a first operation detection subunit, configured to detect whether a current operation is an object selection operation;
a first object judgment subunit, configured to, when the current operation is an object selection operation, judge whether objects selected by the object selection operation are consecutive;
and the first condition determining subunit is used for determining that the current operation meets the effective condition of the batch operation control when the object selected by the object selection operation is continuous.
With reference to the first possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the condition detecting unit includes:
a second operation detection subunit, configured to detect whether the current operation is an object selection operation;
a second object judgment subunit, configured to, when the current operation is an object selection operation, judge whether objects selected by the object selection operation are consecutive;
a number judgment subunit, configured to, when the objects selected by the object selection operation are consecutive, judge whether the number of consecutive objects exceeds a preset number;
and the second condition determining subunit is used for determining that the current operation meets the effective condition of the batch operation control when the number of the continuous objects exceeds the preset number.
With reference to the first possible implementation manner of the second aspect, in a fourth possible implementation manner of the second aspect, the activating unit includes:
the display subunit is used for displaying the virtual buttons corresponding to the batch operation controls on the current operation interface;
or,
and the function switching subunit is used for switching the function of the preset physical key from the original function to the function corresponding to the batch operation control.
With reference to the second aspect or the fourth possible implementation manner of the second aspect, in a fifth possible implementation manner of the second aspect, the apparatus further includes:
and the trigger state setting unit is used for setting the state of the batch operation control to be in an un-triggered state when the states of the two reference objects and the object between the two reference objects are all set to be in a selected state.
With reference to the second aspect or the fourth possible implementation manner of the second aspect, in a sixth possible implementation manner of the second aspect, the trigger detecting unit is further configured to detect whether the batch operation control is triggered again after the two reference objects and the object states between the two reference objects are all set to the selection states;
the device further comprises:
and the trigger state setting unit is used for setting the state of the batch operation control to be in an unfired state when the batch operation control is triggered again.
With reference to the second aspect, in a seventh possible implementation manner of the second aspect, the reference object determining unit includes:
the first selection operation acquisition subunit is configured to acquire selection operations on the first reference object and the second reference object respectively after the batch operation control is triggered; a first reference object determining subunit, configured to determine the first reference object and the second reference object as two reference objects corresponding to the batch operation control;
or,
the second selection operation acquisition subunit is used for acquiring the selection operation of the first reference object before the batch operation control is triggered; the third selection operation acquisition subunit acquires the selection operation of the second reference object after the batch operation control is triggered; and the second reference object determining subunit is configured to determine the first reference object and the second reference object as two reference objects corresponding to the batch operation control.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting whether the batch operation control is triggered;
if the batch operation control is triggered, determining two reference objects corresponding to the batch operation control;
setting all of the states of the two reference objects and the object existing between the two reference objects as a selection state.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the object control method provided by the embodiment of the disclosure, by triggering the batch operation control, two reference objects corresponding to the batch operation control and all objects between the two reference objects can be selected. Therefore, when a large number of objects are processed by the method, the operation steps are simple and convenient, and the objects can be processed in batches quickly.
Compared with the related technology, the method can freely select some objects in a large number of objects, so that the batch processing mode is more flexible and changeable, more diversified operation options are provided for users, and the operation performance of the terminal is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a flow chart illustrating a method of object control according to an exemplary embodiment.
Fig. 2 is a schematic diagram of a terminal display according to an example embodiment.
Fig. 3 is a schematic diagram of a terminal display according to another exemplary embodiment.
Fig. 4 is a flowchart illustrating an object control method according to another exemplary embodiment.
Fig. 5 is a schematic diagram of a terminal display according to yet another exemplary embodiment.
Fig. 6 is a flowchart illustrating an object control method according to still another exemplary embodiment.
Fig. 7 is a schematic diagram of a terminal display according to yet another exemplary embodiment.
FIG. 8 is a block diagram illustrating an object control device according to an exemplary embodiment.
Fig. 9 is a block diagram illustrating an object control apparatus according to another exemplary embodiment.
Fig. 10 is a block diagram illustrating a terminal according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating an object control method according to an exemplary embodiment, which is used in a terminal, as shown in fig. 1, and includes the following steps.
In step S101, it is detected whether the batch operation control is triggered.
In the embodiment of the disclosure, a batch operation control can be set on the terminal, so that a user can conveniently perform batch operation. The batch operation control can adopt the existing setting mode, and the batch operation control can have various types, such as: and operating a virtual button on the interface, or multiplexing the virtual button with a certain preset physical button, such as a volume button or a photographing button and the like.
In an embodiment of the present disclosure, when the batch operation control is a virtual button on the operation interface, in this step, it may be determined that the batch operation control is triggered when the virtual button is clicked by detecting whether the virtual button is clicked. In another embodiment of the present disclosure, when the batch operation control is a preset physical key with multiplexed functions, in this step, it may be determined that the batch operation control is triggered by detecting whether the preset physical key is clicked, and when the preset physical key is pressed.
If the batch operation control is triggered, in step S102, two reference objects corresponding to the batch operation control are determined. Otherwise, the flow ends.
As shown in fig. 2, the diagram includes: terminal 1, interface 2 and a plurality of objects 3, and in the embodiment of the present disclosure, the batch operation control is set in interface 2 in the form of a virtual button, for example: the "batch processing" button in fig. 2.
In one embodiment of the present disclosure, the step S102 may include:
11) and after the batch operation control is triggered, respectively acquiring selection operations of the first reference object and the second reference object.
12) And determining the first reference object and the second reference object as two reference objects corresponding to the batch operation control.
Taking fig. 2 as an example, in an editing interface of a mobile phone album, a user may click "batch processing" first to trigger a batch operation control, and then select two reference objects in the interface, taking fig. 2 as an example, a first reference object may be an object E, a second reference object may be an object K, and as shown in fig. 2, the selected objects are marked with a √.
In the above embodiment, the operation mode of the user is to trigger the batch operation control first, and then select the reference object, in other embodiments of the present disclosure, the step S102 may further include:
21) and acquiring the selection operation of the first reference object before the batch operation control is triggered.
22) Acquiring selection operation of a second reference object after the batch operation control is triggered;
23) and determining the first reference object and the second reference object as two reference objects corresponding to the batch operation control.
It can be seen that, in the embodiment of the present disclosure, the operation sequence of the user is changed, specifically, before the batch operation is triggered, one reference object is selected first, then the batch operation control is triggered, and after the batch operation control is triggered, another reference object is selected.
In addition, in other embodiments of the present disclosure, the user may also select two reference objects first, and then trigger the batch operation control, in which case, the two selected reference objects both correspond to the batch operation control.
In step S103, the states of the two reference objects and the object existing between the two reference objects are all set as the selected state.
In the embodiment of the present disclosure, when selecting an object located between two reference objects, an object whose number is located between the object E and the object K may be selected based on the number of the object, and in other embodiments of the present disclosure, an object located between the object E and the object K may also be selected based on a storage location, a storage address, and the like.
After it is determined in fig. 2 that the two reference objects corresponding to the batch operation are the object E and the object K, respectively, in this step, referring to fig. 3, the object E and the object K, and all objects located between the object E and the object K may be selected, thereby completing the batch processing operation on the objects between the object E and the object K.
According to the object control method provided by the embodiment of the disclosure, by triggering the batch operation control, two reference objects corresponding to the batch operation control and all objects between the two reference objects can be selected. Therefore, when a large number of objects are processed by the method, the operation steps are simple and convenient, and the objects can be processed in batches quickly.
Compared with the related technology, the method can freely select some objects in a large number of objects, so that the batch processing mode is more flexible and changeable, more diversified operation options are provided for users, and the operation performance of the terminal is improved.
When the method is used in scenes such as photo albums or music players in mobile phones, as shown in fig. 2 and 3, a user performs batch processing on a large number of photos or music in an interface, and the operation is simple and rapid.
In the above embodiment, the "batch processing" virtual button in fig. 2 may be directly displayed on the interface 2 of the terminal 1 as a batch operation control, but it is considered that a user may not need to perform batch operation each time the user enters the editing interface, but only selects a plurality of objects, at this time, if the batch operation control is displayed each time the user enters the editing interface, the buttons displayed in the interface are too many, which may affect the aesthetic appearance of the interface on one hand, and may cause a problem that the user presses a wrong button on the other hand, for example, the user in fig. 2 may press a wrong button between the two buttons of "batch operation" and "completion".
For this reason, in another embodiment of the present disclosure, there is also provided an object control method, as shown in fig. 4, for use in a terminal, including the following steps.
In step S201, it is detected whether the current operation satisfies the validation condition of the batch operation control.
The validation conditions of the batch operation control can be preset and stored in the terminal, and the pre-stored validation conditions can be directly obtained from the terminal in the step.
The validation condition means that the batch operation control has the possibility of being triggered, namely when the validation condition is not met, the batch operation control cannot be triggered. In practical application, the effective conditions for operating the controls in batches can be freely defined according to the use habits, and of course, the same effective conditions can be uniformly customized in the terminal by the manufacturer of the terminal.
In this embodiment of the present disclosure, taking an example that a user continuously selects an object as an effective condition of a batch operation control, the step S201 may include:
31) and detecting whether the current operation is an object selection operation.
The current operation refers to an operation by the user before the batch processing is performed. In the embodiment of the present disclosure, taking fig. 2 as an example, the current operation may be a selection operation on another object before the user selects the object E and the object K.
32) And if the current operation is the object selection operation, judging whether the objects selected by the object selection operation are continuous.
Whether the objects are continuous or not can mean that the file numbers of the objects are continuous, and in other embodiments of the present disclosure, the basis for judging whether the objects are continuous or not can also be the position numbers, storage addresses or storage addresses, and the like, of the objects in the display interface.
Taking fig. 5 as an example, the current operation of the user may be a selection operation on an object a, an object B, and an object C.
33) And if the object selected by the object selection operation is continuous, determining that the current operation meets the effective condition of the batch operation control.
In other embodiments of the present disclosure, the validation condition may be that between 32) and 33) a preset number of objects are consecutively selected, and the step S201 may include the following steps:
34) and judging whether the number of the continuous objects exceeds a preset number.
When the number of the continuous objects exceeds the preset number, in step 33), it is determined that the current operation meets the effective condition of the batch operation control.
If the current operation meets the effective condition of the batch operation control, in step S202, the batch operation control is activated. Otherwise, the flow ends.
In the embodiment of the present disclosure, the step S202 may include the following steps:
41) and displaying the virtual buttons corresponding to the batch operation controls on the current operation interface.
That is, the "batch processing" virtual button in FIG. 2 is hidden until the batch operation control is not activated, as shown in FIG. 5, and is only displayed after this step.
In another embodiment of the present disclosure, the step S202 may include the steps of:
42) and switching the function of the preset physical key from the original function to the function corresponding to the batch operation control.
That is, before the batch operation control is not activated, the function of the preset physical key on the terminal is an original function, and after the batch operation control is activated, the function of the preset physical key is switched.
In the embodiment of the disclosure, a program interface can be established between the preset physical key (for example, the keys on the side of the terminal body such as "volume +", "volume-" or "photographing") and a plurality of software programs, so that after the batch operation control is activated, the program of the original functional object of the preset physical key can be switched to the program of the function opposite to the batch operation control through the program interface, so as to realize the multi-functionalization of the preset physical key, and facilitate the operation of batch processing by a user.
After step S202, step S101 in the embodiment shown in fig. 1 is performed.
In the embodiment of the disclosure, the method does not set the batch operation control in advance, but the batch operation control is activated after the analysis and prediction are performed through the current operation of the user. The method can solve the problems of untidy display interface and easy misoperation caused by setting the batch operation control in advance, and also improves the accuracy of batch processing of a plurality of objects by a user, so that the batch processing operation of the user is convenient and simple.
In the embodiment of the method shown in fig. 4, after the states of the two reference objects and the object between the two reference objects are all set to the selection state, the batch operation control may remain in the triggered state, that is, the batch operation control may be maintained for a long time after being triggered once, which is relatively suitable for a situation where a user needs to adjust the batch operation control many times when selecting the object. However, the method is not suitable for the situation that the user triggers the batch operation control once and only performs batch selection once.
For this reason, in another embodiment of the present disclosure, there is also provided an object control method, which may further include the following steps after step S103, as shown in fig. 6, on the basis of the embodiment of the method shown in fig. 1 or fig. 2.
In step S301, it is detected whether the batch operation control is triggered again.
If the batch operation control is triggered again, in step S302, the state of the batch operation control is set to be an un-triggered state.
In an embodiment of the present disclosure, the step S302 may include:
51) and hiding the virtual buttons corresponding to the batch operation controls on the current operation interface.
As shown in FIG. 7, on the basis of FIG. 3, after the batch selection object is completed, in this step, the virtual button for "batch processing" may also be hidden. Referring to the description of the embodiment shown in fig. 4, the "batch processing" virtual button is hidden, so that the problem of misoperation of the virtual button by a user can be avoided.
In another embodiment of the present disclosure, the step S302 may include:
52) and switching the function of the preset physical key from the function corresponding to the batch operation control to the original function corresponding to the preset physical key.
The method has the same reason as the method for hiding the virtual buttons, and can also avoid the problem caused by misoperation of the preset physical buttons by a user because the preset physical buttons are returned to the original function after the objects are selected in batches.
In addition, in other embodiments of the present disclosure, step S302 may also be directly performed after step S103, and then step S301 may be omitted, so that the step operation is simpler and more convenient.
According to the method provided by the embodiment of the disclosure, when a user needs to perform batch operation, the batch operation control can be triggered once, and after the batch operation is completed, the batch operation control is automatically set to be in an un-triggered state, or the batch operation control is set to be in an un-triggered state through a mode of triggering again, so that the user can control the batch operation more simply and conveniently.
In the above embodiments of the method of the present disclosure, the same steps may be used for reference, different steps may be freely combined, and the combined solution still belongs to the protection scope of the present disclosure.
FIG. 8 is a block diagram illustrating an object control device according to an exemplary embodiment. Referring to fig. 8, the apparatus includes a trigger detection unit 11, a reference object determination unit 12, and an object state setting unit 13.
The trigger detection unit 11 is configured to detect whether the batch operation control is triggered.
In this disclosure, the batch operation control may be a virtual key on the interface, or may also be a preset physical key on the terminal, and when the batch operation control is the virtual key on the interface, the trigger detecting unit 11 may include: click operation detection unit and first trigger confirm subunit, wherein:
the clicking operation detection subunit is configured to detect whether a clicking operation on the virtual button is received;
the first trigger determination subunit is configured to determine that the batch operation control is triggered when a click operation on the virtual button is received.
When the batch operation control is a preset physical key on the terminal, the trigger detection unit 11 may include: a pressing operation detection subunit and a second trigger determination subunit, wherein:
the pressing operation detection subunit is configured to detect whether a pressing operation on the preset physical key after function switching is received;
the second trigger determining subunit is configured to determine that the batch operation control is triggered when a pressing operation of the preset physical key after function switching is received.
The reference object determining unit 12 is configured to determine two reference objects corresponding to the batch operation control when the batch operation control is triggered.
The object state setting unit 13 is configured to set all of the states of the two reference objects and the object existing between the two reference objects as the selection state.
The object control device provided by the embodiment of the disclosure can select two reference objects corresponding to the batch operation control and all objects between the two reference objects by triggering the batch operation control. Therefore, when a large number of objects are processed by the device, the operation steps are simple and convenient, and the objects can be processed in batches quickly.
Compared with the prior art, the device can freely select some objects in a large number of objects, so that the batch processing mode is more flexible and changeable, more diversified operation options are provided for users, and the operation performance of the terminal is improved.
In an embodiment of the present disclosure, as shown in fig. 9, the apparatus may further include: a condition acquisition unit 21, a condition detection unit 22, and an activation unit 23.
The condition acquisition unit 21 is configured to acquire an effective condition of the batch operation control. The condition acquisition unit 21 is not an essential component of the apparatus of the present embodiment.
The condition detection unit 22 is configured to detect whether the current operation satisfies an effective condition of the batch operation control.
In one embodiment of the present disclosure, the condition detection unit 22 may include: a first operation detection subunit, a first object judgment subunit, and a first condition determination subunit, wherein:
the first operation detection subunit is configured to detect whether a current operation is an object selection operation;
the first object judgment subunit is configured to judge whether or not the objects selected by the object selection operation are consecutive when the current operation is an object selection operation;
the first condition determining subunit is configured to determine that the current operation satisfies an effective condition of the batch operation control when the object selected by the object selection operation is continuous.
In another embodiment of the present disclosure, the condition detecting unit 22 may include: a second operation detection subunit, a second object judgment subunit, a number judgment subunit, and a second condition determination subunit, wherein:
the second operation detection subunit is configured to detect whether the current operation is an object selection operation;
the second object judgment subunit is configured to judge whether the objects selected by the object selection operation are consecutive when the current operation is the object selection operation;
the number judgment subunit is configured to judge whether the number of consecutive objects exceeds a preset number when the objects selected by the object selection operation are consecutive;
the second condition determination subunit is configured to determine that the current operation satisfies an effective condition of the batch operation control when the number of consecutive objects exceeds a preset number.
The activation unit 23 is configured to activate the batch operation control when the current operation satisfies an effective condition of the batch operation control.
In the embodiment of the present disclosure, the activation unit 23 may include: a display subunit or a function switching subunit, wherein:
the display subunit is configured to display a virtual button corresponding to the batch operation control on a current operation interface;
the function switching subunit is configured to switch the function of the preset physical key from the original function to the function corresponding to the batch operation control.
The trigger detection unit 11 may be connected to the activation unit 23, and the trigger detection unit 11 detects whether the batch operation control is triggered after the activation unit 23 activates the batch operation control.
In the embodiment of the disclosure, the device does not set the batch operation control in advance, but can activate the batch operation control after the analysis and prediction are performed through the current operation of the user. The method can solve the problems of untidy display interface and easy misoperation caused by setting the batch operation control in advance, and also improves the accuracy of batch processing of a plurality of objects by a user, so that the batch processing operation of the user is convenient and simple.
In another embodiment of the present disclosure, the apparatus may further include: and a trigger state setting unit.
The trigger state setting unit is configured to set the state of the batch operation control to an un-triggered state when the states of the two reference objects and the object between the two reference objects are all set to a selected state.
In addition, the aforementioned trigger detection unit 11 may be further configured to detect whether the batch operation control is triggered again after the two reference objects and the object states between the two reference objects are all set to the selection states. In this way, the trigger state setting unit may be further configured to set the state of the batch operation control to an unfired state when the batch operation control is triggered again.
According to the method provided by the embodiment of the disclosure, when a user needs to perform batch operation, the batch operation control can be triggered once, and after the batch operation is completed, the batch operation control is automatically set to be in an un-triggered state, or the batch operation control is set to be in an un-triggered state through a mode of triggering again, so that the user can control the batch operation more simply and conveniently.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 10 is a block diagram illustrating a terminal 800 according to an example embodiment. For example, the terminal 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, and the like.
Referring to fig. 10, terminal 800 can include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the terminal 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operation at the terminal 800. Examples of such data include instructions for any application or method operating on terminal 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of terminal 800. Power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal 800.
The multimedia component 808 includes a screen providing an output interface between the terminal 800 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the terminal 800 is in an operation mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the terminal 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for terminal 800. For example, sensor assembly 814 can detect an open/closed state of terminal 800, the relative positioning of components, such as a display and keypad of terminal 800, sensor assembly 814 can also detect a change in position of terminal 800 or a component of terminal 800, the presence or absence of user contact with terminal 800, orientation or acceleration/deceleration of terminal 800, and a change in temperature of terminal 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communication component 816 is configured to facilitate communications between terminal 800 and other devices in a wired or wireless manner. The terminal 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the terminal 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, instructions in which, when executed by a processor of a terminal, enable the terminal to perform a method of object control, the method comprising:
detecting whether the batch operation control is triggered;
if the batch operation control is triggered, determining two reference objects corresponding to the batch operation control;
setting all of the states of the two reference objects and the object existing between the two reference objects as a selection state.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (13)
1. An object control method, comprising:
detecting whether the current operation is an object selection operation;
if the current operation is the object selection operation, judging whether the objects selected by the object selection operation are continuous;
if the object selected by the object selection operation is continuous, determining that the current operation meets the effective condition of the batch operation control;
if the current operation meets the effective condition of the batch operation control, activating the batch operation control;
detecting whether the batch operation control is triggered;
if the batch operation control is triggered, determining two reference objects corresponding to the batch operation control;
setting all of the states of the two reference objects and the object existing between the two reference objects as a selection state.
2. The method of claim 1, wherein if the object selected by the object selection operation is continuous, before determining that the current operation satisfies the validation condition of the batch operation control, further comprising:
judging whether the number of the objects which are continuous exceeds a preset number or not;
and if the number of the continuous objects exceeds the preset number, determining that the current operation meets the effective condition of the batch operation control.
3. The method of claim 1, wherein the activating the bulk operation control comprises:
displaying a virtual button corresponding to the batch operation control on a current operation interface;
or,
and switching the function of the preset physical key from the original function to the function corresponding to the batch operation control.
4. The method according to claim 1 or 3, characterized in that the method further comprises:
and when the states of the two reference objects and the objects existing between the two reference objects are all set to be the selection states, setting the state of the batch operation control to be an un-triggered state.
5. The method according to claim 1 or 3, characterized in that the method further comprises:
when the states of the two reference objects and the object existing between the two reference objects are all set to be a selection state, detecting whether the batch operation control is triggered again;
and if the batch operation control is triggered again, setting the state of the batch operation control to be an un-triggered state.
6. The method of claim 1, wherein determining two reference objects corresponding to the batch operation control comprises:
after the batch operation control is triggered, respectively acquiring selection operations of a first reference object and a second reference object; determining the first reference object and the second reference object as two reference objects corresponding to the batch operation control;
or,
acquiring a selection operation of a first reference object before the batch operation control is triggered; after the batch operation control is triggered, acquiring selection operation of a second reference object; and determining the first reference object and the second reference object as two reference objects corresponding to the batch operation control.
7. An object control apparatus, characterized by comprising:
the condition detection unit is used for detecting whether the current operation meets the effective condition of the batch operation control, and the condition detection unit comprises:
a first operation detection subunit, configured to detect whether a current operation is an object selection operation;
a first object judgment subunit, configured to, when the current operation is an object selection operation, judge whether objects selected by the object selection operation are consecutive;
a first condition determining subunit, configured to determine that the current operation satisfies an effective condition of the batch operation control when the object selected by the object selection operation is consecutive;
the activation unit is used for activating the batch operation control when the current operation meets the effective condition of the batch operation control;
the trigger detection unit is used for detecting whether the batch operation control is triggered or not;
a reference object determining unit, configured to determine two reference objects corresponding to the batch operation control when the batch operation control is triggered;
and an object state setting unit configured to set all states of the two reference objects and the object existing between the two reference objects as a selection state.
8. The apparatus of claim 7, wherein the condition detecting unit further comprises:
a number judgment subunit, configured to, when the objects selected by the object selection operation are consecutive, judge whether the number of consecutive objects exceeds a preset number;
and the second condition determining subunit is used for determining that the current operation meets the effective condition of the batch operation control when the number of the continuous objects exceeds the preset number.
9. The apparatus of claim 7, wherein the activation unit comprises:
the display subunit is used for displaying the virtual buttons corresponding to the batch operation controls on the current operation interface;
or,
and the function switching subunit is used for switching the function of the preset physical key from the original function to the function corresponding to the batch operation control.
10. The apparatus of claim 7 or 9, further comprising:
and the trigger state setting unit is used for setting the state of the batch operation control to be in an un-triggered state when the states of the two reference objects and the objects existing between the two reference objects are all set to be in a selected state.
11. The apparatus according to claim 7 or 9,
the trigger detection unit is further configured to detect whether the batch operation control is triggered again after the states of the two reference objects and the object existing between the two reference objects are all set to the selection state;
the device further comprises:
and the trigger state setting unit is used for setting the state of the batch operation control to be in an unfired state when the batch operation control is triggered again.
12. The apparatus of claim 7, wherein the reference object determination unit comprises:
the first selection operation acquisition subunit is configured to acquire selection operations on the first reference object and the second reference object respectively after the batch operation control is triggered; a first reference object determining subunit, configured to determine the first reference object and the second reference object as two reference objects corresponding to the batch operation control;
or,
the second selection operation acquisition subunit is used for acquiring the selection operation of the first reference object before the batch operation control is triggered; the third selection operation acquisition subunit acquires the selection operation of the second reference object after the batch operation control is triggered; and the second reference object determining subunit is configured to determine the first reference object and the second reference object as two reference objects corresponding to the batch operation control.
13. A mobile terminal, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
detecting whether the current operation is an object selection operation;
if the current operation is the object selection operation, judging whether the objects selected by the object selection operation are continuous;
if the object selected by the object selection operation is continuous, determining that the current operation meets the effective condition of the batch operation control;
if the current operation meets the effective condition of the batch operation control, activating the batch operation control;
detecting whether the batch operation control is triggered;
if the batch operation control is triggered, determining two reference objects corresponding to the batch operation control;
setting all of the states of the two reference objects and the object existing between the two reference objects as a selection state.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410273245.1A CN104049864B (en) | 2014-06-18 | 2014-06-18 | object control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410273245.1A CN104049864B (en) | 2014-06-18 | 2014-06-18 | object control method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104049864A CN104049864A (en) | 2014-09-17 |
CN104049864B true CN104049864B (en) | 2017-07-14 |
Family
ID=51502811
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410273245.1A Active CN104049864B (en) | 2014-06-18 | 2014-06-18 | object control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104049864B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105005449A (en) * | 2015-08-25 | 2015-10-28 | 南京联创科技集团股份有限公司 | Interactive operation method used for intelligent terminal |
WO2017088102A1 (en) * | 2015-11-23 | 2017-06-01 | 华为技术有限公司 | File selection method for intelligent terminal and intelligent terminal |
CN106484246A (en) * | 2016-10-31 | 2017-03-08 | 维沃移动通信有限公司 | A kind of system of selection of list object and mobile terminal |
CN109923511B (en) * | 2016-11-08 | 2022-06-14 | 华为技术有限公司 | Object processing method and terminal |
CN111714874B (en) * | 2020-06-18 | 2024-02-09 | 网易(杭州)网络有限公司 | Control state switching method and device and electronic equipment |
CN112230814A (en) * | 2020-10-21 | 2021-01-15 | 深圳市艾酷通信软件有限公司 | Information control method and device |
CN115016686A (en) * | 2022-06-17 | 2022-09-06 | 维沃移动通信有限公司 | File selection method, apparatus, electronic device, and readable storage medium |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2002259028A (en) * | 2001-03-02 | 2002-09-13 | Canon Inc | Method for selecting object of object-base encoded multimedia contents, and information processor applying the method |
CN101860615A (en) * | 2009-04-08 | 2010-10-13 | 北京闻言科技有限公司 | Method of quickly regulating mobile phone client program volume |
CN101739204B (en) * | 2009-12-25 | 2013-06-12 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for selecting multiple objects in batches and touch screen terminal |
CN102262507A (en) * | 2011-06-28 | 2011-11-30 | 中兴通讯股份有限公司 | Method and device for realizing object batch selection through multipoint touch-control |
CN102681778A (en) * | 2012-04-25 | 2012-09-19 | 中兴通讯股份有限公司 | Method for performing batch management on desktop icons and digital mobile equipment |
CN102722334B (en) * | 2012-06-06 | 2016-02-24 | 中兴通讯股份有限公司 | The control method of touch screen and device |
CN103064626B (en) * | 2012-12-31 | 2016-06-15 | 中兴通讯股份有限公司 | A kind of touch screen terminal and the method realizing final election function thereof |
-
2014
- 2014-06-18 CN CN201410273245.1A patent/CN104049864B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN104049864A (en) | 2014-09-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2636135C2 (en) | Method and device for switching applications | |
CN104049864B (en) | object control method and device | |
KR101819985B1 (en) | Method, device, program and computer-readable recording medium for controlling application | |
US20170031557A1 (en) | Method and apparatus for adjusting shooting function | |
CN107102772B (en) | Touch control method and device | |
CN106484284B (en) | Method and device for switching single-hand mode | |
CN104317402B (en) | Description information display method and device and electronic equipment | |
CN105487805B (en) | Object operation method and device | |
JP2017535895A (en) | Mobile terminal control method and mobile terminal | |
JP2017510915A (en) | Method and apparatus for switching display modes | |
CN105956486B (en) | Long-range control method and device | |
EP3145164A1 (en) | Method and device for displaying answer extension function | |
CN106201292A (en) | Terminal false-touch prevention method and apparatus | |
CN107992257B (en) | Screen splitting method and device | |
CN107885418B (en) | Terminal, split screen display method and device | |
CN109324846B (en) | Application display method and device and storage medium | |
CN105511777B (en) | Session display method and device on touch display screen | |
CN104216525B (en) | Method and device for mode control of camera application | |
CN105446616A (en) | Screen display control method, apparatus and device | |
JP6276863B2 (en) | Traffic control method and apparatus for mobile router | |
CN106095236A (en) | The method and device of arranging desktop icons | |
US10705729B2 (en) | Touch control method and apparatus for function key, and storage medium | |
CN106325712B (en) | Terminal display control method and device and terminal | |
CN108766427B (en) | Voice control method and device | |
CN106484296A (en) | Mobile terminal prevents processing method, device and the equipment of false touch |
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 |