CN114595019A - Theme setting method, device and equipment of application program and storage medium - Google Patents

Theme setting method, device and equipment of application program and storage medium Download PDF

Info

Publication number
CN114595019A
CN114595019A CN202210142747.5A CN202210142747A CN114595019A CN 114595019 A CN114595019 A CN 114595019A CN 202210142747 A CN202210142747 A CN 202210142747A CN 114595019 A CN114595019 A CN 114595019A
Authority
CN
China
Prior art keywords
theme
terminal
application program
application
state
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.)
Pending
Application number
CN202210142747.5A
Other languages
Chinese (zh)
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 Wutong Chelian Technology Co Ltd
Original Assignee
Beijing Wutong Chelian Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Wutong Chelian Technology Co Ltd filed Critical Beijing Wutong Chelian Technology Co Ltd
Priority to CN202210142747.5A priority Critical patent/CN114595019A/en
Publication of CN114595019A publication Critical patent/CN114595019A/en
Pending legal-status Critical Current

Links

Images

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

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

Abstract

The application discloses a theme setting method, device and equipment of an application program and a storage medium, and belongs to the technical field of computers. The method comprises the following steps: acquiring face information of a target object corresponding to a terminal; determining a state of the target object based on the face information; obtaining a theme pack matched with the state, wherein the theme pack comprises a target theme corresponding to at least one application program existing in the terminal; setting the theme of at least one application program based on the target theme. By setting the theme of the application program according to the state of the target object corresponding to the terminal, the situation that a user needs to actively set the theme of the application program is avoided, and the efficiency of setting the theme of the application program is improved.

Description

Theme setting method, device and equipment of application program and storage medium
Technical Field
The embodiment of the application relates to the technical field of computers, in particular to a theme setting method, device and equipment of an application program and a storage medium.
Background
In the field of computer technology, the appearance corresponding to an application program is usually set based on a certain theme, and after the theme of the application program is set, the color, pattern, and the like displayed on the page corresponding to the application program are correspondingly set.
In the related art, which theme is used by an application is autonomously set by a user. However, the theme of the application program autonomously set by the user is limited by the user, and if the user does not actively set the theme of the application program, the theme of the application program is not updated, and the efficiency of autonomously setting the theme of the application program based on the user is low, and the time cost is high.
Disclosure of Invention
The embodiment of the application provides a theme setting method, device and equipment of an application program and a storage medium, which can be used for solving the problems in the related art. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a theme setting method for an application program, where the method includes:
acquiring face information of a target object corresponding to a terminal;
determining a state of the target object based on the facial information;
obtaining a theme pack matched with the state, wherein the theme pack comprises a target theme corresponding to at least one application program existing in the terminal;
setting the theme of the at least one application program based on the target theme.
In a possible implementation manner, before setting the theme of the at least one application based on the target theme, the method further includes: acquiring an identifier corresponding to each theme included in the theme pack; acquiring identifiers corresponding to application programs existing in the terminal; matching the identification corresponding to each application program in the terminal with the identification corresponding to each theme included in the theme pack to obtain a matching result; and determining a target theme in each theme included in the theme pack and at least one application corresponding to the target theme in each application existing in the terminal based on the matching result.
In a possible implementation manner, the obtaining the theme pack matched with the state includes: obtaining a theme pack matched with the state from a theme pack library corresponding to the terminal; or acquiring the theme pack matched with the state based on the network.
In one possible implementation manner, the obtaining of the face information of the target object corresponding to the terminal includes: acquiring at least one image including a face of the target object; based on the at least one image, the face information is acquired.
In a possible implementation manner, the at least one application includes an application in a running state, and after the setting of the theme of the at least one application based on the target theme, the method further includes: after the theme of the application program in the running state is set, updating the application program in the running state, so that the application program in the running state with the theme set displays the set theme.
In another aspect, an apparatus for setting a theme of an application is provided, the apparatus including:
the terminal comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the face information of a target object corresponding to the terminal;
a first determination module to determine a state of the target object based on the facial information;
a second obtaining module, configured to obtain a theme pack matched with the state, where the theme pack includes a target theme corresponding to at least one application program existing in the terminal;
and the setting module is used for setting the theme of the at least one application program based on the target theme.
In one possible implementation, the apparatus further includes:
a third obtaining module, configured to obtain an identifier corresponding to each topic included in the topic package; acquiring identifiers corresponding to application programs existing in the terminal;
the matching module is used for matching the identification corresponding to each application program in the terminal with the identification corresponding to each theme included in the theme pack to obtain a matching result;
a second determining module, configured to determine, based on the matching result, a target topic in each topic included in the topic package and at least one application corresponding to the target topic in each application existing in the terminal.
In a possible implementation manner, the second obtaining module is configured to obtain the theme pack matched with the state from a theme pack library corresponding to the terminal; or acquiring the theme pack matched with the state based on a network.
In one possible implementation, the first obtaining module is configured to obtain at least one image including a face of the target object; based on the at least one image, the face information is acquired.
In one possible implementation, the at least one application includes an application in a running state, and the apparatus further includes:
and the updating module is used for updating the application program in the running state after responding to the theme of the application program in the running state being set so as to enable the application program in the running state after the theme is set to display the set theme.
In another aspect, a computer device is provided, and the computer device includes a processor and a memory, where at least one computer program is stored in the memory, and the at least one computer program is loaded by the processor and executed to enable the computer device to implement any one of the theme setting methods of the application program.
In another aspect, a computer-readable storage medium is provided, in which at least one computer program is stored, and the at least one computer program is loaded and executed by a processor, so as to enable a computer to implement any one of the above theme setting methods for an application program.
In another aspect, a computer program product is provided, where the computer program product includes a computer program or a computer instruction, and the computer program or the computer instruction is loaded and executed by a processor, so as to make a computer implement any one of the theme setting methods of the application program.
The technical scheme provided by the embodiment of the application at least has the following beneficial effects:
according to the technical scheme, the state of the target object is determined according to the face information of the target object, the corresponding theme pack is obtained based on the state of the target object, and the theme of at least one application program corresponding to the target theme in the terminal is set based on the target theme in the theme pack. By means of setting the theme of the application program according to the state of the target object corresponding to the terminal, the situation that a user needs to actively set the theme of the application program is avoided, and the efficiency of setting the theme of the application program is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a schematic illustration of an implementation environment provided by an embodiment of the present application;
fig. 2 is a flowchart of a theme setting method of an application provided in an embodiment of the present application;
fig. 3 is a schematic diagram of a theme setting apparatus of an application according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a server provided in an embodiment of the present application;
fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, the following detailed description of the embodiments of the present application will be made with reference to the accompanying drawings.
It should be noted that information (including but not limited to user equipment information, user personal information, etc.), data (including but not limited to data for analysis, stored data, presented data, etc.), and signals referred to in this application are authorized by the user or sufficiently authorized by various parties, and the collection, use, and processing of the relevant data is required to comply with relevant laws and regulations and standards in relevant countries and regions. For example, the face information of the target object referred to in the present application is acquired with sufficient authorization.
An embodiment of the present application provides a theme setting method for an application, please refer to fig. 1, which shows a schematic diagram of an implementation environment of the method provided in the embodiment of the present application. The implementation environment may include: a terminal 11 and a server 12.
The terminal 11 is provided with an image pickup device, and images can be acquired by the image pickup device. At least one application is installed in the terminal 11. A theme pack library is preset in the terminal 11, at least one theme pack is stored in the theme pack library, and each theme pack includes at least one theme. In an exemplary embodiment, the terminal 11 may also acquire necessary information, for example, a theme pack, from the server 12 through a network. The server 12 stores therein a theme pack.
Alternatively, the terminal 11 may be any electronic product capable of performing man-machine interaction with a user through one or more modes of a keyboard, a touch pad, a touch screen, a remote controller, voice interaction or handwriting equipment, such as a PC (Personal Computer), a mobile phone, a smart phone, a PDA (Personal Digital Assistant), a wearable device, a PPC (Pocket PC, palmtop), a tablet Computer, a smart car, a smart television, and the like. The server 12 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center. The terminal 11 establishes a communication connection with the server 12 through a wired or wireless network.
It should be understood by those skilled in the art that the above-mentioned terminal 11 and server 12 are only examples, and other existing or future terminals or servers may be suitable for the present application and are included within the scope of the present application and are herein incorporated by reference.
Based on the implementation environment shown in fig. 1, the embodiment of the present application provides a theme setting method for an application program, and the method is applied to the terminal 11 as an example. As shown in fig. 2, the method provided by the embodiment of the present application may include the following steps 201 to 204.
In step 201, face information of a target object corresponding to a terminal is acquired.
The application is installed on the corresponding terminal, and thus, the face information of the target object corresponding to the terminal is acquired. In an exemplary embodiment, the facial information of the target object may be obtained by including a facial image of the target object, wherein the facial information of the target object includes a facial expression of the target object. In the face image of the target object, there is a high possibility that the facial expression of the target object is accidental, for example, the actual state of the target object is sad, but the facial expression of the target object exists at a time that is not an expression corresponding to sadness, and the state exhibited by the face image of the target object acquired at this time is not necessarily sadness, so that the state of the target object can be determined by acquiring a plurality of face images of the target object, and the accuracy of the state of the target object obtained from the plurality of face images of the target object is higher.
Thus, in an exemplary embodiment, acquiring face information of a target object corresponding to a terminal includes: acquiring at least one image including a face of a target object; based on the at least one image, facial information of the target object is acquired. Wherein, in an exemplary embodiment, acquiring at least one image of a face of a target object comprises: a camera device based on a terminal configuration acquires at least one image including a face of a target object.
The embodiment of the present application is not limited to how to obtain the face information of the target object from the face image of the target object, and optionally, a neural network may be used to extract the facial features of the target object from the face image of the target object to obtain a feature map containing the face information of the target object. In an exemplary embodiment, the face information of the target object is used to indicate the state of the target object.
In step 202, the state of the target object is determined based on the face information.
In an exemplary embodiment, the face information of the target object is embedded in the corresponding feature map, and determining the state of the target object based on the face information includes: and determining the state of the target object based on the feature map corresponding to the at least one face image of the target object.
In some embodiments, determining the state of the target object based on the feature map corresponding to the at least one facial image comprises: and inputting the feature map corresponding to the at least one facial image into the state model, and determining the state of the target object by the state model based on the feature map corresponding to the at least one facial image. In an exemplary embodiment, the states are set manually, and the present application is not limited in which state types the set states include, for example, the states include: happy state, angry state, refractory state, etc. For example, the state of the target object is a happy state.
In step 203, a theme pack matching the state of the target object is obtained, where the theme pack includes a target theme corresponding to at least one application program existing in the terminal.
The number of topics included in the topic package matched with the state of the target object is not limited in the embodiments of the present application. Illustratively, the theme pack includes 4 themes, spring, summer, autumn, and winter, respectively.
In an exemplary embodiment, obtaining a theme pack that matches a state of a target object includes: acquiring a state parameter corresponding to the state of a target object; matching the state parameters corresponding to the states of the target object with the theme parameters corresponding to the theme pack; and responding to the condition parameter corresponding to the condition of the target object and the theme parameter corresponding to any theme package to be successfully matched, and acquiring any theme package. In an exemplary embodiment, the matching of the state parameter corresponding to the state of the target object and the theme parameter corresponding to any theme pack is successful, including: the state parameter corresponding to the state of the target object is consistent with the theme parameter corresponding to any theme pack, for example, when the state of the target object is a happy state, the corresponding state parameter is 01, and the theme parameter corresponding to the theme pack is 01, the theme parameter of the theme pack is considered to be consistent with the state parameter of the target object.
The state parameters of the state of the target object can be set in advance with the theme parameters of the theme pack, and different state parameters correspond to different theme parameters. The setting mode of the state parameters and the theme parameters is not limited in the embodiment of the application. Optionally, theme types corresponding to the states are set in the theme pack library, one state corresponds to one theme type, each theme type corresponds to one theme parameter, and theme packs located in the same theme type have the same theme parameters. For example, the topic type corresponding to the happy state is a happy topic type; the theme type corresponding to the gas generating state is a gas theme type. In a possible implementation manner, the selected theme pack corresponding to the happy state in the theme pack library can be classified under the happy theme type in a manual labeling manner, and the theme parameter of the happy theme type is set to be 01; attributing the selected theme pack corresponding to the angry state in the theme pack library to the angry theme type, and setting the theme parameter of the angry theme type to be 02; and the selected theme pack corresponding to the difficult-to-pass state in the theme pack library is classified under the difficult-to-pass theme type, and the theme parameter of the difficult-to-pass theme type is set to be 03.
In addition, the state parameter of the state of the target object and the theme parameter of the theme pack corresponding to the state may be the same or different, and the corresponding relationship between the two may be represented.
It should be noted that, when the state parameter corresponding to the state of the target object can be matched to a plurality of theme packs, one theme pack is arbitrarily selected from the plurality of theme packs as the theme pack matched with the state of the target object.
It should be noted that the theme pack corresponding to the state of the target object includes a target theme corresponding to at least one application program existing in the terminal. For example, there are 4 themes in the theme package corresponding to the state of the target object, which are spring, summer, autumn, and winter, respectively, and at least one theme in the 4 themes corresponds to at least one application program existing in the terminal, for example, the theme of spring corresponds to the application program 1 and the application program 2 in the terminal, and the theme of spring is the target theme included in the theme package corresponding to the state of the target object. In an exemplary embodiment, all themes included in the theme pack corresponding to the state of the target object are target themes, and at least one theme is not a target theme. The theme that is not the target theme includes but is not limited to meaning that there is no application corresponding to the theme in the terminal.
The embodiment of the present application is not limited to where to obtain the theme pack matching the state of the target object. In an exemplary embodiment, the obtaining of the theme pack matched with the state of the target object may be obtaining the theme pack matched with the state of the target object from a theme pack library corresponding to the terminal. In another exemplary embodiment, the obtaining of the theme pack matched with the state of the target object may be obtaining the theme pack matched with the state of the target object based on a network. The theme pack library corresponding to the terminal is a theme pack library preset in the terminal.
In an exemplary embodiment, obtaining a theme pack matched with a state of a target object based on a network includes: and downloading the theme pack matched with the state of the target object to a theme pack library corresponding to the terminal based on the network, and then acquiring the theme pack from the theme pack library corresponding to the terminal. In another exemplary embodiment, the downloading of the theme pack matched with the state of the target object to the theme pack library corresponding to the terminal based on the network is performed in a manner that the theme pack matched with the state of the target object does not exist in the theme pack library corresponding to the terminal.
In an exemplary embodiment, obtaining a theme pack matched with the state of a target object from a theme pack library corresponding to a terminal includes: and acquiring any theme pack successfully matched with the state parameters corresponding to the state of the target object from a theme pack library corresponding to the terminal. In an exemplary embodiment, the obtaining of the theme pack matched with the state of the target object based on the network includes: any theme pack successfully matched with the state parameters corresponding to the state of the target object is acquired from the theme packs stored in the server based on the network.
In another exemplary embodiment, the obtaining of the theme pack matched with the state of the target object based on the network includes: and in response to the fact that the theme pack corresponding to the terminal does not have the theme pack corresponding to the state of the target object and the state parameter is successfully matched, any theme pack corresponding to the state of the target object and successfully matched is obtained from the theme packs stored in the server on the basis of the network.
In step 204, a theme is set for at least one application based on the target theme.
In an exemplary embodiment, before setting the theme of at least one application program based on the target theme, the target theme needs to be determined from the themes included in the theme pack, and at least one application program corresponding to the target theme needs to be determined from the application programs existing in the terminal. Thus, in the exemplary embodiment, before setting the theme of the at least one application based on the target theme, the method further includes: acquiring an identifier corresponding to each theme included in the theme pack; acquiring identifiers corresponding to application programs existing in a terminal; matching the identification corresponding to each application program in the terminal with the identification corresponding to each theme included in the theme pack to obtain a matching result; and determining a target theme in all themes included in the theme pack and at least one application program corresponding to the target theme in all application programs existing in the terminal based on the matching result.
In an exemplary embodiment, the identifiers corresponding to the respective topics included in the topic package are manually set or automatically generated, and the embodiment of the present application is not limited as to how to set the identifier corresponding to each topic. Illustratively, a theme pack includes 4 themes, which are spring, summer, autumn and winter respectively, wherein the theme of spring is located at the position of the first theme in the theme pack, the theme of summer is located at the position of the second theme in the theme pack, the theme of autumn is located at the position of the third theme in the theme pack, and the theme of winter is located at the position of the fourth theme in the theme pack, so that the respective identifications of the 4 themes of spring, summer, autumn and winter are: 01. 02, 03 and 04.
In an exemplary embodiment, the identifier corresponding to each application program existing in the terminal is manually set or automatically generated, and the embodiment of the present application is not limited as to how to set the identifier corresponding to each application program. The identifier of each application is set so that the application is set as a corresponding theme, and in an exemplary embodiment, different applications may use the same theme or different themes. For example, if the application 1 is set to the id 01, the application 2 is set to the id 02, and the application 3 is set to the id 01, the application 1 and the application 3 are set to the same theme, and the application 1 and the application 2 are set to different themes.
In an exemplary embodiment, the identifiers corresponding to the respective application programs existing in the terminal are matched with the identifiers corresponding to the respective topics included in the topic package, and the obtained matching result includes the following three cases.
In the first case: and each theme in the theme pack has a corresponding application program, and the terminal has an application program without a corresponding theme.
Illustratively, the theme pack includes 4 themes, spring, summer, autumn, and winter, and the corresponding identifications of the 4 themes are 01-04, respectively. The terminal comprises 5 application programs which are respectively 1-5, and the corresponding identifiers of the 5 application programs are respectively 01-05. The 4 themes are matched with the 5 application programs, and the obtained matching result is that the application program 1 corresponds to the theme of spring, the application program 2 corresponds to the theme of summer, the application program 3 corresponds to the theme of autumn, the application program 4 corresponds to the theme of winter, and the application program 5 does not have a corresponding theme.
In the second case: each theme in the theme pack has a corresponding application program, and each application program in the terminal has a corresponding theme.
Illustratively, the theme pack includes 4 themes, spring, summer, autumn, and winter, and the corresponding identifications of the 4 themes are 01-04, respectively. The 5 applications existing in the terminal are respectively applications 1-5, and the 5 applications are correspondingly marked as 01, 02, 03 and 04. The 4 themes are matched with the 5 application programs, and the obtained matching results are that the application program 1 and the application program 2 correspond to a theme of spring, the application program 3 corresponds to a theme of summer, the application program 4 corresponds to a theme of autumn, and the application program 5 corresponds to a theme of winter.
In a third case: the theme pack has a theme without corresponding application programs, and each application program in the terminal has a corresponding theme.
Illustratively, the theme pack includes 4 themes, spring, summer, autumn, and winter, respectively, with the corresponding identifications of the 4 themes being 01-04, respectively. The 5 applications existing in the terminal are respectively applications 1-5, and the corresponding identifications of the 5 applications are respectively 01, 02 and 03. The 4 themes are matched with the 5 application programs, and the obtained matching results are that the application program 1, the application program 2 and the application program 3 correspond to the theme of spring, the application program 4 corresponds to the theme of summer, the application program 5 corresponds to the theme of autumn, and the theme of winter does not have a corresponding application program.
After the matching result of the identifiers corresponding to the application programs existing in the terminal and the identifiers corresponding to the topics included in the topic package is obtained, the target topic in the topics included in the topic package and at least one application program corresponding to the target topic in the application programs existing in the terminal can be obtained according to the matching result. Taking the second case as an example, the corresponding application programs exist in all four themes of spring, summer, autumn and winter included in the theme pack, that is, all four themes in the theme pack are target themes. The at least one application program corresponding to the theme of spring comprises an application program 1 and an application program 2, the at least one application program corresponding to the theme of summer comprises an application program 3, the at least one application program corresponding to the theme of autumn comprises an application program 4, and the at least one application program corresponding to the theme of winter comprises an application program 5.
In an exemplary embodiment, after a target theme in themes included in the theme pack and at least one application program corresponding to the target theme are determined, the theme of the at least one application program is set based on the target theme.
In an exemplary embodiment, the at least one application corresponding to the target theme includes an application in a running state, and in order to enable the application in the running state to display the set theme, the application in the running state needs to be updated. Thus, in the exemplary embodiment, after setting the theme of the at least one application based on the target theme, the method further includes: and after the theme of the application program in the running state is set, updating the application program in the running state so that the application program in the running state after the theme is set displays the set theme.
In the embodiment of the application, according to the technical scheme provided by the embodiment of the application, the state of the target object is determined according to the face information of the target object, a corresponding theme pack is obtained based on the state of the target object, and the theme of at least one application program corresponding to the target theme and existing in the terminal is set based on the target theme in the theme pack. By means of setting the theme of the application program according to the state of the target object corresponding to the terminal, the situation that a user needs to actively set the theme of the application program is avoided, and the efficiency of setting the theme of the application program is improved.
Referring to fig. 3, an embodiment of the present application provides an apparatus for setting a theme of an application, where the apparatus includes:
a first obtaining module 301, configured to obtain face information of a target object corresponding to a terminal;
a first determination module 302 for determining a state of a target object based on facial information;
a second obtaining module 303, configured to obtain a theme pack matched with the state, where the theme pack includes a target theme corresponding to at least one application program existing in the terminal;
a setting module 304, configured to set a theme of the at least one application program based on the target theme.
In one possible implementation, the apparatus further includes:
the third obtaining module is used for obtaining the identification corresponding to each theme included in the theme pack; acquiring identifiers corresponding to application programs existing in a terminal;
the matching module is used for matching the identification corresponding to each application program in the terminal with the identification corresponding to each theme included in the theme pack to obtain a matching result;
and the second determining module is used for determining a target theme in each theme included in the theme pack and at least one application program corresponding to the target theme in each application program existing in the terminal based on the matching result.
In a possible implementation manner, the second obtaining module 303 is configured to obtain a theme pack matched with the state from a theme pack library corresponding to the terminal; or acquiring the theme pack matched with the state based on the network.
In one possible implementation, a first acquisition module 301 for acquiring at least one image including a face of a target object; based on the at least one image, facial information is acquired.
In one possible implementation, the at least one application includes an application in a running state, and the apparatus further includes:
and the updating module is used for updating the application program in the running state after the theme of the application program in the running state is set so that the application program in the running state after the theme is set displays the set theme.
In the embodiment of the application, according to the technical scheme provided by the embodiment of the application, the state of the target object is determined according to the face information of the target object, a corresponding theme pack is obtained based on the state of the target object, and the theme of at least one application program corresponding to the target theme and existing in the terminal is set based on the target theme in the theme pack. By means of setting the theme of the application program according to the state of the target object corresponding to the terminal, the situation that a user needs to actively set the theme of the application program is avoided, and the efficiency of setting the theme of the application program is improved.
It should be noted that, when the apparatus provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the above functions may be distributed by different functional modules as needed, that is, the internal structure of the device may be divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Fig. 4 is a schematic structural diagram of a server according to an embodiment of the present application, where the server may generate a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 401 and one or more memories 402, where at least one computer program is stored in the one or more memories 402, and is loaded and executed by the one or more processors 401, so that the server implements the theme setting method of the application program provided by each of the method embodiments. Of course, the server may also have components such as a wired or wireless network interface, a keyboard, and an input/output interface, so as to perform input/output, and the server may also include other components for implementing the functions of the device, which are not described herein again.
Fig. 5 is a schematic structural diagram of a terminal according to an embodiment of the present application. The terminal may be: a smart phone, a tablet computer, an MP3(Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3) player, an MP4(Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4) player, a notebook computer or a desktop computer. A terminal may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
Generally, a terminal includes: a processor 501 and a memory 502.
The processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 501 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in a wake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed by the display screen. In some embodiments, processor 501 may also include an AI (Artificial Intelligence) processor for processing computational operations related to machine learning.
Memory 502 may include one or more computer-readable storage media, which may be non-transitory. Memory 502 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in the memory 502 is used to store at least one instruction for execution by the processor 501 to cause the terminal to implement the theme setting method of the application provided by the method embodiments in the present application.
In some embodiments, the terminal may further include: a peripheral interface 503 and at least one peripheral. The processor 501, memory 502 and peripheral interface 503 may be connected by a bus or signal lines. Each peripheral may be connected to the peripheral interface 503 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of radio frequency circuitry 504, display screen 505, camera assembly 506, audio circuitry 507, positioning assembly 508, and power supply 509.
The peripheral interface 503 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 501 and the memory 502. In some embodiments, the processor 501, memory 502, and peripheral interface 503 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 501, the memory 502, and the peripheral interface 503 may be implemented on a separate chip or circuit board, which is not limited in this embodiment.
The Radio Frequency circuit 504 is used to receive and transmit RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 504 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 504 converts an electrical signal into an electromagnetic signal to transmit, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 504 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuitry 504 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the rf circuit 504 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 505 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display screen 505 is a touch display screen, the display screen 505 also has the ability to capture touch signals on or over the surface of the display screen 505. The touch signal may be input to the processor 501 as a control signal for processing. At this point, the display screen 505 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display screen 505 may be one, disposed on the front panel of the terminal; in other embodiments, the display 505 may be at least two, respectively disposed on different surfaces of the terminal or in a folded design; in other embodiments, the display 505 may be a flexible display, disposed on a curved surface or on a folded surface of the terminal. Even more, the display screen 505 can be arranged in a non-rectangular irregular figure, i.e. a shaped screen. The Display screen 505 may be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 506 is used to capture images or video. Optionally, camera assembly 506 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 506 may also include a flash. The flash lamp can be a single-color temperature flash lamp or a double-color temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
Audio circuitry 507 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 501 for processing, or inputting the electric signals to the radio frequency circuit 504 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be respectively disposed at different portions of the terminal. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 501 or the radio frequency circuit 504 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, audio circuitry 507 may also include a headphone jack.
The positioning component 508 is used for locating the current geographic Location of the terminal to implement navigation or LBS (Location Based Service). The Positioning component 508 may be a Positioning component based on the united states GPS (Global Positioning System), the chinese beidou System, the russian graves System, or the european union's galileo System.
A power supply 509 is used to power the various components in the terminal. The power source 509 may be alternating current, direct current, disposable or rechargeable. When power supply 509 includes a rechargeable battery, the rechargeable battery may support wired or wireless charging. The rechargeable battery may also be used to support fast charge technology.
In some embodiments, the terminal also includes one or more sensors 510. The one or more sensors 510 include, but are not limited to: acceleration sensor 511, gyro sensor 512, pressure sensor 513, fingerprint sensor 514, optical sensor 515, and proximity sensor 516.
The acceleration sensor 511 may detect the magnitude of acceleration on three coordinate axes of a coordinate system established with the terminal. For example, the acceleration sensor 511 may be used to detect components of the gravitational acceleration in three coordinate axes. The processor 501 may control the display screen 505 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 511. The acceleration sensor 511 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 512 can detect the body direction and the rotation angle of the terminal, and the gyro sensor 512 and the acceleration sensor 511 can cooperate to acquire the 3D movement of the user on the terminal. The processor 501 may implement the following functions according to the data collected by the gyro sensor 512: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
The pressure sensor 513 may be disposed on a side frame of the terminal and/or underneath the display screen 505. When the pressure sensor 513 is disposed on the side frame of the terminal, the holding signal of the terminal by the user can be detected, and the processor 501 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 513. When the pressure sensor 513 is disposed at the lower layer of the display screen 505, the processor 501 controls the operability control on the UI interface according to the pressure operation of the user on the display screen 505. The operability control comprises at least one of a button control, a scroll bar control, an icon control, and a menu control.
The fingerprint sensor 514 is used for collecting a fingerprint of the user, and the processor 501 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 514, or the fingerprint sensor 514 identifies the identity of the user according to the collected fingerprint. Upon recognizing that the user's identity is a trusted identity, the processor 501 authorizes the user to perform relevant sensitive operations including unlocking the screen, viewing encrypted information, downloading software, paying, and changing settings, etc. The fingerprint sensor 514 may be disposed on the front, back, or side of the terminal. When a physical key or a vendor Logo (trademark) is provided on the terminal, the fingerprint sensor 514 may be integrated with the physical key or the vendor Logo.
The optical sensor 515 is used to collect the ambient light intensity. In one embodiment, the processor 501 may control the display brightness of the display screen 505 based on the ambient light intensity collected by the optical sensor 515. Specifically, when the ambient light intensity is high, the display brightness of the display screen 505 is increased; when the ambient light intensity is low, the display brightness of the display screen 505 is reduced. In another embodiment, processor 501 may also dynamically adjust the shooting parameters of camera head assembly 506 based on the ambient light intensity collected by optical sensor 515.
A proximity sensor 516, also known as a distance sensor, is typically provided on the front panel of the terminal. The proximity sensor 516 is used to capture the distance between the user and the front face of the terminal. In one embodiment, when the proximity sensor 516 detects that the distance between the user and the front surface of the terminal gradually decreases, the processor 501 controls the display screen 505 to switch from the bright screen state to the dark screen state; when the proximity sensor 516 detects that the distance between the user and the front surface of the terminal is gradually increased, the display screen 505 is controlled by the processor 501 to switch from the breath screen state to the bright screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 5 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, a computer device is also provided, the computer device comprising a processor and a memory, the memory having at least one computer program stored therein. The at least one computer program is loaded and executed by one or more processors to cause the computer device to implement the theme setting method of any of the above-described application programs.
In an exemplary embodiment, there is also provided a computer-readable storage medium having at least one computer program stored therein, the at least one computer program being loaded and executed by a processor of a computer device to cause the computer to implement the theme setting method of any one of the application programs described above.
In one possible implementation, the computer-readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided a computer program product comprising a computer program or computer instructions which is loaded and executed by a processor to cause a computer to implement the theme setting method of any one of the above-mentioned application programs.
It is noted that the terms "first," "second," and the like (if any) in the description and claims of this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be implemented in sequences other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
It should be understood that reference to "a plurality" herein means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the principles of the present application should be included in the protection scope of the present application.

Claims (10)

1. A method for setting a theme of an application, the method comprising:
acquiring face information of a target object corresponding to a terminal;
determining a state of the target object based on the facial information;
obtaining a theme pack matched with the state, wherein the theme pack comprises a target theme corresponding to at least one application program existing in the terminal;
setting the theme of the at least one application program based on the target theme.
2. The method of claim 1, wherein before setting the theme of the at least one application based on the target theme, further comprising:
acquiring an identifier corresponding to each theme included in the theme pack; acquiring identifiers corresponding to application programs existing in the terminal;
matching the identification corresponding to each application program in the terminal with the identification corresponding to each theme included in the theme pack to obtain a matching result;
and determining a target theme in each theme included in the theme pack and at least one application corresponding to the target theme in each application existing in the terminal based on the matching result.
3. The method of claim 1, wherein the obtaining the theme pack matching the status comprises:
obtaining a theme pack matched with the state from a theme pack library corresponding to the terminal;
or acquiring the theme pack matched with the state based on the network.
4. The method according to claim 1, wherein the obtaining of the face information of the target object corresponding to the terminal comprises:
acquiring at least one image including a face of the target object;
based on the at least one image, the face information is acquired.
5. The method according to any one of claims 1 to 4, wherein the at least one application includes an application in a running state, and after the setting of the theme of the at least one application based on the target theme, the method further comprises:
after the theme of the application program in the running state is set, updating the application program in the running state, so that the application program in the running state with the theme set displays the set theme.
6. An apparatus for setting a theme of an application, the apparatus comprising:
the terminal comprises a first acquisition module, a second acquisition module and a third acquisition module, wherein the first acquisition module is used for acquiring the face information of a target object corresponding to the terminal;
a first determination module to determine a state of the target object based on the facial information;
a second obtaining module, configured to obtain a theme pack matched with the state, where the theme pack includes a target theme corresponding to at least one application program existing in the terminal;
and the setting module is used for setting the theme of the at least one application program based on the target theme.
7. The apparatus of claim 6, further comprising:
a third obtaining module, configured to obtain an identifier corresponding to each topic included in the topic package; acquiring identifiers corresponding to application programs existing in the terminal;
the matching module is used for matching the identification corresponding to each application program in the terminal with the identification corresponding to each theme included in the theme pack to obtain a matching result;
a second determining module, configured to determine, based on the matching result, a target topic in each topic included in the topic package and at least one application corresponding to the target topic in each application existing in the terminal.
8. A computer device, characterized in that it comprises a processor and a memory, in which at least one computer program is stored, which is loaded and executed by the processor, so as to cause the computer device to implement the theme setting method of an application program according to any one of claims 1 to 5.
9. A computer-readable storage medium, in which at least one computer program is stored, the at least one computer program being loaded and executed by a processor to cause a computer to implement the theme setting method of an application program according to any one of claims 1 to 5.
10. A computer program product, characterized in that it comprises a computer program or computer instructions, which is loaded and executed by a processor, to make a computer implement the theme setting method of an application program according to any one of claims 1 to 5.
CN202210142747.5A 2022-02-16 2022-02-16 Theme setting method, device and equipment of application program and storage medium Pending CN114595019A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210142747.5A CN114595019A (en) 2022-02-16 2022-02-16 Theme setting method, device and equipment of application program and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210142747.5A CN114595019A (en) 2022-02-16 2022-02-16 Theme setting method, device and equipment of application program and storage medium

Publications (1)

Publication Number Publication Date
CN114595019A true CN114595019A (en) 2022-06-07

Family

ID=81806814

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210142747.5A Pending CN114595019A (en) 2022-02-16 2022-02-16 Theme setting method, device and equipment of application program and storage medium

Country Status (1)

Country Link
CN (1) CN114595019A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695638A (en) * 2022-12-28 2023-02-03 深圳市心流科技有限公司 APP theme scene control method and device, terminal equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695638A (en) * 2022-12-28 2023-02-03 深圳市心流科技有限公司 APP theme scene control method and device, terminal equipment and storage medium

Similar Documents

Publication Publication Date Title
CN110992493B (en) Image processing method, device, electronic equipment and storage medium
CN110971930A (en) Live virtual image broadcasting method, device, terminal and storage medium
CN112907725B (en) Image generation, training of image processing model and image processing method and device
CN110827820B (en) Voice awakening method, device, equipment, computer storage medium and vehicle
CN111462742B (en) Text display method and device based on voice, electronic equipment and storage medium
CN110288689B (en) Method and device for rendering electronic map
CN110705614A (en) Model training method and device, electronic equipment and storage medium
CN111241499A (en) Application program login method, device, terminal and storage medium
CN111427629B (en) Application starting method and device, vehicle equipment and storage medium
CN110677713B (en) Video image processing method and device and storage medium
CN114594923A (en) Control method, device and equipment of vehicle-mounted terminal and storage medium
CN109783176B (en) Page switching method and device
CN112396076A (en) License plate image generation method and device and computer storage medium
CN111986700A (en) Method, device, equipment and storage medium for triggering non-contact operation
CN110992954A (en) Method, device, equipment and storage medium for voice recognition
CN114595019A (en) Theme setting method, device and equipment of application program and storage medium
CN114594885A (en) Application icon management method, device and equipment and computer readable storage medium
CN110942426B (en) Image processing method, device, computer equipment and storage medium
CN114388001A (en) Multimedia file playing method, device, equipment and storage medium
CN113408989A (en) Automobile data comparison method and device and computer storage medium
CN113408809A (en) Automobile design scheme evaluation method and device and computer storage medium
CN108881715B (en) Starting method and device of shooting mode, terminal and storage medium
CN110471613B (en) Data storage method, data reading method, device and system
CN112132472A (en) Resource management method and device, electronic equipment and computer readable storage medium
CN112214115A (en) Input mode identification method and device, electronic equipment and 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