CN105159691B - The method and device of more new metadata - Google Patents
The method and device of more new metadata Download PDFInfo
- Publication number
- CN105159691B CN105159691B CN201510728754.3A CN201510728754A CN105159691B CN 105159691 B CN105159691 B CN 105159691B CN 201510728754 A CN201510728754 A CN 201510728754A CN 105159691 B CN105159691 B CN 105159691B
- Authority
- CN
- China
- Prior art keywords
- metadata
- clips
- update
- metadata clips
- updated
- 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
Links
Abstract
The present invention provides a kind of schemes of more new metadata in the client, required metadata clips are determined according to current data processing needs, and the status information based on the metadata clips being locally stored, determine metadata clips and its updating type to be updated, then metadata acquisition request is generated and sent according to metadata clips and its updating type to be updated, metadata acquisition request includes the mark of metadata clips to be updated, receive the returned data that server-side is sent in response to metadata acquisition request, returned data includes the mark of the metadata clips updated and the metadata clips of update, based on returned data metadata clips to be updated are carried out with the update to match with updating type.Above scheme can occasionally save system resource, improve the efficiency of metadata acquisition request;Further, avoid client in the process of running frequently and fall into a long wait data response the case where, the user experience is improved.
Description
Technical field
The present invention relates to field of computer technology, specifically, the present invention relates to the method and devices of more new metadata.
Background technique
Metadata (Metadata), also known as broker data, relaying data, mainly describe data attribute (property)
Information, for supporting such as to indicate storage location, historical data, resource lookup, file record function.Field is constructed in software
In, metadata is defined as object not processed in a program, by the change of its value come the behavior of reprogramming
Data.It plays a part of controlling program behavior with interpretive mode in program operation process.Match in the different location of program
Set the metadata of different value, so that it may obtain and original program behavior of equal value.Therefore, correct efficiently can be with using metadata
Application program operational efficiency is greatly improved, still, in existing application program operational process, the update method of metadata is not
It carries out corresponding part according to the use demand of metadata to update, but server-side once detects metadata updates acquisition request
When will be whole metadata feed back to client simultaneously, and whole metadata is completely updated in the client, is made
At a large amount of unnecessary data access, system resource is wasted, meanwhile, the metadata acquisition request response time is extended, is reduced
User experience.
Summary of the invention
To overcome above-mentioned technical problem or at least being partially solved above-mentioned technical problem, spy proposes following technical scheme:
The embodiment of the present invention proposes a kind of method of more new metadata in the client, comprising:
Required metadata clips are determined according to current data processing needs;
Based on the status information for the metadata clips being locally stored, metadata clips and its update to be updated are determined
Type;
Metadata acquisition request, the member are generated and sent according to the metadata clips and its updating type to be updated
Data acquisition request includes the mark of metadata clips to be updated;
The returned data that server-side is sent in response to the metadata acquisition request is received, the returned data includes updating
Metadata clips and update metadata clips mark;
The metadata clips to be updated match more with the updating type based on the returned data
Newly.
Wherein it is determined that the step of status information for the metadata clips being locally stored, comprising:
Extract the metadata clips being locally stored;
The status information of the metadata clips is determined according to extraction result.
It is preferably based on the status information for the metadata clips being locally stored, determines metadata clips to be updated
And its updating type, it specifically includes:
Fail when extracting, determines that the status information of the metadata clips is not stored state;
Determine that the metadata clips are metadata clips to be updated and described based on the not stored state
The updating type of metadata clips to be updated is the not stored metadata clips of addition.
It is preferably based on the status information for the metadata clips being locally stored, determines metadata clips to be updated
And its updating type, it specifically includes:
When extracting the metadata clips, corresponding data processing is executed according to the current data processing needs;
If data processing fails, determine the status information of the metadata clips for storage error condition;
Determine that the metadata clips are the metadata clips to be updated, Yi Jisuo based on the storage error condition
The updating type for stating metadata clips to be updated is to modify the metadata clips being locally stored.
Wherein, the metadata clips to be updated match with the updating type based on the returned data
Update, comprising:
The mark of the metadata clips of metadata clips and the update based on the update, to the member to be updated
Data slot carries out the update to match with the updating type.
Be preferably based on the mark of the metadata clips of the update and the metadata clips of the update, to it is described to
The metadata clips of update carry out the update to match with the updating type, include at least:
If the updating type is the not stored metadata clips of addition, by the metadata clips of the update store to
The corresponding position of the mark of the metadata clips of the update;Or
If the updating type is the metadata clips that modification is locally stored, by the mark of the metadata clips with the update
The metadata clips being locally stored for knowing corresponding position replace with the metadata clips of the update.
Wherein, the metadata clips to be updated match with the updating type based on the returned data
Update, comprising:
The mark of the metadata clips to be updated is compared with the mark of the metadata clips of the update, really
Determine comparison result;
The metadata clips to be updated match more with the updating type based on the comparison result
Newly.
The comparison result is preferably based on to carry out and the updating type phase the metadata clips to be updated
The update matched, includes at least:
If the updating type is the not stored metadata clips of addition, by the metadata clips of the update store to
The corresponding position of comparison result;Or
If the updating type is the metadata clips that are locally stored of modification, by with the comparison result corresponding position
The metadata clips being locally stored replace with the metadata clips of the update.
Another embodiment of the present invention proposes a kind of method that more new metadata is assisted in server-side, comprising:
The metadata acquisition request from client is received, the metadata acquisition request includes metadata piece to be updated
The mark of section;
Extract the mark of the metadata clips to be updated in the metadata acquisition request;
According to the mark of the metadata to be updated, the metadata clips of update and the metadata clips of update are obtained
Mark;
It will include the metadata clips for updating metadata clips and the update according to the metadata acquisition request
The returned data of mark be sent to the client.
Wherein, the mark of the metadata clips of the mark and/or update of the metadata clips to be updated, including
Any one of below at least:
The location information of metadata clips;
The identification information of metadata clips;
The size of metadata clips identifies.
Another embodiment of the present invention proposes a kind of device of more new metadata in the client, comprising:
First determining module, for determining required metadata clips according to current data processing needs;
Second determining module determines to be updated for the status information based on the metadata clips being locally stored
Metadata clips and its updating type;
Request sending module, for generating and sending first number according to the metadata clips and its updating type to be updated
According to acquisition request, the metadata acquisition request includes the mark of metadata clips to be updated;
Returned data receiving module, the return number sent for receiving server-side in response to the metadata acquisition request
According to the returned data includes the mark of the metadata clips updated and the metadata clips of update;
First update module, for based on the returned data to the metadata clips to be updated carry out with it is described more
The update that new type matches.
Wherein, the device further include:
Extraction module, for extracting the metadata clips being locally stored;
State determining module, for determining the status information of the metadata clips according to extraction result.
Preferably, second determining module specifically includes:
First determination unit, for when extracting failure, determining that the status information of the metadata clips is not stored state;
Second determination unit, for determining that the metadata clips are the member to be updated based on the not stored state
Data slot and the updating type of the metadata clips to be updated are the not stored metadata clips of addition.
Preferably, second determining module specifically includes:
Data processing unit, for being held according to the current data processing needs when extracting the metadata clips
The corresponding data processing of row;
Third determination unit determines that the status information of the metadata clips is wrong for storage if failing for data processing
Accidentally state;
4th determination unit, for determining that the metadata clips are described to be updated based on the storage error condition
The updating type of metadata clips and the metadata clips to be updated is the metadata clips that modification is locally stored.
Wherein, first update module is used for the metadata piece of metadata clips and the update based on the update
The mark of section carries out the update to match with the updating type to the metadata clips to be updated.
Preferably, if the updating type is the not stored metadata clips of addition, the update module is used for will be described
The metadata clips of update are stored to position corresponding with the mark of the metadata clips of the update;If or the updating type
To modify the metadata clips being locally stored, the update module is used for will be corresponding to the mark of the metadata clips of the update
The metadata clips being locally stored at position replace with the metadata clips of the update.
Wherein, first update module includes:
Comparing unit, for by the mark of the mark and the metadata clips of the update of the metadata clips to be updated
Knowledge is compared, and determines comparison result;
Second updating unit, for based on the comparison result to the metadata clips to be updated carry out with it is described more
The update that new type matches.
Preferably, if the updating type is the not stored metadata clips of addition, first updating unit is used for will
The metadata clips of the update are stored to position corresponding with the comparison result;If or the updating type is that modification is local
The metadata clips of storage, first updating unit are used for the member being locally stored with the comparison result corresponding position
Data slot replaces with the metadata clips of the update.
One more embodiment of the present invention proposes a kind of device that more new metadata is assisted in server-side, comprising:
Request receiving module, for receiving the metadata acquisition request from client, the metadata acquisition request packet
Include the mark of metadata clips to be updated;
Marker extraction module, for extracting the mark of the metadata clips to be updated in the metadata acquisition request;
Data acquisition module, for the mark according to the metadata to be updated, obtain update metadata clips and
The mark of the metadata clips of update;
Returned data sending module, for according to the metadata acquisition request will include the updates metadata clips and
The returned data of the mark of the metadata clips of the update is sent to the client.
Wherein, the mark of the metadata clips of the mark and/or update of the metadata clips to be updated, including
Any one of below at least:
The location information of metadata clips;
The identification information of metadata clips;
The size of metadata clips identifies.
In the embodiment of the present invention, a kind of scheme of more new metadata in the client is proposed, according to current data
Process demand and updating type obtain required metadata clips, overcome in the prior art due to obtaining all members to server-side
Data and caused by a large amount of unnecessary data access the case where, saved the resource of system, improved metadata acquisition request
Efficiency;Further, required part metadata clips can quickly be found according to the acquisition request of metadata in server-side
And it is sent to client, reduce the response time of metadata acquisition request;Meanwhile client is returned according to the server-side received
The required metadata clips returned carry out the update to match with updating type to metadata clips to be updated, improve metadata
Update efficiency, reduce the response time of more new metadata, avoid client and give user bring frequency in the process of running
The case where pending datas such as numerous and prolonged respond, improves user experience.
The additional aspect of the present invention and advantage will be set forth in part in the description, these will become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow chart of the method for more new metadata in the client of one embodiment in the present invention;
Fig. 2 is the flow chart of the method for more new metadata in the client of a preferred embodiment in the present invention;
Fig. 3 is the flow chart of the method that more new metadata is assisted in server-side of another embodiment in the present invention;
Fig. 4 is that another embodiment is interacted in the method for more new metadata in client and server-side in the present invention
Flow chart.
Fig. 5 is the structural schematic diagram of the device of more new metadata in the client of another embodiment in the present invention;
Fig. 6 is the structural schematic diagram of the device of more new metadata in the client of another preferred embodiment in the present invention;
Fig. 7 is the structural schematic diagram of the device that more new metadata is assisted in server-side of another embodiment in the present invention;
Fig. 8 is that another embodiment is interacted with the device of more new metadata in client and server-side in the present invention
Structural schematic diagram.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and for explaining only the invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singular " one " used herein, " one
It is a ", " described " and "the" may also comprise plural form.It is to be further understood that being arranged used in specification of the invention
Diction " comprising " refer to that there are the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition
Other one or more features, integer, step, operation, element, component and/or their group.It should be understood that when we claim member
Part is " connected " or when " coupled " to another element, it can be directly connected or coupled to other elements, or there may also be
Intermediary element.In addition, " connection " used herein or " coupling " may include being wirelessly connected or wirelessly coupling.It is used herein to arrange
Diction "and/or" includes one or more associated wholes for listing item or any cell and all combinations.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art
Language and scientific term), there is meaning identical with the general understanding of those of ordinary skill in fields of the present invention.Should also
Understand, those terms such as defined in the general dictionary, it should be understood that have in the context of the prior art
The consistent meaning of meaning, and unless idealization or meaning too formal otherwise will not be used by specific definitions as here
To explain.
In an embodiment of the present invention, the metadata (Metadata) being related to, be the tissue about data, data field and
The information of its relationship, in short, metadata is exactly the data about data.Specifically, metadata mainly describes data attribute
Information, for support such as indicate storage location, historical data, resource lookup, file record function.
Fig. 1 is the flow chart of the method for more new metadata in the client of one embodiment in the present invention.
Step S110: required metadata clips are determined according to current data processing needs;Step S120: based on local
The status information of the metadata clips of storage determines metadata clips and its updating type to be updated;Step S130: according to
The metadata clips and its updating type of update generate and send metadata acquisition request, and metadata acquisition request includes to be updated
Metadata clips mark;Step S140: receiving the returned data that server-side is sent in response to metadata acquisition request, returns
Data include the mark of the metadata clips updated and the metadata clips of update;Step S150: it is treated more based on returned data
New metadata clips carry out the update to match with updating type.
In the embodiment of the present invention, a kind of scheme of more new metadata in the client is proposed, according to current data
Process demand and updating type obtain required metadata clips, overcome in the prior art due to obtaining all members to server-side
Data and caused by a large amount of unnecessary data access the case where, saved the resource of system, improved metadata acquisition request
Efficiency;Further, required part metadata clips can quickly be found according to the acquisition request of metadata in server-side
And it is sent to client, reduce the response time of metadata acquisition request;Meanwhile client is returned according to the server-side received
The required metadata clips returned carry out the update to match with updating type to metadata clips to be updated, improve metadata
Update efficiency, reduce the response time of more new metadata, avoid client and give user bring frequency in the process of running
The case where pending datas such as numerous and prolonged respond, improves user experience.
Step S110: required metadata clips are determined according to current data processing needs.
In an embodiment of the present invention, it is corresponding to need to apply journey at this after certain application program is installed in terminal device operation
The client of sequence configures the relevant information of the application metadata;The application program is both needed to when executing any data processing
The relevant information that the data handling procedure metadata is completed using corresponding metadata includes but is not limited to: metadata it is big
It is small, corresponding data attribute information in each position etc..
For example, determining in the operational process of the client of application program App1 and needing to use application program App1's
The metadata information of 2nd byte to the 6th byte, it may be determined that the metadata clips of required application program App1 are the 2nd byte to the 6th
Metadata between byte.
Step S120: the status information based on the metadata clips being locally stored, determine metadata clips to be updated and
Its updating type.
Wherein it is determined that the step of status information for the metadata clips being locally stored, including step S121 and (do not show in figure
Step S122 (not shown) out).Step S121: the metadata clips being locally stored are extracted;Step S122: it is tied according to extracting
Fruit determines the status information of metadata clips.
For example, connecting example, the metadata clips of the 2nd byte to the 6th byte for the application program App1 being locally stored are extracted,
The status information of the metadata clips is determined according to the result of the metadata clips information of extraction.
Wherein, the status information based on the metadata clips being locally stored determines metadata clips to be updated and its more
New type, including step S1221 (not shown) and step S1222 (not shown).Step S1221: failing when extracting,
The status information for determining metadata clips is not stored state;Step S1222: determine that metadata clips are based on not stored state
The updating type of metadata clips and metadata clips to be updated to be updated is the not stored metadata clips of addition.
For example, extracting the metadata clips of the 2nd byte to the 6th byte for the application program App1 being locally stored, work as extraction
When to the metadata clips content being empty, then metadata clips failure is extracted, it may be determined that the status information of the metadata clips
Then it can determine that the metadata clips are to be updated according to the not stored status information of the metadata clips for not stored state
Metadata clips, and determine that the updating type of the metadata clips to be updated be to add not stored metadata clips.
In another preferred embodiment, the status information based on the metadata clips being locally stored, determines member to be updated
Data slot and its updating type further include step S1223 (not shown), step S1224 (not shown) and step
S1225 (not shown).Step S1223: it when extracting metadata clips, is executed according to current data processing needs corresponding
Data processing;Step S1224: if data processing fails, determine the status information of metadata clips for storage error condition;Step
Rapid S1225: determine that metadata clips are metadata clips to be updated and metadata to be updated based on storage error condition
The updating type of segment is the metadata clips that modification is locally stored.
For example, extracting the metadata clips of the 2nd byte to the 6th byte for the application program App1 being locally stored, work as extraction
To the metadata clips data content when, execute corresponding data processing according to the current data processing needs of client, such as
Client needs the IP letter for including in the metadata fragment data content according to the 2nd byte to the 6th byte of application program App1
It ceases to establish connection to server S 1 to be used to obtain relevant news content information, if client can not pass through the metadata piece
Section establishes connection constantly with the server S 1, i.e. data processing fails, it may be determined that the status information of the metadata clips is storage
Error condition, and determine that the metadata clips are metadata clips to be updated, and the update class of metadata clips to be updated
Type is the metadata clips that modification is locally stored.
Step S130: generating and sending metadata acquisition request according to metadata clips and its updating type to be updated,
Metadata acquisition request includes the mark of metadata clips to be updated.
For example, according to the metadata clips to be updated of the 2nd byte to the 6th byte of application program App1 and its updating class
Type is that the metadata clips that modification is locally stored generate and send metadata acquisition request, and metadata acquisition request includes to be updated
Metadata clips mark, i.e. the 2nd byte to the 6th byte.
Step S140: receiving the returned data that server-side is sent in response to metadata acquisition request, and returned data includes more
The mark of the metadata clips of new metadata clips and update.
For example, client receives the returned data that server-side is sent in response to metadata acquisition request, returned data includes
The 2nd byte that server-side updates application program App1 is to the metadata clips of the 6th byte and the metadata clips of update
Mark is the 2nd byte to the 6th byte.
Step S150: based on returned data metadata clips to be updated are carried out with the update to match with updating type.
Wherein, based on returned data metadata clips to be updated are carried out with the update to match with updating type, including
Step S151 (not shown).Step S151: the mark of the metadata clips of metadata clips and update based on update is right
Metadata clips to be updated carry out the update to match with updating type.
Wherein, the mark of the metadata clips based on update and the metadata clips of update, to metadata piece to be updated
The update that Duan Jinhang and updating type match, includes at least:, will more if updating type is the not stored metadata clips of addition
New metadata clips are stored to position corresponding with the mark of the metadata clips of update;If or updating type is that modification is local
The metadata clips of storage replace the metadata clips of the mark corresponding position of the metadata clips with update being locally stored
It is changed to the metadata clips of update.
For example, the metadata piece of the update of the 2nd byte to the 6th byte to application program App1 based on server-side return
Section and updating type are the not stored metadata clips of addition, and client stores the metadata clips of the update of the returned data
To position corresponding with the 2nd byte to the 6th byte of application program App1 that client is locally stored.
In another example the metadata of the update of the 2nd byte to the 6th byte to application program App1 based on server-side return
Segment and updating type are the metadata clips that modification is locally stored, to the 2nd of the application program App1 that client is locally stored the
The metadata clips to be updated of byte to the 6th byte replace with the metadata clips of the update of the returned data.
In another preferred embodiment, as shown in Fig. 2, based on returned data to metadata clips progress to be updated and more
The update that new type matches, including step S251 and step S252.Step S251: by the mark of metadata clips to be updated
It is compared with the mark of the metadata clips of update, determines comparison result;Step S252: based on comparison result to be updated
Metadata clips carry out the update to match with updating type.
Wherein, based on comparison result metadata clips to be updated are carried out with the update to match with updating type, at least
If including: updating type is the not stored metadata clips of addition, by the metadata clips of update store to comparison result phase
The position answered;Or if updating type is the metadata clips that are locally stored of modification, by the local with comparison result corresponding position
The metadata clips of storage replace with the metadata clips of update.
For example, if server-side returned data is the update of the 2nd byte to the 8th byte of corresponding client application App1
Metadata clips, updating type is the not stored metadata clips of addition, by the mark the " the 2nd of metadata clips to be updated
Byte is to the 6th byte " it is compared with the mark " the 2nd byte to the 8th byte " of the metadata clips updated, determine comparison result
For intersection " the 2nd byte to the 6th byte ", then by the update of the 2nd byte to the 6th byte to application program App1 of return
Metadata clips store the member to be updated of the 2nd byte to the 6th byte to the application program App1 being locally stored with client
The corresponding position of data slot.
In another example if server-side returned data be the 2nd byte to the 8th byte of corresponding client application App1 to
The metadata clips of update, updating type is the metadata clips that modification is locally stored, by the mark of metadata clips to be updated
Know " the 2nd byte to the 6th byte " to be compared with the mark " the 2nd byte to the 8th byte " of the metadata clips updated, determines ratio
It is intersection " the 2nd byte to the 6th byte ", then the 2nd byte for application program App1 client being locally stored to result
The 2nd byte to the 6th byte to application program App1 of server-side return is replaced with to the metadata clips to be updated of the 6th byte
Update metadata clips.
Fig. 3 is the flow chart of the method that more new metadata is assisted in server-side of another embodiment in the present invention.
Step S310: the metadata acquisition request from client is received, metadata acquisition request includes member to be updated
The mark of data slot;Step S320: the mark of the metadata clips to be updated in metadata acquisition request is extracted;Step
S330: according to the mark of metadata to be updated, the mark of the metadata clips of update and the metadata clips of update is obtained;Step
Rapid S340: will include the return number for updating the mark of metadata clips of metadata clips and update according to metadata acquisition request
According to being sent to client.
Wherein, the mark of the metadata clips of the mark and/or update of metadata clips to be updated, including but it is unlimited
In:
The location information of metadata clips;
The identification information of metadata clips;
The size of metadata clips identifies.
For example, server-side receives the metadata acquisition request from client, which is corresponding application
The metadata clips to be updated of the 2nd byte to the 6th byte of program App1, server-side will take according to the metadata acquisition request
The metadata clips for the 2nd byte to the 6th byte that business end corresponds to application program App1 are sent to client.
Fig. 4 is that another embodiment is interacted in the method for more new metadata in client and server-side in the present invention
Flow chart.
Step S410: required metadata clips are determined according to current data processing needs;Step S420: based on local
The status information of the metadata clips of storage determines metadata clips and its updating type to be updated;Step S430: according to
The metadata clips and its updating type of update generate and send metadata acquisition request, and metadata acquisition request includes to be updated
Metadata clips mark;Step S440: receiving the metadata acquisition request from client, and metadata acquisition request includes
The mark of metadata clips to be updated;Step S450: the metadata clips to be updated in metadata acquisition request are extracted
Mark;Step S460: according to the mark of metadata to be updated, the metadata clips of update and the metadata clips of update are obtained
Mark;Step S470: will include the mark for updating the metadata clips of metadata clips and update according to metadata acquisition request
The returned data of knowledge is sent to client.Step S480: the return number that server-side is sent in response to metadata acquisition request is received
According to returned data includes the mark of the metadata clips updated and the metadata clips of update;Step S490: it is based on returned data
Metadata clips to be updated are carried out with the update to match with updating type.
In a concrete application scene, in the operational process of client application App2, need using to using journey
The information of the metadata of the 6th byte to the 24th byte of sequence App2, it may be determined that the metadata clips of required application program App2 are
16th byte to the 24th byte then extracts the metadata of the 16th byte to the 24th byte for the application program App2 being locally stored
Segment, when extracting the data content of the metadata clips, when needing in client operational process according to application program App2
The 16th byte to the 24th byte metadata fragment data content come when obtaining specific data information, if user can not be by answering
When obtaining specific data information with the metadata fragment data content of the 16th byte to the 24th byte of program App2, i.e., at data
Reason failure, it may be determined that the status information of the metadata clips is storage error condition, and determines that the metadata clips are to be updated
Metadata clips, and the updating type of metadata clips to be updated is the metadata clips that are locally stored of modification, subsequent root
Metadata clips and its updating type to be updated according to the 6th byte to the 24th byte of application program App2, which are that modification is local, deposits
The metadata clips of storage generate and send the metadata acquisition request, which includes metadata piece to be updated
The mark of section is the 6th byte to the 24th byte, and server-side receives the metadata acquisition request from client, determines this yuan of number
The metadata clips to be updated of the 8th byte to the 16th byte of application program App2 are corresponded in server-side according to acquisition request, are taken
Server-side is corresponded to the metadata piece of the 8th byte to the 16th byte of application program App2 according to the metadata acquisition request by business end
Section is sent to client, the metadata clips for the update that client is returned based on server-side, the application that client is locally stored
The metadata clips to be updated of the 8th byte to the 16th byte of program App2 replace with the correspondence application program of server-side return
The metadata clips of the update of the 8th byte to the 16th byte of App2.
In another concrete application scene, in the operational process of client application App3, determines and need to use
Application program App3 is from the 3rd byte, and the size of metadata clips is the information of all metadata of 6 bytes, it may be determined that institute
The metadata clips for needing application program App3 are the 3rd byte to the 9th byte, then extract the application program App3's being locally stored
The metadata clips of 3rd byte to the 9th byte then extract the metadata piece when it is empty for extracting the metadata clips content
Segment fault, it may be determined that the status information of the metadata clips is not stored state, then, according to the not stored of the metadata clips
Status information can determine that the metadata clips are metadata clips to be updated, and determine the metadata clips to be updated more
New type is the not stored metadata clips of addition, then according to the to be updated of the 3rd byte to the 9th byte of application program App3
Metadata clips and its updating type be that the metadata clips that are locally stored of modification generate and send the metadata acquisition request,
Server-side receives the metadata acquisition request from client, determines that the metadata acquisition request is corresponding using journey in server-side
The metadata clips of the update of the 3rd byte to the 9th byte of sequence App3, server-side is according to the metadata acquisition request by server-side
The metadata clips of the update of the 3rd byte to the 9th byte of corresponding application program App3 are sent to client, due to transmission process
In the reasons such as interference, if client receives only the update of the 5th byte to the 9th byte of the correspondence application program App3 of return
Metadata clips, the metadata clips of the update of the 5th byte to the 9th byte to application program App3 of return are directly deposited
5th word in the metadata clips to be updated of the 5th byte to the 9th byte for the application program App3 that Chu Zhiyu client is locally stored
Section is to the corresponding position of the 9th byte, and client generates and sends the 3rd byte of application program App3 to server-side again at this time
Metadata clips and its updating type to be updated to the 5th byte are the acquisition request of the not stored metadata clips of addition,
Then the metadata clips by the update of the 3rd byte to the 5th byte for the application program App3 that server-side again returns to directly are deposited
The 3rd byte for the application program App3 that Chu Zhiyu client is locally stored is to the corresponding position of the 5th byte.
Fig. 5 is the structural schematic diagram of the device of more new metadata in the client of another embodiment in the present invention.
First determining module 510 determines required metadata clips according to current data processing needs;Second determines mould
Status information of the block 520 based on the metadata clips being locally stored determines metadata clips and its updating type to be updated;Please
Sending module 530 is asked to generate and send metadata acquisition request, first number according to metadata clips and its updating type to be updated
It include the mark of metadata clips to be updated according to acquisition request;Returned data receiving module 540 receives server-side in response to member
The returned data that data acquisition request is sent, returned data include the mark of the metadata clips updated and the metadata clips of update
Know;First update module 550 carries out the update to match with updating type based on returned data to metadata clips to be updated.
In the embodiment of the present invention, a kind of scheme of more new metadata in the client is proposed, according to current data
Process demand and updating type obtain required metadata clips, overcome in the prior art due to obtaining all members to server-side
Data and caused by a large amount of unnecessary data access the case where, saved the resource of system, improved metadata acquisition request
Efficiency;Further, required part metadata clips can quickly be found according to the acquisition request of metadata in server-side
And it is sent to client, reduce the response time of metadata acquisition request;Meanwhile client is returned according to the server-side received
The required metadata clips returned carry out the update to match with updating type to metadata clips to be updated, improve metadata
Update efficiency, reduce the response time of more new metadata, avoid client and give user bring frequency in the process of running
The case where pending datas such as numerous and prolonged respond, improves user experience.
First determining module 510 determines required metadata clips according to current data processing needs.
In an embodiment of the present invention, it is corresponding to need to apply journey at this after certain application program is installed in terminal device operation
The client of sequence configures the relevant information of the application metadata;The application program is both needed to when executing any data processing
The relevant information that the data handling procedure metadata is completed using corresponding metadata includes but is not limited to: metadata it is big
It is small, corresponding data attribute information in each position etc..
For example, determining in the operational process of the client of application program App1 and needing to use application program App1's
The metadata information of 2nd byte to the 6th byte, it may be determined that the metadata clips of required application program App1 are the 2nd byte to the 6th
Metadata between byte.
Second status information of the determining module 520 based on the metadata clips being locally stored, determines metadata to be updated
Segment and its updating type.
Wherein, which includes extraction module and (not shown) state determining module (not shown).Extract mould
Block extracts the metadata clips being locally stored;State determining module determines the status information of metadata clips according to result is extracted.
For example, connecting example, the metadata clips of the 2nd byte to the 6th byte for the application program App1 being locally stored are extracted,
The status information of the metadata clips is determined according to the result of the metadata clips information of extraction.
Wherein, the second determining module 520 include the first determination unit (not shown) and the second determination unit (in figure not
It shows).Fail when extracting, the first determination unit determines that the status information of metadata clips is not stored state;Second determines list
Member based on not stored state determine metadata clips be metadata clips to be updated and metadata clips to be updated more
New type is the not stored metadata clips of addition.
For example, extracting the metadata clips of the 2nd byte to the 6th byte for the application program App1 being locally stored, work as extraction
When to the metadata clips content being empty, then metadata clips failure is extracted, it may be determined that the status information of the metadata clips
Then it can determine that the metadata clips are to be updated according to the not stored status information of the metadata clips for not stored state
Metadata clips, and determine that the updating type of the metadata clips to be updated be to add not stored metadata clips.
In another preferred embodiment, the second determining module 520 is true including data processing unit (not shown), third
Order member (not shown) and the 4th determination unit (not shown).When extracting metadata clips, data processing unit
Corresponding data processing is executed according to current data processing needs;If data processing fails, third determination unit determines first number
Status information according to segment is storage error condition;4th determination unit based on storage error condition determine metadata clips be to
The updating type of the metadata clips of update and metadata clips to be updated is the metadata clips that modification is locally stored.
For example, extracting the metadata clips of the 2nd byte to the 6th byte for the application program App1 being locally stored, work as extraction
To the metadata clips data content when, execute corresponding data processing according to the current data processing needs of client, such as
Client needs the IP letter for including in the metadata fragment data content according to the 2nd byte to the 6th byte of application program App1
It ceases to establish connection to server S 1 to be used to obtain relevant news content information, if client can not pass through the metadata piece
Section establishes connection constantly with the server S 1, i.e. data processing fails, it may be determined that the status information of the metadata clips is storage
Error condition, and determine that the metadata clips are metadata clips to be updated, and the update class of metadata clips to be updated
Type is the metadata clips that modification is locally stored.
Request sending module 530 generates and sends metadata according to metadata clips and its updating type to be updated and obtains
Request, metadata acquisition request includes the mark of metadata clips to be updated.
For example, according to the metadata clips to be updated of the 2nd byte to the 6th byte of application program App1 and its updating class
Type is that the metadata clips that modification is locally stored generate and send metadata acquisition request, and metadata acquisition request includes to be updated
Metadata clips mark, i.e. the 2nd byte to the 6th byte.
Returned data receiving module 540 receives the returned data that server-side is sent in response to metadata acquisition request, returns
Data include the mark of the metadata clips updated and the metadata clips of update.
For example, client receives the returned data that server-side is sent in response to metadata acquisition request, returned data includes
The 2nd byte that server-side updates application program App1 is to the metadata clips of the 6th byte and the metadata clips of update
Mark is the 2nd byte to the 6th byte.
First update module 550 matches to metadata clips progress to be updated with updating type based on returned data
It updates.
Wherein, the mark of the metadata clips based on update and the metadata clips of update, the first update module are treated more
New metadata clips carry out the update to match with updating type.
Wherein, the mark of the metadata clips based on update and the metadata clips of update, to metadata piece to be updated
The update that Duan Jinhang and updating type match, includes at least:, will more if updating type is the not stored metadata clips of addition
New metadata clips are stored to position corresponding with the mark of the metadata clips of update;If or updating type is that modification is local
The metadata clips of storage replace the metadata clips of the mark corresponding position of the metadata clips with update being locally stored
It is changed to the metadata clips of update.
For example, the metadata piece of the update of the 2nd byte to the 6th byte to application program App1 based on server-side return
Section and updating type are the not stored metadata clips of addition, and client stores the metadata clips of the update of the returned data
To position corresponding with the 2nd byte to the 6th byte of application program App1 that client is locally stored.
In another example the metadata of the update of the 2nd byte to the 6th byte to application program App1 based on server-side return
Segment and updating type are the metadata clips that modification is locally stored, to the 2nd of the application program App1 that client is locally stored the
The metadata clips to be updated of byte to the 6th byte replace with the metadata clips of the update of the returned data.
In another preferred embodiment, as shown in fig. 6, the first update module includes that comparing unit 651 and second update list
Member 652.The mark of metadata clips to be updated is compared comparing unit 651 with the mark of the metadata clips updated,
Determine comparison result;Second updating unit 652 carries out and updating type phase metadata clips to be updated based on comparison result
Matched update.
Wherein, based on comparison result metadata clips to be updated are carried out with the update to match with updating type, at least
If including: updating type is the not stored metadata clips of addition, by the metadata clips of update store to comparison result phase
The position answered;Or if updating type is the metadata clips that are locally stored of modification, by the local with comparison result corresponding position
The metadata clips of storage replace with the metadata clips of update.
For example, if server-side returned data is the update of the 2nd byte to the 8th byte of corresponding client application App1
Metadata clips, updating type is the not stored metadata clips of addition, by the mark the " the 2nd of metadata clips to be updated
Byte is to the 6th byte " it is compared with the mark " the 2nd byte to the 8th byte " of the metadata clips updated, determine comparison result
For intersection " the 2nd byte to the 6th byte ", then by the update of the 2nd byte to the 6th byte to application program App1 of return
Metadata clips store the member to be updated of the 2nd byte to the 6th byte to the application program App1 being locally stored with client
The corresponding position of data slot.
In another example if server-side returned data be the 2nd byte to the 8th byte of corresponding client application App1 to
The metadata clips of update, updating type is the metadata clips that modification is locally stored, by the mark of metadata clips to be updated
Know " the 2nd byte to the 6th byte " to be compared with the mark " the 2nd byte to the 8th byte " of the metadata clips updated, determines ratio
It is intersection " the 2nd byte to the 6th byte ", then the 2nd byte for application program App1 client being locally stored to result
The 2nd byte to the 6th byte to application program App1 of server-side return is replaced with to the metadata clips to be updated of the 6th byte
Update metadata clips.
Fig. 7 is the structural schematic diagram of the device that more new metadata is assisted in server-side of another embodiment in the present invention.
Request receiving module 710 receives the metadata acquisition request from client, and metadata acquisition request includes to more
The mark of new metadata clips;Marker extraction module 720 extracts the metadata clips to be updated in metadata acquisition request
Mark;Data acquisition module 730 obtains the metadata clips of update and the member of update according to the mark of metadata to be updated
The mark of data slot;Returned data sending module 740 according to metadata acquisition request will include update metadata clips with more
The returned data of the mark of new metadata clips is sent to client.
Wherein, the mark of the metadata clips of the mark and/or update of metadata clips to be updated, including but it is unlimited
In:
The location information of metadata clips;
The identification information of metadata clips;
The size of metadata clips identifies.
For example, server-side receives the metadata acquisition request from client, which is corresponding application
The metadata clips to be updated of the 2nd byte to the 6th byte of program App1, server-side will take according to the metadata acquisition request
The metadata clips for the 2nd byte to the 6th byte that business end corresponds to application program App1 are sent to client.
Fig. 8 is that another embodiment is interacted with the device of more new metadata in client and server-side in the present invention
Structural schematic diagram.
First determining module 810 determines required metadata clips according to current data processing needs;Second determines mould
Status information of the block 820 based on the metadata clips being locally stored determines metadata clips and its updating type to be updated;Please
Sending module 830 is asked to generate and send metadata acquisition request, first number according to metadata clips and its updating type to be updated
It include the mark of metadata clips to be updated according to acquisition request;Request receiving module 840 receives the metadata from client
Acquisition request, metadata acquisition request include the mark of metadata clips to be updated;Marker extraction module 850 extracts metadata
The mark of metadata clips to be updated in acquisition request;Data acquisition module 860 according to the mark of metadata to be updated,
Obtain the mark of the metadata clips of the metadata clips and update that update;Returned data sending module 870 is obtained according to metadata
Take request that the returned data of the mark including the metadata clips for updating metadata clips and update is sent to client.It returns
Data reception module 880 receives the returned data that server-side is sent in response to metadata acquisition request, and returned data includes updating
Metadata clips and update metadata clips mark;First update module 890 is based on returned data to member to be updated
Data slot carries out the update to match with updating type.
In a concrete application scene, in the operational process of client application App2, need using to using journey
The information of the metadata of the 6th byte to the 24th byte of sequence App2, it may be determined that the metadata clips of required application program App2 are
16th byte to the 24th byte then extracts the metadata of the 16th byte to the 24th byte for the application program App2 being locally stored
Segment, when extracting the data content of the metadata clips, when needing in client operational process according to application program App2
The 16th byte to the 24th byte metadata fragment data content come when obtaining specific data information, if user can not be by answering
When obtaining specific data information with the metadata fragment data content of the 16th byte to the 24th byte of program App2, i.e., at data
Reason failure, it may be determined that the status information of the metadata clips is storage error condition, and determines that the metadata clips are to be updated
Metadata clips, and the updating type of metadata clips to be updated is the metadata clips that are locally stored of modification, subsequent root
Metadata clips and its updating type to be updated according to the 6th byte to the 24th byte of application program App2, which are that modification is local, deposits
The metadata clips of storage generate and send the metadata acquisition request, which includes metadata piece to be updated
The mark of section is the 6th byte to the 24th byte, and server-side receives the metadata acquisition request from client, determines this yuan of number
The metadata clips to be updated of the 8th byte to the 16th byte of application program App2 are corresponded in server-side according to acquisition request, are taken
Server-side is corresponded to the metadata piece of the 8th byte to the 16th byte of application program App2 according to the metadata acquisition request by business end
Section is sent to client, the metadata clips for the update that client is returned based on server-side, the application that client is locally stored
The metadata clips to be updated of the 8th byte to the 16th byte of program App2 replace with the correspondence application program of server-side return
The metadata clips of the update of the 8th byte to the 16th byte of App2.
In another concrete application scene, in the operational process of client application App3, determines and need to use
Application program App3 is from the 3rd byte, and the size of metadata clips is the information of all metadata of 6 bytes, it may be determined that institute
The metadata clips for needing application program App3 are the 3rd byte to the 9th byte, then extract the application program App3's being locally stored
The metadata clips of 3rd byte to the 9th byte then extract the metadata piece when it is empty for extracting the metadata clips content
Segment fault, it may be determined that the status information of the metadata clips is not stored state, then, according to the not stored of the metadata clips
Status information can determine that the metadata clips are metadata clips to be updated, and determine the metadata clips to be updated more
New type is the not stored metadata clips of addition, then according to the to be updated of the 3rd byte to the 9th byte of application program App3
Metadata clips and its updating type be that the metadata clips that are locally stored of modification generate and send the metadata acquisition request,
Server-side receives the metadata acquisition request from client, determines that the metadata acquisition request is corresponding using journey in server-side
The metadata clips of the update of the 3rd byte to the 9th byte of sequence App3, server-side is according to the metadata acquisition request by server-side
The metadata clips of the update of the 3rd byte to the 9th byte of corresponding application program App3 are sent to client, due to transmission process
In the reasons such as interference, if client receives only the update of the 5th byte to the 9th byte of the correspondence application program App3 of return
Metadata clips, the metadata clips of the update of the 5th byte to the 9th byte to application program App3 of return are directly deposited
5th word in the metadata clips to be updated of the 5th byte to the 9th byte for the application program App3 that Chu Zhiyu client is locally stored
Section is to the corresponding position of the 9th byte, and client generates and sends the 3rd byte of application program App3 to server-side again at this time
Metadata clips and its updating type to be updated to the 5th byte are the acquisition request of the not stored metadata clips of addition,
Then the metadata clips by the update of the 3rd byte to the 5th byte for the application program App3 that server-side again returns to directly are deposited
The 3rd byte for the application program App3 that Chu Zhiyu client is locally stored is to the corresponding position of the 5th byte.
Those skilled in the art of the present technique are appreciated that the present invention includes being related to for executing in operation described herein
One or more equipment.These equipment can specially design and manufacture for required purpose, or also may include general
Known device in computer.These equipment have the computer program being stored in it, these computer programs are selectively
Activation or reconstruct.Such computer program can be stored in equipment (for example, computer) readable medium or be stored in
It e-command and is coupled in any kind of medium of bus respectively suitable for storage, the computer-readable medium includes but not
Be limited to any kind of disk (including floppy disk, hard disk, CD, CD-ROM and magneto-optic disk), ROM (Read-Only Memory, only
Read memory), RAM (Random Access Memory, immediately memory), EPROM (Erasable Programmable
Read-Only Memory, Erarable Programmable Read only Memory), EEPROM (Electrically Erasable
Programmable Read-Only Memory, Electrically Erasable Programmable Read-Only Memory), flash memory, magnetic card or light card
Piece.It is, readable medium includes by equipment (for example, computer) with any Jie for the form storage or transmission information that can be read
Matter.
Those skilled in the art of the present technique be appreciated that can be realized with computer program instructions these structure charts and/or
The combination of each frame and these structure charts and/or the frame in block diagram and/or flow graph in block diagram and/or flow graph.This technology neck
Field technique personnel be appreciated that these computer program instructions can be supplied to general purpose computer, special purpose computer or other
The processor of programmable data processing method is realized, to pass through the processing of computer or other programmable data processing methods
The scheme specified in frame or multiple frames of the device to execute structure chart and/or block diagram and/or flow graph disclosed by the invention.
Those skilled in the art of the present technique have been appreciated that in the present invention the various operations crossed by discussion, method, in process
Steps, measures, and schemes can be replaced, changed, combined or be deleted.Further, each with having been crossed by discussion in the present invention
Kind of operation, method, other steps, measures, and schemes in process may also be alternated, changed, rearranged, decomposed, combined or deleted.
Further, in the prior art to have and the step in various operations, method disclosed in the present invention, process, measure, scheme
It may also be alternated, changed, rearranged, decomposed, combined or deleted.
The above is only some embodiments of the invention, it is noted that for the ordinary skill people of the art
For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered
It is considered as protection scope of the present invention.
Claims (20)
1. a method of more new metadata in the client characterized by comprising
Required metadata clips are determined according to current data processing needs;
Based on the status information for the metadata clips being locally stored, determines metadata clips to be updated and its update class
Type;
Metadata acquisition request, the metadata are generated and sent according to the metadata clips and its updating type to be updated
Acquisition request includes the mark of metadata clips to be updated;
The returned data that server-side is sent in response to the metadata acquisition request is received, the returned data includes the member updated
The mark of data slot and the metadata clips of update;
The update to match with the updating type is carried out to the metadata clips to be updated based on the returned data.
2. the method for more new metadata in the client according to claim 1, wherein determine the member being locally stored
The step of status information of data slot, comprising:
Extract the metadata clips being locally stored;
The status information of the metadata clips is determined according to extraction result.
3. the method for more new metadata in the client according to claim 2, wherein based on the member being locally stored
The status information of data slot determines metadata clips and its updating type to be updated, specifically includes:
Fail when extracting, determines that the status information of the metadata clips is not stored state;
Determine that the metadata clips are metadata clips to be updated and described to more based on the not stored state
The updating type of new metadata clips is the not stored metadata clips of addition.
4. the method for more new metadata in the client according to claim 2, wherein based on the member being locally stored
The status information of data slot determines metadata clips and its updating type to be updated, specifically includes:
When extracting the metadata clips, corresponding data processing is executed according to the current data processing needs;
If data processing fails, determine the status information of the metadata clips for storage error condition;
Based on the storage error condition determine the metadata clips be the metadata clips to be updated and it is described to
The updating type of the metadata clips of update is the metadata clips that modification is locally stored.
5. the method for more new metadata in the client according to claim 1, wherein based on the returned data to institute
It states metadata clips to be updated and carries out the update to match with the updating type, comprising:
The mark of the metadata clips of metadata clips and the update based on the update, to the metadata to be updated
Segment carries out the update to match with the updating type.
6. the method for more new metadata in the client according to claim 5, wherein the metadata based on the update
The mark of segment and the metadata clips of the update carries out and the updating type phase metadata clips to be updated
Matched update, includes at least:
If the updating type is the not stored metadata clips of addition, by the metadata clips of the update store to it is described
The corresponding position of the mark of the metadata clips of update;Or
If the updating type is the metadata clips that modification is locally stored, by the mark phase of the metadata clips with the update
The metadata clips being locally stored at position are answered to replace with the metadata clips of the update.
7. the method for more new metadata in the client according to claim 1, wherein based on the returned data to institute
It states metadata clips to be updated and carries out the update to match with the updating type, comprising:
The mark of the metadata clips to be updated is compared with the mark of the metadata clips of the update, determines ratio
To result;
The update to match with the updating type is carried out to the metadata clips to be updated based on the comparison result.
8. the method for more new metadata in the client according to claim 7, wherein based on the comparison result to institute
It states metadata clips to be updated and carries out the update to match with the updating type, include at least:
If the updating type is the not stored metadata clips of addition, by the metadata clips of the update store to it is described
The corresponding position of comparison result;Or
If the updating type is the metadata clips that modification is locally stored, by the local with the comparison result corresponding position
The metadata clips of storage replace with the metadata clips of the update.
9. a kind of method for assisting more new metadata in server-side characterized by comprising
The metadata acquisition request from client is received, the metadata acquisition request includes metadata clips to be updated
Mark;
Extract the mark of the metadata clips to be updated in the metadata acquisition request;
According to the mark of the metadata to be updated, the mark of the metadata clips of update and the metadata clips of update is obtained
Know;
It will include the mark for updating metadata clips with the metadata clips of the update according to the metadata acquisition request
The returned data of knowledge is sent to the client, with for client based on the returned data to the metadata to be updated
Segment carries out the update to match with updating type.
10. the method according to claim 9 for assisting more new metadata in server-side, wherein the member to be updated
The mark of the mark of data slot and/or the metadata clips of the update, including following at least any one:
The location information of metadata clips;
The identification information of metadata clips;
The size of metadata clips identifies.
11. a kind of device of more new metadata in the client characterized by comprising
First determining module, for determining required metadata clips according to current data processing needs;
Second determining module determines first number to be updated for the status information based on the metadata clips being locally stored
According to segment and its updating type;
Request sending module is obtained for generating and sending metadata according to the metadata clips and its updating type to be updated
Request is taken, the metadata acquisition request includes the mark of metadata clips to be updated;
Returned data receiving module, the returned data sent for receiving server-side in response to the metadata acquisition request, institute
State the mark that returned data includes the metadata clips updated and the metadata clips of update;
First update module, for being carried out and the update class based on the returned data to the metadata clips to be updated
The update that type matches.
12. the device of more new metadata in the client according to claim 11, wherein the device further include:
Extraction module, for extracting the metadata clips being locally stored;
State determining module, for determining the status information of the metadata clips according to extraction result.
13. the device of more new metadata in the client according to claim 12, wherein the second determining module tool
Body includes:
First determination unit, for when extracting failure, determining that the status information of the metadata clips is not stored state;
Second determination unit, for determining that the metadata clips are the metadata to be updated based on the not stored state
The updating type of segment and the metadata clips to be updated is the not stored metadata clips of addition.
14. the device of more new metadata in the client according to claim 12, wherein the second determining module tool
Body includes:
Data processing unit, for executing phase according to the current data processing needs when extracting the metadata clips
The data processing answered;
Third determination unit determines the status information of the metadata clips if failing for data processing to store wrong shape
State;
4th determination unit, for determining that the metadata clips are first number to be updated based on the storage error condition
Updating type according to segment and the metadata clips to be updated is the metadata clips that modification is locally stored.
15. the device of more new metadata in the client according to claim 11, wherein first update module is used
In the mark of the metadata clips of metadata clips and the update based on the update, to the metadata piece to be updated
The update that Duan Jinhang and the updating type match.
16. the device of more new metadata in the client according to claim 15, wherein if the updating type is to add
Add not stored metadata clips, first update module be used to store the metadata clips of the update to it is described more
The corresponding position of the mark of new metadata clips;If or the updating type is the metadata clips that modification is locally stored, institute
The first update module is stated to be used for the metadata of the mark corresponding position of the metadata clips with the update being locally stored
Segment replaces with the metadata clips of the update.
17. the device of more new metadata in the client according to claim 11, wherein the first update module packet
It includes:
Comparing unit, for by the mark of the mark of the metadata clips to be updated and the metadata clips of the update into
Row compares, and determines comparison result;
Second updating unit, for being carried out and the update class based on the comparison result to the metadata clips to be updated
The update that type matches.
18. the device of more new metadata in the client according to claim 17, wherein if the updating type is to add
Add not stored metadata clips, second updating unit be used to store the metadata clips of the update to the ratio
To the corresponding position of result;If or the updating type is the metadata clips that modification is locally stored, second updating unit
For the metadata piece of the update will to be replaced with the metadata clips of the comparison result corresponding position being locally stored
Section.
19. a kind of device for assisting more new metadata in server-side characterized by comprising
Request receiving module, for receiving the metadata acquisition request from client, the metadata acquisition request include to
The mark of the metadata clips of update;
Marker extraction module, for extracting the mark of the metadata clips to be updated in the metadata acquisition request;
Data acquisition module obtains the metadata clips and update of update for the mark according to the metadata to be updated
Metadata clips mark;
Returned data sending module, for according to the metadata acquisition request will include the update metadata clips with it is described
The returned data of the mark of the metadata clips of update is sent to the client, to be based on the returned data for client
The update to match with updating type is carried out to the metadata clips to be updated.
20. the device according to claim 19 for assisting more new metadata in server-side, wherein the member to be updated
The mark of the mark of data slot and/or the metadata clips of the update, including following at least any one:
The location information of metadata clips;
The identification information of metadata clips;
The size of metadata clips identifies.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510728754.3A CN105159691B (en) | 2015-10-30 | 2015-10-30 | The method and device of more new metadata |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510728754.3A CN105159691B (en) | 2015-10-30 | 2015-10-30 | The method and device of more new metadata |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105159691A CN105159691A (en) | 2015-12-16 |
CN105159691B true CN105159691B (en) | 2019-03-05 |
Family
ID=54800558
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510728754.3A Active CN105159691B (en) | 2015-10-30 | 2015-10-30 | The method and device of more new metadata |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105159691B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105389399A (en) * | 2015-12-25 | 2016-03-09 | 北京奇虎科技有限公司 | Method and device for managing meta-information of database cluster |
CN107196984B (en) * | 2016-03-15 | 2020-06-26 | 华为技术有限公司 | Metadata sharing method, metadata source equipment and network intermediate equipment |
CN107463596B (en) * | 2017-03-24 | 2020-08-04 | 北京瑞卓喜投科技发展有限公司 | Block chain parallel query method and system for setting out-of-chain fault table |
CN110737447B (en) * | 2018-07-18 | 2023-11-14 | 阿里巴巴集团控股有限公司 | Application updating method and device |
CN109299421A (en) * | 2018-09-19 | 2019-02-01 | 中译语通科技股份有限公司 | A kind of data-updating method, server, electric terminal |
CN111124394A (en) * | 2019-11-26 | 2020-05-08 | 泰康保险集团股份有限公司 | Form configuration method and device based on metadata, equipment and medium |
CN113296687A (en) * | 2020-06-10 | 2021-08-24 | 阿里巴巴集团控股有限公司 | Data processing method, device, computing equipment and medium |
CN111787019B (en) * | 2020-07-02 | 2023-04-14 | 深圳市亲邻科技有限公司 | Information acquisition method and device based on block chain |
CN112486923A (en) * | 2020-12-11 | 2021-03-12 | 北京梧桐车联科技有限责任公司 | File updating method, device and system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102253980A (en) * | 2011-06-23 | 2011-11-23 | 上海西本网络科技有限公司 | Data processing method and data processing system |
CN102289761A (en) * | 2010-06-18 | 2011-12-21 | 微软公司 | Metadata-enabled dynamic updates of online advertisements |
US8880586B2 (en) * | 2010-04-08 | 2014-11-04 | Microsoft Corporation | Metadata subscription registry |
CN104391725A (en) * | 2014-12-08 | 2015-03-04 | 畅捷通信息技术股份有限公司 | Page display method and page display device |
-
2015
- 2015-10-30 CN CN201510728754.3A patent/CN105159691B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8880586B2 (en) * | 2010-04-08 | 2014-11-04 | Microsoft Corporation | Metadata subscription registry |
CN102289761A (en) * | 2010-06-18 | 2011-12-21 | 微软公司 | Metadata-enabled dynamic updates of online advertisements |
CN102253980A (en) * | 2011-06-23 | 2011-11-23 | 上海西本网络科技有限公司 | Data processing method and data processing system |
CN104391725A (en) * | 2014-12-08 | 2015-03-04 | 畅捷通信息技术股份有限公司 | Page display method and page display device |
Also Published As
Publication number | Publication date |
---|---|
CN105159691A (en) | 2015-12-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105159691B (en) | The method and device of more new metadata | |
CN108074177B (en) | Data reconciliation method, system and computer-readable storage medium | |
CN104899066B (en) | A kind of method and device continuously upgraded | |
US10887171B2 (en) | Routing configuration method of view files, storage medium, terminal device and apparatus | |
CN109766082B (en) | Method and device for application program page jump | |
CN103377053B (en) | Method, device and system for controlling application | |
CN102468906B (en) | A kind of method that in internet game, interaction logic is fault-tolerant and internet game tolerant system | |
US8874772B2 (en) | Using a knowledge network for file transfer protocol | |
CN110502546A (en) | A kind of data processing method and device | |
CN104965736B (en) | A kind of method and device continuously upgraded | |
JP6865763B2 (en) | Data processing method and equipment | |
CN104298733B (en) | A kind of service function implementation method and service function realization device | |
CN104951481A (en) | Method and device for managing database connection | |
CN103559063A (en) | Update method and update system of application, application system and parameter configuration system | |
CN105072608A (en) | Method and device for managing authentication token | |
US20140108367A1 (en) | Client apparatus and database server for resumable transaction and method thereof | |
CN106789695B (en) | Message processing method and device | |
CN110895521A (en) | OSD and MON connection method, device, equipment and storage medium | |
US20150278006A1 (en) | Information processing apparatus and information processing method | |
US20150088958A1 (en) | Information Processing System and Distributed Processing Method | |
CN101448136A (en) | Method for realizing video on-demand function and system thereof | |
CN105592143B (en) | A kind of file loading method and device | |
CN105991373B (en) | A kind of application protocol recognition methods and device | |
US11360785B2 (en) | Execution path determination in a distributed environment | |
CN107864127B (en) | Application program identification method and 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right | ||
TR01 | Transfer of patent right |
Effective date of registration: 20220714 Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015 Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park) Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd. Patentee before: Qizhi software (Beijing) Co.,Ltd. |