[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106202109A - A kind of method and apparatus creating user partition - Google Patents

A kind of method and apparatus creating user partition Download PDF

Info

Publication number
CN106202109A
CN106202109A CN201510227629.4A CN201510227629A CN106202109A CN 106202109 A CN106202109 A CN 106202109A CN 201510227629 A CN201510227629 A CN 201510227629A CN 106202109 A CN106202109 A CN 106202109A
Authority
CN
China
Prior art keywords
user
user partition
partition
storage area
data
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.)
Pending
Application number
CN201510227629.4A
Other languages
Chinese (zh)
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.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201510227629.4A priority Critical patent/CN106202109A/en
Publication of CN106202109A publication Critical patent/CN106202109A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention provides a kind of method and apparatus creating user partition, wherein method includes: user partition initializes compressed file and carries out decompression and obtain user partition data, and the user partition data that will obtain send into user partition memory block;If receiving the registration request of user, then from described user partition memory block, obtain user partition data the user partition of mobile the most described user distribution.The process that user partition creates is independently executed by the present invention on backstage, in user's register flow path, directly uses and creates complete user partition, thus shorten the time of user registration course, improve Consumer's Experience.

Description

Method and device for creating user partition
[ technical field ] A method for producing a semiconductor device
The present invention relates to the field of computer application technologies, and in particular, to a method and an apparatus for creating a user partition.
[ background of the invention ]
When a user logs in and requests a service, the service end needs to provide the service to the user by using user data (referred to as user partition data in the invention) related to the service. The space allocated for the user to store the user partition data is called a user partition, and the user partition is a partition which is large in number of small files and large in total amount and is a necessary component for ensuring that the service end normally provides the service. When each user registers, the server needs to create a corresponding user partition for the user.
According to a normal creating process, when a user registers, the server side copies the initialized compressed file of the user partition to the user partition allocated to the user, then carries out decompression operation, and completes the creation of the user partition after the decompression is finished. However, since the user partition is large, the decompression time is often long, which causes the user partition to be created in the user registration process long, and brings a poor experience to the user.
[ summary of the invention ]
In view of the above, the present invention provides a method and an apparatus for creating a user partition, so as to shorten the time of the user registration process.
The specific technical scheme is as follows:
the invention provides a method for creating a user partition, which comprises the following steps:
decompressing the user partition initialization compression file to obtain user partition data, and sending the obtained user partition data into a user partition storage area;
and if a registration request of a user is received, acquiring user partition data from the user partition storage area and moving to a user partition allocated to the user.
According to a preferred embodiment of the present invention, decompressing the user partition initialization compressed file to obtain user partition data, and sending the obtained user partition data to the user partition storage area includes:
and decompressing the user partition initialization compressed file to a temporary processing area, and after decompression is finished, cutting the decompressed user partition data from the temporary processing area to a user partition storage area.
According to an optional embodiment of the present invention, the number of the user partition data in the user partition storage area is determined, and if the number is smaller than a preset number threshold, the step of decompressing the user partition initialization compression file to obtain the user partition data and sending the obtained user partition data to the user partition storage area is continuously performed until the number of the user partition data in the user partition storage area reaches a maximum capacity value; or,
and continuously decompressing the user partition initialization compressed file periodically to obtain user partition data, and sending the obtained user partition data to a user partition storage area.
According to a preferred embodiment of the present invention, before acquiring the user partition data from the user partition storage area and moving to the user partition allocated to the registered user, the method further includes:
judging whether user partition data exist in the user partition storage area, if so, continuing to acquire the user partition data from the user partition storage area and moving the user partition data to a user partition allocated to a registered user; otherwise, directly decompressing the user partition initialization compressed file to the user partition allocated for the registered user.
According to a preferred embodiment of the present invention, determining whether the user partition data exists in the user partition storage area includes:
judging whether a folder exists in a primary folder list under the user partition storage area, and if so, determining that user partition data exists in the user partition storage area; otherwise, determining that the user partition data does not exist in the user partition storage area.
According to a preferred embodiment of the invention, the method further comprises:
if the login request of the user is received, network equipment for providing services is distributed to the user;
and sending the address information of the user partition allocated to the user to the network equipment so that the network equipment provides service for the user by using the user partition allocated to the user.
According to a preferred embodiment of the present invention, the network device providing a service to the user by using the user partition allocated to the user includes:
the network equipment maps the user partition allocated to the user to the local according to the address information of the user partition;
the network device reads data and updates data from the user partition allocated for the user according to the local mapping.
The invention also provides a device for creating the user partition, which comprises:
the partition creating unit is used for decompressing the user partition initialization compression file to obtain user partition data and sending the obtained user partition data into a user partition storage area;
and the registration unit is used for acquiring the user partition data from the user partition storage area and moving the user partition data to the user partition distributed for the user if a registration request of the user is received.
According to a preferred embodiment of the present invention, the partition creating unit specifically includes:
the decompression sub-unit is used for decompressing the user partition initialization compressed file to the temporary processing area;
and the cutting subunit is used for cutting the user partition data obtained by decompression from the temporary processing area to the user partition storage area after the decompression of the user partition initialization compressed file is finished.
According to a preferred embodiment of the invention, the apparatus further comprises: and the storage area maintenance unit is used for judging the number of the user partition data in the user partition storage area, if the number of the user partition data in the user partition storage area is smaller than a preset number threshold, the partition creation unit is triggered to execute the operation of decompressing the user partition initialization compression file to obtain the user partition data, and the obtained user partition data is sent to the user partition storage area until the number of the user partition data in the user partition storage area reaches the maximum capacity value.
According to an optional embodiment of the present invention, the partition creating unit is specifically configured to continuously perform the operation of decompressing the user partition initialization compressed file to obtain user partition data periodically, and sending the obtained user partition data to the user partition storage area.
According to a preferred embodiment of the present invention, the registration unit specifically includes:
the judging subunit is used for judging whether the user partition data exists in the user partition storage area or not if a registration request of a user is received;
the mobile subunit is used for acquiring the user partition data from the user partition storage area and moving the user partition data to a user partition allocated to a registered user when the judgment result of the judging subunit is yes;
and the creating subunit is used for directly decompressing the user partition initialization compressed file to the user partition allocated to the registered user when the judgment result of the judging subunit is negative.
According to a preferred embodiment of the present invention, the determining subunit is specifically configured to determine whether a folder exists in a primary folder list in the user partition storage area, and if so, determine that user partition data exists in the user partition storage area; otherwise, determining that the user partition data does not exist in the user partition storage area.
According to a preferred embodiment of the invention, the apparatus further comprises:
the equipment allocation unit is used for allocating network equipment for providing services to the user if the login request of the user is received;
and the address sending unit is used for sending the address information of the user partition allocated to the user to the network equipment so that the network equipment provides service for the user by using the user partition allocated to the user.
According to the technical scheme, the process of creating the user partition is independently executed in the background, and the created user partition is directly used in the user registration process, so that the time of the user registration process is shortened, and the user experience is improved.
[ description of the drawings ]
FIG. 1 is a flowchart of a method for creating a user partition according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a storage area according to an embodiment of the present invention;
fig. 3 is a flowchart of a method executed when a user logs in a cloud box system according to an embodiment of the present invention;
FIG. 4 is a block diagram of an apparatus according to an embodiment of the present invention;
fig. 5 is an architecture diagram of an application scenario provided in an embodiment of the present invention.
[ detailed description ] embodiments
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in detail with reference to the accompanying drawings and specific embodiments.
The core idea of the present invention is to separate the creation of the user partition from the user registration process, and create the user partition in a "partition pool", that is, the user partition storage area involved in the embodiment of the present invention. When the user registers, the existing user partition data in the user partition storage area is directly moved to the user partition allocated to the user. The present invention will be described in detail with reference to specific examples.
Fig. 1 is a flowchart of a method for creating a user partition according to an embodiment of the present invention, as shown in fig. 1, the method may include the following steps:
in 101, the user partition initialization compressed file is decompressed to a temporary processing area.
Several storage areas are involved in embodiments of the present invention, one of which is the area where the user partition initialization compressed file is stored, as shown in FIG. 2. The user partition initialization compressed file is user partition data in a compressed file form, the user partition data can be obtained after the compressed file is decompressed, the initial user partition data mainly comprises storage directory information of various types of user partition data, and user partition data (such as records of user service use, account information of users, cache files of service use and the like) related to user service can be correspondingly stored in corresponding directories after the user service is provided for users subsequently. All user-initiated user partition data is the same, so the same user partition is used to initialize the compressed file.
There may also be a storage area that is a temporary processing area. The user partition initialization compressed file may be decompressed to a temporary processing area, and after decompression is completed, the decompressed user partition data is (cut) to a user partition storage area. The temporary processing area is used for temporarily storing the user partition data decompressed by the user partition. If the temporary processing area is not available, the user partition initialization compressed file may be directly decompressed to the user partition storage area.
In this step, the purpose of decompressing the user partition initialization compressed file to the temporary processing area is to ensure that the user partition data in the user partition storage area is complete, and the user partition data removed from the user partition storage area is incomplete when the subsequent user is registered.
Assuming that the storage location of the user partition initialization compressed file is:/bak/data. zip and the location of the temporary processing area is:/bak/ing, the user partition initialization compressed file can be decompressed to the temporary processing area by using the following LINUX commands: zip-d/bak/ing/userdata 10211233.
In 102, after the decompression is completed, the decompressed user partition data is moved to the user partition storage area.
The user partition storage area can be regarded as a ready user data partition, and the user partition data in the temporary processing area is moved to the user partition storage area once decompression is completed and waits to be allocated to a user. The partition may be set to a maximum capacity value, and when the user partition data in the user partition storage reaches the maximum capacity value, the user partition data is stopped from being moved to the user partition storage.
Assuming the location of the user partition storage area is:/bak, the following LINUX commands can be used to move (cut) the user partition data in the temporary processing area to the user partition storage area:
mv/bak/ing/userdata10211233/bak/userdata10211233
the steps 101 to 102 are continuously executed in the background, and the continuous execution does not mean that the steps are executed continuously, but is executed for a long time, and a pause or a occasional interruption in time is allowed. For example, execution may continue periodically, with execution for 5 minutes creating approximately 100 user partition data, then pausing for 5 minutes and then executing, and repeating.
In order to avoid a situation that the number of concurrent registered users is large, and when a user partition is created for a user, the user partition data in the user partition storage area is exhausted, a preferred implementation procedure is provided. The number of the user partition data in the user partition storage is judged, and if the number is smaller than a preset number threshold, the steps 101-102 are continuously executed until the number of the user partition data in the user partition storage area reaches a maximum capacity value. The above-mentioned step of judging the number of user partition data in the user partition storage may be performed after each completion of registration of one user.
If a user registers, namely the server receives a registration request of the user, executing 103, judging whether available user partition data exists in a user partition storage area, and if so, executing 104; otherwise 105 is performed.
When judging whether available user partition data exists in the user partition storage area, a primary folder list under the user partition storage area can be obtained firstly, whether a folder exists in the list is judged, if yes, available user partition data exists, and if not, no available user partition data exists.
At 104, user partition data is retrieved from the user partition storage area and moved to the user partition assigned for the user.
In this case, a further memory area is involved, for example the rightmost memory area in fig. 2, which is used for allocation to users as user partitions, from which a user partition is allocated to a registered user when this user is present. And then cutting one user partition data from the user partition storage area to the user partition allocated to the user, and binding the user partition and the user identifier.
Continuing with the above example, in this step, the following LINUX command may be executed to move the user partition data in the user partition storage area to the user partition allocated to the user:
mv/bak/userdata10211231/data/data
in 105, the user partition initialization compressed file is decompressed directly to the user partition allocated for the user.
Continuing with the above example, this step can be implemented by using the following LINUX commands:
unzip/bak/data.zip–d/data/data
and returning a message of successful registration to the user after the user registration is completed.
After the user partition is created, if a login request of the user is received, the following steps may be performed according to the flow shown in fig. 3:
when a login request of a user is received, 301 is executed, and a server allocates a network device for providing service to the user. The network devices may be distributed by the server randomly or in a certain order, and the distribution manner of the network devices is not limited in the present invention.
In 302, the user partition address information of the user is sent to the network device assigned to the user.
In this step, the user partition bound to the user identifier in the user partition storage area may be determined by using the user identifier information, and the address information of the user partition may be sent to the network device.
After the network device assigned to the user establishes a connection with the user, the network device provides services to the user using the user partition assigned to the user in 303.
In this step, the network device may map the user partition allocated to the user to the local of the network device according to the user partition address information, and assuming that the user partition address is 192.168.0.1:// data/a, the network device may map by using the following LINUX command:
mount 192.168.0.1://data/a/data/data
the mapping actually stores the address of the user partition in the local of the network device, so that the network device can read and write data in the storage area where the user partition is located according to the address of the user partition. The network device does not need to store user partition data locally, but reads the data from the storage area where the user partition is located when providing service, and updates the user partition data in the storage area where the user partition is located in real time.
In addition to the above manner, the network device may also read the corresponding user partition data from the user partition storage area according to the address information of the user partition, thereby providing a service to the user. If an update of the user partition data occurs, the updated user partition data may be written to the user partition for the user in the user partition storage area.
The updated user partition data may include records of the user's use of the service (e.g., recent video viewing records, download records, etc.), account information of the user (e.g., updates to passwords, nicknames, etc.), cached files of the use of the service (e.g., cached files of newly installed applications, etc.), and so forth.
And when the network equipment is disconnected with the user, the mapping of the user partition of the user is cancelled.
In the embodiment of the present invention, the storage area where the user partition is located may use a remote NAS disk, instead of the local area of the network device, or may use a local disk of the server. The storage regions as shown in fig. 2 may be located on the same NAS disk.
Fig. 4 is a structural diagram of an apparatus according to an embodiment of the present invention, where the apparatus may be disposed in a server in a cloud box system, and as shown in fig. 4, the apparatus may include: the partition creating unit 00 and the registering unit 10, and may further include a storage area maintaining unit 20, a device allocating unit 30, and an address transmitting unit 40.
The partition creating unit 00 is responsible for creating a user partition, that is, decompressing the user partition initialization compression file to obtain user partition data, and sending the obtained user partition data to the user partition storage area. The creation operation may be performed in the background of the server.
If a registration request of a user is received, the registration unit 10 acquires user partition data from the user partition storage area and moves to a user partition allocated to the user.
Specifically, the partition creating unit 00 may include: a decompression sub-unit 01 and a clipping sub-unit 02. The decompression sub-unit 01 decompresses the user partition initialization compressed file into the temporary processing area. After the user partition initialization compressed file is completely decompressed, the cutting subunit 02 cuts the user partition data obtained by decompression from the temporary processing area to the user partition storage area.
The purpose of decompressing the user partition initialization compressed file to the temporary processing area is to ensure that the user partition data in the user partition storage area is complete, and the user partition data removed from the user partition storage area is incomplete when a subsequent user is registered.
The creation of the user partition is a process that is continuously executed in the background, for example, the partition creating unit 00 periodically and continuously executes an operation of decompressing the user partition initialization compressed file to obtain user partition data, and sending the obtained user partition data to the user partition storage area.
In order to avoid the situation that the number of concurrent registered users is large, and when the user partition is created for the user, the user partition data in the user partition storage area is exhausted, a preferred embodiment is provided. The storage area maintaining unit 20 determines the number of the user partition data in the user partition storage area, and if the number is smaller than a preset number threshold, triggers the partition creating unit 00 to perform an operation of decompressing the user partition initialization compression file to obtain the user partition data, and sending the obtained user partition data to the user partition storage area until the number of the user partition data in the user partition storage area reaches a maximum capacity value. Therefore, the number of the available user partition data in the user partition storage area can be maintained as much as possible, and the user partition data in the user partition storage area is ensured to be available when the user registers.
Specifically, the registration unit 10 may include: a judgment subunit 11, a movement subunit 12, and a creation subunit 13.
If the server receives a registration request of a user, the judgment subunit 11 judges whether user partition data exists in the user partition storage area. When the judgment result of the judging subunit is yes, the moving subunit 12 acquires the user partition data from the user partition storage area and moves the user partition data to the user partition allocated to the registered user, that is, the user partition already created may be directly used in the registration process. When the judgment result of the judging subunit is negative, the creating subunit 13 decompresses the user partition initialization compressed file directly to the user partition allocated for the registered user.
Specifically, the determining subunit 11 may determine whether there is a folder in the primary folder list under the user partition storage area, and if so, determine that there is user partition data in the user partition storage area; otherwise, determining that the user partition data does not exist in the user partition storage area.
Subsequently, if a login request of the user is received, the device allocation unit 30 allocates a network device providing a service to the user. The network devices may be distributed randomly or in a certain order, and the distribution manner of the network devices is not limited in the present invention.
Then, the address transmission unit 40 transmits address information of the user partition allocated for the user to the network device. After the network device establishes connection with the login user, the user partition allocated to the user is utilized to provide service for the user, wherein the user partition allocated to the user can be mapped to the local according to the user partition address information.
It should be noted that, in the description of the above embodiments, LINUX commands are taken as an example, and the present invention is not limited to be implemented in LINUX language, and may also be implemented in other languages such as JAVA.
The following provides a preferred application scenario for the present invention: with the continuous popularization of network set top boxes such as a tianmao magic box, a millet box, a Baidu box and the like, a user can watch high-definition movie televisions, play somatosensory games, shop on the internet, pay water, electricity and coal fees and the like on the televisions, man-machine interaction is carried to a living room through a traditional PC and a mobile terminal, and the high-definition interconnection concept of future digital families is achieved.
However, a user wants to enjoy the service through a television, needs to purchase a network set-top box, and interacts with a server through various Applications (APP) installed in the network set-top box to realize the service, and if the user uses a user-side device such as a common set-top box or a smart television with a low configuration, the service cannot be realized. In order to promote own service more widely, network service provider has promoted the notion of cloud box, be about to network set-top box and place in the high in the clouds, a plurality of cloud boxes constitute cloud box system, all kinds of APP that the user needs to install are installed in the cloud box, and needn't direct mount in customer premises equipment, interact with the server of all kinds of APP by the cloud box, obtain APP service content, with APP's display form and display content with the form propelling movement of dataflow to customer premises equipment, the control signal who comes from customer premises equipment sends the server by the cloud box, so customer premises equipment is when configuring lower ordinary STB or intelligent TV, also can enjoy abundant service content.
After different user end devices are connected with the cloud box system at any time, the system can automatically allocate one cloud box to provide services for users. When the cloud box provides services for the user, the cloud box needs to partition data according to the user, such as a viewing record of the user, user account information, an application record installed by the user, a cache file of an application installed by the user, and the like.
In this application scenario, the user partition is created in the manner and apparatus shown in the above embodiments, assuming that the user partition is created and stored in a remote NAS disk. As shown in fig. 5, after a user logs in the cloud box system, the cloud box allocated to the user receives user partition address information of the user, that is, user partition address information of the user on the remote NAS disk, and then the cloud box maps the user partition allocated to the user to the local cloud box according to the address information. When the cloud box provides services for users, data can be read from the user partition on the remote NAS disk in real time and updated in real time.
Therefore, when a user logs in, one cloud box is allocated to provide service for the user, the cloud box maps remote user partitions to the local, user partition data such as previous viewing records of the user and cache files of applications installed by the user can be used by the cloud box, and user experience is good. The mode of multiplexing the cloud boxes also saves the cloud box resources to a great extent, and even if a user logs in different cloud boxes, the user experience can be consistent.
It should be noted that the present invention is not limited to the above application scenarios, and can also be used in other scenarios that provide services using user partitions.
It can be seen from the above description that the creation of the user partition in the present invention is performed in the background, independent of the user registration process, and the user directly uses the created user partition during registration, which obviously shortens the time of the user registration process and improves the user experience. Through practical tests, the registration time of the user can be shortened to 60ms from the original 9s, and the effect is very obvious.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
The integrated unit implemented in the form of a software functional unit may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium and includes several instructions to enable a computer device (which may be a personal computer, a server, or a network device) or a processor (processor) to execute some steps of the methods according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (14)

1. A method of creating a user partition, the method comprising:
decompressing the user partition initialization compression file to obtain user partition data, and sending the obtained user partition data into a user partition storage area;
and if a registration request of a user is received, acquiring user partition data from the user partition storage area and moving to a user partition allocated to the user.
2. The method of claim 1, wherein decompressing the user partition initialization compressed file to obtain user partition data, and sending the obtained user partition data to the user partition storage area comprises:
and decompressing the user partition initialization compressed file to a temporary processing area, and after decompression is finished, cutting the decompressed user partition data from the temporary processing area to a user partition storage area.
3. The method according to claim 1, wherein the number of the user partition data in the user partition storage area is determined, and if the number is smaller than a preset number threshold, the steps of decompressing the user partition initialization compression file to obtain the user partition data and sending the obtained user partition data to the user partition storage area are continuously executed until the number of the user partition data in the user partition storage area reaches a maximum capacity value; or,
and continuously decompressing the user partition initialization compressed file periodically to obtain user partition data, and sending the obtained user partition data to a user partition storage area.
4. The method of claim 1, further comprising, before retrieving user partition data from the user partition storage area and moving to a user partition allocated for registered users:
judging whether user partition data exist in the user partition storage area, if so, continuing to acquire the user partition data from the user partition storage area and moving the user partition data to a user partition allocated to a registered user; otherwise, directly decompressing the user partition initialization compressed file to the user partition allocated for the registered user.
5. The method of claim 4, wherein determining whether user partition data exists in the user partition storage area comprises:
judging whether a folder exists in a primary folder list under the user partition storage area, and if so, determining that user partition data exists in the user partition storage area; otherwise, determining that the user partition data does not exist in the user partition storage area.
6. The method of any one of claims 1 to 5, further comprising:
if the login request of the user is received, network equipment for providing services is distributed to the user;
and sending the address information of the user partition allocated to the user to the network equipment so that the network equipment provides service for the user by using the user partition allocated to the user.
7. The method of claim 6, wherein the network device servicing the user using the user partition assigned to the user comprises:
the network equipment maps the user partition allocated to the user to the local according to the address information of the user partition;
the network device reads data and updates data from the user partition allocated for the user according to the local mapping.
8. An apparatus for creating a user partition, the apparatus comprising:
the partition creating unit is used for decompressing the user partition initialization compression file to obtain user partition data and sending the obtained user partition data into a user partition storage area;
and the registration unit is used for acquiring the user partition data from the user partition storage area and moving the user partition data to the user partition distributed for the user if a registration request of the user is received.
9. The apparatus according to claim 8, wherein the partition creating unit specifically includes:
the decompression sub-unit is used for decompressing the user partition initialization compressed file to the temporary processing area;
and the cutting subunit is used for cutting the user partition data obtained by decompression from the temporary processing area to the user partition storage area after the decompression of the user partition initialization compressed file is finished.
10. The apparatus of claim 8, further comprising: and the storage area maintenance unit is used for judging the number of the user partition data in the user partition storage area, if the number of the user partition data in the user partition storage area is smaller than a preset number threshold, the partition creation unit is triggered to execute the operation of decompressing the user partition initialization compression file to obtain the user partition data, and the obtained user partition data is sent to the user partition storage area until the number of the user partition data in the user partition storage area reaches the maximum capacity value.
11. The apparatus according to claim 8, wherein the partition creating unit is specifically configured to continuously perform the operation of decompressing the user partition initialization compression file to obtain the user partition data and sending the obtained user partition data to the user partition storage area periodically.
12. The apparatus according to claim 8, wherein the registration unit specifically includes:
the judging subunit is used for judging whether the user partition data exists in the user partition storage area or not if a registration request of a user is received;
the mobile subunit is used for acquiring the user partition data from the user partition storage area and moving the user partition data to a user partition allocated to a registered user when the judgment result of the judging subunit is yes;
and the creating subunit is used for directly decompressing the user partition initialization compressed file to the user partition allocated to the registered user when the judgment result of the judging subunit is negative.
13. The apparatus according to claim 12, wherein the determining subunit is specifically configured to determine whether there is a folder in a primary folder list under the user-partition storage area, and if so, determine that there is user-partition data in the user-partition storage area; otherwise, determining that the user partition data does not exist in the user partition storage area.
14. The apparatus of any one of claims 8 to 13, further comprising:
the equipment allocation unit is used for allocating network equipment for providing services to the user if the login request of the user is received;
and the address sending unit is used for sending the address information of the user partition allocated to the user to the network equipment so that the network equipment provides service for the user by using the user partition allocated to the user.
CN201510227629.4A 2015-05-07 2015-05-07 A kind of method and apparatus creating user partition Pending CN106202109A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510227629.4A CN106202109A (en) 2015-05-07 2015-05-07 A kind of method and apparatus creating user partition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510227629.4A CN106202109A (en) 2015-05-07 2015-05-07 A kind of method and apparatus creating user partition

Publications (1)

Publication Number Publication Date
CN106202109A true CN106202109A (en) 2016-12-07

Family

ID=57459566

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510227629.4A Pending CN106202109A (en) 2015-05-07 2015-05-07 A kind of method and apparatus creating user partition

Country Status (1)

Country Link
CN (1) CN106202109A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601465A (en) * 2003-08-29 2005-03-30 微软公司 Dynamic registry partitioning
CN101436233A (en) * 2007-11-12 2009-05-20 中国长城计算机深圳股份有限公司 Hard disk multi-user partition switch control method, system and computer terminal
CN103383660A (en) * 2013-04-01 2013-11-06 华为终端有限公司 Method and device for realizing functions of cache partition of Android system as well as terminal equipment
CN104317727A (en) * 2014-09-30 2015-01-28 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and processing method of data partition

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601465A (en) * 2003-08-29 2005-03-30 微软公司 Dynamic registry partitioning
CN101436233A (en) * 2007-11-12 2009-05-20 中国长城计算机深圳股份有限公司 Hard disk multi-user partition switch control method, system and computer terminal
CN103383660A (en) * 2013-04-01 2013-11-06 华为终端有限公司 Method and device for realizing functions of cache partition of Android system as well as terminal equipment
CN104317727A (en) * 2014-09-30 2015-01-28 宇龙计算机通信科技(深圳)有限公司 Mobile terminal and processing method of data partition

Similar Documents

Publication Publication Date Title
CN108521608B (en) Video file processing method and device, terminal and storage medium
US9614931B2 (en) Identifying a resource set require for a requested application and launching the resource set in a container for execution in a host operating system
US20220053068A1 (en) Methods, apparatuses and computer storage media for applet state synchronization
US9302188B2 (en) Apparatus, method and computer readable recording medium for interworking account based on mobile terminal and account based on game
CN106301865B (en) Data processing method and device applied to service providing device
CN107484011B (en) Video resource decoding method and device
CN112073758A (en) Cloud desktop screen projection method and device, computer equipment, computer readable storage medium and cloud desktop screen projection interaction system
EP3136655B1 (en) Multimedia display method, device and equipment
CN110708571A (en) Video clip playing control method and related product
CN112165482A (en) Data processing method, data processing device, computer equipment and medium
CN103702235A (en) Data processing method and system for content delivery network
KR101868386B1 (en) Method for providing application and Display apparatus, and server
US10755707B2 (en) Selectively blacklisting audio to improve digital assistant behavior
CN102902630A (en) Method and device for accessing local file
US9164817B2 (en) Mobile communication terminal to provide widget expansion function using message communication, and operation method of the mobile communication terminal
CN108108294B (en) Method and system for acquiring customized operation data according to reference time
KR101899970B1 (en) Mobile terminal and cloud server for mobile cloud computing environment and method of mobile cloud computing using the same
CN103297516A (en) Multi-type providing method, multi-type providing system and multi-type providing device of applications
CA2878759C (en) Methods and systems for providing software applications
CN106575423B (en) Broadcast link service based on cloud streaming media, broadcast link service client device, and trigger content providing server
CN106202109A (en) A kind of method and apparatus creating user partition
CN105744318A (en) Intelligent terminal based multimedia resource projection implementing method
KR102119832B1 (en) Methods and devices for accelerated execution of applications
CN105847884B (en) Method and device for controlling television user to use television
CN106302617B (en) Data processing method and device applied to computing device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161207