CN112948844A - Control method and device and electronic equipment - Google Patents

Control method and device and electronic equipment Download PDF

Info

Publication number
CN112948844A
CN112948844A CN202110121334.4A CN202110121334A CN112948844A CN 112948844 A CN112948844 A CN 112948844A CN 202110121334 A CN202110121334 A CN 202110121334A CN 112948844 A CN112948844 A CN 112948844A
Authority
CN
China
Prior art keywords
application
input
folder
target object
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110121334.4A
Other languages
Chinese (zh)
Inventor
陈强
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202110121334.4A priority Critical patent/CN112948844A/en
Publication of CN112948844A publication Critical patent/CN112948844A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/604Tools and structures for managing or administering access control systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/10Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
    • G06F21/12Protecting executable software
    • G06F21/121Restricting unauthorised execution of programs

Abstract

The application discloses a control method, a control device and electronic equipment, and belongs to the technical field of communication. The problem that the pictures required by the user in the photo album cannot be searched and called in the APP can be solved. The method comprises the following steps: receiving a first input of a user; responding to the first input, and displaying object identifications of the N objects; an object identification indicates an object; receiving a second input of the target object identifier in the N object identifiers from the user; responding to the second input, and calling a target object indicated by the target object identification in the first application; wherein the N objects comprise objects in a target folder; the first application does not have access rights to the target folder. The method and the device are applied to the scene of calling the object in the APP.

Description

