CN113010457A - Resource management method and device and mobile terminal - Google Patents

Resource management method and device and mobile terminal Download PDF

Info

Publication number
CN113010457A
CN113010457A CN202110313981.5A CN202110313981A CN113010457A CN 113010457 A CN113010457 A CN 113010457A CN 202110313981 A CN202110313981 A CN 202110313981A CN 113010457 A CN113010457 A CN 113010457A
Authority
CN
China
Prior art keywords
file
target
storage resource
management
mobile terminal
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
CN202110313981.5A
Other languages
Chinese (zh)
Other versions
CN113010457B (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.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110313981.5A priority Critical patent/CN113010457B/en
Publication of CN113010457A publication Critical patent/CN113010457A/en
Application granted granted Critical
Publication of CN113010457B publication Critical patent/CN113010457B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/12Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor
    • G06F13/124Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine
    • G06F13/126Program control for peripheral devices using hardware independent of the central processor, e.g. channel or peripheral processor where hardware is a sequential transfer control unit, e.g. microprocessor, peripheral processor or state-machine and has means for transferring I/O instructions and statuses between control unit and main processor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • G06F13/1668Details of memory controller
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Computer Hardware Design (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a resource management method, a resource management device and electronic equipment, and relates to the field of resource management in computer technology. The specific implementation scheme is as follows: identifying a target storage resource applied by an application program aiming at the idle storage resource of the mobile terminal; configuring a management interface for the target storage resource; receiving a management operation for the target storage resource based on the management interface; in response to the management operation, performing a target process based on the target storage resource. According to the technology of the application, the problem that the use cost of the mobile terminal storage resource is high in the resource management technology is solved, and the use cost of the mobile terminal storage resource can be reduced.

Description

Resource management method and device and mobile terminal
Technical Field
The present application relates to the field of computer technologies, and in particular, to a resource management method and apparatus, and a mobile terminal.
Background
With the rapid development of computer technology, the storage capacity of the standard version of the mobile terminal is larger and larger, but on the contrary, the usage rate of most users for the storage capacity of the mobile terminal is reduced, which causes the waste of the storage capacity of the mobile terminal, and therefore, the management of the storage resource of the mobile terminal is more and more important.
At present, the storage resources of the mobile terminal are usually managed by connecting the mobile terminal to a computer through a data line to use the local resources of the mobile terminal.
Disclosure of Invention
The disclosure provides a resource management method, a resource management device and a mobile terminal.
According to a first aspect of the present disclosure, there is provided a resource management method applied to a mobile terminal, including:
identifying a target storage resource applied by an application program aiming at the idle storage resource of the mobile terminal;
configuring a management interface for the target storage resource;
receiving a management operation for the target storage resource based on the management interface;
in response to the management operation, performing a target process based on the target storage resource.
According to a second aspect of the present disclosure, there is provided a resource management apparatus applied to a mobile terminal, including:
the identification module is used for identifying a target storage resource applied by an application program aiming at the idle storage resource of the mobile terminal;
the configuration module is used for configuring a management interface for the target storage resource;
a first receiving module, configured to receive a management operation for the target storage resource based on the management interface;
and the target processing module is used for responding to the management operation and executing target processing based on the target storage resource.
According to a third aspect of the present disclosure, there is provided a mobile terminal comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform any one of the methods of the first aspect.
According to a fourth aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having stored thereon computer instructions for causing a computer to perform any one of the methods of the first aspect.
According to a fifth aspect of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements any of the methods of the first aspect.
According to the technology of the application, the problem that the use cost of the mobile terminal storage resource is high in the resource management technology is solved, and the use cost of the mobile terminal storage resource can be reduced.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
FIG. 1 is a schematic flow chart diagram of a resource management method according to a first embodiment of the present application;
FIG. 2 is a block diagram illustrating one implementation of a method for managing resources;
FIG. 3 is a second block diagram of an implementation of a method for managing resources;
FIG. 4 is a schematic structural diagram of a resource management device according to a second embodiment of the present application;
FIG. 5 illustrates a schematic block diagram of an example electronic device 500 that can be used to implement embodiments of the present disclosure.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
First embodiment
As shown in fig. 1, the present application provides a resource management method, including the following steps:
step S101: and identifying a target storage resource applied by an application program aiming at the idle storage resource of the mobile terminal.
In the embodiment, the resource management method relates to a computer technology, in particular to the field of resource management in the computer technology, and can be widely applied to a storage resource management scene. The method can be executed by the resource management device of the embodiment of the application. The resource management device can be configured in any mobile terminal such as a mobile phone or a wearable device, so as to execute the resource management method of the embodiment of the application.
The mobile terminal takes a mobile phone as an example, the use of the mobile phone storage resource usually depends on the support of external hardware such as a data line, and the mobile phone storage resource is connected with the computer end through the data line so as to use the storage resource of the mobile terminal at the computer end. Meanwhile, the mobile phone supports different data line interfaces, and the computer is divided into different platforms, so that the management of the mobile phone storage resources is limited by the problem of interface compatibility, and the usability is reduced. The resource management method of the embodiment of the application aims to solve the problem that the mobile terminal depends on the data line when the mobile terminal stores the resources, so that the use cost of the mobile terminal stores the resources is reduced.
The storage resource of the mobile terminal may be a resource used by the mobile terminal to store data, and the entire space of the storage resource may constitute the storage capacity of the mobile terminal. The storage resources can be divided into two types according to the usage of the storage resources, one is a storage resource that has already stored data, and the other is a storage resource that has not stored data, which can be referred to as an idle storage resource.
The application program may be any application program installed in the mobile terminal, and the application program may have a permission to apply for the idle storage resource of the mobile terminal to be used as the file management system, that is, the application program may have two ways to apply for the idle storage resource of the mobile terminal, the first way may be to apply for the idle storage resource to store data generated when the application program operates, and the second way may be to apply for the idle storage resource to be used as the file management system.
In the present embodiment, the method for applying for the idle storage resource of the mobile terminal is the second method. In a specific implementation process, the development permission of the application program can be utilized, for example, the permission function of resource management is integrated into the application program in a software development kit mode, so that the application program has universality, and accordingly, the mobile terminal provided with the application program can apply for idle storage resources of the mobile terminal to perform resource management.
The application program can apply for all or part of the idle storage resources of the mobile terminal and perform file management by using the applied idle storage resources, that is, the target storage resources are resources of all or part of the storage space of the idle storage resources of the mobile terminal, and the target storage resources can be used for file management.
For example, the storage space of the free storage resource of the mobile terminal is 250G, the application program can apply for a target storage resource of the storage space below 250G, such as 100G, and the mobile terminal can use the target storage resource to perform file management, so as to achieve the purpose of managing the local storage resource of the mobile terminal by using the target storage resource applied by the application program.
Accordingly, identifying the target storage resource for which the application applies for the idle storage resource of the mobile terminal may be understood as identifying the storage resource for which the application applies as a storage resource for file management and a storage space size of the storage resource.
When the application program applies for the storage resource for the idle storage resource of the mobile terminal, the mobile terminal may identify the target storage resource applied by the application program for the idle storage resource of the mobile terminal according to the application identifier of the application program. For example, different application identifiers are respectively set for two modes of applying for the idle storage resource by the application program, and when the application identifier is the preset information, for example, 1, the storage resource applied by the application program this time is the target storage resource, and correspondingly, the size of the storage space of the target storage resource is obtained based on the application information of the application program this time.
Step S102: and configuring a management interface for the target storage resource.
The management interface is a resource management entry, and the configuration of the management interface for the target storage resource refers to the configuration of an entry of a file management system for the target storage resource, and the entry can support a common management function for a local file. Such as new folders, moving files, renaming, copying, deleting, and preview support for common file types.
When the application program applies for the target storage resource for the idle storage resource of the mobile terminal, an entry of a file management system can be further configured for the target storage resource by using the authority of the application program.
The application program may bind an entry that takes over resource management, that is, the application program obtains an entry of the user for local resource management, and if the application program is uninstalled, the mobile terminal may be caused to release the target storage resource, so that the stickiness of the user to the application program may be improved.
In a specific practical application, in a case where a management interface is configured for the target storage resource, a control may be displayed on an operation interface of an application program, and the control may be associated with the configured management interface.
Step S103: receiving a management operation for the target storage resource based on the management interface.
The management operation for the target storage resource may refer to an operation of performing file management by using the target storage resource, for example, an operation of storing a file or a folder by using a storage space of the target storage resource, and a management operation including sharing, deleting, copying, renaming, moving a file, and the like is performed on a local file stored in the target storage resource.
Because the management interface is an entry of the file management system, a user can trigger a control associated with the management interface, and correspondingly, the mobile terminal can receive management operation aiming at the target storage resource based on the management interface.
Step S104: in response to the management operation, performing a target process based on the target storage resource.
In a case where the management operation is received, the mobile terminal may perform a target process based on the target storage resource according to the management operation in response to the management operation. Wherein the target processing refers to processing corresponding to the management operation.
For example, in a case that the management operation is a file adding operation, the mobile terminal may obtain an added file corresponding to the file adding operation, and store the added file by using the storage space of the target storage resource.
For another example, when the management operation is a file sharing operation, the mobile terminal may generate a download address of a shared file corresponding to the file sharing operation stored in the target storage resource, and send the download address to another device, so as to share the file stored in the target storage resource with another user.
In this embodiment, the application program applies for the idle storage resource of the mobile terminal, and configures the management interface for the idle storage resource applied by the application program, so as to perform file management by using the idle storage resource, so that the mobile terminal can manage the idle storage resource of the mobile terminal without depending on other hardware such as a data line, and the use of the local storage capacity of the mobile terminal can be realized at any time, thereby reducing the use cost of the storage resource of the mobile terminal.
In addition, the application program applies and manages the target storage resource, so that the target storage resource can be completely based on a local environment and does not pass through third-party transfer equipment such as cloud service, and the privacy of the file can be guaranteed. And the method has the characteristic of platform universality.
Optionally, step S103 specifically includes:
and receiving the management operation input by the mobile terminal aiming at the target storage resource based on the management interface.
The first mode is to directly use the application program of the mobile terminal to manage the file by using the target storage resource based on the access address of the target storage resource, and the second mode is to send the web service page address of the target storage resource to other equipment, and the other equipment uses the target storage resource to manage the file based on the access page of the web service page address.
The embodiment describes that file management is performed by using the target storage resource based on the first manner, specifically, a user may perform a corresponding operation on a mobile terminal for a resource management entry of the target storage resource, and accordingly, a management operation input by the mobile terminal for the target storage resource may be received based on the management interface.
The executing of the corresponding operation for the resource management entry of the target storage resource refers to executing the corresponding operation on a page of the target storage resource or directly for the resource management entry, where the page may be associated with the resource management entry, and the page may be started based on an operation interface of an application applying for the target storage resource, and specifically may be started through a control displayed on the operation interface of the application.
For example, the management operation of the newly added folder is performed for the page of the target storage resource, and for example, the management operation of the newly added file is performed for the resource management entry of the target storage resource.
In this embodiment, the management operation is performed on the target storage resource directly based on the management interface on the mobile terminal, so that the mobile terminal can manage the idle storage resource of the mobile terminal without depending on any other hardware, thereby implementing the utilization of the local storage capacity of the mobile terminal at any time.
Optionally, the management operation is a file adding operation, and the step S104 specifically includes:
in response to the file adding operation, under the condition that a newly added file associated with the file adding operation is a file stored by the mobile terminal, copying the newly added file into the target storage resource; alternatively, the first and second electrodes may be,
and responding to the file adding operation, downloading the added file when the added file associated with the file adding operation is a file stored by network side equipment, and storing the downloaded added file into the target storage resource.
In this embodiment, the file adding operation may be a management operation of an added file, and directly adding a file on the mobile terminal by using the target storage resource may include two scenarios, where the first scenario may be an addition of a local file on the mobile terminal, for example, sending a local file in another application program to the target storage resource based on a management interface, and for example, directly copying the local file and pasting the local file to a page of the target storage resource. In such a scenario, the newly added file may be copied to the target storage resource in response to the file adding operation.
In the second scenario, a network-side device file, that is, a cloud file, may be added, and in this scenario, an application may download the added file and store the downloaded added file in the target storage resource.
In the embodiment, the newly added file is directly copied or downloaded on the mobile terminal and is moved to the target storage resource, so that the file can be newly added based on the target storage resource, and the file addition management is very convenient.
Optionally, step S103 specifically includes:
receiving a management operation sent by a first target device aiming at an access page corresponding to a webpage service page address based on the management interface;
the webpage service page address is a page address which is generated by the mobile terminal based on the access address of the target storage resource and is sent to the first target device, and the first target device and the mobile terminal are connected with the same local area network.
The embodiment describes that file management is performed by using the target storage resource based on the second manner, and the first target device may be any electronic device except the mobile terminal.
Specifically, under the condition that a first target device and a mobile terminal are connected to the same local area network, an application program may trigger to output a web service page address, and send the web service page address to the first target device, where the web service page address is generated based on an access address of the target storage resource.
The first target device and the mobile terminal are connected with the same local area network, which means that the first target device is connected with a hotspot opened by the mobile terminal, or the first target device and the mobile terminal are connected with the same wireless fidelity (WIFI) address.
The mobile terminal may open a hotspot or be connected with the same WIFI with the first electronic device, and it is ensured that in the same local area network environment, the application may create a web service page address by linking to a Personal Computer (PC) website, for example, the created web service page address is "127. x.x.xxxx/index. html". The web service page address may also be created by a File Transfer Protocol (FTP) scheme or the like.
The user can trigger the webpage service page address to enter the access page of the target storage resource on the first target device, the access page can be loaded in two modes, the first mode can be a webpage page load deployed for a far end, the webpage page load can realize login authentication logic and password sharing authorization logic, the second mode can output a load page at the local webpage service, and the access page has file management logic consistent with the mobile terminal, so that the user can execute corresponding management operation based on the access page.
Correspondingly, the first target device may send a management operation input for an access page corresponding to the web service page address to the mobile terminal. The mobile terminal may receive the management operation based on the management interface.
The management operation may be a file downloading operation or a file adding operation, where the file downloading operation may be downloading a file from a target storage resource carried by the access page. Therefore, when the file resource needs to be transferred to other users in the same local area network, the other users can directly access and download the access page corresponding to the webpage service page address only by sharing the webpage service page address of the target storage resource.
In this embodiment, when the first target device and the mobile terminal are connected to the same lan, the management operation sent by the first target device for the access page of the target storage resource is received, so that the target storage resource can be managed by other devices without depending on any hardware. In addition, the resources of the mobile terminal do not need to be uploaded to a cloud space third-party service, the local resources of the mobile terminal can be managed, and therefore privacy safety of files can be guaranteed.
Optionally, the management operation is a file adding operation, and the step S104 specifically includes:
and responding to the file adding operation, receiving the added file sent by the first target equipment through the local area network under the condition that the added file corresponding to the file adding operation is the file stored by the first target equipment, and storing the received added file into the target storage resource.
In this embodiment, the file adding operation may be a management operation of adding a file to a target storage resource, where the added file corresponding to the file adding operation may be a file stored on the first target device, and the file stored on the first target device is added to the target storage resource, and this process may be referred to as uploading of the file.
The first target device may send the file adding operation to the mobile terminal when receiving the file adding operation, and send a new file corresponding to the file adding operation to the mobile terminal through the local area network.
Correspondingly, the mobile terminal can correspondingly receive the newly added file sent by the first target device through the local area network under the condition of receiving the file newly added operation, and store the received newly added file into the target storage resource.
In the embodiment, resources are uploaded through the mobile phone hotspot or the WIFI, the network environment is not depended on, the user flow can be saved, the time consumption of resource transmission is greatly reduced, and the file transmission speed is ensured. Moreover, uploading the files to the target storage resources can be performed without depending on any hardware and cloud space third-party services, file transfer can be established as long as two devices are connected with the same local area network, application scenes where large-capacity mobile terminals and WIFI are popularized are met, and resource privacy is guaranteed.
Optionally, the management operation is a file sharing operation, and the step S104 specifically includes:
the file sharing operation may be to share a file in the target storage resource to other devices for downloading, and this process may be referred to as a downloading process.
The mobile terminal may generate a download address based on a storage address of the sharing file associated with the file sharing operation in the target storage resource and send the download address to the second target device when receiving the file sharing operation.
When file sharing is directly performed on the mobile terminal based on the target storage resource, a download address can be directly generated based on a storage address of the shared file in the target storage resource, and when file management is performed on the first target device based on the target storage resource borne by an access page, the download address can be generated based on the storage address of the target storage resource borne by the access page of the shared file. In addition, different file lists and operation permissions can be controlled to be shared according to different sharing purposes.
In this embodiment, by responding to the file sharing operation, a download address is generated based on the storage address of the sharing file associated with the file sharing operation in the target storage resource, and the download address is sent to the second target device, so that the second target device can download the sharing file associated with the file sharing operation based on the download address, and thus, the file in the target storage resource can be downloaded.
Optionally, after the sending the download address to the second target device, the method further includes:
receiving a file downloading operation sent by the second target device aiming at the downloading address;
and sending the sharing file to the second target equipment through the local area network under the condition that the second target equipment and the mobile terminal are determined to be connected with the same local area network.
In this embodiment, the second target device may execute a file downloading operation based on the download address, and send the file downloading operation to the mobile terminal, and correspondingly, the mobile terminal receives the file downloading operation sent by the second target device according to the download address, and sends the shared file to the second target device through the local area network under the condition that it is determined that the second target device and the mobile terminal are connected to the same local area network, so that resources are downloaded through a mobile phone hotspot or WIFI, which does not depend on a network environment, so that user traffic can be saved, time consumed for resource transfer is greatly reduced, and file transfer speed is ensured.
In order to explain the scheme of the embodiment of the present application in more detail, the following mobile terminal takes a mobile phone as an example to describe the implementation process of the whole scheme in detail.
Referring to fig. 2, fig. 2 is a schematic diagram of an implementation framework of the method for managing resources, and as shown in fig. 2, to implement the method for managing resources according to the embodiment of the present application, the mobile phone needs to install an application program having a target storage resource for file management.
Specifically, the mobile phone may apply for a target storage resource for the idle storage resource of the mobile terminal by using the application program, and configure a file management entry for the target storage resource, where the file management entry may be bound and associated with the application program.
Correspondingly, the target storage resource can be used for file management based on the file management entry, and the file management entry supports basic file management functions such as file creation, file deletion, file name modification and the like, and local files of other application programs are transmitted to the target storage resource for storage based on the file management entry, network resource downloading and the like. The target storage resource may constitute a file management system, i.e. local files of other applications are transferred to the file management system based on the file management entry.
And resource sharing can be performed, a download address of the file is generated, and the download address is sent to other equipment. And then, determining whether other equipment is connected with the same local area network, if so, starting a download queue to transmit the file after the other equipment receives the file download operation triggering the download address, and if not, prompting the other equipment to join the same local area network.
Referring to fig. 3, fig. 3 is a second schematic diagram of an implementation block diagram of the resource management method, as shown in fig. 3, it is determined whether the mobile phone is in a WIFI environment, if not, the user is prompted to join the WIFI or create a mobile phone hotspot, if yes, the application program sends a web service page address to other devices, and the other devices can implement a file management logic consistent with the mobile phone based on an access page corresponding to the web service page address. The other equipment has two implementation schemes for bearing the access page, and a webpage bearing is deployed for the remote end and a bearing page is output by the local webpage service.
Meanwhile, other devices can drag the local file to upload the local file to the target storage resource of the mobile phone, and can download the file in the target storage resource to the local through a downloading function.
In addition, the resource sharing can be realized, the resource authority can be shared by sharing the download address to other users of the same local area network, and different file lists and operation authorities can be controlled to be shared according to different sharing purposes.
Second embodiment
As shown in fig. 4, the present application provides a resource management apparatus 400 applied to a mobile terminal, including:
an identifying module 401, configured to identify a target storage resource that an application applies for an idle storage resource of the mobile terminal;
a configuration module 402, configured to configure a management interface for the target storage resource;
a first receiving module 403, configured to receive a management operation for the target storage resource based on the management interface;
a target processing module 404, configured to perform target processing based on the target storage resource in response to the management operation.
Optionally, the first receiving module 403 includes:
a first receiving unit, configured to receive, based on the management interface, a management operation input by the mobile terminal for the target storage resource.
Optionally, where the management operation is a file adding operation, the target processing module 404 includes:
the copying unit is used for responding to the file adding operation, and copying the added file to the target storage resource under the condition that the added file related to the file adding operation is the file stored by the mobile terminal;
the downloading unit is used for responding to the file adding operation, downloading the added file when the added file associated with the file adding operation is a file stored by network side equipment;
and the first storage unit is used for storing the downloaded newly-added file into the target storage resource.
Optionally, the first receiving module 403 includes:
the second receiving unit is used for receiving the management operation sent by the first target equipment aiming at the access page corresponding to the webpage service page address based on the management interface;
the webpage service page address is a page address which is generated by the mobile terminal based on the access address of the target storage resource and is sent to the first target device, and the first target device and the mobile terminal are connected with the same local area network.
Optionally, where the management operation is a file adding operation, the target processing module 404 includes:
a third receiving unit, configured to receive, in response to the file addition operation, a new file sent by the first target device through the local area network when the new file corresponding to the file addition operation is a file stored in the first target device;
and the second storage unit is used for storing the received newly-added file into the target storage resource.
Optionally, wherein the management operation is a file sharing operation, and the target processing module 404 includes:
the generating unit is used for responding to the file sharing operation and generating a downloading address based on a storage address of a sharing file associated with the file sharing operation in the target storage resource;
and the address sending unit is used for sending the download address to the second target equipment.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving the file downloading operation sent by the second target equipment aiming at the downloading address;
and the file sending module is used for sending the shared file to the second target equipment through the local area network under the condition that the second target equipment and the mobile terminal are determined to be connected with the same local area network.
The resource management device 400 provided in the present application can implement each process implemented by the above-mentioned resource management method embodiment, and can achieve the same beneficial effects, and for avoiding repetition, the details are not repeated here.
There is also provided, in accordance with an embodiment of the present application, an electronic device, a readable storage medium, and a computer program product.
FIG. 5 illustrates a schematic block diagram of an example electronic device 500 that can be used to implement embodiments of the present disclosure. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 5, the apparatus 500 comprises a computing unit 501 which may perform various appropriate actions and processes in accordance with a computer program stored in a Read Only Memory (ROM)502 or a computer program loaded from a storage unit 508 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data required for the operation of the device 500 can also be stored. The calculation unit 501, the ROM502, and the RAM503 are connected to each other by a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
A number of components in the device 500 are connected to the I/O interface 505, including: an input unit 506 such as a keyboard, a mouse, or the like; an output unit 507 such as various types of displays, speakers, and the like; a storage unit 508, such as a magnetic disk, optical disk, or the like; and a communication unit 509 such as a network card, modem, wireless communication transceiver, and the like. The communication unit 509 allows the device 500 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
The computing unit 501 may be a variety of general-purpose and/or special-purpose processing components having processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The computing unit 501 executes the respective methods and processes described above, such as the resource management method. For example, in some embodiments, the resource management method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 508. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 500 via the ROM502 and/or the communication unit 509. When the computer program is loaded into the RAM503 and executed by the computing unit 501, one or more steps of the resource management method described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the resource management method by any other suitable method (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more editing languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), the internet, and blockchain networks.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The Server can be a cloud Server, also called a cloud computing Server or a cloud host, and is a host product in a cloud computing service system, so as to solve the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service ("Virtual Private Server", or simply "VPS"). The server may also be a server of a distributed system, or a server incorporating a blockchain.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, and the present invention is not limited thereto as long as the desired results of the technical solutions disclosed in the present application can be achieved.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (17)

1. A resource management method is applied to a mobile terminal and comprises the following steps:
identifying a target storage resource applied by an application program aiming at the idle storage resource of the mobile terminal;
configuring a management interface for the target storage resource;
receiving a management operation for the target storage resource based on the management interface;
in response to the management operation, performing a target process based on the target storage resource.
2. The method of claim 1, wherein the receiving, based on the management interface, a management operation for the target storage resource comprises:
and receiving the management operation input by the mobile terminal aiming at the target storage resource based on the management interface.
3. The method of claim 2, wherein the management operation is a file addition operation, and wherein performing a target process based on the target storage resource in response to the management operation comprises:
in response to the file adding operation, under the condition that a newly added file associated with the file adding operation is a file stored by the mobile terminal, copying the newly added file into the target storage resource; alternatively, the first and second electrodes may be,
and responding to the file adding operation, downloading the added file when the added file associated with the file adding operation is a file stored by network side equipment, and storing the downloaded added file into the target storage resource.
4. The method of claim 1, wherein the receiving, based on the management interface, a management operation for the target storage resource comprises:
receiving a management operation sent by a first target device aiming at an access page corresponding to a webpage service page address based on the management interface;
the webpage service page address is a page address which is generated by the mobile terminal based on the access address of the target storage resource and is sent to the first target device, and the first target device and the mobile terminal are connected with the same local area network.
5. The method of claim 4, wherein the management operation is a file addition operation, and wherein performing a target process based on the target storage resource in response to the management operation comprises:
and responding to the file adding operation, receiving the added file sent by the first target equipment through the local area network under the condition that the added file corresponding to the file adding operation is the file stored by the first target equipment, and storing the received added file into the target storage resource.
6. The method of claim 1, wherein the management operation is a file sharing operation, and wherein performing the target processing based on the target storage resource in response to the management operation comprises:
responding to the file sharing operation, generating a downloading address based on the storage address of the sharing file associated with the file sharing operation in the target storage resource, and sending the downloading address to a second target device.
7. The method of claim 6, after the sending the download address to a second target device, the method further comprising:
receiving a file downloading operation sent by the second target device aiming at the downloading address;
and sending the sharing file to the second target equipment through the local area network under the condition that the second target equipment and the mobile terminal are determined to be connected with the same local area network.
8. A resource management device applied to a mobile terminal comprises:
the identification module is used for identifying a target storage resource applied by an application program aiming at the idle storage resource of the mobile terminal;
the configuration module is used for configuring a management interface for the target storage resource;
a first receiving module, configured to receive a management operation for the target storage resource based on the management interface;
and the target processing module is used for responding to the management operation and executing target processing based on the target storage resource.
9. The apparatus of claim 8, wherein the first receiving means comprises:
a first receiving unit, configured to receive, based on the management interface, a management operation input by the mobile terminal for the target storage resource.
10. The apparatus of claim 9, wherein the management operation is a file addition operation, the target processing module comprising:
the copying unit is used for responding to the file adding operation, and copying the added file to the target storage resource under the condition that the added file related to the file adding operation is the file stored by the mobile terminal;
the downloading unit is used for responding to the file adding operation, downloading the added file when the added file associated with the file adding operation is a file stored by network side equipment;
and the first storage unit is used for storing the downloaded newly-added file into the target storage resource.
11. The apparatus of claim 8, wherein the first receiving means comprises:
the second receiving unit is used for receiving the management operation sent by the first target equipment aiming at the access page corresponding to the webpage service page address based on the management interface;
the webpage service page address is a page address which is generated by the mobile terminal based on the access address of the target storage resource and is sent to the first target device, and the first target device and the mobile terminal are connected with the same local area network.
12. The apparatus of claim 11, wherein the management operation is a file addition operation, the target processing module comprising:
a third receiving unit, configured to receive, in response to the file addition operation, a new file sent by the first target device through the local area network when the new file corresponding to the file addition operation is a file stored in the first target device;
and the second storage unit is used for storing the received newly-added file into the target storage resource.
13. The apparatus of claim 8, wherein the management operation is a file sharing operation, the target processing module comprising:
the generating unit is used for responding to the file sharing operation and generating a downloading address based on a storage address of a sharing file associated with the file sharing operation in the target storage resource;
and the address sending unit is used for sending the download address to the second target equipment.
14. The apparatus of claim 13, the apparatus further comprising:
the second receiving module is used for receiving the file downloading operation sent by the second target equipment aiming at the downloading address;
and the file sending module is used for sending the shared file to the second target equipment through the local area network under the condition that the second target equipment and the mobile terminal are determined to be connected with the same local area network.
15. A mobile terminal, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of any one of claims 1-7.
16. A non-transitory computer readable storage medium having stored thereon computer instructions for causing the computer to perform the method of any one of claims 1-7.
17. A computer program product comprising a computer program which, when executed by a processor, implements the method according to any one of claims 1-7.
CN202110313981.5A 2021-03-24 2021-03-24 Resource management method and device and mobile terminal Active CN113010457B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110313981.5A CN113010457B (en) 2021-03-24 2021-03-24 Resource management method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110313981.5A CN113010457B (en) 2021-03-24 2021-03-24 Resource management method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN113010457A true CN113010457A (en) 2021-06-22
CN113010457B CN113010457B (en) 2024-07-05

Family

ID=76406188

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110313981.5A Active CN113010457B (en) 2021-03-24 2021-03-24 Resource management method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN113010457B (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1185645A (en) * 1997-09-09 1999-03-30 Hitachi Inf Syst Ltd Free connection resource managing method and recording medium therefor
US20020184372A1 (en) * 2001-05-29 2002-12-05 Matsushita Electric Industrial Co., Ltd. Application managing apparatus
US20050227717A1 (en) * 2002-05-06 2005-10-13 Swisscom Mobile Ag System and method for managing resources of portable module resources
CN101430670A (en) * 2008-12-16 2009-05-13 中国科学院计算技术研究所 I/O equipment reconstruction method and system in virtualization surroundings
CN101833465A (en) * 2010-04-23 2010-09-15 中国科学院声学研究所 Embedded system supporting dynamic loading operation of application programs
CN102193833A (en) * 2010-01-26 2011-09-21 微软公司 Efficient utilization of idle resources in a resource manager
CN102760080A (en) * 2011-04-26 2012-10-31 腾讯科技(深圳)有限公司 Memory management method and device
CN103970668A (en) * 2013-02-01 2014-08-06 腾讯科技(深圳)有限公司 Memory cleaning method and device as well as terminal
CN109388454A (en) * 2018-09-14 2019-02-26 珠海国芯云科技有限公司 Virtual desktop method and system based on container
WO2019061040A1 (en) * 2017-09-26 2019-04-04 华为技术有限公司 File management method and device
CN110209490A (en) * 2018-04-27 2019-09-06 腾讯科技(深圳)有限公司 A kind of EMS memory management process and relevant device
CN110489227A (en) * 2019-07-09 2019-11-22 招联消费金融有限公司 A kind of resource allocation methods, device, computer equipment and storage medium
CN110532086A (en) * 2018-05-23 2019-12-03 阿里巴巴集团控股有限公司 Resource multiplexing method, equipment, system and storage medium
EP3663953A1 (en) * 2018-12-05 2020-06-10 Thales Method and device for access control to a resource shared between software tasks in a predetermined implementation context
CN112001837A (en) * 2020-07-08 2020-11-27 北京博雅慧视智能技术研究院有限公司 CDVS multi-process driving method and device, electronic equipment and storage medium

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1185645A (en) * 1997-09-09 1999-03-30 Hitachi Inf Syst Ltd Free connection resource managing method and recording medium therefor
US20020184372A1 (en) * 2001-05-29 2002-12-05 Matsushita Electric Industrial Co., Ltd. Application managing apparatus
US20050227717A1 (en) * 2002-05-06 2005-10-13 Swisscom Mobile Ag System and method for managing resources of portable module resources
CN101430670A (en) * 2008-12-16 2009-05-13 中国科学院计算技术研究所 I/O equipment reconstruction method and system in virtualization surroundings
CN102193833A (en) * 2010-01-26 2011-09-21 微软公司 Efficient utilization of idle resources in a resource manager
CN101833465A (en) * 2010-04-23 2010-09-15 中国科学院声学研究所 Embedded system supporting dynamic loading operation of application programs
CN102760080A (en) * 2011-04-26 2012-10-31 腾讯科技(深圳)有限公司 Memory management method and device
CN103970668A (en) * 2013-02-01 2014-08-06 腾讯科技(深圳)有限公司 Memory cleaning method and device as well as terminal
US20200218694A1 (en) * 2017-09-26 2020-07-09 Huawei Technologies Co., Ltd. File management method and apparatus
WO2019061040A1 (en) * 2017-09-26 2019-04-04 华为技术有限公司 File management method and device
CN110209490A (en) * 2018-04-27 2019-09-06 腾讯科技(深圳)有限公司 A kind of EMS memory management process and relevant device
CN110532086A (en) * 2018-05-23 2019-12-03 阿里巴巴集团控股有限公司 Resource multiplexing method, equipment, system and storage medium
CN109388454A (en) * 2018-09-14 2019-02-26 珠海国芯云科技有限公司 Virtual desktop method and system based on container
EP3663953A1 (en) * 2018-12-05 2020-06-10 Thales Method and device for access control to a resource shared between software tasks in a predetermined implementation context
CN110489227A (en) * 2019-07-09 2019-11-22 招联消费金融有限公司 A kind of resource allocation methods, device, computer equipment and storage medium
CN112001837A (en) * 2020-07-08 2020-11-27 北京博雅慧视智能技术研究院有限公司 CDVS multi-process driving method and device, electronic equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
孙明朗;: "电力通信资源管理系统的设计方法探讨", CHINA\'S FOREIGN TRADE, no. 14, 23 July 2011 (2011-07-23), pages 493 *
张金, 陈艳军, 陈卓宁: "基于多代理的桌面应用分布式迁移工具", 计算机工程与应用, no. 19, 1 July 2006 (2006-07-01), pages 93 - 95 *

Also Published As

Publication number Publication date
CN113010457B (en) 2024-07-05

Similar Documents

Publication Publication Date Title
JP6515207B2 (en) Internet access authentication method and client, and computer storage medium
CN105094983B (en) Computer, control apparatus, and data processing method
JP6018316B2 (en) Terminal authentication registration system, terminal authentication registration method and program
US9591489B2 (en) Controlling application access to applications and resources via graphical representation and manipulation
US10534631B2 (en) Scalable policy assignment in an edge virtual bridging (EVB) environment
CN107580011B (en) Data sharing method and desktop cloud server
CN105389175A (en) Application program sharing method and mobile terminal
CN104168309A (en) Data backup and operation method based on cloud service
US20210334118A1 (en) Opening local files in remote applications
CN103716400A (en) Method and system for achieving mobile working based on virtual machine
US9720852B2 (en) Universal serial bus (USB) key functioning as multiple USB keys so as to efficiently configure different types of hardware
CN106100971B (en) Information creating, method for sending information and information creating, information transmitting apparatus
CN106411718B (en) Data synchronization method and device based on instant messaging application
CN113010238A (en) Permission determination method, device and system for micro application call interface
CN113010457B (en) Resource management method and device and mobile terminal
US11782881B2 (en) Recommending remotely executed applications for opening files
WO2020068213A1 (en) Flexible unnumbered destination tunnels for virtual networks
JP2021503660A (en) File deduplication in cloud computing storage and communication tools
US20220345517A1 (en) Unified application management for heterogeneous application delivery
CN114611144A (en) Authority control method, device, equipment, medium and program product
WO2019029183A1 (en) Storage device access method, apparatus, storage medium and processor
CN113342449A (en) Data protection method and device
CN109213815B (en) Method, device, server terminal and readable medium for controlling execution times
CN113590184A (en) Configuration processing method, network equipment and storage medium
US10925104B2 (en) Method and device for network connection download

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