CN113805797A - Network resource processing method, electronic device and computer readable storage medium - Google Patents

Network resource processing method, electronic device and computer readable storage medium Download PDF

Info

Publication number
CN113805797A
CN113805797A CN202110675108.0A CN202110675108A CN113805797A CN 113805797 A CN113805797 A CN 113805797A CN 202110675108 A CN202110675108 A CN 202110675108A CN 113805797 A CN113805797 A CN 113805797A
Authority
CN
China
Prior art keywords
network resource
storage space
resource
application
target
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.)
Granted
Application number
CN202110675108.0A
Other languages
Chinese (zh)
Other versions
CN113805797B (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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a network resource processing method, electronic equipment and a computer readable storage medium, and relates to the technical field of terminals. The method comprises the following steps: a first network resource is acquired by a first application in an electronic device. Monitoring that a first network resource is stored in a target storage space, 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 quick 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 designated 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, the situation that the user needs to perform multiple operations to enter the actual storage position of the first network resource and then manage the first network resource is avoided, and the management efficiency of the network resource can be improved.

Description

Network resource processing method, electronic device and computer readable storage medium
Technical Field
The present application relates to the field of terminal technologies, and in particular, to a network resource processing method, 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 usually 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.
Generally, based on the needs of the user, the electronic device may need to manage the sharing, copying, transferring, and the like of the network resources downloaded by the application. In the related art, when network resources need to be managed, a user generally needs to click for multiple times according to a resource storage path to enter an actual storage position of the network resources, and then the management can be performed. Such operations are cumbersome, and the management efficiency of network resources is poor.
Disclosure of Invention
The application provides a network resource processing method, an electronic device and a computer readable storage medium, which solve the problem that the management efficiency of the electronic device on network resources is poor in the prior art.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, a method for processing a network resource is provided, where the method 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 a target device, 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 when 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 management after the user needs to operate for multiple times to enter the actual storage position of the first network resource is avoided, thereby improving the management efficiency of the network resource.
As an example of the application, in a case that 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 to directly share the first network resource to the target application or the target device, the opening shortcut option is used to trigger to directly send the first network resource to the target application for opening, and the printing shortcut option is used to trigger to directly send the first network resource to the target application for printing; and under the condition 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 comprises at least one of a copy shortcut option and a transfer shortcut option, wherein the copy shortcut option is used for triggering direct copying of the first network resource from the target storage space to the designated storage space, and the transfer shortcut option is used for triggering direct transferring of the first network resource from the target storage space to the designated storage space.
Therefore, the user can carry out 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, the opening shortcut option and the printing shortcut option and/or providing at least one of the copying shortcut option and the transferring shortcut option, and the user experience is improved.
As an example of the present 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 receiving the notification of the resource management module, the sharing module searches a target application with a sharing function in the electronic device and starts a target device with 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;
in response to a selection operation of a target application and/or a target device 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 device selected by the selection operation.
Therefore, through interaction of the sharing shortcut module and the resource management module, the electronic device searches for a target application with a sharing function and/or starts a target device with the sharing function for a user, and displays the searched target application and/or target device through the sharing prompt box, so that the user can share the first network resource quickly, and the purpose of sharing is achieved.
As an example of the present application, the electronic device includes a resource management module; the prompt message includes the shortcut opening 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 the shortcut opening 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.
Therefore, the target application capable of opening the first network resource is determined through the resource management module, so that the first network resource is sent to the target application to be opened, and the purpose of opening is achieved.
As an example of the present application, the electronic device includes a resource management module; the prompt message includes the print 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;
and 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.
Therefore, 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 an 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, the resource management module calls a path selector 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 specified 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;
and 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 obtain the path content, so that a path management interface is displayed for a user, and the user can select or create a target based on the path management interface conveniently. The electronic equipment transfers the first network resource to the appointed storage space based on the operation of the user, so that the transfer purpose is achieved.
As an 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 trigger operation of the copying shortcut option, the resource management module calls a path selector 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 specified storage space selected by the path selection operation;
and 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 obtain the path content, so that a path management interface is displayed for a user, and the user can select or create a target based on the path management interface conveniently. The electronic equipment copies the first network resource to the designated storage space based on the operation of the user, so as to achieve 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, 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 hierarchical manner through the multi-level prompt menu.
Therefore, when the number of the shortcut options included in the prompt message is large, the multiple shortcut options are displayed in a grading mode through the multi-level prompt menu, and the display interface is concise while the management function is rich.
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 display of the prompt message is improved.
As an example of the present application, the hint message includes hint information for a plurality of network resources. Therefore, the user can check the prompt messages of a plurality of network resources at the same time, and the user can manage the network resources needing to be managed according to actual requirements. The user experience is improved.
As an example of the present application, the prompt information of the plurality of network resources included in the prompt message is updated according to the resource download time. Therefore, the prompt message of the latest downloaded network resource can be provided in the prompt message according to the downloading condition of the network resource in the electronic equipment, so as to meet the actual management requirement of the user.
As an example of the present application, the method further comprises:
and under the condition that the prompt information of the first network resource in the prompt message disappears, detecting the opening event of the first network resource, and displaying the prompt information of the first network resource in the prompt message again.
Therefore, 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 performs the opening operation on the first network resource, so that the user can quickly manage the first network resource after opening the first network resource.
As an example of the present 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 includes:
the system service module acquires the state of a message notification switch, wherein the message notification switch is used for indicating whether to start the monitoring function of downloading the network resources;
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;
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 downloading the network resources related to the embodiment of the application is turned on or off by setting the state of the message notification switch, so that a user can turn on or turn off the message notification switch according to actual requirements, the monitoring function of downloading the network resources is turned on or turned off, and user experience is improved.
As an example of the present application, the method further comprises:
and detecting and 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. Therefore, the resource management application comprises a plurality of recently downloaded network resources, so that after the resource management application is entered, a user can view more recently downloaded network resources.
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 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 a target device, 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 that 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 to directly share the first network resource to the target application or the target device, the opening shortcut option is used to trigger to directly send the first network resource to the target application for opening, and the printing shortcut option is used to trigger to directly send the first network resource to the target application for printing; and under the condition 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 comprises at least one of a copy shortcut option and a transfer shortcut option, wherein the copy shortcut option is used for triggering direct copying of the first network resource from the target storage space to the designated storage space, and the transfer shortcut option is used for triggering direct transferring of the first network resource from the target storage space to the designated storage space.
As an example of the present application, the electronic device includes a resource management module and a sharing module; the hint message includes the share shortcut option, the one or more processors further to:
the resource management module responds to the triggering operation of the sharing shortcut option and informs the sharing module;
after receiving the notification of the resource management module through the sharing module, searching a target application with a sharing function in the electronic equipment and starting the target equipment with 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 an example of the present application, the electronic device includes a resource management module; the alert message including the open shortcut option, the one or more processors further to:
responding to the triggering operation of the shortcut opening option through the resource management module, and determining a target application capable of being used for opening the first network resource from applications included in the electronic equipment according to the format attribute of the first network resource;
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 an example of the present application, the electronic device includes a resource management module; the prompt message includes the print shortcut option, the one or more processors are further to:
responding to the triggering operation of the printing shortcut option through the resource management module, and determining that the printing application in the electronic equipment is the target application;
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 an example of the present application, the electronic device includes a resource management module; the alert message includes a transfer shortcut option, the one or more processors further 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, by the resource management module, a path management interface based on the path content;
responding to a path selection operation input based on the path management interface through the resource management module, and determining a designated storage space selected by the path selection operation;
acquiring the first network resource from the target storage space through the resource management module, and storing the first network resource to the specified storage space;
deleting the first network resource stored in the target storage space through the resource management module.
As an 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 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, by the resource management module, a path management interface based on the path content;
responding to a path selection operation input based on the path management interface through the resource management module, and determining a designated storage space selected by the path selection operation;
and acquiring the first network resource from the target storage space through the resource management module, and copying the first network resource to the specified 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, 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 hierarchical 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 for a plurality of network resources.
As an example of the present application, the prompt information of the plurality of network resources included in the prompt 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 under the condition that the prompt information of the first network resource in the prompt message disappears, detecting the opening event of the first network resource, and displaying the prompt information of the first network resource in the prompt message again.
As an example of the present application, the electronic device includes a system service module, a resource management module, and an interface display module; the one or more processors are 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;
under the condition that the message notification switch is in an on state, monitoring that the target storage space stores the first network resource through the system service module, 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 and 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 stored therein instructions 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 herein again.
The technical scheme provided by the application can at least bring the following beneficial effects:
according to the network resource processing method, the first network resource is obtained through the first application in the electronic equipment, 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 is monitored, and the prompt message is displayed at the moment. The prompt message is used to provide a quick option to operate 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 conveniently and rapidly manage the first network resource, the situation that the user needs to perform multiple operations to enter the actual storage position of the first network resource and then manage the first network resource is avoided, and 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 disclosure;
fig. 2 is a block diagram of a software structure of an electronic device 100 according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of an application scenario provided in an embodiment of the present application;
fig. 4 is a schematic view of a sharing operation flow based on a prompt box according to an embodiment of the present disclosure;
fig. 5 is a schematic view of a transfer operation flow based on a prompt box according to an embodiment of the present application;
fig. 6 is a schematic flowchart 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 the embodiment of the present application;
fig. 8 is a schematic view of a sharing operation flow based on a floating window according to an embodiment of the present disclosure;
fig. 9 is a schematic view of a copy operation flow based on a sharing prompt box according to an embodiment of the present disclosure;
fig. 10 is a schematic view of a transfer operation flow based on a sharing prompt box according to an embodiment of the present disclosure;
fig. 11 is a schematic flow chart illustrating an opening operation 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 the embodiment of the present application;
fig. 13 is a schematic view of a sharing operation flow based on a desktop card according to an embodiment of the present disclosure;
FIG. 14 is a schematic illustration of a desktop card according to an embodiment of the present disclosure;
FIG. 15 is a schematic diagram illustrating an embodiment of the present application for updating a desktop card based on an opening operation;
FIG. 16 is a block diagram of a system architecture according to an embodiment of the present application;
fig. 17 is a flowchart illustrating a method for processing network resources according to an embodiment of the present application;
fig. 18 is a flowchart illustrating another processing method for network resources according to an embodiment of the present application;
fig. 19 is a flowchart illustrating another processing method for network resources according to an embodiment of the present application;
fig. 20 is a flowchart illustrating another processing method for network resources according to an embodiment of the present application;
fig. 21 is a schematic view illustrating an interaction flow between a card management module and a resource management module according to an embodiment of the present application;
fig. 22 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
It should be understood that reference to "a plurality" in this application means two or more. In the description of the present application, "/" indicates an OR meaning, for example, A/B may indicate A or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, for the convenience of clearly describing the technical solutions of the present application, the terms "first", "second", and the like are used to distinguish the same items or similar items having substantially the same functions and actions. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
The processing method of the network resource provided by the embodiment of the application can be executed by the electronic device. In one embodiment, different types of first applications (also called application programs) can be installed in the electronic device, and each first application can download the network resource. Network resources may include, but are not limited to, documents, images, video, audio. As an example, the electronic device may include, but is not limited to, a mobile phone, a tablet computer, an Augmented Reality (AR)/Virtual Reality (VR) device, an ultra-mobile personal computer (UMPC), a notebook computer, a netbook, a Personal Digital Assistant (PDA), and the like, which are not limited in this embodiment.
Referring to fig. 1, fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure.
The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging 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, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light 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 is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, electronic device 100 may include more or fewer components than shown, or some components may be combined, some components may be split, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be, among other things, a neural center and a command center of the electronic device 100. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in 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 have just been used or recycled by the processor 110. If the processor 110 needs to reuse the instruction or data, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bi-directional synchronous serial bus that includes a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K via an I2C interface, such that the processor 110 and the touch sensor 180K communicate via an I2C bus interface to implement the touch functionality of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include 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 communicate audio signals to the wireless communication module 160 via the I2S interface, enabling answering of calls via a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by 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, so as to implement a function of answering a call through a 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 used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally 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 the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
MIPI interfaces may be used to connect processor 110 with peripheral devices such as display screen 194, camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured 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, a MIPI interface, and the like.
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 transmit data between the electronic device 100 and a peripheral device. And the earphone can also be used for connecting an earphone and playing audio through the earphone. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a 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 to connect the battery 142, the charging 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 used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In some other embodiments, the power management module 141 may also be disposed in the processor 110. In other embodiments, the power management module 141 and the charging 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 can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as 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 including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. 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 disposed 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 a 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 passes the demodulated low frequency baseband signal to a 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 a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image 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 modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), Global Navigation Satellite System (GNSS), Frequency Modulation (FM), Near Field Communication (NFC), Infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on 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, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), General Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), Wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), Long Term Evolution (LTE), LTE, BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, with N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on 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 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 to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, the 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 digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
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: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor that processes input information quickly by using a biological neural network structure, for example, by using a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in an external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes 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 program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. 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 (UFS), and the like.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. 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 some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into an acoustic signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or transmitting voice information, the user can input a voice signal to the microphone 170C by speaking the user's mouth near 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 to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The headphone interface 170D is used to connect a wired headphone. The headset interface 170D may be the USB interface 130, or may be an Open Mobile Terminal Platform (OMTP) standard interface of 3.5mm, or a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and converting 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 can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. 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 intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., the x, y, and z axes) may be determined by gyroscope 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 a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the opening and closing state of the leather sheath or the opening and closing state of the flip cover, the automatic unlocking of the flip cover is 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 can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment 100, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast 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 to the outside 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 can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G may also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is 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 used to detect a touch operation applied thereto or nearby. The touch sensor can communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone mass vibrated by the sound part acquired by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be brought into and out of contact with the electronic apparatus 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. 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 a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. 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 implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: 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 micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present invention uses an Android system with a layered architecture as an example to exemplarily illustrate a software structure of the electronic device 100.
Referring to fig. 2, fig. 2 is a block diagram of a software structure of an electronic device 100 according to an embodiment of the present disclosure.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include applications such as camera, gallery, call, map, navigation, WLAN, bluetooth, video, short message, sharing, file management, and the like.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program 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 a 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 prompt messages such as hover windows, prompt 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. Under the condition that the power-on password is not set in the electronic equipment, the desktop of the electronic equipment refers to an interface displayed after the electronic equipment is powered on; under the condition that the electronic equipment is provided with the power-on password, the desktop of the electronic equipment refers to an interface displayed after the electronic equipment is powered on and unlocked.
As an example of the present application, the system service module is configured to determine whether to start a monitoring function of downloading the network resource according to a state of the message notification switch. For example, if the message notification switch is in the on state, the monitoring function of the downloaded network resource is turned on, otherwise, if the message notification switch is in the off state, the monitoring function of the downloaded network resource is not turned on or turned off. When the message notification switch is turned on, the system service module monitors a target storage space to be monitored, if it is monitored that new network resources are generated in the target storage space, for example, when it is monitored that new documents are generated, a prompt message is popped up through the UI module, and the prompt message is used for providing a shortcut option for a user to manage the newly generated network resources.
The window manager is used for managing window programs. The window manager can obtain 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 it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, 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, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scroll bar text at the top status bar of the system, 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, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises 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. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), Media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., OpenGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide fusion of 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
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 this embodiment of the application, the file system may be configured to sense whether a file is generated in the target storage space, and notify the system service module when the file system senses that the file is generated.
The following describes exemplary workflow of the software and hardware of the electronic device 100 in connection with capturing a photo scene.
When the 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 an original input event (including touch coordinates, a time stamp of the touch operation, and other information). The raw input events are stored at the kernel layer. And the application program framework layer acquires the original input event from the kernel layer and identifies the control corresponding to the input event. Taking the touch operation as a touch click operation, and taking a control corresponding to the click operation as a control of a camera application icon as an example, the camera application calls an interface of an application framework layer, starts the camera application, further starts a camera drive by calling a kernel layer, and captures a still image or a video through the camera 193.
Based on the electronic device 100 provided in the embodiments shown in fig. 1 and fig. 2, next, taking the electronic device 100 as a mobile phone as an example, several application scenarios related to the embodiments of the present application will be briefly described with reference to the drawings.
Referring to fig. 3, fig. 3 is a diagram illustrating an application scenario according to an exemplary embodiment.
The APP1 in the mobile phone receives a Document 1, "chinese user experience industry development research report", and the Document 1 Format is a Portable Document Format (PDF). An administration touch key is provided in APP1, which may be triggered when a user wants to administer document 1. In response to the triggering operation of the management touch key, the APP1 displays a management page, illustratively, as shown in fig. 3 (a), which includes a "save to cell phone" touch key. When a user wants to download the document 1 into the mobile phone, the touch key of "save to mobile phone" can be triggered, and in response to the triggering operation of the touch key of "save to mobile phone" by the user, the mobile phone downloads the document 1, that is, the mobile phone saves the document 1 to the local.
As an example of the present application, when the document 1 is completely downloaded, the mobile phone pops up a prompt box in the current display interface. Illustratively, referring to fig. 3 (b), the prompt box is shown as 31. As an example of the application, the prompt box includes a share touch button and a transfer touch button. The user may further operate on document 1 based on the prompt box.
In one embodiment, referring to fig. 4 (a), when the user wants to share the document 1, the sharing touch button in the prompt box may be triggered. In response to the user's trigger operation on the sharing touch key in the prompt box, the mobile phone searches for a peripheral target device that starts the sharing function and/or a target application (such as an application that declares android. And then, the mobile phone displays a sharing prompt box and displays the searched target equipment and/or target application in the displayed sharing prompt box. Illustratively, the sharing prompt box is shown in fig. 4 (b). Thus, the user can share the document 1 based on the sharing prompt box, such as sharing to the DeviceA device.
Optionally, the sharing prompt box may further include one or more of a copy touch button, a print touch button, and an open touch button. 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, please continue to refer 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 touch cancel button can be triggered, and the sharing prompt box is closed by the mobile phone in response to the triggering operation of the user on the touch cancel button.
In one embodiment, referring to diagram (a) of fig. 5, when a user wants to transfer document 1 from a target storage space of APP1 to another designated storage space, a transfer touch key in the prompt box may be triggered. And responding to the triggering operation of the user on the transfer touch key in the prompt box, and pulling up the path selector of the file management application by the mobile phone. In this way, the user can select or create a new directory, and the mobile phone transfers the document 1 to the specified storage space specified by the user based on the user operation. For example, referring to fig. 5 (b), document 1 is transferred to the "new proposal" directory. Therefore, the prompt box provides the shortcut option of position transfer for the user (if the shortcut option comprises the touch key), the user can store the downloaded network resources into the uniform storage space conveniently, convenience can be provided for the user, and user experience is improved.
It should be noted that, in some embodiments, the transfer touch key may be a "copy to" touch key, which is not limited in the embodiments of the present application.
In one embodiment, referring to fig. 6 (a), when the user clicks the message body of the prompt box, in response to the user's trigger operation on the message body of the prompt box, the mobile phone starts the resource management application, and jumps to a specified page of the resource management application. The resource management application is used for managing network resources downloaded by a first application in the mobile phone, and the resource management application is a file management application. The appointed page comprises a resource label of the network resource recently downloaded by the first application in the mobile phone. In some embodiments, the designated page is also referred to as the recent tab. Illustratively, the specified page of the resource management application is as shown in (b) of fig. 6, and the specified page includes the resource tag 61 of the document 1 and additionally includes resource tags of other network resources downloaded by the application in the handset in the last period of time. When a user wants to view the document 1, the user can click the resource tag of the document 1, and in response to the click operation of the user on the resource tag of the document 1, the mobile phone opens the document 1. Therefore, a prompt box provides a quick entry for a user to enter a specified page of the resource management application, so that the user can conveniently check the recently downloaded network resources, and the user experience effect is improved.
In addition, as an example of the present 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, it is convenient for a user to distinguish according to the attribute information.
Referring to fig. 7, fig. 7 is a schematic diagram of an application scenario provided in accordance with another exemplary embodiment.
The APP1 in the cell phone receives the document 2 "share report", which is in PDF format. An administration touch key is provided in APP1, which may be triggered when a user wants to administer document 2. In response to the triggering operation of the management touch key, the APP1 displays a management page, illustratively, as shown in fig. 7 (a), which includes a "save to cell phone" touch key. When a user wants to download the document 2 into the mobile phone, the touch key of "save to mobile phone" can be triggered, and in response to the triggering operation of the touch key of "save to mobile phone" by the user, the mobile phone downloads the document 2, that is, the mobile phone saves the document 2 to the local.
And when the document 2 is completely downloaded, the mobile phone pops out the floating window in the current display interface. In one embodiment, the floating window may be generated based on the attribute information of the document 2, such as a format icon including the document 2 in the floating window, for example, please refer to (b) of fig. 7, and the floating window is shown as 71. In another embodiment, the floating window may also be obtained by capturing the name of document 2. In yet another embodiment, the floating window may also be generated by intercepting part of the content in the document 2.
In one embodiment, referring to fig. 8 (a), when the user wants to share the document 2, the floating window may be stroked, for example, the stroking operation may include, but is not limited to, any one of top stroking, bottom stroking, left stroking, right stroking, top left stroking, top right stroking, bottom right stroking, and bottom left stroking. In response to the user's swiping operation, the mobile phone searches for a peripheral target device with a sharing function and/or a target application with the sharing function (such as an application for declaring android. And then, the mobile phone displays a sharing prompt box and displays the searched target equipment and/or target application in the displayed sharing prompt box. Illustratively, the sharing prompt box is shown in fig. 8 (b). Thus, the user can share the document 2 based on the sharing prompt box.
Alternatively, please continue to refer to fig. 8 (a), the mobile phone may display an operation prompt message at a position near the floating window, where the operation prompt message is used to prompt the user how to operate based on the floating window. Illustratively, the operation prompt message is 'sliding sharing', and the mobile phone also displays a sliding mode (sliding upwards as indicated in the figure). At this time, the operation prompt information is used to indicate that the user can trigger the mobile phone to share the document 2 by sliding the floating window upwards.
As an example of the present application, please continue to refer to fig. 8 (b), the sharing prompt box may further include a copy touch button and/or a transfer touch button. In one embodiment, the copy touch key may be replaced with an "copy 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), when the user wants to backup the document 2, the user may trigger a copy touch button in the sharing prompt box. And responding to the triggering operation of the user on the copy touch key in the sharing prompt box, pulling up the path selector of the resource management application by the mobile phone, so that the user can select or create a new directory. And backing up the document 2 to a specified storage space specified by the user by the mobile phone based on the operation of the user. Illustratively, referring to fig. 9 (b), document 2 is backed up under the "my phone" directory.
In one embodiment, referring to fig. 10 (a), when a user wants to transfer document 2 from a target storage space of APP1 to a specified storage space, a transfer touch button in the sharing prompt box may be triggered. And responding to the triggering operation of the user on the transfer touch key in the sharing prompt box, pulling up the path selector of the resource management application by the mobile phone, so that the user can select or create a new directory. The mobile phone transfers the document 2 to a designated storage space designated by the user based on the user's operation. Illustratively, please refer to (b) of fig. 10, moving document 2 under the "certification material" catalog.
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 user on the printing touch key in the sharing prompt box, and calling the printing application by the mobile phone so as to print the document 2 through the printing application.
In one embodiment, the floating window may be clicked on when the user wants to open document 2. As an example, in response to a user clicking on the floating window, the cell phone opens document 2 through the target application, such as opening document 2 using Word Processing System (WPS) office. As another example, referring to fig. 11 (a), in response to a user clicking on the floating window, the mobile phone presents a plurality of target applications that can be used to open the document 2. Exemplarily, referring to fig. 11 (b), the mobile phone shows the target applications that can be used to open the document 2 through the application list. Therefore, the user can select one target application from the displayed 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 mobile phone opens the document 2 through Adobe Reader.
It should be noted that the display position of the floating window can be set according to actual requirements, such as being displayed in 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 according to another exemplary embodiment.
In one embodiment, the APP1 in the cell phone receives document 3 "office supplies list", the format of document 3 being in excel format. An administration touch key is provided in APP1, which may be triggered when a user wants to administer document 3. In response to the triggering operation of the management touch key, the APP1 displays a management page, illustratively, as shown in (a) of fig. 12, where the management page includes a "save to cell phone" touch key. When a user wants to download the document 3 into the mobile phone, the touch key of "save to mobile phone" can be triggered, and in response to the triggering operation of the touch key of "save to mobile phone" by the user, the mobile phone downloads the document 3, that is, the mobile phone saves the document 3 to the local.
When the document 3 is completely downloaded, the mobile phone displays the desktop card in the desktop. Illustratively, referring to fig. 12 (b), a table card is shown at 121. The desktop card includes card information of the document 3, 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. In this way, the user can further manipulate 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 sharing touch button in the desktop card may be triggered. And responding to the triggering operation of the user on the sharing touch key in the desktop card, and searching peripheral target equipment with a sharing function and/or target application with the sharing function 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 exemplarily shown as (b) in fig. 13. Thus, the user can share the document 2 based on the sharing prompt box.
As an example of the present application, please continue to refer to fig. 13 (b), and 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 specified storage space based on the copy touch key, and the document 3 may be transferred to the specified storage space based on the transfer touch key, which may be referred to above and is not described herein again.
As an example, please continue to refer to fig. 13 (b), the sharing prompt box further includes a print touch button, and the print touch button may be triggered when the user wants to print the document 3. In response to the user's trigger operation of the print touch key, the mobile phone calls a print application to print the document 3 through the print application.
As an example of the present application, a user may open document 3 based on a desktop card. The attribute information of the document 3 displayed in the desktop card illustratively includes an icon and a name of the document 3, and the icon or the name of the document 3 can 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 handset opens the document 3 through the target application. As another example, in response to a trigger operation of a 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 present application, the desktop card includes, in addition to the document 3, card information of at least one other document that was recently downloaded or opened by the mobile phone. For example, continuing 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 present application, when card information of a new document (for example, document 5) to be displayed exists in a mobile phone, the mobile phone flushes the card information of the document with the earliest generation time in a 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 place of the desktop card. For example, referring to fig. 14, the card information of the document 5 washes out the card information of the document 4, and the card information of the document 5 is displayed before the card information of the document 3.
In one embodiment, after the mobile phone downloads document 3, the user may not open document 3 immediately, but rather may want to open document 3 after a period of time has elapsed. For example, after the user downloads document 3 to the local via the mobile phone, and after a few hours later, the user clicks document 3 in APP1, and the mobile phone opens document 3 in response to the user's trigger operation on document 3 in APP 1. In this case, the card information of the document 3 in the desktop card may have been flushed by the card information of other new documents, at this time, when the opening operation of the document 3 by the user is detected, 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 3, that is, the card information of the document 3 is redisplayed in the desktop card, and the card information of the document 3 in the desktop card is displayed at the head, which may be specifically implemented as shown in fig. 15.
As an example of the present application, a view touch button is further included in the desktop card, and for example, please refer to fig. 12 (b), the view touch button is a "more" touch button. And the viewing touch key is used for triggering to enter a specified page of the resource management application. When the user wants to view more recently downloaded network resources, a view touch key in the desktop card can be triggered, and in response to the user's triggering operation on the view touch key, the mobile phone enters a specified page of the resource management application, for example, the specified page is as shown in (b) of fig. 6. The designated page comprises a plurality of resource tags, the resource tags are sequentially arranged according to the sequence of the generation time from late to early, and each resource tag is used for triggering the view of the corresponding network resource, so that a user can view more recently downloaded network resources in the mobile phone.
After the application scenarios related to the embodiments of the present application are introduced, the internal implementation related to the embodiments 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 example 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, in addition to the APP installed therein. 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 (GRS). The electronic equipment carries out 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 state of a message notification switch, where the message notification switch is configured to indicate whether to start a monitoring function of downloading the network resource. In one embodiment, the interface display module notifies the system service module of the acquired state of the message notification switch.
As an example of the present application, the electronic device periodically 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 a state of the message notification switch from the interface display module. In an embodiment, when the message notification switch is in an on state, the system service module senses whether a new network resource is generated in the target storage space through the file system. When the file system senses that the target storage space has the first network resource generation, the file system informs the monitoring module, and the monitoring module reports the first network resource generation to the system service module.
In one embodiment, the interface display module includes a UI module. The system service module informs the resource management module that the first network resource is generated, and at the moment, the resource management module generates a prompt message which is used for providing a quick option for operating the first network resource. And after the resource management module generates the prompt message, the resource management module sends the prompt message 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 a 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 recalls the attribute information of the first network resource and generates a desktop card based on the recalled attribute information. And then, the card management module displays the desktop card as a prompt message.
Therefore, the user can manage the sharing, backup, transfer, opening, printing and the like of the first network resource based on the prompt message. Illustratively, when the user shares the first network resource based on the prompt message, the resource management module notifies the sharing module to execute 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 in response to the transfer operation. For another example, when the user opens the first network resource based on the prompt message, in response to a click operation of the user on the message body of the prompt message, the resource management module performs an opening operation, and the like.
Next, a specific implementation flow of the network resource processing method according to the embodiment of the present application will be described with reference to the 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: a first network resource is acquired by a first application in an electronic device.
The first application refers to an application in the electronic device that can be used to download the network resource. The number of the first applications may be one or more. In the case that the number of the first applications is multiple, the types of the multiple 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 email box.
As an example, the specific implementation of acquiring, by a first application in an electronic device, a first network resource may include: the first network resource sent by a second application in other electronic devices is received by a first application in the electronic devices, and the second application is exemplarily the same type as the first application.
As another example, the specific implementation of acquiring, by a first application in the electronic device, a first network resource may further include: a first network resource is searched from a network platform by a first application in an electronic device. For example, the first application is a browser, and the electronic device searches for documents from a network platform through the browser.
Of course, the specific implementation manner of obtaining the first network resource through the first application in the electronic device is only exemplary, and in another embodiment, the first network resource may also be obtained through the first application in other manners, which is not limited in this application embodiment.
Step 1702: monitoring that a first network resource is stored in a target storage space, 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 quick option for operating the first network resource.
It is understood that the target storage space is also the resource storage space that needs to be snooped. In an embodiment, each network resource in the target storage space may be ranked according to a priority, and 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, which is not limited in this embodiment of the present application.
In one embodiment, as shown in fig. 16, the target storage path corresponding to the target storage space is obtained by the electronic device from the configuration server. Illustratively, the electronic device acquires the resource storage path to be monitored from the configuration server at regular time to obtain the target storage path. In this way, the timing acquisition may enable the electronic device to acquire the latest target storage path.
The number of the target storage paths may be one or more. And under the condition that the number of the target storage paths is multiple, each target storage path corresponds to one first application. Illustratively, the first application comprises a WX application and a Browser, wherein the target storage path of the WX application is/storage/organized/0/Download/WX, and the target storage path of the Browser is/storage/organized/0/Download/Browser, that is, there are two target storage paths at this time, which are respectively/storage/organized/0/Download/WX and/storage/organized/0/Download/Browser.
In one embodiment, the first network resource is a document. The electronic equipment monitors the target storage space through the file system to monitor whether the target storage space has a document generated.
If the target storage space stores the first network resource, 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 the electronic device displays a prompt message for this purpose.
Illustratively, the first network resource is a document. The electronic equipment monitors the target storage space through the file system, and when the target storage space stores documents, the monitoring module in the electronic equipment is informed, and the monitoring module informs the system service module. The system service module notifies the resource management module. In one embodiment, the resource management module generates a prompt 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. Therefore, the user can quickly manage the document based on the prompt message.
As an example of the present application, before listening to the target storage space, the electronic device obtains the status of the message notification switch. And under the condition that the message notification switch is in an on state, performing the operation of monitoring the target storage space.
In one example, the electronic device obtains the status of the message notification switch through a system service module. 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. And the resource management module generates a prompt message after receiving the notification of the system service module, 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 message through the system service module informing the state of the switch. 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 acquires attribute information of the first network resource based on the target storage path. And 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 prompting message is a desktop card.
The prompt message is used for providing a prompt message for the first network resource, wherein the prompt message provides a shortcut option 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 a target storage space to a designated storage space.
The direct transmission of 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 a plurality of operations by the user.
As an example of the present application, a message body of the hint message is triggerable, and the message body of the hint message is used for triggering a management mode for 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 option provided by the prompt message may be a message body and/or a touch button of the prompt message.
In one embodiment, where the message body of the hint message is triggerable, different management operations for the first network resource may be triggered by different triggering manners for the message body. For example, a sliding of the message body triggers a sharing operation on the first network resource, and a clicking of the message body triggers an opening operation on the first network resource.
As an example of the application, in a case that 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, the sharing shortcut option is used to trigger to directly share the first network resource to the target application or the target device, the opening shortcut option is used to trigger to directly send the first network resource to the target application for opening, and the printing shortcut option is used to trigger to directly send the first network resource to the target application for printing.
As an example of the application, in a case that the shortcut option is used to directly store 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 to trigger directly copying the first network resource from the target storage space to the designated storage space, and the transfer shortcut option is used to trigger directly transferring the first network resource from the target storage space to the designated storage space.
As an example of the application, in a case that 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, 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 hierarchical manner through the multi-level prompt menu.
That is, if the number of the 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. Illustratively, referring to fig. 8, the prompt message includes two levels of prompt menus, where the first level of prompt menu is a floating window included in fig. 8 (a), and the second level of prompt menu is a sharing prompt box included in fig. 8 (b).
As an example of the application, a viewing operation is detected based on the prompt message, a resource management application is invoked, and a first network resource is displayed in the resource management application. For example, a first network resource is displayed in a designated page of the resource management application.
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 information includes hint information for a plurality of network resources. The prompt message of each network resource is used for providing a shortcut entrance for the management of each network resource by the user.
As an example of the present application, the prompt information of the plurality of network resources included in the prompt message is updated according to the resource download time.
For example, when there is the prompt message of the network resource to be displayed, the electronic device may delete the prompt message of the network resource that is displayed earliest in the prompt message, and top-display the prompt message of the network resource to be displayed in the prompt message, so as to update the prompt message of the network resource in the prompt message.
As an example of the application, when the prompt message of the first network resource in the prompt message disappears, the open event of the first network resource is detected, and the prompt message of the first network resource is displayed in the prompt message again.
As described above, since the notification information of the plurality of network resources included in the notification message is updated according to the resource download time, in one case, the notification information of the first network resource in the notification message may be deleted. When the electronic device detects that the first network resource is opened, the prompt message of the first network resource can be redisplayed in the prompt message, so that the user can perform quick management on the first network resource based on the prompt message again.
As an example of the application, if the first network resource is stored under the target storage path, before displaying the prompting message, it may be further determined whether a message prompting condition is met, and if the message prompting condition is met, the electronic device executes an operation of displaying the prompting message.
Wherein, the message prompting condition can be set according to the actual requirement. Illustratively, the message prompting condition may be: the format of the first network time is a preset format, for example, the preset format may include, but is not limited to doc, docx, xls, xlsx, pdf, ppt, pptx, zip, alz, rar.
Illustratively, since various types of network resources may be stored in the target storage space, as an example, a message prompt may be performed upon detection of document generation. 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 with a preset format, displaying a prompt message. Thus, the electronic equipment can be controlled and prompted in a targeted manner.
In the embodiment of the application, a first network resource is acquired through a first application in the electronic device, the first network resource is stored in a target storage space when the first application downloads the network resource, which indicates that the first network resource is downloaded through the first application, and a prompt message is displayed at this time. The prompt message is used to provide a quick option to operate 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 conveniently and rapidly manage the first network resource, the situation that the user needs to perform multiple operations to enter the actual storage position of the first network resource and then manage the first network resource is avoided, and the management efficiency of the network resource can be improved.
As an example of the present application, the electronic device may generate different forms of alert messages for alerting. Based on the above embodiments, several prompting manners will be described below through the following embodiments, by way of example and not limitation.
Referring to fig. 18, fig. 18 is a flow chart illustrating a method of processing a network resource according to another exemplary embodiment. The method may be applied to the electronic device, and is described here as an example where the method is performed 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 acquires the message to inform the state of the switch.
As an 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 downloading the network resources 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 the 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 the 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.
And the target storage path corresponding to the target storage space is obtained from the configuration server by the system service module at regular time. It should be noted that, there is no execution sequence between the process of the system service module acquiring the target storage path and the other operations executed.
As an example of the present application, if the message notification switch is in the off state, the system service module does not perform the monitoring operation, and at this time, the monitoring function of downloading the network resource is not started, that is, the processing method of the network resource provided in the embodiment of the present application is not performed.
As an example of the present application, the system service module may continue to monitor the state of the message notification switch during monitoring the target storage space, and if it is monitored that the state of the message notification switch is switched from the on state to the off state, the monitoring function of downloading the network resource is turned off.
It is worth mentioning that the monitoring function of downloading the 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 can turn on or turn off the message notification switch according to actual requirements, thereby turning on or turning off the monitoring function of downloading the network resource, and further improving user experience.
It should be noted that, the above description is given by taking an example of the state of the message notification switch acquired by the system service module before monitoring the target storage space. In another embodiment, the step of obtaining the state of the message notification switch is optional, that is, the step of obtaining the state of the message notification switch may not be obtained, and the system service module directly executes the operation of monitoring the target storage space, which is not limited in this embodiment of the present application.
1803: the system service module monitors that the target storage space stores the first network resource and informs 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, xlsxx, pdf, ppt, pptx, zip, alz, rar, the system services module sends a notification to the resource management module indicating that a new document has been 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 receiving the notification from the system service module, the resource management module generates a prompt message, and here, the prompt message is described as an example of a prompt box.
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, and here, the interface display module is the UI module for example.
1806: the UI module displays a prompt box.
That is, the UI module displays the prompt box as a prompt message in the current display interface of the electronic device. Illustratively, the display effect is as shown in (b) diagram in fig. 3.
As an example of the application, the prompt box includes at least one of a share shortcut option and a transfer shortcut option. The prompt box responds to several events:
in one embodiment, in response to the triggering operation of the sharing shortcut option (e.g., the sharing trigger button in fig. 3 (b)), the resource management module notifies the sharing module. And after receiving the notification of the resource management module, the sharing module searches the target application with the sharing function in the electronic equipment and starts the target equipment with the sharing function. The sharing module displays a sharing prompt box, as shown in (b) of fig. 4, where the sharing prompt box includes the searched target application and/or target device, and in response to a selection operation on the target application and/or target device included in the sharing prompt box, the resource management module obtains the first network resource from the target storage space and sends the first network resource to the target application or target device selected by the selection operation. That is, the user may 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 of the transfer shortcut option, the resource management module calls 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 input based on the path management interface, the resource management module determines a specified 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.
Therefore, the user can select the directory or the new target, so that the first network resource can be transferred to the specified storage space. Therefore, the network resources downloaded by different first applications can be collected to a uniform storage path, and the user can conveniently check 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 generated before the current time and within a preset time length away 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 duration can be set according to actual requirements. For example, the preset duration may be 1 month, and in this case, the preset duration before and within the current time is the latest month.
As an example, the resource management application is a file management application as described above, and the designated page is the most recent tab in the file management application.
For example, the prompt box may be clicked when the user wants to view a network resource recently downloaded by a first application in the electronic device. And responding to the triggering operation of the prompt box, starting the file management application by the electronic equipment, and jumping to the latest tab of the file management application, wherein the latest tab comprises the resource tag of the latest downloaded document. The user may trigger the resource tab to view the corresponding document. In this way, in response to the trigger operation of the prompt box, the electronic device enters the specified page of the resource management application, so that the user can conveniently view the recently downloaded document.
In one embodiment, upon detecting operation of the prompt box by the user, the electronic device may no longer display the prompt box.
In the embodiment of the application, the first network resource is obtained through the first application, the first network resource is monitored to be stored in the target storage space, the user is prompted by popping up the prompt box, the user can rapidly manage the first network resource based on the prompt box, the user is prevented from entering the actual storage position of the first network resource to manage through manual multiple operations, 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 may be applied to the electronic device, and is described here as an example where the method is performed 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 acquires the message to inform the state of the 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 informs the resource management module.
It should be noted that, the implementation of step 1901 to step 1903 may refer to the implementation of step 1801 to step 1803, and details are not repeated here.
1904: and after receiving the notification of the system service module, the resource management module generates a floating window.
That is, after receiving the notification from the system service module, the resource management module generates a prompt message, which is described here as an example that the prompt message is a floating window.
In one embodiment, the floating window includes attribute information for the first network resource including, but not limited to, name, format, resource size.
As an example of the present application, a floating window is used to trigger the 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 a document, which is not limited in this embodiment of the present application.
1905: and 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, and here, the interface display module is the UI module for example.
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 an example of the present application, the floating window responds to several events:
in an embodiment, in response to the sliding operation of the floating window, the electronic device executes the sharing operation through the resource management module and the sharing module, and specific implementation may refer to the embodiment shown in fig. 18, which is not repeated herein.
By way of example and not limitation, the sharing prompt box further includes a copy shortcut option and/or a transfer shortcut option, the copy shortcut option is used for triggering copying of the first network resource, and the transfer shortcut option is used for triggering location transfer of the first network resource.
In one embodiment, in response to a trigger operation of the copy shortcut option, the resource management module calls 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 input based on the path management interface, the resource management module determines a specified 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 user can select the directory or the newly-built target, and the first network resource can be backed up to the designated storage space. Therefore, the network resources downloaded by different first applications can be collected to a uniform storage path, and the user can conveniently check and manage the network resources.
The specific implementation of the transfer can be seen in the foregoing, and the detailed description is not repeated here.
By way of example and not limitation, the sharing prompt box further includes a print shortcut option. In response to the triggering operation of the printing shortcut option, the resource management module determines that the printing application in the electronic equipment is a 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. That is, the embodiment of the application can also support fast printing on the first network resource.
In one embodiment, the floating window is clickable. And after the click operation on the floating window is detected, determining that the trigger operation for opening the shortcut option is detected. That is, the open shortcut option at this time is to hover the window itself.
In response to the triggering operation of the opening shortcut option, the resource management module determines a target application which can be used for opening the first network resource from the 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 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, 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 is displayed, the application list including a plurality of target applications that can be used to open the first network resource, the application list being used to select a target application that opens the first network resource.
That is, in this implementation, when a click operation of the floating window by the user is detected, the resource management module displays, through the application list, a plurality of target applications that can be used to open the first network resource. The user can select one target application from a plurality of target applications according to actual requirements based on the application list. And responding to the selection operation of the user, and the resource management module opens the first network resource through the target application selected by the user. Therefore, the user can select one target application to open the first network resource according to actual requirements by showing the plurality of target applications to the user, and user experience is improved.
In the embodiment of the application, the first network resource is received through the first application, the first network resource stored in the target storage space is monitored, 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 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 the efficiency of network resource management is improved.
Referring to fig. 20, fig. 20 is a flowchart illustrating a method for processing network resources according to another exemplary embodiment. The method may be applied to the electronic device, and is described here as an example where the method is performed 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 acquires the message to inform the state of the 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 informs the resource management module.
It should be noted that, the implementation of step 2001 to step 2003 may refer to the implementation of step 1801 to step 1803, and details are not repeated here.
In addition, when notifying that the resource management module has the first network resource 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 of 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.
Referring to fig. 21 as an example, 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, performs information layout based on the attribute information, and generates a desktop card to be displayed.
2007: the card management module displays desktop cards.
In one embodiment, the card management module displays the desktop card on the top of the desktop of the electronic device through the first management unit. In this way, the user can further manage the first network resource based on the desktop card.
In one embodiment, the desktop card includes card information of the first network resource, the card information includes attribute information of the first network resource and a sharing shortcut option, the attribute information of the first network resource is used for triggering an opening operation of the first network resource, and the sharing shortcut option is used for triggering 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 executes the sharing operation through the resource management module and the sharing module, and specific implementation of the sharing operation may refer to the embodiment shown in fig. 18, which is not repeated herein.
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 location transfer of the first network resource, and the print shortcut option is used to trigger printing of the first network resource. For specific implementation, reference may be made to the foregoing description, and details are not repeated here.
Therefore, the user is provided with the copying shortcut option and/or the transferring shortcut option through the sharing prompt box, so that the user can quickly copy or transfer the first network resource to a well-known designated storage space according to actual requirements, namely, convenience is provided for the user to uniformly manage the network resource. In addition, a printing shortcut option is provided for the user through the sharing prompt box, so that the user can quickly print according to actual requirements.
As an example, the desktop card further includes card information of a second network resource opened or downloaded at a time point before and closest to the download time of the first network resource under the target storage path, and the card information of the first network resource is arranged before the card information of the second network resource in the desktop card. That is, the desktop card not only includes the first network resource, but also includes the second network resource that is opened or downloaded before the first network resource is downloaded.
As an example, if there is card information of a third network resource to be displayed, the card information of the third network resource is displayed in front of 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 new card information of the 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 head, and the card information of the second network resource arranged at the tail is deleted, that is, the card information of the second network resource is flushed by using the card information of the third network resource. In this way, by dynamically updating the desktop card, the card information of the newly downloaded or opened network resource in the electronic device can be provided for the user.
It should be noted that, the above description is given by taking the example that the desktop card includes card information of two network resources, and in another embodiment, the desktop card may further include card information of more than two network resources, which is not limited in this embodiment of the application.
As an example, in the case that the card information of the first network resource in the desktop card is deleted, if an opening event of the first network resource is detected, the card information of the first network resource is displayed in the desktop card again.
Since the card information in the desktop card may be dynamically updated, in one case, the card information of the first network resource may be deleted. In this case, after downloading the first network resource, 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 at the head of the desktop card.
As an 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.
Exemplarily, assuming that the attribute information includes a name and an icon, when a trigger operation of the user on the name or the icon of the first network resource is detected, the electronic device opens the first network resource through a default target application, for example, the target application is WPS office.
As another example, in response to a triggering operation of attribute information of the first network resource, an application list is displayed, where the application list includes a plurality of target applications that can be used to open the first network resource, and the application list is used to select a target application that opens the first network resource.
That is, in this implementation manner, when the trigger operation of the user on the attribute information of the first network resource is detected, the electronic device displays, through the application list, a plurality of target applications that can be used to open the first network resource. In this case, the user can select one target application from the plurality of target applications according to actual needs based on the application list. And responding to the selection operation of the user on the plurality of target applications, and the electronic equipment opens the first network resource through the target application selected by the user. Therefore, the user can select one target application to open the first network resource according to actual requirements by showing the plurality of target applications to the user, and user experience is improved.
In addition, it is understood that when the user's trigger operation 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 user's trigger operation.
As an example, a view shortcut option is also included in the desktop card, and the view shortcut option is used for triggering entry into a specified page of the resource management application. As an example, the resource management application is a file management application as described above, and the designated page is the most recent tab in the file management application.
Therefore, the viewing shortcut option is provided for the user through the desktop card, so that the user can quickly view the network resources downloaded or opened in the latest electronic equipment through the viewing shortcut option, and the user experience is improved.
As an example of the present application, when the card management module detects that the display time length of the desktop card from the generation time has exceeded the preset time length, the desktop card is removed from the desktop of the electronic device. The preset duration can be set according to actual requirements. That is, after the desktop card is displayed for a period of time, the desktop card may no longer be displayed.
As an example of the present application, when the card management module detects that the display time length of the desktop card from the last update time has exceeded the preset time length, the desktop card is removed from the desktop of the electronic device. 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 described that the card information in the desktop card has been displayed for a long time, and 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 obtained through the first application, the first network resource is monitored to be stored in the target storage space, the user is prompted by popping up the desktop card, the user can rapidly manage the first network resource based on the desktop card, 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 the efficiency of network resource management is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Corresponding to the processing method of the network resource described in the foregoing embodiment, fig. 22 is a block diagram of an electronic device provided in the embodiment of the present application, where the electronic device may be configured to execute the processing method of the network resource. For convenience of explanation, only portions related to the embodiments of the present application are shown.
Referring to fig. 22, the 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 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 a target device, 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 that 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 to directly share the first network resource to the target application or the target device, the opening shortcut option is used to trigger to directly send the first network resource to the target application for opening, and the printing shortcut option is used to trigger to directly send the first network resource to the target application for printing; and under the condition 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 comprises at least one of a copy shortcut option and a transfer shortcut option, wherein the copy shortcut option is used for triggering direct copying of the first network resource from the target storage space to the designated storage space, and the transfer shortcut option is used for triggering direct transferring of the first network resource from the target storage space to the designated storage space.
As an example of the present 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:
the resource management module responds to the triggering operation of the sharing shortcut option and informs the sharing module;
after receiving the notification of the resource management module through the sharing module, searching a target application with a sharing function in the electronic equipment and starting the target equipment with 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 an 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 2203 are further configured to:
responding to the triggering operation of the shortcut opening option through the resource management module, and determining a target application capable of being used for opening the first network resource from applications included in the electronic equipment according to the format attribute of the first network resource;
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 an example of the present application, the electronic device includes a resource management module; the prompt message includes the print shortcut option, and the one or more processors 2203 are further configured to:
responding to the triggering operation of the printing shortcut option through the resource management module, and determining that the printing application in the electronic equipment is the target application;
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 an 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 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, by the resource management module, a path management interface based on the path content;
responding to a path selection operation input based on the path management interface through the resource management module, and determining a designated storage space selected by the path selection operation;
acquiring the first network resource from the target storage space through the resource management module, and storing the first network resource to the specified storage space;
deleting the first network resource stored in the target storage space through the resource management module.
As an 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 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, by the resource management module, a path management interface based on the path content;
responding to a path selection operation input based on the path management interface through the resource management module, and determining a designated storage space selected by the path selection operation;
and acquiring the first network resource from the target storage space through the resource management module, and copying the first network resource to the specified 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, 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 hierarchical 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 for a plurality of network resources.
As an example of the present application, the prompt information of the plurality of network resources included in the prompt 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 under the condition that the prompt information of the first network resource in the prompt message disappears, detecting the opening event of the first network resource, and displaying the prompt information of the first network resource in the prompt message again.
As an example of the present 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;
under the condition that the message notification switch is in an on state, monitoring that the target storage space stores the first network resource through the system service module, 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 an example of the present application, the one or more processors 2203 are further configured to:
and detecting and 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, a first network resource is acquired through a first application in the electronic device, the first network resource is stored in a target storage space when the first application downloads the network resource, which indicates that the first network resource is downloaded through the first application, and a prompt message is displayed at this time. The prompt message is used to provide a quick option to operate 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 conveniently and rapidly manage the first network resource, the situation that the user needs to perform multiple operations to enter the actual storage position of the first network resource and then manage the first network resource is avoided, and 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-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of 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 processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
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 implementation. 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 ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to an electronic apparatus, including recording media, computer memory, read-only memory (ROM), Random Access Memory (RAM), electrical carrier signals, telecommunications signals, and software distribution media. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
Finally, it should be noted that: the above description is only an embodiment of the present application, but the 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 by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (16)

1. A processing method of network resources is applied to an electronic device, and the method comprises the following steps:
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 a target device, and/or the shortcut option is used for directly storing the first network resource from the target storage space to a designated storage space.
2. The method of claim 1,
when the shortcut option is used for directly transmitting the first network resource to the target application or target equipment, the prompt message includes at least one of a sharing shortcut option, an opening shortcut option and a printing shortcut option, the sharing shortcut option is used for triggering to directly share the first network resource to the target application or target equipment, the opening shortcut option is used for triggering to directly send the first network resource to the target application for opening, and the printing shortcut option is used for triggering to directly send the first network resource to the target application for printing;
and under the condition 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 comprises at least one of a copy shortcut option and a transfer shortcut option, wherein the copy shortcut option is used for triggering direct copying of the first network resource from the target storage space to the designated storage space, and the transfer shortcut option is used for triggering direct transferring of the first network resource from the target storage space to the designated storage space.
3. The method of claim 2, wherein the electronic device comprises 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 receiving the notification of the resource management module, the sharing module searches a target application with a sharing function in the electronic device and starts a target device with 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;
in response to a selection operation of a target application and/or a target device 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 device selected by the selection operation.
4. The method of claim 2, wherein the electronic device comprises a resource management module; the prompt message includes the shortcut opening 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 the shortcut opening 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.
5. The method of claim 2, wherein the electronic device comprises a resource management module; the prompt message includes the print 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;
and 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; 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, the resource management module calls a path selector 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 specified 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;
and 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; 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 trigger operation of the copying shortcut option, the resource management module calls a path selector 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 specified storage space selected by the path selection operation;
and 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 according to any one of claims 2 to 7, wherein the prompt message comprises a sharing shortcut option, an opening shortcut option, a printing shortcut option, a copying shortcut option and a transferring shortcut option, the prompt message comprises 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 hierarchical manner through the multi-level prompt menu.
9. The method according to any one of claims 1 to 8, wherein the prompt message is any one of a desktop card, a floating window and a prompt box.
10. The method of any of claims 1-9, wherein the hint message includes hints information for a plurality of network resources.
11. The method of claim 10, wherein the prompting information for the plurality of network resources included in the prompting message is updated according to resource download time.
12. The method according to claim 10 or 11, characterized in that the method further comprises:
and under the condition that the prompt information of the first network resource in the prompt message disappears, detecting the opening event of the first network resource, and displaying the prompt information of the first network resource in the prompt message again.
13. The method of any of claims 1-12, wherein the electronic device comprises a system services module, a resource management module, an interface display module;
the monitoring target storage space stores the first network resource, displays a prompt message, and includes:
the system service module acquires the state of a message notification switch, wherein the message notification switch is used for indicating whether to start the monitoring function of downloading the network resources;
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;
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.
14. The method according to any one of claims 1-13, further comprising:
and detecting and 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.
15. An electronic device comprising 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-14.
16. A computer-readable storage medium having instructions stored therein, which when run on a computer, cause the computer to perform the method of any one of claims 1-14.
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 true CN113805797A (en) 2021-12-17
CN113805797B 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)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022262439A1 (en) * 2021-06-17 2022-12-22 荣耀终端有限公司 Network resource processing method, electronic device, and computer-readable storage medium
CN116048617A (en) * 2022-08-16 2023-05-02 荣耀终端有限公司 Information acquisition method, device, chip, electronic equipment and medium
CN116996496A (en) * 2023-07-12 2023-11-03 荣耀终端有限公司 Internet surfing system and method and wearable device
WO2024078120A1 (en) * 2022-10-14 2024-04-18 荣耀终端有限公司 File management method, and device and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105227444A (en) * 2015-10-23 2016-01-06 阿里巴巴集团控股有限公司 Based on message informing method and the device of instant messaging
US20160357305A1 (en) * 2015-06-07 2016-12-08 Apple Inc. Devices and Methods for Navigating Between User Interfaces
CN107193976A (en) * 2017-05-25 2017-09-22 北京小米移动软件有限公司 Information resources display methods, device and computer-readable recording medium
CN108874466A (en) * 2018-06-08 2018-11-23 Oppo(重庆)智能科技有限公司 Control call method, electronic device and computer readable storage medium
WO2019061040A1 (en) * 2017-09-26 2019-04-04 华为技术有限公司 File management method and device
CN111327589A (en) * 2020-01-19 2020-06-23 腾讯科技(深圳)有限公司 Resource sharing method and device, computer readable storage medium and computer equipment
CN111913750A (en) * 2019-05-10 2020-11-10 华为技术有限公司 Application program management method, device and equipment
WO2021104259A1 (en) * 2019-11-27 2021-06-03 华为技术有限公司 Method and terminal for data sharing between fast application and native application

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN113805797B (en) * 2021-06-17 2023-04-28 荣耀终端有限公司 Processing method of network resource, electronic equipment and computer readable storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160357305A1 (en) * 2015-06-07 2016-12-08 Apple Inc. Devices and Methods for Navigating Between User Interfaces
CN105227444A (en) * 2015-10-23 2016-01-06 阿里巴巴集团控股有限公司 Based on message informing method and the device of instant messaging
CN107193976A (en) * 2017-05-25 2017-09-22 北京小米移动软件有限公司 Information resources display methods, device and computer-readable recording medium
WO2019061040A1 (en) * 2017-09-26 2019-04-04 华为技术有限公司 File management method and device
CN108874466A (en) * 2018-06-08 2018-11-23 Oppo(重庆)智能科技有限公司 Control call method, electronic device and computer readable storage medium
CN111913750A (en) * 2019-05-10 2020-11-10 华为技术有限公司 Application program management method, device and equipment
WO2021104259A1 (en) * 2019-11-27 2021-06-03 华为技术有限公司 Method and terminal for data sharing between fast application and native application
CN111327589A (en) * 2020-01-19 2020-06-23 腾讯科技(深圳)有限公司 Resource sharing method and device, computer readable storage medium and computer equipment

Non-Patent Citations (4)

* 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" *
华为新闻中心: "华为发布多款搭载 HarmonyOS 2 的新产品,"百"款设备启动升级", 《消费者业务网站》 *
李颖: "《微软桌面5.0》让手机接过电脑的活" *
郭建伟;: "PING命令不给力,监控卡片来相助!" *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022262439A1 (en) * 2021-06-17 2022-12-22 荣耀终端有限公司 Network resource processing method, electronic device, and computer-readable storage medium
CN116048617A (en) * 2022-08-16 2023-05-02 荣耀终端有限公司 Information acquisition method, device, chip, electronic equipment and medium
CN116048617B (en) * 2022-08-16 2024-05-24 荣耀终端有限公司 Information acquisition method, device, chip, electronic equipment and medium
WO2024078120A1 (en) * 2022-10-14 2024-04-18 荣耀终端有限公司 File management method, and device and storage medium
CN116996496A (en) * 2023-07-12 2023-11-03 荣耀终端有限公司 Internet surfing system and method and wearable device

Also Published As

Publication number Publication date
CN113805797B (en) 2023-04-28
WO2022262439A1 (en) 2022-12-22

Similar Documents

Publication Publication Date Title
CN109766036B (en) Message processing method and electronic equipment
CN114397979B (en) Application display method and electronic equipment
WO2020259452A1 (en) Full-screen display method for mobile terminal, and apparatus
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
CN111316199B (en) Information processing method and electronic equipment
CN111078091A (en) Split screen display processing method and device and electronic equipment
CN111258700B (en) Icon management method and intelligent terminal
CN111913750B (en) Application program management method, device and equipment
WO2021159746A1 (en) File sharing method and system, and related device
CN111373380A (en) Data recovery method for terminal to restore factory settings and terminal
CN113805797B (en) Processing method of network resource, electronic equipment and computer readable storage medium
WO2021258814A1 (en) Video synthesis method and apparatus, electronic device, and storage medium
CN113747374B (en) Message pushing method and device
WO2021218429A1 (en) Method for managing application window, and terminal device and computer-readable storage medium
WO2023056795A1 (en) Quick photographing method, electronic device, and computer readable storage medium
WO2023015963A1 (en) File management method, electronic device, and computer-readable storage medium
CN111602108A (en) Application icon display method and terminal
CN113141483B (en) Screen sharing method based on video call and mobile device
WO2023273543A1 (en) Folder management method and apparatus
CN112449101A (en) Shooting method and electronic equipment
CN114911400A (en) Method for sharing pictures and electronic equipment
CN113867657A (en) Cross-device desktop management method, first electronic device and second electronic device
WO2024093703A1 (en) Instance management method and apparatus, and electronic device and storage medium

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