CN112948844B - Control method and device and electronic equipment - Google Patents
Control method and device and electronic equipment Download PDFInfo
- Publication number
- CN112948844B CN112948844B CN202110121334.4A CN202110121334A CN112948844B CN 112948844 B CN112948844 B CN 112948844B CN 202110121334 A CN202110121334 A CN 202110121334A CN 112948844 B CN112948844 B CN 112948844B
- Authority
- CN
- China
- Prior art keywords
- application
- folder
- target
- input
- objects
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 55
- 230000004044 response Effects 0.000 claims abstract description 17
- 230000006870 function Effects 0.000 claims description 39
- 238000004891 communication Methods 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 8
- 230000006978 adaptation Effects 0.000 description 4
- 101150053844 APP1 gene Proteins 0.000 description 3
- 101100055496 Arabidopsis thaliana APP2 gene Proteins 0.000 description 3
- 101100189105 Homo sapiens PABPC4 gene Proteins 0.000 description 3
- 102100039424 Polyadenylate-binding protein 4 Human genes 0.000 description 3
- 101100016250 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) GYL1 gene Proteins 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 239000000725 suspension Substances 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/604—Tools and structures for managing or administering access control systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/10—Protecting distributed programs or content, e.g. vending or licensing of copyrighted material ; Digital rights management [DRM]
- G06F21/12—Protecting executable software
- G06F21/121—Restricting unauthorised execution of programs
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Technology Law (AREA)
- Multimedia (AREA)
- Automation & Control Theory (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a control method, a control device and electronic equipment, and belongs to the technical field of communication. The problem that pictures required by a user in an 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; displaying object identifiers of N objects in response to the first input; an object identification indicates an object; receiving a second input of a target object identifier in the N object identifiers by a 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 embodiment of the application is applied to a scene of calling the object in the APP.
Description
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, application functions of electronic devices are becoming more and more powerful, most APP in electronic devices need to use pictures, for example, a picture recognition function of shopping APP and a picture release function of social APP, and typically, the electronic devices search and call pictures stored in a storage space of the electronic devices through an album (i.e., album application) of the electronic devices in APP.
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 compatible with the electronic device, in the case that the APP has poor compatibility with the album, the APP may not be compatible with all directories in the album, but only some of the commonly used directories in the album, for example, the directory storing the pictures shot by the camera. Therefore, under the condition that the electronic equipment needs to call a certain user demand picture in the album in the APP, if the picture is stored in the directory incompatible with the APP, the APP does not have access rights 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, which can solve the problem that pictures in an album cannot be searched and called in an APP.
In order to solve the technical problems, the application is realized as follows:
In a first aspect, an embodiment of the present application provides a control method, including: receiving a first input of a user; displaying object identifiers of N objects in response to the first input; an object identification indicates an object; receiving a second input of a target object identifier in the N object identifiers by a 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 used for responding to the first input received by the receiving module and displaying object identifiers of 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 N object identifiers by a user; the execution module is used for responding to the second input received by the receiving module 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 third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform 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 where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored on a non-volatile storage medium, the program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, after receiving the first input of the user, the electronic device can directly display the object identifications of N objects in the target folder which does not have the access right of the first application, and then after receiving the second input of the user to the target object identifications in the N object identifications, the object indicated by the target object identifications in the object identifications can be called in the first application. Therefore, the electronic equipment displays the object identification of the object which is not provided with the access right by the first application for the user, so that the user can directly call the object which is not accessed by the first application in the first application, and the convenience of the user operation is improved.
Drawings
FIG. 1 is a flow chart of a display method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an interface to which a display method according to an embodiment of the present application is applied;
FIG. 3 is a second schematic diagram of an interface applied by a display method according to an embodiment of the present application;
FIG. 4 is a third schematic diagram of an interface to which a display method according to an embodiment of the present application is applied;
FIG. 5 is a diagram illustrating an interface applied by a display method according to an embodiment of the present application;
Fig. 6 is a schematic structural diagram of a display device according to an embodiment of the present application;
fig. 7 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
fig. 8 is a second schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The control method provided by the embodiment of the application is described in detail through specific embodiments and application scenes 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 pictures in the APP.
Take the example of invoking a picture in "shopping" APP. When a user wants to perform a picture 1 recognition function using picture 1 in the "shopping" APP, assuming that the APP is not adapted to the folder in which picture 1 is stored (i.e., the "shopping" APP does not have access to the folder), the "shopping" APP cannot access the folder in which picture 1 is stored, resulting in that picture 1 cannot be called from the folder in which picture 1 is stored in the "shopping" APP.
In the embodiment of the application, when a user wants to use the picture 1 to execute the picture recognition function in the shopping APP, the electronic equipment can be triggered to display the object identifications of N objects in the folder of the shopping APP without access rights, then the object identification of the picture 1 is selected from the object identifications, and then the electronic equipment can call the picture 1 in the shopping APP.
The embodiment of the application provides a control method, and fig. 1 shows a flow chart of the control method provided by the embodiment of the application. As shown in fig. 1, the control method provided by 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 feasibility input.
The first input is used for triggering the electronic device to display object identifiers of the N objects. Further, the first input may include any one of the following: the embodiment of the application does not limit the touch input of the user to the functional control in the application program, the touch input of the user to the folder identification of the folder, and the touch input of the user in the appointed area of the display screen.
Alternatively, in the embodiment of the present application, the step 101 may include the following step 101a:
step 101a: the control means receives a first input of a user in case of running the first application.
The first application may be any application program installed in the electronic device.
For example, the electronic device running the first application may include any of: the first application is run in the foreground (i.e., an application interface of the first application is displayed) or in the background.
In general, the electronic device may have a plurality of applications running, and in the case where the electronic device currently has a plurality of applications running, the control device may select the first application that is satisfied from the plurality of applications currently running. Illustratively, the first predetermined condition includes any one of: the application program specified by the user, the application program with the shortest running time, and the application program which is used recently by the user.
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 the following: pictures, video, audio, and documents.
In an embodiment of the present application, the object identifier may include any one of the following: text, icons, thumbnails, and hover spheres. 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 of the object is identified as a thumbnail of a certain image frame of the video.
Alternatively, in the embodiment of the present application, the control device may display the object identifier on the current interface, or create a new interface to display the object identifier.
Step 103: the control device receives a second input from the user of a target object identification of the N object identifications.
In the embodiment of the present application, the second input may be any feasibility input such as a sliding input, a re-pressing input, and a long-pressing input of the user on the target object identifier, which may be specifically determined according to actual use requirements, and the embodiment of the present application is not limited to this.
In the embodiment of the present application, the target object identifier may be one or more identifiers of the N object identifiers. Further, in the case that the target object identifier includes a plurality of object identifiers, the second input may include a plurality of second sub-inputs, and each of the second sub-inputs may correspond to one of the target object identifiers.
Step 104: the control means is responsive to the second input for invoking, in the first application, the target object indicated by the target object identification.
Wherein the N objects include: objects in the 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 typically multiple folders for storing objects, and the adaptation and compatibility of different applications in the electronic device to these folders are inconsistent, so the access rights of different applications to different folders are different.
In one example, in the case where a certain application is not adapted to the folder 1, the application does not have access rights to the folder 1. Conversely, when an application is adapted to the folder 1, the application has access to the folder 1.
In one example, in the case where a certain application does not have a call function to call a certain class of objects, the application does not have access rights to the folder 2 storing the class of objects. Conversely, when an application has a call function for calling an object of a certain type, the application has access rights to the folder 2 storing the object of the certain type.
Optionally, in the embodiment of the present 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, and an application interface of the first application may also be displayed on the display screen.
In the control method provided by the embodiment of the application, after receiving the first input of the user, the electronic device can directly display the object identifications of N objects in the target folder which is not provided with the access right by the first application, and then after receiving the second input of the user to the target object identifications in the N object identifications, the electronic device can call the object indicated by the target object identifications in the first application. Therefore, the electronic equipment displays the object identification of the object which is not provided with the access right by the first application for the user, so that the user can directly call the object which is not accessed by the first application in the first application, and the convenience of the user operation is improved.
Optionally, in the embodiment of the present application, the control device receives a first input of a user while displaying object identifiers of M objects in the target folder, and selects, in response to the first input, an object identifier of an object that needs to be used by the user from object identifiers of the M objects. Further, the first input is used for triggering the electronic device to display the N object identifiers selected by the user in the form of a suspension ball.
For example, the N object identifiers may correspond to at least one suspension ball. For example, in the case where a user selects a plurality of object identifications at a time, one hover sphere may be generated for the plurality of object identifications, or in the case where a user selects one object identification at a time, one hover sphere may be generated for each object identification separately.
For example, as shown in fig. 2, the above M objects are taken as examples of pictures. Assuming that the M objects include a picture 1, a picture 3, and a picture 4, after the user presses the picture 1 for a long time, the control device may generate a hover sphere 21 corresponding to the picture 4.
Alternatively, in the embodiment of the present application, when an object (e.g., a picture) needs to be used in a first application, the control device may invoke, in the first application, the object from a first folder that has access rights for the first application.
Illustratively, the process of invoking the target object indicated by the target object identifier by the control device in the step 104 in the first application includes the following step 104a:
Step 104a: in the first application, the target object is called from a first folder.
The first application has access rights to the first folder, and the first folder stores the N objects or indexes of the N objects.
Illustratively, the index is used to indicate the same one or more objects that the target folder stores as the first folder.
For example, the control device may directly obtain the target object from the first folder, or an index of the target object, and then call the target object from the first folder in the first application.
For example, the first folder described above may be referred to as a "virtual folder". It should be noted that, unlike a general folder (i.e., a physical folder), a virtual folder is not a folder that exists in reality, and has no actual logical structure. The content displayed in the virtual folders may actually be dispersed among several real folders, and the virtual folders serve only a summary and summary role.
In an exemplary case, the control device may search the object in the local storage space for the target object indicated by the target object identifier through the virtual folder, and call the target object in the first application.
Further optionally, in an embodiment of the present application, the N objects include objects having an association relationship with the first folder, and the control device may establish an association relationship between the first folder and the objects, and store the objects having the association relationship with the first folder or indexes of the objects in the first folder.
For example, the control device may establish the association relationship between the object and the first folder when the object meets a second predetermined condition, where the second predetermined condition includes at least one of: objects that have been viewed by the user (e.g., pictures that have been viewed by the user for more than a predetermined period of time), objects that have been selected by the user (e.g., pictures that have been selected by the user from an album application).
For example, the control device may establish the association relationship between the object and the first folder by generating a mapping relationship between the 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 paths may include local paths (e.g., the local path of an object may be "file:///D|wo/localweb/oa/images/1. Jpg") and network paths (e.g., URLs).
It should be noted that, the control device may obtain, according to the mapping relationship, an object having an association relationship with the first folder, and then store the object having the association relationship or an index of the object in the first folder.
The control device automatically releases the association relationship between the first folder and the object after detecting that the association time between any one of the N objects and the first folder exceeds the time.
The association duration may be preset by a user in advance, or may be automatically set by the control device according to an actual situation. For example, the user may set a duration of association of the first folder with the object in the configuration interface of the first folder, for example, the association duration may be set to 3 hours.
Further alternatively, in an embodiment of the present application, the control device may automatically or by a user trigger the generation of the first folder.
In one example, after the first folder is generated, the control device may be displayed in an application interface of an application program related to the object stored in the first folder (for example, assuming that the first folder stores a picture, the control device may default to displaying the picture stored in the first folder in the album application), or may also be displayed in an application interface of the default application program.
In another example, the first folder may be presented as a separate folder.
Further alternatively, in an embodiment of the present 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, the access rights of the first folder may be configured for the application.
In another example, where the first folder is compatible with a plurality of applications, the plurality of applications may be prioritized. Specifically, when multiple applications need to call an object from the first folder at the same time, an application with a high priority may call the object from the first folder preferentially.
Therefore, the control device can adapt any application in the electronic equipment to the first folder, so that the application can have access rights to the objects in the first folder, and the convenience of operation is improved.
Further alternatively, in an embodiment of the present application, based on the step 104a, the step 102 may include the following step 102a:
Step 102a: the control device responds to the first input and displays a folder interface of the first folder.
And the object identifiers 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 the folder interface according to the object categories indicated by the object identifiers. For example, when the N objects include pictures and videos, object identifiers corresponding to the N objects may be classified into two types of "pictures" and "videos", and object identifiers corresponding to each type may be displayed respectively.
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 objects indicated by the object identifiers are larger than a first threshold value, and the association duration of the objects indicated by the object identifiers and the first folder is smaller than a second threshold value.
For example, as shown in fig. 3, the above object is identified as a thumbnail. Assuming that the first folder stores the picture 1, the picture 2, the picture 3 and the picture 4, and the video 1 and the video 2, in the case where the user clicks "picture-recognition shopping" of the shopping APP, the control device may display the folder interface 31 of the first folder, and display thumbnails of the picture 1, the picture 2, the picture 3, the picture 4, and the video 1, the video 2 in the folder interface in a classified manner.
Optionally, in an embodiment of the present application, the control device may update N objects associated with the first folder. For example, the control device may automatically update the N objects, or the control device may update the N objects under the trigger of the editing operation of the user.
In one example, the control device 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 device may perform operations such as deletion, replacement, editing, and sorting on N objects associated with the first folder, or add objects associated with the first folder, according to an editing operation by the user.
In another example, in a case where the target object indicated by the target object identification is invoked in the first application, the control device 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, taking the target object as a picture a, the first application is a shopping APP. In the case that the picture a is called in the shopping APP and the "picture-recognition shopping" function is executed, the first application may display a commodity picture and a commodity name of a plurality of commodities searched according to the picture, and after the user selects a required commodity picture from the plurality of commodity pictures according to actual requirements, the control device may add an icon of the shopping APP and a link of a commodity corresponding to the commodity picture selected by the user and replace the picture a with the commodity picture (i.e., replace the picture a associated with the first folder with the commodity picture).
Therefore, the control device can update the currently called picture rapidly and flexibly according to the actual demands of the user, namely, the picture is replaced by other pictures which are needed to be used by the user later, and the man-machine interaction performance is improved.
Optionally, in an embodiment of the present application, the step 103 may include the following step 103a:
step 103a: and under the condition that the application icon of the first application is displayed, receiving a second input that a user drags the target object identifier in the N object identifiers to the application icon of the first application.
Further, in combination with the step 103a, the step 104 includes the following step 104b:
Step 104b: and responding to the second input, calling the target object indicated by the target object identifier in the first application, and displaying a target interface of the first application, wherein the target interface is a target interface displayed when a target function is executed after the target object is called in the first application.
It should be noted that, the detailed description of the target function is as follows, and will not be repeated here.
In an exemplary embodiment, the control device may detect, in real time, an operation state of the first application when the application icon of the first application is displayed, so that the first application is started when the first application is not operated, and directly call, in the first application, the target object indicated by the target object identifier.
By way of example, the application icon of the first application may be displayed on a desktop, a folder, a notification bar, a recent task bar, etc. of the electronic device, which is not limited in any way by the 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 device considers that the object identifier is dragged to the application icon.
For example, in the case where the second input is an application icon that the user drags the target object identifier to the first application, the first application may include one or more applications, so that 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, so that the convenience of operation is improved.
Optionally, in the embodiment of the present application, after the object identifiers of the N objects are displayed in the step 102, before the step 103 receives the second input of the user to the target object identifier of the N object identifiers, in order to facilitate the user to drag the currently displayed object identifier to the application icon, the electronic device may automatically enter a split-screen display state, and split the current display screen into the first split screen and the 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 equipment, or the second interface is a new interface generated by the control device, and application icons in the electronic equipment are displayed on the new interface in a centralized mode.
For example, in connection with fig. 3, as shown in fig. 4, before receiving the second input of the user to the target object identifier in the folder interface, the control device may automatically enter a split-screen state, display the interface shown in fig. 3 on the split screen 41, and display the main interface (i.e., desktop) of the electronic device on the split screen 42.
In an exemplary embodiment, when the second input is an application icon that the user drags the target object identifier to the first application, and the first application may include a plurality of applications, the split screen display state is automatically entered, and an application interface of one or more applications is displayed on each split screen. Therefore, the control device can automatically display the application interfaces of a plurality of applications of the calling object in a split screen manner, so that a user can conveniently and simultaneously check different application interfaces, interface contents of different applications can be rapidly and intuitively compared, and convenience and flexibility of user operation are improved.
By way of example, the application interface of the first application may include any of the following: a main interface of the first application, and a functional interface in 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 will not be described herein.
For example, in connection with fig. 3, the target object is taken as a picture, and the target object is identified as a suspension ball. When the user triggers the control device to generate the hover ball 51 corresponding to the picture 1, as shown in (a) in fig. 5, the user may drag the hover ball 51 to the application icons of the shopping APP1 and the shopping APP2, respectively, and then, as shown in (b) in fig. 5, the control device may call the pictures indicated by the hover ball in the shopping APP1 and the shopping APP2, respectively, and enter a split screen display state, display the "view shopping" interface 52 in the shopping APP1 on the first split screen, and display the "view shopping" interface 53 in the shopping APP2 on the second split screen.
Therefore, the control device displays the target object identifier and the application icon on the current display screen, so that other operations can be conveniently performed on the other desktop by the user, or the user can drag the target object identifier to the application icon conveniently, and the convenience of operation of the user is improved.
Optionally, in the embodiment of the present 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, the function related to the target object in the first application is "picture-aware shopping".
Example 2, if the target object is a picture, the first application is a social APP, and the function related to the target object in the first application is "post picture".
For example, in the case of calling the target object in the first application, the control device may automatically determine and execute the 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 above-described first function) from which the target function to be executed is selected by the user. Thus, the flexibility of user operation is improved.
Further alternatively, in the embodiment of the present application, in a case where 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 the input of the 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 calling the target object indicated by the target object identifier in the above step 104, the control method provided by the embodiment of the present application further includes the following steps A1 and A2:
step A1: a third input of the user is received.
Step A2: and in response to the third input, updating the target object to be the first object.
Wherein the first object is an object obtained from a first application.
For example, the third input may be a touch input of the user to the first object in the first application. For example, a click input, a slide input, a press input, or 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 call the target object in the first application, and execute the target function, and obtain the first object from the first application according to the execution result of the target function.
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, taking the target object as a picture a, the first application is a shopping APP. In the case that the picture a is called in the shopping APP and the "picture-recognition shopping" function is executed, the first application may display a commodity picture and a commodity name of a plurality of commodities searched according to the picture, and after the user selects a required commodity picture from the plurality of commodity pictures according to actual requirements, the control device may add an icon of the shopping APP and a link of a commodity corresponding to the commodity picture selected by the user and replace the picture a with the commodity picture (i.e., replace the picture a associated with the first folder with the commodity picture).
Therefore, the control device can update the currently called picture rapidly and flexibly according to the actual demands of the user, namely, the picture is replaced by other pictures which are needed to be used by the user later, and the man-machine interaction performance is improved.
It should be noted that, in the control method provided in the embodiment of the present application, the execution 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 executes a control method 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: the device comprises a receiving module 601, a display module 602 and an executing module 603, wherein the receiving module 601 is used for receiving a first input of a user; the display module 602, 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 from the N object identifiers by a user; the executing module 603 is configured to invoke, in the first application, a target object indicated by the target object identifier in response to the second input received by the receiving module 601; wherein the N objects comprise objects in a target folder; the first application does not have access rights to the target folder.
Optionally, in the embodiment of the present application, the receiving module 601 is specifically configured to receive the first input of the user in a case of running the first application.
Optionally, in the embodiment of the present application, the executing module 603 is specifically configured to invoke, in the first application, the target object from a first folder; the first application has access rights to the first folder, and the first folder stores the N objects or indexes of the N objects.
Optionally, in an embodiment of the present 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 identifiers of the N objects are displayed in the folder interface.
Optionally, in the embodiment of the present application, the receiving module 601 is specifically configured to receive, when an application icon of the first application is displayed, a second input that a user drags a target object identifier among the N object identifiers to the application icon. The execution module is specifically configured to respond 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 the target function after the target object is invoked 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 a user; the updating module 604 is configured to update the target object to a first object in response to the third input received by the receiving module 601; wherein the first object is an object obtained from a first application.
In the control device provided by the embodiment of the application, after receiving the first input of the user, the electronic device can directly display the object identifications of the N objects in the target folder which is not provided with the access right by the first application, and then after receiving the second input of the user to the target object identifications in the N object identifications, the electronic device can call the object indicated by the target object identifications in the first application. Therefore, the electronic equipment displays the object identification of the object which is not provided with the access right by the first application for the user, so that the user can directly call the object which is not accessed by the first application in the first application, and the convenience of the user operation is improved.
The control device in the embodiment of the application can be a device, and also can be a component, an integrated circuit or a chip in the terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and the non-mobile electronic device may be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., and the embodiments of the present application are not limited in particular.
The control device in the embodiment of the application can 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, and the embodiment of the present application is not limited specifically.
The control device provided in the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 1 to 5, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 7, the embodiment of the present application further provides an electronic device 700, including a processor 701, a memory 702, and a program or an instruction stored in the memory 702 and capable of running on the processor 701, where the program or the instruction implements each process of the above-mentioned control method embodiment when executed by the processor 701, and the process can achieve the same technical effect, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
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: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 110 via a power management system to perform functions such as managing charging, discharging, and power consumption via 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 shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein, the user input unit 107 is configured to receive a first input of 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 by a user; the processor 110 is configured to invoke, in response to the second input received by the user input unit 107, 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 an embodiment of the present application, the user input unit is specifically configured to receive a first input of a user in a case of running a first application.
Optionally, in an embodiment of the present application, the processor 110 is specifically configured to invoke, in the first application, the target object from a first folder; the first application has access rights to the first folder, and the first folder stores the N objects or indexes of the N objects.
Optionally, in an embodiment of the present 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 identifiers of the N objects are displayed in the folder interface.
Optionally, in the embodiment of the present application, the user input unit 107 is specifically configured to receive, when the display unit 106 displays the application icon of the first application, a second input that the user drags the target object identifier of the N object identifiers to the application icon. The processor 110 is specifically configured to invoke, in the first application, a target object indicated by the target object identifier in response to the second input received by the user input unit 107, 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 the target function after the target object is invoked in the first application.
Optionally, in an embodiment of the present application, the user input unit 107 is further configured to receive a third input from a user; the processor 110 is configured to update the target object to a first object in response to a third input received by the user input unit 107; wherein the first object is an object obtained from a first application.
In the electronic device provided by the embodiment of the application, after receiving the first input of the user, the electronic device can directly display the object identifications of the N objects in the target folder which is not provided with the access right by the first application, and then, after receiving the second input of the user to the target object identifications in the N object identifications, the electronic device can call the object indicated by the target object identifications in the first application. Therefore, the electronic equipment displays the object identification of the object which is not provided with the access right by the first application for the user, so that the user can directly call the object which is not accessed by the first application in the first application, and the convenience of the user operation is improved.
It should be appreciated that in embodiments of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g. 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, a joystick, and so forth, which are not described in detail herein. 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 that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that 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 application also provides a readable storage medium, on which a program or an instruction is stored, which when executed by a processor, implements each process of the above-mentioned control method embodiment, and can achieve the same technical effects, and in order to avoid repetition, the description is omitted here.
Wherein the processor is a 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 (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the embodiment of the control method, and can achieve the same technical effects, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application provide a computer program product stored in a non-volatile storage medium, the program product being executable 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.
Claims (7)
1. A control method, characterized in that the method comprises:
Receiving a first input of a user;
displaying object identifications of N objects in response to the first input; an object identification indicates an object;
Receiving a second input of a target object identifier in the object identifiers of the N objects by a user under the condition of displaying an application icon of the first application;
Responding to the second input, calling a target object indicated by the target object identifier from a first folder in the first application, and displaying a target interface of the first application, wherein the target interface is a target interface displayed when a target function is executed after the target object is called in the first application, the first folder stores the N objects or indexes of the N objects, and the first application has the access right of the first folder;
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 the receiving a first input from a user comprises:
In the case of running a first application, a first input of a user is received.
3. The method of claim 1, wherein the displaying object identifications of N objects in response to the first input comprises:
Responsive to the first input, displaying a folder interface of the first folder;
and the object identifiers of the N objects are displayed in the folder interface.
4. The method of claim 1, wherein after the invoking the target object indicated by the target object identification, further comprising:
receiving a third input from the user;
updating the target object to be the first object in response to the third input;
wherein the first object is an object obtained from a first application.
5. A control apparatus, characterized in that the apparatus comprises: the device comprises a receiving module, a display module and an 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 object identifiers of N objects; an object identification indicates an object;
the receiving module is further configured to receive, when an application icon of the first application is displayed, a second input of a target object identifier from object identifiers of the N objects displayed by the display module by a user;
The execution module is configured to respond to the second input received by the receiving module, call, in the first application, a target object indicated by the target object identifier from a first folder, and display a target interface of the first application, where the target interface is a target interface displayed when a target function is executed after the target object is called in the first application, and the first folder stores the N objects or indexes of the N objects, and the first application has access rights of the first folder;
wherein the N objects comprise objects in a target folder; the first application does not have access rights to the target folder.
6. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which program or instruction when executed by the processor implements the steps of the control method as claimed in any one of claims 1 to 4.
7. A computer readable storage medium, characterized in that the readable storage medium has stored thereon a program or instructions which, when executed by a processor, implement the steps of the control method according to any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110121334.4A CN112948844B (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 CN112948844B (en) | 2021-01-28 | 2021-01-28 | Control method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112948844A CN112948844A (en) | 2021-06-11 |
CN112948844B true CN112948844B (en) | 2024-07-23 |
Family
ID=76238987
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110121334.4A Active CN112948844B (en) | 2021-01-28 | 2021-01-28 | Control method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112948844B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113626835B (en) * | 2021-06-25 | 2022-06-17 | 荣耀终端有限公司 | Data access method and electronic equipment |
CN113986082A (en) * | 2021-10-28 | 2022-01-28 | 维沃移动通信有限公司 | Information interaction method, device and equipment |
CN114442886A (en) * | 2022-01-27 | 2022-05-06 | 深圳传音控股股份有限公司 | Data processing method, intelligent terminal and storage medium |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107633053A (en) * | 2017-09-19 | 2018-01-26 | 联想(北京)有限公司 | A kind of file management method, apparatus and system |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7231397B2 (en) * | 2003-10-24 | 2007-06-12 | Microsoft Corporation | Method and system for transacted file operations over a network |
JP2006338210A (en) * | 2005-05-31 | 2006-12-14 | Ricoh Co Ltd | Document management server, method for controlling document management server and program |
CN101452454A (en) * | 2007-11-30 | 2009-06-10 | 华为技术有限公司 | File set sharing method and device |
CN101304429A (en) * | 2008-05-14 | 2008-11-12 | 乐之酷信息技术(深圳)有限公司 | System and method for sharing personal computer document through mobile terminal |
JP2010237894A (en) * | 2009-03-31 | 2010-10-21 | Hitachi Ltd | Document management system |
CN102855432B (en) * | 2011-06-27 | 2015-11-25 | 北京奇虎科技有限公司 | A kind of file, file unblock and delet method and system |
CN104021137B (en) * | 2014-04-21 | 2017-06-09 | 中国科学院计算技术研究所 | A kind of client based on catalogue mandate is locally opened and closed the method and system of file |
CN112231690A (en) * | 2020-10-26 | 2021-01-15 | 腾讯科技(深圳)有限公司 | Authority management method and related device |
-
2021
- 2021-01-28 CN CN202110121334.4A patent/CN112948844B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107633053A (en) * | 2017-09-19 | 2018-01-26 | 联想(北京)有限公司 | A kind of file management method, apparatus and system |
Also Published As
Publication number | Publication date |
---|---|
CN112948844A (en) | 2021-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112948844B (en) | Control method and device and electronic equipment | |
WO2022194004A1 (en) | Application icon arrangement method and apparatus, and electronic device | |
CN112306325B (en) | Interaction control method and device | |
CN113268182B (en) | Application icon management method and electronic device | |
CN112099684A (en) | Search display method and device and electronic equipment | |
CN113849092A (en) | Content sharing method and device and electronic equipment | |
CN112925456B (en) | Display method and device and electronic equipment | |
CN113794795B (en) | Information sharing method and device, electronic equipment and readable storage medium | |
CN113360062A (en) | Display control method and device, electronic equipment and readable storage medium | |
CN113253883A (en) | Application interface display method and device and electronic equipment | |
CN113485599A (en) | Display control method, display control device, electronic device, and medium | |
CN114116098B (en) | Application icon management method and device, electronic equipment and storage medium | |
CN113282546B (en) | File processing method and device | |
CN112291412B (en) | Application program control method and device and electronic equipment | |
CN112286615B (en) | Information display method and device for application program | |
CN111638828A (en) | Interface display method and device | |
WO2023046106A1 (en) | Desktop editing method and apparatus, and electronic device | |
CN111796733B (en) | Image display method, image display device and electronic equipment | |
CN115167721A (en) | Display method and device of functional interface | |
CN114489414A (en) | File processing method and device | |
CN113835601A (en) | Screenshot management method and device | |
CN113672136A (en) | Information display method, device, equipment and storage medium | |
CN113253904A (en) | Display method, display device and electronic equipment | |
CN113393373B (en) | Icon processing method and device | |
CN112596646B (en) | Information display method and device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |