CN110377375B - App theme switching method and device and computer readable storage medium - Google Patents

App theme switching method and device and computer readable storage medium Download PDF

Info

Publication number
CN110377375B
CN110377375B CN201910474165.5A CN201910474165A CN110377375B CN 110377375 B CN110377375 B CN 110377375B CN 201910474165 A CN201910474165 A CN 201910474165A CN 110377375 B CN110377375 B CN 110377375B
Authority
CN
China
Prior art keywords
module
skin
user
theme
target control
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
CN201910474165.5A
Other languages
Chinese (zh)
Other versions
CN110377375A (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.)
Shenzhen Saiante Technology Service Co Ltd
Original Assignee
Shenzhen Saiante Technology Service 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 Shenzhen Saiante Technology Service Co Ltd filed Critical Shenzhen Saiante Technology Service Co Ltd
Priority to CN201910474165.5A priority Critical patent/CN110377375B/en
Publication of CN110377375A publication Critical patent/CN110377375A/en
Application granted granted Critical
Publication of CN110377375B publication Critical patent/CN110377375B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to an App theme switching method, an App theme switching device and a computer readable storage medium, wherein the App theme switching method comprises the following steps: the method comprises the steps of pre-establishing a theme library comprising at least one theme skin, receiving a setting request aiming at the theme skin and input by a user, searching a theme style according to the mark of the theme skin required to be displayed by the user, and receiving a custom collocation request input by the user, wherein the custom collocation request comprises collocation parameters between theme colors and the theme style, and displaying the theme skin required to be displayed by the user according to the custom collocation request. According to the invention, when the user uses the APP, the favorite background of the user can be exchanged at any time and any place through the main subject library of the APP according to various factors such as the mood of the user, the environmental background of the user, the game scene and the like, so that the user experience of the APP is further improved.

Description

