CN103150496B - A kind of method of theme mandate and device - Google Patents

A kind of method of theme mandate and device Download PDF

Info

Publication number
CN103150496B
CN103150496B CN201310049302.3A CN201310049302A CN103150496B CN 103150496 B CN103150496 B CN 103150496B CN 201310049302 A CN201310049302 A CN 201310049302A CN 103150496 B CN103150496 B CN 103150496B
Authority
CN
China
Prior art keywords
theme
user
preset themes
module
record sheet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310049302.3A
Other languages
Chinese (zh)
Other versions
CN103150496A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201310049302.3A priority Critical patent/CN103150496B/en
Publication of CN103150496A publication Critical patent/CN103150496A/en
Application granted granted Critical
Publication of CN103150496B publication Critical patent/CN103150496B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Storage Device Security (AREA)

Abstract

The invention discloses a kind of method and device of theme mandate, belong to field of computer technology.Described method comprises: the authorization requests information to preset themes that receiving terminal sends, and carries the digital digest information of the user ID of user and each module included by described preset themes in described authorization requests information; The digital digest information of each module comprised according to described preset themes determines whether whole modules of described preset themes all allow to be used by described user; When whole modules of described preset themes all allow to be used by described user, then described terminal is authorized to use described preset themes.The present invention, by confirming whether the digital digest information of each module of theme allows to be used by user, when all modules all allow user to use, then authorizes whole theme, effectively solves plagiarization and the problem of piracy of theme.

Description

