CN111241097A - Method of processing object, apparatus for processing object, and storage medium - Google Patents

Method of processing object, apparatus for processing object, and storage medium Download PDF

Info

Publication number
CN111241097A
CN111241097A CN202010019648.9A CN202010019648A CN111241097A CN 111241097 A CN111241097 A CN 111241097A CN 202010019648 A CN202010019648 A CN 202010019648A CN 111241097 A CN111241097 A CN 111241097A
Authority
CN
China
Prior art keywords
data
storage space
target object
target
storage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010019648.9A
Other languages
Chinese (zh)
Other versions
CN111241097B (en
Inventor
周应超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Pinecone Electronic Co Ltd
Original Assignee
Beijing Pinecone Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Pinecone Electronics Co Ltd filed Critical Beijing Pinecone Electronics Co Ltd
Priority to CN202010019648.9A priority Critical patent/CN111241097B/en
Publication of CN111241097A publication Critical patent/CN111241097A/en
Application granted granted Critical
Publication of CN111241097B publication Critical patent/CN111241097B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2291User-Defined Types; Storage management thereof

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present disclosure relates to a method, apparatus, and storage medium for processing an object. The method comprises the following steps: acquiring first data and second data, wherein the first data is data of a target object, and the second data is metadata of the target object; determining a first storage space and a second storage space which are independent of each other in a target storage space of a target object; storing the first data in a first storage space and the second data in a second storage space; if the second data is modified, determining a free third storage space in the target storage space; and storing the modified second data in a third storage space. By the embodiment of the disclosure, the first data and the second data of the target object are independently stored, and when the second data of the target object is independently modified, the first data does not need to be read, so that the second data is independently read. And the modified second data is stored in the third storage space, so that the storage cost can be reduced, and the resources are saved.

Description

Method of processing object, apparatus for processing object, and storage medium
Technical Field
The present disclosure relates to the field of storage technologies, and in particular, to a method for processing an object, an apparatus for processing an object, and a storage medium.
Background
An object storage system is a form of storage system, and object storage is also referred to as object-based storage. In an object storage system, objects are in the same hierarchy of flat address spaces, i.e., one object does not belong to the next level of another object.
An object is a basic unit in an object storage system, and the object includes object data and object attributes. Object properties such as modification information of the object, type information of the object containing data, creation information of the object, and the like.
In a conventional object storage system, the attribute of an object and the data of the object are stored as a whole, and when a user needs to modify the attribute of the object, the data of the object and the attribute of the object need to be read, and after the modification is completed, the data of the object and the whole of the attribute of the object need to be uploaded again. When the data of the object is large, inconvenience is brought to a user for modifying the attribute of the object.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method of processing an object, an apparatus for processing an object, and a storage medium.
According to an aspect of the present embodiment, there is provided a method of processing an object, including: acquiring first data and second data, wherein the first data is data of a target object, and the second data is metadata of the target object; determining a first storage space and a second storage space which are independent of each other in a target storage space of a target object; storing the first data in a first storage space and the second data in a second storage space; if the second data is modified, determining a free third storage space in the target storage space; and storing the modified second data in a third storage space.
In an embodiment, the method further comprises: and clearing the second data stored in the second storage space.
In an embodiment, the first storage space and the second storage space are mutually independent and adjacent target object storage spaces in the target object storage space.
In an embodiment, the method further comprises: acquiring a first data identifier and a second data identifier, wherein the first data identifier is used for identifying first data, and the second data identifier is used for identifying second data; establishing a first index relation between a first data identifier and a first storage space; establishing a second index relationship between a second data identifier and a second storage space; and establishing an index relation table, wherein the index relation table indicates the corresponding relation among the target object, the first index relation and the second index relation.
According to still another aspect of the present embodiment, there is provided an apparatus for processing an object, including an obtaining unit configured to obtain first data and second data, the first data being data of a target object, the second data being metadata of the target object; a determining unit, configured to determine, in a target storage space of a target object, a first storage space and a second storage space that are independent of each other, and determine, when it is determined that second data is modified, a free third storage space in the target storage space; and the storage unit is used for storing the first data in the first storage space, storing the second data in the second storage space and storing the modified second data in the third storage space.
In one embodiment, the object storage device further comprises: and the clearing unit is used for clearing the second data stored in the second storage space.
In an embodiment, the first storage space and the second storage space are mutually independent and adjacent target object storage spaces in the target object storage space.
In an embodiment, the obtaining unit is further configured to obtain a first data identifier and a second data identifier, where the first data identifier is used to identify the first data, and the second data identifier is used to identify the second data; the object storage device further includes: a building unit; the establishing unit is used for establishing a first index relationship between the first data identifier and the first storage space, establishing a second index relationship between the second data identifier and the second storage space, and establishing an index relationship table; the index relationship table indicates a correspondence between the target object, the first index relationship, and the second index relationship.
According to still another aspect of the embodiments of the present disclosure, there is provided an apparatus for processing an object, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: a method of performing the processing of an object as set forth in any preceding claim.
According to yet another aspect of embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium having instructions stored thereon, which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform any one of the methods of processing an object described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the method comprises the steps of obtaining first data and second data, wherein the first data are data of a target object, the second data are metadata of the target object, determining a first storage space and a second storage space which are mutually independent in a target storage space of the target object, storing the first data in the first storage space, and storing the second data in the second storage space, and therefore the first data and the second data of the target object are independently stored. If the second data is determined to be modified, determining a free third storage space in the target storage space, and storing the modified second data in the third storage space, so that when the second data of the target object is modified independently, the second data can be read and modified in the second storage space without reading the first data, and independent reading of the second data is realized. And the modified second data is stored in the third storage space, and the storage space of the first data does not need to be determined, so that the storage cost can be reduced, and the resources are saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart illustrating a method of processing an object according to an exemplary embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating a method of processing an object according to another exemplary embodiment of the present disclosure.
Fig. 3 is a flowchart illustrating a method of processing an object according to still another exemplary embodiment of the present disclosure.
Fig. 4 is a block diagram illustrating an apparatus for processing an object according to an exemplary embodiment of the present disclosure.
Fig. 5 is a block diagram illustrating an apparatus for processing an object according to still another exemplary embodiment of the present disclosure.
Fig. 6 is a block diagram illustrating an apparatus for processing an object according to still another exemplary embodiment of the present disclosure.
Fig. 7 is a block diagram illustrating an apparatus according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The embodiment discloses a method for processing an object, which can be applied to a terminal. The terminal may be, for example, a smartphone, a tablet computer, a wearable device, a PC, or the like. Referring to fig. 1, fig. 1 is a flow diagram illustrating a method of processing an object according to an exemplary embodiment. As shown in fig. 1, the method of processing an object includes the following steps.
In step S101, first data and second data are obtained, the first data being data of a target object, and the second data being metadata of the target object.
The method for processing the object is applied to an object storage system, namely object-based storage, and stored data is processed as single target objects in a linear storage structure respectively. Multiple target objects are in the same hierarchical structure.
The target object comprises first data and second data, the first data is data of the target object, and the second data is metadata of the target object. The metadata of the object, i.e. the data describing the target object, may be information describing the attributes of the target object, and may be information such as creator information of the target object, data type information contained in the object, or data type of the object.
In step S102, a first storage space and a second storage space that are independent of each other are determined in a target storage space of a target object.
In a target storage space of a target object, a first storage space and a second storage space are determined, and the first storage space and the second storage space are independent of each other. The first storage space and the second storage space may be free space in the target storage space, wherein the first storage space satisfies a demand for the storage space for the first data of the target object, and the second storage space satisfies a demand for the storage space for the second data of the target object.
It is to be understood that the first storage space and the second storage space may or may not be adjacent, and the disclosure is not limited thereto.
In step S103, the first data is stored in the first storage space, and the second data is stored in the second storage space.
The data of the target object itself, i.e. the first data, is stored in the first storage space and the metadata of the target object, i.e. the second data, is stored in the second storage space. The first storage space and the second storage space are independent of each other, so that the first data of the target object and the second data of the target object are respectively stored, and the first data of the target object and the second data of the target object are respectively and independently read.
In step S104, if it is determined that the second data is modified, a free third storage space is determined in the target storage space.
In the current object storage system, when the first data and the second data of the target object are stored in the same storage space, the whole of the first data and the second data of the target object needs to be read when the second data of the target object is modified. And modifying the second data of the target object, and after the modification is finished, re-uploading the whole of the first data and the second data of the target object.
In the modification process of the second data of the target object, since the data volume of the first data of the target object is much larger than that of the second data, the whole of the first data and the second data of the target object is read and stored again, which results in large resource consumption and low storage efficiency.
In this embodiment, when it is determined to modify the second data of the target object, for example, modify the final modification time and/or creator information of the target object in the second data, the second data of the target object is read in the second storage space, and only the second data is modified. During the modification of the second data of the target object, no reading and/or storing operation is required for the first data of the target object.
And determining a free third storage space in the target storage space, wherein the free third storage space is used for storing the second data of the modified target object.
The third storage space may be a free space in the target storage space, and the third storage space satisfies a demand of the modified second data of the target object for the storage space. The third storage space may be adjacent to the first storage space, or may not be adjacent to the first storage space.
In step S105, the modified second data is stored in the third storage space.
And after the second data of the target object is modified, storing the modified second data in the third storage space. Based on the respective storage of the first data and the second data of the target object, the second data of the target object can be independently modified, the storage burden of a storage system is saved, resources are saved, the storage efficiency is improved, and the performance of the second data operation for modifying the target object in the object storage system is improved.
According to the embodiment of the disclosure, independent storage of the first data and the second data of the target object is realized by acquiring the first data and the second data, wherein the first data is data of the target object, the second data is metadata of the target object, determining a first storage space and a second storage space which are independent of each other in a target storage space of the target object, storing the first data in the first storage space, and storing the second data in the second storage space. If the second data is determined to be modified, determining a free third storage space in the target storage space, and storing the modified second data in the third storage space, so that when the second data of the target object is modified independently, the second data can be read and modified in the second storage space without reading the first data, and independent reading of the second data is realized. And the modified second data is stored in the third storage space, and the storage space of the first data does not need to be determined, so that the storage cost can be reduced, and the resources are saved.
The present embodiment discloses another method of processing an object. Referring to fig. 2, fig. 2 illustrates a flowchart of a method of processing an object, according to another exemplary embodiment of the present disclosure. As shown in fig. 2, the method of processing an object includes the following steps.
In step S201, first data and second data are obtained, the first data being data of a target object, and the second data being metadata of the target object.
In step S202, a first storage space and a second storage space that are independent of each other are determined in the target storage space of the target object.
In step S203, the first data is stored in the first storage space, and the second data is stored in the second storage space.
In step S204, if it is determined that the second data is modified, a free third storage space is determined in the target storage space.
In step S205, the modified second data is stored in the third storage space.
In step S206, the second data stored in the second storage space is cleared.
And clearing the second data stored in the second storage space, and recovering the free space in the target storage space, so that the free space can be reused, the vacancy of the storage space is reduced, and the resources are further saved.
In an embodiment, the first storage space is adjacent to the second storage space, and when the first data of the target object and the second data of the target object are read, modified or stored, the storage efficiency is improved, and the waste of resources is avoided.
The present embodiment discloses another method of processing an object. Referring to fig. 3, fig. 3 illustrates a flowchart of a method of processing an object, according to another exemplary embodiment of the present disclosure. As shown in fig. 3, the method of processing an object includes the following steps.
In step S301, a first data identifier and a second data identifier are acquired.
The first data identifies first data for identifying a target object and the second data identifies second data for identifying the target object.
In the object storage system, a plurality of target objects belong to the same hierarchical structure. The server or the user accesses the data of the target object and the metadata of the target object respectively by acquiring the first data identifier and the second data identifier of the target object.
In step S302, a first index relationship between the first data identifier and the first storage space is established.
In step S303, a second index relationship between the second data identifier and the second storage space is established.
In step S304, an index relationship table is established, which indicates a correspondence relationship between the target object, the first index relationship, and the second index relationship.
And respectively establishing a first index relationship between the first data identification of the target object and the first storage space and a second index relationship between the second data identification of the target object and the second storage space.
For example, the first storage space of the target object may be represented by a storage address in the target storage space, and the storage address in the target storage space may be represented by a character string. A first storage space corresponding to the first data can be determined through the first data identification, and a second storage space corresponding to the second data can be determined through the second data identification.
And respectively performing reading, modifying and/or storing operations on the first data and the second data of the target object in the first storage space and the second storage space.
The server or the user can determine the storage space of the first data and/or the second data through the corresponding first data identification and/or the second data identification of the target object in the index relation table by acquiring the index relation table, so that the process of data storage in the object storage system is simplified, and the storage efficiency is improved.
In step S305, first data and second data are obtained, the first data being data of a target object, and the second data being metadata of the target object.
In step S306, a first storage space and a second storage space that are independent of each other are determined in the target storage space of the target object.
In step S307, the first data is stored in the first storage space, and the second data is stored in the second storage space.
In step S308, if it is determined that the second data is modified, a free third storage space is determined in the target storage space.
In step S309, the modified second data is stored in the third storage space.
Based on an inventive concept, the present disclosure also provides an apparatus for processing an object.
Fig. 4 is a block diagram illustrating an apparatus for processing an object according to an exemplary embodiment of the present disclosure. As shown in fig. 4, the apparatus 200 for processing an object includes: an acquisition unit 210, a determination unit 220 and a storage unit 230.
The obtaining unit 210 is configured to obtain first data and second data, where the first data is data of a target object, and the second data is metadata of the target object.
A determining unit 210, configured to determine, in a target storage space of the target object, a first storage space and a second storage space that are independent of each other, and when it is determined that the second data is modified, determine a free third storage space in the target storage space.
The storage unit 220 is configured to store the first data in the first storage space, store the second data in the second storage space, and store the modified second data in the third storage space.
Fig. 5 is a block diagram illustrating an apparatus for processing an object according to still another exemplary embodiment of the present disclosure. As shown in fig. 5, the apparatus 200 for processing an object further includes: a purge unit 240.
A clearing unit 240, configured to clear the second data stored in the second storage space.
In an embodiment, the first storage space and the second storage space are mutually independent and adjacent target object storage spaces in the target object storage space.
In one embodiment, the object has an object identification, the object data has a data identification, and the object attribute has an attribute identification.
Fig. 6 is a block diagram illustrating an apparatus for processing an object according to still another exemplary embodiment of the present disclosure. As shown in fig. 6, the apparatus 200 for processing an object further includes: a building unit 250.
The obtaining unit 210 is further configured to obtain a first data identifier and a second data identifier, where the first data identifier is used to identify the first data, and the second data identifier is used to identify the second data.
The establishing unit 250 is configured to establish a first index relationship between the first data identifier and the first storage space, establish a second index relationship between the second data identifier and the second storage space, and establish an index relationship table. The index relationship table indicates a correspondence between the target object, the first index relationship, and the second index relationship.
With regard to the apparatus in the above embodiments, the specific manner in which the various modules perform operations has been in relation to embodiments of the method.
Fig. 7 is a block diagram illustrating an apparatus 600 for processing an object according to an example embodiment. For example, the apparatus 600 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 7, the apparatus 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power supply component 606 provides power to the various components of device 600. The power components 606 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the apparatus 600, the sensor component 614 may also detect a change in position of the apparatus 600 or a component of the apparatus 600, the presence or absence of user contact with the apparatus 600, orientation or acceleration/deceleration of the apparatus 600, and a change in temperature of the apparatus 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 600 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods of processing objects.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform any of the methods of processing objects as previously described.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method of processing an object, comprising:
acquiring first data and second data, wherein the first data is data of a target object, and the second data is metadata of the target object;
determining a first storage space and a second storage space which are independent of each other in a target storage space of the target object;
storing the first data in the first storage space and the second data in the second storage space;
if the second data is modified, determining a free third storage space in the target storage space;
and storing the modified second data in the third storage space.
2. The method of claim 1, further comprising:
clearing the second data stored in the second storage space.
3. The method of claim 1, wherein the first storage space and the second storage space are independent and adjacent target object storage spaces.
4. The method of claim 1, further comprising:
acquiring a first data identifier and a second data identifier, wherein the first data identifier is used for identifying first data, and the second data identifier is used for identifying second data;
establishing a first index relationship between the first data identifier and the first storage space;
establishing a second index relationship between the second data identifier and the second storage space;
and establishing an index relation table, wherein the index relation table indicates the corresponding relation among the target object, the first index relation and the second index relation.
5. An apparatus for processing an object, comprising:
an obtaining unit, configured to obtain first data and second data, where the first data is data of a target object, and the second data is metadata of the target object;
a determining unit, configured to determine, in a target storage space of the target object, a first storage space and a second storage space that are independent of each other, and determine, when it is determined that the second data is modified, a free third storage space in the target storage space;
and the storage unit is used for storing the first data in the first storage space, storing the second data in the second storage space and storing the modified second data in the third storage space.
6. The apparatus of claim 5, further comprising:
and the clearing unit is used for clearing the second data stored in the second storage space.
7. The apparatus of claim 5, wherein the first storage space and the second storage space are independent and adjacent target object storage spaces.
8. The apparatus according to claim 5, wherein the obtaining unit is further configured to obtain a first data identifier and a second data identifier, the first data identifier is used to identify first data, and the second data identifier is used to identify second data;
the apparatus for processing an object further includes: a building unit;
the establishing unit is used for establishing a first index relationship between the first data identifier and the first storage space, establishing a second index relationship between the second data identifier and the second storage space, and establishing an index relationship table;
the index relationship table indicates a correspondence between the target object, the first index relationship, and the second index relationship.
9. An apparatus for processing an object, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: a method of performing the processing of an object as claimed in any one of claims 1 to 4.
10. A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the method of processing an object of any of claims 1 to 4.
CN202010019648.9A 2020-01-08 2020-01-08 Method for processing object, device for processing object and storage medium Active CN111241097B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010019648.9A CN111241097B (en) 2020-01-08 2020-01-08 Method for processing object, device for processing object and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010019648.9A CN111241097B (en) 2020-01-08 2020-01-08 Method for processing object, device for processing object and storage medium

Publications (2)

Publication Number Publication Date
CN111241097A true CN111241097A (en) 2020-06-05
CN111241097B CN111241097B (en) 2024-03-12

Family

ID=70865217

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010019648.9A Active CN111241097B (en) 2020-01-08 2020-01-08 Method for processing object, device for processing object and storage medium

Country Status (1)

Country Link
CN (1) CN111241097B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103049539A (en) * 2012-12-25 2013-04-17 华为技术有限公司 Method and device for storing file data in file system
US20140136802A1 (en) * 2012-11-09 2014-05-15 International Business Machines Corporation Accessing data in a storage system
CN104298681A (en) * 2013-07-18 2015-01-21 华为技术有限公司 Data storage method and device
CN105740303A (en) * 2014-12-12 2016-07-06 国际商业机器公司 Improved object storage method and apparatus
CN106354432A (en) * 2016-08-30 2017-01-25 北京小米移动软件有限公司 Data modification method and device
CN109241178A (en) * 2018-07-20 2019-01-18 华为技术有限公司 The method and apparatus for managing memory space
CN110427364A (en) * 2019-06-21 2019-11-08 北京奇艺世纪科技有限公司 A kind of data processing method, device, electronic equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140136802A1 (en) * 2012-11-09 2014-05-15 International Business Machines Corporation Accessing data in a storage system
CN103049539A (en) * 2012-12-25 2013-04-17 华为技术有限公司 Method and device for storing file data in file system
CN104298681A (en) * 2013-07-18 2015-01-21 华为技术有限公司 Data storage method and device
CN105740303A (en) * 2014-12-12 2016-07-06 国际商业机器公司 Improved object storage method and apparatus
CN106354432A (en) * 2016-08-30 2017-01-25 北京小米移动软件有限公司 Data modification method and device
CN109241178A (en) * 2018-07-20 2019-01-18 华为技术有限公司 The method and apparatus for managing memory space
CN110427364A (en) * 2019-06-21 2019-11-08 北京奇艺世纪科技有限公司 A kind of data processing method, device, electronic equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ZHAO, MH ET AL.: "H2Cloud: Maintaining the Whole Filesystem in an Object Storage Cloud", PROCEEDINGS OF THE 47TH INTERNATIONAL CONFERENCE ON PARALLEL PROCESSING, 13 August 2018 (2018-08-13), pages 1 - 10, XP059109249, DOI: 10.1145/3225058.3225083 *
孙冬璞 等: "频繁更新移动对象的索引方法", 计算机工程, 15 November 2013 (2013-11-15), pages 52 - 56 *

Also Published As

Publication number Publication date
CN111241097B (en) 2024-03-12

Similar Documents

Publication Publication Date Title
CN110231901B (en) Application interface display method and device
CN106919629B (en) Method and device for realizing information screening in group chat
CN106201734B (en) File sharing method and device
US9959487B2 (en) Method and device for adding font
CN104462296B (en) File management method and device and terminal
RU2645282C2 (en) Method and device for calling via cloud-cards
US20230292269A1 (en) Method and apparatus for determining offset indication, and method and apparatus for determining offset
CN108804179B (en) Method, device, terminal and storage medium for displaying notification bar message
CN113238752A (en) Code generation method and device, electronic equipment and storage medium
CN107608714B (en) Byte alignment method, device and computer readable storage medium
CN107402767B (en) Method and device for displaying push message
CN107463372B (en) Data-driven page updating method and device
CN110782510A (en) Sticker generation method and device
CN105468606B (en) Webpage saving method and device
US11600300B2 (en) Method and device for generating dynamic image
CN111767006A (en) Data processing method and device
CN106447747B (en) Image processing method and device
CN106506808B (en) Method and device for prompting communication message
CN107885464B (en) Data storage method, device and computer readable storage medium
CN109245992B (en) Request processing method and device, electronic equipment and storage medium
CN107885571B (en) Display page control method and device
CN107679205B (en) Multimedia data playing method and device, computer equipment and storage medium
CN107193530B (en) Method and device for generating random number
CN106060253B (en) Information presentation method and device
CN111241097B (en) Method for processing object, device for processing object and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 100085 unit C, building C, lin66, Zhufang Road, Qinghe, Haidian District, Beijing

Applicant after: Beijing Xiaomi pinecone Electronic Co.,Ltd.

Address before: 100085 unit C, building C, lin66, Zhufang Road, Qinghe, Haidian District, Beijing

Applicant before: BEIJING PINECONE ELECTRONICS Co.,Ltd.

GR01 Patent grant
GR01 Patent grant