CN101374307B - Method and apparatus for updating digital content information of mobile equipment - Google Patents

Method and apparatus for updating digital content information of mobile equipment Download PDF

Info

Publication number
CN101374307B
CN101374307B CN200810223359XA CN200810223359A CN101374307B CN 101374307 B CN101374307 B CN 101374307B CN 200810223359X A CN200810223359X A CN 200810223359XA CN 200810223359 A CN200810223359 A CN 200810223359A CN 101374307 B CN101374307 B CN 101374307B
Authority
CN
China
Prior art keywords
digital content
content information
structure data
tree structure
data bag
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.)
Expired - Fee Related
Application number
CN200810223359XA
Other languages
Chinese (zh)
Other versions
CN101374307A (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.)
LIDE TECHNOLOGY DEVELOPMENT CO LTD
Peking University
Peking University Founder Group Co Ltd
Founder Apabi Technology Ltd
Original Assignee
LEADE TECHNOLOGY DEVELOPMENT Co Ltd
Peking University
Peking University Founder Group Co Ltd
Beijing Founder Apabi Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by LEADE TECHNOLOGY DEVELOPMENT Co Ltd, Peking University, Peking University Founder Group Co Ltd, Beijing Founder Apabi Technology Co Ltd filed Critical LEADE TECHNOLOGY DEVELOPMENT Co Ltd
Priority to CN200810223359XA priority Critical patent/CN101374307B/en
Publication of CN101374307A publication Critical patent/CN101374307A/en
Application granted granted Critical
Publication of CN101374307B publication Critical patent/CN101374307B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method for updating digital content information in a mobile device for solving the problem that the download flow is large, when the mobile device is updating digital content information on net in prior art. The method is as follows: at first, the mobile device extracts the information sign and updates the mode sign from the obtained digital content information needed to be updated, then determines the digital content information corresponding to the extracted information sign in the stored tree form structure data packet, according to the corresponding relationship between the stored information sign and digital content information, and then determines the updating strategy corresponding to the extracted updating mode sign, according to the corresponding relationship between the updating mode sign and updating strategy for save, at last the mobile device uses the obtained digital content information needed to be updated, and updates the corresponding digital content information according to the corresponding updating strategy. The invention also discloses a mobile device and a server.

Description

Upgrade the method and the device of digital content information in a kind of mobile device
Technical field
The present invention relates to the digital content management field, relate in particular to the method and the device that upgrade digital content information in a kind of mobile device.
Background technology
Along with the application of mobile device more and more widely; For example various mobile phones, have the palmtop PC (PDA of function of surfing the Net; Personal Digital Assistant), the extensive use of these mobile devices such as book reader, portable electronic device; It is also increasing that people utilize these equipment to be that content supplier directly downloads the demand of interested digital content from network, such as downloading these digital contents such as books, audio frequency, video.The kind of digital content is thousands of; What have is hundreds thousand of easily; Have 400,000 books like certain tame digital library; Certain music site has tens thousand of first songs, on mobile device, show these digital content informations and supplies people to select to download, and must at first these digital content informations be sent on the mobile device.
At present, the mode that transmits the information of these digital contents has multiple: copy the tabulation of digital content information to mobile device; Through PC (PC, Personal Computer) online, the tabulation of download digital content information copies mobile device then to; Mobile device is surfed the Net through 802.11b standard agreement (WiFi, Wireless Fidelity), the directly tabulation of download digital content information, and this method is had relatively high expectations to mobile device; Mobile device directly obtains the tabulation of digital content information etc. through GPRS (GPRS, General Packet RadioService) online.
In general, mobile device is through GPRS online, the tabulation of directly obtaining digital content information, this mode concerning the user most convenient, the most intuitively, least receive the restriction of objective condition.That therefore, also uses at present is the most extensive.Yet, when mobile device upgrades digital content information through the GPRS online at present, though have only the part digital content information that variation has taken place; But still need upgrade the tabulation of whole digital content information, the flow of surfing the Net like this is just than higher, and expense is also than higher for the user; In addition, since each when upgrading digital content information, the tabulation that all need download whole digital content information; Like this; Each data volume that transmits is bigger, because the restriction of communication and mobile device hardware, causes easily also that to be operable to power low.
Summary of the invention
In view of this, the embodiment of the invention provides the method for upgrading digital content information in a kind of mobile device, when surfing the Net the renewal digital content information in order to mobile device in the solution prior art, and the problem that downloading flow is big.
Upgrade the method for digital content information in a kind of mobile device that the embodiment of the invention provides, comprising:
Said mobile device is information extraction sign and update mode sign from the digital content information that the need that obtain upgrade;
According to the message identification of preserving and the corresponding relation of digital content information, confirm the digital content information of message identification correspondence in the tree structure data bag of preserving of extraction;
According to the corresponding relation of the update mode sign of preserving, confirm the corresponding update strategy of update mode sign that extracts with update strategy;
Adopt the digital content information of the need renewal of said acquisition, upgrade the digital content information of said correspondence according to the update strategy of said correspondence;
Wherein, said according to the message identification of preserving and the corresponding relation of digital content information, confirm that the message identification corresponding digital content information in the tree structure data bag of preserving that extracts comprises:
According to first corresponding relation of the message identification of preserving, confirm message identification corresponding nodes in the tree structure data bag of preservation of extracting with the node of tree structure data bag;
According to the node of the tree structure data bag of preserving and second corresponding relation of digital content information, confirm the digital content information that said corresponding nodes is corresponding.
A kind of mobile device that the embodiment of the invention provides comprises:
Extraction unit is used for digital content information information extraction sign and the update mode sign upgraded from the need that obtain;
First definite unit is used for according to the message identification of preserving and the corresponding relation of digital content information, confirms the digital content information of message identification correspondence in the tree structure data bag of preserving of extraction;
Second confirms the unit, is used for confirming the corresponding update strategy of update mode sign that extracts according to the corresponding relation of the update mode sign of preserving with update strategy;
Updating block, the digital content information that is used to adopt the need of said acquisition to upgrade upgrades the digital content information of said correspondence according to the update strategy of said correspondence;
Wherein, said first confirms that the unit comprises:
Node is confirmed subelement, is used for first corresponding relation according to the node of message identification of preserving and tree structure data bag, confirms message identification corresponding nodes in the tree structure data bag of preserving of extracting;
Information is confirmed subelement, is used for confirming the digital content information that said corresponding nodes is corresponding according to the node of the tree structure data bag of preserving and second corresponding relation of digital content information.
A kind of server that the embodiment of the invention provides comprises:
Generation unit is used for according to the node of the tree structure data bag of preserving and second corresponding relation of digital content information, and the digital content information that needs are upgraded generates the tree structure data bag;
Description of drawings
The message identification unit is used for first corresponding relation according to the node of message identification of preserving and tree structure data bag, confirms the message identification of the node of the tree structure data bag that said generation unit generates;
The update mode identify unit is used for confirming that according to the variable condition of digital content information the update mode of the tree structure data bag that said generation unit generates identifies.
In the embodiment of the invention mobile device at first from the digital content information that the need that obtain upgrade the information extraction sign identify with update mode; Then according to the message identification of preserving and the corresponding relation of digital content information; Confirm the digital content information of message identification correspondence in the tree structure data bag of preservation of extraction, and, confirm that the update mode of extracting identifies the update strategy of correspondence according to the update mode sign of preserving and the corresponding relation of update strategy; Adopt the digital content information of the need renewal of said acquisition at last; Upgrade the digital content information of said correspondence according to the update strategy of said correspondence, like this, when digital content information is upgraded in the mobile device online; Only need that part of digital content information of down loading updating, thereby reduced the information flow-rate when downloading.
Fig. 1 upgrades the flow chart of the method for digital content information for the embodiment of the invention;
Fig. 2 generates the flow chart of the tree structures list of tape identification for the embodiment of the invention;
Fig. 3 is the sketch map of the tree structures list of embodiment of the invention digital content information;
Fig. 4 is the flow chart that upgrades the digital content information in the mobile device in the embodiment of the invention;
Fig. 5 is the sketch map of the tree-like digital content tabulation 1 behind the database update in the embodiment of the invention;
Fig. 6 is the sketch map of the tree structures list 2 (1) of the digital content information of needs renewal in the present invention's enforcement;
Fig. 7 (a) is the sketch map of the tree structures list 2 (2) of the digital content information that needs upgrade in the embodiment of the invention;
Fig. 7 (b) is the sketch map of the tree structures list 2 (3) of the digital content information that needs upgrade in the embodiment of the invention;
Fig. 7 (c) is the sketch map of the tree structures list 2 (4) of the digital content information that needs upgrade in the embodiment of the invention;
Fig. 8 is the sketch map of the tree structures list 2 (5) of the digital content information that needs upgrade in the inventive embodiments;
Fig. 9 is the sketch map of original digital content tabulation 3 of preserving in the mobile device in the embodiment of the invention;
Figure 10 is the sketch map of the digital content tabulation 4 after the renewal of preserving in the mobile device in the embodiment of the invention;
Figure 11 is the structure chart of embodiment of the invention mobile device;
Figure 12 is the structure chart of embodiment of the invention server.
Embodiment
After the digital content information that the webserver will upgrade in the embodiment of the invention generates the tree structure data bag; According to the corresponding relation of message identification and the node of the preserving tree structure data bag, the node of this tree structure data bag is carried out message identification.After mobile device obtains this tree structure data bag from network side, resolve this tree structure data bag acquired information sign and update mode sign, mobile device upgrades the tree structure data bag of preserving according to said message identification and update mode sign.
Wherein, the detailed process that mobile device upgrades digital content information is following, referring to Fig. 1:
Step 101: information extraction sign and update mode sign from the digital content information that the need that obtain upgrade.
Before this step; The webserver is at first according to the node of the tree structure data bag of preserving and the corresponding relation of digital content information; The digital content information that needs are upgraded generates the tree structure data bag; And, confirm the message identification of the node of this tree structure data bag according to the corresponding relation of message identification and the node of the preserving tree structure data bag.Simultaneously, server is confirmed the update mode sign of said tree structure data bag according to the variable condition of digital content information.
Mobile device is resolved this tree structure data bag after obtaining this tree structure data bag from network side, acquired information sign and update mode sign.
Step 102:, confirm the digital content information of message identification correspondence in the tree structure data bag of preserving of extraction in the step 101 according to the message identification of preserving and the corresponding relation of digital content information.
Here; At first according to first corresponding relation of the node of message identification of preserving and tree structure data bag; In the tree structure data bag of preserving, search the message identification corresponding nodes of extraction; According to the node of the tree structure data bag of preserving and second corresponding relation of digital content information, confirm the corresponding digital content information of the said node that finds then.
When first corresponding relation according to the node of message identification of preserving and tree structure data bag; In the time of in the tree structure data bag of preserving, can not finding the message identification corresponding nodes of extraction; Then can the digital content information in the tree structure data bag of preserving be confirmed as the corresponding digital content information of message identification of extraction; In subsequent step,, the digital content information in the tree structure data bag of preserving is upgraded according to the update mode sign of extracting.
Step 103:, confirm the corresponding update strategy of update mode sign that extracts according to the corresponding relation of the update mode sign of preserving with update strategy.Here update strategy comprises: editor, deletion or insertion.
Step 104: the digital content information that the need that adopt step 101 to obtain upgrade, the digital content information that the update strategy step of updating of confirming according to step 103 102 is confirmed.
Here, in the tree structure data bag that step 102 is being preserved, can find the message identification corresponding nodes of extraction, and when update strategy is editor, the digital content information that the digital content information replacement step 102 that the need that step 101 is obtained upgrade is confirmed.
In the tree structure data bag that step 102 is being preserved, can find the message identification corresponding nodes of extraction, and when update strategy is deletion, the digital content information that deletion step 102 is confirmed.
In the tree structure data bag that step 102 is being preserved, can not find the message identification corresponding nodes of extraction; And when update strategy is when inserting, in the digital content information in the tree structure data bag of the preservation that the digital content information inserting step 102 that the need that then according to the update mode sign of extracting step 101 obtained upgrade is confirmed.
Only need to extract earlier the message identification and the update mode sign of the digital content information that need upgrade in the embodiment of the invention; Obtain the message identification and corresponding digital content information and the update strategy of update mode sign that extract then respectively; Adopt the digital content information of the need renewal that obtains at last; Upgrade the digital content information of said correspondence according to the update strategy of said correspondence; Therefore, obtain the corresponding digital content information of the message identification that extracts, and the sequencing that obtains the corresponding update strategy of the update mode sign extracted does not influence and in mobile device, upgrades digital content information.In the above-described embodiments, carried out step 102 earlier, back execution in step 103 also can first execution in step 103, and execution in step 102 again.
After having upgraded digital content information, mobile device is also showed the digital content information after the renewal.
Below in conjunction with Figure of description the embodiment of the invention is described in further detail.In the embodiment of the invention, the tree structure data bag is represented with the form of tree-like digital content tabulation.The webserver is confirmed to organize data content information with the form of tree-like digital content tabulation; And each node in the tree-like digital content tabulation has been carried out message identification, preserved corresponding relation and the node of tree-like digital content tabulation and the corresponding relation of digital content information of the node of message identification and tree-like digital content tabulation simultaneously.Thereby before the data content information in upgrading mobile device; In mobile device, preserved original digital content information, and preserved corresponding relation and the node of tree-like digital content tabulation and the corresponding relation of digital content information of the node of message identification and the tabulation of tree-like digital content with the form of tree-like digital content tabulation.
The detailed process of form of tree-like digital content tabulation that all data content information sets is made into tape identification is following, referring to Fig. 2:
Step 201: all digital content informations are generated a tree-like digital content tabulation, and preserve the node of tree-like digital content tabulation and the corresponding relation of digital content information.Here, can digital content information be organized into the document form of a tree structure with extendible markup language (XML, Extensible Markup Language), just the formal representation of digital content information with tree-like digital content tabulation be come out.
Here, can tabulate the structure of organization number content information with tree-like digital content according to the natural classification situation of digital content information and the characteristics of XML.Referring to Fig. 3:
Root node, just the one-level node is " digital content ".Five two-level nodes " newspaper ", " periodical ", " books ", " music ", " video " are arranged under the root node.Some three grades of nodes are arranged again under each two-level node,, nodes such as " natural science ", " social science ", " other " are arranged under " periodical " as nodes such as " physical culture ", " other " are arranged under " newspaper ".Three grades of nodes can be down the concrete clauses and subclauses of concrete book, newspaper, periodical and medium, i.e. level Four node.So just generate a tree-like digital content tabulation.
Step 202: the node of tree-like digital content being tabulated according to the natural classification situation of digital content information carries out message identification, sets up and preserve the nodes at different levels of tree-like digital content tabulation and the one-to-one relationship of message identification.Referring to Fig. 3, one, two, three node of the tree structures list of the information of digital content is carried out message identification.The concrete mode of message identification can utilize the principle of XML to carry out, as, the ID attribute of node is set.In the present embodiment; The ID of root node is set to ROOT; The ID of two-level node is set to NP, JN, BK, MC and VD respectively; And having set gradually the ID value of three grades of nodes, each node all has a unique ID, so just sets up the nodes at different levels of tree-like digital content tabulation and the one-to-one relationship of message identification.
In the embodiment of the invention, the tabulation of tree-like digital content is divided into three layers, but the present invention does not limit so, can be divided into one deck, two layers, three layers, four layers, five layers----according to the natural classification situation of digital content information.And successively each node in every layer is carried out message identification according to the method described above, like this, the message identification of each node all is unique.
After the expression-form of specified data content information; In mobile device, preserved original digital content information with the form of tree-like digital content tabulation; And each node all has message identification in this tree-like digital content tabulation; Then specific as follows to the renewal process of the information of the digital content in the mobile device, referring to Fig. 4:
Step 401: the digital content information that server will upgrade generates tree-like digital content tabulation.Variation has taken place in some digital content informations in the database; For example increased " roundup news " this type newspaper newly, variation, table 1 as shown in Figure 5 have taken place in the tree-like digital content tabulation of server for saving so; When mobile device is upgraded; Need whole table 1 not sent to mobile device, only need the information of the digital content that these are newly-increased to generate tree-like digital content tabulation, here can be according to the node of the tree-like digital content tabulation of preserving and the corresponding relation of digital content information; The digital content information that needs are upgraded generates a tree-like digital content tabulation 2 (1) that only comprises " roundup news " node and subordinate's child node thereof, and is as shown in Figure 6.
In the embodiment of the invention,, here, the information of data updated content is generated tree-like digital content tabulates two kinds of processing modes are arranged if " roundup news " at present below " newspaper " with some newspaper in " physical culture " renewal have taken place all:
(1) generates the digital content tabulation 2 (2) that comprises " newspaper " node and all subordinate's nodes thereof, referring to Fig. 7 (a);
(2) handle at twice, generate the digital content tabulation 2 (3) that comprises " roundup news " node and subordinate's child node thereof earlier, referring to Fig. 7 (b); After carrying out subsequent treatment, accomplish renewal, then to " roundup news " part; Generation comprises the digital content tabulation 2 (4) of " physical culture " node and subordinate's child node thereof; Referring to Fig. 7 (c), carry out subsequent treatment again, accomplish renewal to " physical culture " part.It is thus clear that this step can all be handled the digital content information that upgrades in batches.
Certainly, in the embodiment of the invention, if " newspaper ", " periodical " in the database, variation has all taken place in the information of some digital content below " books ", generates the tree-like digital content tabulation 1 of the information that comprises all digital contents so, and is as shown in Figure 5.
During if the present invention implements,, then generate the digital content tabulation 2 (5) that only comprises " physical culture " node, referring to Fig. 8 if removed the newspaper of " physical culture " this classification in the database.
Step 402: according to the nodes at different levels in the tree structures list of the digital content information of preserving and the one-to-one relationship of message identification; Server carries out message identification to the nodes at different levels that comprise in the tree-like digital content tabulation that needs updated portion that generate; And according to the situation of change of digital content information node to the highest level in this tree structures list; Just the root node in this tree structure digital content tabulation carries out the sign of update mode, forms a tree-like digital content tabulation that contains message identification and update mode sign.
If server is informed in the newspaper that database has increased " roundup news " these classifications; The tree-like digital content tabulation 2 (1) that generates in the step 401; At first,, can utilize the principle of XML to carry out message identification here according to the one-to-one relationship of the node of server for saving and message identification the sign of carrying out three grades of nodes to the root node " roundup news " of this tabulation; As the ID attribute of node is set, the ID of the root node " roundup news " of therefore should tree-like digital content tabulating is " NP-NP ".
Because of having increased the newspaper of " roundup news " these types in the database newly, the update mode like the root node of tree-like digital content tabulation 2 (1) that then forms in the step 401 be " new node needs insertion ", so update strategy is " insertion ".Here; Can identify with XML tag attribute rudstyle; Utilize two other XML tag attribute rtlevel and tagpos to represent rank and the order in this rank of new node in the up-to-date tree-like digital content tabulation of data-base recording respectively then, obviously the value of rtlevel and tagpos attribute is natural number.Here, the tree-like digital content tabulation 2 (1) that step 401 generates, its update strategy is carrying out after the message identification for inserting, and root node " roundup news " is carried out the update mode sign, can the udstyle property value of " roundup news " be made as 1.If latest digital contents list such as Fig. 5 of data-base recording are said, then " roundup news " are positioned at the third level, and the position that in the third level, is in first, so the value of rtlevel and tagpos attribute is respectively 3 and 1.
If server is known in the database some issue of a newspaper time variation has been taken place; And the tree-like digital content tabulation 2 (2) that generates in the step 401; Then to the message identification that carries out two-level node of " newspaper ", therefore the ID of this tree-like digital content tabulation root node " newspaper " is " NP ".And " roundup news ", " physical culture ", " other " etc. are carried out the message identification of three grades of nodes, its ID be respectively " NP-NP ", " NP-SP ", " NP-OT ".
Variation has taken place in a lot of concrete issue of a newspaper times of " newspaper " the inside, and the update mode of the root node of then tree-like digital content tabulation 2 (2) is " old node needs replacement ", so update strategy is " editor ".Here, can use udstyle property value=2 to identify.
If server is informed in the newspaper that database has been deleted " physical culture " this classification; And the tree-like digital content tabulation 2 (5) that step 401 generates has only a node " physical culture ", and therefore the ID of " physical culture " is " NP_SP "; And the update mode of this node is " an old node; need deletion ", and promptly the update mode strategy is " deletion ", can use udstyle property value=3 to identify.
These update strategies of server for saving and the corresponding relation of new logo more.
Step 403: the tree-like digital content tabulation that contains message identification and update mode sign that mobile device obtains to form in the step 402.
In this step, mobile device has multiple mode to obtain this tree-like digital content tabulation, should tree-like digital content tabulation copy mobile device to; Perhaps,, download this tree-like digital content tabulation, copy mobile device then to through the PC online; Perhaps, mobile device is directly downloaded this tree-like digital content tabulation through the WiFi online; Perhaps, mobile device directly obtains this tree-like digital content tabulation through the GPRS online; Perhaps the address of tree-like digital content tabulation is sent to the mobile device of cell phone type through note, trigger mobile device and obtain tree-like digital content tabulation through the GPRS online by network side.
Step 404: mobile device is resolved the tree data contents list that from step 403, acquires.Because this tree-like digital content tabulation is the data of one section XML structure in essence, mobile device adopts XML resolver commonly used can resolve, discern, the tree structure of reconstructing digital contents list.After the parsing; Mobile device can obtain the message identification and the update mode sign of the highest level node of the tree-like digital content tabulation that step 403 obtains, the value of ID, udstyle, rtlevel and the tagpos attribute of the root node of the tree-like digital content tabulation that just acquires.
If the tree data contents list 2 (1) that acquires in the step 403; Then through after XML resolver resolves, the identification; The message identification of the root node that gets access to and update mode sign, just the ID of " roundup news " is " NP_NP ", udstyle is " 1 "; Rtlevel is " 3 ", and tagpos is " 1 ".If the tree data contents list 2 (2) that acquires in the step 404, then through after XML resolver resolves, the identification, the message identification of the root node that gets access to and update mode sign, just the ID of " newspaper " is " NP ", udstyle is " 2 ".If the tree data contents list 2 (5) that acquires in the step 404, then through after XML resolver resolves, the identification, the message identification of the root node that gets access to and update mode sign, just the ID of " physical culture " is " NP-SP ", udstyle is " 3 ".
Step 405: according to the message identification of the highest level node that identifies in the step 404 ID of root node just; In the original tree-like digital content tabulation of mobile device self; According to corresponding relation that preserve and node common message identification of arranging of server and the tabulation of tree-like digital content; Search this message identification corresponding nodes, when finding this message identification corresponding nodes, then execution in step 406; If can not find this message identification corresponding nodes, then execution in step 410.
Here; The concrete grammar of searching this message identification corresponding nodes in the tree-like digital content tabulation of in mobile device, preserving has multiple; Can be directly the ID of each node in the tree-like digital content tabulation of the ID of the root node that identifies and preservation be compared, judge whether it is identical.Also can classification searching of one-level one-level from high to low; The highest node that the ID of the root node of promptly looking for earlier and identifying is complementary; The second level node that the ID of the root node of in this subordinate's node of highest node, searching and identifying then is complementary; And then the node that is complementary of the ID of the root node of in subordinate's node of this second level node, searching and identifying, the one-level one-level is down searched like this.
The original tree-like digital content tabulation table of in mobile device, preserving 3 as shown in Figure 9; If the ID that identifies in the step 404 is " NP_NP "; According to corresponding relation that preserve and node common message identification of arranging of server and the tabulation of tree-like digital content; In table 3, search " NP_NP " corresponding nodes, do not find " NP_NP " corresponding nodes, so execution in step 410.
If the ID that identifies in the step 404 is " NP "; According to corresponding relation that preserve and node common message identification of arranging of server and the tabulation of tree-like digital content; In table 3, search " NP " corresponding nodes, find after " NP " corresponding nodes is newspaper execution in step 406.
If the ID that identifies in the step 404 is " NP_SP "; According to corresponding relation that preserve and node common message identification of arranging of server and the tabulation of tree-like digital content; In table 3, search " NP_SP " corresponding nodes; Find after " NP_SP " corresponding nodes is physical culture execution in step 406.
Step 406: the update mode sign of the highest level node that identifies in the determining step 404, just whether the value of the udstyle of root node equals 2, is, and then execution in step 407, are not, and then execution in step 408.
Step 407: when the tree-like digital content that step 403 obtains tabulates 2 (2); The value that step 404 identifies the udstyle of its root node " newspaper " is 2 o'clock; According to that preserve and the corresponding relation of the update mode sign common agreement of server with update strategy; Can know that update strategy is " editor ", the update mode of root node is " an old node, need replacement ", node and all subordinate's nodes thereof that the root node in the tree-like digital content tabulation that therefore acquires with step 404 and whole subordinate's node replacement step 405 thereof find; Other nodes in original tree-like digital content tabulation table 3 keep, and do not upgrade.
Step 408: the update mode sign of the highest level node that identifies in the determining step 404, just whether the value of the udstyle of root node equals 3, is, and then execution in step 409, are not, and then execution in step 412.
Step 409: when the tree-like digital content that step 403 obtains tabulates 2 (5); The value that step 404 identifies the udstyle of its root node " physical culture " is 3 o'clock; According to that preserve and the corresponding relation of the update mode sign common agreement of server with update strategy; Can know that update strategy is " deletion ", the update mode of root node is " old node, need deletion ", therefore deletes node and all the subordinate's nodes thereof that step 405 finds; Other nodes in original tree-like digital content tabulation table 3 keep, and do not upgrade.
Step 410: the update mode sign of the highest level node that identifies in the determining step 404, just whether the value of the udstyle of root node equals 1, is, and then execution in step 411, are not, and then execution in step 412.
Step 411: identify udstyle, the rtlevel of root node just, the value of tagpos according to the update mode of the highest level node that identifies in the step 404, the tree-like digital content tabulation that step 403 acquires is inserted in the tree-like digital content tabulation of preserving.
When the tree-like digital content that step 403 obtains tabulates 2 (1); The value that step 404 identifies the udstyle of root node " roundup news " is 1 o'clock; According to that preserve and the corresponding relation of the update mode sign common agreement of server with update strategy; Can know that update strategy is " insertion ", the update mode of root node is " new node, need insert ", and the rtlevel that identifies this moment, the property value of tagpos are respectively 3 and 1; The particular location that can obtain being inserted into the tree-like digital content tabulation table 3 that mobile device preserves is the position that ranked first in the third level node; Therefore the tree-like digital content tabulation that acquires of step 404 is inserted this position, the tree-like digital content tabulation after obtaining to upgrade, table 4 shown in figure 10.
Step 412: this method finishes, and mobile device does not upgrade the tree-like digital content tabulation of preservation.
Mobile device is showed the tree-like digital content tabulation after upgrading.Mobile device can be showed the tree-like digital content tabulation after the renewal as required by rights.Such as show the whole contents tabulation according to the list mode in the explorer in the Windows operational network.
Especially; When not having original digital content information in the mobile device; After then the webserver digital content information that mobile device is needed generates the tree-like digital content tabulation of the breath sign of taking a message; Mobile device acquires this tree-like digital content tabulation, and displaying by rights, thereby the digital content information of accomplishing this mobile device upgrades.
The foregoing description is to be that example is described in mobile device, to upgrade digital content information; Therefore but can not think that the embodiment of the invention only can be used for mobile device, in the such mobile device of PC, also can use the information updating that the method for the invention is carried out digital content.
Certainly; In the foregoing description; Digital content information that the webserver will upgrade generates a root node and takes a message after the tree-like digital content tabulation of breath sign and update mode sign, can also should tree-like digital content tabulation carry out encryption according to the needs of practical application, thereby after this tree-like digital content of mobile device acquisition is tabulated; Also need this tree-like digital content tabulation is deciphered, carry out update processing then.
Mobile device in the embodiment of the invention comprises: extraction unit 100, the first confirms that unit 200, second confirm unit 300 and updating block 400, referring to Figure 11:
Extraction unit 100 is used for digital content information information extraction sign and the update mode sign upgraded from the need that obtain.
First definite unit 200 is used for according to the message identification of preserving and the corresponding relation of digital content information, confirms the digital content information of message identification correspondence in the tree structure data bag of preserving of extraction.
Second confirms unit 300, is used for confirming the corresponding update strategy of update mode sign that extracts according to the corresponding relation of the update mode sign of preserving with update strategy.
Updating block 400, the digital content information that is used to adopt the need of said acquisition to upgrade upgrades the digital content information of said correspondence according to the update strategy of said correspondence.
Further, extraction unit 100 is resolved said tree structure data bag after obtaining to comprise the tree structure data bag of the digital content information that needs renewal from network side, acquired information sign and update mode sign.
First confirms that unit 200 is at first according to first corresponding relation of the node of message identification of preserving and tree structure data bag; In the tree structure data bag of preserving, search the message identification corresponding nodes of extraction; According to the node of the tree structure data bag of preserving and second corresponding relation of digital content information, confirm to find the corresponding digital content information of corresponding nodes then.In the first tree structure data bag confirming to preserve unit 200, can not find the message identification corresponding nodes of extraction, then first confirms that unit 200 confirms the message identification corresponding digital content information of tree structure data bags for extracting of preserving.
After first definite unit 200 finds said message identification corresponding nodes; And when update mode was designated editor, the digital content information that unit 200 is confirmed was confirmed in the digital content information replacement first that the need that updating block 400 acquires extraction unit 100 upgrade.Perhaps,
When first confirm single unit 200 is found said message identification corresponding nodes after, and update mode is when being designated deletion, the digital content information that unit 200 is definite is confirmed in updating block 400 deletions first.Perhaps,
After first definite list does not find said message identification corresponding nodes with unit 200; And when update mode is designated to insertion, in the digital content information that the digital content information insertion first that updating block 400 obtains to upgrade according to the update mode sign with extraction unit 100 is confirmed to confirm unit 200.
In the embodiment of the invention, mobile device also comprises display unit, is used to show the digital content information after the renewal.
Server in the embodiment of the invention comprises: generation unit 100, message identification unit 200 and update mode identify unit 300, referring to Figure 12:
Generation unit 100 is used for according to the node of the tree structure data bag of preserving and second corresponding relation of digital content information, and the digital content information that needs are upgraded generates the tree structure data bag.
Message identification unit 200 is used for first corresponding relation according to message identification and the node of the preserving tree structure data bag, and the node of said tree structure data bag is carried out message identification.
Update mode identify unit 300 is used for according to the variable condition of digital content information said tree structure data bag being carried out the update mode sign.
In the embodiment of the invention mobile device at first from the digital content information that the need that obtain upgrade the information extraction sign identify with update mode; Then according to the message identification of preserving and the corresponding relation of digital content information; Confirm the digital content information of message identification correspondence in the tree structure data bag of preservation of extraction, and, confirm that the update mode of extracting identifies the update strategy of correspondence according to the update mode sign of preserving and the corresponding relation of update strategy; Adopt the digital content information of the need renewal of said acquisition at last; Upgrade the digital content information of said correspondence according to said update strategy, like this, when mobile device upgrades digital content information through the GPRS online; Can reduce the information flow-rate when downloading; Improve the success rate of operation, and can search, improve the speed of upgrading through layering; Thereby the digital content information of renewal can contain the digital content information of flood tide, transmission, the reduction mobile device software and hardware that can divide batch in time to transmit, farthest stop duplicate message fast requires, reduces customer charge, makes things convenient for the user to show.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.

Claims (10)

1. upgrade the method for digital content information in the mobile device, it is characterized in that, comprising:
Said mobile device is information extraction sign and update mode sign from the digital content information that the need that obtain upgrade;
According to the message identification of preserving and the corresponding relation of digital content information, confirm the digital content information of message identification correspondence in the tree structure data bag of preserving of extraction;
According to the corresponding relation of the update mode sign of preserving, confirm the corresponding update strategy of update mode sign that extracts with update strategy;
Adopt the digital content information of the need renewal of said acquisition, upgrade the digital content information of said correspondence according to the update strategy of said correspondence;
Wherein, said according to the message identification of preserving and the corresponding relation of digital content information, confirm that the message identification corresponding digital content information in the tree structure data bag of preserving that extracts comprises:
According to first corresponding relation of the message identification of preserving, confirm message identification corresponding nodes in the tree structure data bag of preservation of extracting with the node of tree structure data bag;
According to the node of the tree structure data bag of preserving and second corresponding relation of digital content information, confirm the digital content information that said corresponding nodes is corresponding.
2. the method for claim 1 is characterized in that, said mobile device information extraction sign from the digital content information that the need that obtain upgrade identifies with update mode and comprises:
Said mobile device obtains to comprise the tree structure data bag of the digital content information that needs renewal from network side;
Resolve said tree structure data bag, acquired information sign and update mode sign.
3. the method for claim 1, the digital content information that the need of the said acquisition of said employing upgrade, the digital content information that upgrades said correspondence according to the update strategy of said correspondence comprises:
When update strategy is when editor, the digital content information that the need of said acquisition upgrade is replaced the digital content information of said correspondence;
When update strategy is deletion, delete the digital content information of said correspondence;
When update strategy was insertion, the digital content information that the need that will obtain according to said update mode sign upgrade inserted in the digital content information of said correspondence.
4. the method for claim 1 is characterized in that, before the information extraction sign identified with update mode from the digital content information that obtains, this method comprised at said mobile device:
Server is according to the node of the tree structure data bag of preserving and second corresponding relation of digital content information, and the digital content information that needs are upgraded generates the tree structure data bag;
Said server is according to first corresponding relation of the node of the tree structure data bag of message identification of preserving and generation, confirms the message identification of node of the tree structure data bag of said generation;
Said server is confirmed the update mode sign of the tree structure data bag of said generation according to the variable condition of digital content information.
5. the method for claim 1 is characterized in that, adopts the digital content information of said acquisition, upgrades according to said update strategy after the digital content information of said correspondence, and this method also comprises:
Said mobile device is showed the digital content information after upgrading.
6. a mobile device is characterized in that, comprising:
Extraction unit is used for digital content information information extraction sign and the update mode sign upgraded from the need that obtain;
First definite unit is used for according to the message identification of preserving and the corresponding relation of digital content information, confirms the digital content information of message identification correspondence in the tree structure data bag of preserving of extraction;
Second confirms the unit, is used for confirming the corresponding update strategy of update mode sign that extracts according to the corresponding relation of the update mode sign of preserving with update strategy;
Updating block, the digital content information that is used to adopt the need of said acquisition to upgrade upgrades the digital content information of said correspondence according to the update strategy of said correspondence;
Wherein, said first confirms that the unit comprises:
Node is confirmed subelement, is used for first corresponding relation according to the node of message identification of preserving and tree structure data bag, confirms message identification corresponding nodes in the tree structure data bag of preserving of extracting;
Information is confirmed subelement, is used for confirming the digital content information that said corresponding nodes is corresponding according to the node of the tree structure data bag of preserving and second corresponding relation of digital content information.
7. mobile device as claimed in claim 6 is characterized in that, said extraction unit comprises:
Obtain subelement, be used for comprising the tree structure data bag of the digital content information that needs renewal from the network side acquisition;
Resolve subelement, be used to resolve said tree structure data bag, acquired information sign and update mode sign.
8. mobile device as claimed in claim 6 is characterized in that, said updating block comprises:
Editor's subelement is used for being when editor when update strategy, and the digital content information of the need renewal of said acquisition is replaced the digital content information of said correspondence;
Leave out subelement, be used for when update strategy is deletion, deleting the digital content information of said correspondence;
Insert subelement, be used for when update strategy is insertion, the digital content information that the need that will obtain according to said update mode sign upgrade inserts in the digital content information of said correspondence.
9. mobile device as claimed in claim 6 is characterized in that, this mobile device also comprises:
Display unit is used to show the digital content information after the renewal.
10. a server is characterized in that, comprising:
Generation unit is used for according to the node of the tree structure data bag of preserving and second corresponding relation of digital content information, and the digital content information that needs are upgraded generates the tree structure data bag;
The message identification unit is used for first corresponding relation according to the node of message identification of preserving and tree structure data bag, confirms the message identification of the node of the tree structure data bag that said generation unit generates;
The update mode identify unit is used for confirming that according to the variable condition of digital content information the update mode of the tree structure data bag that said generation unit generates identifies.
CN200810223359XA 2008-09-26 2008-09-26 Method and apparatus for updating digital content information of mobile equipment Expired - Fee Related CN101374307B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810223359XA CN101374307B (en) 2008-09-26 2008-09-26 Method and apparatus for updating digital content information of mobile equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810223359XA CN101374307B (en) 2008-09-26 2008-09-26 Method and apparatus for updating digital content information of mobile equipment

Publications (2)

Publication Number Publication Date
CN101374307A CN101374307A (en) 2009-02-25
CN101374307B true CN101374307B (en) 2012-08-22

Family

ID=40448177

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810223359XA Expired - Fee Related CN101374307B (en) 2008-09-26 2008-09-26 Method and apparatus for updating digital content information of mobile equipment

Country Status (1)

Country Link
CN (1) CN101374307B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102413175A (en) * 2011-11-14 2012-04-11 江苏联著实业有限公司 Accurate updating system for digital network newspaper
CN105160002B (en) * 2015-09-09 2019-03-12 浙江中控技术股份有限公司 A kind of method and system of global index
CN108737487B (en) * 2018-03-21 2020-09-29 腾讯科技(深圳)有限公司 Data synchronization method and device, storage medium and electronic device
CN110035108B (en) * 2018-12-26 2022-01-28 创新先进技术有限公司 Information pushing method and system
CN114205665B (en) * 2020-06-09 2023-05-09 抖音视界有限公司 Information processing method, device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1519268A2 (en) * 2003-09-25 2005-03-30 Curitel Communications, Inc. Communication terminal and communication network for partially updating software, software update method, and software creation device and method therefor
CN1758220A (en) * 2004-10-08 2006-04-12 华为技术有限公司 Method of updating software release
CN1976344A (en) * 2005-11-16 2007-06-06 汤姆森许可贸易公司 Method for updating a data record and device for carrying out the method
CN101127869A (en) * 2007-09-20 2008-02-20 中兴通讯股份有限公司 An update and transmission method for electronic service guidance content information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1519268A2 (en) * 2003-09-25 2005-03-30 Curitel Communications, Inc. Communication terminal and communication network for partially updating software, software update method, and software creation device and method therefor
CN1758220A (en) * 2004-10-08 2006-04-12 华为技术有限公司 Method of updating software release
CN1976344A (en) * 2005-11-16 2007-06-06 汤姆森许可贸易公司 Method for updating a data record and device for carrying out the method
CN101127869A (en) * 2007-09-20 2008-02-20 中兴通讯股份有限公司 An update and transmission method for electronic service guidance content information

Also Published As

Publication number Publication date
CN101374307A (en) 2009-02-25

Similar Documents

Publication Publication Date Title
CN101876983B (en) Method for partitioning database and system thereof
CN105988996B (en) Index file generation method and device
US20130066818A1 (en) Automatic Crowd Sourcing for Machine Learning in Information Extraction
CN105488050B (en) A kind of more indexing means of database, apparatus and system
US20130290929A1 (en) Method of managing script, server performing the same and storage media storing the same
CN108038114A (en) A kind of path query method, terminal, computer-readable recording medium
CN102193917A (en) Method and device for processing and querying data
KR20060045659A (en) Method and system for renaming consecutive keys in a b-tree
CN101996195A (en) Searching method and device of voice information in audio files and equipment
CN101374307B (en) Method and apparatus for updating digital content information of mobile equipment
CN101727502A (en) Data query method, data query device and data query system
CN111831911A (en) Query information processing method and device, storage medium and electronic device
CN102831001A (en) Method and device for manufacturing of software upgrading package and method and device for program upgrading
CN110636345B (en) Multimedia information sharing method and system under same identity account
CN110750975B (en) Introduction text generation method and device
US7925645B2 (en) Dynamic metadata filtering for classifier prediction
CN108363684A (en) List creation method, device and server
CN104035993A (en) Memory search method for e-books, e-book management system and reading system
CN109471838A (en) The operating method of Catalog Documents, device, electronic equipment, readable storage medium storing program for executing
CN111782731A (en) Data synchronization method and device
CN101145164B (en) Chronological book inquiry method and device
CN101944117B (en) Sorting and searching method and system based on database
CN106599082B (en) Retrieval method, related device and electronic equipment
CN102737082A (en) Method and system for dynamically updating file data indexes
CN102171696B (en) The generation method and apparatus of customization data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20090821

Address after: Number 5, the Summer Palace Road, Beijing, Haidian District: 100871

Applicant after: Peking University

Co-applicant after: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Co-applicant after: FOUNDER APABI TECHNOLOGY Ltd.

Address before: Number 5, the Summer Palace Road, Beijing, Haidian District: 100871

Applicant before: Peking University

Co-applicant before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Co-applicant before: FOUNDER APABI TECHNOLOGY Ltd.

ASS Succession or assignment of patent right

Owner name: BEIDA FANGZHENG GROUP CO. LTD. BEIJING FOUNDER APA

Free format text: FORMER OWNER: BEIDA FANGZHENG GROUP CO. LTD. BEIJING FOUNDER APABI TECHNOLOGY CO., LTD. BEIJING FOUNDER FEIYUE MEDIA TECHNOLOGY CO., LTD.

Effective date: 20120223

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20120223

Address after: 100871 Beijing the Summer Palace Road, Haidian District, No. 5

Applicant after: Peking University

Co-applicant after: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Co-applicant after: FOUNDER APABI TECHNOLOGY Ltd.

Co-applicant after: Lide Technology Development Co.,Ltd.

Address before: 100871 Beijing the Summer Palace Road, Haidian District, No. 5

Applicant before: Peking University

Co-applicant before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Co-applicant before: FOUNDER APABI TECHNOLOGY Ltd.

Co-applicant before: Beijing Founder Foread Media Technology Co.,Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120822

CF01 Termination of patent right due to non-payment of annual fee