App theme switching method and device and computer readable storage medium
Technical Field
The invention relates to the technical field of computers, in particular to an App theme switching method, an App theme switching device and a computer readable storage medium.
Background
At present, the requirements of users on application personalized functions are higher and higher, and themes and wallpaper are important realization of application personalization, so that the users can get rid of a uniform color of an application interface through the themes and the wallpaper. The user can autonomously select favorite wallpaper and interface style to switch the background skin of the application.
The current method for switching application background skin is as follows: the user selects a target skin in the theme or wallpaper store and then applies to the target application for display. If the user is not satisfied with the replaced background skin, the user needs to switch from the current display interface of the target application to the theme or wallpaper store to reselect the target skin, and then switch to the target application for display. The mode needs multiple interface switching users to replace the interface switching users to the satisfactory background skin, and the operation is complex and inconvenient for the users to operate.
Disclosure of Invention
Aiming at the defects of the existing mode, the invention provides an App theme switching method, an App theme switching device and a computer readable storage medium.
In order to solve the technical problems, a first aspect of the present invention provides an App theme switching method, which includes:
a subject library is pre-established that includes at least one subject skin,
receiving a setting request for topic skin input by a user, wherein the setting request comprises an identification of topic skin to be displayed by the user;
searching for theme colors according to the marks of the theme skins required to be displayed by the user;
searching for a theme style according to the mark of the theme skin to be displayed by the user;
receiving a user-defined collocation request input by the user, wherein the user-defined collocation request comprises collocation parameters between a theme color and the theme style;
and displaying the theme skin required to be displayed by the user according to the custom collocation request.
As an optional implementation manner, the receiving the user-defined collocation request input by the user includes:
receiving voice information input by the user;
and recognizing the voice information according to a preset recognition rule and obtaining a recognition result, wherein the recognition result comprises collocation parameters between the theme colors and the theme styles.
As an optional implementation manner, after the displaying the subject skin that the user needs to display according to the custom collocation request, the method further includes:
and storing the collocation parameters in a pre-designated file.
As an optional implementation manner, the displaying the theme skin that the user needs to display according to the custom collocation request includes:
acquiring the ID of the target control selected by the user;
acquiring the layout attribute of the target control through the ID of the target control;
obtaining skin attributes from layout attributes of the target control, wherein the skin attributes are associated with background picture index values;
acquiring a reference path of the subject skin according to the mark of the subject skin;
replacing the skin attribute associated background picture index value with a reference path of the subject skin;
triggering the virtual machine to start and display the target control.
As an optional implementation manner, the skin attribute is also associated with a background picture pixel value and a display mode value of the background picture;
and after obtaining the reference path of the subject skin according to the identification of the subject skin, before replacing the skin attribute-associated background picture index value with the reference path of the subject skin, the method further comprises:
acquiring a system type value of a host;
modifying a background picture pixel value according to the system type value of the host;
and modifying the display mode value of the background picture according to the system type value of the host.
As an optional implementation, after replacing the skin attribute-associated background picture index value with the reference path of the subject skin, before triggering the virtual machine to launch and display the target control, the method further comprises:
and judging whether the host machine supports displaying the target control, if so, triggering the virtual machine to start and display the target control.
As an alternative embodiment, after replacing the skin attribute-associated background picture index value with the reference path of the subject skin, before triggering the virtual machine to launch and display the target control, the method further comprises:
and judging whether the stack of the host has the instance of the target control, if so, deleting the instance of the target control and recreating one instance of the target control.
The second aspect of the present invention also provides an App theme switching device, which includes:
the creation module is used for pre-creating a subject library comprising at least one subject skin;
the receiving module is used for receiving a setting request for the topic skin input by a user after the creating module establishes a topic library comprising at least one topic skin, wherein the setting request comprises an identifier of the topic skin which needs to be displayed by the user;
the searching module is used for searching the theme colors according to the marks of the theme skins required to be displayed by the user;
the searching module is also used for searching the theme style according to the mark of the theme skin which is required to be displayed by the user;
the receiving module is further used for receiving a user-defined collocation request input by the user after the searching module searches the theme style according to the mark of the theme skin required to be displayed by the user, wherein the user-defined collocation request comprises collocation parameters between the theme color and the theme style;
and the display module is used for displaying the subject skin required to be displayed by the user according to the user-defined collocation request after the receiving module receives the user-defined collocation request input by the user.
As an alternative implementation manner, the specific manner of receiving the setting request for the subject skin by the receiving module comprises the following steps of;
receiving voice information input by the user;
and, the apparatus further comprises an identification module, wherein:
the recognition module is used for recognizing the voice information according to a preset recognition rule and obtaining a recognition result after the receiving module receives the voice information input by the user, wherein the recognition result comprises collocation parameters between the theme color and the theme style.
As an alternative embodiment, the apparatus further comprises a saving module, wherein:
the storage module is used for storing the collocation parameters in a pre-designated file after the display module displays the theme skin to be displayed by the user according to the self-defined collocation request.
As an optional implementation manner, the display module includes a first acquiring sub-module, a second acquiring sub-module, a third acquiring sub-module, a fourth acquiring sub-module, a replacing sub-module, and a triggering sub-module, where:
the first acquisition sub-module is used for acquiring the ID of the target control selected by the user;
the second acquisition submodule is used for acquiring the layout attribute of the target control through the ID of the target control after the first acquisition submodule acquires the ID of the target control selected by the user;
the third acquisition sub-module is used for acquiring skin attributes from the layout attributes of the target control after the second acquisition sub-module acquires the layout attributes of the target control through the ID of the target control, wherein the skin attributes are associated with background picture index values;
the fourth acquisition sub-module is used for acquiring the quotation path of the subject skin according to the mark of the subject skin after the third acquisition sub-module acquires the skin attribute from the layout attribute of the target control;
the replacing sub-module is used for replacing the skin attribute associated background picture index value with the reference path of the subject skin after the fourth obtaining sub-module obtains the reference path of the subject skin according to the mark of the subject skin;
and the triggering sub-module is used for triggering the virtual machine to start and display the target control after the replacing sub-module replaces the skin attribute associated background picture index value with the reference path of the subject skin.
As an optional implementation manner, the skin attribute is also associated with a background picture pixel value and a display mode value of the background picture;
and the display module further comprises a fifth acquisition sub-module, a first modification module and a second modification module, wherein:
a fifth obtaining sub-module, configured to obtain a system type value of the host after the fourth obtaining sub-module obtains the reference path of the subject skin according to the identifier of the subject skin before the replacing sub-module replaces the skin attribute-related background picture index value with the reference path of the subject skin;
the first modification module is configured to modify a background picture pixel value according to a system type value of a host after the fifth acquisition submodule acquires the system type value of the host;
the second modifying module is configured to modify a display mode value of the background picture according to the system type value of the host after the fifth obtaining submodule obtains the system type value of the host.
As an alternative embodiment, the display module further comprises a first judgment sub-module, wherein,
and the first judging sub-module is used for judging whether the host machine supports displaying the target control or not before the triggering sub-module triggers the virtual machine to start and display the target control after the replacing sub-module replaces the skin attribute related background picture index value with the reference path of the subject skin, and if so, the triggering sub-module is triggered to execute.
As an optional implementation manner, the display module further includes a second judging module, a deleting sub-module, and a creating sub-module, where:
the second judging module is used for judging whether an instance of the target control exists in a stack of the host machine or not before the triggering submodule triggers the virtual machine to start and display the target control after the replacing submodule replaces the skin attribute associated background picture index value with the quoted path of the subject skin;
the deleting sub-module is used for deleting the instance of the target control when the second judging module cuts off the instance of the target control existing in the stack of the host;
and the creation sub-module is used for recreating an instance of the target control after the deletion sub-module deletes the implementation of the target control.
The third aspect of the present invention also provides another App theme switching device, which includes:
a processor; and
a memory configured to store machine-readable instructions that, when executed by the processor, cause the processor to perform an App theme switching method according to the first aspect of the present invention.
A fourth aspect of the present invention provides a computer-readable storage medium storing a computer program, characterized in that the computer program is executed by a processor to perform the App theme switching method according to the first aspect of the present invention.
Compared with the prior art, the invention has the following beneficial effects:
according to the invention, when the user uses the APP, the favorite background of the user can be exchanged at any time and any place through the main subject library of the APP according to various factors such as the mood of the user, the environmental background of the user, the game scene and the like, so that the user experience of the APP is further improved.
Drawings
The foregoing and/or additional aspects and advantages of the invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
fig. 1 is a schematic flow chart of an App theme switching method provided in the first embodiment of the present invention;
fig. 2 is a schematic structural diagram of an App theme switching device according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of an App theme switching device according to a third embodiment of the present invention.
Detailed Description
The present invention is described in detail below, examples of embodiments of the invention are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar components or components having the same or similar functions throughout. Further, if detailed description of the known technology is not necessary for the illustrated features of the present invention, it will be omitted. The embodiments described below by referring to the drawings are illustrative only and are not to be construed as limiting the invention.
It will be understood by those skilled in the art that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs unless defined otherwise. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless expressly stated otherwise, as understood by those skilled in the art. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof. The term "and/or" as used herein includes all or any element and all combination of one or more of the associated listed items.
The following describes the technical scheme of the present invention and how the technical scheme of the present invention solves the above technical problems in detail with specific embodiments.
Example 1
As shown in fig. 1, fig. 1 is a flowchart of an App theme switching method according to an embodiment of the present invention, where the method includes the steps of:
101. pre-establishing a subject library comprising at least one subject skin;
102. receiving a setting request for topic skin input by a user, wherein the setting request comprises an identification of topic skin to be displayed by the user;
103. searching for theme colors according to the marks of the theme skins required to be displayed by the user;
104. searching for a theme style according to the mark of the theme skin to be displayed by the user;
105. receiving a user-defined collocation request input by the user, wherein the user-defined collocation request comprises collocation parameters between a theme color and the theme style;
106. and displaying the theme skin required to be displayed by the user according to the custom collocation request.
As an optional implementation manner, the receiving the user-defined collocation request input by the user includes:
receiving voice information input by the user;
and recognizing the voice information according to a preset recognition rule and obtaining a recognition result, wherein the recognition result comprises collocation parameters between the theme colors and the theme styles.
As an optional implementation manner, after the displaying the subject skin that the user needs to display according to the custom collocation request, the method further includes:
and storing the collocation parameters in a pre-designated file.
As an optional implementation manner, the displaying the theme skin that the user needs to display according to the custom collocation request includes:
acquiring the ID of the target control selected by the user;
acquiring the layout attribute of the target control through the ID of the target control;
obtaining skin attributes from layout attributes of the target control, wherein the skin attributes are associated with background picture index values;
acquiring a reference path of the subject skin according to the mark of the subject skin;
replacing the skin attribute associated background picture index value with a reference path of the subject skin;
triggering the virtual machine to start and display the target control.
As an optional implementation manner, the skin attribute is also associated with a background picture pixel value and a display mode value of the background picture;
and after obtaining the reference path of the subject skin according to the identification of the subject skin, before replacing the skin attribute-associated background picture index value with the reference path of the subject skin, the method further comprises:
acquiring a system type value of a host;
modifying a background picture pixel value according to the system type value of the host;
and modifying the display mode value of the background picture according to the system type value of the host.
As an optional implementation, after replacing the skin attribute-associated background picture index value with the reference path of the subject skin, before triggering the virtual machine to launch and display the target control, the method further comprises:
and judging whether the host machine supports displaying the target control, if so, triggering the virtual machine to start and display the target control.
As an alternative embodiment, after replacing the skin attribute-associated background picture index value with the reference path of the subject skin, before triggering the virtual machine to launch and display the target control, the method further comprises:
and judging whether the stack of the host has the instance of the target control, if so, deleting the instance of the target control and recreating one instance of the target control.
According to the embodiment of the invention, when the user uses the APP, the favorite background of the user can be exchanged at any time and any place through the main subject library of the APP according to various factors such as the mood of the user, the environmental background of the user, the game scene and the like, so that the user experience of the APP is further improved.
Example two
As shown in fig. 2, fig. 2 is a schematic structural diagram of an App theme switching device according to a second embodiment of the present invention, where the device includes:
a creation module 201, configured to pre-create a topic library including at least one topic skin;
a receiving module 202, configured to receive a setting request for a topic skin input by a user after the creating module 201 creates a topic library including at least one topic skin, where the setting request includes an identifier of the topic skin that needs to be displayed by the user;
the searching module 203 is configured to search for a theme color according to the identifier of the theme skin that needs to be displayed by the user;
it should be noted that, after the receiving module 202 performs the setting request for the topic skin input by the user, the searching module 203 may be triggered to start.
The searching module 203 is further configured to search a topic style according to the identity of the topic skin that needs to be displayed by the user;
the receiving module 202 is further configured to receive a custom collocation request input by the user after the searching module 203 searches for a topic style according to the identifier of the topic skin that the user needs to display, where the custom collocation request includes collocation parameters between a topic color and the topic style;
the display module 204 is configured to display the subject skin that the user needs to display according to the custom collocation request after the receiving module 202 receives the custom collocation request input by the user.
As an alternative implementation manner, the specific manner of receiving the setting request for the subject skin by the receiving module comprises the following steps of;
receiving voice information input by the user;
and, the apparatus further comprises an identification module, wherein:
the recognition module is used for recognizing the voice information according to a preset recognition rule and obtaining a recognition result after the receiving module receives the voice information input by the user, wherein the recognition result comprises collocation parameters between the theme color and the theme style.
As an alternative embodiment, the apparatus further comprises a saving module, wherein:
the storage module is used for storing the collocation parameters in a pre-designated file after the display module displays the theme skin to be displayed by the user according to the self-defined collocation request.
As an optional implementation manner, the display module includes a first acquiring sub-module, a second acquiring sub-module, a third acquiring sub-module, a fourth acquiring sub-module, a replacing sub-module, and a triggering sub-module, where:
the first acquisition sub-module is used for acquiring the ID of the target control selected by the user;
the second acquisition submodule is used for acquiring the layout attribute of the target control through the ID of the target control after the first acquisition submodule acquires the ID of the target control selected by the user;
the third acquisition sub-module is used for acquiring skin attributes from the layout attributes of the target control after the second acquisition sub-module acquires the layout attributes of the target control through the ID of the target control, wherein the skin attributes are associated with background picture index values;
the fourth acquisition sub-module is used for acquiring the quotation path of the subject skin according to the mark of the subject skin after the third acquisition sub-module acquires the skin attribute from the layout attribute of the target control;
the replacing sub-module is used for replacing the skin attribute associated background picture index value with the reference path of the subject skin after the fourth obtaining sub-module obtains the reference path of the subject skin according to the mark of the subject skin;
and the triggering sub-module is used for triggering the virtual machine to start and display the target control after the replacing sub-module replaces the skin attribute associated background picture index value with the reference path of the subject skin.
As an optional implementation manner, the skin attribute is also associated with a background picture pixel value and a display mode value of the background picture;
and the display module further comprises a fifth acquisition sub-module, a first modification module and a second modification module, wherein:
a fifth obtaining sub-module, configured to obtain a system type value of the host after the fourth obtaining sub-module obtains the reference path of the subject skin according to the identifier of the subject skin before the replacing sub-module replaces the skin attribute-related background picture index value with the reference path of the subject skin;
the first modification module is configured to modify a background picture pixel value according to a system type value of a host after the fifth acquisition submodule acquires the system type value of the host;
the second modifying module is configured to modify a display mode value of the background picture according to the system type value of the host after the fifth obtaining submodule obtains the system type value of the host.
As an alternative embodiment, the display module further comprises a first judgment sub-module, wherein,
and the first judging sub-module is used for judging whether the host machine supports displaying the target control or not before the triggering sub-module triggers the virtual machine to start and display the target control after the replacing sub-module replaces the skin attribute related background picture index value with the reference path of the subject skin, and if so, the triggering sub-module is triggered to execute.
As an optional implementation manner, the display module further includes a second judging module, a deleting sub-module, and a creating sub-module, where:
the second judging module is used for judging whether an instance of the target control exists in a stack of the host machine or not before the triggering submodule triggers the virtual machine to start and display the target control after the replacing submodule replaces the skin attribute associated background picture index value with the quoted path of the subject skin;
the deleting sub-module is used for deleting the instance of the target control when the second judging module cuts off the instance of the target control existing in the stack of the host;
and the creation sub-module is used for recreating an instance of the target control after the deletion sub-module deletes the implementation of the target control.
The App theme switching device provided by the embodiment of the invention can enable a user to exchange favorite backgrounds at any time and any place through the App theme library according to various factors such as moods of the user, environmental backgrounds, game scenes and the like when the user uses the App by executing the App theme switching method, so that the user experience of the App is further improved.
Example III
As shown in fig. 3, fig. 3 is a schematic structural diagram of an App theme switching device according to a third embodiment of the present invention, where the device includes:
a processor 302; and
a memory 301 configured to store machine readable instructions that when executed by the processor 302 cause the processor 302 to perform an App theme switching method as described in embodiment one of the present invention.
The App theme switching device provided by the embodiment of the invention can enable a user to exchange favorite backgrounds at any time and any place through the App theme library according to various factors such as moods of the user, environmental backgrounds, game scenes and the like when the user uses the App by executing the App theme switching method, so that the user experience of the App is further improved.
Example IV
A fourth embodiment of the present invention provides a computer readable storage medium storing a computer program, where the computer program is executed by a processor to perform an App theme switching method according to the first embodiment of the present invention.
The computer readable storage medium of the embodiment of the invention can enable a user to exchange favorite backgrounds of the user at any time and any place through the theme library of the APP according to various factors such as moods of the user, environmental backgrounds of the user, game scenes and the like when the user uses the APP by executing the APP theme switching method, so that user experience of the APP is further improved.
Those of skill in the art will appreciate that the various operations, methods, steps in the flow, acts, schemes, and alternatives discussed in the present invention may be alternated, altered, combined, or eliminated. Further, other steps, means, or steps in a process having various operations, methods, or procedures discussed herein may be alternated, altered, rearranged, disassembled, combined, or eliminated. Further, steps, measures, schemes in the prior art with various operations, methods, flows disclosed in the present invention may also be alternated, altered, rearranged, decomposed, combined, or deleted.
In the description of the present invention, it should be understood that the terms "center," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate orientations or positional relationships based on the orientation or positional relationships shown in the drawings, merely to facilitate describing the present invention and simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention.
The terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present invention, unless otherwise indicated, the meaning of "a plurality" means two or more.
In the description of the present invention, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
In the description of the present specification, a particular feature, structure, material, or characteristic may be combined in any suitable manner in one or more embodiments or examples.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The foregoing is only a partial embodiment of the present invention, and it should be noted that it will be apparent to those skilled in the art that modifications and adaptations can be made without departing from the principles of the present invention, and such modifications and adaptations are intended to be comprehended within the scope of the present invention.