A kind of method of theme mandate and device
Technical field
The present invention relates to field of computer technology, particularly a kind of method and device verifying theme mandate.
Background technology
Theme is the set with certain display effect unifying style, sound effect etc. that terminal presents to user.Such as, desktop theme conventional in windows (form) system on computing machine (because on computing machine, these unify the display effect of style, sound effect major embodiment on the table, so theme here is generally called desktop theme).
At present, open conception design specification can bring various different good Consumer's Experience to user.But due to the opening of conception design, the problem of licensing for sovereignty is current technological difficulties.
Under current theme mechanism, user can pass through the random editor's theme of subject editing device, and therefore, the piracy of theme and plagiarization use and be difficult to solution.Such as, what current theme mandate adopted is the solution downloaded of paying.User, when seeing good paying theme, after can downloading, slightly makes an amendment and is namely issued as the theme of oneself, causes the theme copyright owner paying most of design effort to sustain a loss.
Therefore, current theme authorization technique effectively can not solve plagiarization and the problem of piracy of theme.
Summary of the invention
Embodiments provide a kind of method and device of theme mandate, effectively can solve plagiarization and the problem of piracy of theme.Described technical scheme is as follows:
On the one hand, provide a kind of method of theme mandate, described method comprises:
The authorization requests information to preset themes that receiving terminal sends, carries the digital digest information of the user ID of user and each module included by described preset themes in described authorization requests information;
The digital digest information of each module comprised according to described preset themes determines whether whole modules of described preset themes all allow to be used by described user;
When whole modules of described preset themes all allow to be used by described user, then described terminal is authorized to use described preset themes;
Wherein, the digital digest information of the described each module comprised according to described preset themes determines whether whole modules of described preset themes all allow to be used by described user, comprising:
For arbitrary module that described preset themes comprises, according to the digital digest information of described module, from the digital digest information of the module stored and the corresponding relation of theme ID, inquire the theme ID of the theme that described module belongs to;
The theme ID of theme belonged to according to described module and the user ID of described user, determine that the type of the theme that described module belongs to is the theme whether theme that the theme of default access or described module belong to belongs to non-default access;
When the theme theming as default access that described module belongs to and described user possesses described default access time, then determine described module allow used by described user; When described module belong to theme as the theme of non-default access time, then determine described module allow used by described user; By above-mentioned flow process, other modules comprised for described preset themes determine whether other modules described allow to be used by described user.
On the other hand, provide a kind of device of theme mandate, described device comprises:
Receiver module, for the authorization requests information to preset themes that receiving terminal sends, carries the digital digest information of the user ID of user and each module included by described preset themes in described authorization requests information;
First determination module, the digital digest information for each module comprised according to described preset themes determines whether whole modules of described preset themes all allow to be used by described user;
First authorization module, for when whole modules of described preset themes all allow to be used by described user, then authorizes described terminal to use described preset themes;
Wherein, described first determination module, comprising:
First query unit, for the arbitrary module comprised for described preset themes, according to the digital digest information of described module, from the digital digest information of the module stored and the corresponding relation of theme ID, inquires the theme ID of the theme that described module belongs to;
First determining unit, for the theme ID of theme that belongs to according to described module and the user ID of described user, determine that the type of the theme that described module belongs to is the theme whether theme that the theme of default access or described module belong to belongs to non-default access;
Second determining unit, for the theme theming as default access that belongs to when described module and described user possesses described default access time, then determine that described module allows to be used by described user; When described module belong to theme as the theme of non-default access time, then determine described module allow used by described user; By above-mentioned flow process, other modules comprised for described preset themes determine whether other modules described allow to be used by described user.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is:
By confirming whether the digital digest information of each module of theme allows to be used by user, when all modules all allow user to use, then authorizes whole theme, effective plagiarization and the problem of piracy solving theme.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the method flow diagram of the theme mandate that the embodiment of the present invention one provides;
Fig. 2 is the method flow diagram of the theme mandate that the embodiment of the present invention two provides;
Fig. 3 is the apparatus structure schematic diagram of the theme mandate that the embodiment of the present invention three provides.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, embodiment of the present invention is described further in detail.
Embodiment one
Embodiments provide a kind of method of theme mandate, see Fig. 1, method flow comprises:
101: the authorization requests information to preset themes that receiving terminal sends, carry the digital digest information of the user ID of user and each module included by described preset themes in described authorization requests information;
102: the digital digest information of each module comprised according to described preset themes determines whether whole modules of described preset themes all allow to be used by described user;
103: when whole modules of described preset themes all allow to be used by described user, then authorize described terminal to use described preset themes.
The plagiarization of effective solution theme and problem of piracy
The embodiment of the present invention, by confirming whether the digital digest information of each module of theme allows to be used by user, when all modules all allow user to use, then authorizes whole theme, effectively solves plagiarization and the problem of piracy of theme.
Embodiment two
Embodiments provide a kind of method of theme mandate, see Fig. 2, method flow comprises:
201: the authorization requests information to preset themes that receiving terminal sends, carry the digital digest information of the user ID of user and each module included by described preset themes in described authorization requests information.
Preferably, the digital digest information of preset themes and terminal iidentification corresponding to preset themes is also comprised in the authorization requests information that user sends, wherein terminal iidentification is IMEI (International Mobile Equipment Identity, International Mobile Equipment Identity code) etc. uniquely identify the information of terminal, restriction is not made to the content of terminal iidentification at this.
First by the digital digest information of preset themes is inquired about in first information record sheet, first information record sheet is for the corresponding relation of the digital digest information and theme ID of preserving theme, if do not found, then illustrate that preset themes is likely that user revised, the digital digest information of each module therefore comprised according to preset themes is inquired about in first information record sheet, and wherein first information record sheet is also for the corresponding relation of the digital digest information and theme ID of preserving each module.
Theme is made up of modules, such as comprise screen lock module, desktop module etc., in the theme compressed package that theme is corresponding, each module can save as separately a file, therefore by calculating the file of each module, the digital digest information that each module is corresponding can be obtained.
Further, digital digest information is calculated each module in theme compressed package corresponding to theme to be detected or theme by preset algorithm, obtains corresponding identification information unique with each module in theme to be detected or theme.Wherein preset algorithm can be: hash algorithm, and the digital digest information calculated by this algorithm is cryptographic hash; Can also pass through MD5 (Message-Digest Algorithm MD5, Message Digest Algorithm 5) algorithm, the digital digest information calculated is MD5 value.
After the theme authorization requests information that receiving terminal sends, first perform step 202.
202: according to the digital digest information of described preset themes, inquire about the digital digest information of theme and the corresponding relation of theme ID that have stored, if do not inquire the theme ID of described preset themes, then the digital digest information performing the described each module comprised according to described preset themes determines whether whole modules of described preset themes all allow the step used by described user.
Find the digital digest information of theme in first information record sheet after, determine whether this theme allows to be used by user according to the digital digest information of theme and the user ID of user, wherein according to rights of using, theme is divided into two kinds, the first is the theme of default access, for possess after being bought by user charges rights of using theme or former possess authority everyone to possess the theme of rights of using through modes such as transferring the possession of, grant; The second is the theme of non-preset authorization, is the theme that user freely uses.
203: when inquiring the theme ID of described preset themes, according to the user ID of described user and the digital digest information of described preset themes, determine whether described preset themes allows to be used by described user.
Determine whether theme allows the step by user uses to be:
2031: inquire about according to the theme ID of described preset themes and the user ID of described user the first information record sheet stored, described first information record sheet is also for the corresponding relation of the user ID of the theme ID and described user that store the theme of default access.
2032: when inquiring the corresponding relation of user ID of theme ID and the described user comprising described preset themes, then determine that described preset themes is the theme of default access, and described user possesses described default access.
In first information table, if there is the corresponding relation of user ID and theme ID, then illustrate that user possesses the rights of using of theme corresponding to theme ID.
2033: when not inquiring the corresponding relation of user ID of theme ID and the described user comprising described preset themes, the the second information record sheet stored then is searched according to the theme ID of described preset themes, when inquiring the theme ID of described preset themes, then determine that described preset themes belongs to the theme of non-default access; Described second information record sheet is for storing the theme ID of the theme of non-default access.
204: according to the user ID of described user and terminal iidentification corresponding to described preset themes, search the authorization message record sheet stored, when the corresponding relation of terminal iidentification corresponding to the user ID and described preset themes that find described user in described authorization message record sheet, then perform the step of authorizing described terminal to use described preset themes.
Preferably, before authorizing this theme, can also further inquire about authorisation device information by the terminal iidentification of user ID and preset themes, give the situation of unlimited platform device authorization with the account number preventing same user ID corresponding.
The user ID of the user authorized and the corresponding relation of terminal iidentification is record in authorization message record sheet, if there is the corresponding relation of the user ID of user and terminal iidentification corresponding to preset themes, the once requested mandate of this terminal is then described, therefore illustrate that this terminal is known device, allow to authorize this theme, now perform the step being the theme and authorizing.
205: when the corresponding relation of terminal iidentification corresponding to the user ID and described preset themes that do not find described user in described authorization message record sheet, in described authorization message record sheet, then obtain the number comprising the record of the user ID of described user, determine whether described number exceedes predetermined threshold value; When not exceeding predetermined threshold value, then the corresponding relation of the theme ID of terminal iidentification corresponding to the user ID of described user, described preset themes and preset themes is stored in described authorization message record sheet, and performs the step of authorizing described terminal to use described preset themes.
If there is not the corresponding relation of the user ID of user and terminal iidentification corresponding to preset themes in authorization message record sheet, the not requested mandate to theme of terminal that this terminal iidentification is corresponding is then described, now in authorization message record sheet, further inquire about the authorized number of devices of this user ID by the user ID of user, and compare with the predetermined threshold value of authorisation device quantity, the predetermined threshold value being less than this authorisation device quantity then allows this theme to authorize on the terminal, and the corresponding relation of the theme ID of terminal iidentification corresponding for preset themes and preset themes is stored in described authorization message record sheet.
If be more than or equal to the predetermined threshold value of authorisation device quantity, do not authorize.
206: when described preset themes allows to be used by described user, then authorize to described preset themes.
207: the digital digest information of each module comprised according to described preset themes determines whether whole modules of described preset themes all allow to be used by described user.
When the digital digest information of preset themes in step 202 does not match in first information record sheet, the digital digest information of each module then preset themes comprised is searched in first information record sheet, determines whether theme corresponding to each module that preset themes comprises all allows to be used by user.Step 207 can be:
2071: arbitrary module that described preset themes is comprised, according to the digital digest information of described module, from the digital digest information of the module stored and the corresponding relation of theme ID, inquire the theme ID of the theme that described module belongs to.
2072: the theme ID of theme belonged to according to described module and the user ID of described user, determine that the type of the theme that described module belongs to is the theme whether theme that the theme of default access or described module belong to belongs to non-default access.
The step of the type of the theme that determination module belongs to can be:
20721: the theme ID of theme belonged to according to described module and the user ID of described user inquire about the first information record sheet stored, described first information record sheet is for the corresponding relation of the user ID of the theme ID and described user that store the theme of default access.
20722: when inquiring the corresponding relation of user ID of theme ID and the described user comprising the theme that described module belongs to, then determine the theme theming as default access that described module belongs to and described user possesses described default access.
20723: when not inquiring the corresponding relation of user ID of theme ID and the described user comprising the theme that described module belongs to, the theme ID of the theme then belonged to according to described module searches the second information record sheet stored, when inquiring the theme ID of the theme that described module belongs to, then determine that theme that described module belongs to belongs to the theme of non-default access; Described second information record sheet is for storing the theme ID of the theme of non-default access.
2073: when the theme theming as default access that described module belongs to and described user possesses described default access time, then determine described module allow used by described user; When described module belong to theme as the theme of non-default access time, then determine described module allow used by described user; By above-mentioned flow process, other modules comprised for described preset themes determine whether other modules described allow to be used by described user.
Preferably, what circulate according to step 2071 to step 2073 inquires about each corresponding for preset themes module, determines whether each module allows to be used by user, then whole theme is then for authorizing.
Preferably, after determining that whole theme then can be authorized, further can further inquire about authorisation device information by the terminal iidentification of user ID and preset themes, the situation of unlimited platform device authorization is given with the account number preventing same user ID corresponding, therefore after execution of step 2083, further step 204 and step 205 is performed, then confirm as theme when meeting authorising conditional again after being finished to authorize, perform step 208.
208: when whole modules of described preset themes all allow to be used by described user, then authorize described terminal to use described preset themes.
The embodiment of the present invention is by confirming whether the digital digest information of each module of theme allows to be used by user, when all modules all allow user to use, then authorizes whole theme; On the other hand, can also by confirming whether the digital digest information of theme allows the mode used by user, and word order is then authorized theme.The plagiarization of effective solution theme and problem of piracy.
Embodiment three
Embodiments provide a kind of device of theme mandate, see Fig. 3, this device comprises:
Receiver module 301, for the authorization requests information to preset themes that receiving terminal sends, carries the digital digest information of the user ID of user and each module included by described preset themes in described authorization requests information;
First determination module 302, the digital digest information for each module comprised according to described preset themes determines whether whole modules of described preset themes all allow to be used by described user;
First authorization module 303, for when whole modules of described preset themes all allow to be used by described user, then authorizes described terminal to use described preset themes.
In a specific embodiment, described first determination module 302, comprising:
First query unit 3021, for the arbitrary module comprised for described preset themes, according to the digital digest information of described module, from the digital digest information of the module stored and the corresponding relation of theme ID, inquire the theme ID of the theme that described module belongs to;
First determining unit 3022, for the theme ID of theme that belongs to according to described module and the user ID of described user, determine that the type of the theme that described module belongs to is the theme whether theme that the theme of default access or described module belong to belongs to non-default access;
Second determining unit 3023, for the theme theming as default access that belongs to when described module and described user possesses described default access time, then determine that described module allows to be used by described user; When described module belong to theme as the theme of non-default access time, then determine described module allow used by described user; By above-mentioned flow process, other modules comprised for described preset themes determine whether other modules described allow to be used by described user.
Wherein, described first determining unit 3022, comprising:
Inquiry subelement 30221, inquire about for the theme ID of theme that belongs to according to described module and the user ID of described user the first information record sheet stored, described first information record sheet is for the corresponding relation of the user ID of the theme ID and described user that store the theme of default access;
First determines subelement 30222, for when inquiring the corresponding relation of user ID of theme ID and the described user comprising the theme that described module belongs to, then determine the theme theming as default access that described module belongs to and described user possesses described default access;
Second determines subelement 30223, for when not inquiring the corresponding relation of user ID of theme ID and the described user comprising the theme that described module belongs to, the theme ID of the theme then belonged to according to described module searches the second information record sheet stored, when inquiring the theme ID of the theme that described module belongs to, then determine that theme that described module belongs to belongs to the theme of non-default access; Described second information record sheet is for storing the theme ID of the theme of non-default access.
Further, also comprise terminal iidentification corresponding to preset themes in described theme authorization requests information, described device also comprises:
First processing module 304, for according to the user ID of described user and terminal iidentification corresponding to described preset themes, search the authorization message record sheet stored, when the corresponding relation of terminal iidentification corresponding to the user ID and described preset themes that find described user in described authorization message record sheet, then perform the step of authorizing described terminal to use described preset themes.
Second processing module 305, for when the corresponding relation of terminal iidentification corresponding to the user ID and described preset themes that do not find described user in described authorization message record sheet, in described authorization message record sheet, then obtain the number comprising the record of the user ID of described user, determine whether described number exceedes predetermined threshold value; When not exceeding predetermined threshold value, then the corresponding relation of the theme ID of terminal iidentification corresponding to the user ID of described user, described preset themes and preset themes is stored in described authorization message record sheet, and performs the step of authorizing described terminal to use described preset themes.
Wherein, described device also comprises:
Enquiry module 306, for the digital digest information according to described preset themes, inquire about the digital digest information of theme and the corresponding relation of theme ID that have stored, if do not inquire the theme ID of described preset themes, then the digital digest information performing the described each module comprised according to described preset themes determines whether whole modules of described preset themes all allow the step used by described user.
Second determination module 307, for when inquiring the theme ID of described preset themes, according to the user ID of described user and the digital digest information of described preset themes, determines whether described preset themes allows to be used by described user;
Second authorization module 308, during for allowing to be used by described user when described preset themes, then authorizes to described preset themes.
Wherein, described second determination module 307, comprising:
Second query unit 3071, for inquiring about according to the theme ID of described preset themes and the user ID of described user the first information record sheet stored, described first information record sheet is also for the corresponding relation of the user ID of the theme ID and described user that store the theme of default access;
3rd determining unit 3072, when inquiring the corresponding relation of user ID of theme ID and the described user comprising described preset themes, then determine that described preset themes is the theme of default access, and described user possesses described default access;
4th determining unit 3073, when not inquiring the corresponding relation of user ID of theme ID and the described user comprising described preset themes, the the second information record sheet stored then is searched according to the theme ID of described preset themes, when inquiring the theme ID of described preset themes, then determine that described preset themes belongs to the theme of non-default access; Described second information record sheet is for storing the theme ID of the theme of non-default access.
Wherein, described device also comprises:
3rd processing module 309, for according to the user ID of described user and terminal iidentification corresponding to described preset themes, search the authorization message record sheet stored, when the corresponding relation of terminal iidentification corresponding to the user ID and described preset themes that find described user in described authorization message record sheet, then perform the step of authorizing described terminal to use described preset themes.
4th processing module 310, for when the corresponding relation of terminal iidentification corresponding to the user ID and described preset themes that do not find described user in described authorization message record sheet, in described authorization message record sheet, then obtain the number comprising the record of the user ID of described user, determine whether described number exceedes predetermined threshold value; When not exceeding predetermined threshold value, then the corresponding relation of the theme ID of terminal iidentification corresponding to the user ID of described user, described preset themes and preset themes is stored in described authorization message record sheet, and performs the step of authorizing described terminal to use described preset themes.
The embodiment of the present invention is by confirming whether the digital digest information of each module of theme allows to be used by user, when all modules all allow user to use, then authorizes whole theme; On the other hand, can also by confirming whether the digital digest information of theme allows the mode used by user, and word order is then authorized theme.The plagiarization of effective solution theme and problem of piracy.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (18)

