CN107992333B - Theme acquisition method and device - Google Patents

Theme acquisition method and device Download PDF

Info

Publication number
CN107992333B
CN107992333B CN201711329299.5A CN201711329299A CN107992333B CN 107992333 B CN107992333 B CN 107992333B CN 201711329299 A CN201711329299 A CN 201711329299A CN 107992333 B CN107992333 B CN 107992333B
Authority
CN
China
Prior art keywords
theme
version
module
request
function module
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
CN201711329299.5A
Other languages
Chinese (zh)
Other versions
CN107992333A (en
Inventor
陈珊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711329299.5A priority Critical patent/CN107992333B/en
Publication of CN107992333A publication Critical patent/CN107992333A/en
Application granted granted Critical
Publication of CN107992333B publication Critical patent/CN107992333B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure relates to a theme acquisition method and device, comprising: receiving a theme request from a terminal device, wherein the theme request comprises identification information of a theme and version information of an operating system of the terminal device; acquiring a full version theme and a simplified version theme corresponding to the identification information, wherein the simplified version theme comprises a basic function module in the full version theme, and the basic function module is a function module which is provided for operating systems of different versions; and when the version information in the theme request does not accord with the version information corresponding to the full version theme, returning the simplified version theme to the terminal equipment. According to the theme acquisition method and device, the development cost and the time cost of the theme can be saved.

Description

Theme acquisition method and device
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a theme acquisition method and apparatus.
Background
With the development of science and technology and the popularization of terminal equipment, the personalized demand of a user on a terminal equipment interface is higher and higher. The theme of the terminal device meets the above personalized requirements of the user to a certain extent.
The theme and the operating system of the terminal device have an adaptation relationship, if one style theme is compatible with operating systems of different versions, a designer of the theme needs to develop an adapted theme for different versions. As such, there is a problem in that development costs and time costs of the subject matter increase.
Disclosure of Invention
In order to overcome the problems in the related art, the present disclosure provides a theme acquisition method and apparatus, so as to solve the problem of increased development cost and time cost of a theme due to compatibility of the theme with operating systems of different versions in the existing scheme, and achieve saving of the development cost and time cost of the theme.
According to a first aspect of the embodiments of the present disclosure, there is provided a theme control method, which may be applied to a server, the method including:
receiving a theme request from a terminal device, wherein the theme request comprises identification information of a theme and version information of an operating system of the terminal device;
acquiring a full version theme and a simplified version theme corresponding to the identification information, wherein the simplified version theme comprises a basic function module in the full version theme, and the basic function module is a function module which is provided for operating systems of different versions;
and when the version information in the theme request does not accord with the version information corresponding to the full version theme, returning the simplified version theme to the terminal equipment.
In one possible implementation, the method further includes:
and when the version information in the theme request conforms to the version information corresponding to the full version theme, returning the full version theme to the terminal equipment.
In one possible implementation, the method further includes:
acquiring a basic function module in the full version theme;
generating a simplified version theme according to the basic function module;
and establishing an incidence relation between the full version theme and the simplified version theme.
In one possible implementation, the basic function module includes: one or more of a lock screen wallpaper module, a desktop wallpaper module, and an icon module.
According to a second aspect of the embodiments of the present disclosure, there is provided a theme acquisition method applied to a terminal device, the method including:
when detecting that the version of the operating system of the terminal equipment is updated, acquiring a first theme downloaded by the terminal equipment before updating;
sending a theme request to a server, wherein the theme request comprises identification information of the first theme and version information of the updated operating system;
receiving a second topic sent by the server in response to the topic request,
when the version information in the theme request does not accord with the version information corresponding to the first theme, the second theme is a simplified version theme corresponding to the first theme, the simplified version theme comprises a basic function module in the first theme, and the basic function module is a function module which is provided by the operating systems of different versions.
In a possible implementation manner, when the version information in the theme request conforms to the version information corresponding to the first theme, the second theme is a full version theme corresponding to the version information.
According to a third aspect of the embodiments of the present disclosure, there is provided a theme acquisition apparatus, applied to a server, the apparatus including:
the system comprises a first receiving module, a first processing module and a second receiving module, wherein the first receiving module is used for receiving a theme request from a terminal device, and the theme request comprises identification information of a theme and version information of an operating system of the terminal device;
a first obtaining module, configured to obtain a full version theme and a simplified version theme corresponding to the identification information, where the simplified version theme includes a basic function module in the full version theme, and the basic function module is a function module that is provided for all operating systems of different versions;
and the first returning module is used for returning the simplified version theme to the terminal equipment when the version information in the theme request does not accord with the version information corresponding to the full version theme.
In one possible implementation, the apparatus further includes:
and the second returning module is used for returning the full version theme to the terminal equipment when the version information in the theme request conforms to the version information corresponding to the full version theme.
In one possible implementation, the apparatus further includes:
the second acquisition module is used for acquiring a basic function module in the full version theme;
the generating module is used for generating a simplified version theme according to the basic function module;
and the establishing module is used for establishing the incidence relation between the full version theme and the simplified version theme.
In one possible implementation, the basic function module includes: one or more of a lock screen wallpaper module, a desktop wallpaper module, and an icon module.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a theme acquisition apparatus, which may be applied to a terminal device, the apparatus may include:
the third obtaining module is used for obtaining a first theme downloaded by the terminal equipment before updating when the version of the operating system of the terminal equipment is detected to be updated;
a sending module, configured to send a theme request to a server, where the theme request includes identification information of the first theme and version information of the updated operating system;
a second receiving module, configured to receive a second theme sent by the server in response to the theme request,
when the version information in the theme request does not accord with the version information corresponding to the first theme, the second theme is a simplified version theme corresponding to the first theme, the simplified version theme comprises a basic function module in the first theme, and the basic function module is a function module which is provided by the operating systems of different versions.
In a possible implementation manner, when the version information in the theme request conforms to the version information corresponding to the first theme, the second theme is a full version theme corresponding to the version information.
According to another aspect of the present disclosure, there is provided a topic acquisition apparatus including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to perform the above method.
According to another aspect of the present disclosure, there is provided a non-transitory computer readable storage medium having computer program instructions stored thereon, wherein the computer program instructions, when executed by a processor, implement the above-described method.
In this way, the server can receive the theme request from the terminal device, and can obtain the corresponding full version theme and simplified version theme according to the theme identification information in the theme request. When the version information in the theme request does not conform to the version information corresponding to the full version theme, the server may return the simplified version theme to the terminal device. Because the simplified version theme is the theme of the basic function module with the full version theme and can be applied to the operating systems of different versions, after the full version theme aiming at the operating system of one version is erected, the server can use the simplified version theme corresponding to the full version theme, so that the theme can be compatible with the operating systems of different versions. Therefore, according to the theme acquisition method and the theme acquisition device provided by the embodiment of the disclosure, one theme can be compatible with operating systems of different versions, the development of a set of same theme for each version of operating system can be avoided, and the development cost and the time cost of the theme are saved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a flow diagram illustrating a method for topic retrieval in accordance with an exemplary embodiment.
FIG. 2 is a flow diagram illustrating a method for topic retrieval in accordance with an exemplary embodiment.
FIG. 3 is a flow diagram illustrating a topic acquisition method in accordance with an exemplary embodiment.
FIG. 4 is a flow diagram illustrating a topic acquisition method in accordance with an exemplary embodiment.
Fig. 5 is a block diagram illustrating a theme acquisition apparatus according to an example embodiment.
Fig. 6 is a block diagram illustrating a theme acquisition apparatus according to an example embodiment.
Fig. 7 is a block diagram illustrating a theme acquisition apparatus according to an example embodiment.
FIG. 8 is a block diagram illustrating an apparatus 800 for topic retrieval in accordance with an exemplary embodiment.
FIG. 9 is a block diagram illustrating an apparatus 1900 for topic retrieval in accordance with an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a theme acquisition method according to an exemplary embodiment, which may be used in a server, as shown in fig. 1, and includes the following steps.
In step 101, a theme request from a terminal device is received, where the theme request includes identification information of a theme and version information of an operating system of the terminal device.
The terminal device may include: mobile phones, personal computers, tablet computers, vehicle terminals, and the like. For example, the terminal device may send the theme request to the server in response to a downloading operation of the user for the theme, or the terminal device may send the theme request to the server when detecting an update of the operating system. The identification information of the theme may be identification information capable of identifying a full version theme and a simplified version theme.
In step 102, a full version theme and a simplified version theme corresponding to the identification information are obtained, where the simplified version theme includes a basic function module in the full version theme, and the basic function module is a function module that is provided for all operating systems of different versions.
After receiving the theme request, the server may determine and obtain the full version theme and the simplified version theme corresponding to the identification information according to the identification information of the theme. The simplified version theme is a simplified version of the full version theme, and may include a basic function module in the full version theme, where the basic function module is a function module that is provided for all operating systems of different versions. The completion version theme can be applied to a corresponding operating system version, and the simplified version theme can be applied to different operating system versions.
In a possible implementation manner, the basic function module may include: one or more of a lock screen wallpaper module, a desktop wallpaper module, and an icon module.
For example, the full version theme may include: the mobile terminal comprises a screen locking wallpaper module, a desktop wallpaper module, an icon module, a clock plug-in module, a short message module, a contact module, a menu module and the like, wherein the screen locking wallpaper module, the desktop wallpaper module and the icon module are basic function modules, and the simplified version theme can comprise the screen locking wallpaper module, the desktop wallpaper module and the icon module.
In step 103, when the version information in the theme request does not conform to the version information corresponding to the full version theme, the simplified version theme is returned to the terminal device.
The full version theme can be applied to the operating system of the corresponding version, the operating systems of other versions cannot apply the full version theme, and the simplified version theme can be applied to operating systems of a plurality of versions. The server may return the simplified version theme corresponding to the theme identifier to the terminal device when the version information in the theme request is inconsistent with the version information corresponding to the full version theme.
For example, the terminal device sends a theme request to the server, where the theme request may include identification information of a theme: the first identification information and the version information of the current operating system of the terminal equipment are as follows: operating system 1.0. And after receiving the theme request sent by the terminal equipment, the server acquires a full version theme and a simplified version theme corresponding to the theme 'ice and snow world' according to the first identification information, wherein the full version theme corresponds to the operating system 2.0. And the server determines that the version information of the operating system in the theme request does not conform to the version information corresponding to the full version theme, and returns the simplified version theme to the terminal equipment.
In this way, the server can receive the theme request from the terminal device, and can obtain the corresponding full version theme and simplified version theme according to the theme identification information in the theme request. When the version information in the theme request does not conform to the version information corresponding to the full version theme, the server may return the simplified version theme to the terminal device. Because the simplified version theme is the theme of the basic function module with the full version theme and can be applied to the operating systems of different versions, after the full version theme aiming at the operating system of one version is erected, the server can use the simplified version theme corresponding to the full version theme, so that the theme can be compatible with the operating systems of different versions. Therefore, according to the theme acquisition method provided by the embodiment of the disclosure, one theme can be compatible with operating systems of different versions, the development of a set of same theme for each version of operating system can be avoided, and the development cost and time cost of the theme are saved.
FIG. 2 is a flow diagram illustrating a method for topic retrieval in accordance with an exemplary embodiment.
In one possible implementation, referring to fig. 2, the method may further include:
in step 104, when the version information in the theme request conforms to the version information corresponding to the full version theme, the full version theme is returned to the terminal device.
For example, the terminal device sends a theme request to the server, where the theme request may include identification information of a theme: the first identification information and the version information of the current operating system of the terminal equipment are as follows: operating system 2.0. And after receiving the theme request sent by the terminal equipment, the server acquires a full version theme and a simplified version theme corresponding to the theme 'ice and snow world' according to the first identification information, wherein the full version theme corresponds to the operating system 2.0. And the server determines that the version information of the operating system in the theme request conforms to the version information corresponding to the full version theme, and returns the full version theme to the terminal equipment.
In this way, the server can receive the theme request from the terminal device, and can obtain the corresponding full version theme and simplified version theme according to the theme identification information in the theme request. When the version information in the theme request conforms to the version information corresponding to the full version theme, the server may return the full version theme to the terminal device, and when the version information does not conform to the version information corresponding to the full version theme, the simplified version theme is returned to the terminal device. Therefore, according to the theme acquisition method provided by the embodiment of the disclosure, one theme can be compatible with operating systems of different versions, the development of a set of same theme for each version of operating system can be avoided, and the development cost and time cost of the theme are saved.
FIG. 3 is a flow diagram illustrating a topic acquisition method in accordance with an exemplary embodiment.
In a possible implementation manner, as shown in fig. 3, the method may further include the following steps:
in step 105, the basic function module in the full version theme is acquired.
For example, after the server obtains a full version theme, the server may obtain the basic function module from the full version theme according to the identification information of the module, where the identification information of the module can uniquely identify a function module, for example: the identification information of the module may be a name of the functional module. For example, the basic function module may include: the system comprises a lock screen wallpaper module, a desktop wallpaper module and an icon module, wherein the server can acquire the lock screen wallpaper module from the full version theme according to the identification information 1 of the module, acquire the desktop wallpaper module from the full version theme according to the identification information 2 of the module, and acquire the icon module from the full version theme according to the identification information 3 of the module.
In step 106, generating a simplified version theme according to the basic function module;
in step 107, an association relationship between the full version theme and the simplified version theme is established.
After the server obtains the basic function module, the basic function module may be packaged to generate a simplified version theme, and an association relationship between the full version theme and the simplified version theme may be established, for example: the complete edition theme and the simplified edition theme can correspond to the same theme identifier.
For example, the theme developer submits a full version theme for the operating system 2.0, which may include: the system comprises a screen locking wallpaper module, a desktop wallpaper module, an icon module, a clock plug-in module, a short message module, a contact module, a menu module and the like, wherein the screen locking wallpaper module, the desktop wallpaper module and the icon module are basic function modules. After receiving the full version theme, the server can acquire a lock screen wallpaper module, a desktop wallpaper module and an icon module in the full version theme, and generate a simplified version theme according to the lock screen wallpaper module, the desktop wallpaper module and the icon module. And establishing an incidence relation between the full version theme and the simplified version theme, and putting the full version theme and the simplified version theme on shelf. Thus, after creating a theme for the operating system 2.0, the theme developer may not create the same theme for the operating system 1.0, the operating system 3.0, and the operating system 4.0, may operate to download the full version theme and the simplified version theme when the user logs in the theme client using the terminal device of the operating system 2.0, and may operate to download the simplified version theme when the user logs in the theme client using the terminal device of the operating system (the operating system 1.0, the operating system 3.0, and the operating system 4.0) other than the operating system 2.0.
In this way, the server can obtain the basic function module in the full version theme to generate the simplified version theme according to the basic function module, and establish the association relationship between the full version theme and the simplified version theme. The server can automatically generate a corresponding simplified version theme for a theme, so that the theme can correspond to a full version theme and a simplified version theme, and operating systems of different versions can be compatible. Therefore, according to the theme acquisition method provided by the embodiment of the disclosure, a theme developer can be prevented from developing a set of same theme for each version of the operating system, and the development cost and the time cost of the theme are saved.
Fig. 4 is a flowchart illustrating a theme acquisition method according to an exemplary embodiment, and as shown in fig. 4, the theme acquisition method may be used in a terminal device and includes the following steps.
In step 401, when it is detected that the version of the operating system of the terminal device is updated, a first theme downloaded by the terminal device before updating is acquired;
the terminal device may determine, when the version of the operating system is updated, a first theme downloaded by the terminal device before the update according to information such as an account of the user. For example, after the version of the operating system is updated, the terminal device may query a theme download list corresponding to the user according to information such as an account number of the user, and obtain the downloaded first theme from the theme download list.
In step 402, a theme request is sent to a server, where the theme request includes identification information of the first theme and version information of the updated operating system;
the terminal device may obtain the first theme after the version of the operating system is updated. And after obtaining the first theme, sending a theme request to a server, where the theme request may instruct a terminal device to return a theme corresponding to the identification information of the first theme.
Receiving a second theme sent by the server in response to the theme request in step 403,
when the version information in the theme request does not accord with the version information corresponding to the first theme, the second theme is a simplified version theme corresponding to the first theme, the simplified version theme comprises a basic function module in the first theme, and the basic function module is a function module which is provided by the operating systems of different versions.
The simplified version theme is a simplified version of the full version theme, and may include a basic function module in the full version theme, where the basic function module is a function module that is provided for all operating systems of different versions. The completion version theme can be applied to a corresponding operating system version, and the simplified version theme can be applied to different operating system versions.
For example, the full version theme may include: the mobile terminal comprises a screen locking wallpaper module, a desktop wallpaper module, an icon module, a clock plug-in module, a short message module, a contact module, a menu module and the like, wherein the screen locking wallpaper module, the desktop wallpaper module and the icon module are basic function modules, and the simplified version theme can comprise the screen locking wallpaper module, the desktop wallpaper module and the icon module.
After receiving the theme request, the server may return the second theme acquired in response to the theme request to the terminal device. For example, after the terminal device is upgraded from the operating system 1.0 to the operating system 2.0, the terminal device may obtain the first theme downloaded in the operating system 1.0, and send a theme request including the identification information of the first theme and the operating system 2.0 to the server. And after receiving the theme request, the server determines the corresponding full version theme and simplified version theme according to the identification information of the first theme, and returns the simplified version theme to the terminal equipment when the version information of the operating system corresponding to the full version theme is not the operating system 2.0.
For example: after the terminal device is upgraded to an operating system 2.0, the server determines that the operating system version of the full version theme of the first theme is inconsistent with the operating system 2.0, and therefore the simplified version theme of the first theme is returned to the terminal device;
or, the first theme downloaded by the terminal device in the operating system 1.0 is a simplified version theme applicable to the operating system 1.0, and after the terminal device is upgraded to the operating system 2.0, the server determines that the operating system version of the full version theme of the first theme is 3.0 and is inconsistent with the operating system 2.0, so that the simplified version theme of the first theme (for example, the first theme itself) is returned to the terminal device.
In a possible implementation manner, when the version information in the theme request conforms to the version information corresponding to the first theme, the second theme is a full version theme corresponding to the version information.
For example, after the terminal device is upgraded from the operating system 1.0 to the operating system 2.0, the terminal device may obtain the first theme downloaded in the operating system 1.0, and send a theme request including the identification information of the first theme and the operating system 2.0 to the server. And after receiving the theme request, the server determines the corresponding full version theme and simplified version theme according to the identification information of the first theme, and returns the full version theme to the terminal equipment when the version information of the operating system corresponding to the full version theme is the operating system 2.0.
For example: after the terminal device is upgraded to an operating system 2.0, the server determines that the operating system version of the full version theme of the first theme is the operating system 2.0, and therefore the full version theme of the first theme is returned to the terminal device;
or, the first theme downloaded by the terminal device when the operating system is 2.0 is a simplified version theme suitable for the operating system 2.0, and after the operating system is updated to be the operating system 1.0 by the terminal device, the server determines that the operating system version of the full version theme of the first theme is 1.0, so that the full version theme of the first theme can be returned to the terminal device.
In a possible implementation manner, if the terminal device uses the first theme before updating the version of the operating system, the terminal device may directly apply the second theme (a simplified version or a complete version of the first theme) after receiving the second theme.
In this way, when the version of the operating system is updated, the terminal device may obtain the first theme downloaded before the update, and send a theme request to the server, where the theme request may include identification information of the first theme and version information of the updated operating system, so that the server may return the second theme to the terminal device in response to the theme request. When the version information in the theme request does not accord with the version information corresponding to the first theme, the second theme is a simplified version theme corresponding to the first theme, and when the version information in the theme request accords with the version information corresponding to the first theme, the second theme is a full version theme corresponding to the version information.
Since the simplified version theme is the theme of the basic function module with the full version theme and can be applied to operating systems of different versions, after the full version theme for one version of the operating system is developed, the simplified version theme corresponding to the full version theme can be used, so that the theme can be compatible with the operating systems of different versions. Therefore, according to the theme acquisition method provided by the embodiment of the disclosure, one theme can be compatible with operating systems of different versions, so that the development of a set of same theme for each version of operating system can be avoided, and the development cost and time cost of the theme are saved; and the terminal equipment can automatically download the theme downloaded before updating after the operating system is updated, so that the process that a user manually downloads the theme can be reduced, and the efficiency of downloading and updating the theme is improved.
Fig. 5 is a block diagram illustrating a theme acquisition apparatus according to an exemplary embodiment, which may be applied to a server. Referring to fig. 5, the apparatus may include a first receiving module 501, a first obtaining module 502, and a first returning module 503.
The first receiving module 501 is configured to receive a theme request from a terminal device, where the theme request includes identification information of a theme and version information of an operating system of the terminal device.
The first obtaining module 502 is configured to obtain a full version theme and a simplified version theme corresponding to the identification information, where the simplified version theme includes a basic function module in the full version theme, and the basic function module is a function module that is provided for operating systems of different versions.
The first returning module 503 is configured to return the simplified version theme to the terminal device when the version information in the theme request does not conform to the version information corresponding to the full version theme.
Fig. 6 is a block diagram illustrating a theme acquisition apparatus according to an example embodiment.
In a possible implementation manner, referring to fig. 6, the theme obtaining apparatus may further include: a second return module 504.
The second returning module 504 is configured to return the full version theme to the terminal device when the version information in the theme request conforms to the version information corresponding to the full version theme.
In one possible implementation, referring to fig. 6, the apparatus may further include: a second obtaining module 505, a generating module 506 and a establishing module 507.
The second obtaining module 505 is configured to obtain a basic function module in the full version theme;
the generating module 506 is configured to generate a reduced version theme from the base function module;
the establishing module 507 is configured to establish an association relationship between the full version theme and the simplified version theme.
In one possible implementation, the basic function module includes: one or more of a lock screen wallpaper module, a desktop wallpaper module, and an icon module.
Fig. 7 is a block diagram of a theme acquisition apparatus according to an exemplary embodiment, which may be applied to a terminal device. Referring to fig. 7, the apparatus may include a third obtaining module 701, a sending module 702, and a second receiving module 703.
The third obtaining module 701 is configured to, when it is detected that the version of the operating system of the terminal device is updated, obtain a first theme downloaded by the terminal device before the update;
the sending module 702 is configured to send a theme request to a server, the theme request including identification information of the first theme and version information of the updated operating system;
the second receiving module 703 is configured to receive a second topic sent by the server in response to the topic request,
when the version information in the theme request does not accord with the version information corresponding to the first theme, the second theme is a simplified version theme corresponding to the first theme, the simplified version theme comprises a basic function module in the first theme, and the basic function module is a function module which is provided by the operating systems of different versions.
In a possible implementation manner, when the version information in the theme request conforms to the version information corresponding to the first theme, the second theme is a full version theme corresponding to the version information.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
FIG. 8 is a block diagram illustrating an apparatus 800 for topic retrieval in accordance with an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 8, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
FIG. 9 is a block diagram illustrating an apparatus 1900 for topic retrieval in accordance with an exemplary embodiment. For example, the apparatus 1900 may be provided as a server. Referring to fig. 9, the device 1900 includes a processing component 1922 further including one or more processors and memory resources, represented by memory 1932, for storing instructions, e.g., applications, executable by the processing component 1922. The application programs stored in memory 1932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1922 is configured to execute instructions to perform the method of display capture described above.
The device 1900 may also include a power component 1926 configured to perform power management of the device 1900, a wired or wireless network interface 1950 configured to connect the device 1900 to a network, and an input/output (I/O) interface 1958. The device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided that includes instructions, such as the memory 1932 that includes instructions, which are executable by the processing component 1922 of the apparatus 1900 to perform the above-described method. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A theme acquisition method is applied to a server, and comprises the following steps:
receiving a theme request from a terminal device, wherein the theme request comprises identification information of a theme and version information of an operating system of the terminal device, the terminal device acquires a first theme downloaded by the terminal device before updating when detecting that the version of the operating system of the terminal device is updated, and the identification information of the theme included in the theme request is the identification information of the first theme;
acquiring a full version theme and a simplified version theme corresponding to the identification information, wherein the simplified version theme comprises a basic function module in the full version theme, the basic function module is a function module which is provided for operating systems of different versions, and the basic function module comprises one or more of a screen locking wallpaper module, a desktop wallpaper module and an icon module;
and when the version information in the theme request does not accord with the version information corresponding to the full version theme, returning the simplified version theme to the terminal equipment.
2. The method of claim 1, further comprising:
and when the version information in the theme request conforms to the version information corresponding to the full version theme, returning the full version theme to the terminal equipment.
3. The method of claim 1, further comprising:
acquiring a basic function module in the full version theme;
generating a simplified version theme according to the basic function module;
and establishing an incidence relation between the full version theme and the simplified version theme.
4. A theme acquisition method is applied to terminal equipment and comprises the following steps:
when detecting that the version of the operating system of the terminal equipment is updated, acquiring a first theme downloaded by the terminal equipment before updating;
sending a theme request to a server, wherein the theme request comprises identification information of the first theme and version information of the updated operating system;
receiving a second topic sent by the server in response to the topic request,
when the version information in the theme request does not accord with the version information corresponding to the first theme, the second theme is a simplified version theme corresponding to the first theme, the simplified version theme comprises a basic function module in the first theme, the basic function module is a function module which is provided by operating systems of different versions, and the basic function module comprises one or more of a screen locking wallpaper module, a desktop wallpaper module and an icon module.
5. The method of claim 4, wherein when the version information in the theme request matches the version information corresponding to the first theme, the second theme is a full version theme corresponding to the version information.
6. A theme acquisition apparatus applied to a server may include:
the terminal device obtains a first theme downloaded by the terminal device before updating when detecting that the version of the operating system of the terminal device is updated, wherein the identification information of the theme included in the theme request is the identification information of the first theme;
a first obtaining module, configured to obtain a full version theme and a simplified version theme corresponding to the identifier information, where the simplified version theme includes a basic function module in the full version theme, the basic function module is a function module that is provided for operating systems of different versions, and the basic function module includes one or more of a lock screen wallpaper module, a desktop wallpaper module, and an icon module;
and the first returning module is used for returning the simplified version theme to the terminal equipment when the version information in the theme request does not accord with the version information corresponding to the full version theme.
7. The apparatus of claim 6, further comprising:
and the second returning module is used for returning the full version theme to the terminal equipment when the version information in the theme request conforms to the version information corresponding to the full version theme.
8. The apparatus of claim 6, further comprising:
the second acquisition module is used for acquiring a basic function module in the full version theme;
the generating module is used for generating a simplified version theme according to the basic function module;
and the establishing module is used for establishing the incidence relation between the full version theme and the simplified version theme.
9. A theme acquisition device is applied to a terminal device, and comprises:
the third obtaining module is used for obtaining a first theme downloaded by the terminal equipment before updating when the version of the operating system of the terminal equipment is detected to be updated;
a sending module, configured to send a theme request to a server, where the theme request includes identification information of the first theme and version information of the updated operating system;
a second receiving module, configured to receive a second theme sent by the server in response to the theme request,
when the version information in the theme request does not accord with the version information corresponding to the first theme, the second theme is a simplified version theme corresponding to the first theme, the simplified version theme comprises a basic function module in the first theme, the basic function module is a function module which is provided by operating systems of different versions, and the basic function module comprises one or more of a screen locking wallpaper module, a desktop wallpaper module and an icon module.
10. The apparatus according to claim 9, wherein when the version information in the theme request matches the version information corresponding to the first theme, the second theme is a full version theme corresponding to the version information.
11. A theme acquisition apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to perform the method of any one of claims 1 to 5.
12. A non-transitory computer readable storage medium having instructions therein which, when executed by a processor, enable the processor to perform the method of any one of claims 1 to 5.
CN201711329299.5A 2017-12-13 2017-12-13 Theme acquisition method and device Active CN107992333B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711329299.5A CN107992333B (en) 2017-12-13 2017-12-13 Theme acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711329299.5A CN107992333B (en) 2017-12-13 2017-12-13 Theme acquisition method and device

Publications (2)

Publication Number Publication Date
CN107992333A CN107992333A (en) 2018-05-04
CN107992333B true CN107992333B (en) 2021-08-24

Family

ID=62037835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711329299.5A Active CN107992333B (en) 2017-12-13 2017-12-13 Theme acquisition method and device

Country Status (1)

Country Link
CN (1) CN107992333B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345421A (en) * 2013-06-20 2013-10-09 华为技术有限公司 Method and device for pushing application program
CN106130788A (en) * 2016-08-05 2016-11-16 珠海市魅族科技有限公司 A kind of method and device of subject document adaptive terminal
CN106303011A (en) * 2016-08-09 2017-01-04 珠海市魅族科技有限公司 The method and device that a kind of theme obtains
CN106775832A (en) * 2016-11-25 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of installation method and device of mobile terminal pre-installed applications

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160048296A1 (en) * 2014-08-12 2016-02-18 Motorola Mobility Llc Methods for Implementing a Display Theme on a Wearable Electronic Device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103345421A (en) * 2013-06-20 2013-10-09 华为技术有限公司 Method and device for pushing application program
CN106130788A (en) * 2016-08-05 2016-11-16 珠海市魅族科技有限公司 A kind of method and device of subject document adaptive terminal
CN106303011A (en) * 2016-08-09 2017-01-04 珠海市魅族科技有限公司 The method and device that a kind of theme obtains
CN106775832A (en) * 2016-11-25 2017-05-31 宇龙计算机通信科技(深圳)有限公司 A kind of installation method and device of mobile terminal pre-installed applications

Also Published As

Publication number Publication date
CN107992333A (en) 2018-05-04

Similar Documents

Publication Publication Date Title
EP3174053A1 (en) Method, apparatus and system for playing multimedia data, computer program and recording medium
US20170123781A1 (en) Method, device and system for application updating
US10705828B2 (en) Method and apparatus for updating application
EP3200116A1 (en) Method and apparatus for acquiring information via a virtual identity module from lost or stolen terminal
CN110839073A (en) Method for acquiring push information, method and device for sending push information
CN107463372B (en) Data-driven page updating method and device
CN107395624B (en) Information processing method and device
CN110852163A (en) Binding method and device
CN106990984B (en) Method and device for updating system
CN110221813B (en) Application data connection establishment method and device, storage medium and electronic equipment
CN107632835B (en) Application installation method and device
CN111221593A (en) Dynamic loading method and device
CN111198706A (en) Method for updating system function, apparatus for updating system function and storage medium
CN107241439B (en) Message pushing method and device for H5 page
CN107885464B (en) Data storage method, device and computer readable storage medium
CN107483605B (en) File downloading method and device and storage medium
CN112087544B (en) Prompting method and device
CN106201634B (en) Software installation method and device
US11269699B2 (en) Method and device for processing an application
CN107992333B (en) Theme acquisition method and device
CN110457084B (en) Loading method and device
CN109885360B (en) Data processing method, device and storage medium
CN107734072B (en) Processing method and device for push information
CN108011882B (en) Method, device and system for data synchronization
CN107315590B (en) Notification message processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant