CN113835857B - Mounting method, device, equipment and medium of external storage equipment - Google Patents

Mounting method, device, equipment and medium of external storage equipment Download PDF

Info

Publication number
CN113835857B
CN113835857B CN202111098531.5A CN202111098531A CN113835857B CN 113835857 B CN113835857 B CN 113835857B CN 202111098531 A CN202111098531 A CN 202111098531A CN 113835857 B CN113835857 B CN 113835857B
Authority
CN
China
Prior art keywords
user
external storage
mounting
information
storage device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111098531.5A
Other languages
Chinese (zh)
Other versions
CN113835857A (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN202111098531.5A priority Critical patent/CN113835857B/en
Publication of CN113835857A publication Critical patent/CN113835857A/en
Application granted granted Critical
Publication of CN113835857B publication Critical patent/CN113835857B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44594Unloading

Abstract

The application provides a mounting method, a device, equipment and a medium of external storage equipment, if the current user is in a switching process in a life cycle process of user switching, and the current user is bound with the external storage equipment, storage information of intelligent terminal equipment is acquired, information of a mounting user currently bound with the external storage equipment and stored in the storage information is identified, the bound mounting user is updated to be a user to be switched, and the external storage equipment is mounted again. In the application, in the switching process of the life cycle process of user switching, the mounted user currently bound with the external storage device stored in the storage information is updated to the user to be switched, and the external storage device is mounted again, so that the intelligent terminal device does not need to be connected with the external storage device again when the user is switched, and the use experience of the user is improved.

Description

Mounting method, device, equipment and medium of external storage equipment
Technical Field
The present disclosure relates to the field of data processing technologies, and in particular, to a method, an apparatus, a device, and a medium for mounting an external storage device.
Background
Along with development of scientific technology, intelligent terminal equipment using an Android system is used by more users, and accordingly functions of the intelligent terminal equipment are more and more powerful, wherein a multi-user function is an important one in the intelligent terminal equipment, the multi-user function can enable the users to have a plurality of independent spaces, separation and safety of application data are kept, the users can randomly switch user spaces, the application data of each user stored in the intelligent terminal equipment are different, and interaction does not exist between the application data of each user. Meanwhile, the intelligent terminal equipment also supports an external storage device, the external storage device is connected to the intelligent terminal equipment, and a user can transfer data stored in the intelligent terminal equipment to the external storage device through applications such as a file manager.
However, in the system of the intelligent terminal device, the external storage device is mounted together with the user, that is, when the external storage device is connected to the intelligent terminal device, which user the intelligent terminal device is currently controlling, the external storage device is bound with which user, and the external storage device can only be used under the control of the user of the intelligent terminal device. If the intelligent terminal equipment needs to switch users and the switched users need to use the external storage device, the external storage device needs to be accessed again after the user is switched, so that the mounting time of the external storage device is long and the operation is complex.
Disclosure of Invention
The application provides a mounting method, device, equipment and medium of external storage equipment, which are used for solving the problem that in the prior art, when intelligent terminal equipment switches users, the external storage equipment needs to be accessed again.
In a first aspect, the present application provides a mounting method of an external storage device, where the method includes:
if the current switching flow is in the life cycle of user switching and the current user is bound with external storage equipment, acquiring storage information of the intelligent terminal equipment;
identifying the information of the mounted user currently bound with the external storage device, which is stored in the storage information;
and updating the bound mounting user to the user to be switched, and re-mounting the external storage device.
In a second aspect, the present application further provides a mounting apparatus for an external storage device, where the apparatus includes:
the acquisition module is used for acquiring the storage information of the intelligent terminal equipment if the current user is in the switching process in the life cycle of user switching and the current user is bound with the external storage equipment;
the identification module is used for identifying the information of the mounting user currently bound by the external storage equipment stored in the storage information;
and the mounting module is used for updating the bound mounting user to the user to be switched and re-mounting the external storage device.
In a third aspect, the present application further provides a terminal device, where the terminal device at least includes a processor and a memory, where the processor is configured to implement the steps of the method for mounting an external storage device described in any one of the above when executing a computer program stored in the memory.
In a fourth aspect, the present application further provides a computer readable storage medium storing a computer program, where the computer program when executed by a processor implements the steps of any one of the above-mentioned methods for mounting an external storage device.
The application provides a mounting method, a device, equipment and a medium of external storage equipment, if the current user is in a switching process in a life cycle process of user switching, and the current user is bound with the external storage equipment, storage information of intelligent terminal equipment is acquired, information of a mounting user currently bound with the external storage equipment and stored in the storage information is identified, the bound mounting user is updated to be a user to be switched, and the external storage equipment is mounted again. In the application, in the switching process of the life cycle process of user switching, the mounted user currently bound with the external storage device stored in the storage information is updated to the user to be switched, and the external storage device is mounted again, so that the intelligent terminal device does not need to be accessed to the external storage device again when the user is switched, and the use experience of the user is improved.
Drawings
In order to more clearly illustrate the technical solutions of the present application, the drawings that are needed in the description of the embodiments will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a mounting process of an external storage device according to some embodiments of the present application;
fig. 2a is a schematic diagram of storage information of an intelligent terminal device according to some embodiments of the present application;
fig. 2b is a schematic diagram of storage information of an intelligent terminal device according to some embodiments of the present application;
FIG. 3 is a flowchart of mounting an external storage device according to some embodiments of the present disclosure;
fig. 4 is a schematic structural diagram of a mounting device of an external storage device provided in the present application;
fig. 5 is a schematic structural diagram of a terminal device provided in the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the present application more apparent, the present application will be described in further detail below with reference to the accompanying drawings, wherein it is apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In order to realize that the external storage equipment is not required to be accessed again when the intelligent terminal equipment is switched to a user, the application provides a mounting method, a device, equipment and a medium of the external storage equipment.
Example 1:
fig. 1 is a schematic diagram of a mounting process of an external storage device according to some embodiments of the present application, where the process includes the following steps:
s101: and if the current switching process is in the life cycle of user switching and the current user is bound with the external storage equipment, acquiring the storage information of the intelligent terminal equipment.
The external storage device mounting method is applied to intelligent terminal devices, and the intelligent terminal devices use an Android system, have a multi-user switching function and can be connected to the external storage device.
In the application, at least one master user exists in the intelligent terminal equipment with the multi-user function, the master user is a user configured when the intelligent terminal equipment leaves a factory, in addition, other slave users can be added in the intelligent terminal equipment, each user has an independent storage space on the intelligent terminal equipment, and application data corresponding to each user has no interaction. When registering a new USER, a USER creation instruction is sent to an activity management service (Activity Manager Service, AMS) based on a display interface of an intelligent terminal device, after receiving the USER creation instruction, the intelligent terminal device generates a USER ID (USER ID) corresponding to the new USER, constructs USER information (USER info) corresponding to the new USER, distributes a file system for the new USER, encrypts the file system of the new USER by using a vold process, creates a directory usable by the new USER, such as data/system/USERs/$ { USER }, data/media/USERs/$ { USER }, data/mis/USERs/$ { USER }, and data/USERs/$ { USER }, finally, performs authority authorization on each application in the intelligent terminal device, sends a broadcast carrying USER information corresponding to the new USER to each application in the intelligent terminal device, such as "action_user_add", and the new USER is considered to be completed after each application is created.
Since the master user is still in a standby state even though the current user is not the master user in the intelligent terminal device, but if the current user is not the slave user, the slave user is in a stop state, when the intelligent terminal device is performing user switching, the life cycle of user switching is different because the current user of the intelligent terminal device is different. Specifically, if the slave user is switched from the master user to the slave user, the life cycle of the user switching is as follows: starting a flow, and starting a slave user; a switching flow, switching the current user to a slave user; unlocking the procedure, namely unlocking the slave user. If the slave user is switched to the master user, the life flow of the user switching is as follows: a switching flow, which is to switch the current user to a main user; stopping the flow, and terminating the work of the slave user; and a clearing flow for clearing the record from the user.
The intelligent terminal equipment comprises a switching flow in the life cycle of user switching to be executed, and the automatic mounting function of the external storage equipment is not influenced by the current user in order to realize that the automatic mounting method is implemented in the life cycle of user switching.
If the intelligent terminal equipment identifies the switching flow currently in the life cycle of user switching and the external storage equipment is bound to the current user, the storage information of the intelligent terminal equipment is acquired. The acquired storage information of the intelligent terminal equipment comprises storage information of an external storage device. Specifically, if the intelligent terminal device identifies a switching flow currently in a life cycle of user switching and the current user is bound with an external storage device, storage information of the intelligent terminal device stored in the storage management service is acquired from the storage management service (Storage Manager Service) of the intelligent terminal device.
S102: and identifying the information of the mounted user currently bound with the external storage device, which is stored in the storage information.
In the application, after the storage information of the intelligent terminal equipment is obtained, the storage information carries the information of the mounting user currently bound by the external storage equipment, so that the information of the mounting user currently bound by the external storage equipment can be searched in the storage information, and the subsequent operation is performed according to the searched information of the mounting user currently bound, so that the external storage equipment is not required to be accessed again when the intelligent terminal equipment is switched to the user, and the automatic mounting of the external storage equipment is realized.
S103: and updating the bound mounting user to the user to be switched, and re-mounting the external storage device.
The external storage device is currently bound with the mounting user, and the external storage device can be used only when the current user of the intelligent terminal device is the mounting user, so that in the application, the identified mounting user currently bound with the external storage device is the current user of the intelligent terminal device, and when the user is switched, the external storage device can still be used by the intelligent terminal device after the user is switched, and the mounting user bound with the external storage device needs to be switched to the user to be switched.
Specifically, in the application, after the information of the mounting user currently bound to the external storage device is identified, the mounting user currently bound to the external storage device is updated to the user to be switched, that is, the ID of the mounting user carried in the information of the mounting user is updated to the ID of the user to be switched. After updating the current bound mounting user of the external storage device to the user to be switched, the intelligent terminal device re-mounts the external storage device.
The application provides an external storage device mounting method, if the external storage device is currently bound to a current user in a switching process of a life cycle process switched by the user, storage information of an intelligent terminal device is acquired, information of the current bound mounting user of the external storage device stored in the storage information is identified, the bound mounting user is updated to be the user to be switched, and the external storage device is mounted again. In the application, in the switching process of the life cycle process of user switching, the mounted user currently bound with the external storage device is updated to the user to be switched, and the external storage device is mounted again, so that the intelligent terminal device does not need to be accessed again when the user is switched, and the use experience of the user is improved.
Example 2:
in order to obtain information of a mounting user currently bound to an external storage device, based on the above embodiment, in this application, the identifying information of the mounting user currently bound to the external storage device stored in the storage information includes:
identifying target storage information corresponding to external storage equipment identified by the identification information in the storage information according to the identification information corresponding to the preset external storage equipment;
and identifying the information of the mounted user currently bound with the external storage device, which is stored in the target storage information.
Because the intelligent terminal equipment has the accessed external storage equipment, at least two storage information of the intelligent terminal equipment are provided, one storage information is the storage information of the external storage equipment, and the other storage information is the storage information of the internal storage of the intelligent terminal equipment, wherein each storage information carries the identification information, equipment type, storage address, the identification information of the mounted user, the current state and the like of the internal storage or the external storage equipment corresponding to the storage information.
Therefore, in the application, after the storage information of the intelligent terminal device is acquired, the target storage information corresponding to the identification information of the external storage device in the acquired storage information can be identified according to the preset identification information corresponding to the external storage device, and then the information of the mounting user currently bound with the external storage device is identified from the identification information of the mounting user carried in the target storage information.
Example 3:
in order to achieve automatic mounting of the external storage device, based on the above embodiments, in this application, before updating the bound mounted user to the user to be switched, the method further includes:
identifying the current state of the external storage device stored in the target storage information;
if the user is in the unloading state, executing the following step of updating the bound mounting user to the user to be switched;
and if the current state is the mounting state, switching the current state into the unloading state, and executing the subsequent step of updating the bound mounting user into the user to be switched.
In order to avoid updating the mounted user bound by the external storage device and avoiding data transmission failure when the intelligent terminal device and the external storage device perform data transmission, in the application, before updating the mounted user bound by the external storage device to a user to be switched, the external storage device needs to be unloaded, so that the data transmission between the external storage device and the intelligent terminal device is suspended.
Specifically, before updating the mounted user bound to the external storage device to the user to be switched, the current state of the external storage device stored in the target storage information corresponding to the external storage device is identified, if the current state of the external storage device is an unloading state, the operation of updating the mounted user bound to the external storage device to the user to be switched is executed, if the current state of the external storage device is the mounting state, the current state is switched to the unloading state, and then the operation of updating the mounted user bound to the external storage device to the user to be switched is executed.
Fig. 2a is a schematic diagram of storage information of an intelligent terminal device according to some embodiments of the present application, where, as shown in fig. 2a, the storage information includes storage information of an internal memory of the intelligent terminal device and storage information of an external storage device, and the Volumeinfo { scheduled ] in fig. 2 a; 0 represents the storage information of the built-in memory, wherein 0 is the identification information of the built-in memory, the current bound mounting user of the built-in memory is user 0, and the current state is the mounting state; volumeInfo { public;179 And 33 is the storage information of the external storage device, wherein 179, 33 is the identification information of the external storage device, and the current mounted user of the external storage device is user 0, and the current state is the mounted state.
Fig. 2b is a schematic diagram of storage information of an intelligent terminal device according to some embodiments of the present application, as shown in fig. 2a, where the storage information includes storage information of an internal memory of the intelligent terminal device and storage information of an external storage device, and the Volumeinfo { scheduled } in fig. 2 a; 10} represents the storage information of the built-in memory, wherein 10 is the identification information of the built-in memory, the mounted user currently bound with the built-in memory is user 10, and the current state is the mounted state; volumeInfo { public;179 And 33} represents the storage information of the external storage device, wherein 179, 33 is the identification information of the external storage device, and the mounted user currently bound by the external storage device is user 10, and the current state is the mounted state, i.e. the intelligent terminal device has updated the mounted user bound by the external storage device to the user to be switched.
Example 4:
in order to prompt that the external storage device is successfully mounted automatically, on the basis of the above embodiments, in the present application, the method further includes:
and displaying response information of successful mounting of the external storage device.
In the application, in order to prompt that the external storage device is successfully mounted automatically, after updating the bound mounted user to the user to be switched and re-mounting the external storage device, the intelligent terminal device displays response information of the successful mounting of the external storage device on the display interface.
Fig. 3 is a flow chart of mounting an external storage device according to some embodiments of the present application, where the process includes:
s301: and if the current switching process is in the life cycle of user switching and the current user is bound with the external storage equipment, acquiring the storage information of the intelligent terminal equipment.
S302: and identifying target storage information corresponding to the external storage equipment identified by the identification information in the storage information according to the preset identification information corresponding to the external storage equipment.
S303: and identifying the information of the mounted user currently bound by the external storage device stored in the target storage information.
S304: updating the bound mounting user to the user to be switched, and re-mounting the external storage device.
Example 5:
fig. 4 is a schematic structural diagram of a mounting device of an external storage device provided in the present application, as shown in fig. 4, the device includes:
the obtaining module 401 is configured to obtain storage information of the intelligent terminal device if the current user is in a switching process in a life cycle of user switching and the current user is bound with an external storage device;
the identifying module 402 is configured to identify information of a mounted user currently bound to the external storage device stored in the storage information;
and the mounting module 403 is configured to update the bound mounting user to the user to be switched, and re-mount the external storage device.
In a possible implementation manner, the identifying module 402 is specifically configured to identify, according to preset identification information corresponding to the external storage device, target storage information corresponding to the external storage device identified by the identification information in the storage information; and identifying the information of the mounted user currently bound with the external storage device, which is stored in the target storage information.
In a possible implementation manner, the identifying module 402 is further configured to identify a current state of the external storage device stored in the target storage information; if the user is in the unloading state, executing the following step of updating the bound mounting user to the user to be switched; and if the current state is the mounting state, switching the current state into the unloading state, and executing the subsequent step of updating the bound mounting user into the user to be switched.
In one possible embodiment, the apparatus further comprises:
and the display module 404 is configured to display response information that the external storage device is successfully mounted.
Example 6:
fig. 5 is a schematic structural diagram of a terminal device provided in the present application, and on the basis of the foregoing embodiments, the present application further provides a terminal device, as shown in fig. 5, including: the device comprises a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502 and the memory 503 are in communication with each other through the communication bus 504;
the memory 503 has stored therein a computer program which, when executed by the processor 501, causes the processor 501 to perform the steps of:
if the current switching flow is in the life cycle of user switching and the current user is bound with external storage equipment, acquiring storage information of the intelligent terminal equipment;
identifying the information of the mounted user currently bound with the external storage device, which is stored in the storage information;
and updating the bound mounting user to the user to be switched, and re-mounting the external storage device.
In one possible implementation manner, the information for identifying the mounted user currently bound to the external storage device stored in the storage information includes:
identifying target storage information corresponding to external storage equipment identified by the identification information in the storage information according to the identification information corresponding to the preset external storage equipment;
and identifying the information of the mounted user currently bound with the external storage device, which is stored in the target storage information.
In a possible implementation manner, before the updating the bound mounted user to the user to be switched, the method further includes:
identifying the current state of the external storage device stored in the target storage information;
if the user is in the unloading state, executing the following step of updating the bound mounting user to the user to be switched;
and if the current state is the mounting state, switching the current state into the unloading state, and executing the subsequent step of updating the bound mounting user into the user to be switched.
In one possible embodiment, the method further comprises:
and displaying response information of successful mounting of the external storage device.
Since the principle of solving the problem of the terminal device is similar to that of the mounting method of the external storage device, the implementation of the terminal device can be referred to the above embodiment, and the repetition is omitted.
The communication bus mentioned by the above-mentioned terminal device may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, or the like. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus. The communication interface 502 is used for communication between the terminal device and other devices. The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor. The processor may be a general-purpose processor, including a central processing unit, a network processor (Network Processor, NP), etc.; but also digital instruction processors (Digital Signal Processing, DSP), application specific integrated circuits, field programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
Example 7:
on the basis of the above embodiments, the present application further provides a computer readable storage medium having stored therein a computer program executable by a processor, which when run on the processor, causes the processor to perform the steps of:
if the current switching flow is in the life cycle of user switching and the current user is bound with external storage equipment, acquiring storage information of the intelligent terminal equipment;
identifying the information of the mounted user currently bound with the external storage device, which is stored in the storage information;
and updating the bound mounting user to the user to be switched, and re-mounting the external storage device.
In one possible implementation manner, the information for identifying the mounted user currently bound to the external storage device stored in the storage information includes:
identifying target storage information corresponding to external storage equipment identified by the identification information in the storage information according to the identification information corresponding to the preset external storage equipment;
and identifying the information of the mounted user currently bound with the external storage device, which is stored in the target storage information.
In a possible implementation manner, before the updating the bound mounted user to the user to be switched, the method further includes:
identifying the current state of the external storage device stored in the target storage information;
if the user is in the unloading state, executing the following step of updating the bound mounting user to the user to be switched;
and if the current state is the mounting state, switching the current state into the unloading state, and executing the subsequent step of updating the bound mounting user into the user to be switched.
In one possible embodiment, the method further comprises:
and displaying response information of successful mounting of the external storage device.
Since the principle of solving the problem of the provided computer readable medium is similar to that of the mounting method of the external storage device, after the processor executes the computer program in the computer readable medium, the implementation steps can be referred to the above embodiment, and the repetition is omitted.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (8)

1. A method for mounting an external storage device, the method comprising:
if the current switching flow is in the life cycle of user switching and the current user is bound with external storage equipment, acquiring storage information of the intelligent terminal equipment;
identifying the information of the mounted user currently bound with the external storage device, which is stored in the storage information;
updating the bound mounting user to a user to be switched, and re-mounting the external storage device;
the identifying the information of the mounted user currently bound by the external storage device stored in the storage information comprises the following steps:
identifying target storage information corresponding to external storage equipment identified by the identification information in the storage information according to the identification information corresponding to the preset external storage equipment;
and identifying the information of the mounted user currently bound with the external storage device, which is stored in the target storage information.
2. The method of claim 1, wherein before updating the bound mounted user to the user to be switched, the method further comprises:
identifying the current state of the external storage device stored in the target storage information;
if the user is in the unloading state, executing the following step of updating the bound mounting user to the user to be switched;
and if the current state is the mounting state, switching the current state into the unloading state, and executing the subsequent step of updating the bound mounting user into the user to be switched.
3. The method according to claim 1, wherein the method further comprises:
and displaying response information of successful mounting of the external storage device.
4. A mounting apparatus for an external storage device, the apparatus comprising:
the acquisition module is used for acquiring the storage information of the intelligent terminal equipment if the current user is in the switching process in the life cycle of user switching and the current user is bound with the external storage equipment;
the identification module is used for identifying the information of the mounting user currently bound by the external storage equipment stored in the storage information;
the mounting module is used for updating the bound mounting user to the user to be switched and re-mounting the external storage device;
the identification module is specifically configured to identify target storage information corresponding to an external storage device identified by the identification information in the storage information according to preset identification information corresponding to the external storage device; and identifying the information of the mounted user currently bound with the external storage device, which is stored in the target storage information.
5. The apparatus of claim 4, wherein the identification module is further configured to identify a current state of the external storage device stored in the target storage information; if the user is in the unloading state, executing the following step of updating the bound mounting user to the user to be switched; and if the current state is the mounting state, switching the current state into the unloading state, and executing the subsequent step of updating the bound mounting user into the user to be switched.
6. The apparatus of claim 4, wherein the apparatus further comprises:
and the display module is used for displaying response information of successful mounting of the external storage equipment.
7. A terminal device, characterized in that it comprises at least a processor and a memory, the processor being adapted to implement the steps of the mounting method of the external storage device according to any of claims 1-3 when executing a computer program stored in the memory.
8. A computer readable storage medium, characterized in that it stores a computer program which, when executed by a processor, implements the steps of the method of mounting an external storage device according to any of claims 1-3.
CN202111098531.5A 2021-09-18 2021-09-18 Mounting method, device, equipment and medium of external storage equipment Active CN113835857B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111098531.5A CN113835857B (en) 2021-09-18 2021-09-18 Mounting method, device, equipment and medium of external storage equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111098531.5A CN113835857B (en) 2021-09-18 2021-09-18 Mounting method, device, equipment and medium of external storage equipment

Publications (2)

Publication Number Publication Date
CN113835857A CN113835857A (en) 2021-12-24
CN113835857B true CN113835857B (en) 2024-04-02

Family

ID=78959935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111098531.5A Active CN113835857B (en) 2021-09-18 2021-09-18 Mounting method, device, equipment and medium of external storage equipment

Country Status (1)

Country Link
CN (1) CN113835857B (en)

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7120785B1 (en) * 2002-11-25 2006-10-10 Apple Computer, Inc. Method and apparatus rendering user accounts portable
TW201108116A (en) * 2009-08-31 2011-03-01 Phison Electronics Corp Method and system for executing applicaton programs, storage medium controller and stotage device
CN104090822A (en) * 2014-07-11 2014-10-08 Tcl通讯(宁波)有限公司 Method and system for switching external storage devices under Android system
CN104091102A (en) * 2014-05-23 2014-10-08 中兴通讯股份有限公司 Android system based multi-user management method and device
WO2015058548A1 (en) * 2013-10-22 2015-04-30 中兴通讯股份有限公司 Method and device for processing a plurality of users of terminal, terminal and storage medium
CN106126438A (en) * 2016-06-06 2016-11-16 北京珠穆朗玛移动通信有限公司 Data sharing method between dual user system and mobile terminal
WO2017008348A1 (en) * 2015-07-15 2017-01-19 宇龙计算机通信科技(深圳)有限公司 Data card switching control method and apparatus, and terminal device
CN106446723A (en) * 2016-09-21 2017-02-22 电子科技大学 Android mobile terminal data isolation method
CN108549821A (en) * 2018-04-02 2018-09-18 北京云知声信息技术有限公司 Data permission management method and system
CN109086079A (en) * 2018-06-11 2018-12-25 青岛海信移动通信技术股份有限公司 A kind of storage equipment carry management method and device
CN109213447A (en) * 2018-08-23 2019-01-15 郑州云海信息技术有限公司 A kind of SAN storage volume carry, discharging method and system
CN109344598A (en) * 2018-09-29 2019-02-15 北京东土科技股份有限公司 The binding of equipment room and authority control method, device, equipment and storage medium
CN111988409A (en) * 2020-08-20 2020-11-24 深圳市瑞驰信息技术有限公司 Method and system for realizing external storage starting of cloud mobile phone mounting

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100194579A1 (en) * 2009-02-02 2010-08-05 Dong-A University Industry-University Cooperation Foundation Container security device, container security system, and security management method

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7120785B1 (en) * 2002-11-25 2006-10-10 Apple Computer, Inc. Method and apparatus rendering user accounts portable
TW201108116A (en) * 2009-08-31 2011-03-01 Phison Electronics Corp Method and system for executing applicaton programs, storage medium controller and stotage device
WO2015058548A1 (en) * 2013-10-22 2015-04-30 中兴通讯股份有限公司 Method and device for processing a plurality of users of terminal, terminal and storage medium
CN104091102A (en) * 2014-05-23 2014-10-08 中兴通讯股份有限公司 Android system based multi-user management method and device
CN104090822A (en) * 2014-07-11 2014-10-08 Tcl通讯(宁波)有限公司 Method and system for switching external storage devices under Android system
WO2017008348A1 (en) * 2015-07-15 2017-01-19 宇龙计算机通信科技(深圳)有限公司 Data card switching control method and apparatus, and terminal device
CN106126438A (en) * 2016-06-06 2016-11-16 北京珠穆朗玛移动通信有限公司 Data sharing method between dual user system and mobile terminal
CN106446723A (en) * 2016-09-21 2017-02-22 电子科技大学 Android mobile terminal data isolation method
CN108549821A (en) * 2018-04-02 2018-09-18 北京云知声信息技术有限公司 Data permission management method and system
CN109086079A (en) * 2018-06-11 2018-12-25 青岛海信移动通信技术股份有限公司 A kind of storage equipment carry management method and device
CN109213447A (en) * 2018-08-23 2019-01-15 郑州云海信息技术有限公司 A kind of SAN storage volume carry, discharging method and system
CN109344598A (en) * 2018-09-29 2019-02-15 北京东土科技股份有限公司 The binding of equipment room and authority control method, device, equipment and storage medium
CN111988409A (en) * 2020-08-20 2020-11-24 深圳市瑞驰信息技术有限公司 Method and system for realizing external storage starting of cloud mobile phone mounting

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
wentao.修改容器用户UID和GID.《wentao's blog》.2021,第1-3页. *

Also Published As

Publication number Publication date
CN113835857A (en) 2021-12-24

Similar Documents

Publication Publication Date Title
CN107133086B (en) Task processing method, device and system based on distributed system
CN104915224B (en) A kind of processing method and processing device of affiliate application
CN109656725B (en) Message consumer switching method and device, storage medium and electronic equipment
CN104809009B (en) A kind of program bootload method of automobile electronic control unit
CN110225078B (en) Application service updating method, system and terminal equipment
CN111813601B (en) Micro-service rollback method and device for stateful distributed cluster
CN110289965B (en) Application program service management method and device
CN109618315A (en) A kind of control method of lighting apparatus, device, storage medium and intelligent terminal
CN113467884A (en) Resource allocation method and device, electronic equipment and computer readable storage medium
CN106603125B (en) Method and device for data interaction with Bluetooth equipment
CN111078238A (en) Centralized processing method and device for application configuration in container environment
CN105912369A (en) System upgrading method and device
CN113835857B (en) Mounting method, device, equipment and medium of external storage equipment
CN108536541B (en) Process engine object processing method and device
CN112199272A (en) Intelligent terminal testing method and device, terminal equipment and medium
CN1327656C (en) Method for updating system apparatus
JP2020024758A (en) Maintenance element capable of being restored to factory state
CN112579369A (en) Multithreading flashing system, method, device, equipment and storage medium
CN115277398A (en) Cluster network configuration method and device
CN111930626B (en) Automatic testing method and device based on PaaS cloud service
CN115442233A (en) ECU upgrading method and device, electronic equipment, storage medium and vehicle
CN101971562B (en) Method, device and system for controlling automatic running process performance
CN114721801A (en) Dynamic scheduling method and device for batch task execution time
CN114077473A (en) Communication method, device and system
CN107872786B (en) Control method and smart card

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Applicant after: Qingdao Hisense Mobile Communication Technology Co.,Ltd.

Address before: 266071 Shandong city of Qingdao province Jiangxi City Road No. 11

Applicant before: HISENSE MOBILE COMMUNICATIONS TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant