CN111368236A - Method, device and equipment for realizing personalized decorating function - Google Patents

Method, device and equipment for realizing personalized decorating function Download PDF

Info

Publication number
CN111368236A
CN111368236A CN202010136609.7A CN202010136609A CN111368236A CN 111368236 A CN111368236 A CN 111368236A CN 202010136609 A CN202010136609 A CN 202010136609A CN 111368236 A CN111368236 A CN 111368236A
Authority
CN
China
Prior art keywords
data
personalized
virtual article
virtual
function
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.)
Granted
Application number
CN202010136609.7A
Other languages
Chinese (zh)
Other versions
CN111368236B (en
Inventor
商泽文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN202010136609.7A priority Critical patent/CN111368236B/en
Publication of CN111368236A publication Critical patent/CN111368236A/en
Application granted granted Critical
Publication of CN111368236B publication Critical patent/CN111368236B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

According to the method, the device and the equipment for realizing the personalized grooming function, when an application is started, if network abnormity between a client provided with the application and a server corresponding to the application is detected, virtual article data are read locally from the client; loading the personalized decorated virtual article based on the virtual article data; when the network is detected to be normal, requesting specified data in the personalized data from the server; wherein the specified data is data about the personalized adorned virtual property and is uploaded to the server when the personalized adornment is completed; implementing a specified function based on the specified data; the designated function is a function realized based on virtual property among the functions related to the personalized adornment. According to the scheme, when the network is abnormal, the realization efficiency and the user experience of the personalized dressing function can be improved.

Description

Method, device and equipment for realizing personalized decorating function
Technical Field
The present invention relates to the field of personalized grooming technologies, and in particular, to a method, an apparatus, and a device for implementing a personalized grooming function.
Background
In order to improve the user experience, the virtual article can be used for personalized decoration in the application, so that the function of personalized decoration is realized. For example, the user homepage of the social application can be decorated by virtual articles such as a head portrait frame and a pendant, so as to realize the function of beautifying the personal homepage; the virtual character in the dress and change application and the social application can be decorated by utilizing virtual articles such as clothes, headwear and the like, so that the function of personalized display of the virtual character, the function of using the personalized decorated virtual character to perform a breakthrough game and the like can be realized.
In the related art, personalized data about personalized decorating by using a virtual article is generally recorded in a server corresponding to an application, and the application may request the server for the personalized data and then realize a function about personalized decorating by using the requested personalized data.
However, when the network is abnormal, it is necessary to wait for the network to recover to normal before requesting the personalized data from the server, and the user perception aspect is embodied as: after the application is started, the function related to the personalized dress up can be realized only after a certain time, so that the realization efficiency of the function related to the personalized dress up is reduced, and the user experience is influenced.
Disclosure of Invention
Embodiments of the present invention provide a method, an apparatus, a device, and a storage medium for implementing a personalized grooming function, so as to improve implementation efficiency of the personalized grooming function and user experience when a network is abnormal. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a method for implementing a personalized grooming function, where the method includes:
when an application is started, if network abnormity between a client provided with the application and a server corresponding to the application is detected, reading virtual article data from the client locally; the virtual article data is data related to a virtual article in personalized data generated by latest finished personalized decoration before the starting, and is stored locally at the client when the personalized decoration is finished;
loading the personalized decorated virtual article based on the virtual article data;
when the network is detected to be normal, requesting specified data in the personalized data from the server; wherein the specified data is data about the personalized adorned virtual property and is uploaded to the server when the personalized adornment is completed;
implementing a specified function based on the specified data; the designated function is a function realized based on virtual property among the functions related to the personalized adornment.
Optionally, the virtual article data is stored by the following steps:
recording the corresponding relation between the identifier of the utilized virtual article and the decorating object when the personalized decorating is carried out;
when the personalized decoration is finished, converting the corresponding relation into a text file;
and taking the text file as the virtual article data and storing the virtual article data locally at the client.
Optionally, the storing the text file as the virtual article data locally at the client includes:
checking whether historical virtual article data exists locally at the client;
and if the virtual article data exists, the text file is used as the virtual article data and is stored locally at the client in a mode of covering the historical virtual article data.
Optionally, the loading the personalized decorated virtual article based on the virtual article data includes:
analyzing the virtual article data to obtain the corresponding relation between the identifier of the virtual article and the decorating object;
searching a virtual article with the identification of the virtual article from the virtual articles stored locally at the client;
loading the searched virtual article on a decorating object corresponding to the identification of the virtual article.
In a second aspect, an embodiment of the present invention provides an apparatus for implementing personalized grooming functions, where the apparatus includes:
the virtual article data acquisition module is used for locally reading virtual article data from a client side provided with the application and a server corresponding to the application if network abnormity between the client side and the server is detected when the application is started; the virtual article data is data related to a virtual article in personalized data generated by latest finished personalized decoration before the starting, and is stored locally at the client when the personalized decoration is finished;
a first function implementation module, configured to load the personalized decorated virtual article based on the virtual article data;
the designated data acquisition module is used for requesting designated data in the personalized data from the server when the network is detected to be normal; wherein the specified data is data about the personalized adorned virtual property and is uploaded to the server when the personalized adornment is completed;
the second function realization module is used for realizing a designated function based on the designated data; the designated function is a function realized based on virtual property among the functions related to the personalized adornment.
Optionally, the apparatus further includes a saving module, configured to:
recording the corresponding relation between the identifier of the utilized virtual article and the decorating object when the personalized decorating is carried out;
when the personalized decoration is finished, converting the corresponding relation into a text file;
and taking the text file as the virtual article data and storing the virtual article data locally at the client.
Optionally, the saving module is specifically configured to:
checking whether historical virtual article data exists locally at the client;
and if the virtual article data exists, the text file is used as the virtual article data and is stored locally at the client in a mode of covering the historical virtual article data.
Optionally, the first function implementation module is specifically configured to:
analyzing the virtual article data to obtain the corresponding relation between the identifier of the virtual article and the decorating object;
searching a virtual article with the identification of the virtual article from the virtual articles stored locally at the client;
loading the searched virtual article on a decorating object corresponding to the identification of the virtual article.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the bus; a memory for storing a computer program; and a processor, configured to execute the program stored in the memory, and implement the steps of the method for implementing personalized grooming function provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps of the implementation method for personalized grooming function provided in the first aspect.
In the scheme provided by the embodiment of the invention, when the application is started, the virtual article data in the personalized data can be directly obtained from the client locally, so that the personalized decorating display function can be realized without waiting for the network to recover to be normal in the personalized decorating function, and the realizing efficiency of the personalized decorating display function is improved. And, when the network is recovered from normal, request the designated data from the server to realize the designated function realized based on the virtual property among the functions related to the personalized adornment. The data volume of the designated data is smaller than that of the whole personalized data, so that the request efficiency of the designated data can be improved by reducing the data volume requested from the server, and the realization efficiency of the designated function is further improved. Thus, the function related to the personalized decoration is realized in batches, so that the overall realization efficiency of the function related to the personalized decoration can be improved when the network is abnormal. In addition, in the user perception aspect, after the application is started, the user often uses the designated function after a certain time, so that when the designated function needs to be realized, the network is likely to be recovered to be normal, at the moment, the designated function is realized without the time required by the network to recover to be normal, the condition that the personalized dressing function can be integrally realized only when the network is recovered to be normal can be reduced, and the user experience is improved. Therefore, the scheme can improve the realization efficiency and the user experience of the personalized decorating function when the network is abnormal.
Drawings
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.
Fig. 1 is a flowchart illustrating a method for implementing personalized grooming function according to an embodiment of the present invention;
fig. 2 is a schematic view illustrating a process of storing virtual article data in a method for implementing a personalized decorating function according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an apparatus for implementing personalized grooming function according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an apparatus for implementing personalized grooming function according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
First, a method for implementing personalized grooming function according to an embodiment of the present invention will be described.
The method for realizing the personalized decorating function provided by the embodiment of the invention can be applied to the personalized decorating application or the client installed with the application. In a specific application, the client installed with the application may be various, and for example, the client may specifically include a desktop computer, a portable computer, an internet television, an intelligent mobile terminal, a server, a wearable intelligent terminal, and the like, which is not limited herein, and any electronic device that can implement the embodiment of the present invention may be used as the client installed with the application, and belongs to the protection scope of the embodiment of the present invention.
As shown in fig. 1, a flow of a method for implementing personalized grooming function according to an embodiment of the present invention may include:
s101, when the application is started, if the network abnormity between the client installed with the application and the server corresponding to the application is detected, the virtual article data is read locally from the client. The virtual article data is data related to a virtual article in personalized data generated by latest finished personalized decoration before application starting, and is stored in a local client when the personalized decoration is finished.
The network anomaly between the client installed with the application and the server corresponding to the application may include: no network, request failure, and poor network quality. The method for detecting the network anomaly between the client installed with the application and the server corresponding to the application may be various. For example, when the network connection of the client is detected to be disconnected, it may be determined that a network anomaly between the client and the server corresponding to the application is detected. Alternatively, for example, when it is detected that the efficiency of data transmission between the client and the server corresponding to the application is smaller than a preset efficiency threshold, it may be determined that a network anomaly between the client and the server corresponding to the application is detected. Or, for example, when it is detected that the data transmission duration between the client and the server corresponding to the application is greater than the preset duration threshold, it may be determined that a network anomaly between the client and the server corresponding to the application is detected. Any method capable of detecting a network anomaly between a client installed with an application and a server corresponding to the application can be used in the present invention, and this embodiment does not limit this.
In order to improve the efficiency of implementing the function related to the personalized dress, when the personalized dress performed last before the start-up is completed, the data related to the virtual article among the personalized dress data may be stored locally in the client. For example, in the application of changing the virtual character, the user may save data about the virtual article, such as the virtual garment, the virtual hair style, and the virtual ornament, used by the change when the user completes the previous change, in the local client, as compared to the activation in the case of the network abnormality. For easy understanding and reasonable layout, the embodiment of fig. 2 of the present invention will be described in detail later on with respect to the manner of storing the virtual article data.
And S102, loading the personalized decorated virtual article based on the virtual article data.
In a specific application, the functions related to personalized grooming may include: and the personalized decorating display function is used for displaying the appearance effect of the personalized decorating. Therefore, in order to enable a user to see the normal display of the personalized decoration appearance effect when the client is started in a user perception level, the personalized decoration virtual article can be loaded based on the virtual article data when the virtual article data stored locally at the client is read. The personalized decorating virtual article is loaded, the personalized decorating display function can be realized, the condition that when the network is abnormal, the application is started without waiting for the network to recover to be normal is guaranteed, the personalized decorating can be normally displayed, the personalized decorating function is reduced, and the realization efficiency is improved when the display function is realized.
For example, in an application for reloading a virtual character, when a user starts the application, the appearance effect of the virtual character set by the user last time can be directly displayed without waiting for the network to recover to a normal time and then displaying the appearance effect of the virtual character. In addition, for convenience of understanding and reasonable layout, a manner of loading a personalized decorated virtual article based on virtual article data is described in detail later in the alternative embodiment of fig. 2 of the present invention.
S103, when the network is detected to be normal, the specified data in the personalized data is requested to the server. Wherein the designated data is data about the personalized adorned virtual property and is uploaded to the server when the personalized adornment is finished.
Since the designated data is data on the personalized adorned virtual property, the designated data can be uploaded to a server instead of being stored locally at the client in order to achieve both the efficiency of implementation of the function on the personalized adornment and the security of the virtual property. The specified data may be varied in particular applications. For example, in the application of decorating the virtual character, the specified data can be data such as a virtual ticket held by the virtual character, a VIP identity and a virtual stage. In addition, in general, after an application is started, a user often uses a specific function after a certain time period. Accordingly, when the network recovery is detected to be normal, the specified data in the personalized data may be requested from the server so as to implement the specified function in the subsequent step S104.
In addition, specified data in the personalized data generated during personalized decoration can be uploaded to a server corresponding to the application when the user saves the personalized decoration; or the generated specified data can be uploaded to a server corresponding to the application in real time when the user performs personalized decoration.
S104, based on the specified data, the specified function is realized. The designated function is a function realized based on a virtual property among functions related to personalized adornment.
Wherein the specified function may be multiple. For example, in an application of decorating a virtual character, when the specified data is a virtual ticket held by the virtual character, the specified function may be a banquet event for the virtual character to participate in; alternatively, when the specified data is a VIP identity, the specified function may be a purchase portal for advanced virtual apparel; alternatively, when the specified data is a virtual stage, the specified function may be a function of taking a photograph of a virtual character on the virtual stage, or the like. Any function realized based on the virtual property can be used as the specified function of the present invention, and the present embodiment does not limit this.
Moreover, the implementing a specified function based on the specified data may specifically include: inputting the specified data into a pre-stored model to obtain the implementation result of the specified function; wherein the pre-stored model is a model for running code related to implementing a specified function. When the appointed function needs to be realized, the network is probably recovered to be normal, at the moment, in the user perception level, the appointed function is realized without the time length required by the network recovering to be normal, the condition that the function about personalized decoration can be integrally realized only by waiting for the network recovering to be normal can be reduced, and the user experience is improved.
In addition, based on the designation data, the timing of implementing the designation function may be various. Illustratively, when an instruction to implement a specified function is detected, if the network is not restored to normal, the specified function may be implemented based on specified data upon request to the specified data. Alternatively, for example, if an instruction to implement a specified function is not detected within a period from the detection of the network abnormality to the request to the specified data, the specified function may be implemented based on the specified data upon detection of the instruction to implement the specified function. Compared with the single opportunity of realizing the designated function only when the designated data is requested, the targeted opportunity can reduce the condition that the designated function is not used by the user, but the application realizes the abnormity of the designated function, and further improves the user experience.
In the scheme provided by the embodiment of the invention, when the application is started, the virtual article data in the personalized data can be directly obtained from the client locally, so that the personalized decorating display function can be realized without waiting for the network to recover to be normal in the personalized decorating function, and the realizing efficiency of the personalized decorating display function is improved. And, when the network is recovered from normal, request the designated data from the server to realize the designated function realized based on the virtual property among the functions related to the personalized adornment. The data volume of the designated data is smaller than that of the whole personalized data, so that the request efficiency of the designated data can be improved by reducing the data volume requested from the server, and the realization efficiency of the designated function is further improved. Thus, the function related to the personalized decoration is realized in batches, so that the overall realization efficiency of the function related to the personalized decoration can be improved when the network is abnormal. In addition, in the user perception aspect, after the application is started, the user often uses the designated function after a certain time, so that when the designated function needs to be realized, the network is likely to be recovered to be normal, at the moment, the designated function is realized without the time required by the network to recover to be normal, the condition that the personalized dressing function can be integrally realized only when the network is recovered to be normal can be reduced, and the user experience is improved. Therefore, the scheme can improve the realization efficiency and the user experience of the personalized decorating function when the network is abnormal.
As shown in fig. 2, in a method for implementing a personalized decorating function according to an embodiment of the present invention, a virtual article data saving process may include:
s201, records the corresponding relationship between the identifier of the virtual article and the decorating object used in the personalized decorating.
In a particular application, different virtual articles may be used to dress different objects. For example, in an application of decorating a virtual character, a virtual garment may dress the body of the virtual character, a virtual hairstyle may dress the head of the virtual character, and a virtual necklace may dress the neck of the virtual character, among others. Therefore, when performing personalized decoration, the correspondence between the identifier of the virtual article used and the decoration object can be recorded. The correspondence relationship between the identifier of the virtual article and the object to be decorated may be various. For example, the correspondence may be a correspondence table, or the decorating object is used as a set name, and the corresponding virtual article identifier is used as a set of elements in the set.
And S202, converting the recorded corresponding relation into a text file when the personalized decoration is finished.
In order to reduce the occupation of the recorded corresponding relation on the local storage resource of the client, the recorded corresponding relation can be converted into a text file when the personalized decoration is finished. In a specific application, the specific manner of converting the recorded correspondence into a text file may include: and inputting the recorded corresponding relation into a preset text conversion model to obtain a text file.
The preset text conversion model is a model for representing data in a text format. For example, the preset text conversion model may be a JSON. striping () method, and the text file obtained by using the method is in a JSON (JavaScript Object Notation) format, and the text in the JSON format has a simple and clear hierarchical structure, is easy to parse and generate, and is beneficial to improving the efficiency of realizing functions based on virtual article data in the personalized makeup function.
And S203, storing the text file as virtual article data in the local client.
Because the text file is virtual article data in a text format, the text file can be stored in the local of the client as the virtual article data, so that the occupation of local storage resources of the client is reduced. In an alternative embodiment, the step S203: the method for storing the text file as the virtual article data in the local client comprises the following specific steps:
checking whether historical virtual article data exist locally at the client;
and if the virtual article data exists, the text file is used as the virtual article data and is stored locally at the client in a mode of covering historical virtual article data.
In this optional embodiment, the historical virtual article data is covered with the currently obtained virtual article data, so that the problem that the appearance of the plurality of pieces of virtual article data which may be personalized and decorated is inaccurate can be reduced. Moreover, the occupation of the historical virtual article data on the local storage resources of the client can be reduced.
In an alternative implementation, when the virtual article data is stored in the steps of the embodiment of fig. 2 of the present invention, the loading the personalized decorated virtual article based on the virtual article data may include the following steps:
analyzing the virtual article data to obtain the corresponding relation between the identifier of the virtual article and the decorating object;
searching a virtual article with the identification of the virtual article from the virtual articles stored locally at the client;
loading the searched virtual article on a decorating object corresponding to the identification of the virtual article.
Since the format of the virtual article data is a text file, the virtual article data is analyzed to obtain the correspondence between the identifier of the virtual article and the decorating object, and specifically, the correspondence between the identifier of the virtual article and the decorating object may be read from the virtual article data. In addition, in order to further improve the implementation efficiency of the personalized decorating function, the client locally can store virtual articles, and correspondingly, virtual articles corresponding to the identifiers of the virtual articles can be searched from the virtual articles stored locally at the client; and loading the searched virtual article on a decorating object corresponding to the identifier of the virtual article.
Illustratively, the correspondence between the identification of the virtual article and the dressing object includes: the virtual article identifier V1 corresponds to the "body" of the dressing object, the virtual article identifier V2 corresponds to the "head" of the dressing object, and the virtual article identifier V3 corresponds to the "neck" of the dressing object. And searching the following virtual articles from the virtual articles locally stored by the client: a virtual garment with an identification of a virtual item V1, a virtual hairstyle with an identification of a virtual item V2, and a virtual necklace with an identification of a virtual item V3. The virtual clothes are loaded on the body of the virtual character, the virtual hairstyle is loaded on the head of the virtual character, and the virtual necklace is loaded on the neck of the virtual character.
Corresponding to the above method embodiments, an embodiment of the present invention further provides an apparatus for implementing personalized grooming functions.
As shown in fig. 3, the structure of an apparatus for implementing personalized grooming functions according to an embodiment of the present invention may include:
a virtual article data obtaining module 301, configured to, when an application is started, if a network anomaly between a client installed with the application and a server corresponding to the application is detected, locally read virtual article data from the client; the virtual article data is data related to a virtual article in personalized data generated by latest finished personalized decoration before the starting, and is stored locally at the client when the personalized decoration is finished;
a first function implementation module 302, configured to load the personalized decorated virtual article based on the virtual article data;
a designated data obtaining module 303, configured to request, from the server, designated data in the personalized data when it is detected that the network is recovering from normal; wherein the specified data is data about the personalized adorned virtual property and is uploaded to the server when the personalized adornment is completed;
a second function implementing module 304, configured to implement a specified function based on the specified data; the designated function is a function realized based on virtual property among the functions related to the personalized adornment.
In the scheme provided by the embodiment of the invention, when the application is started, the virtual article data in the personalized data can be directly obtained from the client locally, so that the personalized decorating display function can be realized without waiting for the network to recover to be normal in the personalized decorating function, and the realizing efficiency of the personalized decorating display function is improved. And, when the network is recovered from normal, request the designated data from the server to realize the designated function realized based on the virtual property among the functions related to the personalized adornment. The data volume of the designated data is smaller than that of the whole personalized data, so that the request efficiency of the designated data can be improved by reducing the data volume requested from the server, and the realization efficiency of the designated function is further improved. Thus, the function related to the personalized decoration is realized in batches, so that the overall realization efficiency of the function related to the personalized decoration can be improved when the network is abnormal. In addition, in the user perception aspect, after the application is started, the user often uses the designated function after a certain time, so that when the designated function needs to be realized, the network is likely to be recovered to be normal, at the moment, the designated function is realized without the time required by the network to recover to be normal, the condition that the personalized dressing function can be integrally realized only when the network is recovered to be normal can be reduced, and the user experience is improved. Therefore, the scheme can improve the realization efficiency and the user experience of the personalized decorating function when the network is abnormal.
As shown in fig. 4, the structure of an apparatus for implementing personalized grooming functions according to another embodiment of the present invention may include:
a virtual article data obtaining module 401, configured to, when an application is started, if a network anomaly between a client installed with the application and a server corresponding to the application is detected, locally read virtual article data from the client; the virtual article data is data related to a virtual article in personalized data generated by latest finished personalized decoration before the starting, and is stored locally at the client when the personalized decoration is finished;
a first function realization module 402, configured to load the personalized decorated virtual article based on the virtual article data;
a designated data obtaining module 403, configured to request, from the server, designated data in the personalized data when it is detected that the network is recovering from normal; wherein the specified data is data about the personalized adorned virtual property and is uploaded to the server when the personalized adornment is completed;
a second function implementing module 404, configured to implement a specified function based on the specified data; the designated function is a function realized based on virtual property among the functions related to the personalized adornment.
A storage module 405, configured to record a correspondence between an identifier of a virtual article and an object of decoration, which are used when performing the personalized decoration; when the personalized decoration is finished, converting the corresponding relation into a text file; and taking the text file as the virtual article data and storing the virtual article data locally at the client.
Optionally, the saving module 405 is specifically configured to:
checking whether historical virtual article data exists locally at the client;
and if the virtual article data exists, the text file is used as the virtual article data and is stored locally at the client in a mode of covering the historical virtual article data.
Optionally, the first function implementing module 402 is specifically configured to:
analyzing the virtual article data to obtain the corresponding relation between the identifier of the virtual article and the decorating object;
searching a virtual article with the identification of the virtual article from the virtual articles stored locally at the client;
loading the searched virtual article on a decorating object corresponding to the identification of the virtual article.
Corresponding to the above embodiment, an embodiment of the present invention further provides an electronic device, as shown in fig. 5, where the electronic device may include:
the system comprises a processor 501, a communication interface 502, a memory 503 and a communication bus 504, wherein the processor 501, the communication interface 502 and the memory complete mutual communication through the communication bus 504 through the 503;
a memory 503 for storing a computer program;
the processor 501 is configured to implement the steps of any method for implementing personalized grooming function in the above embodiments when executing the computer program stored in the memory 503.
It is understood that, in a specific application, the electronic device in this embodiment is a client installed with an application capable of personalized decoration.
In the scheme provided by the embodiment of the invention, when the application is started, the virtual article data in the personalized data can be directly obtained from the client locally, so that the personalized decorating display function can be realized without waiting for the network to recover to be normal in the personalized decorating function, and the realizing efficiency of the personalized decorating display function is improved. And, when the network is recovered from normal, request the designated data from the server to realize the designated function realized based on the virtual property among the functions related to the personalized adornment. The data volume of the designated data is smaller than that of the whole personalized data, so that the request efficiency of the designated data can be improved by reducing the data volume requested from the server, and the realization efficiency of the designated function is further improved. Thus, the function related to the personalized decoration is realized in batches, so that the overall realization efficiency of the function related to the personalized decoration can be improved when the network is abnormal. In addition, in the user perception aspect, after the application is started, the user often uses the designated function after a certain time, so that when the designated function needs to be realized, the network is likely to be recovered to be normal, at the moment, the designated function is realized without the time required by the network to recover to be normal, the condition that the personalized dressing function can be integrally realized only when the network is recovered to be normal can be reduced, and the user experience is improved. Therefore, the scheme can improve the realization efficiency and the user experience of the personalized decorating function when the network is abnormal.
The Memory may include a RAM (Random Access Memory) or an NVM (Non-Volatile Memory), 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 also a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
A computer-readable storage medium according to an embodiment of the present invention is embodied in an electronic device, and stores a computer program, and when the computer program is executed by a processor, the computer program implements any of the steps of the method for implementing personalized grooming function in the foregoing embodiments.
In the scheme provided by the embodiment of the invention, when the application is started, the virtual article data in the personalized data can be directly obtained from the client locally, so that the personalized decorating display function can be realized without waiting for the network to recover to be normal in the personalized decorating function, and the realizing efficiency of the personalized decorating display function is improved. And, when the network is recovered from normal, request the designated data from the server to realize the designated function realized based on the virtual property among the functions related to the personalized adornment. The data volume of the designated data is smaller than that of the whole personalized data, so that the request efficiency of the designated data can be improved by reducing the data volume requested from the server, and the realization efficiency of the designated function is further improved. Thus, the function related to the personalized decoration is realized in batches, so that the overall realization efficiency of the function related to the personalized decoration can be improved when the network is abnormal. In addition, in the user perception aspect, after the application is started, the user often uses the designated function after a certain time, so that when the designated function needs to be realized, the network is likely to be recovered to be normal, at the moment, the designated function is realized without the time required by the network to recover to be normal, the condition that the personalized dressing function can be integrally realized only when the network is recovered to be normal can be reduced, and the user experience is improved. Therefore, the scheme can improve the realization efficiency and the user experience of the personalized decorating function when the network is abnormal.
In a further 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 perform the method for implementing personalized grooming functionality as described in any of 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 or transmitted from a computer-readable storage medium to another computer-readable storage medium, for example, from a website, computer, server, or data center, over a wired (e.g., coaxial cable, fiber optic, DSL (Digital Subscriber Line), or wireless (e.g., infrared, radio, microwave, etc.) network, to another website, computer, server, or data center, to any available medium that is accessible by a computer or that is a data storage device including one or more integrated servers, data centers, etc. the available medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD (Digital Versatile Disc, digital versatile disc)), or a semiconductor medium (e.g.: SSD (Solid state disk)), etc.
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.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the device and electronic apparatus embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (10)

1. A method for implementing personalized grooming functions, the method comprising:
when an application is started, if network abnormity between a client provided with the application and a server corresponding to the application is detected, reading virtual article data from the client locally; the virtual article data is data related to a virtual article in personalized data generated by latest finished personalized decoration before the starting, and is stored locally at the client when the personalized decoration is finished;
loading the personalized decorated virtual article based on the virtual article data;
when the network is detected to be normal, requesting specified data in the personalized data from the server; wherein the specified data is data about the personalized adorned virtual property and is uploaded to the server when the personalized adornment is completed;
implementing a specified function based on the specified data; the designated function is a function realized based on virtual property among the functions related to the personalized adornment.
2. The method of claim 1, wherein the virtual item data is stored using the steps of:
recording the corresponding relation between the identifier of the utilized virtual article and the decorating object when the personalized decorating is carried out;
when the personalized decoration is finished, converting the corresponding relation into a text file;
and taking the text file as the virtual article data and storing the virtual article data locally at the client.
3. The method of claim 2, wherein storing the text file as the virtual item data locally at the client comprises:
checking whether historical virtual article data exists locally at the client;
and if the virtual article data exists, the text file is used as the virtual article data and is stored locally at the client in a mode of covering the historical virtual article data.
4. A method according to claim 2, wherein said loading the personalized, decorated virtual article based on the virtual article data comprises:
analyzing the virtual article data to obtain the corresponding relation between the identifier of the virtual article and the decorating object;
searching a virtual article with the identification of the virtual article from the virtual articles stored locally at the client;
loading the searched virtual article on a decorating object corresponding to the identification of the virtual article.
5. An apparatus for implementing personalized grooming functions, the apparatus comprising:
the virtual article data acquisition module is used for locally reading virtual article data from a client side provided with the application and a server corresponding to the application if network abnormity between the client side and the server is detected when the application is started; the virtual article data is data related to a virtual article in personalized data generated by latest finished personalized decoration before the starting, and is stored locally at the client when the personalized decoration is finished;
a first function implementation module, configured to load the personalized decorated virtual article based on the virtual article data;
the designated data acquisition module is used for requesting designated data in the personalized data from the server when the network is detected to be normal; wherein the specified data is data about the personalized adorned virtual property and is uploaded to the server when the personalized adornment is completed;
the second function realization module is used for realizing a designated function based on the designated data; the designated function is a function realized based on virtual property among the functions related to the personalized adornment.
6. The apparatus of claim 5, further comprising a save module to:
recording the corresponding relation between the identifier of the utilized virtual article and the decorating object when the personalized decorating is carried out;
when the personalized decoration is finished, converting the corresponding relation into a text file;
and taking the text file as the virtual article data and storing the virtual article data locally at the client.
7. The apparatus of claim 6, wherein the saving module is specifically configured to:
checking whether historical virtual article data exists locally at the client;
and if the virtual article data exists, the text file is used as the virtual article data and is stored locally at the client in a mode of covering the historical virtual article data.
8. The apparatus according to claim 6, wherein the first function implementing module is specifically configured to:
analyzing the virtual article data to obtain the corresponding relation between the identifier of the virtual article and the decorating object;
searching a virtual article with the identification of the virtual article from the virtual articles stored locally at the client;
loading the searched virtual article on a decorating object corresponding to the identification of the virtual article.
9. An electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the bus; the memory is used for storing a computer program; the processor, configured to execute the program stored in the memory, to implement the method steps according to any one of claims 1-4.
10. A computer-readable storage medium, characterized in that a computer program is stored in the storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1-4.
CN202010136609.7A 2020-03-02 2020-03-02 Method, device and equipment for realizing personalized decoration function Active CN111368236B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010136609.7A CN111368236B (en) 2020-03-02 2020-03-02 Method, device and equipment for realizing personalized decoration function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010136609.7A CN111368236B (en) 2020-03-02 2020-03-02 Method, device and equipment for realizing personalized decoration function

Publications (2)

Publication Number Publication Date
CN111368236A true CN111368236A (en) 2020-07-03
CN111368236B CN111368236B (en) 2024-01-19

Family

ID=71208520

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010136609.7A Active CN111368236B (en) 2020-03-02 2020-03-02 Method, device and equipment for realizing personalized decoration function

Country Status (1)

Country Link
CN (1) CN111368236B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112843723A (en) * 2021-02-03 2021-05-28 北京字跳网络技术有限公司 Interaction method, interaction device, electronic equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050137015A1 (en) * 2003-08-19 2005-06-23 Lawrence Rogers Systems and methods for a role-playing game having a customizable avatar and differentiated instant messaging environment
CN101034420A (en) * 2006-03-07 2007-09-12 陈川舟 Network game virtual property off line preservation mode and application
CN101127737A (en) * 2007-09-25 2008-02-20 腾讯科技(深圳)有限公司 Implementation method of UI, user terminal and instant communication system
US20100333031A1 (en) * 2009-06-30 2010-12-30 International Business Machines Corporation Managing multiple virtual world accounts from a single virtual lobby interface
CN107222753A (en) * 2017-05-25 2017-09-29 北京潘达互娱科技有限公司 Virtual present loading method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050137015A1 (en) * 2003-08-19 2005-06-23 Lawrence Rogers Systems and methods for a role-playing game having a customizable avatar and differentiated instant messaging environment
CN101034420A (en) * 2006-03-07 2007-09-12 陈川舟 Network game virtual property off line preservation mode and application
CN101127737A (en) * 2007-09-25 2008-02-20 腾讯科技(深圳)有限公司 Implementation method of UI, user terminal and instant communication system
US20100333031A1 (en) * 2009-06-30 2010-12-30 International Business Machines Corporation Managing multiple virtual world accounts from a single virtual lobby interface
CN107222753A (en) * 2017-05-25 2017-09-29 北京潘达互娱科技有限公司 Virtual present loading method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112843723A (en) * 2021-02-03 2021-05-28 北京字跳网络技术有限公司 Interaction method, interaction device, electronic equipment and storage medium
CN112843723B (en) * 2021-02-03 2024-01-16 北京字跳网络技术有限公司 Interaction method, interaction device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111368236B (en) 2024-01-19

Similar Documents

Publication Publication Date Title
US10558331B2 (en) Terminal device and method for designing network application product
EP3089055B1 (en) Method and device for displaying information flows in social network, and server
US20200301950A1 (en) Method and System for Intelligently Suggesting Tags for Documents
EP3335411B1 (en) Electronic device and method of managing application programs thereof
CN108304172B (en) Web development method and web development engine
WO2018045750A1 (en) Method, system, server and user terminal for displaying comment data of user
US20150234791A1 (en) Method, apparatus, and system for displaying order information
CN107624180A (en) System and method for extracting the user data relevant with sharing application program
US20150278164A1 (en) Method and apparatus for constructing documents
JP6404351B2 (en) Method, apparatus, and system for communicating and presenting merchandise information
JP2018081692A (en) Aesthetic search engine
CN106649446B (en) Information pushing method and device
CN113220657B (en) Data processing method and device and computer equipment
CN103246699A (en) Method and device for data access control based on browser
CN104090899A (en) Method and device for feeding back display content information
CN104615639B (en) A kind of method and apparatus for providing the presentation information of picture
CN106021078B (en) A kind of method for monitoring performance, device and monitoring device
CN110806822A (en) Electronic book interaction method, computing device and computer storage medium
US20140279921A1 (en) System and Method of Deletion and Backup of Social Networking Generated contents
CN104657668A (en) Terminal
US11468675B1 (en) Techniques for identifying objects from video content
CN103150172A (en) Method and equipment for realizing individual scene
CN111368236B (en) Method, device and equipment for realizing personalized decoration function
US20150161666A1 (en) Operation method of portable electronic apparatus
CN114647412A (en) Content display method and terminal equipment

Legal Events

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