Control method and device and electronic equipment
Technical Field
The application belongs to the technical field of communication, and particularly relates to a control method, a control device and electronic equipment.
Background
With the continuous development of electronic technology, the application functions of electronic devices are more and more powerful, most of APPs in electronic devices need to use pictures, for example, the image recognition function of shopping APPs, and the function of social APPs publishing pictures, and generally, the electronic devices will find and call pictures stored in the storage space of the electronic devices through albums (i.e., album applications) of the electronic devices in the APPs.
In the related art, different pictures are usually stored in an album of an electronic device through a plurality of directories, and due to inconsistent ability of different APPs to adapt to the album of a compatible electronic device, in a case where compatibility of the APPs with the album is poor, the APPs may not be compatible with all directories in the album, but only be compatible with part of commonly used directories in the album, for example, directories storing pictures shot by a camera. Therefore, under the condition that the electronic equipment needs to call a certain user-required picture in the album in the APP, if the picture is stored in a directory incompatible with the APP, the APP does not have access right to the directory, so that the picture required by the user in the album cannot be searched and called in the APP.
Disclosure of Invention
The embodiment of the application aims to provide a control method, a control device and electronic equipment, and the problem that pictures in an album cannot be searched and called in an APP can be solved.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a control method, where the method includes: receiving a first input of a user; responding to the first input, and displaying object identifications of the N objects; an object identification indicates an object; receiving a second input of the target object identifier in the N object identifiers from the user; responding to the second input, and calling a target object indicated by the target object identification in the first application; wherein the N objects comprise objects in a target folder; the first application does not have access rights to the target folder.
In a second aspect, an embodiment of the present application provides a control apparatus, including: input module, display module and execution module, wherein: the receiving module is used for receiving a first input of a user; the display module is configured to display object identifiers of the N objects in response to the first input received by the receiving module; an object identification indicates an object; the receiving module is further configured to receive a second input of the target object identifier from the N object identifiers from the user; the executing module is configured to, in response to the second input received by the receiving module, invoke, in the first application, a target object indicated by a target object identifier; wherein the N objects comprise objects in a target folder; the first application does not have access rights to the target folder.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored on the memory and executable on the processor, and when executed by the processor, the program or instructions implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium, on which a program or instructions are stored, which when executed by a processor implement the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, the present application provides a computer program product stored on a non-volatile storage medium, the program product being executed by at least one processor to implement the method according to the first aspect.
In this embodiment of the application, after receiving a first input from a user, the electronic device may directly display object identifiers of N objects in a target folder of which the first application does not have access rights, and then, after receiving a second input from the user to a target object identifier of the N object identifiers, may invoke an object indicated by the target object identifier of the object identifiers in the first application. Therefore, the electronic equipment displays the object identification of the object which does not have the access right in the first application for the user, so that the user can directly call the object which cannot be accessed by the first application in the first application, and the convenience of user operation is improved.
Drawings
Fig. 1 is a flowchart of a display method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of an interface applied by a display method according to an embodiment of the present disclosure;
fig. 3 is a second schematic diagram of an interface applied by a display method according to an embodiment of the present disclosure;
fig. 4 is a third schematic diagram of an interface applied by a display method according to an embodiment of the present disclosure;
FIG. 5 is a fourth schematic diagram of an interface applied by a display method according to an embodiment of the present disclosure;
fig. 6 is a schematic structural diagram of a display device according to an embodiment of the present disclosure;
fig. 7 is a schematic hardware structure diagram of an electronic device according to an embodiment of the present disclosure;
fig. 8 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The following describes the control method provided by the embodiments of the present application in detail through specific embodiments and application scenarios thereof with reference to the accompanying drawings.
The control method provided by the embodiment of the application can be applied to a scene of calling the picture in the APP.
Take the example of calling a picture in a "shopping" APP. When a user wants to use picture 1 to perform a picture recognition function in the "shopping" APP, assuming that the APP is not adapted to the folder for storing the picture 1 (i.e. the "shopping" APP does not have access right to the folder), the "shopping" APP cannot access the folder for storing the picture 1, so that the picture 1 cannot be called from the folder for storing the picture 1 in the "shopping" APP.
In this embodiment of the application, when a user wants to use the picture 1 to execute a graph recognition function in the "shopping" APP, the electronic device may be triggered to display object identifiers of N objects in a folder in which the "shopping" APP does not have access right, then the object identifier of the picture 1 is selected from the object identifiers, and then the electronic device may call the picture 1 in the "shopping" APP.
The embodiment of the application provides a control method, and fig. 1 shows a flowchart of the control method provided by the embodiment of the application. As shown in fig. 1, the control method provided in the embodiment of the present application may include the following steps 101 to 104:
step 101: the control device receives a first input from a user.
In an embodiment of the present application, the first input may include: touch input, voice input, or other feasible input.
Illustratively, the first input is used to trigger the electronic device to display the object identifiers of the N objects. Further, the first input may include any one of: the method includes the steps of touch input of a user to a function control in an application program, touch input of the user to a folder identifier of a folder, and touch input of the user in a designated area of a display screen.
Optionally, in this embodiment of the present application, the step 101 may include the following steps 101 a:
step 101 a: the control device receives a first input of a user while running the first application.
Illustratively, the first application may be any application installed in the electronic device.
For example, the electronic device running the first application may include any one of: the first application is run in the foreground (i.e., the application interface of the first application is displayed) or in the background.
In general, the electronic device may run a plurality of applications, and when the electronic device currently runs a plurality of applications, the control device may select a first application that is satisfied from the plurality of currently running applications. Illustratively, the first predetermined condition includes any one of: the application specified by the user, the application with the shortest running time, and the application used by the user most recently.
Step 102: the control means displays object identifications of the N objects in response to the first input.
Wherein one object identification indicates at least one object and N is a positive integer.
In an embodiment of the present application, the N objects include any one of: pictures, video, audio, and documents.
In this embodiment, the object identifier may include any one of: text, icons, thumbnails, and a hover ball. For example, when the object is a picture, the object identifier of the object may be a thumbnail of the picture; when the object is a video, the object identifier of the object is a thumbnail of a certain image frame of the video.
Optionally, in this embodiment of the application, the control device may display the object identifier on a current interface, or create a new interface to display the object identifier.
Step 103: the control device receives a second input of the target object identifier in the N object identifiers from the user.
In this embodiment of the application, the second input may be any feasible input such as a sliding input, a re-pressing input, a long-pressing input, and the like of the user on the target object identifier, which may be determined specifically according to actual use requirements, and this is not limited in this embodiment of the application.
In this embodiment of the application, the target object identifier may be one or more identifiers of the N object identifiers. Further, in a case that the target object id includes a plurality of object ids, the second input may include a plurality of second sub-inputs, and each second sub-input may correspond to one target object id.
Step 104: the control means responds to the second input, and in the first application, calls the target object indicated by the target object identification.
Wherein the N objects include: objects in a target folder; the first application does not have access rights to the target folder.
It should be noted that, in an electronic device, there are usually a plurality of folders for storing objects, and the adaptation and compatibility capabilities of different applications in the electronic device to these folders are inconsistent, so that the access rights of different applications to different folders are different.
In one example, in the case where an application is not adapted to folder 1, then the application does not have access to folder 1. On the contrary, when an application is adapted to the folder 1, the application has an access right to the folder 1.
In one example, in the case where an application does not have a call function to call an object of a certain class, then the application does not have access to the folder 2 that stores the object of the class. On the contrary, when an application has a call function for calling an object of a certain type, the application has an access right to the folder 2 storing the object of the certain type.
Optionally, in this embodiment of the application, when the control device invokes the target object indicated by the target object identifier in the first application, the first application may be run in the background, or an application interface of the first application may be displayed on the display screen.
In the control method provided in the embodiment of the present application, after receiving a first input by a user, an electronic device may directly display object identifiers of N objects in a target folder of which a first application does not have access rights, and then, after receiving a second input by the user to a target object identifier of the N object identifiers, may invoke, in the first application, an object indicated by the target object identifier of the object identifiers. Therefore, the electronic equipment displays the object identification of the object which does not have the access right in the first application for the user, so that the user can directly call the object which cannot be accessed by the first application in the first application, and the convenience of user operation is improved.
Optionally, in this embodiment of the application, the control device receives a first input from the user while displaying the object identifiers of the M objects in the target folder, and selects the object identifier of the object that the user needs to use from the object identifiers of the M objects in response to the first input. Further, the first input is used for triggering the electronic device to display the N object identifications selected by the user in the form of a hover ball.
For example, the N object identifications may correspond to at least one hover ball. For example, when the user selects a plurality of object identifiers at one time, a hover ball may be generated for the plurality of object identifiers, or when the user selects one object identifier at a time, a hover ball may be generated for each object identifier.
For example, as shown in fig. 2, the M objects are taken as pictures. Assuming that the M objects include a picture 1, a picture 3, and a picture 4, after the user performs long-time pressing on the picture 1, the control device may generate a hover ball 21 corresponding to the picture 4.
Optionally, in this embodiment of the application, when an object (e.g., a picture) needs to be used in a first application, the control apparatus may call the object from a first folder in which the first application has access rights in the first application.
Illustratively, the process of the control apparatus invoking the target object indicated by the target object identifier in the first application in step 104 includes the following steps 104 a:
step 104 a: in the first application, the target object is called from a first folder.
The first folder stores the N objects or indexes of the N objects, and the first application has an access right to the first folder.
Illustratively, the index is used to indicate the same object or objects stored in the target folder as in the first folder.
For example, the control device may directly obtain the target object or the index of the target object from the first folder, and then call the target object from the first folder in the first application.
Illustratively, the first folder may be referred to as a "virtual folder". It should be noted that the difference from a general folder (i.e., a physical folder) is that a virtual folder is not a real folder and has no actual logical structure. The content displayed in the virtual folder may actually be dispersed among several real folders, and the virtual folder only plays a role of induction and summarization.
For example, in a case where the first folder is a virtual folder, the control device may search, through the virtual folder, for a target object indicated by the target object identifier from objects in the local storage space, and call the target object in the first application.
Further optionally, in this embodiment of the application, the N objects include an object associated with the first folder, and the control device may establish an association between the first folder and the object, and store the object associated with the first folder or an index of the object in the first folder.
For example, the control device may establish an association relationship between the object and the first folder when the object satisfies a second predetermined condition, and further, the second predetermined condition includes at least one of the following: objects that the user has browsed (e.g., pictures that the user has browsed for more than a predetermined length of time), objects that the user has selected (e.g., pictures that the user has selected from an album application).
For example, the control device may establish an association relationship between the object and the first folder by generating a mapping relationship between path information of the object and the first folder. Further, the path information of any object may include a storage path of the object. The storage path may include a local path (for example, the local path of the object may be "file:///D | wo/localweb/oa/images/1. jpg") and a network path (for example, URL).
The control device may acquire an object associated with the first folder according to the mapping relationship, and then store the object or the index of the object having the association relationship in the first folder.
For example, the control device automatically releases the association relationship between the first folder and the object when detecting that the association duration between any one of the N objects and the first folder exceeds the duration.
For example, the above-mentioned association duration may be preset by the user in advance, or may be automatically set by the control device according to actual conditions. For example, the user may set the time length that the first folder is associated with the object in the configuration interface of the first folder, for example, the associated time length may be set to 3 hours.
Further optionally, in this embodiment of the application, the control device may generate the first folder automatically or triggered by a user.
In an example, after the first folder is generated, the control device may display the first folder in an application interface of an application program related to the object stored in the first folder (for example, if pictures are stored in the first folder, the pictures stored in the first folder may be displayed in the album application by default), or may display the first folder in an application interface of a default application program.
In another example, the first folder may be presented as a separate folder.
Further optionally, in this embodiment of the application, the control device may adapt an application in the electronic device to the first folder. Wherein the adaptation comprises compatibility adaptation and/or priority adaptation.
In one example, where a first folder is compatible with an application, access rights for the first folder may be configured for the application.
In another example, in a case where the first folder is adapted to a plurality of application compatibilities, priorities may be set for the plurality of applications. Specifically, when a plurality of applications need to call an object from the first folder at the same time, the application with the higher priority may call the object from the first folder preferentially.
Therefore, the control device can adapt any one of the electronic devices to the first folder, so that the application can have access authority to the object in the first folder, and convenience in operation is improved.
Further optionally, in this embodiment of the application, based on the step 104a, the step 102 may include the following step 102 a:
step 102 a: the control device responds to the first input and displays a folder interface of the first folder.
And the object identifications of the N objects are displayed in the folder interface.
For example, the control device may display the object identifiers of the N objects in a folder interface in a sorted manner according to the category of the object indicated by the object identifier. For example, when the N objects include pictures and videos, the object identifiers corresponding to the N objects may be divided into two categories, namely "pictures" and "videos", and the object identifier corresponding to each category is displayed.
For example, the control device may determine, in the folder interface, a display order of the N object identifiers according to a third predetermined condition, and then display the N object identifiers according to the display order. Further, the third predetermined condition may include: the browsing times of the object indicated by the object identifier are larger than a first threshold, and the association duration of the object indicated by the object identifier and the first folder is smaller than a second threshold.
For example, as shown in fig. 3, the above object identifiers are used as thumbnails. Assuming that the first folder stores therein pictures 1, 2, 3, and 4, and videos 1 and 2, in the case where the user clicks "know-to-do shopping" of the shopping APP, the control apparatus may display the folder interface 31 of the first folder, and display thumbnails of pictures 1, 2, 3, 4, and videos 1 and 2 in the folder interface in a sorted manner.
Optionally, in this embodiment of the application, the control device may update the N objects associated with the first folder. For example, the control device may update the N objects automatically, or the control device may update the N objects triggered by the user's editing operation.
In one example, the control apparatus may update the N objects associated with the first folder according to an editing operation of the user in the first folder. For example, the control means may perform operations such as deletion, replacement, editing, and sorting on the N objects associated with the first folder, or add an object associated with the first folder, in accordance with an editing operation by the user.
In another example, in a case where a target object indicated by the target object identifier is invoked in the first application, the control apparatus may acquire the first object in the first application and update the target object to the first object.
Further, the control means may add application information on the first object before updating the target object to the first object. The application information may include at least one of: a tag for characterizing the first application, and a link to an object indicated by the first object.
For example, the target object is a picture a, and the first application is a shopping APP. Under the condition of calling the picture A in the shopping APP and executing the function of image recognition shopping, the first application can display commodity pictures and commodity names of a plurality of commodities searched according to the picture, after a user selects a required commodity picture from the commodity pictures according to actual requirements, the control device can add an icon of the shopping APP and a link of a commodity corresponding to the commodity picture on the commodity picture selected by the user, and replace the picture A with the commodity picture (namely, replace the picture A associated with the first folder with the commodity picture).
Therefore, the control device can quickly and flexibly update the currently called picture according to the actual requirement of the user, namely, the picture is replaced by other pictures which are needed to be used by the user subsequently, and the man-machine interaction performance is improved.
Optionally, in this embodiment of the present application, the step 103 may include the following steps 103 a:
step 103 a: and receiving a second input that the user drags a target object identifier in the N object identifiers to the application icon of the first application under the condition that the application icon of the first application is displayed.
Further, in combination with the step 103a, the step 104 includes the following step 104 b:
step 104 b: and responding to the second input, calling the target object indicated by the target object identification in the first application, and displaying a target interface of the first application, wherein the target interface is displayed when a target function is executed after the target object is called in the first application.
It should be noted that specific descriptions about the target function are given below and are not repeated herein.
For example, the control device may detect an operation state of the first application in real time when the application icon of the first application is displayed, so as to start the first application when the first application is not operated, and directly call the target object indicated by the target object identifier in the first application.
For example, the application icon of the first application may be displayed on a desktop of the electronic device, a folder, a notification bar, a recent task bar, and the like, which is not limited in this embodiment of the present application.
For example, when the user drags the target object identifier to a specific area of the application icon of the first application, the control apparatus considers that the object identifier is dragged to the application icon.
For example, in the case that the second input is the user dragging the target object identifier to the application icon of the first application, the first application may include one or more applications, and thus, the user may call the target object in multiple applications at the same time.
Therefore, the user can directly drag the object identifier of the object required to be called in the application to the application icon of the application to trigger the control device to call the object in the application, and the operation convenience is improved.
Optionally, in this embodiment of the application, after the object identifiers of the N objects are displayed in step 102, before step 103 receives a second input of the user to a target object identifier in the N object identifiers, in order to facilitate the user to drag the currently displayed object identifier to the application icon conveniently, the electronic device may automatically enter a split-screen display state, and the current display screen is split into a first split screen and a second split screen.
For example, the control device may display a display interface (e.g., an interface displaying N object identifiers) before the split screen on the first split screen, and display a second interface on the second split screen. The second interface is a main interface of the electronic device, or the second interface is a new interface generated by the control device, and the application icons in the electronic device are displayed on the new interface in a centralized manner.
For example, in conjunction with fig. 3 described above, as shown in fig. 4, before receiving a second input of the target object identifier in the folder interface from the user, the control apparatus may automatically enter the split screen state, display the interface shown in fig. 3 on the split screen 41, and display the main interface (i.e., the desktop) of the electronic device on the split screen 42.
For example, in a case that the second input is that the user drags the target object identifier to the application icon of the first application, and the first application may include a plurality of applications, the split-screen display state is automatically entered, and the application interfaces of one or more applications are respectively displayed on each split screen. Therefore, the control device can automatically display the application interfaces of the multiple applications of the calling object in a split screen mode, and a user can conveniently and simultaneously check different application interfaces, so that the interface contents of different applications can be quickly and intuitively compared, and convenience and flexibility of user operation are improved.
For example, the application interface of the first application may include any one of: the main interface of the first application and the function interface of the first application. Further, the function interface may be an application interface of a target function executed after the target object is called in the first application. Specifically, the execution of the target function in the first application is described below, and is not described herein again.
For example, in conjunction with fig. 3, the target object is taken as a picture, and the target object identifier is taken as a hover ball. As shown in (a) of fig. 5, in the case that the user triggers the control device to generate the hover ball 51 corresponding to the picture 1, the user may drag the hover ball 51 to the application icons of the shopping APP1 and the shopping APP2, and then, as shown in (b) of fig. 5, the control device may call the picture indicated by the hover ball in the shopping APP1 and the shopping APP2, respectively, and enter the split-screen display state, display the "map-identifying shopping" interface 52 in the shopping APP1 in the first split screen, and display the "map-identifying shopping" interface 53 in the shopping APP2 in the second split screen.
Therefore, the control device displays the target object identifier and the application icon on the current display screen so as to facilitate other operations on another desktop by a user, or facilitate the user to drag the target object identifier to the application icon, and improve the convenience of user operation.
Optionally, in this embodiment of the application, when the control device invokes the target object indicated by the target object identifier in the first application, the control device may determine, according to the target object, a target function from at least one first function in the first application, and execute the target function in the first application.
Illustratively, the target function is a function related to the target object.
Example 1, if the target object is a picture and the first application is a "shopping" APP, then the function related to the target object in the first application is "map learning and shopping".
Example 2, if the target object is a picture and the first application is a social APP, the function related to the target object in the first application is "post picture".
For example, in the case of calling a target object in the first application, the control device may automatically determine and execute a target function in the first application, or the control device may display a function option of at least one function in the first application (i.e., the first function described above), from which a target function to be executed is selected by the user. Therefore, the flexibility of user operation is improved.
Further optionally, in this embodiment of the application, when the control device invokes the target object indicated by the target object identifier in the first application, the control device may obtain the first object in the first application according to an input of a user, and update the target object to the first object, for example, replace the target object with the first object.
Illustratively, after the procedure of invoking the target object indicated by the target object identifier in step 104 is performed, the control method provided by the embodiment of the present application further includes the following steps a1 and a 2:
step A1: a third input by the user is received.
Step A2: and responding to the third input, and updating the target object to be the first object.
The first object is an object obtained from a first application.
For example, the third input may be a touch input of a user to the first object in the first application. For example, a click input, a slide input, a press input, and the like of the first object by the user.
For example, the control device may acquire an object selected by the user in the first application and update the target object to the first object.
For example, the control device may acquire the first object from the first application according to an execution result of the target function in a case where the target object is called in the first application and the target function is executed.
Further, the control means may add application information on the first object before updating the target object to the first object. The application information may include at least one of: a tag for characterizing the first application, and a link to an object indicated by the first object.
For example, the target object is a picture a, and the first application is a shopping APP. Under the condition of calling the picture A in the shopping APP and executing the function of image recognition shopping, the first application can display commodity pictures and commodity names of a plurality of commodities searched according to the picture, after a user selects a required commodity picture from the commodity pictures according to actual requirements, the control device can add an icon of the shopping APP and a link of a commodity corresponding to the commodity picture on the commodity picture selected by the user, and replace the picture A with the commodity picture (namely, replace the picture A associated with the first folder with the commodity picture).
Therefore, the control device can quickly and flexibly update the currently called picture according to the actual requirement of the user, namely, the picture is replaced by other pictures which are needed to be used by the user subsequently, and the man-machine interaction performance is improved.
In the control method provided by the embodiment of the present application, the execution main body may be a control device, or a control module in the control device for executing the control method. In the embodiment of the present application, a control device executing a control method is taken as an example, and the control device provided in the embodiment of the present application is described.
An embodiment of the present application provides a control device, as shown in fig. 6, the control device 600 includes: a receiving module 601, a display module 602, and an execution module 603, where the receiving module 601 is configured to receive a first input of a user; the display module 602 is configured to display object identifiers of N objects in response to the first input received by the receiving module 601; an object identification indicates an object; the receiving module 601 is further configured to receive a second input of a target object identifier of the N object identifiers from a user; the executing module 603 is configured to, in response to the second input received by the receiving module 601, invoke a target object indicated by the target object identifier in the first application; wherein the N objects comprise objects in a target folder; the first application does not have access rights to the target folder.
Optionally, in this embodiment of the application, the receiving module 601 is specifically configured to receive a first input of a user when the first application is executed.
Optionally, in this embodiment of the application, the executing module 603 is specifically configured to, in the first application, invoke the target object from a first folder; the first folder stores the N objects or indexes of the N objects, and the first application has an access right to the first folder.
Optionally, in this embodiment of the application, the display module 602 is specifically configured to display a folder interface of the first folder in response to the first input received by the receiving module 601; and the object identifications of the N objects are displayed in the folder interface.
Optionally, in this embodiment of the application, the receiving module 601 is specifically configured to receive a second input that a user drags a target object identifier of the N object identifiers to the application icon when the application icon of the first application is displayed. The executing module is specifically configured to, in response to the second input received by the receiving module, invoke, in the first application, a target object indicated by the target object identifier, and execute a target function; the display module 602 is further configured to display a target interface of the first application, where the target interface is displayed when the execution module 603 executes a target function after the target object is called in the first application.
Optionally, in an embodiment of the present application, the control device further includes: an update module 604; the receiving module 601 is further configured to receive a third input from the user; the update module 604 is configured to update the target object to be the first object in response to the third input received by the receiving module 601; the first object is an object obtained from a first application.
In the control apparatus provided in this embodiment of the application, after receiving a first input from a user, the electronic device may directly display object identifiers of N objects in a target folder of which the first application does not have access rights, and then, after receiving a second input from the user to a target object identifier of the N object identifiers, may invoke, in the first application, an object indicated by the target object identifier of the object identifiers. Therefore, the electronic equipment displays the object identification of the object which does not have the access right in the first application for the user, so that the user can directly call the object which cannot be accessed by the first application in the first application, and the convenience of user operation is improved.
The control 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 can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a server, a Network Attached Storage (NAS), a Personal Computer (PC), a Television (TV), a teller machine or a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The control device provided in the embodiment of the present application can implement each process implemented by the method embodiments of fig. 1 to fig. 5, and is not described here again to avoid repetition.
Optionally, as shown in fig. 7, an electronic device 700 is further provided in this embodiment of the present application, and includes a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and executable on the processor 701, where the program or the instruction is executed by the processor 701 to implement each process of the control method embodiment, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power source (e.g., a battery) for supplying power to various components, and the power source may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
Wherein, the user input unit 107 is configured to receive a first input from a user; the display unit 106 is configured to display object identifiers of N objects in response to the first input received by the user input unit 107; an object identification indicates an object; the user input unit 107 is further configured to receive a second input of a target object identifier from the N object identifiers from the user; the processor 110, configured to, in response to the second input received by the user input unit 107, invoke a target object indicated by the target object identifier in the first application; wherein the N objects comprise objects in a target folder; the first application does not have access rights to the target folder.
Optionally, in this embodiment of the application, the user input unit is specifically configured to receive a first input of a user when the first application is executed.
Optionally, in this embodiment of the application, the processor 110 is specifically configured to, in the first application, invoke the target object from a first folder; the first folder stores the N objects or indexes of the N objects, and the first application has an access right to the first folder.
Optionally, in this embodiment of the application, the display unit 106 is specifically configured to display a folder interface of the first folder in response to the first input received by the user input unit 107; and the object identifications of the N objects are displayed in the folder interface.
Optionally, in this embodiment of the application, the user input unit 107 is specifically configured to receive a second input that the user drags a target object identifier of the N object identifiers to the application icon when the display unit 106 displays the application icon of the first application. The processor 110 is specifically configured to, in response to the second input received by the user input unit 107, invoke a target object indicated by the target object identifier in the first application, and execute a target function; the display unit 106 is further configured to display a target interface of the first application, where the target interface is displayed when the processor 110 executes a target function after the target object is called in the first application.
Optionally, in this embodiment of the application, the user input unit 107 is further configured to receive a third input from the user; the processor 110, configured to update the target object to be the first object in response to a third input received by the user input unit 107; the first object is an object obtained from a first application.
In the electronic device provided in the embodiment of the present application, after receiving a first input from a user, the electronic device may directly display object identifiers of N objects in a target folder of which the first application does not have access rights, and then, after receiving a second input from the user to a target object identifier of the N object identifiers, may invoke, in the first application, an object indicated by the target object identifier of the object identifiers. Therefore, the electronic equipment displays the object identification of the object which does not have the access right in the first application for the user, so that the user can directly call the object which cannot be accessed by the first application in the first application, and the convenience of user operation is improved.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the control method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and so on.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above control method embodiment, and can achieve the same technical effect, and for avoiding repetition, the details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, stored on a non-volatile storage medium, for execution by at least one processor to implement a method as described in the first aspect.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A control method, characterized in that the method comprises:
receiving a first input of a user;
displaying object identifications of the N objects in response to the first input; an object identification indicates an object;
receiving a second input of a target object identification in the object identifications of the N objects from a user;
responding to the second input, and calling the target object indicated by the target object identification in the first application;
wherein the N objects comprise objects in a target folder; the first application does not have access rights to the target folder.
2. The method of claim 1, wherein receiving a first input from a user comprises:
in the case of running the first application, a first input of a user is received.
3. The method of claim 1, wherein invoking the target object indicated by the target object identification in the first application comprises:
in the first application, calling the target object from a first folder;
the first folder stores the N objects or indexes of the N objects, and the first application is used for preparing the access authority of the first folder.
4. The method of claim 3, wherein displaying object identifications for N objects in response to the first input comprises:
in response to the first input, displaying a folder interface of the first folder;
and displaying the object identifications of the N objects in the folder interface.
5. The method of claim 1, wherein receiving a second user input of a target object identifier of the N object identifiers comprises:
receiving a second input that a user drags a target object identifier of the N object identifiers to the application icon under the condition that the application icon of the first application is displayed;
the responding to the second input, in the first application, calling the target object indicated by the target object identification, including:
and responding to the second input, calling the target object indicated by the target object identification in the first application, and displaying a target interface of the first application, wherein the target interface is displayed when a target function is executed after the target object is called in the first application.
6. The method of claim 5, wherein after the invoking the target object indicated by the target object identification, further comprising:
receiving a third input of the user;
updating the target object to a first object in response to the third input;
the first object is an object obtained from a first application.
7. A control device, characterized in that the device comprises: receiving module, display module and execution module, wherein:
the receiving module is used for receiving a first input of a user;
the display module is used for responding to the first input received by the receiving module and displaying the object identifications of the N objects; an object identification indicates an object;
the receiving module is further configured to receive a second input of a target object identifier from the object identifiers of the N objects displayed by the display module by the user;
the execution module is configured to, in response to the second input received by the receiving module, invoke, in the first application, a target object indicated by the target object identifier;
wherein the N objects comprise objects in a target folder; the first application does not have access rights to the target folder.
8. The apparatus of claim 7,
the execution module is specifically configured to invoke the target object from a first folder in the first application;
the first folder stores the N objects or indexes of the N objects, and the first application is used for preparing the access authority of the first folder.
9. An electronic device comprising a processor, a memory and a program or instructions stored on the memory and executable on the processor, the program or instructions, when executed by the processor, implementing the steps of the control method according to any one of claims 1 to 6.
10. A computer-readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions which, when executed by a processor, implement the steps of the control method according to any one of claims 1-6.
CN202110121334.4A 2021-01-28 2021-01-28 Control method and device and electronic equipment Pending CN112948844A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110121334.4A CN112948844A (en) 2021-01-28 2021-01-28 Control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110121334.4A CN112948844A (en) 2021-01-28 2021-01-28 Control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112948844A true CN112948844A (en) 2021-06-11