1. a method for theme mandate, described theme comprises multiple module, it is characterized in that, described method comprises:
The authorization requests information to preset themes that receiving terminal sends, carries the digital digest information of the user ID of user and each module included by described preset themes in described authorization requests information;
The digital digest information of each module comprised according to described preset themes determines whether whole modules of described preset themes all allow to be used by described user;
When whole modules of described preset themes all allow to be used by described user, then described terminal is authorized to use described preset themes;
Wherein, the digital digest information of the described each module comprised according to described preset themes determines whether whole modules of described preset themes all allow to be used by described user, comprising:
For arbitrary module that described preset themes comprises, according to the digital digest information of described module, from the digital digest information of the module stored and the corresponding relation of theme ID, inquire the theme ID of the theme that described module belongs to;
The theme ID of theme belonged to according to described module and the user ID of described user, determine that the type of the theme that described module belongs to is the theme whether theme that the theme of default access or described module belong to belongs to non-default access;
When the theme theming as default access that described module belongs to and described user possesses described default access time, then determine described module allow used by described user; When described module belong to theme as the theme of non-default access time, then determine described module allow used by described user; By above-mentioned flow process, other modules comprised for described preset themes determine whether other modules described allow to be used by described user.
2. method according to claim 1, it is characterized in that, the described theme ID of theme that belongs to according to described module and the user ID of described user, determine whether the theme theming as default access that described module belongs to or the theme that described module belongs to belong to the theme of non-default access, comprising:
The theme ID of theme belonged to according to described module and the user ID of described user search the first information record sheet stored, and described first information record sheet is for the corresponding relation of the user ID of the theme ID and described user that store the theme of default access;
When inquiring the corresponding relation of user ID of theme ID and the described user comprising the theme that described module belongs to, then determine the theme theming as default access that described module belongs to and described user possesses described default access;
When not inquiring the corresponding relation of user ID of theme ID and the described user comprising the theme that described module belongs to, the theme ID of the theme then belonged to according to described module searches the second information record sheet stored, when inquiring the theme ID of the theme that described module belongs to, then determine that theme that described module belongs to belongs to the theme of non-default access; Described second information record sheet is for storing the theme ID of the theme of non-default access.
3. the method according to the arbitrary claim of claim 1-2, is characterized in that, also comprise terminal iidentification corresponding to preset themes in described theme authorization requests information, described method also comprises:
According to the user ID of described user and terminal iidentification corresponding to described preset themes, search the authorization message record sheet stored, when the corresponding relation of terminal iidentification corresponding to the user ID and described preset themes that find described user in described authorization message record sheet, then perform the step of authorizing described terminal to use described preset themes.
4. method according to claim 3, is characterized in that, described method also comprises:
When the corresponding relation of terminal iidentification corresponding to the user ID and described preset themes that do not find described user in described authorization message record sheet, in described authorization message record sheet, then obtain the number comprising the record of the user ID of described user, determine whether described number exceedes predetermined threshold value; When not exceeding predetermined threshold value, then the corresponding relation of the theme ID of terminal iidentification corresponding to the user ID of described user, described preset themes and preset themes is stored in described authorization message record sheet, and performs the step of authorizing described terminal to use described preset themes.
5. method according to claim 1, is characterized in that, also comprises the digital digest information of described preset themes in described theme authorization requests information, and whether the described each module determining that described preset themes comprises also comprises before all being bought by described user:
According to the digital digest information of described preset themes, inquire about the digital digest information of theme and the corresponding relation of theme ID that have stored, if do not inquire the theme ID of described preset themes, then the digital digest information performing the described each module comprised according to described preset themes determines whether whole modules of described preset themes all allow the step used by described user.
6. method according to claim 5, is characterized in that, described method also comprises:
When inquiring the theme ID of described preset themes, according to the user ID of described user and the digital digest information of described preset themes, determine whether described preset themes allows to be used by described user;
When described preset themes allows to be used by described user, then authorize to described preset themes.
7. method according to claim 6, is characterized in that, the digital digest information of the described user ID according to described user and described preset themes, determines whether described preset themes allows to be used by described user, comprising:
Search according to the theme ID of described preset themes and the user ID of described user the first information record sheet stored, described first information record sheet is also for the corresponding relation of the user ID of the theme ID and described user that store the theme of default access;
When inquiring the corresponding relation of user ID of theme ID and the described user comprising described preset themes, then determine that described preset themes is the theme of default access, and described user possesses described default access;
When not inquiring the corresponding relation of user ID of theme ID and the described user comprising described preset themes, the the second information record sheet stored then is searched according to the theme ID of described preset themes, when inquiring the theme ID of described preset themes, then determine that described preset themes belongs to the theme of non-default access; Described second information record sheet is for storing the theme ID of the theme of non-default access.
8. the method according to the arbitrary claim of claim 6 or 7, is characterized in that, also comprise terminal iidentification corresponding to preset themes in described theme authorization requests information, described method also comprises:
According to the user ID of described user and terminal iidentification corresponding to described preset themes, search the authorization message record sheet stored, when the corresponding relation of terminal iidentification corresponding to the user ID and described preset themes that find described user in described authorization message record sheet, then perform the step of authorizing described terminal to use described preset themes.
9. method according to claim 8, is characterized in that, described method also comprises:
When the corresponding relation of terminal iidentification corresponding to the user ID and described preset themes that do not find described user in described authorization message record sheet, in described authorization message record sheet, then obtain the number comprising the record of the user ID of described user, determine whether described number exceedes predetermined threshold value; When not exceeding predetermined threshold value, then the corresponding relation of the theme ID of terminal iidentification corresponding to the user ID of described user, described preset themes and preset themes is stored in described authorization message record sheet, and performs the step of authorizing described terminal to use described preset themes.
10. a device for theme mandate, described theme comprises multiple module, it is characterized in that, described device comprises:
Receiver module, for the authorization requests information to preset themes that receiving terminal sends, carries the digital digest information of the user ID of user and each module included by described preset themes in described authorization requests information;
First determination module, the digital digest information for each module comprised according to described preset themes determines whether whole modules of described preset themes all allow to be used by described user;
First authorization module, for when whole modules of described preset themes all allow to be used by described user, then authorizes described terminal to use described preset themes;
Wherein, described first determination module, comprising:
First query unit, for the arbitrary module comprised for described preset themes, according to the digital digest information of described module, from the digital digest information of the module stored and the corresponding relation of theme ID, inquires the theme ID of the theme that described module belongs to;
First determining unit, for the theme ID of theme that belongs to according to described module and the user ID of described user, determine that the type of the theme that described module belongs to is the theme whether theme that the theme of default access or described module belong to belongs to non-default access;
Second determining unit, for the theme theming as default access that belongs to when described module and described user possesses described default access time, then determine that described module allows to be used by described user; When described module belong to theme as the theme of non-default access time, then determine described module allow used by described user; By above-mentioned flow process, other modules comprised for described preset themes determine whether other modules described allow to be used by described user.
11. devices according to claim 10, is characterized in that, described first determining unit, comprising:
Inquiry subelement, inquire about for the theme ID of theme that belongs to according to described module and the user ID of described user the first information record sheet stored, described first information record sheet is for the corresponding relation of the user ID of the theme ID and described user that store the theme of default access;
First determines subelement, for when inquiring the corresponding relation of user ID of theme ID and the described user comprising the theme that described module belongs to, then determines the theme theming as default access that described module belongs to and described user possesses described default access;
Second determines subelement, for when not inquiring the corresponding relation of user ID of theme ID and the described user comprising the theme that described module belongs to, the theme ID of the theme then belonged to according to described module searches the second information record sheet stored, when inquiring the theme ID of the theme that described module belongs to, then determine that theme that described module belongs to belongs to the theme of non-default access; Described second information record sheet is for storing the theme ID of the theme of non-default access.
12. devices according to the arbitrary claim of claim 10-11, it is characterized in that, also comprise terminal iidentification corresponding to preset themes in described theme authorization requests information, described device also comprises:
First processing module, for according to the user ID of described user and terminal iidentification corresponding to described preset themes, search the authorization message record sheet stored, when the corresponding relation of terminal iidentification corresponding to the user ID and described preset themes that find described user in described authorization message record sheet, then perform the step of authorizing described terminal to use described preset themes.
13. devices according to claim 12, is characterized in that, described device also comprises:
Second processing module, for when the corresponding relation of terminal iidentification corresponding to the user ID and described preset themes that do not find described user in described authorization message record sheet, in described authorization message record sheet, then obtain the number comprising the record of the user ID of described user, determine whether described number exceedes predetermined threshold value; When not exceeding predetermined threshold value, then the corresponding relation of the theme ID of terminal iidentification corresponding to the user ID of described user, described preset themes and preset themes is stored in described authorization message record sheet, and performs the step of authorizing described terminal to use described preset themes.
14. devices according to claim 10, is characterized in that, described device also comprises:
Enquiry module, for the digital digest information according to described preset themes, inquire about the digital digest information of theme and the corresponding relation of theme ID that have stored, if do not inquire the theme ID of described preset themes, then the digital digest information performing the described each module comprised according to described preset themes determines whether whole modules of described preset themes all allow the step used by described user.
15. devices according to claim 14, is characterized in that, described device also comprises:
Second determination module, for when inquiring the theme ID of described preset themes, according to the user ID of described user and the digital digest information of described preset themes, determines whether described preset themes allows to be used by described user;
Second authorization module, during for allowing to be used by described user when described preset themes, then authorizes to described preset themes.
16. devices according to claim 15, is characterized in that, described second determination module, comprising:
Second query unit, for inquiring about according to the theme ID of described preset themes and the user ID of described user the first information record sheet stored, described first information record sheet is also for the corresponding relation of the user ID of the theme ID and described user that store the theme of default access;
3rd determining unit, when inquiring the corresponding relation of user ID of theme ID and the described user comprising described preset themes, then determine that described preset themes is the theme of default access, and described user possesses described default access;
4th determining unit, when not inquiring the corresponding relation of user ID of theme ID and the described user comprising described preset themes, the the second information record sheet stored then is searched according to the theme ID of described preset themes, when inquiring the theme ID of described preset themes, then determine that described preset themes belongs to the theme of non-default access; Described second information record sheet is for storing the theme ID of the theme of non-default access.
17. devices according to the arbitrary claim of claim 15 or 16, it is characterized in that, described device also comprises:
3rd processing module, for according to the user ID of described user and terminal iidentification corresponding to described preset themes, search the authorization message record sheet stored, when the corresponding relation of terminal iidentification corresponding to the user ID and described preset themes that find described user in described authorization message record sheet, then perform the step of authorizing described terminal to use described preset themes.
18. devices according to claim 17, is characterized in that, described device also comprises:
4th processing module, for when the corresponding relation of terminal iidentification corresponding to the user ID and described preset themes that do not find described user in described authorization message record sheet, in described authorization message record sheet, then obtain the number comprising the record of the user ID of described user, determine whether described number exceedes predetermined threshold value; When not exceeding predetermined threshold value, then the corresponding relation of the theme ID of terminal iidentification corresponding to the user ID of described user, described preset themes and preset themes is stored in described authorization message record sheet, and performs the step of authorizing described terminal to use described preset themes.
CN201310049302.3A 2013-02-07 2013-02-07 A kind of method of theme mandate and device Active CN103150496B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310049302.3A CN103150496B (en) 2013-02-07 2013-02-07 A kind of method of theme mandate and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310049302.3A CN103150496B (en) 2013-02-07 2013-02-07 A kind of method of theme mandate and device

Publications (2)

Publication Number Publication Date
CN103150496A CN103150496A (en) 2013-06-12
CN103150496B true CN103150496B (en) 2015-09-09

Family

ID=48548569

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310049302.3A Active CN103150496B (en) 2013-02-07 2013-02-07 A kind of method of theme mandate and device

Country Status (1)

Country Link
CN (1) CN103150496B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106446612A (en) * 2016-09-12 2017-02-22 珠海市魅族科技有限公司 Subject trial method and device
CN110572309B (en) * 2018-06-06 2022-03-04 腾讯科技(深圳)有限公司 Information transmission method, computer device and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633065A (en) * 2004-12-28 2005-06-29 华中师范大学 Method and system for secure distribution of network digital books with content monitoring
CN101146287A (en) * 2007-09-07 2008-03-19 Tcl天一移动通信(深圳)有限公司 A method for user to customize mobile communication terminal subject

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1633065A (en) * 2004-12-28 2005-06-29 华中师范大学 Method and system for secure distribution of network digital books with content monitoring
CN101146287A (en) * 2007-09-07 2008-03-19 Tcl天一移动通信(深圳)有限公司 A method for user to customize mobile communication terminal subject

Also Published As

Publication number Publication date
CN103150496A (en) 2013-06-12

Similar Documents

