WO2023045976A1 - Object switching method and apparatus, electronic device, and readable storage medium - Google Patents

Object switching method and apparatus, electronic device, and readable storage medium Download PDF

Info

Publication number
WO2023045976A1
WO2023045976A1 PCT/CN2022/120245 CN2022120245W WO2023045976A1 WO 2023045976 A1 WO2023045976 A1 WO 2023045976A1 CN 2022120245 W CN2022120245 W CN 2022120245W WO 2023045976 A1 WO2023045976 A1 WO 2023045976A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
objects
thumbnail
user
layout
Prior art date
Application number
PCT/CN2022/120245
Other languages
French (fr)
Chinese (zh)
Inventor
简帮喜
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023045976A1 publication Critical patent/WO2023045976A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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
    • G06F3/04842Selection of displayed objects or displayed text elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Definitions

  • the present application belongs to the technical field of communication, and in particular relates to an object switching method, device, electronic equipment and readable storage medium.
  • electronic devices have more and more functions. For example, a user can trigger the electronic device to switch between different interfaces through an input.
  • the desktop of the electronic device includes interface 1 , interface 2 , interface 3 and interface 4 arranged in sequence, and the interface currently displayed by the electronic device is interface 1 . If the user needs to view the interface 4, the user needs to slide the screen of the electronic device to the left three times to trigger the electronic device to switch to the interface 4 step by step.
  • the purpose of the embodiment of the present application is to provide an object switching method, device, electronic device and readable storage medium, which can solve the problem that the process of switching objects by the electronic device is relatively cumbersome.
  • the embodiment of the present application provides an object switching method, the method includes: displaying a first object, the first object is an object among M objects; receiving a first input from a user; in response to the first input, according to The target information and the input parameters of the first input are used to display the second object among the M objects, and the target information is used to indicate the target layout among the M objects; wherein, the target layout is set by a user trigger, and M is an integer greater than 1 .
  • the embodiment of the present application provides an object switching device, the device includes a display module and a receiving module; the display module is used to display the first object, the first object is an object among M objects, and the receiving module uses for receiving the first input from the user; the display module is also used for displaying the second object among the M objects according to the target information and the input parameters of the first input in response to the first input received by the receiving module, and the target information is used to indicate A target layout among M objects; wherein, the target layout is set by a user trigger, and M is an integer greater than 1.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is executed by the processor When realizing the steps of the method as in the first aspect.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method in the first aspect are implemented.
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method in the first aspect.
  • the first object may be displayed, the first object is an object among the M objects, and the user's first input is received; and in response to the first input, according to the target information and the input parameters of the first input , to display the second object among the M objects, and the target information is used to indicate the target layout among the M objects; wherein, the target layout is set by a user trigger, and M is an integer greater than 1.
  • the layout among multiple objects (such as M objects) is set by the user triggering the electronic device
  • the electronic device displays an object (such as the first object) among the multiple objects
  • another object such as the second object
  • the user can trigger the electronic device to directly display the layout according to the layout among the multiple objects set by the user and the input parameters through an input.
  • This other object does not require the user to perform a series of operations to trigger the electronic device to switch to the object that the user needs to view, as in the traditional technology, thus simplifying the process of switching objects by the electronic device.
  • FIG. 1 is a schematic diagram of an object switching method provided in an embodiment of the present application.
  • FIG. 2 is one of the interface schematic diagrams of the application of the object switching method provided by the embodiment of the present application
  • FIG. 3 is the second schematic diagram of the interface of the application of the object switching method provided by the embodiment of the present application.
  • Fig. 4 is the third schematic diagram of the application interface of the object switching method provided by the embodiment of the present application.
  • FIG. 5 is a schematic diagram of an object switching device provided by an embodiment of the present application.
  • FIG. 6 is a schematic diagram of an electronic device provided in an embodiment of the present application.
  • FIG. 7 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
  • the object switching method provided in the embodiment of the present application may be applied to a scenario where a user triggers an electronic device to switch objects such as interfaces and pictures.
  • the desktop of the electronic device includes interface A, interface B, interface C and interface D, and the electronic device currently displays interface A (for example, the first object in the embodiment of the application ), because the layout among interface A, interface B, interface C and interface D (such as the target layout in the embodiment of the application) can be set by the user to trigger the electronic device, so when the user needs to view interface D (such as the implementation of the application the second object in the example), the user can trigger the electronic device through an input (such as the first input in the embodiment of the present application) to trigger the electronic device according to the layout between the interfaces in the desktop (such as the target information indicated in the embodiment of the application target layout) and the direction of the input (for example, the input parameters of the first input in the embodiment of the present application) directly display the interface D, so that the user can view the content in the interface D conveniently.
  • the electronic device can display the object that the user needs to view through one input of the user,
  • an embodiment of the present application provides an object switching method, and the method may include the following steps 100 to 102 .
  • an electronic device is used as an example to illustrate the method.
  • Step 100 the electronic device displays a first object.
  • the first object may be an object in the M objects.
  • the object types of the above M objects are the same.
  • the object type of the object includes: picture type, interface type.
  • the object type of the above M objects is an interface type, that is, each of the M objects is an interface; or, the object type of the above M objects is an image type, that is, each of the M objects The object is a picture.
  • the object type of the M objects when the object type of the M objects is an interface type, the above M objects may be interfaces in the same application program (such as a desktop application program), or may be interfaces in different application programs (for example, interfaces in different application programs running in the background/recently used), the details may be determined according to actual usage requirements, and are not limited in this embodiment of the present application.
  • the object type of the M objects when the object type of the M objects is a picture type, the above M objects may be M pictures in a gallery application program.
  • Step 101 the electronic device receives a first input from a user.
  • the above-mentioned first input may be the user's input on the first object, or the user's input on the abbreviated object used to indicate the second object, which may be based on actual usage requirements Alternatively, the embodiment of this application is not limited.
  • the above-mentioned first input may be the user's input on the first object; or, in another possible implementation manner, the first input may include the user's An input on an abbreviated object indicating one of M objects (for example, a second object described below).
  • the first input may be input in any possible form such as hovering input, touch input, or voice input, which may be determined according to actual usage requirements, and is not limited in this embodiment of the present application.
  • the first input may be any possible touch input such as a sliding input, a heavy press input, or a specific gesture input.
  • Step 102 In response to the first input, the electronic device displays the second object among the M objects according to the target information and the input parameters of the first input.
  • the target information may be used to indicate the target layout among the M objects, the target layout may be triggered and set by the user, and M is an integer greater than 1.
  • the second object may be an object adjacent to the first object among the M objects (that is, adjacent to the first object and located above, below, and to the left of the first object or the object on the right side), or (2) the second object can be an object that is not adjacent to the first object among the M objects (that is, on the top, bottom, left, right and diagonal of the first object (3) the second object can be an object located on the diagonal of the first object among the M objects (that is, located on the diagonal of the first object and the distance from the first object nearest object).
  • the display area of one of the M objects is adjacent to the display area of the first object, it means that the object is adjacent to the first object object; if the display area of one of the M objects is not adjacent to the display area of the first object, it means that the object is not adjacent to the first object; if the display area of one of the M objects is If the area is located on the diagonal of the display area of the first object and is the display area closest to the display area of the first object, it means that the object is an object located on the diagonal of the first object.
  • the second object in the above (1) and (3), may be a common object, and in the above (2), the second object may specifically be an independent object or a hidden object.
  • the privacy level of ordinary objects is lower, and the privacy level of independent objects and hidden objects is higher; the higher the privacy level of an object, the higher the privacy requirement of the object.
  • an object is an independent object or a hidden object, it means that the object includes the user's private information.
  • the privacy level of the object can be set by the user, or can be set by the system.
  • the input parameters of the first input may include any of the following: input object of the first input, input track of the first input, input direction of the first input, track shape of the first input .
  • the second objects displayed by the electronic device are also different.
  • the first input may be the user's input on the first object
  • the above step 102 can be specifically implemented through the following step 102a; in the above In (2), that is, the second object is an object that is not adjacent to the first object in the M objects, and the above-mentioned step 102 can be realized by the following step 102b; in the above-mentioned (3), that is, the second object is M Objects located on the diagonal line of the first object among the objects, the above step 102 can be specifically implemented through the following step 102c.
  • Step 102a in the case that the input parameter of the first input conforms to the first preset parameter, the electronic device displays a third object adjacent to the first object among the M objects.
  • the second object is the same as the above-mentioned third object.
  • the input parameter of the first input conforms to the first preset parameter can be understood as: the input parameter of the first input is the same as the first preset parameter, or the input parameter of the first input is the same as the first preset parameter
  • the matching degree is greater than or equal to the first matching degree threshold (specifically, it can be determined according to actual usage requirements).
  • the first preset parameter may specifically be a preset direction.
  • the preset direction may be: an upward direction relative to the first object, a downward direction relative to the first object, a leftward direction relative to the first object, and a direction relative to the first object
  • the direction to the right can be determined according to the target layout.
  • up, down, left, and right are all illustrated by taking the first object displayed on the screen of the electronic device when the screen of the electronic device faces the user as an example.
  • the preset direction may be preset by the system, or may be set by the user according to actual usage requirements.
  • the third object is an object that is adjacent to the first object and located in the first direction of the first object among the M objects.
  • the M objects may include one or more third objects adjacent to the first object, which may be specifically determined according to the target layout of the M objects.
  • the gallery application program of the electronic device includes 9 pictures (ie, the aforementioned M objects)
  • the layout among the 9 pictures set by the user ie, the target layout
  • the electronic device currently displays picture 5.
  • the electronic device can switch from picture 5 to picture 2; if the user slides on the screen in the direction shown by arrow 2 (that is, the first input), then as shown in (d) in Figure 2, the electronic device can Switch from picture 5 to picture 6. That is, the electronic device displays a third object adjacent to the first object among the M objects.
  • the 9 pictures in the gallery application program include 4 pictures adjacent to picture 5 (namely picture 2, picture 4, picture 6, picture 8).
  • picture 5 namely picture 2, picture 4, picture 6, picture 8.
  • Step 102b When the input parameter of the first input conforms to the second preset parameter, the electronic device displays a fourth object that does not have an adjacent object among the M objects.
  • the second object is the same as the above-mentioned fourth object.
  • the fourth object may be an independent object or a hidden object among the M objects, that is, the second preset parameter is used to trigger the electronic device to display an independent object or a hidden object among the M objects.
  • the input parameter of the first input conforms to the second preset parameter can be understood as: the input parameter of the first input is the same as the second preset parameter, or the input parameter of the first input is the same as the second preset parameter
  • the matching degree is greater than or equal to the second matching degree threshold (specifically, it may be determined according to actual usage requirements).
  • first matching degree and the second matching degree may be the same or different, and may be specifically determined according to actual usage requirements.
  • the second preset parameter may specifically be: a preset trajectory or a preset shape.
  • the preset trajectory includes a trajectory shape and a trajectory direction.
  • the preset shape and track shape may be any possible shape.
  • the track shape is triangle “ ⁇ ", circle “ ⁇ ”, check mark " ⁇ ", number shape (such as: 1, 2, 3) and so on.
  • trajectory direction please refer to the relevant description of the preset direction in the above step 102a for details. In order to avoid repetition, details are not repeated here.
  • the second preset parameter may be preset by the system, or may be set by the user according to actual usage requirements.
  • the first preset parameter is different from the second preset parameter.
  • the electronic device may create a correspondence between an object and a preset parameter. In this way, when the input parameter input by the user conforms to a preset parameter (for example, the second preset parameter), the electronic device may directly display a fourth object corresponding to the preset parameter.
  • a preset parameter for example, the second preset parameter
  • the electronic device displays M objects according to the target strategy, if there is no object adjacent to an object or an object located on the diagonal of the object among the M objects, that is, the object is a hidden object or an independent object, it means that no object is displayed in the display area adjacent to display area 0 of the object, and no object is displayed in display area 1, where display area 1 is located at the opposite corner of display area 0 on-line.
  • the display area 1 is the display area closest to the display area 0 among the T display areas.
  • the desktop of the electronic device includes 10 interfaces (i.e. the above-mentioned M objects)
  • the layout among the 10 interfaces set by the user i.e. the target layout
  • FIG. 3 it can be seen that , there is no adjacent object on the interface 0 and no object located on the diagonal of the interface 0; it is also assumed that the interface 0 has a corresponding relationship with the number "0" (ie, the second preset parameter).
  • the electronic device displays interface 5
  • the user can draw the number "0" on the screen (that is, the first input) to trigger the electronic device to switch from interface 5 to interface 0, that is, when the input parameters of the first input meet the second
  • the electronic device displays a fourth object that does not have an adjacent object among the M objects.
  • Step 102c when the input parameter of the first input conforms to the third preset parameter, the electronic device displays a fifth object located on the diagonal line of the first object among the M objects.
  • the above-mentioned second object is the same as the above-mentioned fifth object.
  • the input parameter of the first input conforming to the third preset parameter can be understood as: the input parameter of the first input is the same as the third preset parameter, or the input parameter of the first input is the same as the third preset parameter
  • the matching degree is greater than or equal to the third matching degree threshold (specifically, it can be determined according to actual usage requirements).
  • the third preset parameter may be any preset parameter capable of triggering the electronic device to display a fifth object located on the diagonal line of the first object among the M objects, specifically according to the user's actual use requirements Hence, this application is not limited.
  • the third preset parameter may be preset by the system, or may be set by the user according to actual usage requirements.
  • the preset direction may be: relative to the upper left direction of the first object, relative to the lower left direction of the first object, relative to the upper right direction of the first object, relative to In the direction of the lower right of the first object, if the direction of the first input conforms to the direction relative to the upper left of the first object, then the electronic device may display M objects located on the diagonal of the first object and located at the upper left of the first object an object of .
  • the upper left, lower left, upper right, and lower right are all illustrated using the first object displayed on the screen of the electronic device when the screen of the electronic device faces the user as an example.
  • the fifth object is an object located on a diagonal line of the first object and closest to the first object among the M objects.
  • the first input may include the user's input on an abbreviated object used to indicate one of the M objects (such as the second object described below)
  • the object switching method provided in the embodiment of the present application may specifically be implemented through the following methods 1 and 2.
  • the first input may include a first sub-input and a second sub-input
  • the above-mentioned step 101 may be specifically implemented through the following steps 101a and 101b
  • the above-mentioned step 102 may be specifically implemented through the following Steps A and B mentioned above are realized.
  • Step 101a the electronic device receives a first sub-input from a user on a first object.
  • Step A the electronic device displays N first thumbnail objects according to the target layout in response to the first sub-input.
  • step 101b the electronic device receives a second sub-input from the user on the first target thumbnail object among the N first thumbnail objects.
  • Step B The electronic device displays the second object in response to the second sub-input, and the first target thumbnail object is used to indicate the second object.
  • each of the above-mentioned N first thumbnail objects may be used to indicate one of the above-mentioned M objects, and N may be a positive integer less than or equal to M.
  • the electronic device displays N first thumbnail objects according to the target layout: the layout between the N first thumbnail objects and the layout between the N indicated by the N first thumbnail objects
  • the layout is the same.
  • the first sub-input can be any form such as the user's hover input, touch input, or voice input on the first object, which can trigger the electronic device to display N first thumbnails according to the target layout.
  • the input of the strategy object can be specifically determined according to actual usage requirements, and is not limited in this embodiment of the present application.
  • the second sub-input can be any form of input such as hovering input or touch input by the user on the first target thumbnail object. limited.
  • the purpose of displaying the N first thumbnail objects according to the target layout of the electronic device is to enable the user to view the layout among the N objects among the M objects.
  • the electronic device may not N first thumbnail objects are displayed according to the target layout.
  • the N objects indicated by the above N first abbreviated objects may be all common objects and all independent objects in the above M objects.
  • the owner user of the electronic device can set the first sub-input for triggering the N first thumbnail objects according to the actual use requirements, so as to protect the privacy of the owner user, for example, to avoid illegal
  • the owner user views and/or uses the content in the individual object.
  • the second object may be a common object among the M objects or may be an independent object among the M objects.
  • the user since the user can trigger the electronic device to display N first thumbnail objects corresponding to N objects in the M objects one-to-one through the first sub-input on the first object, the user can pass The second sub-input triggers the electronic device to display the object indicated by any one of the N first thumbnail objects, so that the flexibility of the electronic device to switch objects can be further improved.
  • the above-mentioned first input includes the third sub-input, the fourth sub-input and the fifth sub-input; the above-mentioned step 101 can be specifically implemented through the following steps 101c to 101e, the above-mentioned steps 102 can be specifically implemented through the following steps C, D, and E.
  • Step 101c the electronic device receives a third sub-input from the user on the first object.
  • Step C the electronic device responds to the third sub-input, and displays N second thumbnail objects according to the target layout, each second thumbnail object is used to indicate an unhidden object among the above-mentioned M objects, and N is less than M positive integer of .
  • the N second thumbnail objects may be the same as or different from the foregoing N first thumbnail objects.
  • step 101c and step 102c please refer to the relevant description of the above-mentioned step 101a and step 102a for details, and in order to avoid repetition, details are not repeated here.
  • Step 101d the electronic device receives the user's fourth sub-input.
  • Step D The electronic device keeps displaying N second thumbnail objects in response to the fourth sub-input, and displays Q third thumbnail objects according to the target layout, and each third thumbnail object is used to indicate M objects
  • a hidden object, Q can be an integer greater than or equal to 0.
  • Q+N may be less than or equal to M, that is, the second sub-input is used to trigger display of at least some hidden objects among the M objects.
  • the hidden object may be an object with high privacy.
  • the fourth sub-input can be any special gesture or special voice input set by the user, which can trigger the electronic device to keep displaying N second thumbnail objects, and display Q second thumbnail objects according to the target layout.
  • the input of the three abbreviated objects can be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present application.
  • step 101e the electronic device receives a fifth sub-input from the user on the second target thumbnail object among the Q third thumbnail objects.
  • Step E the electronic device displays the second object in response to the fifth sub-input, and the second target thumbnail object is used to indicate the second object.
  • the fifth sub-input may be a user's touch input on the second target thumbnail object, input of a preset gesture, etc., which may be specifically determined according to actual usage requirements.
  • the fourth sub-input is different from the fifth sub-input.
  • the object indicated by the second target abbreviated object is different from the object indicated by the first target abbreviated object.
  • Press (i.e. the third sub-input) as shown in (a) in Figure 3, the electronic device can superimpose a window on interface 1, and display 9 interfaces in this window according to the layout between 10 interfaces 9 thumbnails of the unhidden interface (i.e. N second thumbnail objects), at this time the user can draw a circle counterclockwise on the window (i.e.
  • the electronic device can display the thumbnail image 30 of interface 0 (that is, Q third thumbnail objects) in the window according to the layout among the 10 interfaces while maintaining the display of the 9 thumbnail images.
  • the user can click on the thumbnail image 30 (ie, the fifth sub-input) to trigger the electronic device to display the interface 0 (ie, the second object) indicated by the thumbnail image 30 .
  • the user can trigger the electronic device to display N second thumbnail objects that correspond one-to-one to the N objects that are not hidden among the M objects through the third sub-input on the first object, and through The fourth sub-input triggers the electronic device to display Q third thumbnail objects one-to-one corresponding to the hidden Q hidden objects among the M objects according to the layout among the M objects while maintaining display of the N second thumbnail objects. Therefore, the user can trigger the electronic device to display any hidden object among the M objects through the fifth sub-input, so the flexibility of the electronic device to switch objects can be further improved.
  • a special input for example, the fourth sub-input
  • the electronic device since a special input (for example, the fourth sub-input) is required to trigger the electronic device to display the thumbnail objects of one or more hidden objects among the M, it is possible to simplify the process of switching objects by the electronic device To improve the security of electronic equipment switching objects.
  • an object (such as the first M objects) among the multiple objects is displayed on the electronic device.
  • the user when the user needs to view another object (such as the second object) among the plurality of objects, the user can trigger the electronic device according to the layout among the plurality of objects set by the user through an input
  • the other object can be displayed directly with the input parameters of the input, without requiring the user to perform a series of operations to trigger the electronic device to switch to the object that the user needs to view as in the traditional technology, which can simplify the process of switching the object by the electronic device.
  • the object switching method provided in the embodiment of the present application may further include the following steps 103 to 106.
  • Step 103 the electronic device receives a second input from the user.
  • Step 104 the electronic device displays a layout setting interface in response to the second input.
  • the second input can be any form of input that can trigger the electronic device to display the layout setting interface, such as floating input, touch input, or voice input. Examples are not limited.
  • the layout setting interface may include M fourth thumbnail objects, and each fourth thumbnail object is used to indicate one of the M objects.
  • the layout setting interface may further include P layout positions, and P may be an integer greater than or equal to M.
  • the above P layout positions may be displayed in a row and column distribution manner in the layout setting interface, for example, 10 layout positions may be distributed in 2 rows and 5 columns in the layout setting interface.
  • the M fourth thumbnail objects in the layout setting interface may be located at any M layout positions among the P layout positions.
  • the layout setting interface may also include two areas, wherein the first area includes P layout positions, and the second area may be used to display M fourth thumbnail objects.
  • the user can adjust the layout of the M fourth thumbnail objects by sequentially moving the M fourth thumbnail objects to the M layout positions in the first area.
  • Step 105 the electronic device receives a third input from the user.
  • Step 106 the electronic device adjusts the layout among the M fourth thumbnail objects in response to the third input, and determines that the target layout is the layout among the M fourth thumbnail objects.
  • the third input can be any form of input such as hover input or touch input that can trigger the electronic device to adjust the layout among the M fourth thumbnail objects, which can be specifically determined according to actual use requirements.
  • the embodiment of this application is not limited.
  • the electronic device can display the layout setting interface 40, and the layout setting interface 40 includes 15 layouts distributed in 3 rows and 5 columns position (that is, P layout positions), and the 10 thumbnails corresponding to the 10 interfaces are located at 10 layout positions among the 15 layout positions.
  • the electronic device may then determine the adjusted layout among the 10 thumbnails as the target layout.
  • the layout setting interface may also include an add control, and the add control may be used It is used to add thumbnails of objects to the layout setting interface, so that the user can first trigger the electronic device to add one or more thumbnails of objects to the layout setting interface according to its actual use, and then input the thumbnails of the objects in the layout setting interface. The layout of the thumbnail objects is adjusted.
  • the layout setting interface may further include a creation control, which is used to add an interface on the desktop.
  • the above creation control may include two sub-controls, one sub-control is used to trigger the creation of an independent interface, and the other sub-control may be used to create a hidden interface.
  • the electronic device since the user can trigger the electronic device to display the layout setting interface through input, and adjust the layout among the M fourth thumbnail objects on the layout setting interface, the electronic device can determine the adjusted layout as The target layout, in this way, the electronic device can display the second object according to the layout adjusted by the user and the input parameters input by the first input, so the flexibility of the electronic device to switch objects can be further improved.
  • the object switching method provided in the embodiment of the present application may be executed by an object switching device, or a control module in the object switching device for executing the object switching method.
  • the object switching device provided in the embodiment of the present application is described by taking the object switching method performed by the object switching device as an example.
  • the embodiment of the present application provides an object switching device 50
  • the object switching device 50 can include: a display module 51 and a receiving module 52; the display module 51 can be used to display the first object, the first object is M The object in the object; the receiving module 52 can be used to receive the first input of the user; the display module 51 can also be used to respond to the first input received by the receiving module 52, according to the target information and the input parameters of the first input, The second object among the M objects is displayed, and the target information may be used to indicate a target layout among the M objects; wherein, the target layout is triggered and set by a user, and M is an integer greater than 1.
  • the above-mentioned display module 51 can be specifically configured to display the M objects that are related to the first object when the input parameter of the first input received by the receiving module 52 conforms to the first preset parameter.
  • the display module 51 can specifically be used to display that there is no adjacent object among the M objects when the input parameter of the first input received by the receiving module 52 conforms to the second preset parameter or, the display module 51 can specifically be used to display the pair located in the first object among the M objects when the input parameter of the first input received by the receiving module 52 conforms to the third preset parameter A fifth object on the corner.
  • the above-mentioned first input may include a first sub-input and a second sub-input; the display module 51 may specifically be configured to, in response to the user's first sub-input on the first object, according to the target layout, Displaying N first thumbnail objects, each first thumbnail object can be used to indicate an object in the M objects, N is a positive integer less than or equal to M; the display module 51 can specifically be used to respond to the user For the second sub-input of the first target thumbnail object among the N first thumbnail objects, the second object is displayed, and the first target thumbnail object can be used to indicate the second object.
  • the above-mentioned first input may include a third sub-input, a fourth sub-input, and a fifth sub-input; the display module 51 may specifically be configured to, in response to the user's third sub-input, according to the target layout, Displaying N second thumbnail objects, each second thumbnail object can be used to indicate an unhidden object among the M objects, N is a positive integer smaller than M; the display module 51 can specifically be used to respond to user
  • the fourth sub-input keeps displaying the N second thumbnail objects, and displays Q third thumbnail objects according to the target layout, and each third thumbnail object can be used to indicate a hidden one of the M objects object, Q is an integer greater than or equal to 0; the display module 51 may specifically be configured to display the second object in response to the fifth sub-input of the second target abbreviated object among the Q third abbreviated objects by the user, A second target thumbnail object may be used to indicate a second object.
  • the above object switching device may further include a control module.
  • the receiving module 52 can also be used to receive the user's second input before receiving the user's first input;
  • the display module 51 can also be used to display the layout setting interface in response to the second input received by the receiving module 52, layout setting
  • the interface may include M fourth thumbnail objects, and each fourth thumbnail object may be used to indicate one of the M objects;
  • the receiving module 52 may also be used to receive a third input from the user;
  • the control module It may be used to adjust the layout among the M fourth thumbnail objects in response to the second input received by the receiving module 52, and determine the target layout as the layout among the M fourth thumbnail objects after the layout is adjusted.
  • the layout among multiple objects (such as M objects) is set by the user triggering the electronic device, one object (such as the first M objects) among the multiple objects is displayed on the electronic device.
  • one object when the user needs to view another object (such as the second object) among the multiple objects, the user can trigger the object switching device according to the number of objects set by the user through an input.
  • the layout and the input parameters of the input directly display the other object, without requiring the user to perform a series of operations to trigger switching to the object that the user needs to view, as in the traditional technology, which can simplify the process of switching objects by the object switching device.
  • the object switching device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the object switching device in this embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the object switching device provided in the embodiment of the present application can implement various processes implemented by the method embodiments in FIG. 1 to FIG. 4 , and details are not repeated here to avoid repetition.
  • the embodiment of the present application also provides an electronic device 200, including a processor 202, a memory 201, a program or instruction stored in the memory 201 and operable on the processor 202, the program or instruction is processed When executed by the device 202, each process of the above-mentioned object switching method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
  • the electronic device 1000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 7 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
  • the display unit 1006 can be used to display the first object, and the first object is an object in the M objects; the user input unit 1007 can be used to receive the first input from the user; the display unit 1006 can also be used to respond to The first input received by the user input unit 1007 displays the second object among the M objects according to the target information and the input parameters of the first input, and the target information can be used to indicate the target layout among the M objects; wherein, The target layout is set by user trigger, and M is an integer greater than 1.
  • the above-mentioned display unit 1006 may specifically be configured to display the first object among the M objects when the input parameter of the first input received by the user input unit 1007 conforms to the first preset parameter.
  • An adjacent third object; or, the display unit 1006 may be specifically configured to display that there is no corresponding object among the M objects when the input parameter of the first input received by the user input unit 1007 conforms to the second preset parameter.
  • a fourth object adjacent to the object; or, the display unit 1006 may specifically be configured to display the first object among the M objects when the input parameter of the first input received by the user input unit 1007 conforms to the third preset parameter.
  • a fifth object on the diagonal of the object is arranged on the diagonal of the object.
  • the above-mentioned first input may include a first sub-input and a second sub-input; the display unit 1006 may specifically be configured to, in response to the user's first sub-input on the first object, according to the target layout, Displaying N first thumbnail objects, each first thumbnail object can be used to indicate an object in the M objects, N is a positive integer less than or equal to M; the display unit 1006 can specifically be used to respond to the user For the second sub-input of the first target thumbnail object among the N first thumbnail objects, the second object is displayed, and the first target thumbnail object can be used to indicate the second object.
  • the above-mentioned first input may include a third sub-input, a fourth sub-input, and a fifth sub-input; the display unit 1006 may specifically be configured to, in response to the user's third sub-input, according to the target layout, Displaying N second thumbnail objects, each second thumbnail object can be used to indicate an unhidden object among the M objects, N is a positive integer smaller than M; the display unit 1006 can specifically be used to respond to the user
  • the fourth sub-input keeps displaying the N second thumbnail objects, and displays Q third thumbnail objects according to the target layout, and each third thumbnail object can be used to indicate a hidden one of the M objects object, Q is an integer greater than or equal to 0; the display unit 1006 may specifically be configured to display the second object in response to the user's fifth sub-input of the second target abbreviated object among the Q third abbreviated objects, A second target thumbnail object may be used to indicate a second object.
  • the user input unit 1007 may also be configured to receive a second input from the user before receiving the first input from the user; the display unit 1006 may also be configured to respond to the second input received by the user input unit 1007.
  • Two input, display the layout setting interface, the layout setting interface may include M fourth thumbnail objects, and each fourth thumbnail object may be used to indicate an object in the M objects; the user input unit 1007 may also use for receiving the third input from the user; the processor 1010 may be configured to adjust the layout among the M fourth thumbnail objects in response to the second input received by the user input unit 1007, and determine the target layout as the adjusted layout The layout among the M fourth thumbnail objects.
  • the layout among multiple objects (such as M objects) is set for the user to trigger the electronic device, one object (such as the first object) among the multiple objects is displayed on the electronic device. object)
  • the user when the user needs to view another object (such as the second object) among the plurality of objects, the user can trigger the electronic device to trigger the electronic device according to the layout and layout among the plurality of objects set by the user through an input
  • the input parameter directly displays the other object, without requiring the user to perform a series of operations to trigger the electronic device to switch to the object that the user needs to view as in the traditional technology, thus simplifying the process of switching objects by the electronic device.
  • the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used by the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1007 includes a touch panel 10071 and other input devices 10072 .
  • the touch panel 10071 is also called a touch screen.
  • the touch panel 10071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the memory 1009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • Processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
  • the embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the object switching method can be achieved, and can achieve the same Technical effects, in order to avoid repetition, will not be repeated here.
  • the above-mentioned processor is the processor in the electronic device in the above-mentioned embodiment.
  • the above-mentioned readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the various processes of the above object switching method embodiment, and can achieve the same To avoid repetition, the technical effects will not be repeated here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Abstract

An object switching method and apparatus, an electronic device, and a readable storage medium, relating to the technical field of communications. The method comprises: displaying a first object, the first object being an object in M objects; receiving the first input of a user; and in response to the first input, displaying a second object in the M objects according to target information and an input parameter of the first input, wherein the target information is used for indicating a target layout among the M objects, the target layout is triggered and set by the user, and M is an integer greater than 1.

Description

对象切换方法、装置、电子设备和可读存储介质Object switching method, device, electronic device and readable storage medium
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年09月23日在中国提交的中国专利申请号202111116401.X的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202111116401.X filed in China on September 23, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于通信技术领域,具体涉及一种对象切换方法、装置、电子设备和可读存储介质。The present application belongs to the technical field of communication, and in particular relates to an object switching method, device, electronic equipment and readable storage medium.
背景技术Background technique
随着通信技术的发展,电子设备的功能越来越丰富,例如用户可以通过输入触发电子设备在不同界面之间进行切换。With the development of communication technology, electronic devices have more and more functions. For example, a user can trigger the electronic device to switch between different interfaces through an input.
示例性地,假设电子设备的桌面包括依次排列的界面1、界面2、界面3和界面4,且电子设备当前显示的界面为界面1。如果用户需求查看界面4,那么用户需要在电子设备的屏幕上向左滑动3次,以触发电子设备逐步切换至界面4。Exemplarily, it is assumed that the desktop of the electronic device includes interface 1 , interface 2 , interface 3 and interface 4 arranged in sequence, and the interface currently displayed by the electronic device is interface 1 . If the user needs to view the interface 4, the user needs to slide the screen of the electronic device to the left three times to trigger the electronic device to switch to the interface 4 step by step.
如此,由于用户需求查看一个界面时可能需要执行上述一系列操作才能触发电子设备切换至用户需求的界面,因此可能导致电子设备切换对象的过程较为繁琐。In this way, since the user may need to perform the above series of operations to trigger the electronic device to switch to the interface required by the user when viewing an interface, the process of switching objects by the electronic device may be cumbersome.
发明内容Contents of the invention
本申请实施例的目的是提供一种对象切换方法、装置、电子设备和可读存储介质,能够解决电子设备切换对象的过程较为繁琐的问题。The purpose of the embodiment of the present application is to provide an object switching method, device, electronic device and readable storage medium, which can solve the problem that the process of switching objects by the electronic device is relatively cumbersome.
第一方面,本申请实施例提供了一种对象切换方法,该方法包括:显示第一对象,第一对象为M个对象中的对象;接收用户的第一输入;响应于第一输入,根据目标信息和第一输入的输入参数,显示M个对象中的第二对象,目标信息用于指示M个对象之间的目标布局;其中,目标布局为用户触发设置的,M为大于1的整数。In the first aspect, the embodiment of the present application provides an object switching method, the method includes: displaying a first object, the first object is an object among M objects; receiving a first input from a user; in response to the first input, according to The target information and the input parameters of the first input are used to display the second object among the M objects, and the target information is used to indicate the target layout among the M objects; wherein, the target layout is set by a user trigger, and M is an integer greater than 1 .
第二方面,本申请实施例提供了一种对象切换装置,该装置包括显示模块和接收模块;显示模块,用于显示第一对象,第一对象为M个对象中的对象,接收模块,用于接收用户的第一输入;显示模块,还用于响应于接收模块接收的第一输入,根据目标信息和第一输入的输入参数,显示M个对象中的第二对象,目标信息用于指示M个对象之间的目标布局;其中,目标布局为用户触发设置的,M为大于1的整数。In the second aspect, the embodiment of the present application provides an object switching device, the device includes a display module and a receiving module; the display module is used to display the first object, the first object is an object among M objects, and the receiving module uses for receiving the first input from the user; the display module is also used for displaying the second object among the M objects according to the target information and the input parameters of the first input in response to the first input received by the receiving module, and the target information is used to indicate A target layout among M objects; wherein, the target layout is set by a user trigger, and M is an integer greater than 1.
第三方面,本申请实施例提供了一种电子设备,所述电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,所述程序或指令被处理器执行时实现如第一方面的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is executed by the processor When realizing the steps of the method as in the first aspect.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method in the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method in the first aspect.
在本申请实施例中,可以在显示第一对象,第一对象为M个对象中的对象,且接收用户的第一输入;并响应于第一输入,根据目标信息和第一输入的输入参数,显示M个对象中的第二对象,目标信息用于指示M个对象之间的目标布局;其中,目标布局为用户触发设置的,M为大于1的整数。通过该方案,由于多个对象(例如M个对象)之间的布局为用户触发电子设备设置的,因此在电子设备显示该多个对象中的一个对象(例如第一对象)的情况下,当用户需求查看该多个对象中的另一个对象(例如第二对象)时,用户可以通过一个输入,触发电子设备根据用户设置好的该多个对象之间的布局和该输入的输入参数直接显示该另一个对象,而无需像传统技术一样需要用户执行一系列操作才能触发电子设备切换至用户需求查看的对象,如此可以简化电子设备切换对象的过程。In the embodiment of the present application, the first object may be displayed, the first object is an object among the M objects, and the user's first input is received; and in response to the first input, according to the target information and the input parameters of the first input , to display the second object among the M objects, and the target information is used to indicate the target layout among the M objects; wherein, the target layout is set by a user trigger, and M is an integer greater than 1. Through this solution, since the layout among multiple objects (such as M objects) is set by the user triggering the electronic device, when the electronic device displays an object (such as the first object) among the multiple objects, when When the user needs to view another object (such as the second object) among the multiple objects, the user can trigger the electronic device to directly display the layout according to the layout among the multiple objects set by the user and the input parameters through an input. This other object does not require the user to perform a series of operations to trigger the electronic device to switch to the object that the user needs to view, as in the traditional technology, thus simplifying the process of switching objects by the electronic device.
附图说明Description of drawings
图1为本申请实施例提供的对象切换方法的示意图;FIG. 1 is a schematic diagram of an object switching method provided in an embodiment of the present application;
图2为本申请实施例提供的对象切换方法应用的界面示意图之一;FIG. 2 is one of the interface schematic diagrams of the application of the object switching method provided by the embodiment of the present application;
图3为本申请实施例提供的对象切换方法应用的界面示意图之二;FIG. 3 is the second schematic diagram of the interface of the application of the object switching method provided by the embodiment of the present application;
图4为本申请实施例提供的对象切换方法应用的界面示意图之三;Fig. 4 is the third schematic diagram of the application interface of the object switching method provided by the embodiment of the present application;
图5为本申请实施例提供的对象切换装置的示意图;FIG. 5 is a schematic diagram of an object switching device provided by an embodiment of the present application;
图6为本申请实施例提供的电子设备的示意图;FIG. 6 is a schematic diagram of an electronic device provided in an embodiment of the present application;
图7为本申请实施例提供的电子设备的硬件示意图。FIG. 7 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的对象切换方法、装置、电子设备和可读存储介质进行详细地说明。The object switching method, device, electronic device, and readable storage medium provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
本申请实施例提供的对象切换方法可以应用于用户触发电子设备切换界面、图片等对象的场景中。The object switching method provided in the embodiment of the present application may be applied to a scenario where a user triggers an electronic device to switch objects such as interfaces and pictures.
示例性地,以用户触发电子设备切换界面为例,假设电子设备的桌面包括界面A、 界面B、界面C和界面D,且电子设备当前显示界面A(例如本申请实施例中的第一对象),由于界面A、界面B、界面C和界面D之间的布局(例如本申请实施例中的目标布局)可以为用户触发电子设备设置的,因此当用户需求查看界面D(例如本申请实施例中的第二对象)时,用户可以通过一个输入(例如本申请实施例中的第一输入)触发电子设备根据桌面中的界面之间的布局(例如本申请实施例中的目标信息指示的目标布局)和该输入的方向(例如本申请实施例中的第一输入的输入参数)直接显示界面D,以方便用户查看界面D中的内容。如此,由于电子设备通过用户的一次输入便可以显示用户所需查看的对象,因此可以简化电子设备切换对象的过程。Exemplarily, taking the user triggering the switching interface of the electronic device as an example, it is assumed that the desktop of the electronic device includes interface A, interface B, interface C and interface D, and the electronic device currently displays interface A (for example, the first object in the embodiment of the application ), because the layout among interface A, interface B, interface C and interface D (such as the target layout in the embodiment of the application) can be set by the user to trigger the electronic device, so when the user needs to view interface D (such as the implementation of the application the second object in the example), the user can trigger the electronic device through an input (such as the first input in the embodiment of the present application) to trigger the electronic device according to the layout between the interfaces in the desktop (such as the target information indicated in the embodiment of the application target layout) and the direction of the input (for example, the input parameters of the first input in the embodiment of the present application) directly display the interface D, so that the user can view the content in the interface D conveniently. In this way, since the electronic device can display the object that the user needs to view through one input of the user, the process of switching objects by the electronic device can be simplified.
结合图1,本申请实施例提供一种对象切换方法,该方法可以包括下述的步骤100至步骤102。下面以电子设备执行该方法为例进行示例性地说明。Referring to FIG. 1 , an embodiment of the present application provides an object switching method, and the method may include the following steps 100 to 102 . Hereinafter, an electronic device is used as an example to illustrate the method.
步骤100、电子设备显示第一对象。 Step 100, the electronic device displays a first object.
本申请实施例中,第一对象可以为M个对象中的对象。In this embodiment of the present application, the first object may be an object in the M objects.
本申请实施例中,上述M个对象的对象类型相同。其中,对象的对象类型包括:图片类型、界面类型。In the embodiment of the present application, the object types of the above M objects are the same. Wherein, the object type of the object includes: picture type, interface type.
例如,上述M个对象的对象类型为界面类型,即该M个对象中的每一个对象均为一个界面;或者,上述M个对象的对象类型为图像类型,即该M个对象中的每一个对象均为一个图片。For example, the object type of the above M objects is an interface type, that is, each of the M objects is an interface; or, the object type of the above M objects is an image type, that is, each of the M objects The object is a picture.
可选地,本申请实施例中,当M个对象的对象类型为界面类型时,上述M个对象可以为同一应用程序(例如桌面应用程序)中的界面,或者可以为不同应用程序中的界面(例如后台运行/最近使用的不同应用程序中的界面),具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the present application, when the object type of the M objects is an interface type, the above M objects may be interfaces in the same application program (such as a desktop application program), or may be interfaces in different application programs (for example, interfaces in different application programs running in the background/recently used), the details may be determined according to actual usage requirements, and are not limited in this embodiment of the present application.
可选地,本申请实施例中,当M个对象的对象类型为图片类型时,上述M个对象可以为图库应用程序中的M个图片。Optionally, in this embodiment of the present application, when the object type of the M objects is a picture type, the above M objects may be M pictures in a gallery application program.
步骤101、电子设备接收用户的第一输入。 Step 101, the electronic device receives a first input from a user.
可选地,本申请实施例中,上述第一输入可以为用户在第一对象上的输入,也可以为用户在用于指示第二对象的缩略对象上的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the present application, the above-mentioned first input may be the user's input on the first object, or the user's input on the abbreviated object used to indicate the second object, which may be based on actual usage requirements Definitely, the embodiment of this application is not limited.
可选地,本申请实施例中,一种可能的实现方式中,上述第一输入可以为用户在第一对象上的输入;或者,另一种可能的实现方式中,第一输入可以包括用户在用于指示M个对象中的一个对象(例如下述的第二对象)的缩略对象上的输入。Optionally, in this embodiment of the present application, in a possible implementation manner, the above-mentioned first input may be the user's input on the first object; or, in another possible implementation manner, the first input may include the user's An input on an abbreviated object indicating one of M objects (for example, a second object described below).
可选地,本申请实施例中,第一输入可以为悬浮输入、触控输入或语音输入等任意可能形式输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the present application, the first input may be input in any possible form such as hovering input, touch input, or voice input, which may be determined according to actual usage requirements, and is not limited in this embodiment of the present application.
例如,以第一输入为触控输入为例,第一输入可以为滑动输入、重按输入、特定手势输入等任意可能的触控输入。For example, taking the first input as a touch input as an example, the first input may be any possible touch input such as a sliding input, a heavy press input, or a specific gesture input.
步骤102、电子设备响应于第一输入,根据目标信息和第一输入的输入参数,显 示M个对象中的第二对象。Step 102: In response to the first input, the electronic device displays the second object among the M objects according to the target information and the input parameters of the first input.
其中,目标信息可以用于指示M个对象之间的目标布局,目标布局可以为用户触发设置的,M为大于1的整数。Wherein, the target information may be used to indicate the target layout among the M objects, the target layout may be triggered and set by the user, and M is an integer greater than 1.
可选地,本申请实施例中,(1)第二对象可以为M个对象中与第一对象相邻的对象(即与第一对象相邻且位于第一对象的上方、下方、左侧或右侧的对象),或者,(2)第二对象可以为M个对象中与第一对象不相邻的对象(即在第一对象的上方、下方、左侧、右侧及对角线上均不存在对象的对象),或者,(3)第二对象可以为M个对象中位于第一对象的对角线上的对象(即位于第一对象的对角线上且距离第一对象最近的对象)。Optionally, in this embodiment of the present application, (1) the second object may be an object adjacent to the first object among the M objects (that is, adjacent to the first object and located above, below, and to the left of the first object or the object on the right side), or (2) the second object can be an object that is not adjacent to the first object among the M objects (that is, on the top, bottom, left, right and diagonal of the first object (3) the second object can be an object located on the diagonal of the first object among the M objects (that is, located on the diagonal of the first object and the distance from the first object nearest object).
本申请实施例中,假设M个对象按照目标布局显示,那么若M个对象中的一个对象的显示区域与第一对象的显示区域相邻,则表示该一个对象为与第一对象相邻的对象;若M个对象中的一个对象的显示区域与第一对象的显示区域不相邻,则表示该一个对象为与第一对象不相邻的对象;若M个对象中的一个对象的显示区域位于第一对象的显示区域的对角线上且距离第一对象的显示区域最近的显示区域,则表示该一个对象为位于第一对象的对角线上的对象。In the embodiment of the present application, assuming that M objects are displayed according to the target layout, if the display area of one of the M objects is adjacent to the display area of the first object, it means that the object is adjacent to the first object object; if the display area of one of the M objects is not adjacent to the display area of the first object, it means that the object is not adjacent to the first object; if the display area of one of the M objects is If the area is located on the diagonal of the display area of the first object and is the display area closest to the display area of the first object, it means that the object is an object located on the diagonal of the first object.
可选地,本申请实施例中,在上述(1)和(3)中,第二对象可以为普通对象,在上述(2)中,第二对象具体可以为独立对象或隐藏对象。其中,普通对象的私密等级较低,独立对象和隐藏对象的私密等级较高;对象的私密等级越高,表示对象的私密性要求越高。Optionally, in the embodiment of the present application, in the above (1) and (3), the second object may be a common object, and in the above (2), the second object may specifically be an independent object or a hidden object. Among them, the privacy level of ordinary objects is lower, and the privacy level of independent objects and hidden objects is higher; the higher the privacy level of an object, the higher the privacy requirement of the object.
可以理解,若一个对象为独立对象或隐藏对象,则表示该对象中包括用户的隐私信息。It can be understood that if an object is an independent object or a hidden object, it means that the object includes the user's private information.
可选地,本申请实施例中,对象的私密等级可以由用户自定义设置,也可以由系统设置。Optionally, in this embodiment of the present application, the privacy level of the object can be set by the user, or can be set by the system.
可选地,本申请实施例中,第一输入的输入参数可以包括以下任意一项:第一输入的输入对象、第一输入的输入轨迹、第一输入的输入方向、第一输入的轨迹形状。Optionally, in this embodiment of the present application, the input parameters of the first input may include any of the following: input object of the first input, input track of the first input, input direction of the first input, track shape of the first input .
本申请实施例中,第一输入的输入参数不同,电子设备显示的第二对象也不同。In this embodiment of the present application, if the input parameters of the first input are different, the second objects displayed by the electronic device are also different.
对于设置M个对象之间的目标布局的设置方法将在下述的实施例中进行详细描述,为了避免重复,此处不予赘述。The method for setting the target layout among M objects will be described in detail in the following embodiments, and will not be repeated here to avoid repetition.
下面分别对上述一种可能的实现方式和另一种可能的实现方式进行详细说明。The above-mentioned one possible implementation manner and another possible implementation manner will be described in detail below respectively.
一种可能的实现方式:第一输入可以为用户在第一对象上的输入A possible implementation manner: the first input may be the user's input on the first object
可选地,本申请实施例中,在上述(1)中,即第二对象为M个对象中与第一对象相邻的对象,上述步骤102具体可以通过下述的步骤102a实现;在上述(2)中,即第二对象为M个对象中与第一对象不相邻的对象,上述步骤102具体可以通过下述的步骤102b实现;在上述(3)中,即第二对象为M个对象中位于第一对象的对角线上的对象,上述步骤102具体可以通过下述的步骤102c实现。Optionally, in the embodiment of the present application, in the above (1), that is, the second object is an object adjacent to the first object among the M objects, the above step 102 can be specifically implemented through the following step 102a; in the above In (2), that is, the second object is an object that is not adjacent to the first object in the M objects, and the above-mentioned step 102 can be realized by the following step 102b; in the above-mentioned (3), that is, the second object is M Objects located on the diagonal line of the first object among the objects, the above step 102 can be specifically implemented through the following step 102c.
步骤102a、在第一输入的输入参数符合第一预设参数的情况下,电子设备显示M个对象中与第一对象相邻的一个第三对象。Step 102a, in the case that the input parameter of the first input conforms to the first preset parameter, the electronic device displays a third object adjacent to the first object among the M objects.
本申请实施例中,第二对象与上述一个第三对象相同。In this embodiment of the present application, the second object is the same as the above-mentioned third object.
本申请实施例中,第一输入的输入参数符合第一预设参数可以理解为:第一输入的输入参数与第一预设参数相同,或者第一输入的输入参数与第一预设参数的匹配度大于或等于第一匹配度阈值(具体可以根据实际使用需求确定)。In this embodiment of the present application, the input parameter of the first input conforms to the first preset parameter can be understood as: the input parameter of the first input is the same as the first preset parameter, or the input parameter of the first input is the same as the first preset parameter The matching degree is greater than or equal to the first matching degree threshold (specifically, it can be determined according to actual usage requirements).
本申请实施例中,第一预设参数具体可以为预设方向。In this embodiment of the present application, the first preset parameter may specifically be a preset direction.
可选地,本申请实施例中,预设方向可以为:相对于第一对象向上的方向,相对于第一对象向下的方向,相对于第一对象向左的方向,相对于第一对象向右的方向,具体可以根据目标布局确定。Optionally, in this embodiment of the present application, the preset direction may be: an upward direction relative to the first object, a downward direction relative to the first object, a leftward direction relative to the first object, and a direction relative to the first object The direction to the right can be determined according to the target layout.
需要说明的是,本申请实施例中,上、下、左和右均是以电子设备的屏幕朝向用户时,电子设备的屏幕显示第一对象为例进行示意的。It should be noted that, in the embodiment of the present application, up, down, left, and right are all illustrated by taking the first object displayed on the screen of the electronic device when the screen of the electronic device faces the user as an example.
可选地,本申请实施例中,预设方向可以为系统预设的,也可以为用户根据实际使用需求设置的。Optionally, in the embodiment of the present application, the preset direction may be preset by the system, or may be set by the user according to actual usage requirements.
本申请实施例中,假设第一输入的输入方向为第一方向,那么:上述第三对象为M个对象中与第一对象相邻且位于第一对象的第一方向上的对象。In this embodiment of the present application, assuming that the input direction of the first input is the first direction, then: the third object is an object that is adjacent to the first object and located in the first direction of the first object among the M objects.
可选地,本申请实施例中,实际实现中,M个对象中可以包括与第一对象相邻的一个或多个第三对象,具体可以根据M个对象的目标布局确定。Optionally, in this embodiment of the present application, in actual implementation, the M objects may include one or more third objects adjacent to the first object, which may be specifically determined according to the target layout of the M objects.
下面结合附图对本申请实施例提供的对象切换方法进行示例性地说明。The object switching method provided by the embodiment of the present application will be exemplarily described below with reference to the accompanying drawings.
示例性地,假设电子设备的图库应用程序中包括9张图片(即上述M个对象),用户设置的9张图片之间的布局(即目标布局)如图2中的(a)所示。那么如图2中的(b)所示,电子设备当前显示图片5,此时,若用户在屏幕上沿箭头1所示的方向滑动(即第一输入),则如图2中的(c)所示,电子设备可以从图片5切换至图片2;若用户在屏幕上沿箭头2所示的方向滑动(即第一输入),则如图2中的(d)所示,电子设备可以从图片5切换至图片6。即电子设备显示M个对象中与第一对象相邻的一个第三对象。Exemplarily, assuming that the gallery application program of the electronic device includes 9 pictures (ie, the aforementioned M objects), the layout among the 9 pictures set by the user (ie, the target layout) is shown in (a) in FIG. 2 . Then as shown in (b) in FIG. 2, the electronic device currently displays picture 5. At this time, if the user slides in the direction shown by arrow 1 on the screen (that is, the first input), then (c) in FIG. ), the electronic device can switch from picture 5 to picture 2; if the user slides on the screen in the direction shown by arrow 2 (that is, the first input), then as shown in (d) in Figure 2, the electronic device can Switch from picture 5 to picture 6. That is, the electronic device displays a third object adjacent to the first object among the M objects.
可以看出,如图2中的(a)所示,在图库应用程序中的9张图片中包括4张与图片5相邻的图片(即图片2、图片4、图片6、图片8)。如此,相比于传统技术,本申请实施例提供的对象切换方法可以实现多个图片之间的一键切换。It can be seen that, as shown in (a) in FIG. 2 , the 9 pictures in the gallery application program include 4 pictures adjacent to picture 5 (namely picture 2, picture 4, picture 6, picture 8). In this way, compared with the traditional technology, the object switching method provided by the embodiment of the present application can realize one-key switching between multiple pictures.
步骤102b、在第一输入的输入参数符合第二预设参数的情况下,电子设备显示M个对象中不存在相邻对象的一个第四对象。Step 102b. When the input parameter of the first input conforms to the second preset parameter, the electronic device displays a fourth object that does not have an adjacent object among the M objects.
本申请实施例中,第二对象与上述一个第四对象相同。In this embodiment of the present application, the second object is the same as the above-mentioned fourth object.
可以理解,第四对象可以为M个对象中的独立对象或隐藏对象,即第二预设参数用于触发电子设备显示M个对象中的一个独立对象或一个隐藏对象。It can be understood that the fourth object may be an independent object or a hidden object among the M objects, that is, the second preset parameter is used to trigger the electronic device to display an independent object or a hidden object among the M objects.
本申请实施例中,第一输入的输入参数符合第二预设参数可以理解为:第一输入 的输入参数与第二预设参数相同,或者第一输入的输入参数与第二预设参数的匹配度大于或等于第二匹配度阈值(具体可以根据实际使用需求确定)。In this embodiment of the application, the input parameter of the first input conforms to the second preset parameter can be understood as: the input parameter of the first input is the same as the second preset parameter, or the input parameter of the first input is the same as the second preset parameter The matching degree is greater than or equal to the second matching degree threshold (specifically, it may be determined according to actual usage requirements).
其中,第一匹配度与第二匹配度可以相同,也可以不同,具体可以根据实际使用需求确定。Wherein, the first matching degree and the second matching degree may be the same or different, and may be specifically determined according to actual usage requirements.
本申请实施例中,第二预设参数具体可以为:预设轨迹或预设形状。其中,预设轨迹包括轨迹形状和轨迹方向。In the embodiment of the present application, the second preset parameter may specifically be: a preset trajectory or a preset shape. Wherein, the preset trajectory includes a trajectory shape and a trajectory direction.
可选地,本申请实施例中,预设形状和轨迹形状可以为任意可能的形状。例如,轨迹形状为三角形“△”、圆形“○”,对号形“√”、数字形状(如:1、2、3)等。Optionally, in this embodiment of the present application, the preset shape and track shape may be any possible shape. For example, the track shape is triangle "△", circle "○", check mark "√", number shape (such as: 1, 2, 3) and so on.
对于轨迹方向的描述,具体可以参见上述步骤102a中对预设方向的相关描述,为了避免重复,此处不再赘述。For the description of the trajectory direction, please refer to the relevant description of the preset direction in the above step 102a for details. In order to avoid repetition, details are not repeated here.
可选地,本申请实施例中,第二预设参数可以为系统预设的,也可以为用户根据实际使用需求设置的。Optionally, in this embodiment of the present application, the second preset parameter may be preset by the system, or may be set by the user according to actual usage requirements.
本申请实施例中,第一预设参数与第二预设参数不同。In the embodiment of the present application, the first preset parameter is different from the second preset parameter.
本申请实施例中,对于M个对象中不存在相邻对象的每个第四对象,电子设备可以创建一个对象与一个预设参数的对应关系。如此,当用户执行的输入的输入参数符合一个预设参数(例如第二预设参数)时,电子设备可以直接显示与该预设参数对应的一个第四对象。In the embodiment of the present application, for each fourth object that does not have an adjacent object among the M objects, the electronic device may create a correspondence between an object and a preset parameter. In this way, when the input parameter input by the user conforms to a preset parameter (for example, the second preset parameter), the electronic device may directly display a fourth object corresponding to the preset parameter.
可以理解,本申请实施例中,假设电子设备按照目标策略显示M个对象,那么若M个对象中不存在与一个对象相邻的对象和位于该对象的对角线上的对象,即该对象为隐藏对象或独立对象,则表示与该对象的显示区域0相邻的显示区域中未显示任何对象,且显示区域1中也未显示任何对象,其中,显示区域1位于显示区域0的对角线上。It can be understood that in the embodiment of the present application, assuming that the electronic device displays M objects according to the target strategy, if there is no object adjacent to an object or an object located on the diagonal of the object among the M objects, that is, the object is a hidden object or an independent object, it means that no object is displayed in the display area adjacent to display area 0 of the object, and no object is displayed in display area 1, where display area 1 is located at the opposite corner of display area 0 on-line.
进一步地,假设位于显示区域0的对角线的显示区域的数量为T个,那么显示区域1为T个显示区域中与显示区域0距离最近的一个显示区域。Further, assuming that the number of display areas located on the diagonal of the display area 0 is T, then the display area 1 is the display area closest to the display area 0 among the T display areas.
下面结合具体示例对本申请实施例提供的对象切换方法进行示例性地说明。The object switching method provided by the embodiment of the present application will be exemplarily described below with reference to specific examples.
示例性地,假设电子设备的桌面包括10个界面(即上述M个对象),用户设置的10个界面之间的布局(即目标布局)如图3中的(b)所示,可以看出,界面0不存在相邻的对象且界面0不存在位于界面0的对角线上的对象;又假设界面0与数字“0”(即第二预设参数)具有对应关系。那么如果电子设备当前显示界面5,那么用户可以在屏幕上画数字“0”(即第一输入),以触发电子设备从界面5切换至界面0,即在第一输入的输入参数符合第二预设参数的情况下,电子设备显示M个对象中不存在相邻对象的一个第四对象。Exemplarily, assuming that the desktop of the electronic device includes 10 interfaces (i.e. the above-mentioned M objects), the layout among the 10 interfaces set by the user (i.e. the target layout) is shown in (b) in FIG. 3 , it can be seen that , there is no adjacent object on the interface 0 and no object located on the diagonal of the interface 0; it is also assumed that the interface 0 has a corresponding relationship with the number "0" (ie, the second preset parameter). Then if the electronic device currently displays interface 5, the user can draw the number "0" on the screen (that is, the first input) to trigger the electronic device to switch from interface 5 to interface 0, that is, when the input parameters of the first input meet the second In the case of preset parameters, the electronic device displays a fourth object that does not have an adjacent object among the M objects.
步骤102c、在第一输入的输入参数符合第三预设参数的情况下,电子设备显示M个对象中位于第一对象的对角线上的一个第五对象。Step 102c, when the input parameter of the first input conforms to the third preset parameter, the electronic device displays a fifth object located on the diagonal line of the first object among the M objects.
本申请实施例中,上述第二对象与上述第五对象相同。In this embodiment of the present application, the above-mentioned second object is the same as the above-mentioned fifth object.
本申请实施例中,第一输入的输入参数符合第三预设参数可以理解为:第一输入的输入参数与第三预设参数相同,或者第一输入的输入参数与第三预设参数的匹配度大于或等于第三匹配度阈值(具体可以根据实际使用需求确定)。In this embodiment of the present application, the input parameter of the first input conforming to the third preset parameter can be understood as: the input parameter of the first input is the same as the third preset parameter, or the input parameter of the first input is the same as the third preset parameter The matching degree is greater than or equal to the third matching degree threshold (specifically, it can be determined according to actual usage requirements).
本申请实施例中,第三预设参数可以为能够触发电子设备显示M个对象中位于第一对象的对角线上的一个第五对象的任意预设参数,具体可以根据用户的实际使用需求确定,本申请不作限定。In the embodiment of the present application, the third preset parameter may be any preset parameter capable of triggering the electronic device to display a fifth object located on the diagonal line of the first object among the M objects, specifically according to the user's actual use requirements Definitely, this application is not limited.
可选地,本申请实施例中,第三预设参数可以为系统预设的,也可以为用户根据实际使用需求设置的。Optionally, in the embodiment of the present application, the third preset parameter may be preset by the system, or may be set by the user according to actual usage requirements.
例如,以第三预设参数为预设方向为例,该预设方向可以为:相对于第一对象左上的方向,相对于第一对象左下的方向,相对于第一对象右上的方向,相对于第一对象右下的方向,如果第一输入的方向符合相对于第一对象左上的方向,那么电子设备可以显示M个对象中位于第一对象的对角线上且位于第一对象左上方的一个对象。For example, taking the third preset parameter as the preset direction as an example, the preset direction may be: relative to the upper left direction of the first object, relative to the lower left direction of the first object, relative to the upper right direction of the first object, relative to In the direction of the lower right of the first object, if the direction of the first input conforms to the direction relative to the upper left of the first object, then the electronic device may display M objects located on the diagonal of the first object and located at the upper left of the first object an object of .
需要说明的是,本申请实施例中,左上、左下、右上和右下均是以电子设备的屏幕朝向用户时,电子设备的屏幕显示第一对象为例进行示意的。It should be noted that, in the embodiment of the present application, the upper left, lower left, upper right, and lower right are all illustrated using the first object displayed on the screen of the electronic device when the screen of the electronic device faces the user as an example.
本申请实施例中,第五对象为M个对象中位于第一对象的对角线上且距离第一对象最近的一个对象。In the embodiment of the present application, the fifth object is an object located on a diagonal line of the first object and closest to the first object among the M objects.
例如,如图3中的(a)所示,假设第一对象为界面9,位于界面9的对角线上的对象有界面2和界面5,由于界面5为距离界面9最近的界面,因此第五对象为界面5。本申请实施例中,由于用户可以通过不同的第一输入,触发电子设备显示M个对象中与第一对象相邻的对象、与第一对象不相邻的对象或位于第一对象的对角线上的对象,因此可以提高电子设备切换对象的灵活性。For example, as shown in (a) in Fig. 3, assume that the first object is interface 9, and the objects positioned on the diagonal of interface 9 have interface 2 and interface 5, since interface 5 is the interface closest to interface 9, therefore The fifth object is interface 5 . In the embodiment of the present application, because the user can trigger the electronic device to display objects adjacent to the first object, objects not adjacent to the first object, or objects located at the opposite corners of the first object among the M objects through different first inputs. objects on the line, thus improving the flexibility of electronic devices to switch objects.
另一种可能的实现方式:第一输入可以包括用户在用于指示M个对象中的一个对象(例如下述的第二对象)的缩略对象上的输入Another possible implementation manner: the first input may include the user's input on an abbreviated object used to indicate one of the M objects (such as the second object described below)
可选地,本申请实施例中,本申请实施例提供的对象切换方法具体可以通过下述的方式1和方式2实现。Optionally, in the embodiment of the present application, the object switching method provided in the embodiment of the present application may specifically be implemented through the following methods 1 and 2.
方式1way 1
可选地,本申请实施例中,第一输入可以包括第一子输入和第二子输入,上述的步骤101具体可以通过下述的步骤101a和步骤101b实现,上述的步骤102具体可以通过下述的步骤A和步骤B实现。Optionally, in this embodiment of the present application, the first input may include a first sub-input and a second sub-input, the above-mentioned step 101 may be specifically implemented through the following steps 101a and 101b, and the above-mentioned step 102 may be specifically implemented through the following Steps A and B mentioned above are realized.
步骤101a、电子设备接收用户在第一对象上的第一子输入。Step 101a, the electronic device receives a first sub-input from a user on a first object.
步骤A、电子设备响应于第一子输入,按照目标布局,显示N个第一缩略对象。Step A, the electronic device displays N first thumbnail objects according to the target layout in response to the first sub-input.
步骤101b、电子设备接收用户对N个第一缩略对象中的第一目标缩略对象的第二子输入。In step 101b, the electronic device receives a second sub-input from the user on the first target thumbnail object among the N first thumbnail objects.
步骤B、电子设备响应于第二子输入,显示第二对象,第一目标缩略对象用于指示第二对象。Step B. The electronic device displays the second object in response to the second sub-input, and the first target thumbnail object is used to indicate the second object.
其中,上述N个第一缩略对象中的每个第一缩略对象可以用于指示上述M个对象中的一个对象,N可以为小于或等于M的正整数。Wherein, each of the above-mentioned N first thumbnail objects may be used to indicate one of the above-mentioned M objects, and N may be a positive integer less than or equal to M.
本申请实施例中,当电子设备按照目标布局,显示N个第一缩略对象时:N个第一缩略对象之间的布局与该N个第一缩略对象指示的N个之间的布局相同。In the embodiment of the present application, when the electronic device displays N first thumbnail objects according to the target layout: the layout between the N first thumbnail objects and the layout between the N indicated by the N first thumbnail objects The layout is the same.
可选地,本申请实施例中,第一子输入可以为用户在第一对象上的悬浮输入、触控输入或语音输入等任意形式的可以触发电子设备按照目标布局,显示N个第一缩略对象的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the present application, the first sub-input can be any form such as the user's hover input, touch input, or voice input on the first object, which can trigger the electronic device to display N first thumbnails according to the target layout. The input of the strategy object can be specifically determined according to actual usage requirements, and is not limited in this embodiment of the present application.
可选地,本申请实施例中,第二子输入可以为用户对第一目标缩略对象的悬浮输入、触控输入等任意形式的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the application, the second sub-input can be any form of input such as hovering input or touch input by the user on the first target thumbnail object. limited.
需要说明的是,电子设备按照目标布局,显示N个第一缩略对象的目的是:为了使用户能够查看M个对象中的N个对象之间的布局,实际使用中,电子设备也可以不按照目标布局显示N个第一缩略对象。It should be noted that the purpose of displaying the N first thumbnail objects according to the target layout of the electronic device is to enable the user to view the layout among the N objects among the M objects. In actual use, the electronic device may not N first thumbnail objects are displayed according to the target layout.
可选地,本申请实施例中,上述N个第一缩略对象指示的N个对象中可以为上述M个对象中的全部普通对象和全部独立对象。Optionally, in this embodiment of the present application, the N objects indicated by the above N first abbreviated objects may be all common objects and all independent objects in the above M objects.
可以理解,本申请实施例中,电子设备的机主用户可以根据其实际使用需求,设置用于触发N个第一缩略对象的第一子输入,以保护机主用户的隐私,例如避免非机主用户查看和/或使用独立对象中的内容。It can be understood that in the embodiment of the present application, the owner user of the electronic device can set the first sub-input for triggering the N first thumbnail objects according to the actual use requirements, so as to protect the privacy of the owner user, for example, to avoid illegal The owner user views and/or uses the content in the individual object.
可选地,本申请实施例中,第二对象可以为M个对象中的一个普通对象或者可以为M个对象中的一个独立对象。Optionally, in this embodiment of the present application, the second object may be a common object among the M objects or may be an independent object among the M objects.
本申请实施例中,由于用户可以通过在第一对象上的第一子输入,触发电子设备显示与M个对象中的N个对象一一对应的N个第一缩略对象,从而用户可以通过第二子输入,触发电子设备显示该N个第一缩略对象中的任一个缩略对象指示的对象,因此可以进一步提高电子设备切换对象的灵活性。In the embodiment of the present application, since the user can trigger the electronic device to display N first thumbnail objects corresponding to N objects in the M objects one-to-one through the first sub-input on the first object, the user can pass The second sub-input triggers the electronic device to display the object indicated by any one of the N first thumbnail objects, so that the flexibility of the electronic device to switch objects can be further improved.
方式2way 2
可选地,本申请实施例中,上述第一输入包括第三子输入、第四子输入和第五子输入;上述的步骤101具体可以通过下述的步骤101c至步骤101e实现,上述的步骤102具体可以通过下述的步骤C、步骤D和步骤E实现。Optionally, in the embodiment of the present application, the above-mentioned first input includes the third sub-input, the fourth sub-input and the fifth sub-input; the above-mentioned step 101 can be specifically implemented through the following steps 101c to 101e, the above-mentioned steps 102 can be specifically implemented through the following steps C, D, and E.
步骤101c、电子设备接收用户在第一对象上的第三子输入。Step 101c, the electronic device receives a third sub-input from the user on the first object.
步骤C、电子设备响应于第三子输入,按照目标布局,显示N个第二缩略对象,每个第二缩略对象用于指示上述M个对象中未隐藏的一个对象,N为小于M的正整数。Step C, the electronic device responds to the third sub-input, and displays N second thumbnail objects according to the target layout, each second thumbnail object is used to indicate an unhidden object among the above-mentioned M objects, and N is less than M positive integer of .
可选地,本申请实施例中,N个第二缩略对象与上述N个第一缩略对象可以相同,也可以不同。Optionally, in this embodiment of the present application, the N second thumbnail objects may be the same as or different from the foregoing N first thumbnail objects.
对于步骤101c和步骤102c的其他描述,具体可以参见对上述步骤101a和步骤 102a的相关描述,为了避免重复,此处不再赘述。For other descriptions of step 101c and step 102c, please refer to the relevant description of the above-mentioned step 101a and step 102a for details, and in order to avoid repetition, details are not repeated here.
步骤101d、电子设备接收用户的第四子输入。Step 101d, the electronic device receives the user's fourth sub-input.
步骤D、电子设备响应于第四子输入,保持显示N个第二缩略对象,并按照目标布局,显示Q个第三缩略对象,每个第三缩略对象用于指示M个对象中隐藏的一个对象,Q可以为大于或等于0的整数。Step D. The electronic device keeps displaying N second thumbnail objects in response to the fourth sub-input, and displays Q third thumbnail objects according to the target layout, and each third thumbnail object is used to indicate M objects A hidden object, Q can be an integer greater than or equal to 0.
可以理解,本申请实施例中,Q+N可以小于或等于M,即第二子输入用于触发显示M个对象中隐藏的至少部分对象。可以理解,本申请实施例中,隐藏的对象可以为隐私性高的对象。It can be understood that, in this embodiment of the present application, Q+N may be less than or equal to M, that is, the second sub-input is used to trigger display of at least some hidden objects among the M objects. It can be understood that in this embodiment of the present application, the hidden object may be an object with high privacy.
可选地,本申请实施例中,第四子输入可以为用户设置的特殊手势或特殊语音输入等任意可以触发电子设备保持显示N个第二缩略对象,并按照目标布局,显示Q个第三缩略对象的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the application, the fourth sub-input can be any special gesture or special voice input set by the user, which can trigger the electronic device to keep displaying N second thumbnail objects, and display Q second thumbnail objects according to the target layout. The input of the three abbreviated objects can be specifically determined according to actual usage requirements, which is not limited in this embodiment of the present application.
步骤101e、电子设备接收用户对Q个第三缩略对象中的第二目标缩略对象的第五子输入。In step 101e, the electronic device receives a fifth sub-input from the user on the second target thumbnail object among the Q third thumbnail objects.
步骤E、电子设备响应于第五子输入,显示第二对象,第二目标缩略对象用于指示第二对象。Step E, the electronic device displays the second object in response to the fifth sub-input, and the second target thumbnail object is used to indicate the second object.
可选地,本申请实施例中,第五子输入可以为用户对第二目标缩略对象的触控输入、预设手势的输入等,具体可以根据实际使用需求确定。Optionally, in this embodiment of the present application, the fifth sub-input may be a user's touch input on the second target thumbnail object, input of a preset gesture, etc., which may be specifically determined according to actual usage requirements.
可以理解,本申请实施例中,第四子输入与第五子输入不同。It can be understood that, in this embodiment of the present application, the fourth sub-input is different from the fifth sub-input.
本申请实施例中,第二目标缩略对象指示的对象与第一目标缩略对象指示的对象不同。In the embodiment of the present application, the object indicated by the second target abbreviated object is different from the object indicated by the first target abbreviated object.
下面结合附图对本申请实施例提供的对象切换方法进行示例性地说明。The object switching method provided by the embodiment of the present application will be exemplarily described below with reference to the accompanying drawings.
示例性地,假设电子设备的桌面包括9个未隐藏的界面和1个隐藏的界面0(即M=10),电子设备当前显示界面1(即第一对象),若用户在界面1上长按(即第三子输入),则如图3中的(a)所示,电子设备可以在界面1上叠加显示一个窗口,并按照10个界面之间的布局,在该窗口中显示9个未隐藏的界面的9个缩略图(即N个第二缩略对象),此时用户可以在该窗口上沿逆时针方向画圆(即第四子输入),如图3中的(b)所示,电子设备可以在保持显示该9个缩略图的同时,按照10个界面之间的布局,在该窗口中显示界面0的缩略图30(即Q个第三缩略对象)。如此,用户可以在缩略图30上点击(即第五子输入),以触发电子设备显示缩略图30指示的界面0(即第二对象)。Exemplarily, it is assumed that the desktop of the electronic device includes 9 unhidden interfaces and 1 hidden interface 0 (that is, M=10), and the electronic device currently displays interface 1 (that is, the first object). Press (i.e. the third sub-input), as shown in (a) in Figure 3, the electronic device can superimpose a window on interface 1, and display 9 interfaces in this window according to the layout between 10 interfaces 9 thumbnails of the unhidden interface (i.e. N second thumbnail objects), at this time the user can draw a circle counterclockwise on the window (i.e. the fourth sub-input), as shown in (b) in Figure 3 As shown, the electronic device can display the thumbnail image 30 of interface 0 (that is, Q third thumbnail objects) in the window according to the layout among the 10 interfaces while maintaining the display of the 9 thumbnail images. In this way, the user can click on the thumbnail image 30 (ie, the fifth sub-input) to trigger the electronic device to display the interface 0 (ie, the second object) indicated by the thumbnail image 30 .
本申请实施例中,由于用户可以通过在第一对象上的第三子输入,触发电子设备显示与M个对象中未隐藏的N个对象一一对应的N个第二缩略对象,并通过第四子输入触发电子设备在保持显示N个第二缩略对象的同时,按照M个对象之间的布局显示与M个对象中隐藏的Q个隐藏的对象一一对应的Q个第三缩略对象,从而用户可以通过第五子输入,触发电子设备显示M个对象中的隐藏的任一个对象,因此可以进 一步提高电子设备切换对象的灵活性。In the embodiment of the present application, since the user can trigger the electronic device to display N second thumbnail objects that correspond one-to-one to the N objects that are not hidden among the M objects through the third sub-input on the first object, and through The fourth sub-input triggers the electronic device to display Q third thumbnail objects one-to-one corresponding to the hidden Q hidden objects among the M objects according to the layout among the M objects while maintaining display of the N second thumbnail objects. Therefore, the user can trigger the electronic device to display any hidden object among the M objects through the fifth sub-input, so the flexibility of the electronic device to switch objects can be further improved.
进一步地,由于需要通过一个专门的输入(例如第四子输入),才能触发电子设备显示M个中隐藏的一个或多个对象的缩略对象,因此可以在简化电子设备切换对象的过程的基础上,提高电子设备切换对象的安全性。Further, since a special input (for example, the fourth sub-input) is required to trigger the electronic device to display the thumbnail objects of one or more hidden objects among the M, it is possible to simplify the process of switching objects by the electronic device To improve the security of electronic equipment switching objects.
在本申请实施例提供的对象切换方法中,由于多个对象(例如M个对象)之间的布局为用户触发电子设备设置的,因此在电子设备显示该多个对象中的一个对象(例如第一对象)的情况下,当用户需求查看该多个对象中的另一个对象(例如第二对象)时,用户可以通过一个输入,触发电子设备根据用户设置好的该多个对象之间的布局和该输入的输入参数直接显示该另一个对象,而无需像传统技术一样需要用户执行一系列操作才能触发电子设备切换至用户需求查看的对象,如此可以简化电子设备切换对象的过程。In the object switching method provided in the embodiment of the present application, since the layout among multiple objects (such as M objects) is set by the user triggering the electronic device, an object (such as the first M objects) among the multiple objects is displayed on the electronic device. In the case of one object), when the user needs to view another object (such as the second object) among the plurality of objects, the user can trigger the electronic device according to the layout among the plurality of objects set by the user through an input The other object can be displayed directly with the input parameters of the input, without requiring the user to perform a series of operations to trigger the electronic device to switch to the object that the user needs to view as in the traditional technology, which can simplify the process of switching the object by the electronic device.
为了便于理解本申请实施例提供的对象切换方法,下面对M个对象之间的目标布局的设置方法进行详细说明。In order to facilitate the understanding of the object switching method provided by the embodiment of the present application, the method for setting the target layout among M objects will be described in detail below.
可选地,本申请实施例中,在上述步骤101之前,本申请实施例提供的对象切换方法还可以包括下述的步骤103至步骤106。Optionally, in the embodiment of the present application, before the above step 101, the object switching method provided in the embodiment of the present application may further include the following steps 103 to 106.
步骤103、电子设备接收用户的第二输入。Step 103, the electronic device receives a second input from the user.
步骤104、电子设备响应于第二输入,显示布局设置界面。Step 104, the electronic device displays a layout setting interface in response to the second input.
可选地,本申请实施例中,第二输入可以为悬浮输入、触控输入或语音输入等任意形式的可以触发电子设备显示布局设置界面的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the application, the second input can be any form of input that can trigger the electronic device to display the layout setting interface, such as floating input, touch input, or voice input. Examples are not limited.
可选地,本申请实施例中,布局设置界面中可以包括M个第四缩略对象,每个第四缩略对象用于指示M个对象中的一个对象。Optionally, in this embodiment of the present application, the layout setting interface may include M fourth thumbnail objects, and each fourth thumbnail object is used to indicate one of the M objects.
可选地,本申请实施例中,布局设置界面中还可以包括P个布局位置,P可以为大于或等于M的整数。Optionally, in this embodiment of the present application, the layout setting interface may further include P layout positions, and P may be an integer greater than or equal to M.
可选地,本申请实施例中,上述P个布局位置在布局设置界面中可以以行列分布的方式显示,例如10个布局位置可以分布在布局设置界面中的2行5列。Optionally, in the embodiment of the present application, the above P layout positions may be displayed in a row and column distribution manner in the layout setting interface, for example, 10 layout positions may be distributed in 2 rows and 5 columns in the layout setting interface.
可选地,本申请实施例中,布局设置界面中的M个第四缩略对象可以位于P个布局位置中的任意M个布局位置上。Optionally, in this embodiment of the present application, the M fourth thumbnail objects in the layout setting interface may be located at any M layout positions among the P layout positions.
可选地,本申请实施例中,布局设置界面中也可以包括两个区域,其中,第一区域中包括P个布局位置,第二区域可以用于显示M个第四缩略对象。这样,用户可以通过将该M个第四缩略对象依次移动至第一区域中的M个布局位置上,以对该M个第四缩略对象的布局进行调整。Optionally, in this embodiment of the present application, the layout setting interface may also include two areas, wherein the first area includes P layout positions, and the second area may be used to display M fourth thumbnail objects. In this way, the user can adjust the layout of the M fourth thumbnail objects by sequentially moving the M fourth thumbnail objects to the M layout positions in the first area.
步骤105、电子设备接收用户的第三输入。Step 105, the electronic device receives a third input from the user.
步骤106、电子设备响应于第三输入,调整M个第四缩略对象之间的布局,并确定目标布局为M个第四缩略对象之间的布局。Step 106, the electronic device adjusts the layout among the M fourth thumbnail objects in response to the third input, and determines that the target layout is the layout among the M fourth thumbnail objects.
可选地,本申请实施例中,第三输入可以为悬浮输入或触控输入等任意形式的可以触发电子设备调整M个第四缩略对象之间的布局的输入,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in the embodiment of the present application, the third input can be any form of input such as hover input or touch input that can trigger the electronic device to adjust the layout among the M fourth thumbnail objects, which can be specifically determined according to actual use requirements. Definitely, the embodiment of this application is not limited.
示例性地,以第三输入为触控输入为例,假设第三输入为用户在第四缩略对象上的长按滑动输入,又假设电子设备的桌面包括10个界面,那么用户可以通过输入“显示布局设置界面”(即第二输入),如图4中的(a)所示,电子设备可以显示布局设置界面40,该布局设置界面40包括分布在3行5列中的15个布局位置(即P个布局位置),且与10个界面一一对应的10个缩略图位于该15个布局位置中的10个布局位置上。如图4中的(b)所示,若用户通过长按界面9对应的缩略图并将其拖动至布局位置41(即第三输入),那么调整后的10个缩略图之间的布局如图4中的(c)所示,然后电子设备可以将调整后的10个缩略图之间的布局确定为目标布局。Exemplarily, taking the third input as a touch input as an example, assuming that the third input is the user's long press and slide input on the fourth thumbnail object, and assuming that the desktop of the electronic device includes 10 interfaces, then the user can input "Display the layout setting interface" (i.e. the second input), as shown in (a) in Figure 4, the electronic device can display the layout setting interface 40, and the layout setting interface 40 includes 15 layouts distributed in 3 rows and 5 columns position (that is, P layout positions), and the 10 thumbnails corresponding to the 10 interfaces are located at 10 layout positions among the 15 layout positions. As shown in (b) in Figure 4, if the user long presses the thumbnail corresponding to the interface 9 and drags it to the layout position 41 (i.e. the third input), then the adjusted layout between the 10 thumbnails As shown in (c) of FIG. 4 , the electronic device may then determine the adjusted layout among the 10 thumbnails as the target layout.
可选地,本申请实施例中,当M个对象为M个图片,或者,M个对象为多个应用程序中的界面时,布局设置界面中还可以包括一个添加控件,该添加控件可以用于向布局设置界面中添加对象的缩略对象,如此用户可以先根据其实际使用,触发电子设备将一个或多个对象的缩略对象添加至布局设置界面,然后再通过输入对布局设置界面中的缩略对象的布局进行调整。Optionally, in the embodiment of the present application, when the M objects are M pictures, or when the M objects are interfaces in multiple application programs, the layout setting interface may also include an add control, and the add control may be used It is used to add thumbnails of objects to the layout setting interface, so that the user can first trigger the electronic device to add one or more thumbnails of objects to the layout setting interface according to its actual use, and then input the thumbnails of the objects in the layout setting interface. The layout of the thumbnail objects is adjusted.
可选地,本申请实施例中,当M个对象为桌面中的界面时,布局设置界面还可以包括创建控件,该创建控件用于新增桌面中的界面。Optionally, in this embodiment of the present application, when the M objects are interfaces on the desktop, the layout setting interface may further include a creation control, which is used to add an interface on the desktop.
可选地,本申请实施例中,上述创建控件可以包括两个子控件,一个子控件用于触发创建独立界面,另一个子控件可以用于创建隐藏界面。Optionally, in this embodiment of the present application, the above creation control may include two sub-controls, one sub-control is used to trigger the creation of an independent interface, and the other sub-control may be used to create a hidden interface.
本申请实施例中,由于用户可以通过输入触发电子设备显示布局设置界面,并在该布局设置界面上调整M个第四缩略对象之间的布局,从而电子设备可以将调整后的布局确定为目标布局,如此,电子设备可以按照用户调整的布局和第一输入的输入参数显示第二对象,因此可以进一步提高电子设备切换对象的灵活性。In the embodiment of the present application, since the user can trigger the electronic device to display the layout setting interface through input, and adjust the layout among the M fourth thumbnail objects on the layout setting interface, the electronic device can determine the adjusted layout as The target layout, in this way, the electronic device can display the second object according to the layout adjusted by the user and the input parameters input by the first input, so the flexibility of the electronic device to switch objects can be further improved.
需要说明的是,本申请实施例提供的对象切换方法,执行主体可以为对象切换装置,或者该对象切换装置中的用于执行对象切换方法的控制模块。本申请实施例中以对象切换装置执行对象切换方法为例,说明本申请实施例提供的对象切换装置。It should be noted that, the object switching method provided in the embodiment of the present application may be executed by an object switching device, or a control module in the object switching device for executing the object switching method. In the embodiment of the present application, the object switching device provided in the embodiment of the present application is described by taking the object switching method performed by the object switching device as an example.
结合图5,本申请实施例提供一种对象切换装置50,该对象切换装置50可以可以包括:显示模块51和接收模块52;显示模块51,可以用于显示第一对象,第一对象为M个对象中的对象;接收模块52,可以用于接收用户的第一输入;显示模块51,还可以用于响应于接收模块52接收的第一输入,根据目标信息和第一输入的输入参数,显示该M个对象中的第二对象,目标信息可以用于指示该M个对象之间的目标布局;其中,目标布局为用户触发设置的,M为大于1的整数。5, the embodiment of the present application provides an object switching device 50, the object switching device 50 can include: a display module 51 and a receiving module 52; the display module 51 can be used to display the first object, the first object is M The object in the object; the receiving module 52 can be used to receive the first input of the user; the display module 51 can also be used to respond to the first input received by the receiving module 52, according to the target information and the input parameters of the first input, The second object among the M objects is displayed, and the target information may be used to indicate a target layout among the M objects; wherein, the target layout is triggered and set by a user, and M is an integer greater than 1.
一种可能的实现方式中,上述显示模块51,具体可以用于在接收模块52接收的第一输入的输入参数符合第一预设参数的情况下,显示该M个对象中与第一对象相邻 的一个第三对象;或者,显示模块51,具体可以用于在接收模块52接收的第一输入的输入参数符合第二预设参数的情况下,显示该M个对象中不存在相邻对象的一个第四对象;或者,显示模块51,具体可以用于在接收模块52接收的第一输入的输入参数符合第三预设参数的情况下,显示该M个对象中位于第一对象的对角线上的一个第五对象。In a possible implementation manner, the above-mentioned display module 51 can be specifically configured to display the M objects that are related to the first object when the input parameter of the first input received by the receiving module 52 conforms to the first preset parameter. Or, the display module 51 can specifically be used to display that there is no adjacent object among the M objects when the input parameter of the first input received by the receiving module 52 conforms to the second preset parameter or, the display module 51 can specifically be used to display the pair located in the first object among the M objects when the input parameter of the first input received by the receiving module 52 conforms to the third preset parameter A fifth object on the corner.
一种可能的实现方式中,上述第一输入可以包括第一子输入和第二子输入;显示模块51,具体可以用于响应于用户在第一对象上的第一子输入,按照目标布局,显示N个第一缩略对象,每个第一缩略对象可以用于指示该M个对象中的一个对象,N为小于或等于M的正整数;显示模块51,具体可以用于响应于用户对该N个第一缩略对象中的第一目标缩略对象的第二子输入,显示第二对象,第一目标缩略对象可以用于指示第二对象。In a possible implementation manner, the above-mentioned first input may include a first sub-input and a second sub-input; the display module 51 may specifically be configured to, in response to the user's first sub-input on the first object, according to the target layout, Displaying N first thumbnail objects, each first thumbnail object can be used to indicate an object in the M objects, N is a positive integer less than or equal to M; the display module 51 can specifically be used to respond to the user For the second sub-input of the first target thumbnail object among the N first thumbnail objects, the second object is displayed, and the first target thumbnail object can be used to indicate the second object.
一种可能的实现方式中,上述第一输入可以包括第三子输入、第四子输入和第五子输入;显示模块51,具体可以用于响应于用户的第三子输入,按照目标布局,显示N个第二缩略对象,每个第二缩略对象可以用于指示该M个对象中未隐藏的一个对象,N为小于M的正整数;显示模块51,具体可以用于响应于用户的第四子输入,保持显示该N个第二缩略对象,并按照目标布局,显示Q个第三缩略对象,每个第三缩略对象可以用于指示该M个对象中隐藏的一个对象,Q为大于或等于0的整数;显示模块51,具体可以用于响应于用户对该Q个第三缩略对象中的第二目标缩略对象的第五子输入,显示第二对象,第二目标缩略对象可以用于指示第二对象。In a possible implementation manner, the above-mentioned first input may include a third sub-input, a fourth sub-input, and a fifth sub-input; the display module 51 may specifically be configured to, in response to the user's third sub-input, according to the target layout, Displaying N second thumbnail objects, each second thumbnail object can be used to indicate an unhidden object among the M objects, N is a positive integer smaller than M; the display module 51 can specifically be used to respond to user The fourth sub-input keeps displaying the N second thumbnail objects, and displays Q third thumbnail objects according to the target layout, and each third thumbnail object can be used to indicate a hidden one of the M objects object, Q is an integer greater than or equal to 0; the display module 51 may specifically be configured to display the second object in response to the fifth sub-input of the second target abbreviated object among the Q third abbreviated objects by the user, A second target thumbnail object may be used to indicate a second object.
一种可能的实现方式中,上述对象切换装置还可以包括控制模块。接收模块52,还可以用于在接收用户的第一输入之前,接收用户的第二输入;显示模块51,还可以用于响应于接收模块52接收的第二输入,显示布局设置界面,布局设置界面中可以包括M个第四缩略对象,每个第四缩略对象可以用于指示该M个对象中的一个对象;接收模块52,还可以用于接收用户的第三输入;控制模块,可以用于响应于接收模块52接收的第二输入,调整该M个第四缩略对象之间的布局,并确定目标布局为调整布局后的该M个第四缩略对象之间的布局。In a possible implementation manner, the above object switching device may further include a control module. The receiving module 52 can also be used to receive the user's second input before receiving the user's first input; the display module 51 can also be used to display the layout setting interface in response to the second input received by the receiving module 52, layout setting The interface may include M fourth thumbnail objects, and each fourth thumbnail object may be used to indicate one of the M objects; the receiving module 52 may also be used to receive a third input from the user; the control module, It may be used to adjust the layout among the M fourth thumbnail objects in response to the second input received by the receiving module 52, and determine the target layout as the layout among the M fourth thumbnail objects after the layout is adjusted.
在本申请实施例提供的对象切换装置中,由于多个对象(例如M个对象)之间的布局为用户触发电子设备设置的,因此在电子设备显示该多个对象中的一个对象(例如第一对象)的情况下,当用户需求查看该多个对象中的另一个对象(例如第二对象)时,用户可以通过一个输入,触发对象切换装置根据用户设置好的该多个对象之间的布局和该输入的输入参数直接显示该另一个对象,而无需像传统技术一样需要用户执行一系列操作才能触发切换至用户需求查看的对象,如此可以简化对象切换装置切换对象的过程。In the object switching device provided in the embodiment of the present application, since the layout among multiple objects (such as M objects) is set by the user triggering the electronic device, one object (such as the first M objects) among the multiple objects is displayed on the electronic device. In the case of one object), when the user needs to view another object (such as the second object) among the multiple objects, the user can trigger the object switching device according to the number of objects set by the user through an input. The layout and the input parameters of the input directly display the other object, without requiring the user to perform a series of operations to trigger switching to the object that the user needs to view, as in the traditional technology, which can simplify the process of switching objects by the object switching device.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For the beneficial effects of the various implementations in this embodiment, refer to the beneficial effects of the corresponding implementations in the foregoing method embodiments. To avoid repetition, details are not repeated here.
本申请实施例中的对象切换装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The object switching device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的对象切换装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The object switching device in this embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的对象切换装置能够实现图1至图4的方法实施例实现的各个过程,为避免重复,这里不再赘述。The object switching device provided in the embodiment of the present application can implement various processes implemented by the method embodiments in FIG. 1 to FIG. 4 , and details are not repeated here to avoid repetition.
如图6所示,本申请实施例还提供一种电子设备200,包括处理器202,存储器201,存储在存储器201上并可在处理器202上运行的程序或指令,该程序或指令被处理器202执行时实现上述对象切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。As shown in Figure 6, the embodiment of the present application also provides an electronic device 200, including a processor 202, a memory 201, a program or instruction stored in the memory 201 and operable on the processor 202, the program or instruction is processed When executed by the device 202, each process of the above-mentioned object switching method embodiment can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图7为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 7 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图7中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 7 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
其中,显示单元1006,可以用于显示第一对象,第一对象为M个对象中的对象;用户输入单元1007,可以用于接收用户的第一输入;显示单元1006,还可以用于响应于用户输入单元1007接收的第一输入,根据目标信息和第一输入的输入参数,显示该M个对象中的第二对象,目标信息可以用于指示该M个对象之间的目标布局;其中,目标布局为用户触发设置的,M为大于1的整数。Wherein, the display unit 1006 can be used to display the first object, and the first object is an object in the M objects; the user input unit 1007 can be used to receive the first input from the user; the display unit 1006 can also be used to respond to The first input received by the user input unit 1007 displays the second object among the M objects according to the target information and the input parameters of the first input, and the target information can be used to indicate the target layout among the M objects; wherein, The target layout is set by user trigger, and M is an integer greater than 1.
一种可能的实现方式中,上述显示单元1006,具体可以用于在用户输入单元1007接收的第一输入的输入参数符合第一预设参数的情况下,显示该M个对象中与第一对象相邻的一个第三对象;或者,显示单元1006,具体可以用于在用户输入单元1007 接收的第一输入的输入参数符合第二预设参数的情况下,显示该M个对象中不存在相邻对象的一个第四对象;或者,显示单元1006,具体可以用于在用户输入单元1007接收的第一输入的输入参数符合第三预设参数的情况下,显示该M个对象中位于第一对象的对角线上的一个第五对象。In a possible implementation manner, the above-mentioned display unit 1006 may specifically be configured to display the first object among the M objects when the input parameter of the first input received by the user input unit 1007 conforms to the first preset parameter. An adjacent third object; or, the display unit 1006 may be specifically configured to display that there is no corresponding object among the M objects when the input parameter of the first input received by the user input unit 1007 conforms to the second preset parameter. A fourth object adjacent to the object; or, the display unit 1006 may specifically be configured to display the first object among the M objects when the input parameter of the first input received by the user input unit 1007 conforms to the third preset parameter. A fifth object on the diagonal of the object.
一种可能的实现方式中,上述第一输入可以包括第一子输入和第二子输入;显示单元1006,具体可以用于响应于用户在第一对象上的第一子输入,按照目标布局,显示N个第一缩略对象,每个第一缩略对象可以用于指示该M个对象中的一个对象,N为小于或等于M的正整数;显示单元1006,具体可以用于响应于用户对该N个第一缩略对象中的第一目标缩略对象的第二子输入,显示第二对象,第一目标缩略对象可以用于指示第二对象。In a possible implementation manner, the above-mentioned first input may include a first sub-input and a second sub-input; the display unit 1006 may specifically be configured to, in response to the user's first sub-input on the first object, according to the target layout, Displaying N first thumbnail objects, each first thumbnail object can be used to indicate an object in the M objects, N is a positive integer less than or equal to M; the display unit 1006 can specifically be used to respond to the user For the second sub-input of the first target thumbnail object among the N first thumbnail objects, the second object is displayed, and the first target thumbnail object can be used to indicate the second object.
一种可能的实现方式中,上述第一输入可以包括第三子输入、第四子输入和第五子输入;显示单元1006,具体可以用于响应于用户的第三子输入,按照目标布局,显示N个第二缩略对象,每个第二缩略对象可以用于指示该M个对象中未隐藏的一个对象,N为小于M的正整数;显示单元1006,具体可以用于响应于用户的第四子输入,保持显示该N个第二缩略对象,并按照目标布局,显示Q个第三缩略对象,每个第三缩略对象可以用于指示该M个对象中隐藏的一个对象,Q为大于或等于0的整数;显示单元1006,具体可以用于响应于用户对该Q个第三缩略对象中的第二目标缩略对象的第五子输入,显示第二对象,第二目标缩略对象可以用于指示第二对象。In a possible implementation manner, the above-mentioned first input may include a third sub-input, a fourth sub-input, and a fifth sub-input; the display unit 1006 may specifically be configured to, in response to the user's third sub-input, according to the target layout, Displaying N second thumbnail objects, each second thumbnail object can be used to indicate an unhidden object among the M objects, N is a positive integer smaller than M; the display unit 1006 can specifically be used to respond to the user The fourth sub-input keeps displaying the N second thumbnail objects, and displays Q third thumbnail objects according to the target layout, and each third thumbnail object can be used to indicate a hidden one of the M objects object, Q is an integer greater than or equal to 0; the display unit 1006 may specifically be configured to display the second object in response to the user's fifth sub-input of the second target abbreviated object among the Q third abbreviated objects, A second target thumbnail object may be used to indicate a second object.
一种可能的实现方式中,用户输入单元1007,还可以用于在接收用户的第一输入之前,接收用户的第二输入;显示单元1006,还可以用于响应于用户输入单元1007接收的第二输入,显示布局设置界面,布局设置界面中可以包括M个第四缩略对象,每个第四缩略对象可以用于指示该M个对象中的一个对象;用户输入单元1007,还可以用于接收用户的第三输入;处理器1010,可以用于响应于用户输入单元1007接收的第二输入,调整该M个第四缩略对象之间的布局,并确定目标布局为调整布局后的该M个第四缩略对象之间的布局。In a possible implementation manner, the user input unit 1007 may also be configured to receive a second input from the user before receiving the first input from the user; the display unit 1006 may also be configured to respond to the second input received by the user input unit 1007. Two input, display the layout setting interface, the layout setting interface may include M fourth thumbnail objects, and each fourth thumbnail object may be used to indicate an object in the M objects; the user input unit 1007 may also use for receiving the third input from the user; the processor 1010 may be configured to adjust the layout among the M fourth thumbnail objects in response to the second input received by the user input unit 1007, and determine the target layout as the adjusted layout The layout among the M fourth thumbnail objects.
在本申请实施例提供的电子设备中,由于多个对象(例如M个对象)之间的布局为用户触发电子设备设置的,因此在电子设备显示该多个对象中的一个对象(例如第一对象)的情况下,当用户需求查看该多个对象中的另一个对象(例如第二对象)时,用户可以通过一个输入,触发电子设备根据用户设置好的该多个对象之间的布局和该输入的输入参数直接显示该另一个对象,而无需像传统技术一样需要用户执行一系列操作才能触发电子设备切换至用户需求查看的对象,如此可以简化电子设备切换对象的过程。In the electronic device provided in the embodiment of the present application, since the layout among multiple objects (such as M objects) is set for the user to trigger the electronic device, one object (such as the first object) among the multiple objects is displayed on the electronic device. object), when the user needs to view another object (such as the second object) among the plurality of objects, the user can trigger the electronic device to trigger the electronic device according to the layout and layout among the plurality of objects set by the user through an input The input parameter directly displays the other object, without requiring the user to perform a series of operations to trigger the electronic device to switch to the object that the user needs to view as in the traditional technology, thus simplifying the process of switching objects by the electronic device.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For the beneficial effects of the various implementations in this embodiment, refer to the beneficial effects of the corresponding implementations in the foregoing method embodiments. To avoid repetition, details are not repeated here.
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics  Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。It should be understood that, in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used by the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072 . The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here. The memory 1009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述对象切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, each process of the above-mentioned embodiment of the object switching method can be achieved, and can achieve the same Technical effects, in order to avoid repetition, will not be repeated here.
其中,上述处理器为上述实施例中的电子设备中的处理器。上述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the above-mentioned processor is the processor in the electronic device in the above-mentioned embodiment. The above-mentioned readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述对象切换方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the various processes of the above object switching method embodiment, and can achieve the same To avoid repetition, the technical effects will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现 有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (15)

  1. 一种对象切换方法,所述方法包括:A method for object switching, the method comprising:
    显示第一对象,所述第一对象为M个对象中的对象;displaying a first object, where the first object is an object in the M objects;
    接收用户的第一输入;receiving a first input from the user;
    响应于所述第一输入,根据目标信息和所述第一输入的输入参数,显示所述M个对象中的第二对象,所述目标信息用于指示所述M个对象之间的目标布局;In response to the first input, displaying a second object among the M objects according to target information and input parameters of the first input, the target information being used to indicate a target layout among the M objects ;
    其中,所述目标布局为用户触发设置的,M为大于1的整数。Wherein, the target layout is triggered and set by the user, and M is an integer greater than 1.
  2. 根据权利要求1所述的方法,其中,所述根据目标信息和所述第一输入的输入参数,显示所述M个对象中的第二对象,包括:The method according to claim 1, wherein the displaying the second object among the M objects according to the target information and the input parameters of the first input comprises:
    在所述第一输入的输入参数符合第一预设参数的情况下,显示所述M个对象中与所述第一对象相邻的一个第三对象;When the input parameters of the first input conform to the first preset parameters, display a third object adjacent to the first object among the M objects;
    在所述第一输入的输入参数符合第二预设参数的情况下,显示所述M个对象中不存在相邻对象的一个第四对象;In the case where the input parameter of the first input conforms to the second preset parameter, displaying a fourth object that does not have an adjacent object among the M objects;
    在所述第一输入的输入参数符合第三预设参数的情况下,显示所述M个对象中位于所述第一对象的对角线上的一个第五对象。When the input parameter of the first input conforms to the third preset parameter, displaying a fifth object among the M objects located on a diagonal line of the first object.
  3. 根据权利要求1所述的方法,其中,所述第一输入包括第一子输入和第二子输入;The method of claim 1, wherein the first input comprises a first sub-input and a second sub-input;
    所述响应于所述第一输入,根据目标信息和所述第一输入的输入参数,显示所述M个对象中的第二对象,包括:In response to the first input, displaying the second object among the M objects according to the target information and the input parameters of the first input includes:
    响应于用户在所述第一对象上的所述第一子输入,按照所述目标布局,显示N个第一缩略对象,所述每个第一缩略对象用于指示所述M个对象中的一个对象,N为小于或等于M的正整数;In response to the first sub-input by the user on the first object, according to the target layout, N first thumbnail objects are displayed, and each first thumbnail object is used to indicate the M objects An object in , N is a positive integer less than or equal to M;
    响应于用户对所述N个第一缩略对象中的第一目标缩略对象的所述第二子输入,显示第二对象,所述第一目标缩略对象用于指示所述第二对象。displaying a second object in response to the user's second sub-input on a first target thumbnail object among the N first thumbnail objects, the first target thumbnail object being used to indicate the second object .
  4. 根据权利要求1所述的方法,其中,所述第一输入包括第三子输入、第四子输入和第五子输入;The method of claim 1, wherein the first input includes a third sub-input, a fourth sub-input, and a fifth sub-input;
    所述响应于所述第一输入,根据目标信息和所述第一输入的输入参数,显示所述M个对象中的第二对象,包括:In response to the first input, displaying the second object among the M objects according to the target information and the input parameters of the first input includes:
    响应于用户的所述第三子输入,按照所述目标布局,显示N个第二缩略对象,所述每个第二缩略对象用于指示所述M个对象中未隐藏的一个对象,N为小于M的正整数;In response to the third sub-input by the user, displaying N second thumbnail objects according to the target layout, each of the second thumbnail objects is used to indicate an unhidden object among the M objects, N is a positive integer less than M;
    响应于用户的所述第四子输入,保持显示所述N个第二缩略对象,并按照所述目标布局,显示Q个第三缩略对象,所述每个第三缩略对象用于指示所述M个对象中隐藏的一个对象,Q为大于或等于0的整数;In response to the fourth sub-input by the user, keep displaying the N second thumbnail objects, and display Q third thumbnail objects according to the target layout, and each third thumbnail object is used for Indicate a hidden object among the M objects, Q is an integer greater than or equal to 0;
    响应于用户对所述Q个第三缩略对象中的第二目标缩略对象的所述第五子输入, 显示所述第二对象,所述第二目标缩略对象用于指示所述第二对象。displaying the second object in response to the fifth sub-input by the user on the second target thumbnail object among the Q third thumbnail objects, the second target thumbnail object being used to indicate the Two objects.
  5. 根据权利要求1至4中任一项所述的方法,其中,所述接收用户的第一输入之前,所述方法还包括:The method according to any one of claims 1 to 4, wherein, before receiving the user's first input, the method further comprises:
    接收用户的第二输入;receiving a second input from the user;
    响应于所述第二输入,显示布局设置界面,所述布局设置界面中包括M个第四缩略对象,每个第四缩略对象用于指示所述M个对象中的一个对象;In response to the second input, display a layout setting interface, the layout setting interface includes M fourth thumbnail objects, each fourth thumbnail object is used to indicate an object in the M objects;
    接收用户的第三输入;receiving a third input from the user;
    响应于所述第三输入,调整所述M个第四缩略对象之间的布局,并确定所述目标布局为调整布局后的所述M个第四缩略对象之间的布局。In response to the third input, a layout among the M fourth thumbnail objects is adjusted, and the target layout is determined as a layout among the M fourth thumbnail objects after the layout is adjusted.
  6. 一种对象切换装置,所述装置包括显示模块和接收模块;An object switching device, the device comprising a display module and a receiving module;
    所述显示模块,用于显示第一对象,所述第一对象为M个对象中的对象;The display module is configured to display a first object, where the first object is an object in the M objects;
    所述接收模块,用于接收用户的第一输入;The receiving module is configured to receive a first input from a user;
    所述显示模块,还用于响应于所述接收模块接收的所述第一输入,根据目标信息和所述第一输入的输入参数,显示所述M个对象中的第二对象,所述目标信息用于指示所述M个对象之间的目标布局;The display module is further configured to, in response to the first input received by the receiving module, display a second object among the M objects according to target information and input parameters of the first input, the target The information is used to indicate the target layout among the M objects;
    其中,所述目标布局为用户触发设置的,M为大于1的整数。Wherein, the target layout is triggered and set by the user, and M is an integer greater than 1.
  7. 根据权利要求6所述的装置,其中,The apparatus of claim 6, wherein,
    所述显示模块,具体用于在所述接收模块接收的所述第一输入的输入参数符合第一预设参数的情况下,显示所述M个对象中与所述第一对象相邻的一个第三对象;The display module is specifically configured to display one of the M objects that is adjacent to the first object when the input parameter of the first input received by the receiving module conforms to a first preset parameter third object;
    或者,所述显示模块,具体用于在所述接收模块接收的所述第一输入的输入参数符合第二预设参数的情况下,显示所述M个对象中不存在相邻对象的一个第四对象;Or, the display module is specifically configured to display a first input parameter that does not have an adjacent object among the M objects when the input parameter of the first input received by the receiving module conforms to the second preset parameter. four objects;
    或者,所述显示模块,具体用于在所述接收模块接收的所述第一输入的输入参数符合第三预设参数的情况下,显示所述M个对象中位于所述第一对象的对角线上的一个第五对象。Or, the display module is specifically configured to display the pair located at the first object among the M objects when the input parameter of the first input received by the receiving module conforms to a third preset parameter. A fifth object on the corner.
  8. 根据权利要求6所述的装置,其中,所述第一输入包括第一子输入和第二子输入;The apparatus of claim 6, wherein the first input comprises a first sub-input and a second sub-input;
    所述显示模块,具体用于响应于用户在所述第一对象上的所述第一子输入,按照所述目标布局,显示N个第一缩略对象,所述每个第一缩略对象用于指示所述M个对象中的一个对象,N为小于或等于M的正整数;The display module is specifically configured to display N first thumbnail objects according to the target layout in response to the first sub-input by the user on the first object, and each first thumbnail object Used to indicate one of the M objects, N is a positive integer less than or equal to M;
    所述显示模块,具体用于响应于用户对所述N个第一缩略对象中的第一目标缩略对象的所述第二子输入,显示第二对象,所述第一目标缩略对象用于指示所述第二对象。The display module is specifically configured to display a second object in response to the user's second sub-input on the first target thumbnail object among the N first thumbnail objects, and the first target thumbnail object Used to indicate the second object.
  9. 根据权利要求6所述的装置,其中,所述第一输入包括第三子输入、第四子输入和第五子输入;The apparatus of claim 6, wherein the first input comprises a third sub-input, a fourth sub-input and a fifth sub-input;
    所述显示模块,具体用于响应于用户的所述第三子输入,按照所述目标布局,显 示N个第二缩略对象,所述每个第二缩略对象用于指示所述M个对象中未隐藏的一个对象,N为小于M的正整数;The display module is specifically configured to display N second thumbnail objects according to the target layout in response to the third sub-input by the user, and each second thumbnail object is used to indicate the M An unhidden object among objects, N is a positive integer smaller than M;
    所述显示模块,具体用于响应于用户的所述第四子输入,保持显示所述N个第二缩略对象,并按照所述目标布局,显示Q个第三缩略对象,所述每个第三缩略对象用于指示所述M个对象中隐藏的一个对象,Q为大于或等于0的整数;The display module is specifically configured to keep displaying the N second thumbnail objects in response to the fourth sub-input by the user, and display Q third thumbnail objects according to the target layout, and each of the A third abbreviated object is used to indicate an object hidden among the M objects, and Q is an integer greater than or equal to 0;
    所述显示模块,具体用于响应于用户对所述Q个第三缩略对象中的第二目标缩略对象的所述第五子输入,显示所述第二对象,所述第二目标缩略对象用于指示所述第二对象。The display module is specifically configured to display the second object in response to the fifth sub-input by the user on the second target thumbnail object among the Q third thumbnail objects, and the second target thumbnail object An abbreviation object is used to indicate the second object.
  10. 根据权利要求6至9中任一项所述的装置,其中,所述装置还包括控制模块;The device according to any one of claims 6 to 9, wherein the device further comprises a control module;
    所述接收模块,还用于在接收用户的所述第一输入之前,接收用户的第二输入;The receiving module is further configured to receive a second input from the user before receiving the first input from the user;
    所述显示模块,还用于响应于所述接收模块接收的所述第二输入,显示布局设置界面,所述布局设置界面中包括M个第四缩略对象,所述每个第四缩略对象用于指示所述M个对象中的一个对象;The display module is further configured to display a layout setting interface in response to the second input received by the receiving module, the layout setting interface includes M fourth thumbnail objects, and each fourth thumbnail The object is used to indicate an object among the M objects;
    所述接收模块,还用于接收用户的第三输入;The receiving module is further configured to receive a third input from the user;
    所述控制模块,用于响应于所述接收模块接收的所述第二输入,调整所述M个第四缩略对象之间的布局,并确定所述目标布局为调整布局后的所述M个第四缩略对象之间的布局。The control module is configured to adjust the layout among the M fourth thumbnail objects in response to the second input received by the receiving module, and determine that the target layout is the adjusted layout of the M The layout between the fourth thumbnail objects.
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5中任一项所述的对象切换方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and operable on the processor, when the program or instruction is executed by the processor, claims 1 to 5 are realized The steps of any one of the object switching methods.
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5中任一项所述的对象切换方法的步骤。A readable storage medium, storing programs or instructions on the readable storage medium, and implementing the steps of the object switching method according to any one of claims 1 to 5 when the programs or instructions are executed by a processor.
  13. 一种计算机软件产品,所述计算机软件产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的对象切换方法。A computer software product, the computer software product is executed by at least one processor to implement the object switching method according to any one of claims 1 to 5.
  14. 一种电子设备,包括电子设备被配置成用于执行如权利要求1至5中任一项所述的对象切换方法。An electronic device, comprising an electronic device configured to execute the object switching method according to any one of claims 1 to 5.
  15. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任一项所述的对象切换方法。A chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the object as described in any one of claims 1 to 5 Switch method.
PCT/CN2022/120245 2021-09-23 2022-09-21 Object switching method and apparatus, electronic device, and readable storage medium WO2023045976A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111116401.X 2021-09-23
CN202111116401.XA CN113885748A (en) 2021-09-23 2021-09-23 Object switching method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
WO2023045976A1 true WO2023045976A1 (en) 2023-03-30

Family

ID=79010330

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/120245 WO2023045976A1 (en) 2021-09-23 2022-09-21 Object switching method and apparatus, electronic device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN113885748A (en)
WO (1) WO2023045976A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113885748A (en) * 2021-09-23 2022-01-04 维沃移动通信有限公司 Object switching method and device, electronic equipment and readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180181253A1 (en) * 2016-12-26 2018-06-28 Canon Kabushiki Kaisha Display control apparatus, display control method, and storage medium
CN109614019A (en) * 2018-11-29 2019-04-12 阿里巴巴集团控股有限公司 A kind of processing method of image, device and equipment
CN112825040A (en) * 2019-11-21 2021-05-21 腾讯科技(深圳)有限公司 User interface display method, device, equipment and storage medium
CN113885748A (en) * 2021-09-23 2022-01-04 维沃移动通信有限公司 Object switching method and device, electronic equipment and readable storage medium

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009020144A (en) * 2007-07-10 2009-01-29 Brother Ind Ltd Image display device and image display program
KR101873525B1 (en) * 2011-12-08 2018-07-03 삼성전자 주식회사 Device and method for displaying a contents in wireless terminal
US9977590B2 (en) * 2013-12-18 2018-05-22 Lg Electronics Inc. Mobile terminal and method for controlling the same
US9880695B2 (en) * 2015-05-01 2018-01-30 International Business Machines Corporation Changing a controlling device interface based on device orientation
WO2019019158A1 (en) * 2017-07-28 2019-01-31 华为技术有限公司 Method and device for operating application
CN107608652B (en) * 2017-08-28 2020-05-22 三星电子(中国)研发中心 Method and device for controlling graphical interface through voice
CN110543579A (en) * 2019-07-26 2019-12-06 华为技术有限公司 Image display method and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180181253A1 (en) * 2016-12-26 2018-06-28 Canon Kabushiki Kaisha Display control apparatus, display control method, and storage medium
CN109614019A (en) * 2018-11-29 2019-04-12 阿里巴巴集团控股有限公司 A kind of processing method of image, device and equipment
CN112825040A (en) * 2019-11-21 2021-05-21 腾讯科技(深圳)有限公司 User interface display method, device, equipment and storage medium
CN113885748A (en) * 2021-09-23 2022-01-04 维沃移动通信有限公司 Object switching method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN113885748A (en) 2022-01-04

Similar Documents

Publication Publication Date Title
WO2022063022A1 (en) Video preview method and apparatus and electronic device
US20150331573A1 (en) Handheld mobile terminal device and method for controlling windows of same
WO2022007926A1 (en) Display method and apparatus, electronic device, and readable storage medium
WO2022161432A1 (en) Display control method and apparatus, and electronic device and medium
WO2022121790A1 (en) Split-screen display method and apparatus, electronic device, and readable storage medium
KR20230065337A (en) Operation method and device
CN112433693B (en) Split screen display method and device and electronic equipment
WO2023066196A1 (en) Floating window display method and apparatus, and electronic device and readable storage medium
WO2023125425A1 (en) Display method and apparatus, and electronic device
WO2024037418A1 (en) Display method and apparatus, electronic device, and readable storage medium
WO2022156666A1 (en) Icon arrangement method and apparatus, and electronic device and readable storage medium
WO2023030115A1 (en) Interface display method and apparatus
WO2023030114A1 (en) Interface display method and apparatus
WO2022253181A1 (en) Icon arrangement method and apparatus, and electronic device
WO2023066294A1 (en) Icon display method and apparatus, and electronic device
WO2023016463A1 (en) Display control method and apparatus, and electronic device and medium
WO2023016462A1 (en) Video recording method and apparatus, electronic device, and medium
CN112558831A (en) Desktop sorting method and device and electronic equipment
CN110347459A (en) A kind of window minimizes method, apparatus, storage medium and interactive intelligent tablet computer
WO2023045976A1 (en) Object switching method and apparatus, electronic device, and readable storage medium
WO2022262722A1 (en) Response method and apparatus of electronic device, and electronic device
WO2022253182A1 (en) Communication method and apparatus, electronic device, and readable storage medium
WO2022242515A1 (en) Interface display method and apparatus
WO2021254377A1 (en) Application icon display method and apparatus, and electronic device
WO2023241612A1 (en) File selection method and apparatus, electronic device, and readable storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22872022

Country of ref document: EP

Kind code of ref document: A1