Family

ID=76238987

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110121334.4A Pending CN112948844A (en) 2021-01-28 2021-01-28 Control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112948844A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113626835A (en) * 2021-06-25 2021-11-09 荣耀终端有限公司 Data access method and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452454A (en) * 2007-11-30 2009-06-10 华为技术有限公司 File set sharing method and device
JP2010237894A (en) * 2009-03-31 2010-10-21 Hitachi Ltd Document management system
CN104021137A (en) * 2014-04-21 2014-09-03 中国科学院计算技术研究所 Method and system for opening and closing file locally through client side based on catalogue authorization
CN107633053A (en) * 2017-09-19 2018-01-26 联想(北京)有限公司 A kind of file management method, apparatus and system
CN112231690A (en) * 2020-10-26 2021-01-15 腾讯科技(深圳)有限公司 Authority management method and related device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452454A (en) * 2007-11-30 2009-06-10 华为技术有限公司 File set sharing method and device
JP2010237894A (en) * 2009-03-31 2010-10-21 Hitachi Ltd Document management system
CN104021137A (en) * 2014-04-21 2014-09-03 中国科学院计算技术研究所 Method and system for opening and closing file locally through client side based on catalogue authorization
CN107633053A (en) * 2017-09-19 2018-01-26 联想(北京)有限公司 A kind of file management method, apparatus and system
CN112231690A (en) * 2020-10-26 2021-01-15 腾讯科技(深圳)有限公司 Authority management method and related device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113626835A (en) * 2021-06-25 2021-11-09 荣耀终端有限公司 Data access method and electronic equipment

Similar Documents

Publication Publication Date Title
WO2022194004A1 (en) Application icon arrangement method and apparatus, and electronic device
CN111913616A (en) Application program management method and device and electronic equipment
CN111225108A (en) Communication terminal and card display method of negative screen interface
CN112099684A (en) Search display method and device and electronic equipment
CN112083854A (en) Application program running method and device
CN113485599A (en) Display control method, display control device, electronic device, and medium
CN111813305A (en) Application program starting method and device
CN113268182B (en) Application icon management method and electronic device
CN113849092A (en) Content sharing method and device and electronic equipment
CN114116098A (en) Application icon management method and device, electronic equipment and storage medium
CN113360062A (en) Display control method and device, electronic equipment and readable storage medium
CN111857466B (en) Message display method and device
CN113253883A (en) Application interface display method and device and electronic equipment
CN113220393A (en) Display method and device and electronic equipment
CN112948844A (en) Control method and device and electronic equipment
CN112925456B (en) Display method and device and electronic equipment
CN113342222B (en) Application classification method and device and electronic equipment
CN112291412B (en) Application program control method and device and electronic equipment
CN114489414A (en) File processing method and device
CN112035026B (en) Information display method and device, electronic equipment and storage medium
CN111796733B (en) Image display method, image display device and electronic equipment
CN113468121A (en) Folder management method and device
CN111796736B (en) Application sharing method and device and electronic equipment
CN113835601A (en) Screenshot management method and device
CN113779288A (en) Photo storage method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination