CN113805797B - Processing method of network resource, electronic equipment and computer readable storage medium - Google Patents

Processing method of network resource, electronic equipment and computer readable storage medium Download PDF

Info

Publication number
CN113805797B
CN113805797B CN202110675108.0A CN202110675108A CN113805797B CN 113805797 B CN113805797 B CN 113805797B CN 202110675108 A CN202110675108 A CN 202110675108A CN 113805797 B CN113805797 B CN 113805797B
Authority
CN
China
Prior art keywords
network resource
resource
application
management module
storage space
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
Application number
CN202110675108.0A
Other languages
Chinese (zh)
Other versions
CN113805797A (en
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.)
Honor Device Co Ltd
Original Assignee
Honor Device 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 Honor Device Co Ltd filed Critical Honor Device Co Ltd
Priority to CN202110675108.0A priority Critical patent/CN113805797B/en
Publication of CN113805797A publication Critical patent/CN113805797A/en
Priority to PCT/CN2022/089760 priority patent/WO2022262439A1/en
Application granted granted Critical
Publication of CN113805797B publication Critical patent/CN113805797B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1206Improving or facilitating administration, e.g. print management resulting in increased flexibility in input data format or job format or job type
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • G06F3/1287Remote printer device, e.g. being remote from client or server via internet

Abstract

The application provides a processing method of network resources, electronic equipment and a computer readable storage medium, and relates to the technical field of terminals. The method comprises the following steps: and acquiring a first network resource through a first application in the electronic equipment. The monitoring target storage space stores a first network resource, and a prompt message is displayed, wherein the target storage space is a resource storage space when the first application downloads the network resource, and the prompt message is used for providing a shortcut option for operating the first network resource. The shortcut option is used for directly transmitting the first network resource to the target application or the target device, and/or the shortcut option is used for directly storing the first network resource from the target storage space to the appointed storage space. According to the method and the device, the prompt message is displayed, so that the user can rapidly manage the first network resource based on the prompt message, and the situation that the user needs to operate for many times to enter the actual storage position of the first network resource for management is avoided, and therefore the management efficiency of the network resource can be improved.

Description

Processing method of network resource, electronic equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method for processing a network resource, an electronic device, and a computer readable storage medium.
Background
When a user downloads a network resource using an application in an electronic device, the downloaded network resource is typically automatically stored in a target storage space corresponding to the application. For example, when a document is downloaded in a browser, the document is automatically stored in a target storage space corresponding to the browser.
Typically, based on the needs of the user, the electronic device may need to perform management such as sharing, copying, transferring, and the like, of network resources downloaded by the application. In the related art, when a network resource needs to be managed, a user is generally required to click for multiple times according to a resource storage path, and then enter an actual storage position of the network resource to be managed. The operation is complicated, and the management efficiency of network resources is poor.
Disclosure of Invention
The application provides a processing method of network resources, electronic equipment and a computer readable storage medium, which solve the problem of poor management efficiency of the electronic equipment on the network resources in the prior art.
In order to achieve the above purpose, the present application adopts the following technical scheme:
in a first aspect, a method for processing a network resource is provided, and the method is applied to an electronic device, and includes:
acquiring a first network resource through a first application in the electronic equipment;
monitoring that a target storage space stores the first network resource, and displaying a prompt message, wherein the target storage space is a resource storage space when the first application downloads the network resource, and the prompt message is used for providing a shortcut option for operating the first network resource;
the shortcut option is used for directly transmitting the first network resource to a target application or target equipment, and/or the shortcut option is used for directly storing the first network resource from the target storage space to a designated storage space.
It is worth mentioning that the prompt message is displayed under the condition that the first application is detected to download the first network resource, so that the user can quickly manage the first network resource based on the prompt message, and the situation that the user needs to enter the actual storage position of the first network resource for multiple operations to manage is avoided, so that the management efficiency of the network resource can be improved.
As an example of the application, in a case where the shortcut option is used to directly transmit the first network resource to the target application or the target device, the prompt message includes at least one of a sharing shortcut option, an opening shortcut option, and a printing shortcut option, where the sharing shortcut option is used to trigger sharing the first network resource directly to the target application or the target device, the opening shortcut option is used to trigger directly transmitting the first network resource to the target application to be opened, and the printing shortcut option is used to trigger directly transmitting the first network resource to the target application to be printed; in the case that the shortcut option is used for directly storing the first network resource from the target storage space to the designated storage space, the prompt message includes at least one of a copy shortcut option and a transfer shortcut option, the copy shortcut option is used for triggering directly copying the first network resource from the target storage space to the designated storage space, and the transfer shortcut option is used for triggering directly transferring the first network resource from the target storage space to the designated storage space.
In this way, the user can perform shortcut management such as sharing, opening, printing, copying and transferring on the first network resource by providing at least one of the sharing shortcut option, opening the shortcut option and printing shortcut option and/or providing at least one of the copying shortcut option and transferring shortcut option, so that user experience is improved.
As one example of the application, the electronic device includes a resource management module and a sharing module; the prompt message includes the sharing shortcut option, the monitoring target storage space stores the first network resource, and after the prompt message is displayed, the method further includes:
responding to the triggering operation of the sharing shortcut option, and informing the sharing module by the resource management module;
after the sharing module receives the notification of the resource management module, searching a target application with a sharing function in the electronic equipment and a target equipment for starting the sharing function;
the sharing module displays a sharing prompt box, wherein the sharing prompt box comprises the searched target application and/or target equipment;
and responding to the selection operation of the target application and/or the target equipment included in the sharing prompt box, the resource management module acquires the first network resource from the target storage space and sends the first network resource to the target application or the target equipment selected by the selection operation.
Therefore, through interaction between the sharing module and the resource management module, the electronic equipment searches the target application with the sharing function for the user and/or starts the target equipment with the sharing function, and displays the searched target application and/or target equipment through the sharing prompt box, so that the user can quickly share the first network resource, and the purpose of sharing is achieved.
As one example of the present application, the electronic device includes a resource management module; the prompt message includes the open shortcut option, the monitoring target storage space stores the first network resource, and after the prompt message is displayed, the method further includes:
in response to the triggering operation of opening the shortcut option, the resource management module determines a target application which can be used for opening the first network resource from applications included in the electronic equipment according to the format attribute of the first network resource;
the resource management module acquires the first network resource from the target storage space and sends the first network resource to the target application so as to open the first network resource through the target application.
In this way, the resource management module determines the target application capable of opening the first network resource, so that the first network resource is sent to the target application to be opened, and the purpose of opening is achieved.
As one example of the present application, the electronic device includes a resource management module; the prompt message includes the printing shortcut option, the monitoring target storage space stores the first network resource, and after the prompt message is displayed, the method further includes:
responding to the triggering operation of the printing shortcut option, and determining that a printing application in the electronic equipment is the target application by the resource management module;
the resource management module acquires the first network resource from the target storage space and sends the first network resource to the printing application so as to print the first network resource through the printing application.
In this way, the resource management module determines the printing application and sends the first network resource to the printing application so as to print the first network resource through the printing application, thereby achieving the purpose of printing.
As one example of the present application, the electronic device includes a resource management module; the prompt message includes a transfer shortcut option, the monitoring target storage space stores the first network resource, and after the prompt message is displayed, the method further includes:
responding to the triggering operation of the transfer shortcut option, and calling a path selector by the resource management module to acquire path content through the path selector;
The resource management module displays a path management interface based on the path content;
in response to a path selection operation input based on the path management interface, the resource management module determines a designated storage space selected by the path selection operation;
the resource management module acquires the first network resource from the target storage space and stores the first network resource into the appointed storage space;
the resource management module deletes the first network resource stored in the target storage space.
Therefore, the path selector is called through the resource manager to acquire the path content, so that a path management interface is displayed for a user, and the user can select or newly establish a target based on the path management interface. The electronic equipment transfers the first network resource to the appointed storage space based on the operation of the user, so that the purpose of transferring is achieved.
As one example of the present application, the electronic device includes a resource management module; the prompt message includes a copy shortcut option, the monitoring target storage space stores the first network resource, and after the prompt message is displayed, the method further includes:
responding to the triggering operation of the copy shortcut option, and calling a path selector by the resource management module to acquire path content through the path selector;
The resource management module displays a path management interface based on the path content;
in response to a path selection operation input based on the path management interface, the resource management module determines a designated storage space selected by the path selection operation;
the resource management module acquires the first network resource from the target storage space and copies the first network resource to the designated storage space.
Therefore, the path selector is called through the resource manager to acquire the path content, so that a path management interface is displayed for a user, and the user can select or newly establish a target based on the path management interface. The electronic equipment copies the first network resource to the appointed storage space based on the operation of the user, thereby achieving the purpose of backup.
As an example of the application, the prompt message includes a sharing shortcut option, an opening shortcut option, a printing shortcut option, a copying shortcut option, and a transferring shortcut option, and the prompt message includes a multi-level prompt menu, and the sharing shortcut option, the opening shortcut option, the printing shortcut option, the copying shortcut option, and the transferring shortcut option are displayed in a grading manner through the multi-level prompt menu.
Therefore, when the number of shortcut options included in the prompt message is large, the shortcut options are displayed in a grading manner through the multi-level prompt menu, so that the display interface is concise while the rich management functions are ensured.
As an example of the application, the prompt message is any one of a desktop card, a floating window and a prompt box. Thus, the diversity of the prompt message display is improved.
As an example of the present application, the hint message includes hint information of a plurality of network resources. Therefore, the user can view the prompt information of a plurality of network resources at the same time, and can manage the network resources to be managed according to actual demands. And the user experience is improved.
As an example of the present application, the hint information of the plurality of network resources included in the hint message is updated according to the resource download time. Therefore, according to the downloading condition of the network resources in the electronic equipment, the prompt information of the latest downloaded network resources can be provided in the prompt message so as to meet the actual management requirements of users.
As an example of the present application, the method further comprises:
and detecting an opening event of the first network resource under the condition that the prompt information of the first network resource in the prompt message disappears, and displaying the prompt information of the first network resource in the prompt message again.
If the prompt information of the first network resource in the prompt message disappears, the prompt information of the first network resource is displayed in the prompt message again under the condition that the user executes the opening operation on the first network resource, so that the user can manage the first network resource quickly after opening the first network resource.
As an example of the application, the electronic device includes a system service module, a resource management module, and an interface display module;
the monitoring target storage space stores the first network resource, displays a prompt message, and comprises:
the system service module acquires the state of a message notification switch, wherein the message notification switch is used for indicating whether to start a monitoring function of downloading network resources;
when the message notification switch is in an on state, the system service module monitors that the first network resource is stored in the target storage space and notifies the resource management module;
the resource management module generates the prompt message after receiving the notification of the system service module;
the resource management module sends the prompt message to the interface display module;
And the interface display module displays the prompt message.
Therefore, the monitoring function of the downloaded network resource related to the embodiment of the application is started or closed by setting the state of the message notification switch, so that a user can start or close the message notification switch according to actual requirements, the monitoring function of the downloaded network resource is started or closed, and user experience is improved.
As an example of the present application, the method further comprises:
and detecting a viewing operation based on the prompt message, and calling a resource management application, wherein the first network resource is displayed in the resource management application. In this way, since the resource management application includes a plurality of network resources recently downloaded, after entering the resource management application, the user can view more network resources recently downloaded.
In a second aspect, an electronic device is provided that includes a touch screen, a memory, one or more processors, a plurality of applications, and one or more programs; wherein the one or more programs are stored in the memory; the one or more processors, when executing the one or more programs, are configured to:
acquiring a first network resource through a first application in the electronic equipment;
Monitoring that a target storage space stores the first network resource, and displaying a prompt message, wherein the target storage space is a resource storage space when the first application downloads the network resource, and the prompt message is used for providing a shortcut option for operating the first network resource;
the shortcut option is used for directly transmitting the first network resource to a target application or target equipment, and/or the shortcut option is used for directly storing the first network resource from the target storage space to a designated storage space.
As an example of the application, in a case where the shortcut option is used to directly transmit the first network resource to the target application or the target device, the prompt message includes at least one of a sharing shortcut option, an opening shortcut option, and a printing shortcut option, where the sharing shortcut option is used to trigger sharing the first network resource directly to the target application or the target device, the opening shortcut option is used to trigger directly transmitting the first network resource to the target application to be opened, and the printing shortcut option is used to trigger directly transmitting the first network resource to the target application to be printed; in the case that the shortcut option is used for directly storing the first network resource from the target storage space to the designated storage space, the prompt message includes at least one of a copy shortcut option and a transfer shortcut option, the copy shortcut option is used for triggering directly copying the first network resource from the target storage space to the designated storage space, and the transfer shortcut option is used for triggering directly transferring the first network resource from the target storage space to the designated storage space.
As one example of the application, the electronic device includes a resource management module and a sharing module; the hint message includes the share shortcut option, and the one or more processors are further configured to:
notifying the sharing module by the resource management module in response to the triggering operation of the sharing shortcut option;
after receiving the notification of the resource management module through the sharing module, searching target applications with the sharing function in the electronic equipment and target equipment for starting the sharing function;
displaying a sharing prompt box through the sharing module, wherein the sharing prompt box comprises the searched target application and/or target equipment;
and responding to the selection operation of the target application and/or the target equipment included in the sharing prompt box through the resource management module, acquiring the first network resource from the target storage space, and sending the first network resource to the target application or the target equipment selected by the selection operation.
As one example of the present application, the electronic device includes a resource management module; the hint message includes the open shortcut option, the one or more processors further to:
Determining a target application which can be used for opening the first network resource from applications included in the electronic equipment according to the format attribute of the first network resource by the resource management module in response to the triggering operation of opening the shortcut option;
and acquiring the first network resource from the target storage space through the resource management module, and sending the first network resource to the target application so as to open the first network resource through the target application.
As one example of the present application, the electronic device includes a resource management module; the hint message includes the print shortcut option, the one or more processors further to:
determining, by the resource management module, that a print application in the electronic device is the target application in response to a triggering operation of the print shortcut option;
and acquiring the first network resource from the target storage space through the resource management module, and sending the first network resource to the printing application so as to print the first network resource through the printing application.
As one example of the present application, the electronic device includes a resource management module; the hint message includes a transfer shortcut option, the one or more processors further configured to:
Responding to the triggering operation of the transfer shortcut option through the resource management module, and calling a path selector to acquire path content through the path selector;
displaying a path management interface based on the path content through the resource management module;
determining, by the resource management module, a designated storage space selected by a path selection operation in response to the path selection operation input based on the path management interface;
acquiring the first network resource from the target storage space through the resource management module, and storing the first network resource into the designated storage space;
and deleting the first network resource stored in the target storage space through the resource management module.
As one example of the present application, the electronic device includes a resource management module; the hint message includes a copy shortcut option, the one or more processors further configured to:
responding to the triggering operation of the copying shortcut option through the resource management module, and calling a path selector to acquire path content through the path selector;
displaying a path management interface based on the path content through the resource management module;
Determining, by the resource management module, a designated storage space selected by a path selection operation in response to the path selection operation input based on the path management interface;
and acquiring the first network resource from the target storage space through the resource management module, and copying the first network resource to the appointed storage space.
As an example of the application, the prompt message includes a sharing shortcut option, an opening shortcut option, a printing shortcut option, a copying shortcut option, and a transferring shortcut option, and the prompt message includes a multi-level prompt menu, and the sharing shortcut option, the opening shortcut option, the printing shortcut option, the copying shortcut option, and the transferring shortcut option are displayed in a grading manner through the multi-level prompt menu.
As an example of the application, the prompt message is any one of a desktop card, a floating window and a prompt box.
As an example of the present application, the hint message includes hint information of a plurality of network resources.
As an example of the present application, the hint information of the plurality of network resources included in the hint message is updated according to the resource download time.
As one example of the present application, the one or more processors are further configured to:
and detecting an opening event of the first network resource under the condition that the prompt information of the first network resource in the prompt message disappears, and displaying the prompt information of the first network resource in the prompt message again.
As an example of the application, the electronic device includes a system service module, a resource management module, and an interface display module; the one or more processors are configured to:
acquiring the state of a message notification switch through the system service module, wherein the message notification switch is used for indicating whether to start a monitoring function of downloading network resources;
monitoring that the first network resource is stored in the target storage space through the system service module under the condition that the message notification switch is in an on state, and notifying the resource management module;
after receiving the notification of the system service module through the resource management module, generating the prompt message;
sending the prompt message to the interface display module through the resource management module;
and displaying the prompt message through the interface display module.
As one example of the present application, the one or more processors are further configured to:
and detecting a viewing operation based on the prompt message, and calling a resource management application, wherein the first network resource is displayed in the resource management application.
In a third aspect, there is provided a computer readable storage medium having instructions stored therein which, when run on a computer, cause the computer to perform the method of any of the first aspects above.
In a fourth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of the first aspect described above.
The technical effects obtained by the second, third and fourth aspects are similar to the technical effects obtained by the corresponding technical means in the first aspect, and are not described in detail herein.
The technical scheme that this application provided can bring following beneficial effect at least:
according to the processing method of the network resources, the first network resources are acquired through the first application in the electronic equipment, the first network resources are stored in the target storage space when the first application downloads the network resources, the fact that the first network resources are downloaded through the first application is explained, and prompt information is displayed at the moment. The hint message is used to provide a shortcut option for operating on the first network resource. The shortcut option is used for directly transmitting the first network resource to the target application or the target device, and/or the shortcut option is used for directly storing the first network resource from the target storage space to the designated storage space. Therefore, the user can manage the first network resource quickly, and the situation that the user needs to operate for many times to enter the actual storage position of the first network resource is avoided, so that the management efficiency of the network resource can be improved.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 2 is a software block diagram of an electronic device 100 according to an embodiment of the present application;
fig. 3 is a schematic diagram of an application scenario provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a sharing operation flow based on a prompt box according to an embodiment of the present application;
fig. 5 is a schematic diagram of a transfer operation flow based on a prompt box according to an embodiment of the present application;
fig. 6 is a schematic flow chart of entering a resource management application based on a prompt box according to an embodiment of the present application;
fig. 7 is a schematic diagram of another application scenario provided in an embodiment of the present application;
fig. 8 is a schematic diagram of a sharing operation flow based on a floating window according to an embodiment of the present application;
fig. 9 is a schematic diagram of a copy operation flow based on a sharing prompt box according to an embodiment of the present application;
fig. 10 is a schematic diagram of a transfer operation flow based on a sharing prompt box according to an embodiment of the present application;
fig. 11 is a schematic diagram of an opening operation flow based on a floating window according to an embodiment of the present application;
fig. 12 is a schematic diagram of another application scenario provided in an embodiment of the present application;
Fig. 13 is a schematic diagram of a sharing operation flow based on a desktop card according to an embodiment of the present application;
fig. 14 is a schematic display diagram of a desktop card according to an embodiment of the present disclosure;
FIG. 15 is a schematic diagram of updating a desktop card based on an opening operation according to an embodiment of the present application;
FIG. 16 is a schematic diagram of a system architecture according to an embodiment of the present disclosure;
fig. 17 is a flowchart of a processing method of a network resource according to an embodiment of the present application;
fig. 18 is a flowchart of another processing method of network resources according to an embodiment of the present application;
fig. 19 is a flowchart of another processing method of network resources according to an embodiment of the present application;
fig. 20 is a flowchart of another processing method of network resources according to an embodiment of the present application;
FIG. 21 is a schematic diagram of an interaction flow between a card management module and a resource management module according to an embodiment of the present disclosure;
fig. 22 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that reference herein to "a plurality" means two or more. In the description of the present application, "/" means or, unless otherwise indicated, for example, a/B may represent a or B; "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In addition, for the purpose of facilitating the clear description of the technical solutions of the present application, the words "first", "second", etc. are used to distinguish between the same item or similar items having substantially the same function and effect. It will be appreciated by those of skill in the art that the words "first," "second," and the like do not limit the amount and order of execution, and that the words "first," "second," and the like do not necessarily differ.
The processing method of the network resource provided by the embodiment of the application can be executed by the electronic equipment. In one embodiment, different types of first applications (also referred to as application programs) may be installed in the electronic device, and each of the first applications may download network resources. Network resources may include, but are not limited to, documents, images, video, audio. As an example, electronic devices may include, but are not limited to, cell phones, tablet computers, augmented Reality (AR)/Virtual Reality (VR) devices, ultra-mobile personal computers (UMPC), notebook computers, netbooks, personal digital assistants (personal digital assistant, PDA), and the like, as embodiments of the present application are not limited thereto.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (universal serial bus, USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, keys 190, a motor 191, an indicator 192, a camera 193, a display 194, and a subscriber identity module (subscriber identification module, SIM) card interface 195, etc. The sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It should be understood that the illustrated structure of the embodiment of the present invention does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or certain components may be combined, or certain components may be split, or different arrangements of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
The processor 110 may include one or more processing units, such as: the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), a controller, a memory, a video codec, a digital signal processor (digital signal processor, DSP), a baseband processor, and/or a neural network processor (neural-network processing unit, NPU), etc. Wherein the different processing units may be separate devices or may be integrated in one or more processors.
The controller may be a neural hub and a command center of the electronic device 100, among others. The controller can generate operation control signals according to the instruction operation codes and the time sequence signals to finish the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that the processor 110 has just used or recycled. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby improving the efficiency of the system.
In some embodiments, the processor 110 may include one or more interfaces. The interfaces may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous receiver transmitter (universal asynchronous receiver/transmitter, UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose input/output (GPIO) interface, a subscriber identity module (subscriber identity module, SIM) interface, and/or a universal serial bus (universal serial bus, USB) interface, among others.
The I2C interface is a bi-directional synchronous serial bus comprising a serial data line (SDA) and a serial clock line (derail clock line, SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, charger, flash, camera 193, etc., respectively, through different I2C bus interfaces. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, such that the processor 110 communicates with the touch sensor 180K through an I2C bus interface to implement a touch function of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 via an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through the I2S interface, to implement a function of answering a call through the bluetooth headset.
PCM interfaces may also be used for audio communication to sample, quantize and encode analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 may also transmit audio signals to the wireless communication module 160 through the PCM interface to implement a function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus for asynchronous communications. The bus may be a bi-directional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit an audio signal to the wireless communication module 160 through a UART interface, to implement a function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 to peripheral devices such as a display 194, a camera 193, and the like. The MIPI interfaces include camera serial interfaces (camera serial interface, CSI), display serial interfaces (display serial interface, DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the photographing functions of electronic device 100. The processor 110 and the display 194 communicate via a DSI interface to implement the display functionality of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal or as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, an I2S interface, a UART interface, an MIPI interface, etc.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transfer data between the electronic device 100 and a peripheral device. And can also be used for connecting with a headset, and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices, etc.
It should be understood that the interfacing relationship between the modules illustrated in the embodiments of the present invention is only illustrative, and is not meant to limit the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also use different interfacing manners, or a combination of multiple interfacing manners in the foregoing embodiments.
The charge management module 140 is configured to receive a charge input from a charger. The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charge management module 140 may receive a charging input of a wired charger through the USB interface 130. In some wireless charging embodiments, the charge management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used for connecting the battery 142, and the charge management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be configured to monitor battery capacity, battery cycle number, battery health (leakage, impedance) and other parameters. In other embodiments, the power management module 141 may also be provided in the processor 110. In other embodiments, the power management module 141 and the charge management module 140 may be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas may also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed into a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution for wireless communication including 2G/3G/4G/5G, etc., applied to the electronic device 100. The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (low noise amplifier, LNA), etc. The mobile communication module 150 may receive electromagnetic waves from the antenna 1, perform processes such as filtering, amplifying, and the like on the received electromagnetic waves, and transmit the processed electromagnetic waves to the modem processor for demodulation. The mobile communication module 150 can amplify the signal modulated by the modem processor, and convert the signal into electromagnetic waves through the antenna 1 to radiate. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be provided in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating the low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then transmits the demodulated low frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs sound signals through an audio device (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional module, independent of the processor 110.
The wireless communication module 160 may provide solutions for wireless communication including wireless local area network (wireless local area networks, WLAN) (e.g., wireless fidelity (wireless fidelity, wi-Fi) network), bluetooth (BT), global navigation satellite system (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field wireless communication technology (near field communication, NFC), infrared technology (IR), etc., as applied to the electronic device 100. The wireless communication module 160 may be one or more devices that integrate at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, modulates the electromagnetic wave signals, filters the electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, frequency modulate it, amplify it, and convert it to electromagnetic waves for radiation via the antenna 2.
In some embodiments, antenna 1 and mobile communication module 150 of electronic device 100 are coupled, and antenna 2 and wireless communication module 160 are coupled, such that electronic device 100 may communicate with a network and other devices through wireless communication techniques. The wireless communication techniques may include the Global System for Mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), code division multiple access (code division multiple access, CDMA), wideband code division multiple access (wideband code division multiple access, WCDMA), time division code division multiple access (time-division code division multiple access, TD-SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM, and/or IR techniques, among others. The GNSS may include a global satellite positioning system (global positioning system, GPS), a global navigation satellite system (global navigation satellite system, GLONASS), a beidou satellite navigation system (beidou navigation satellite system, BDS), a quasi zenith satellite system (quasi-zenith satellite system, QZSS) and/or a satellite based augmentation system (satellite based augmentation systems, SBAS).
The electronic device 100 implements display functions through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or change display information.
The display screen 194 is used to display images, videos, and the like. The display 194 includes a display panel. The display panel may employ a liquid crystal display (liquid crystal display, LCD), an organic light-emitting diode (OLED), an active-matrix organic light emitting diode (AMOLED), a flexible light-emitting diode (flex), a mini, a Micro-OLED, a quantum dot light-emitting diode (quantum dot light emitting diodes, QLED), or the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement photographing functions through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
The ISP is used to process data fed back by the camera 193. For example, when photographing, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electric signal, and the camera photosensitive element transmits the electric signal to the ISP for processing and is converted into an image visible to naked eyes. ISP can also optimize the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in the camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (charge coupled device, CCD) or a Complementary Metal Oxide Semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, which is then transferred to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV, or the like format. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process other digital signals besides digital image signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to fourier transform the frequency bin energy, or the like.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: dynamic picture experts group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
The NPU is a neural-network (NN) computing processor, and can rapidly process input information by referencing a biological neural network structure, for example, referencing a transmission mode between human brain neurons, and can also continuously perform self-learning. Applications such as intelligent awareness of the electronic device 100 may be implemented through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, etc.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to enable expansion of the memory capabilities of the electronic device 100. The external memory card communicates with the processor 110 through an external memory interface 120 to implement data storage functions. For example, files such as music, video, etc. are stored in an external memory card.
The internal memory 121 may be used to store computer executable program code including instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a storage program area and a storage data area. The storage program area may store an application program (such as a sound playing function, an image playing function, etc.) required for at least one function of the operating system, etc. The storage data area may store data created during use of the electronic device 100 (e.g., audio data, phonebook, etc.), and so on. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (universal flash storage, UFS), and the like.
The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or a portion of the functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also referred to as a "horn," is used to convert audio electrical signals into sound signals. The electronic device 100 may listen to music, or to hands-free conversations, through the speaker 170A.
A receiver 170B, also referred to as a "earpiece", is used to convert the audio electrical signal into a sound signal. When electronic device 100 is answering a telephone call or voice message, voice may be received by placing receiver 170B in close proximity to the human ear.
Microphone 170C, also referred to as a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can sound near the microphone 170C through the mouth, inputting a sound signal to the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, and may implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may also be provided with three, four, or more microphones 170C to enable collection of sound signals, noise reduction, identification of sound sources, directional recording functions, etc.
The earphone interface 170D is used to connect a wired earphone. The earphone interface 170D may be a USB interface 130 or a 3.5mm open mobile terminal platform (open mobile terminal platform, OMTP) standard interface, a american cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used to sense a pressure signal, and may convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A is of various types, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a capacitive pressure sensor comprising at least two parallel plates with conductive material. The capacitance between the electrodes changes when a force is applied to the pressure sensor 180A. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 may also calculate the location of the touch based on the detection signal of the pressure sensor 180A. In some embodiments, touch operations that act on the same touch location, but at different touch operation strengths, may correspond to different operation instructions. For example: and executing an instruction for checking the short message when the touch operation with the touch operation intensity smaller than the first pressure threshold acts on the short message application icon. And executing an instruction for newly creating the short message when the touch operation with the touch operation intensity being greater than or equal to the first pressure threshold acts on the short message application icon.
The gyro sensor 180B may be used to determine a motion gesture of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects the shake angle of the electronic device 100, calculates the distance to be compensated by the lens module according to the angle, and makes the lens counteract the shake of the electronic device 100 through the reverse motion, so as to realize anti-shake. The gyro sensor 180B may also be used for navigating, somatosensory game scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude from barometric pressure values measured by barometric pressure sensor 180C, aiding in positioning and navigation.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip cover using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity may be detected when the electronic device 100 is stationary. The gesture recognition method can also be used for recognizing the gesture of the electronic equipment 100, and can be applied to applications such as horizontal and vertical screen switching, pedometers and the like.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, the electronic device 100 may range using the distance sensor 180F to achieve quick focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light outward through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it may be determined that there is an object in the vicinity of the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there is no object in the vicinity of the electronic device 100. The electronic device 100 can detect that the user holds the electronic device 100 close to the ear by using the proximity light sensor 180G, so as to automatically extinguish the screen for the purpose of saving power. The proximity light sensor 180G may also be used in holster mode, pocket mode to automatically unlock and lock the screen.
The ambient light sensor 180L is used to sense ambient light level. The electronic device 100 may adaptively adjust the brightness of the display 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust white balance when taking a photograph. Ambient light sensor 180L may also cooperate with proximity light sensor 180G to detect whether electronic device 100 is in a pocket to prevent false touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 may utilize the collected fingerprint feature to unlock the fingerprint, access the application lock, photograph the fingerprint, answer the incoming call, etc.
The temperature sensor 180J is for detecting temperature. In some embodiments, the electronic device 100 performs a temperature processing strategy using the temperature detected by the temperature sensor 180J. For example, when the temperature reported by temperature sensor 180J exceeds a threshold, electronic device 100 performs a reduction in the performance of a processor located in the vicinity of temperature sensor 180J in order to reduce power consumption to implement thermal protection. In other embodiments, when the temperature is below another threshold, the electronic device 100 heats the battery 142 to avoid the low temperature causing the electronic device 100 to be abnormally shut down. In other embodiments, when the temperature is below a further threshold, the electronic device 100 performs boosting of the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperatures.
The touch sensor 180K, also referred to as a "touch panel". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is for detecting a touch operation acting thereon or thereabout. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output related to touch operations may be provided through the display 194. In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 at a different location than the display 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, bone conduction sensor 180M may acquire a vibration signal of a human vocal tract vibrating bone pieces. The bone conduction sensor 180M may also contact the pulse of the human body to receive the blood pressure pulsation signal. In some embodiments, bone conduction sensor 180M may also be provided in a headset, in combination with an osteoinductive headset. The audio module 170 may analyze the voice signal based on the vibration signal of the sound portion vibration bone block obtained by the bone conduction sensor 180M, so as to implement a voice function. The application processor may analyze the heart rate information based on the blood pressure beat signal acquired by the bone conduction sensor 180M, so as to implement a heart rate detection function.
The keys 190 include a power-on key, a volume key, etc. The keys 190 may be mechanical keys. Or may be a touch key. The electronic device 100 may receive key inputs, generating key signal inputs related to user settings and function controls of the electronic device 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration alerting as well as for touch vibration feedback. For example, touch operations acting on different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also correspond to different vibration feedback effects by touching different areas of the display screen 194. Different application scenarios (such as time reminding, receiving information, alarm clock, game, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
The indicator 192 may be an indicator light, may be used to indicate a state of charge, a change in charge, a message indicating a missed call, a notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card may be inserted into the SIM card interface 195, or removed from the SIM card interface 195 to enable contact and separation with the electronic device 100. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support Nano SIM cards, micro SIM cards, and the like. The same SIM card interface 195 may be used to insert multiple cards simultaneously. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to realize functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, i.e.: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The software system of the electronic device 100 may employ a layered architecture, an event driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture. In the embodiment of the invention, taking an Android system with a layered architecture as an example, a software structure of the electronic device 100 is illustrated.
Referring to fig. 2, fig. 2 is a software block diagram of an electronic device 100 according to an embodiment of the present application.
The layered architecture divides the software into several layers, each with distinct roles and branches. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, from top to bottom, an application layer, an application framework layer, an Zhuoyun row (Android run) and system libraries, and a kernel layer, respectively.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications for cameras, gallery, phone calls, maps, navigation, WLAN, bluetooth, video, short messages, sharing, file management, etc.
The application framework layer provides an application programming interface (application programming interface, API) and programming framework for application programs of the application layer. The application framework layer includes a number of predefined functions.
As shown in fig. 2, the application framework layer may include an interface display module, a card management module, a system service module, a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, and the like.
The interface display module is used for popping up the prompt message. As an example of the present application, the interface display module may be a User Interface (UI) module or a card management module. The UI module is used to display hint messages such as floating windows, hint boxes, and the like. The card management module is used for generating a desktop card and displaying the desktop card as a prompt message. The desktop card is a card displayed on a desktop of the electronic device, and in some embodiments, the desktop card may also be referred to as a card or the like. Under the condition that the electronic equipment is not provided with a startup password, the desktop of the electronic equipment refers to an interface displayed after the electronic equipment is started; under the condition that the electronic equipment sets a starting password, the desktop of the electronic equipment refers to an interface displayed after the electronic equipment is started and unlocked.
As an example of the present application, the system service module is configured to determine whether to turn on a listening function of the download network resource according to a state of the message notification switch. For example, if the message notification switch is in an on state, the monitoring function of the downloaded network resource is turned on, otherwise, if the message notification switch is in an off state, the monitoring function of the downloaded network resource is not turned on or off. And under the condition that the message notification switch is on, the system service module monitors the target storage space to be monitored, and if the new network resource is generated in the target storage space, for example, when the new document is generated, a prompt message is popped up through the UI module, wherein the prompt message is used for providing a shortcut option for a user to manage the newly generated network resource.
The window manager is used for managing window programs. The window manager can acquire the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make such data accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phonebooks, etc.
The view system includes visual controls, such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, a display interface including a text message notification icon may include a view displaying text and a view displaying a picture.
The notification manager allows the application to display notification information in a status bar, can be used to communicate notification type messages, can automatically disappear after a short dwell, and does not require user interaction. Such as notification manager is used to inform that the download is complete, message alerts, etc. The notification manager may also be a notification in the form of a chart or scroll bar text that appears on the system top status bar, such as a notification of a background running application, or a notification that appears on the screen in the form of a dialog window. For example, a text message is prompted in a status bar, a prompt tone is emitted, the electronic device vibrates, and an indicator light blinks, etc.
Android run time includes a core library and virtual machines. Android run time is responsible for scheduling and management of the Android system.
The core library consists of two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. The virtual machine executes java files of the application program layer and the application program framework layer as binary files. The virtual machine is used for executing the functions of object life cycle management, stack management, thread management, security and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface manager (surface manager), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), etc.
The surface manager is used to manage the display subsystem and provides a fusion of 2D and 3D layers for multiple applications.
Media libraries support a variety of commonly used audio, video format playback and recording, still image files, and the like. The media library may support a variety of audio and video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, etc.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The kernel layer at least comprises a file system, a display driver, a camera driver, an audio driver and a sensor driver.
A file system refers to a software mechanism in an operating system that is responsible for managing and storing file information. In the embodiment of the application, the file system can be used for sensing whether the file is generated in the target storage space or not, and notifying the system service module when the file system senses that the file is generated.
The workflow of the electronic device 100 software and hardware is illustrated below in connection with capturing a photo scene.
When touch sensor 180K receives a touch operation, a corresponding hardware interrupt is issued to the kernel layer. The kernel layer processes the touch operation into the original input event (including information such as touch coordinates, time stamp of touch operation, etc.). The original input event is stored at the kernel layer. The application framework layer acquires an original input event from the kernel layer, and identifies a control corresponding to the input event. Taking the touch operation as a touch click operation, taking a control corresponding to the click operation as an example of a control of a camera application icon, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera driver by calling a kernel layer, and captures a still image or video by the camera 193.
Based on the electronic device 100 provided in the embodiment shown in fig. 1 and fig. 2, a few application scenarios related to the embodiment of the present application will be briefly described with reference to the drawings by taking the electronic device 100 as an example of a mobile phone.
Referring to fig. 3, fig. 3 is a schematic diagram illustrating an application scenario according to an exemplary embodiment.
APP1 in the cell phone receives document 1, "chinese user experience industry development research report", document 1 format is portable file format (Portable Document Format, PDF). The APP1 is provided with a management touch button, and when a user wants to manage the document 1, the management touch button can be triggered. In response to a triggering operation of the management touch key, APP1 displays a management page, which is illustrated in (a) of fig. 3, and includes a "save to cell phone" touch key. When the user wants to download the document 1 into the mobile phone, the user can trigger the touch button of the "save to mobile phone", and respond to the triggering operation of the touch button of the "save to mobile phone" by the user, the mobile phone downloads the document 1, that is, the mobile phone saves the document 1 locally.
As an example of the application, when the downloading of the document 1 is completed, the mobile phone pops up a prompt box in the current display interface. For example, please refer to fig. 3 (b), a prompt box is shown as 31. As an example of the application, the prompt box includes a sharing touch key and a transferring touch key. The user can further operate the document 1 based on the prompt box.
In one embodiment, referring to fig. 4 (a), when the user wants to share document 1, the user may trigger the sharing touch button in the prompt box. And responding to the triggering operation of the sharing touch key in the prompt box by the user, searching target equipment with the peripheral starting sharing function and/or target application with the sharing function in the mobile phone (such as application for declaring android. And then, the mobile phone displays a sharing prompt box, and the searched target equipment and/or target application are displayed in the displayed sharing prompt box. Illustratively, the sharing hint box is shown in (b) of fig. 4. Thus, the user can share the document 1 based on the sharing prompt box, for example, share to the DeviceA device.
Optionally, the sharing prompt box may further include one or more of copying the touch key, printing the touch key, and opening the touch key. The copy touch key may be used to trigger copying of the document 1 to a designated storage space designated by a user, the print touch key may be used to trigger printing of the document 1, and the open touch key may be used to trigger an open operation on the document 1.
Optionally, referring to fig. 4 (b), the sharing prompt box may further include a cancel touch button. If the user wants to cancel the sharing of the document 1, the cancel touch button can be triggered, and the mobile phone closes the sharing prompt box in response to the triggering operation of the cancel touch button by the user.
In one embodiment, referring to fig. 5 (a), when the user wants to transfer document 1 from the target storage space of APP1 to another designated storage space, the transfer touch button in the prompt box may be triggered. Responding to the triggering operation of the transfer touch key in the prompt box by the user, and pulling up the path selector of the file management application by the mobile phone. Thus, the user can select or newly create a catalog, and the mobile phone transfers the document 1 to the designated storage space designated by the user based on the operation of the user. For example, referring to fig. 5 (b), document 1 is transferred to the "new scheme" directory. In this way, the prompt box provides the shortcut options for the position transfer for the user (such as the shortcut options comprise the touch keys described above), so that the user can conveniently store the downloaded network resources into the unified storage space, thereby providing convenience for the user and further improving the user experience.
It should be noted that, in some embodiments, the transfer touch key may be a "copy to" touch key, which is not limited in this embodiment.
In one embodiment, referring to fig. 6 (a), when the user clicks on the message body of the prompt box, the mobile phone starts the resource management application and jumps to the designated page of the resource management application in response to the user's trigger operation on the message body of the prompt box. The resource management application is used for managing network resources downloaded by the first application in the mobile phone, for example, the resource management application is a file management application. The designated page comprises a resource tag of a network resource recently downloaded by a first application in the mobile phone. In some embodiments, the specified page is also referred to as the most recent tab. Illustratively, the designated page of the resource management application is shown in fig. 6 (b), where the designated page includes the resource tag 61 of the document 1, and further includes the resource tags of other network resources downloaded by the application in the mobile phone in the last period of time. When the user wants to view the document 1, the user can click on the resource tag of the document 1, and the mobile phone opens the document 1 in response to the click operation of the user on the resource tag of the document 1. Therefore, a shortcut entry for entering a designated page of the resource management application is provided for the user through the prompt box, so that the user can conveniently view the recently downloaded network resource, and the user experience effect is improved.
In addition, as an example of the application, the prompt box may further include at least one item of attribute information of the name, format and file size of the document 1, so that when there are multiple prompt boxes of network resources, the user can distinguish according to the attribute information.
Referring to fig. 7, fig. 7 is a schematic diagram of an application scenario according to another exemplary embodiment.
APP1 in the cell phone receives document 2 "share report", in PDF format. The APP1 is provided with a management touch button, and when a user manages the document 2, the management touch button can be triggered. In response to a triggering operation of the management touch key, APP1 displays a management page, which is illustrated in fig. 7 (a), and includes a "save to cell phone" touch key. When the user wants to download the document 2 into the mobile phone, the user can trigger the touch button of the "save to mobile phone", and respond to the triggering operation of the touch button of the "save to mobile phone" by the user, the mobile phone downloads the document 2, that is, the mobile phone saves the document 2 locally.
When the downloading of the document 2 is completed, the mobile phone pops out the floating window in the current display interface. In one embodiment, the floating window may be generated based on attribute information of the document 2, such as including a format icon of the document 2 in the floating window, for example, please refer to fig. 7 (b), and the floating window is shown as 71. In another embodiment, the floating window may also be obtained by screen capturing the name of document 2. In yet another embodiment, the floating window may also be generated by intercepting a portion of the content in document 2.
In one embodiment, referring to fig. 8 (a), when the user wants to share the document 2, the floating window may be scratched, for example, the scratching operation may include, but is not limited to, any one of an up scratch, a down scratch, a left scratch, a right scratch, an up-left scratch, an up-right scratch, a down-right scratch, and a down-left scratch. In response to a swipe operation by a user, the mobile phone searches for a target device with a peripheral opening sharing function and/or a target application with the sharing function (for example, an application for declaring android. And then, the mobile phone displays a sharing prompt box, and the searched target equipment and/or target application are displayed in the displayed sharing prompt box. Illustratively, the sharing hint box is shown in (b) of fig. 8. Thus, the user can share the document 2 based on the sharing prompt box.
Optionally, referring to fig. 8 (a), the mobile phone may display operation prompt information in the vicinity of the floating window, where the operation prompt information is used to prompt the user how to perform operations based on the floating window. For example, the operation prompt information is "swipe sharing", and the mobile phone also displays a swipe mode (such as a drawing indicates swipe upwards). At this time, the operation prompt information is used to instruct the user to trigger the mobile phone to share the document 2 by upwards sliding the floating window.
As an example of the present application, please continue with fig. 8 (b), the sharing prompt box may further include a copy touch key and/or a transfer touch key. In one embodiment, the copy touch key may be replaced with a "save to" touch key, and the transfer touch key may be replaced with a "copy to" touch key.
In one embodiment, referring to fig. 9 (a), a copy touch button in the sharing prompt box may be triggered when the user wants to back up the document 2. And responding to the triggering operation of the user on the copy touch control key in the sharing prompt box, and pulling up a path selector of the resource management application by the mobile phone, so that the user can select or newly establish a catalog. The mobile phone backs up the document 2 to a specified storage space specified by the user based on the operation of the user. For example, referring to fig. 9 (b), document 2 is backed up under the my cell phone directory.
In one embodiment, referring to fig. 10 (a), when the user wants to transfer the document 2 from the target storage space of APP1 to the designated storage space, the transfer touch button in the sharing prompt box may be triggered. And responding to the triggering operation of the user on the transfer touch button in the sharing prompt box, and pulling up a path selector of the resource management application by the mobile phone, so that the user can select or newly establish a catalog. The mobile phone transfers the document 2 to a specified storage space specified by the user based on the user's operation. For example, referring to fig. 10 (b), document 2 is moved under the "proof materials" directory.
As an example, please continue to refer to fig. 8 (b), the sharing prompt box further includes a print touch button, and the print touch button in the sharing prompt box may be triggered when the user wants to print the document 2. And responding to the triggering operation of the printing touch keys in the sharing prompt box by the user, and calling the printing application by the mobile phone so as to print the document 2 through the printing application.
In one embodiment, the hover window may be clicked when the user wants to open document 2. As an example, in response to a user clicking on the floating window, the handset opens document 2 through the target application, such as opening document 2 using a word processing system (word processing system, WPS) office. As another example, referring to fig. 11 (a), in response to a click operation of the floating window by the user, the mobile phone displays a plurality of target applications that can be used to open the document 2. For example, referring to fig. 11 (b), the mobile phone shows the plurality of target applications that can be used to open the document 2 through an application list. Thus, the user can select one target application from the plurality of target applications, and the mobile phone opens the document 2 through the target application selected by the user in response to the selection operation of the user. For example, when the user selects Adobe Reader, the cellular phone opens document 2 through Adobe Reader.
It should be noted that the display position of the floating window may be set according to actual requirements, for example, displayed on the lower left corner of the current display interface of the mobile phone. Alternatively, the display position of the floating window may be random, which is not limited in the embodiment of the present application.
Referring to fig. 12, fig. 12 is a schematic diagram of an application scenario provided in accordance with another exemplary embodiment.
In one embodiment, APP1 in the handset receives document 3 "office supplies list", the format of document 3 being excel format. The APP1 is provided with a management touch button, and when a user manages the document 3, the management touch button can be triggered. In response to a triggering operation of the management touch key, APP1 displays a management page, which is illustrated in fig. 12 (a), and includes a "save to cell phone" touch key. When the user wants to download the document 3 into the mobile phone, the user can trigger the touch button of the "save to mobile phone", and respond to the triggering operation of the touch button of the "save to mobile phone" by the user, the mobile phone downloads the document 3, that is, the mobile phone saves the document 3 locally.
When the downloading of the document 3 is completed, the mobile phone displays the desktop card in the desktop. For example, please refer to fig. 12 (b), a desktop card is shown as 121. The desktop card includes card information of the document 3, where the card information includes the sharing touch key 1211 and attribute information of the document 3, and the attribute information of the document 3 may include, but is not limited to, at least one of a format, a name, a file size, and a download time. Thus, the user can further operate the document 3 based on the desktop card.
In one embodiment, referring to fig. 13 (a), when the user wants to share the document 3, the user can trigger the sharing touch button in the desktop card. And responding to the triggering operation of the sharing touch key in the desktop card by the user, and searching the peripheral opening sharing target equipment and/or the sharing target application by the mobile phone. Then, the mobile phone displays a sharing prompt box, and displays the searched target device and/or target application in the displayed sharing prompt box, where the sharing prompt box is shown in (b) of fig. 13. Thus, the user can share the document 3 based on the sharing prompt box.
As an example of the present application, please continue to refer to fig. 13 (b), the sharing prompt box may further include a copy touch key and/or a transfer touch key, so that the document 3 may be backed up to the designated storage space based on the copy touch key, and the document 3 may be transferred to the designated storage space based on the transfer touch key, which is described in detail above, and details of the implementation are not repeated herein.
As an example, please continue to refer to fig. 13 (b), the sharing prompt box further includes a print touch button, which can be triggered when the user wants to print the document 3. In response to a triggering operation of the printing touch key by the user, the mobile phone invokes the printing application to print the document 3 through the printing application.
As one example of the present application, a user may open document 3 based on a desktop card. Illustratively, the attribute information of the document 3 displayed in the desktop card includes an icon and a name of the document 3, and the icon or name of the document 3 may be clicked in the desktop card when the user wants to open the document 3. As an example, in response to a trigger operation by the user, the mobile phone opens the document 3 through the target application. As another example, in response to a triggering operation of the user, the mobile phone opens an application list, where the application list includes a plurality of target applications that can be used to open the document 3, so that the user can select one target application from the application list according to actual needs, and in response to a selection operation of the user, the mobile phone opens the document 3 through the target application selected by the user.
As an example of the application, the desktop card includes, in addition to the document 3, card information of at least one other document that is recently downloaded or opened by the mobile phone. For example, please continue to refer to fig. 13 (a), the desktop card further includes card information of "new policy" of the document 4, and similarly, the card information of the document 4 includes a sharing touch button and attribute information of the document 4, the sharing touch button of the document 4 may be used to trigger sharing of the document 4, and the attribute information of the document 4 may be used to trigger an opening operation of the document 4.
As an example of the application, when card information of a new document (such as document 5) to be displayed exists in the mobile phone, the mobile phone flushes the card information of the document with the earliest generation time in the desktop card by using the card information of the document 5, that is, deletes the card information of the document with the earliest generation time in the desktop card, and displays the card information of the document 5 in the first position of the desktop card. For example, referring to fig. 14, the card information of document 5 is flushed out of the card information of document 4, and the card information of document 5 is displayed before the card information of document 3.
In one embodiment, the user may not open document 3 immediately after the handset downloads document 3, but rather want to open document 3 after a period of time has elapsed. For example, after the user downloads the document 3 to the local place through the mobile phone, after a few hours, the user clicks the document 3 in the APP1, and in response to the user's triggering operation of the document 3 in the APP1, the mobile phone opens the document 3. In this case, the card information of the document 3 in the desktop card may be already flushed by the card information of other new documents, at this time, when detecting the opening operation of the user on the document 3, the mobile phone flushes the card information of the document 3 with the earliest generation time in the desktop card, that is, redisplays the card information of the document 3 in the desktop card, and the card information of the document 3 is displayed in the top in the desktop card, which can be seen in fig. 15 for a specific implementation.
As an example of the present application, the desktop card further includes a view touch key, and for example, please refer to fig. 12 (b), the view touch key is a "more" touch key. The view touch button is used for triggering a designated page entering the resource management application. The view touch key in the desktop card may be triggered when the user wants to view more recently downloaded network resources, and in response to the user's trigger operation of the view touch key, the handset enters a designated page of the resource management application, as shown in fig. 6 (b), for example. The designated page comprises a plurality of resource labels, the resource labels are sequentially arranged according to the sequence from late to early of the generation time, and each resource label is used for triggering the view of the corresponding network resource, so that a user can view the network resource recently downloaded in more mobile phones.
After the application scenario related to the embodiment of the present application is introduced, the internal implementation related to the embodiment of the present application is described next. Referring to fig. 16, fig. 16 is a schematic diagram illustrating a system architecture including an electronic device and a configuration server according to an exemplary embodiment. As an example, the electronic device mainly includes a file system, a system service module, a sharing module, a resource management module, and an interface display module, except for installing an APP. In one embodiment, the interface display module includes a UI module or a card management module. In one embodiment, the electronic device further comprises a listening module. As an example, the configuration server may be a gateway routing server (Gateway Routing Server, GRS). The electronic equipment performs data communication with the configuration server through the system service module.
As an example of the present application, the interface display module may be configured to obtain a status of a message notification switch, where the message notification switch is configured to indicate whether to turn on a listening function for downloading network resources. In one embodiment, the interface display module notifies the system service module of the acquired status of the message notification switch.
As an example of the application, the electronic device regularly reads a target storage path corresponding to a target storage space to be monitored from the configuration server through the system service module, and the system service module obtains the state of the message notification switch from the interface display module. In one embodiment, in a state that the message notification switch is turned on, the system service module senses, through the file system, whether a new network resource is generated in the target storage space, and for convenience of understanding, the newly generated network resource is referred to as a first network resource in the embodiment of the present application. When the file system senses that the target storage space has the first network resource generated, the first network resource is notified to the monitoring module, and the monitoring module reports the first network resource to the system service module.
In one embodiment, the interface display module includes a UI module. The system service module notifies the resource management module that a first network resource is generated, and at this time, the resource management module generates a prompt message for providing a shortcut option for operating the first network resource. After the resource management module generates the prompt message, the prompt message is sent to the UI module so as to pop up the prompt message through the UI module.
In another embodiment, the interface display module includes a card management module. The system service module informs the resource management module that the first network resource is generated, and sends a target storage path of the first network resource to the resource management module, and the resource management module acquires attribute information of the first network resource based on the target storage path. The resource management module informs the card management module, and the card management module calls back the attribute information of the first network resource and generates a desktop card based on the callback attribute information. And then, the card management module displays the desktop card as a prompt message.
Thus, the user can perform management such as sharing, backup, transferring, opening and printing on the first network resource based on the prompt message. For example, when the user shares the first network resource based on the prompt message, the resource management module notifies the sharing module to perform the sharing operation in response to the sharing operation. For another example, when the user transfers the first network resource based on the prompt message, the resource management module transfers the first network resource to the location in response to the transfer operation. For another example, when the user opens the first network resource based on the hint message, the resource management module performs an opening operation or the like in response to a click operation of the user on the message body of the hint message.
The following describes a specific implementation flow of a network resource processing method according to an embodiment of the present application with reference to the accompanying drawings. Referring to fig. 17, fig. 17 is a schematic flowchart of a method for processing a network resource according to an embodiment of the present application, where the method may be applied to the electronic device, and the method may include some or all of the following:
step 1701: and acquiring a first network resource through a first application in the electronic equipment.
The first application refers to an application in the electronic device that can be used to download network resources. The number of first applications may be one or more. In the case that the number of the first applications is plural, the types of the plural first applications may be the same or different, for example, the first applications in the electronic device include APP1, APP2, APP3, APP4, APP5, where APP1, APP2, APP3 are social applications, APP4 is a search application, and APP5 is an electronic mailbox.
As an example, a specific implementation of obtaining, by a first application in an electronic device, a first network resource may include: the first network resource sent by a second application in the other electronic device is received by a first application in the electronic device, the second application being, for example, of the same type as the first application.
As another example, a specific implementation of obtaining, by a first application in an electronic device, a first network resource may further include: a first network resource is searched from a network platform by a first application in the electronic device. For example, the first application is a browser through which the electronic device searches for documents, etc. from a network platform.
Of course, the above specific implementation manner of acquiring the first network resource by the first application in the electronic device is merely exemplary, and in another embodiment, the first network resource may also be acquired by the first application in other manners, which is not limited in this embodiment of the present application.
Step 1702: the monitoring target storage space stores a first network resource, and a prompt message is displayed, wherein the target storage space is a resource storage space when the first application downloads the network resource, and the prompt message is used for providing a shortcut option for operating the first network resource.
It will be appreciated that the target storage space is the resource storage space that needs to be listened to. In one embodiment, each network resource in the target storage space may be arranged according to a priority, where the priority of each network resource may be determined according to at least one of a download time, an open time, and an open frequency of the corresponding network resource, and the embodiment of the present application is not limited in this regard.
In one embodiment, as shown in fig. 16, the target storage path corresponding to the target storage space is obtained from the configuration server by the electronic device. The electronic device periodically acquires a resource storage path to be monitored from the configuration server to obtain a target storage path. In this manner, the timing acquisition may enable the electronic device to acquire the latest target storage path.
Wherein the number of target storage paths may be one or more. In the case that the number of the target storage paths is plural, each target storage path corresponds to one first application. Illustratively, the first application includes a WX application and a Browser, where the target storage path of the WX application is/storage/scheduled/0/Download/WX, and the target storage path of the Browser is/storage/scheduled/0/Download/Browser, that is, there are two target storage paths at this time, respectively, namely/storage/scheduled/0/Download/WX and/storage/scheduled/0/Download/Browser.
In one embodiment, the first network resource is a document. The electronic device monitors the target storage space through the file system to monitor whether documents are generated in the target storage space.
If the target storage space stores the first network resource, it indicates that the electronic device downloads the first network resource through the first application, and in this case, the user may have a need to manage the first network resource, and for this reason, the electronic device displays a prompt message.
Illustratively, taking the first network resource as an example of a document. The electronic equipment monitors the target storage space through the file system, and when the target storage space stores the document, the monitoring module in the electronic equipment is notified, and the monitoring module notifies the system service module. The system service module notifies the resource management module. In one embodiment, the resource management module generates a hint message. And then, the resource management module sends the generated prompt message to the interface display module, and the interface display module displays the prompt message in the electronic equipment. Thus, the user can quickly manage the document based on the prompt message.
As one example of the present application, the electronic device obtains the status of the message notification switch prior to listening to the target storage space. And executing the operation of monitoring the target storage space under the condition that the message notification switch is in an on state.
In one example, an electronic device obtains a status of a message notification switch through a system service module. And under the condition that the message notification switch is in an on state, the system service module monitors that the target storage space stores the first network resource and notifies the resource management module. After receiving the notification of the system service module, the resource management module generates a prompt message, and sends the prompt message to the interface display module. The interface display module displays the prompt message.
In another example, the electronic device obtains a status of the message notification switch through the system service module. And under the condition that the message notification switch is in an on state, the system service module monitors that the target storage space stores the first network resource, notifies the resource management module, and sends the target storage path to the resource management module. The resource management module obtains attribute information of the first network resource based on the target storage path. The resource management module informs the interface display module, and the interface display module recalls the attribute information and generates a prompt message based on the attribute information. The interface display module displays the prompt message. This may be done, for example, when the alert message is a desktop card.
The shortcut options provided in the prompt message are used for directly transmitting the first network resource to the target application or the target device, and/or the shortcut options are used for directly storing the first network resource from the target storage space to the appointed storage space.
The step of directly transmitting the first network resource to the target application or the target device means that the first network resource can be transmitted to the target application or the target device without multiple operations of a user. Similarly, directly storing the first network resource from the target storage space to the designated storage space means that the first network resource can be stored from the target storage space to the designated storage space without requiring multiple operations by the user.
As an example of the present application, the message body of the hint message is triggerable, the message body of the hint message being used to trigger a manner of management of the first network resource; and/or the prompt message comprises at least one touch key, and each touch key in the at least one touch key is used for triggering a management mode of the first network resource. That is, the shortcut options provided by the alert message may be the message body and/or the touch keys of the alert message.
In one embodiment, in case the message body of the hint message is triggerable, different management operations on the first network resource may be triggered by different triggering means for the message body. For example, the sharing operation of the first network resource is triggered by a swipe of the message body, the opening operation of the first network resource is triggered by a click of the message body, and the like.
As an example of the application, in the case where the shortcut option is used to directly transmit the first network resource to the target application or the target device, the prompt message includes at least one of a sharing shortcut option, an opening shortcut option, and a printing shortcut option, where the sharing shortcut option is used to trigger sharing the first network resource directly to the target application or the target device, the opening shortcut option is used to trigger opening directly sending the first network resource to the target application, and the printing shortcut option is used to trigger directly sending the first network resource to the target application for printing.
As an example of the present application, where the shortcut option is used to directly store the first network resource from the target storage space to the designated storage space, the hint message includes at least one of a copy shortcut option for triggering directly copying the first network resource from the target storage space to the designated storage space, and a transfer shortcut option for triggering directly transferring the first network resource from the target storage space to the designated storage space.
As an example of the present application, in the case where the hint message includes a sharing shortcut option, an opening shortcut option, a printing shortcut option, a copying shortcut option, and a transferring shortcut option, the hint message includes a multi-level hint menu, and the sharing shortcut option, the opening shortcut option, the printing shortcut option, the copying shortcut option, and the transferring shortcut option are displayed in a hierarchical manner through the multi-level hint menu.
That is, if the number of shortcut options included in the prompt message is large, the prompt message may be displayed in a hierarchical manner through a multi-level prompt menu. For example, referring to fig. 8, the prompt message includes two levels of prompt menus, the first level of prompt menu is a floating window included in the diagram (a) in fig. 8, and the second level of prompt menu is a sharing prompt box included in the diagram (b) in fig. 8.
As one example of the present application, a view operation is detected based on a hint message, a resource management application is invoked, in which a first network resource is displayed. For example, the first network resource is displayed in a designated page of the resource management application.
As one example of the application, the prompt message is any one of a desktop card, a floating window and a prompt box.
As an example of the present application, the hint message includes hint information for a plurality of network resources. The prompt information of each network resource is used for providing a shortcut entry for the management of each network resource by the user.
As an example of the present application, hint information of a plurality of network resources included in a hint message is updated according to a resource download time.
For example, when there is a prompt message of a network resource to be displayed, the electronic device may delete the prompt message of the network resource displayed earliest in the prompt message, and display the prompt message of the network resource to be displayed in the prompt message in a top manner, so as to update the prompt message of the network resource in the prompt message.
As an example of the present application, when the hint information of the first network resource in the hint message disappears, an open event of the first network resource is detected, and the hint information of the first network resource is redisplayed in the hint message.
As described above, since the hint information of the plurality of network resources included in the hint message is updated according to the resource download time, in one case, the hint information of the first network resource in the hint message may be deleted. When the electronic equipment detects that the first network resource is opened, the prompt information of the first network resource can be redisplayed in the prompt message, so that the user can quickly manage the first network resource based on the prompt message again.
As an example of the present application, if the first network resource is stored in the target storage path, before the prompt message is displayed, whether the message prompt condition is met may also be determined, and if the message prompt condition is met, the electronic device performs an operation of displaying the prompt message.
The message prompting condition can be set according to actual requirements. Illustratively, the message hint condition may be: the format of the first network resource is a preset format, such as preset formats may include, but are not limited to, doc, docx, xls, xlsx, pdf, ppt, pptx, zip, alz, rar.
By way of example, since various types of network resources may be stored in the target storage space, as an example, message prompting may be performed in the event that document generation is detected. Therefore, if the target storage space stores the first network resource, the electronic device may determine whether the first network resource is a document in a preset format. And if the first network resource is a document in a preset format, displaying a prompt message. In this way, the electronic device can be monitored and prompted in a targeted manner.
In the embodiment of the application, the first network resource is acquired through the first application in the electronic device, the first network resource is stored in the target storage space when the first application downloads the network resource, the first network resource is downloaded through the first application, and the prompt message is displayed at the moment. The hint message is used to provide a shortcut option for operating on the first network resource. The shortcut option is used for directly transmitting the first network resource to the target application or the target device, and/or the shortcut option is used for directly storing the first network resource from the target storage space to the designated storage space. Therefore, the user can manage the first network resource quickly, and the situation that the user needs to operate for many times to enter the actual storage position of the first network resource is avoided, so that the management efficiency of the network resource can be improved.
As one example of the present application, an electronic device may generate different forms of alert messages for alert. By way of example and not limitation, based on the embodiments described above, several prompting modes are respectively described below by way of the following embodiments.
Referring to fig. 18, fig. 18 is a flowchart illustrating a method of processing a network resource according to another exemplary embodiment. The method can be applied to the electronic device, and is described herein by taking the method as an example when the method is executed by a module included in the electronic device. By way of example and not limitation, the method may include some or all of the following:
1801: the system service module obtains the status of the message notification switch.
As one example, a message notification switch is provided in a resource management application.
The system service module acquires the state of the message notification switch and correspondingly starts or closes the monitoring function of the download network resource according to the state of the message notification switch. For example, the monitoring function of the downloaded network resource is turned on when the message notification switch is in an on state, and the monitoring function of the downloaded network resource is turned off or not turned on when the message notification switch is in an off state.
1802: and under the condition that the message notification switch is in an on state, the system service module monitors the target storage space.
The target storage path corresponding to the target storage space is obtained from the configuration server by the system service module in a timing manner. It should be noted that, there is no execution sequence between the process of the system service module obtaining the target storage path and other operations performed.
As an example of the present application, if the message notification switch is in the off state, the system service module does not execute the monitoring operation, and at this time, does not start the monitoring function of the downloaded network resource, that is, does not execute the processing method of the network resource provided in the embodiment of the present application.
As an example of the present application, the system service module may continue to monitor the state of the message notification switch during the process of monitoring the target storage space, and if the state of the message notification switch is monitored to switch from the on state to the off state, the monitoring function of the download network resource is turned off.
It should be noted that, the above-mentioned monitoring function of the downloaded network resource related to the embodiment of the present application is turned on or off by setting the state of the message notification switch, so that the user may turn on or off the message notification switch according to the actual requirement, thereby turning on or off the monitoring function of the downloaded network resource, and further improving the user experience.
The above description is given taking the state of the system service module acquiring the message notification switch before monitoring the target storage space as an example. In another embodiment, the step of acquiring the state of the message notification switch is optional, that is, the state of the message notification switch may not be acquired, and the system service module directly performs the operation of monitoring the target storage space, which is not limited in the embodiment of the present application.
1803: the system service module monitors that the target storage space stores the first network resource and notifies the resource management module.
Illustratively, if the first network resource is a document and the format of the document is any one of doc, docx, xls, xlsx, pdf, ppt, pptx, zip, alz, or rar, the system services module sends a notification to the resource management module indicating that a new document is generated in the target storage space.
1804: and after receiving the notification of the system service module, the resource management module generates a prompt box.
That is, after the resource management module receives the notification from the system service module, a prompt message is generated, and here, the description will be given taking the prompt message as a prompt box as an example.
1805: and the resource management module sends the generated prompt box to the UI module.
That is, the resource management module sends the prompt message to the interface display module, which is illustrated here as a UI module.
1806: the UI module displays a prompt box.
That is, the UI module displays the prompt box as a prompt message in a current display interface of the electronic device. The display effect is exemplarily shown in fig. 3 (b).
As an example of the application, the prompt box comprises at least one of a sharing shortcut option and a transferring shortcut option. The prompt box responds to several events:
In one embodiment, the resource management module notifies the sharing module in response to a triggering operation of a sharing shortcut option (e.g., a sharing trigger button in the (b) diagram of fig. 3). And after the sharing module receives the notification of the resource management module, searching the target application with the sharing function in the electronic equipment and the target equipment for starting the sharing function. The sharing module displays a sharing prompt box, as shown in fig. 4 (b), wherein the sharing prompt box comprises a searched target application and/or target equipment, and the resource management module obtains a first network resource from the target storage space and sends the first network resource to the target application or the target equipment selected by the selection operation in response to the selection operation of the target application and/or the target equipment included in the sharing prompt box. That is, the user may quickly share the first network resource to the target device or the target application in the sharing prompt box based on the sharing prompt box.
In another embodiment, in response to a trigger operation to transition the shortcut option, the resource management module invokes a path selector to obtain path content through the path selector. The resource management module displays a path management interface based on the path content. In response to a path selection operation based on the path management interface input, the resource management module determines a designated storage space selected by the path selection operation. The resource management module acquires the first network resource from the target storage space and stores the first network resource to the designated storage space. The resource management module deletes the first network resource stored in the target storage space.
Thus, the user can select the catalog or the newly built target, and the first network resource can be transferred to the designated storage space. Therefore, network resources downloaded by different first applications can be collected under a unified storage path, and the user can conveniently view and manage the network resources.
In yet another embodiment, the prompt box is triggerable. Responding to the triggering operation of the prompt box, entering a designated page of a resource management application, wherein the resource management application is used for managing network resources downloaded by a first application in the electronic equipment, the designated page comprises at least one resource label which is generated before the current time and within a preset duration from the current time, each resource label is used for triggering the opening operation of the network resources corresponding to each resource label, and the at least one resource label is arranged according to the generation time sequence.
The preset time length can be set according to actual requirements. For example, the preset duration may be 1 month, and at this time, the preset duration before and within the preset duration from the current time means within the nearest month.
As one example, the resource management application is the file management application described above, designating the page as the most recent tab in the file management application.
For example, when a user wants to view a network resource recently downloaded by a first application in an electronic device, the prompt box may be clicked. And responding to the triggering operation of the prompt box, starting the file management application by the electronic equipment, and jumping to the nearest tab of the file management application, wherein the nearest tab comprises the resource tag of the recently downloaded document. The user may trigger the resource tag to view the corresponding document. In this way, the electronic device enters the designated page of the resource management application in response to the triggering operation of the prompt box, so that the user can conveniently view the recently downloaded document.
In one embodiment, after detecting the user's operation on the prompt box, the electronic device may no longer display the prompt box.
In the embodiment of the application, the first network resource is acquired through the first application, the first network resource is stored in the monitoring target storage space, the user is prompted through the pop-up prompt box, the user can rapidly manage the first network resource based on the prompt box, the condition that the user needs to manually operate for multiple times to enter the actual storage position of the first network resource for management is avoided, and the efficiency of network resource management is improved.
Referring to fig. 19, fig. 19 is a flowchart illustrating a method of processing a network resource according to another exemplary embodiment. The method can be applied to the electronic device, and is described herein by taking the method as an example when the method is executed by a module included in the electronic device. By way of example and not limitation, the method may include some or all of the following:
1901: the system service module obtains the status of the message notification switch.
1902: and under the condition that the message notification switch is in an on state, the system service module monitors the target storage space.
1903: the system service module monitors that the target storage space stores the first network resource and notifies the resource management module.
It should be noted that, the implementation of the steps 1901 to 1903 may be referred to the implementation of the steps 1801 to 1803, and the detailed description is not repeated here.
1904: and after the resource management module receives the notification of the system service module, generating a floating window.
That is, the resource management module generates a prompt message after receiving the notification from the system service module, and the description will be given here taking the suspension window as an example of the prompt message.
In one embodiment, the floating window includes attribute information for the first network resource including, but not limited to, name, format, resource size.
As one example of the present application, a floating window is used to trigger sharing or opening of a first network resource.
As an example of the present application, if the first network resource is a document and the format of the document is PDF, the generated floating window includes a PDF icon. Alternatively, the floating window includes information such as a name of the document, which is not limited in the embodiment of the present application.
1905: the resource management module sends the floating window to the UI module.
That is, the resource management module sends the prompt message to the interface display module, which is illustrated here as a UI module.
1906: the UI module displays a floating window.
That is, the UI module displays the floating window as a prompt message to the current display interface of the electronic device.
As one example of the present application, a floating window responds to several events:
in an embodiment, in response to the sliding operation of the floating window, the electronic device performs the sharing operation through the resource management module and the sharing module, and the specific implementation may refer to the embodiment shown in fig. 18, which is not repeated here.
By way of example and not limitation, the sharing prompt box further includes a copy shortcut option for triggering copying of the first network resource and/or a transfer shortcut option for triggering location transfer of the first network resource.
In one embodiment, in response to a triggering operation to copy the shortcut option, the resource management module invokes a path selector to obtain path content through the path selector. The resource management module displays a path management interface based on the path content. In response to a path selection operation based on the path management interface input, the resource management module determines a designated storage space selected by the path selection operation. The resource management module acquires the first network resource from the target storage space and copies the first network resource to the designated storage space.
Thus, the user can select the catalog or the newly built target, and the first network resource can be backed up to the appointed storage space. Therefore, network resources downloaded by different first applications can be collected under a unified storage path, and the user can conveniently view and manage the network resources.
The specific implementation of the transfer may be referred to above, and the detailed description is not repeated here.
By way of example and not limitation, the sharing prompt box also includes a print shortcut option. And responding to the triggering operation of the printing shortcut option, and determining that the printing application in the electronic equipment is a target application by the resource management module. The resource management module obtains the first network resource from the target storage space and sends the first network resource to the printing application so as to print the first network resource through the printing application. That is, the embodiment of the application can also support rapid printing of the first network resource.
In one embodiment, the floating window is clickable. When the click operation on the floating window is detected, the trigger operation on the opening shortcut option is determined to be detected. That is, the open shortcut option at this time is the floating window itself.
In response to a triggering operation of opening the shortcut option, the resource management module determines a target application which can be used for opening the first network resource from applications included in the electronic device according to the format attribute of the first network resource. The resource management module acquires the first network resource from the target storage space and sends the first network resource to the target application so as to open the first network resource through the target application.
In one embodiment, the number of target applications in the electronic device that can be used to open the first network resource may be one. For example, in the case where the first network resource is a document, the target application is WPS office. When the clicking operation of the user on the floating window is detected, the resource management module calls the WPS office, sends the document to the WPS office, and opens the document through the WPS office.
In another embodiment, the number of target applications in the electronic device that can be used to open the first network resource may be multiple. In this case, in response to the click operation of the floating window, an application list including a plurality of target applications that can be used to open the first network resource is displayed, the application list being used to select the target application to open the first network resource.
That is, in such an implementation, when a user's click operation on the floating window is detected, the resource management module displays a plurality of target applications that can be used to open the first network resource through the application list. The user can select one target application from a plurality of target applications according to actual requirements based on the application list. In response to a selection operation by the user, the resource management module opens the first network resource through the target application selected by the user. Therefore, the plurality of target applications are displayed to the user, so that the user can select one target application to open the first network resource according to actual requirements, and user experience is improved.
In the embodiment of the application, the first network resource is received by the first application, the first network resource is stored in the monitoring target storage space, the user is prompted by popping up the floating window, the user can rapidly manage the first network resource based on the floating window, the condition that the user needs to operate for many times to enter the actual storage position of the first network resource for management is avoided, and the efficiency of network resource management is improved.
Referring to fig. 20, fig. 20 is a flowchart illustrating a method of processing a network resource according to another exemplary embodiment. The method can be applied to the electronic device, and is described herein by taking the method as an example when the method is executed by a module included in the electronic device. By way of example and not limitation, the method may include some or all of the following:
2001: the system service module obtains the status of the message notification switch.
2002: and under the condition that the message notification switch is in an on state, the system service module monitors the target storage space.
2003: the system service module monitors that the target storage space stores the first network resource and notifies the resource management module.
It should be noted that, the implementation of step 2001 to step 2003 may be referred to the implementation of step 1801 to step 1803, and the detailed description will not be repeated here.
In addition, when the system service module notifies the resource management module that the first network resource is generated, the system service module transmits the target storage path of the first network resource to the resource management module.
2004: the resource management module acquires attribute information of the first network resource.
In one embodiment, the resource management module obtains attribute information for the first network resource based on the target storage path.
2005: the resource management module notifies the card management module.
2006: the card management module generates a desktop card.
As an example, please refer to fig. 21, fig. 21 is a flowchart illustrating interaction between a resource management module and a card management module according to an exemplary embodiment. The card management module comprises a first management unit and a second management unit, wherein the first management unit determines the display position of the desktop card to be generated after receiving the notification of the resource management module, and the display position can be set according to actual requirements. For example, the determined display position is used to set the desktop card on top for display. And then, the second management unit acquires the attribute information of the first network resource from the resource management module in a callback mode, and performs information layout based on the attribute information to generate a desktop card to be displayed.
2007: the card management module displays the desktop card.
In one embodiment, the card management module displays the desktop card on the desktop of the electronic device via the first management unit. Thus, the user can further manage the first network resource based on the desktop card.
In one embodiment, the desktop card includes card information of a first network resource, where the card information includes attribute information of the first network resource and a sharing shortcut option, and the attribute information of the first network resource is used to trigger an opening operation of the first network resource, and the sharing shortcut option is used to trigger sharing of the first network resource. Desktop cards respond to several events:
as an example, in response to a triggering operation of the sharing shortcut option, the electronic device performs the sharing operation through the resource management module and the sharing module, and the specific implementation of the sharing operation may refer to the embodiment shown in fig. 18, which is not repeated here.
Optionally, the sharing prompt box includes at least one of a copy shortcut option, a transfer shortcut option, and a print shortcut option, where the copy shortcut option is used to trigger copying of the first network resource, the transfer shortcut option is used to trigger position transfer of the first network resource, and the print shortcut option is used to trigger printing of the first network resource. Specific implementation can be found in the foregoing, and the detailed description is not repeated here.
Therefore, the user can quickly copy or transfer the first network resource to the well-known designated storage space according to the actual demand by providing the copy shortcut option and/or the transfer shortcut option for the user through the sharing prompt box, that is, the unified management of the network resource is facilitated for the user. In addition, a user is provided with a printing shortcut option through the sharing prompt box, so that the user can print quickly according to actual requirements.
As an example, the desktop card further includes card information of a second network resource that is opened or downloaded at a point in time before and closest to the download time of the first network resource under the target storage path, where the card information of the first network resource is arranged before the card information of the second network resource. That is, the desktop card includes not only the first network resource, but also a second network resource that is opened or downloaded prior to the downloading of the first network resource.
As an example, if there is card information of the third network resource to be displayed, the card information of the third network resource is displayed before the card information of the first network resource in the desktop card, and the card information of the second network resource is deleted.
That is, after the desktop card is generated, if there is card information of the new third network resource to be displayed, the card management module may update the card information in the desktop card. Specifically, the card information of the third network resource is displayed at the first position, and the card information of the second network resource arranged at the tail is deleted, namely, the card information of the second network resource is flushed by the card information of the third network resource. Thus, by dynamically updating the desktop card, the user can be provided with card information of the newly downloaded or opened network resource in the electronic device.
It should be noted that, the above description is given by taking card information including two network resources in the desktop card as an example, and in another embodiment, the desktop card may further include card information including more than two network resources, which is not limited in this embodiment of the present application.
As an example, in a case where card information of the first network resource in the desktop card is deleted, if an open event of the first network resource is detected, the card information of the first network resource is redisplayed in the desktop card.
Since the card information in the desktop card may be dynamically updated, in one instance, the card information for the first network resource may be deleted. In this case, after the first network resource is downloaded, when the opening operation of the first network resource is detected, the card management module may redisplay the card information of the first network resource in the desktop card, and display the card information of the first network resource in the top of the desktop card.
As one example, the first network resource is opened by the target application in response to a triggering operation of the attribute information of the first network resource.
For example, assuming that the attribute information includes a name and an icon, when detecting a triggering operation of the name or icon of the first network resource by the user, the electronic device opens the first network resource through a default target application, such as WPS office.
As another example, in response to a trigger operation of attribute information of the first network resource, an application list including a plurality of target applications that can be used to open the first network resource is displayed, the application list being used to select the target application to open the first network resource.
That is, in this implementation, when a trigger operation of attribute information of the first network resource by the user is detected, the electronic device displays a plurality of target applications that can be used to open the first network resource through the application list. In this case, the user may select one target application from a plurality of target applications according to actual demands based on the application list. And responding to the selection operation of the user on the plurality of target applications, and opening the first network resource by the electronic equipment through the target application selected by the user. Therefore, the plurality of target applications are displayed to the user, so that the user can select one target application to open the first network resource according to actual requirements, and user experience is improved.
In addition, as will be understood, when a trigger operation of the user on the attribute information of the second network resource in the desktop card is detected, the electronic device may open the second network resource in a manner of opening the first network resource in response to the trigger operation of the user.
As one example, a view shortcut option is also included in the desktop card for triggering entry into a designated page of the resource management application. As one example, the resource management application is the file management application described above, designating the page as the most recent tab in the file management application.
Therefore, the user can quickly view the network resources downloaded or opened in the latest electronic equipment through the shortcut option, and the user experience is improved.
As one example of the application, when the card management module detects that the display duration of the desktop card from the generation time exceeds a preset duration, the desktop card is removed from the desktop of the electronic device. The preset time length can be set according to actual requirements. That is, after the desktop card is displayed for a period of time, the desktop card may not be displayed.
As one example of the application, the desktop card is removed from the desktop of the electronic device when the card management module detects that the display duration of the desktop card has exceeded a preset duration since the last update time. That is, since the card information in the desktop card is dynamically updated, in one case, when the card information in the desktop card is not updated any more and the display duration of the desktop card exceeds the preset duration, it is indicated that the card information in the desktop card has been displayed for a longer time, at which time the desktop card may not be displayed any more.
And under the condition that the desktop card is removed, the electronic equipment destroys the task of monitoring the target storage space.
In the embodiment of the application, the first network resource is acquired through the first application, the first network resource is stored in the monitoring target storage space, the user is prompted through the pop-up desktop card, the user can rapidly manage the first network resource based on the desktop card, the condition that the user needs to operate for many times to enter the actual storage position of the first network resource for management is avoided, and the efficiency of network resource management is improved.
It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of the processes should be determined by the functions and internal logic of the steps, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Fig. 22 is a block diagram of an electronic device according to an embodiment of the present application, where the electronic device may be used to execute the processing method of the network resource. For convenience of explanation, only portions relevant to the embodiments of the present application are shown.
Referring to fig. 22, an electronic device 2210 includes: including a touch screen 2201, memory 2202, one or more processors 2203, a plurality of application programs 2204, and one or more programs 2205; wherein the one or more programs 2205 are stored in the memory 2202; the one or more processors 2203, when executing the one or more programs 2205, are configured to:
acquiring a first network resource through a first application in the electronic equipment;
monitoring that a target storage space stores the first network resource, and displaying a prompt message, wherein the target storage space is a resource storage space when the first application downloads the network resource, and the prompt message is used for providing a shortcut option for operating the first network resource;
the shortcut option is used for directly transmitting the first network resource to a target application or target equipment, and/or the shortcut option is used for directly storing the first network resource from the target storage space to a designated storage space.
As an example of the application, in a case where the shortcut option is used to directly transmit the first network resource to the target application or the target device, the prompt message includes at least one of a sharing shortcut option, an opening shortcut option, and a printing shortcut option, where the sharing shortcut option is used to trigger sharing the first network resource directly to the target application or the target device, the opening shortcut option is used to trigger directly transmitting the first network resource to the target application to be opened, and the printing shortcut option is used to trigger directly transmitting the first network resource to the target application to be printed; in the case that the shortcut option is used for directly storing the first network resource from the target storage space to the designated storage space, the prompt message includes at least one of a copy shortcut option and a transfer shortcut option, the copy shortcut option is used for triggering directly copying the first network resource from the target storage space to the designated storage space, and the transfer shortcut option is used for triggering directly transferring the first network resource from the target storage space to the designated storage space.
As one example of the application, the electronic device includes a resource management module and a sharing module; the hint message includes the share shortcut option, and the one or more processors 2203 are further configured to:
notifying the sharing module by the resource management module in response to the triggering operation of the sharing shortcut option;
after receiving the notification of the resource management module through the sharing module, searching target applications with the sharing function in the electronic equipment and target equipment for starting the sharing function;
displaying a sharing prompt box through the sharing module, wherein the sharing prompt box comprises the searched target application and/or target equipment;
and responding to the selection operation of the target application and/or the target equipment included in the sharing prompt box through the resource management module, acquiring the first network resource from the target storage space, and sending the first network resource to the target application or the target equipment selected by the selection operation.
As one example of the present application, the electronic device includes a resource management module; the hint message includes the open shortcut option, and the one or more processors 2203 are further configured to:
Determining a target application which can be used for opening the first network resource from applications included in the electronic equipment according to the format attribute of the first network resource by the resource management module in response to the triggering operation of opening the shortcut option;
and acquiring the first network resource from the target storage space through the resource management module, and sending the first network resource to the target application so as to open the first network resource through the target application.
As one example of the present application, the electronic device includes a resource management module; the hint message includes the print shortcut option, and the one or more processors 2203 are further configured to:
determining, by the resource management module, that a print application in the electronic device is the target application in response to a triggering operation of the print shortcut option;
and acquiring the first network resource from the target storage space through the resource management module, and sending the first network resource to the printing application so as to print the first network resource through the printing application.
As one example of the present application, the electronic device includes a resource management module; the hint message includes a transfer shortcut option, and the one or more processors 2203 are further configured to:
Responding to the triggering operation of the transfer shortcut option through the resource management module, and calling a path selector to acquire path content through the path selector;
displaying a path management interface based on the path content through the resource management module;
determining, by the resource management module, a designated storage space selected by a path selection operation in response to the path selection operation input based on the path management interface;
acquiring the first network resource from the target storage space through the resource management module, and storing the first network resource into the designated storage space;
and deleting the first network resource stored in the target storage space through the resource management module.
As one example of the present application, the electronic device includes a resource management module; the hint message includes a copy shortcut option, and the one or more processors 2203 are further configured to:
responding to the triggering operation of the copying shortcut option through the resource management module, and calling a path selector to acquire path content through the path selector;
displaying a path management interface based on the path content through the resource management module;
Determining, by the resource management module, a designated storage space selected by a path selection operation in response to the path selection operation input based on the path management interface;
and acquiring the first network resource from the target storage space through the resource management module, and copying the first network resource to the appointed storage space.
As an example of the application, the prompt message includes a sharing shortcut option, an opening shortcut option, a printing shortcut option, a copying shortcut option, and a transferring shortcut option, and the prompt message includes a multi-level prompt menu, and the sharing shortcut option, the opening shortcut option, the printing shortcut option, the copying shortcut option, and the transferring shortcut option are displayed in a grading manner through the multi-level prompt menu.
As an example of the application, the prompt message is any one of a desktop card, a floating window and a prompt box.
As an example of the present application, the hint message includes hint information of a plurality of network resources.
As an example of the present application, the hint information of the plurality of network resources included in the hint message is updated according to the resource download time.
As an example of the present application, the one or more processors 2203 are further configured to:
and detecting an opening event of the first network resource under the condition that the prompt information of the first network resource in the prompt message disappears, and displaying the prompt information of the first network resource in the prompt message again.
As an example of the application, the electronic device includes a system service module, a resource management module, and an interface display module; the one or more processors 2203 are configured to:
acquiring the state of a message notification switch through the system service module, wherein the message notification switch is used for indicating whether to start a monitoring function of downloading network resources;
monitoring that the first network resource is stored in the target storage space through the system service module under the condition that the message notification switch is in an on state, and notifying the resource management module;
after receiving the notification of the system service module through the resource management module, generating the prompt message;
sending the prompt message to the interface display module through the resource management module;
and displaying the prompt message through the interface display module.
As one example of the present application, the one or more processors 2203 are further configured to:
and detecting a viewing operation based on the prompt message, and calling a resource management application, wherein the first network resource is displayed in the resource management application.
In the embodiment of the application, the first network resource is acquired through the first application in the electronic device, the first network resource is stored in the target storage space when the first application downloads the network resource, the first network resource is downloaded through the first application, and the prompt message is displayed at the moment. The hint message is used to provide a shortcut option for operating on the first network resource. The shortcut option is used for directly transmitting the first network resource to the target application or the target device, and/or the shortcut option is used for directly storing the first network resource from the target storage space to the designated storage space. Therefore, the user can manage the first network resource quickly, and the situation that the user needs to operate for many times to enter the actual storage position of the first network resource is avoided, so that the management efficiency of the network resource can be improved.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional units and modules is illustrated, and in practical application, the above-described functional distribution may be performed by different functional units and modules according to needs, i.e. the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-described functions. The functional units and modules in the embodiment may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the units and modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the system embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical functional division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in each embodiment of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the present application implements all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, where the computer program, when executed by a processor, may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying the computer program code to the electronic device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (random access memory, RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
Finally, it should be noted that: the foregoing is merely a specific embodiment of the present application, but the protection scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered in the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for processing network resources, applied to an electronic device, the method comprising:
acquiring a first network resource through a first application in the electronic equipment;
monitoring that a target storage space stores the first network resource, displaying a desktop card comprising prompt information of the first network resource on a desktop of the electronic equipment, wherein the prompt information comprises attribute information of the first network resource and a sharing shortcut option, the attribute information comprises at least one of a name, a format, a file size and a downloading time, and the target storage space is a resource storage space when the first application downloads the network resource;
after a second network resource is acquired through a second application in the electronic equipment, adding prompt information of the second network resource in the desktop card, wherein the prompt information of a plurality of network resources in the desktop card is updated according to the downloading time or the opening time of the resources;
If the opening event of the first network resource is detected under the condition that the prompt information of the first network resource in the desktop card disappears, the prompt information of the first network resource is displayed at the first position in the desktop card again;
displaying a sharing prompt box under the condition that triggering operation of sharing shortcut options in prompt information of the first network resource is received, wherein the sharing prompt box comprises at least one target to be selected, and the sharing prompt box further comprises a copying option and a transferring option;
under the condition that triggering operation of the copying option or the transferring option is received, a path selector of a file management application is pulled up, so that a user selects or newly builds a catalog, and the catalog is used for storing the copied or transferred first network resource;
and if the display time of the desktop card from the generation time exceeds the preset time or the display time of the desktop card from the last updating time exceeds the preset time, removing the desktop card from the desktop of the electronic device.
2. The method of claim 1, wherein the sharing prompt box further includes a print shortcut option, and the print shortcut option is used for triggering the first network resource to be directly sent to a target application for printing.
3. The method of claim 1 or 2, wherein the electronic device comprises a resource management module and a sharing module; and displaying a sharing prompt box under the condition that triggering operation of sharing shortcut options in prompt information of the first network resource is received, wherein the method comprises the following steps:
responding to the triggering operation of the sharing shortcut option, and informing the sharing module by the resource management module;
after the sharing module receives the notification of the resource management module, searching a target application with a sharing function in the electronic equipment and a target equipment for starting the sharing function;
the sharing module displays the sharing prompt box, wherein the sharing prompt box comprises the searched target application and/or target equipment;
the method further comprises the steps of:
and responding to the selection operation of the target application and/or the target equipment included in the sharing prompt box, the resource management module acquires the first network resource from the target storage space and sends the first network resource to the target application or the target equipment selected by the selection operation.
4. The method of claim 1 or 2, wherein the electronic device comprises a resource management module; the method further comprises the steps of:
In response to a triggering operation on the attribute information, the resource management module determines a target application which can be used for opening the first network resource from applications included in the electronic equipment according to the format attribute of the first network resource;
the resource management module acquires the first network resource from the target storage space and sends the first network resource to the target application so as to open the first network resource through the target application.
5. The method of claim 2, wherein the electronic device comprises a resource management module; and under the condition that the triggering operation of sharing the shortcut option in the prompt information of the first network resource is received, displaying the sharing prompt box further comprises:
in response to a triggering operation of the printing shortcut option, the resource management module determines a printing application in the electronic equipment as the target application;
the resource management module acquires the first network resource from the target storage space and sends the first network resource to the printing application so as to print the first network resource through the printing application.
6. The method of claim 2, wherein the electronic device comprises a resource management module; after the path selector of the file management application is pulled up in the case of receiving the trigger operation of the transfer option, the method further comprises:
the resource management module obtains path content through the path selector;
the resource management module displays a path management interface based on the path content;
in response to a path selection operation input based on the path management interface, the resource management module determines a designated storage space selected by the path selection operation;
the resource management module acquires the first network resource from the target storage space and stores the first network resource into the appointed storage space;
the resource management module deletes the first network resource stored in the target storage space.
7. The method of claim 2, wherein the electronic device comprises a resource management module; after the path selector of the file management application is pulled up in the case of receiving the trigger operation of the copy option, the method further comprises:
the resource management module obtains path content through the path selector;
The resource management module displays a path management interface based on the path content;
in response to a path selection operation input based on the path management interface, the resource management module determines a designated storage space selected by the path selection operation;
the resource management module acquires the first network resource from the target storage space and copies the first network resource to the designated storage space.
8. The method of any one of claims 1, 2, 5, 6, or 7, wherein the electronic device comprises a system service module, a resource management module, an interface display module;
the monitoring target storage space stores the first network resource, and a desktop card including prompt information of the first network resource is displayed on a desktop of the electronic device, and the method comprises the following steps:
the system service module acquires the state of a message notification switch, wherein the message notification switch is used for indicating whether to start a monitoring function of downloading network resources;
when the message notification switch is in an on state, the system service module monitors that the first network resource is stored in the target storage space and notifies the resource management module;
The resource management module generates the desktop card after receiving the notification of the system service module;
the resource management module sends the desktop card to the interface display module;
and the interface display module displays the desktop card.
9. An electronic device includes a touch screen, a memory, one or more processors, a plurality of applications, and one or more programs; wherein the one or more programs are stored in the memory; wherein the one or more processors, when executing the one or more programs, cause the electronic device to implement the method of any of claims 1-8.
10. A computer readable storage medium having instructions stored therein, which when run on a computer, cause the computer to perform the method of any of claims 1-8.
CN202110675108.0A 2021-06-17 2021-06-17 Processing method of network resource, electronic equipment and computer readable storage medium Active CN113805797B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110675108.0A CN113805797B (en) 2021-06-17 2021-06-17 Processing method of network resource, electronic equipment and computer readable storage medium
PCT/CN2022/089760 WO2022262439A1 (en) 2021-06-17 2022-04-28 Network resource processing method, electronic device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110675108.0A CN113805797B (en) 2021-06-17 2021-06-17 Processing method of network resource, electronic equipment and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN113805797A CN113805797A (en) 2021-12-17
CN113805797B true CN113805797B (en) 2023-04-28

Family

ID=78942551

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110675108.0A Active CN113805797B (en) 2021-06-17 2021-06-17 Processing method of network resource, electronic equipment and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN113805797B (en)
WO (1) WO2022262439A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113805797B (en) * 2021-06-17 2023-04-28 荣耀终端有限公司 Processing method of network resource, electronic equipment and computer readable storage medium
CN116048617A (en) * 2022-08-16 2023-05-02 荣耀终端有限公司 Information acquisition method, device, chip, electronic equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193976A (en) * 2017-05-25 2017-09-22 北京小米移动软件有限公司 Information resources display methods, device and computer-readable recording medium
WO2021104259A1 (en) * 2019-11-27 2021-06-03 华为技术有限公司 Method and terminal for data sharing between fast application and native application

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10346030B2 (en) * 2015-06-07 2019-07-09 Apple Inc. Devices and methods for navigating between user interfaces
CN105227444B (en) * 2015-10-23 2019-08-23 阿里巴巴集团控股有限公司 Message informing method and device based on instant messaging
CN110637290A (en) * 2017-09-26 2019-12-31 华为技术有限公司 File management method and device
CN108874466B (en) * 2018-06-08 2021-10-29 Oppo(重庆)智能科技有限公司 Control calling method, electronic device and computer readable storage medium
CN111913750B (en) * 2019-05-10 2022-04-22 华为技术有限公司 Application program management method, device and equipment
CN110286976B (en) * 2019-05-24 2021-10-01 华为技术有限公司 Interface display method, device, terminal and storage medium
CN111240547A (en) * 2020-01-08 2020-06-05 华为技术有限公司 Interactive method for cross-device task processing, electronic device and storage medium
CN111327589B (en) * 2020-01-19 2021-09-10 腾讯科技(深圳)有限公司 Resource sharing method and device, computer readable storage medium and computer equipment
CN113805797B (en) * 2021-06-17 2023-04-28 荣耀终端有限公司 Processing method of network resource, electronic equipment and computer readable storage medium

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193976A (en) * 2017-05-25 2017-09-22 北京小米移动软件有限公司 Information resources display methods, device and computer-readable recording medium
WO2021104259A1 (en) * 2019-11-27 2021-06-03 华为技术有限公司 Method and terminal for data sharing between fast application and native application

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
M.K. Priyan ; C. Gokul Nath ; E. Vishnu Balan ; R. Jeyanthi ; K. P. Rama Prabha.Desktop phishing attack detection and elimination using TSO program.《2015 International Conference on Smart Technologies and Management for Computing, Communication, Controls, Energy and Materials (ICSTM)》.2015,第198-201页. *
李颖.《微软桌面5.0》让手机接过电脑的活.《计算机与网络》.2018,第33页. *
郭建伟 ; .PING命令不给力,监控卡片来相助!.电脑知识与技术(经验技巧).2018,(第07期),全文. *

Also Published As

Publication number Publication date
WO2022262439A1 (en) 2022-12-22
CN113805797A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
CN109766036B (en) Message processing method and electronic equipment
CN114397979B (en) Application display method and electronic equipment
WO2020103764A1 (en) Voice control method and electronic device
CN113645351B (en) Application interface interaction method, electronic device and computer-readable storage medium
CN112148400B (en) Display method and device in locking state
CN111258700B (en) Icon management method and intelligent terminal
CN111316199B (en) Information processing method and electronic equipment
CN110543287A (en) Screen display method and electronic equipment
CN111913750B (en) Application program management method, device and equipment
CN114327666B (en) Application starting method and device and electronic equipment
CN111543042A (en) Notification message processing method and electronic equipment
WO2020259554A1 (en) Learning-based keyword search method, and electronic device
WO2021159746A1 (en) File sharing method and system, and related device
CN113747374B (en) Message pushing method and device
WO2023015963A1 (en) File management method, electronic device, and computer-readable storage medium
WO2021218429A1 (en) Method for managing application window, and terminal device and computer-readable storage medium
WO2022262439A1 (en) Network resource processing method, electronic device, and computer-readable storage medium
WO2023056795A1 (en) Quick photographing method, electronic device, and computer readable storage medium
WO2023273543A1 (en) Folder management method and apparatus
WO2023051094A1 (en) Memory recovery method and apparatus, electronic device, and readable storage medium
CN114911400A (en) Method for sharing pictures and electronic equipment
CN114244951B (en) Method for opening page by application program, medium and electronic equipment thereof
CN116048831B (en) Target signal processing method and electronic equipment
WO2023138305A1 (en) Card display method, electronic device, and computer readable storage medium
CN111475363B (en) Card death recognition method 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