Claims (6)

1. An App theme switching method, wherein the method is applied to a game scene, and comprises the following steps:
a theme library of APPs comprising at least one theme skin is pre-established,
receiving a setting request for topic skin input by a user, wherein the setting request comprises an identification of topic skin to be displayed by the user;
searching for theme colors according to the marks of the theme skins required to be displayed by the user;
searching for a theme style according to the mark of the theme skin to be displayed by the user;
receiving a user-defined collocation request input by the user, wherein the user-defined collocation request comprises collocation parameters between a theme color and the theme style;
displaying the theme skin to be displayed by the user according to the custom collocation request, wherein the theme skin comprises the following components:
acquiring the ID of the target control selected by the user;
acquiring the layout attribute of the target control through the ID of the target control;
acquiring skin attributes from layout attributes of the target control, wherein the skin attributes are associated with a background picture index value, a background picture pixel value and a display mode value of a background picture;
acquiring a reference path of the subject skin according to the mark of the subject skin;
acquiring a system type value of a host;
modifying a background picture pixel value according to the system type value of the host;
modifying a display mode value of the background picture according to the system type value of the host;
replacing the skin attribute associated background picture index value with a reference path of the subject skin;
judging whether the host supports displaying the target control, and judging whether an instance of the target control exists in a stack of the host; and if the host supports the display of the target control, triggering the virtual machine to start and display the target control, and if the target control instance exists in the stack of the host, deleting the target control instance and recreating one target control instance.
2. The App theme switching method of claim 1, wherein the receiving the user-input custom collocation request comprises:
receiving voice information input by the user;
and recognizing the voice information according to a preset recognition rule and obtaining a recognition result, wherein the recognition result comprises collocation parameters between the theme colors and the theme styles.
3. The App theme switching method of claim 1, further comprising, after the displaying of the theme skin that the user needs to display according to the custom collocation request:
and storing the collocation parameters in a pre-designated file.
4. An App theme switching device, wherein the device is applied to a game scene, comprising:
the creation module is used for pre-creating a theme library of APP comprising at least one theme skin;
the receiving module is used for receiving a setting request for the topic skin input by a user after the creating module establishes a topic library comprising at least one topic skin, wherein the setting request comprises an identifier of the topic skin which needs to be displayed by the user;
the searching module is used for searching the theme colors according to the marks of the theme skins required to be displayed by the user;
the searching module is also used for searching the theme style according to the mark of the theme skin which is required to be displayed by the user;
the receiving module is further used for receiving a user-defined collocation request input by the user after the searching module searches the theme style according to the mark of the theme skin required to be displayed by the user, wherein the user-defined collocation request comprises collocation parameters between the theme color and the theme style;
the display module is used for displaying the subject skin required to be displayed by the user according to the user-defined collocation request after the receiving module receives the user-defined collocation request input by the user;
the display module comprises a first acquisition sub-module, a second acquisition sub-module, a third acquisition sub-module, a fourth acquisition sub-module, a fifth acquisition sub-module, a first modification module, a second modification module, a replacement sub-module, a triggering sub-module, a first judgment sub-module, a second judgment module, a deletion sub-module and a creation sub-module, wherein:
the first acquisition sub-module is used for acquiring the ID of the target control selected by the user;
the second acquisition submodule is used for acquiring the layout attribute of the target control through the ID of the target control after the first acquisition submodule acquires the ID of the target control selected by the user;
the third acquisition sub-module is used for acquiring skin attributes from the layout attributes of the target control after the second acquisition sub-module acquires the layout attributes of the target control through the ID of the target control, wherein the skin attributes are associated with a background picture index value, a background picture pixel value and a display mode value of a background picture;
the fourth acquisition sub-module is used for acquiring the quotation path of the subject skin according to the mark of the subject skin after the third acquisition sub-module acquires the skin attribute from the layout attribute of the target control;
the replacing sub-module is used for replacing the skin attribute associated background picture index value with the reference path of the subject skin after the fourth obtaining sub-module obtains the reference path of the subject skin according to the mark of the subject skin;
a fifth obtaining sub-module, configured to obtain a system type value of the host after the fourth obtaining sub-module obtains the reference path of the subject skin according to the identifier of the subject skin before the replacing sub-module replaces the skin attribute-related background picture index value with the reference path of the subject skin;
the first modification module is used for modifying the background picture pixel value according to the system type value of the host after the fifth acquisition submodule acquires the system type value of the host;
the second modification module is used for modifying the display mode value of the background picture according to the system type value of the host after the fifth acquisition submodule acquires the system type value of the host;
the triggering sub-module is used for triggering the virtual machine to start and display a target control after the replacing sub-module replaces the skin attribute associated background picture index value with the reference path of the subject skin;
the first judging sub-module is used for judging whether the host machine supports displaying the target control or not before the triggering sub-module triggers the virtual machine to start and display the target control after the replacing sub-module replaces the skin attribute related background picture index value with the quoted path of the subject skin, and if yes, the triggering sub-module is triggered to execute;
the second judging module is used for judging whether an instance of the target control exists in a stack of the host machine or not before the triggering submodule triggers the virtual machine to start and display the target control after the replacing submodule replaces the skin attribute associated background picture index value with the quoted path of the subject skin;
the deleting sub-module is used for deleting the instance of the target control when the second judging module cuts off the instance of the target control existing in the stack of the host;
and the creation sub-module is used for recreating an instance of the target control after the deletion sub-module deletes the implementation of the target control.
5. An App theme switching device, characterized in that: the device comprises:
a processor; and
a memory configured to store machine-readable instructions that, when executed by the processor, cause the processor to perform the App theme switching method of any one of claims 1-3.
6. A computer-readable storage medium storing a computer program, characterized in that the computer program is executed by a processor to the App theme switching method of any one of claims 1 to 3.
CN201910474165.5A 2019-05-31 2019-05-31 App theme switching method and device and computer readable storage medium Active CN110377375B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910474165.5A CN110377375B (en) 2019-05-31 2019-05-31 App theme switching method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910474165.5A CN110377375B (en) 2019-05-31 2019-05-31 App theme switching method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN110377375A CN110377375A (en) 2019-10-25
CN110377375B true CN110377375B (en) 2023-10-27

Family

ID=68249631

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910474165.5A Active CN110377375B (en) 2019-05-31 2019-05-31 App theme switching method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN110377375B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111158832A (en) * 2019-12-31 2020-05-15 中国银行股份有限公司 Theme skin changing method and device for mobile banking application
CN113157374A (en) * 2021-04-27 2021-07-23 北京有竹居网络技术有限公司 Page mode switching method, device, equipment and storage medium
CN115967762A (en) * 2021-10-12 2023-04-14 花瓣云科技有限公司 Display method, display resource management method, readable medium, and electronic device
CN116755589B (en) * 2023-08-22 2023-11-28 苔花科迈(西安)信息技术有限公司 Method, device, medium and equipment for changing color matching theme of visual large screen

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1637991A1 (en) * 2004-09-15 2006-03-22 Research In Motion Limited Palette-based color selection within a user interface theme
CN101719075A (en) * 2009-12-29 2010-06-02 中兴通讯股份有限公司 Method for switching theme of Java virtual machine and terminal device
CN103902160A (en) * 2014-03-28 2014-07-02 广州市久邦数码科技有限公司 Method for realizing desktop theme mixing and matching and desktop theme mixing and matching system
CN105117225A (en) * 2015-08-24 2015-12-02 江西好帮手电子科技有限公司 Android system based HMI interface customizing method and system
CN106802794A (en) * 2016-12-20 2017-06-06 智车优行科技(北京)有限公司 Method for switching theme, device, vehicle and system
CN106897075A (en) * 2017-03-14 2017-06-27 广东小天才科技有限公司 A kind of desktop vision-control method and device
CN108228293A (en) * 2017-12-29 2018-06-29 北京金山安全软件有限公司 Interface skin switching method and device
CN108228677A (en) * 2016-12-22 2018-06-29 北京国双科技有限公司 Switch the method and apparatus of subject of Web site style
CN108334385A (en) * 2017-01-18 2018-07-27 腾讯科技(深圳)有限公司 A kind of the user interface skins management method and device of application
CN108427586A (en) * 2017-08-04 2018-08-21 平安科技(深圳)有限公司 Using push terminal, method and the computer readable storage medium of theme
CN108628518A (en) * 2017-07-26 2018-10-09 北京视联动力国际信息技术有限公司 A kind of Application Program Interface replacing skins method and device
CN108897595A (en) * 2018-06-27 2018-11-27 珠海市君天电子科技有限公司 A kind of method, apparatus and terminal device of interface beautification
CN109814777A (en) * 2018-12-24 2019-05-28 维沃移动通信有限公司 The setting method to show topics and a kind of mobile terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040220943A1 (en) * 2003-04-30 2004-11-04 Motorola, Inc. Data structure and method facilitating a custom user interface

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1637991A1 (en) * 2004-09-15 2006-03-22 Research In Motion Limited Palette-based color selection within a user interface theme
CN101719075A (en) * 2009-12-29 2010-06-02 中兴通讯股份有限公司 Method for switching theme of Java virtual machine and terminal device
CN103902160A (en) * 2014-03-28 2014-07-02 广州市久邦数码科技有限公司 Method for realizing desktop theme mixing and matching and desktop theme mixing and matching system
CN105117225A (en) * 2015-08-24 2015-12-02 江西好帮手电子科技有限公司 Android system based HMI interface customizing method and system
CN106802794A (en) * 2016-12-20 2017-06-06 智车优行科技(北京)有限公司 Method for switching theme, device, vehicle and system
CN108228677A (en) * 2016-12-22 2018-06-29 北京国双科技有限公司 Switch the method and apparatus of subject of Web site style
CN108334385A (en) * 2017-01-18 2018-07-27 腾讯科技(深圳)有限公司 A kind of the user interface skins management method and device of application
CN106897075A (en) * 2017-03-14 2017-06-27 广东小天才科技有限公司 A kind of desktop vision-control method and device
CN108628518A (en) * 2017-07-26 2018-10-09 北京视联动力国际信息技术有限公司 A kind of Application Program Interface replacing skins method and device
CN108427586A (en) * 2017-08-04 2018-08-21 平安科技(深圳)有限公司 Using push terminal, method and the computer readable storage medium of theme
CN108228293A (en) * 2017-12-29 2018-06-29 北京金山安全软件有限公司 Interface skin switching method and device
CN108897595A (en) * 2018-06-27 2018-11-27 珠海市君天电子科技有限公司 A kind of method, apparatus and terminal device of interface beautification
CN109814777A (en) * 2018-12-24 2019-05-28 维沃移动通信有限公司 The setting method to show topics and a kind of mobile terminal

Also Published As

Publication number Publication date
CN110377375A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN110377375B (en) App theme switching method and device and computer readable storage medium
CN104995639B (en) terminal and video file management method
CN104252343B (en) A kind of method and apparatus for replacing application program vision control
CN107943924B (en) Method for automatically generating webpage theme, storage medium and electronic equipment
CN112165553B (en) Image generation method and device, electronic equipment and computer readable storage medium
CN111935505B (en) Video cover generation method, device, equipment and storage medium
CN106156189B (en) Label generation method and device, and information acquisition method and device
EP3798811A1 (en) Icon display method and device, terminal, and storage medium
CN113794835B (en) Video recording method and device and electronic equipment
CN110908565A (en) Method, device, equipment and storage medium for customizing screen theme
CN104333699A (en) Synthetic method and device of user-defined photographing area
WO2022068803A1 (en) File processing method and apparatus, and electronic device
EP2717157B1 (en) Method for editing skin of client and skin editor
JP6376591B2 (en) Data output device, data output method, and three-dimensional object manufacturing system
CN109636875B (en) Graph drawing method, device and storage medium
EP3896562A1 (en) Interaction method, and image processing method and apparatus
KR20180108799A (en) Method and apparatus for editing a facial model
CN108269296A (en) Image processing method, mobile terminal and device
US9122923B2 (en) Image generation apparatus and control method
KR20230105345A (en) Video Recording Methods and Electronic Devices
JP2008102613A (en) Retrieval result display device, method and program
CN110850996A (en) Picture/video processing method and device applied to input method
CN108459786B (en) Method and device for displaying customized LOGO and client equipment
CN104166690B (en) A kind of information processing method and electronic equipment
US11740761B2 (en) Method for displaying icons, terminal and non-transitory storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20210128

Address after: 518000 Room 201, building A, No. 1, Qian Wan Road, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen, Guangdong (Shenzhen Qianhai business secretary Co., Ltd.)

Applicant after: Shenzhen saiante Technology Service Co.,Ltd.

Address before: 518033 1-34 / F, Qianhai free trade building, 3048 Xinghai Avenue, Mawan, Qianhai Shenzhen Hong Kong cooperation zone, Shenzhen City, Guangdong Province

Applicant before: Ping An International Smart City Technology Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant