CN111679874A - Method, device, system electronic equipment and storage medium for replacing theme material - Google Patents

Method, device, system electronic equipment and storage medium for replacing theme material Download PDF

Info

Publication number
CN111679874A
CN111679874A CN202010305454.5A CN202010305454A CN111679874A CN 111679874 A CN111679874 A CN 111679874A CN 202010305454 A CN202010305454 A CN 202010305454A CN 111679874 A CN111679874 A CN 111679874A
Authority
CN
China
Prior art keywords
client
information
user
theme
target
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
CN202010305454.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 QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202010305454.5A priority Critical patent/CN111679874A/en
Publication of CN111679874A publication Critical patent/CN111679874A/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application provides a method, a device, system electronic equipment and a storage medium for replacing a theme material, and belongs to the technical field of computers. The method comprises the following steps: receiving user information of a target user sent by a client; determining whether the client meets the updating condition of the theme material or not according to the user information; if the client meets the updating condition of the theme materials, determining the target theme materials corresponding to the user information of the target user in the preset corresponding relation between the user information and the theme materials; and sending the download address of the target theme material to the client through a push server, so that the client downloads and loads the target theme material according to the download address. By the method and the device, the theme materials of the client can be automatically replaced, and user experience is improved.

Description

Method, device, system electronic equipment and storage medium for replacing theme material
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a system electronic device, and a storage medium for replacing a theme material.
Background
Under the diversification of App themes, the skin changing function of the client is popularized, and the client can provide various different theme materials for a user to select so as to enrich the display effect of the client and improve the user experience.
In the related art, the theme material is usually provided by a theme center of a client, and a user can access the theme center through the client to browse various theme materials and then select the theme material desired to be used. After a user selects a certain theme material, the client downloads the data of the theme material from the theme center, and then loads the theme material.
Based on the scheme, the user needs to manually search and download the theme materials to replace the theme materials of the client, and the mode of replacing the theme materials is single.
Disclosure of Invention
In order to solve the technical problems or at least partially solve the technical problems, the application provides a method, a device, system electronic equipment and a storage medium for replacing a subject material.
In a first aspect, a method for replacing a theme material is provided, where the method is applied to a background server, and the method includes:
receiving user information of a target user sent by a client;
determining whether the client meets the updating condition of the theme material or not according to the user information;
if the client meets the updating condition of the theme materials, determining the target theme materials corresponding to the user information of the target user in the preset corresponding relation between the user information and the theme materials;
and sending the download address of the target theme material to the client through a push server, so that the client downloads and loads the target theme material according to the download address.
Optionally, the user information includes scene information where the user is located, and determining whether the client meets the theme material update condition according to the user information includes:
acquiring locally stored historical scene information of the target user;
judging whether the acquired scene information of the target user is the same as the historical scene information;
if the acquired scene information of the target user is different from the historical scene information, determining that the client meets the updating condition of the theme material;
and if the acquired scene information of the target user is the same as the historical scene information, determining that the client does not meet the updating condition of the theme material.
Optionally, the user information includes date configuration information of a user, the date configuration information includes date information and meaning information corresponding to the date information, and determining whether the client meets the theme material update condition according to the user information includes:
acquiring current date information;
judging whether the current time information is the same as the date information in the date configuration information;
if the current time information is the same as the date information in the date configuration information, determining that the client side meets the updating condition of the theme material;
and if the current time information is different from the date information in the date configuration information, determining that the client does not meet the updating condition of the theme materials.
Optionally, the user information includes data access information of a user, and determining whether the client meets a theme material update condition according to the user information includes:
judging whether the data access information contains preset hotspot information or not;
if the data access information contains preset hot spot information, determining that the client meets the updating condition of the theme material;
and if the data access information does not contain preset hot spot information, determining that the client does not meet the updating condition of the theme material.
Optionally, the sending, by the push server, the download address of the target theme material to the client includes:
and sending a notification message to a push server, wherein the notification message comprises the client identifier of the client and the download address of the target subject material, so that the push server pushes the download address to the client corresponding to the client identifier.
Optionally, the method further includes:
receiving identity identification information sent by a client, wherein the identity identification information is the identity identification information distributed to the client after the push server successfully authenticates the client;
and generating a client identifier containing the identity identification information.
In a second aspect, a method for replacing a theme material is provided, the method is applied to a client, and the method includes:
the method comprises the steps of obtaining user information of a target user, sending the user information to a background server, enabling the background server to determine a target subject material corresponding to the user information of the target user when the client side is determined to meet a subject material updating condition, and sending a downloading address of the target subject material to the client side through a pushing server;
when a download address of the target subject material sent by the push server is received, downloading data of the target subject material based on the download address;
and loading the target theme material based on the downloaded data.
Optionally, the method further includes:
sending client information to the push server so that the push server performs authentication processing on the client, and distributing identity identification information to the client after the authentication is successful;
and after receiving the identity identification information sent by the push server, sending the identity identification information to the background server.
In a third aspect, an apparatus for replacing theme materials is provided, where the apparatus is applied to a background server, and the apparatus includes:
the first receiving module is used for receiving the user information of the target user sent by the client;
the first determining module is used for determining whether the client side meets the updating condition of the theme material according to the user information;
a second determining module, configured to determine, if the client meets a theme material update condition, a target theme material corresponding to the user information of the target user in a preset correspondence between the user information and the theme material;
and the sending module is used for sending the download address of the target theme material to the client through a push server so that the client downloads and loads the target theme material according to the download address.
In a fourth aspect, an apparatus for replacing a theme material is provided, the apparatus being applied to a client, and the apparatus including:
the system comprises an acquisition module, a background server and a download module, wherein the acquisition module is used for acquiring user information of a target user and sending the user information to the background server so that the background server determines a target theme material corresponding to the user information of the target user when determining that the client meets a theme material updating condition, and sends a download address of the target theme material to the client through a push server;
the downloading module is used for downloading the data of the target subject material based on the downloading address when the downloading address of the target subject material sent by the pushing server is received;
and the loading module is used for loading the target theme material based on the downloaded data.
In a fifth aspect, a system for replacing theme materials is provided, where the system includes a client, a background server, and a push server, where:
the client is used for acquiring the user information of the target user and sending the user information to the background server;
the background server is used for determining whether the client meets a theme material updating condition according to the user information, if so, determining a target theme material corresponding to the user information of the target user in a preset corresponding relation between the user information and the theme material, and sending a download address of the target theme material to the push server;
the push server is used for sending the download address of the target theme material to the client;
the client is further used for downloading the data of the target subject material based on the downloading address and loading the target subject material based on the downloaded data.
In a sixth aspect, an electronic device is provided, which includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of the first or second aspects when executing a program stored in the memory.
In a seventh aspect, a computer-readable storage medium is provided, in which a computer program is stored which, when being executed by a processor, carries out the method steps of any one of the first or second aspects.
In an eighth aspect, there is provided a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method of any of the first or second aspects described above.
The embodiment of the application has the following beneficial effects:
the embodiment of the application provides a method for replacing a theme material, which can receive user information of a target user sent by a client and determine whether the client meets the updating condition of the theme material according to the user information. And if the client side meets the updating condition of the theme material, determining the target theme material corresponding to the user information of the target user in the preset corresponding relation between the user information and the theme material, and then sending the download address of the target theme material to the client side through the push server so that the client side downloads and loads the target theme material according to the download address. According to the scheme, the background server can automatically push the theme materials to the user, so that the client side can replace the theme materials without manual replacement of the user, the pushed theme materials are matched with user information of the user, interest of the user is more easily aroused, the user preference is met, and user experience is improved.
Of course, not all advantages described above need to be achieved at the same time in the practice of any one product or method of the present application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram of a system for replacing a theme material according to an embodiment of the present application;
fig. 2 is a flowchart of a method for replacing a theme material according to an embodiment of the present application;
fig. 3 is a flowchart of another method for replacing the theme material according to the embodiment of the present application;
fig. 4 is a flowchart of an example of a method for replacing a theme material according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an apparatus for replacing a theme material according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another apparatus for replacing a subject material according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a method for replacing a theme material, which can be applied to a system for replacing the theme material. The pushing system can comprise a background server, a client and a pushing server. The Push server is a server having a function of pushing information to the client, and for example, the Push server may be an APNS (Apple Push notification service) server or a GCM (Google closed message) server. Fig. 1 is a schematic system diagram provided in the embodiment of the present application, which includes a client, an APNS server, and a background server. The background server can build a server with a theme skin background management platform, and technicians can configure the corresponding relation between the user information and the theme materials in the background server, so that the background server can push the corresponding theme materials for the user according to the corresponding relation.
The embodiment of the application provides a method for replacing a theme material, which can be applied to a background server, as shown in fig. 2, and comprises the following specific steps.
Step 201, receiving user information of a target user sent by a client.
In the embodiment of the application, when the user uses the client, the user can register at the client, and the client can acquire the user information of the registered user (namely, the target user) and can send the acquired user information to the background server. The user information may be any information related to the target user, and in one example, the user information may include at least a user identity type (such as a student, a teacher, a professional type, and the like), a gender, a current region, date configuration information (such as a birthday, a anniversary, and the like), a video viewing record, and the like. And after receiving the user information sent by the client, the background server stores the user information.
Step 202, determining whether the client meets the updating condition of the theme material according to the user information.
In the embodiment of the application, the background server can determine whether the client meets the updating condition of the theme material according to the user information, that is, can judge whether the theme material needs to be pushed to the target user according to the user information. The updating conditions of the theme materials can be various, and different updating conditions of the theme materials are adopted for judgment aiming at different types of user information.
The embodiments of the present application provide several possible implementations, which are described in detail below.
In a first manner, for a situation that user information includes scene information where a user is located, a specific process of determining whether a client side meets a theme material update condition may be: acquiring locally stored historical scene information of a target user; judging whether the acquired scene information of the target user is the same as the historical scene information; if the acquired scene information of the target user is different from the historical scene information, determining that the client meets the updating condition of the theme material; and if the acquired scene information of the target user is the same as the historical scene information, determining that the client does not meet the updating condition of the theme material.
The historical scene information may be the scene information closest to the current time in the stored scene information of the target user.
In the embodiment of the application, after the client is started, the current scene information can be detected, and the scene information at least can include geographical position information, application environment information and the like. The client may send the detected scene information to the background server. After receiving the scene information, the background server may store the scene information, compare the received scene information with locally stored historical scene information of the target user, and then determine whether the obtained scene information of the target user is the same as the historical scene information. If the received scene information of the target user is different from the historical scene information, determining that the client meets the updating condition of the theme material; and if the acquired scene information of the target user is the same as the historical scene information, determining that the client does not meet the updating condition of the theme material.
In one example, if the geographical location where the user is located before is beijing, and after the user goes from beijing to shanghai, the latest geographical location of the user acquired by the background server is shanghai, it may be determined that the geographical location changes, and it is further determined that the client satisfies the theme material update condition, so as to recommend the theme material related to shanghai for the user.
In another example, if it is detected that the environment where the user is located is indoor, and after the user moves outdoors, the latest environment where the user is located is outdoor, which is acquired by the background server, it may be determined that the application environment information changes, and it is further determined that the client side meets the theme material update condition, so as to recommend theme materials related to the outdoor for the user.
Based on the first mode, when the scene where the target user is located is detected to be changed, the theme materials matched with the current scene can be recommended, so that the user experience is improved.
In a second way, for the case that the user information includes the date configuration information of the user, the specific process of determining whether the client side meets the theme material update condition may be: acquiring current date information; judging whether the current time information is the same as the date information in the date configuration information; if the current time information is the same as the date information in the date configuration information, determining that the client meets the updating condition of the theme material; and if the current time information is not the same as the date information in the date configuration information, determining that the client does not meet the updating condition of the theme materials.
In the embodiment of the present application, the date configuration information includes date information and meaning information corresponding to the date information. The date configuration information may be configured by a technician or by a user. The date configuration information may include festival information (such as spring festival, teacher festival, overnight festival, etc.), user birthday information, and user-defined date information with special meaning (such as anniversary, etc.). For example, the date configuration information may be: the teacher's day in 9 months and 10 days shows that the day in 9 months and 10 days is date information, and the teacher's day is meaning information corresponding to the date information.
The background server can acquire the current date information and then compare the current time information with the date information in the date configuration information; if the current time information is the same as certain date information in the date configuration information, determining that the client meets the updating condition of the theme material; and if the current time information is different from the date information in the date configuration information, determining that the client does not meet the updating condition of the theme material.
In one example, the date configuration information is: and if the current date information acquired by the background server is 10/month and 5/day, determining that the client meets the updating condition of the theme materials so as to recommend the theme materials related to the birthday for the user.
In another example, the date configuration information is: and 4, a teacher festival in 9 months and 10 days, and if the current date information acquired by the background server is 9 months and 10 days, determining that the client meets the updating condition of the theme materials so as to recommend the theme materials related to the teacher festival for the user.
Based on the second mode, when a specific date comes, the theme materials matched with the meaning corresponding to the current date can be recommended to the user, so that the user experience is improved.
In a third mode, for the case that the user information includes the data access information of the user, a specific process of determining whether the client side meets the theme material update condition may be: judging whether the data access information contains preset hotspot information or not; if the data access information contains preset hot spot information, determining that the client meets the updating condition of the theme material; and if the data access information does not contain preset hot spot information, determining that the client does not meet the updating condition of the theme material.
In the embodiment of the application, the client can acquire data access information of a user, the data access information at least comprises video access information, game access information and the like, wherein the video access information can comprise video identification, access time and the like accessed by the user, and the game access information can comprise game identification, access time and the like accessed by the user. The client side can send the acquired data access information to the background server. After receiving the data access information, the background server may determine whether the data access information includes preset hotspot information, for example, determine whether the received video identifier is a preset hotspot video identifier, and whether the received game identifier is a preset game identifier. If the background server judges that the data access information contains preset hot spot information, determining that the client meets the updating condition of the theme material; and if the data access information does not contain preset hot spot information, determining that the client does not meet the updating condition of the theme material.
In one example, the video access information comprises: and if the background server determines that the video A is a television play which is currently being hot played, the background server determines that the client meets the theme material updating condition so as to recommend the theme material related to the video A to the user.
Based on the third mode, the theme materials related to the data (such as videos or games) which are currently interested by the user can be recommended according to the data access information of the user, so that the user experience is improved.
In practical application, one mode may be selected for use, or multiple modes may be used in combination, and step 203 is executed as long as the updating condition of the theme material in any mode is satisfied.
Step 203, if the client side meets the updating condition of the theme material, determining the target theme material corresponding to the user information of the target user in the preset corresponding relation between the user information and the theme material.
In the embodiment of the application, the background server can be built with a server of the background management platform of the theme skin, and technicians can configure the corresponding relation between the user information and the theme materials in the background server. After determining that the client meets the theme material updating condition, the background server may determine, in the preset corresponding relationship between the user information and the theme material, a target theme material corresponding to the user information of the target user. The corresponding relationship may be various.
In an example, the user information includes scene information where the user is located, and the background processor may determine the target subject material corresponding to the scene information where the target user is located according to a preset corresponding relationship between the user information and the scene information.
For example, if the geographic location of the user is beijing, theme materials related to beijing, such as theme materials including elements of the palace, the bird nest, the Temple of heaven and the like, are pushed to the user; after the user goes to Shanghai from Beijing, theme materials related to Shanghai, such as theme materials related to elements including the oriental pearl tower, the outer beach, the Shanghai food and the like, can be pushed for the user. For another example, if it is detected that the environment where the user is located is indoor, theme materials related to the indoor environment, such as eye protection type theme materials, are pushed for the user; after the user moves outdoors, theme materials related to outdoors, such as theme materials containing elements of sports, weather and the like, are recommended to the user.
In another example, the user information may include date configuration information of the user, the date configuration information includes meaning information corresponding to the date information, and the background server may determine the meaning information corresponding to the current date information and then determine the target subject material corresponding to the meaning information according to a preset corresponding relationship between the user information and the meaning information.
For example, the current date information is: and 10, 5 days in month and a birthday, the background server can recommend the subject materials related to the birthday blessings for the user. As another example, the current date is: and 9, month and 10, and the teacher section, the background server can recommend the subject materials related to the teacher section for the user.
In another example, the user information may include data access information of the user, and the background server may determine, according to a preset correspondence between the hotspot information and the subject material, a target subject material corresponding to the hotspot information included in the data access information.
For example, if the data access information is video a, which is a currently hot-played television show, the background server may recommend a theme material related to video a, such as a theme element including a drama or character image of video a, for the user.
Furthermore, differential recommendation can be further realized by combining the user type and the user gender. For example, candidate subject materials may be determined in the above manner, and then, a target subject material corresponding to the target user may be determined in the candidate subject materials according to a preset correspondence between the user type and/or the user gender and the main subject material. For example, after determining the theme materials related to the birthday blessings, if the user type is children, further determining theme materials matched with the child type, such as theme materials containing cartoon elements, in the theme materials; if the user type is the occupation type and the gender is male, then subject materials matched with the occupation type and the male, such as subject materials containing automobile elements, are further determined in the subject materials.
And step 204, sending the download address of the target theme material to the client through the push server, so that the client downloads and loads the target theme material according to the download address.
In the embodiment of the application, the background server cannot actively send data to the client, so that the background server and the client communicate through the push server. The background server can acquire a pre-stored download address of the target subject material, then sends the download address of the target subject material to the push server, and the push server pushes the download address to the client side, so that the client side can download and load the target subject material according to the download address.
Optionally, the specific process of sending the download address of the target theme material to the client through the push server may be as follows: and sending a notification message to the push server, wherein the notification message comprises the client identifier of the client and the download address of the target subject material, so that the push server pushes the download address to the client corresponding to the client identifier.
In the embodiment of the application, the background server can send a notification message to the push server, wherein the notification message contains the client identifier of the client and the download address of the target subject material. And after receiving the notification message, the push server analyzes the notification message to obtain a client identifier and a download address, and then pushes the download address to the corresponding client according to the client identifier. The communication process between the client and the push server will be described in detail later.
Optionally, the obtaining process of the client identifier may be as follows: receiving identity identification information sent by a client, wherein the identity identification information is the identity identification information distributed to the client after the push server successfully authenticates the client; and generating a client identification containing identity identification information.
In this embodiment of the application, the client may communicate with the push server, so that the push server authenticates the client, and after the push server successfully authenticates the client, the push server may distribute the identity information, such as token, to the client. After obtaining the identification information, the client may send the identification information to the background server. And after receiving the identity identification information sent by the client, the background server generates a client identifier containing the identity identification information. The client-side identification can uniquely identify the client-side, the identification information contained in the client-side identification can be used as an identification certificate, and the pushing server can push the downloading address to the client-side after recognizing the token contained in the client-side identification.
In the embodiment of the application, the background server can receive the user information of the target user sent by the client, and determine whether the client meets the updating condition of the theme material according to the user information. And if the client side meets the updating condition of the theme material, determining the target theme material corresponding to the user information of the target user in the preset corresponding relation between the user information and the theme material, and then sending the download address of the target theme material to the client side through a push server so that the client side downloads and loads the target theme material according to the download address. According to the scheme, the background server can automatically push the theme materials to the user, so that the client side can replace the theme materials without manual replacement of the user, the pushed theme materials are matched with user information of the user, interest of the user is more easily aroused, the user preference is met, and user experience is improved.
In addition, the scheme provided by the embodiment of the application can also be compatible with the technical scheme that the user downloads the theme materials manually in the prior art, that is, the user can download the theme materials manually from the background server through the client, and the background server can recommend the relevant theme materials to the user according to the download records of the user.
The embodiment of the application also provides a method for replacing the theme material, which can be applied to the client, as shown in fig. 3, and the specific steps are as follows.
Step 301, obtaining user information of a target user, and sending the user information to a background server.
In the embodiment of the application, when the user uses the client, the user can register at the client, and the client can acquire the user information of the registered user (namely, the target user) and can send the acquired user information to the background server. The user information may be any information related to the target user, and in one example, the user information may include at least user type (such as student, teacher, occupation type, and the like), gender, scene information where the user is located, date configuration information (such as birthday, anniversary, and the like), data access information (such as video watched, game played), and the like.
Step 302, when receiving the download address of the target subject material sent by the push server, downloading the data of the target subject material based on the download address.
In the embodiment of the application, the client and the background server thereof can agree in advance to download information such as interfaces and methods of the theme material, and specifically, agree to which interfaces the client needs to call to download the theme material, and which data needs to be downloaded through the interfaces, such as data corresponding to a navigation bar, data corresponding to each element in the interface, which pages need to be rendered, and the like. When receiving the download address of the target theme material sent by the push server, the client can download the data of the target theme material through a predetermined interface based on the download address.
And step 303, loading the target theme material based on the downloaded data.
In the embodiment of the application, after the client downloads the data of the target subject material, the downloaded data can be stored in a plist (attribute table) file, after the client is started, the client can read the data in the plist file, and the page in the client is rendered according to the read data so as to load the target subject material.
Optionally, the process of the client acquiring the identity information is as follows: sending client information to a push server so that the push server performs authentication processing on the client and distributes identity identification information for the client after the authentication is successful; and after receiving the identity identification information sent by the push server, sending the identity identification information to a background server.
In the embodiment of the application, each client has client information belonging to the client, and the client information includes information such as an AppID, a description file, a certificate and the like. The client can send its own client information to the push server. And after receiving the client information, the push server performs authentication processing on the client according to the client information. If the authentication is successful, the push server distributes identity identification information (such as token) for the client and sends the identity identification information to the client; and if the authentication fails, the push server feeds back a failure response message to the client. After receiving the identity identification information sent by the push server, the client sends the identity identification information to the background server so as to facilitate subsequent processing of the background server.
In the embodiment of the application, the client can acquire the user information of the target user and send the user information to the background server. The background server can receive user information of a target user sent by the client, and determine whether the client meets the updating condition of the theme material according to the user information. And if the client side meets the updating condition of the theme material, determining the target theme material corresponding to the user information of the target user in the preset corresponding relation between the user information and the theme material, and then sending the download address of the target theme material to the client side through a push server so that the client side downloads and loads the target theme material according to the download address. According to the scheme, the background server can automatically push the theme materials to the user without manually searching and downloading the theme materials by the user, and the pushed theme materials are matched with the user information of the user, so that the interest of the user is more easily aroused, the preference of the user is met, and the user experience is improved.
An example of a method for replacing a theme material is provided in the embodiments of the present application, as shown in fig. 4, the specific steps are as follows.
Step 401, the client sends APP information to the APNS server.
And step 402, the APNS server performs authentication processing on the client according to the APP information.
And step 403, if the authentication is successful, the APNS server allocates a token for the client and sends the token to the client.
Step 404, the client sends the token to the background server.
Step 405, the background server determines whether the client meets the update condition of the theme material.
If so, step 406 is performed, otherwise, the process ends.
And step 406, if yes, the background server determines a target subject material corresponding to the user information of the target user to which the client belongs in the preset corresponding relationship between the user information and the subject material.
Step 407, the background server sends a notification message to the APNS server, where the notification message includes the client identifier of the client and the download address of the target subject material.
In step 408, the APNS server pushes the download address to the client corresponding to the client identifier.
And step 409, downloading and loading the data of the target subject material by the client based on the downloading address.
Based on the same technical concept, an embodiment of the present application further provides a device for replacing a theme material, where the device is applicable to a background server, as shown in fig. 5, and the device includes:
a first receiving module 510, configured to receive user information of a target user sent by a client;
a first determining module 520, configured to determine whether the client meets a theme material update condition according to the user information;
a second determining module 530, configured to determine, if the client meets a theme material update condition, a target theme material corresponding to the user information of the target user in a preset correspondence between the user information and the theme material;
a sending module 540, configured to send the download address of the target theme material to the client through a push server, so that the client downloads and loads the target theme material according to the download address.
Optionally, the user information includes scene information of a user, and the first determining module 520 is specifically configured to:
acquiring locally stored historical scene information of the target user;
judging whether the acquired scene information of the target user is the same as the historical scene information;
if the acquired scene information of the target user is different from the historical scene information, determining that the client meets the updating condition of the theme material;
and if the acquired scene information of the target user is the same as the historical scene information, determining that the client does not meet the updating condition of the theme material.
Optionally, the user information includes date configuration information of the user, the date configuration information includes date information and meaning information corresponding to the date information, and the first determining module 520 is specifically configured to:
acquiring current date information;
judging whether the current time information is the same as the date information in the date configuration information;
if the current time information is the same as the date information in the date configuration information, determining that the client side meets the updating condition of the theme material;
and if the current time information is different from the date information in the date configuration information, determining that the client does not meet the updating condition of the theme materials.
Optionally, the user information includes data access information of a user, and the first determining module 520 is specifically configured to:
judging whether the data access information contains preset hotspot information or not;
if the data access information contains preset hot spot information, determining that the client meets the updating condition of the theme material;
and if the data access information does not contain preset hot spot information, determining that the client does not meet the updating condition of the theme material.
Optionally, the sending module 410 is specifically configured to:
and sending a notification message to a push server, wherein the notification message comprises the client identifier of the client and the download address of the target subject material, so that the push server pushes the download address to the client corresponding to the client identifier.
Optionally, the apparatus further comprises:
the second receiving module is used for receiving the identity identification information sent by the client, wherein the identity identification information is the identity identification information distributed to the client after the push server successfully authenticates the client;
and the generating module is used for generating the client terminal identification containing the identity identification information.
Based on the same technical concept, an embodiment of the present application further provides an apparatus for replacing a theme material, which is applicable to a client, as shown in fig. 6, and includes:
the obtaining module 610 is configured to obtain user information of a target user, and send the user information to a background server, so that when the background server determines that the client meets a theme material update condition, the background server determines a target theme material corresponding to the user information of the target user, and sends a download address of the target theme material to the client through a push server;
a downloading module 620, configured to, when receiving a downloading address of the target subject material sent by the push server, download data of the target subject material based on the downloading address;
and a loading module 630, configured to load the target theme material based on the downloaded data.
Optionally, the method further includes:
the first sending module is used for sending client information to the push server so that the push server can authenticate the client and distribute identity identification information to the client after authentication is successful;
and the second sending module is used for sending the identity identification information to the background server after receiving the identity identification information sent by the pushing server.
In the embodiment of the application, the client can acquire the user information of the target user and send the user information to the background server. The background server can receive user information of a target user sent by the client, and determine whether the client meets the updating condition of the theme material according to the user information. And if the client side meets the updating condition of the theme material, determining the target theme material corresponding to the user information of the target user in the preset corresponding relation between the user information and the theme material, and then sending the download address of the target theme material to the client side through a push server so that the client side downloads and loads the target theme material according to the download address. According to the scheme, the background server can automatically push the theme materials to the user, so that the client side can replace the theme materials without manual replacement of the user, the pushed theme materials are matched with user information of the user, interest of the user is more easily aroused, the user preference is met, and user experience is improved.
Based on the same technical concept, an embodiment of the present invention further provides a system for replacing a theme material, referring to fig. 1, the system includes a client, a background server, and a push server, wherein:
the client is used for acquiring the user information of the target user and sending the user information to the background server;
the background server is used for determining whether the client meets a theme material updating condition according to the user information, if so, determining a target theme material corresponding to the user information of the target user in a preset corresponding relation between the user information and the theme material, and sending a download address of the target theme material to the push server;
the push server is used for sending the download address of the target theme material to the client;
the client is further used for downloading the data of the target subject material based on the downloading address and loading the target subject material based on the downloaded data.
Based on the same technical concept, an embodiment of the present invention further provides an electronic device, as shown in fig. 7, including a processor 701, a communication interface 702, a memory 703 and a communication bus 704, where the processor 701, the communication interface 702, and the memory 703 complete mutual communication through the communication bus 704,
a memory 703 for storing a computer program;
the processor 701 is configured to implement a method for replacing the theme material executed by the background server or the client when executing the program stored in the memory 703.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
In still another embodiment provided by the present invention, there is also provided a computer-readable storage medium having stored therein a computer program which, when executed by a processor, implements the steps of any one of the above-described methods of replacing a subject material.
In still another embodiment provided by the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to execute the method for replacing any one of the subject materials in the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, in this document, relational terms such as "first" and "second," and the like, may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present invention, which enable those skilled in the art to understand or practice the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (13)

1. A method for replacing a theme material, which is applied to a background server, comprises the following steps:
receiving user information of a target user sent by a client;
determining whether the client meets the updating condition of the theme material or not according to the user information;
if the client meets the updating condition of the theme materials, determining the target theme materials corresponding to the user information of the target user in the preset corresponding relation between the user information and the theme materials;
and sending the download address of the target theme material to the client through a push server, so that the client downloads and loads the target theme material according to the download address.
2. The method according to claim 1, wherein the user information includes scene information where the user is located, and the determining whether the client side meets the theme material update condition according to the user information includes:
acquiring locally stored historical scene information of the target user;
judging whether the acquired scene information of the target user is the same as the historical scene information;
if the acquired scene information of the target user is different from the historical scene information, determining that the client meets the updating condition of the theme material;
and if the acquired scene information of the target user is the same as the historical scene information, determining that the client does not meet the updating condition of the theme material.
3. The method according to claim 1, wherein the user information includes date configuration information of the user, the date configuration information includes date information and meaning information corresponding to the date information, and the determining whether the client side meets the subject material update condition according to the user information includes:
acquiring current date information;
judging whether the current time information is the same as the date information in the date configuration information;
if the current time information is the same as the date information in the date configuration information, determining that the client side meets the updating condition of the theme material;
and if the current time information is different from the date information in the date configuration information, determining that the client does not meet the updating condition of the theme materials.
4. The method according to claim 1, wherein the user information includes data access information of a user, and the determining whether the client side satisfies the subject material update condition according to the user information includes:
judging whether the data access information contains preset hotspot information or not;
if the data access information contains preset hot spot information, determining that the client meets the updating condition of the theme material;
and if the data access information does not contain preset hot spot information, determining that the client does not meet the updating condition of the theme material.
5. The method of claim 1, wherein sending the download address of the target subject material to the client via a push server comprises:
and sending a notification message to a push server, wherein the notification message comprises the client identifier of the client and the download address of the target subject material, so that the push server pushes the download address to the client corresponding to the client identifier.
6. The method of claim 5, further comprising:
receiving identity identification information sent by a client, wherein the identity identification information is the identity identification information distributed to the client after the push server successfully authenticates the client;
and generating a client identifier containing the identity identification information.
7. A method for replacing a theme material, the method being applied to a client, the method comprising:
the method comprises the steps of obtaining user information of a target user, sending the user information to a background server, enabling the background server to determine a target subject material corresponding to the user information of the target user when the client side is determined to meet a subject material updating condition, and sending a downloading address of the target subject material to the client side through a pushing server;
when a download address of the target subject material sent by the push server is received, downloading data of the target subject material based on the download address;
and loading the target theme material based on the downloaded data.
8. The method of claim 1, further comprising:
sending client information to the push server so that the push server performs authentication processing on the client, and distributing identity identification information to the client after the authentication is successful;
and after receiving the identity identification information sent by the push server, sending the identity identification information to the background server.
9. An apparatus for changing a theme material, the apparatus being applied to a background server, the apparatus comprising:
the first receiving module is used for receiving the user information of the target user sent by the client;
the first determining module is used for determining whether the client side meets the updating condition of the theme material according to the user information;
a second determining module, configured to determine, if the client meets a theme material update condition, a target theme material corresponding to the user information of the target user in a preset correspondence between the user information and the theme material;
and the sending module is used for sending the download address of the target theme material to the client through a push server so that the client downloads and loads the target theme material according to the download address.
10. An apparatus for changing a theme material, the apparatus being applied to a client, the apparatus comprising:
the system comprises an acquisition module, a background server and a download module, wherein the acquisition module is used for acquiring user information of a target user and sending the user information to the background server so that the background server determines a target theme material corresponding to the user information of the target user when determining that the client meets a theme material updating condition, and sends a download address of the target theme material to the client through a push server;
the downloading module is used for downloading the data of the target subject material based on the downloading address when the downloading address of the target subject material sent by the pushing server is received;
and the loading module is used for loading the target theme material based on the downloaded data.
11. The system for replacing the theme materials is characterized by comprising a client, a background server and a push server, wherein:
the client is used for acquiring the user information of the target user and sending the user information to the background server;
the background server is used for determining whether the client meets a theme material updating condition according to the user information, if so, determining a target theme material corresponding to the user information of the target user in a preset corresponding relation between the user information and the theme material, and sending a download address of the target theme material to the push server;
the push server is used for sending the download address of the target theme material to the client;
the client is further used for downloading the data of the target subject material based on the downloading address and loading the target subject material based on the downloaded data.
12. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any one of claims 1 to 6 or claims 7 to 8 when executing a program stored in a memory.
13. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any of the claims 1-6 or claims 7-8.
CN202010305454.5A 2020-04-17 2020-04-17 Method, device, system electronic equipment and storage medium for replacing theme material Pending CN111679874A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010305454.5A CN111679874A (en) 2020-04-17 2020-04-17 Method, device, system electronic equipment and storage medium for replacing theme material

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010305454.5A CN111679874A (en) 2020-04-17 2020-04-17 Method, device, system electronic equipment and storage medium for replacing theme material

Publications (1)

Publication Number Publication Date
CN111679874A true CN111679874A (en) 2020-09-18

Family

ID=72451624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010305454.5A Pending CN111679874A (en) 2020-04-17 2020-04-17 Method, device, system electronic equipment and storage medium for replacing theme material

Country Status (1)

Country Link
CN (1) CN111679874A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101917665A (en) * 2010-08-23 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Information pushing method and system
CN101946498A (en) * 2007-12-24 2011-01-12 高通股份有限公司 The theme based on time and position of mobile phone
CN102711039A (en) * 2012-05-29 2012-10-03 中兴通讯股份有限公司 Wallpaper treatment method and device
CN109151186A (en) * 2018-08-01 2019-01-04 Oppo广东移动通信有限公司 Method for switching theme and device, electronic equipment, computer readable storage medium
CN110134469A (en) * 2018-02-09 2019-08-16 优视科技有限公司 Switching method, device and the computer equipment of holiday theme
CN110780966A (en) * 2019-10-28 2020-02-11 北京字节跳动网络技术有限公司 Social interface processing method and device, electronic equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101946498A (en) * 2007-12-24 2011-01-12 高通股份有限公司 The theme based on time and position of mobile phone
CN101917665A (en) * 2010-08-23 2010-12-15 宇龙计算机通信科技(深圳)有限公司 Information pushing method and system
CN102711039A (en) * 2012-05-29 2012-10-03 中兴通讯股份有限公司 Wallpaper treatment method and device
CN110134469A (en) * 2018-02-09 2019-08-16 优视科技有限公司 Switching method, device and the computer equipment of holiday theme
CN109151186A (en) * 2018-08-01 2019-01-04 Oppo广东移动通信有限公司 Method for switching theme and device, electronic equipment, computer readable storage medium
CN110780966A (en) * 2019-10-28 2020-02-11 北京字节跳动网络技术有限公司 Social interface processing method and device, electronic equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104202396B (en) A kind of information sharing method, device, server, terminal device and system
US8503984B2 (en) Mobile communication device user content synchronization with central web-based records and information sharing system
CN110366041B (en) Media data sharing method, device and equipment
US9015151B1 (en) Content targeting to particular individuals based on demographic and psychographic segmentations, utilizing the computer-implemented methods and specifically programmed computer systems for performing thereof
US20150261395A1 (en) Method and apparatus for providing recommendations to a user of a cloud computing service
CN109688479B (en) Bullet screen display method, bullet screen display device and bullet screen display server
EP2575322A1 (en) Method, user equipment, server, and device for sharing information
US9866897B2 (en) Information processing apparatus, video recording reservation supporting method, and computer program
JP6346713B2 (en) Method, apparatus, device, program and recording medium for changing display background
CN107872534B (en) Information pushing method and device, server and readable storage medium
US9807141B1 (en) Playing of media content among multiple devices using a temporal progress
KR101692500B1 (en) Server for sharing contents, method for providing contents list, and computer program for executing the method of
EP1760615A1 (en) Category based content retrieval
CN103314384A (en) Methods and systems for managing device specific content
CN105518737A (en) Online seat-selecting social interaction method and system
US20150178968A1 (en) Imaging module in mobile device
CN108966316B (en) Method, device and equipment for displaying multimedia resources and predicting connection waiting duration
CN104270656A (en) Pushed message delay processing method and system, intelligent receiving terminal and mobile terminal
US10387459B2 (en) Systems and methods for content placement, retrieval and management based on geolocation and other parameters
US9043455B1 (en) Universal data remote
CN106658161B (en) Set top box information pushing method based on connection relation and set top box
JP2010204738A (en) Content recommendation system and content recommendation method
CN109076126B (en) Permission updating method and terminal equipment
CN106790369B (en) Multimedia application interface decorating method and device
JP6205700B2 (en) Information providing system, apparatus for receiving provided information, apparatus for transmitting provided information, program, and information providing method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200918

RJ01 Rejection of invention patent application after publication