Publication Publication Date Title
CN107516038B (en) Method and device for determining device fingerprint
CN104217175A (en) Data read-write method and device
US9104841B2 (en) Methods and systems for executing protected content
CN105100034A (en) Method and apparatus for an access function in network applications
CN104023273A (en) Video-on-demand method and video-on-demand device
CN107015985A (en) A kind of data storage and acquisition methods and device
CN104702415A (en) Account number permission control method and device
US20150237660A1 (en) Data transmission method, data acquiring method, and electronic device
CN103279694B (en) A kind of loading, guard method and device of file system
CN108173839B (en) Authority management method and system
CN104767767A (en) Method, device and system for sharing Internet access data and network equipment
CN104639650A (en) Fine granularity distributive interface access control method and device
CN105915364A (en) Method for preventing malicious sharing of user identity and device thereof
CN104036406A (en) Method and device for improving safety of ordering information
CN102122336B (en) Method, equipment and system for encrypting and decrypting game protection
CN103150496B (en) A kind of method of theme mandate and device
CN107896227A (en) A kind of data calling method, device and device data cloud platform
CN105827583A (en) Method and device for access to mobile data network
CN109992532A (en) The access authority management method and storage rights management unit of memory space
CN104618418A (en) Method and device for playing multimedia file
CN105224541B (en) Uniqueness control method, information storage means and the device of data
CN104462940A (en) Monitoring method and device for computer USB interface
CN105187399A (en) Resource processing method and device
CN111988262A (en) Authentication method, authentication device, server and storage medium
CN103139136B (en) The management process of a kind of password and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C53 Correction of patent for invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Xiaomi Technology Co., Ltd.

C14 Grant of patent or utility model
GR01 Patent grant