CN109472592B - Method and device for managing virtual assets - Google Patents

Method and device for managing virtual assets Download PDF

Info

Publication number
CN109472592B
CN109472592B CN201710800470.XA CN201710800470A CN109472592B CN 109472592 B CN109472592 B CN 109472592B CN 201710800470 A CN201710800470 A CN 201710800470A CN 109472592 B CN109472592 B CN 109472592B
Authority
CN
China
Prior art keywords
virtual
virtual asset
component
configuration information
model
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710800470.XA
Other languages
Chinese (zh)
Other versions
CN109472592A (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 Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information 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 Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710800470.XA priority Critical patent/CN109472592B/en
Publication of CN109472592A publication Critical patent/CN109472592A/en
Application granted granted Critical
Publication of CN109472592B publication Critical patent/CN109472592B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/387Payment using discounts or coupons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0641Shopping interfaces

Abstract

The invention discloses a method and a device for managing virtual assets, and relates to the technical field of computers. One embodiment of the method comprises: constructing a virtual asset model; wherein the virtual asset model comprises a rules component; acquiring configuration information of virtual assets; wherein the configuration information includes usage rules of the virtual assets; storing the usage rules in a rules component of the virtual asset model; and configuring a payment interface of the corresponding virtual asset according to the virtual asset model. The implementation method can reduce the workload of developing the virtual assets and realize effective management of the virtual asset information.

Description

Method and device for managing virtual assets
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for managing virtual assets.
Background
Today, electronic commerce is rapidly developing, and more commodities are sold on line from off-line to on-line. The sales promotion carried out by each business line of each E-commerce platform by taking different virtual assets as carriers is endless, the virtual assets mainly comprise coupons, credits, shopping cards and the like, and merchants carry out sales promotion activities by means of the virtual assets and different sales promotion strategies.
Different business platforms at the present stage develop the use rules of the virtual assets according to the requirements of the business platforms, and even if different business lines under the same business platform provide different services, different virtual assets can be developed based on different rules.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art: the use rules of the virtual assets are independently developed by different platforms and different services according to the own promotion mode, the mode has a lot of repetitive work, new virtual assets cannot be flexibly corresponded when being added or new use rules are not used, and the requirements can be met only by making a large amount of modification.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for managing virtual assets, which can reduce the workload of developing virtual assets and achieve effective management of virtual asset information.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided a method of managing virtual assets, including:
constructing a virtual asset model; wherein the virtual asset model comprises a rules component;
acquiring configuration information of virtual assets; wherein the configuration information includes usage rules of the virtual assets;
storing the usage rules in a rules component of the virtual asset model;
and configuring a payment interface of the corresponding virtual asset according to the virtual asset model.
Optionally, the rule component is provided with an enabling status tag; the method further comprises the following steps:
after the step of storing the usage rules in a rules component of the virtual asset model,
determining that the rule component is enabled or disabled according to a value of an enable status tag in the rule component.
Optionally, the configuration information further includes asset information of the virtual asset, the virtual asset model further includes an information component, and the method further includes:
after the step of obtaining configuration information for the virtual asset,
storing the asset information in an information component of the virtual asset model.
Optionally, the step of obtaining the configuration information of the virtual asset includes:
acquiring configuration information of the virtual assets by using a data interface; the data interface is matched with the virtual asset model.
Optionally, the step of configuring the payment interface of the corresponding virtual asset according to the virtual asset model includes:
and determining the display mode of the virtual asset in a payment interface according to a rule component contained in the virtual asset model.
According to another aspect of an embodiment of the present invention, there is provided an apparatus for managing virtual assets, including:
the model building module is used for building a virtual asset model; wherein the virtual asset model comprises a rules component;
the configuration information acquisition module is used for acquiring the configuration information of the virtual assets; wherein the configuration information includes usage rules of the virtual assets;
a storage module to store the usage rules in a rules component of the virtual asset model;
and the payment configuration module is used for configuring the payment interface of the corresponding virtual asset according to the virtual asset model.
Optionally, the rule component is provided with an enabling status tag, and the apparatus further includes:
and the rule enabling state module is used for determining the enabling or disabling of the rule component according to the value of the enabling state label in the rule component.
Optionally, the configuration information further includes asset information of the virtual asset, the virtual asset model further includes an information component, and the storage module is further configured to:
storing the asset information in an information component of the virtual asset model.
Optionally, the apparatus further comprises:
the data interface module is used for acquiring configuration information of the virtual assets by using the data interface; the data interface is matched with the virtual asset model.
Optionally, the payment configuration module is further configured to:
and determining the display mode of the virtual asset in a payment interface according to a rule component contained in the virtual asset model.
To achieve the above object, according to still another aspect of embodiments of the present invention, there is provided an electronic device for managing virtual assets, including:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to perform at least the following:
constructing a virtual asset model; wherein the virtual asset model comprises a rules component;
acquiring configuration information of virtual assets; wherein the configuration information includes usage rules of the virtual assets;
storing the usage rules in a rules component of the virtual asset model;
and configuring a payment interface of the corresponding virtual asset according to the virtual asset model.
To achieve the above object, according to still another aspect of embodiments of the present invention, there is provided a computer-readable medium on which a computer program is stored, the program, when executed by a processor, at least realizing:
constructing a virtual asset model; wherein the virtual asset model comprises a rules component;
acquiring configuration information of virtual assets; wherein the configuration information includes usage rules of the virtual assets;
storing the usage rules in a rules component of the virtual asset model;
and configuring a payment interface of the corresponding virtual asset according to the virtual asset model.
One embodiment of the above invention has the following advantages or benefits: because the technical means of storing the configuration information of the virtual assets through the virtual asset model is adopted, different types of virtual assets are defined by using the virtual asset model with the uniform format, various information of the virtual assets, particularly the use rules of the virtual assets can be conveniently configured and managed, the technical problem of large workload of the existing virtual asset development is solved, and the technical effect of reducing the workload of developing the virtual assets is achieved.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of the main steps of a method of managing virtual assets according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a virtual asset management system established by a method of managing virtual assets in accordance with an embodiment of the present invention;
FIG. 3 is a schematic illustration of a virtual asset model built in a method of managing virtual assets according to an embodiment of the invention;
FIG. 4 is a schematic diagram of the main modules of an apparatus for managing virtual assets, according to an embodiment of the invention;
FIG. 5 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 6 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a schematic diagram of the main steps of a method of managing virtual assets according to an embodiment of the invention.
As shown in fig. 1, a method for managing virtual assets according to an embodiment of the present invention includes:
and S10, constructing the virtual asset model. The virtual asset model is a pre-constructed structural model and is used for storing configuration information of the virtual asset, such as the belongingness and the use rule of the virtual asset. The virtual asset model includes a rules component for storing usage rules for virtual assets.
And S11, acquiring the configuration information of the virtual assets. Because the virtual asset model is a structured model, and each item of recorded information has a specific structure, when configuration information is acquired, a unified input interface can be provided for receiving the configuration information without independently developing an acquisition rule for each type of virtual asset. Wherein the configuration information comprises usage rules of the virtual assets for defining which requirements the virtual assets should be used according to.
S12, storing the usage rule in a rule component of the virtual asset model.
When the virtual asset model is used to record configuration information of virtual assets for different virtual assets, the obtained model has the same or similar format (because different virtual assets may have characteristics different from other virtual assets, common characteristic parts among different virtual assets are recorded in the same format in the model, and different characteristic parts are recorded with additional items added).
The rule component includes information for defining a rule, and may include, for example, a rule name, a rule identification number, and rule contents. Different rule content items may be configured in the rule component for different rules, e.g. for a value type of rule, a specific value may be specified; for the definition of the usage (for example, the usage can be superimposed), a specific usage can be specified according to the value of the tag by setting the tag.
And S13, configuring the payment interface of the corresponding virtual asset according to the virtual asset model. The configuration information of the virtual assets can be acquired by calling the virtual asset model corresponding to the virtual assets, and the virtual asset model stores the configuration information in a structured mode, so that data can be transmitted by using a predefined interface when the configuration information is acquired, and the data acquisition process is more convenient when a payment interface is configured.
The virtual asset model may include components, and different components may be used to record information about different aspects of the virtual asset. The components can be independent files or partial data in the files. To improve the flexibility of virtual asset model configuration, the components are reusable, modifiable, and reusable:
multiplexing, meaning that the components can be reused many times; when the configuration information of the virtual assets changes, part of components in the corresponding virtual asset models can change, and the parts which do not change can be repeatedly used, so that repeated development is avoided, and the development cost is reduced;
modifying, namely modifying the configuration information after inputting the configuration information of the virtual assets into the virtual asset model; the virtual assets are mostly accompanied with specific business activities, have strong timeliness and can be changed at any time, so that the components are configured into a form which can be modified and is easy to modify;
conversion, meaning that the same component can be used for multiple models; for example, for the same business platform, the information contained in the platform components for recording the platform information in the various virtual assets to which the business platform belongs is the same, so that the platform components of the models can be multiplexed.
In order to realize the functions of the components, the components can be constructed by using a formatting language, wherein the formatting language is a language which stores and represents data by adopting a text format independent of a programming language, has a brief introduction and a clear format, is easy to read and write by people, is easy to analyze and generate by a machine, and effectively improves the network transmission efficiency. The components in the virtual asset model are constructed by using the formatting language, so that the configuration information of the virtual assets can be conveniently received through a uniform data interface on one hand, and on the other hand, the configuration information of the virtual assets can be conveniently acquired from the model by an external user in a scene using the virtual assets. As an example, the formatting Language may be XML (Extensible Markup Language), JSON (JavaScript Object Notation), or the like.
As can be seen from the above, the method for managing virtual assets provided by this embodiment adopts the technical means of storing the configuration information of the virtual assets through the virtual asset model, and defines the different types of virtual assets using the virtual asset model with the uniform format, so that various items of information of the virtual assets, especially the usage rules of the virtual assets, can be conveniently configured and managed, thereby overcoming the technical problem of large workload of developing the existing virtual assets, and further achieving the technical effect of reducing the workload of developing the virtual assets.
In some optional embodiments, the rule component is provided with an enable status tag; the method further includes, after the step of storing the usage rules in a rules component of the virtual asset model at S12,
determining that the rule component is enabled or disabled according to a value of an enable status tag in the rule component. Wherein the activation status tag should have at least two recognizable values corresponding to activation and deactivation of the rule component, respectively.
When the rule component is enabled, the contained usage rules are valid and are displayed in the payment interface; when the rule component is disabled, the usage rules it contains are invalid and are not shown in the payment page. In addition, when the number of the rule components is 2 or more than 2, the activation or the deactivation of each rule component is independent of each other.
The present embodiment explains a general operation principle of the rule component, and the usage rule is a very important item in the configuration information of the virtual asset. For a virtual asset, there is likely to be more than one usage rule; for example, for coupons, rules are required to specify the particular type of coupon, say a full discount coupon, that can be used when the amount of consumption meets certain requirements, and that there is a particular amount that can be deducted; in addition, rules are needed to explain how coupons are used, such as whether multiple coupons can be used in a stack; in addition, the usage scenario of the coupon may be specific, for example, only for purchasing an appliance type good. The usage rules can be changed at any time, and still taking the coupon as an example, the preferential amount can be changed according to the actual promotion content; whether the users can use the system in an overlapping way is uncertain, for example, the users can be set to be used in an non-overlapping way on weekdays, and can be set to be used in an overlapping way on special promotion festivals; the use scene can be changed at any time according to the needs.
In many usage scenarios, such as the aforementioned coupon usage scenarios, the usage rules of the virtual assets are periodically changed, which can result in a significant amount of duplication if the configuration information is re-edited each time a rule changes; in most cases, however, the change in usage rules is an addition or subtraction rather than a modification to some rule. Thus, in one embodiment provided by this embodiment, each rule component includes an enable status tag; when a certain rule needs to be enabled, the enabling state label is set to be in an enabling state, otherwise, the enabling state label is set to be out of use. When an external user invokes the virtual asset model, it can be determined whether a rule is included in the scope of use by enabling the status tag. Therefore, in the embodiment, when a certain rule is not required to be started, the component corresponding to the rule is not required to be deleted, and if the rule is required to be restarted later, the use rule identifier is only changed, and various information is not required to be retransmitted, so that the repeated development cost can be further reduced.
In some optional embodiments, the configuration information further comprises asset information of a virtual asset, the virtual asset model further comprises an information component, the method further comprises:
at S11, after the step of obtaining configuration information for the virtual asset,
storing the asset information in an information component of the virtual asset model.
The asset information refers to some basic information of the virtual asset, such as service information, platform information, asset information, and the like. The service information is used for explaining the specific service of the virtual asset, such as a hotel or an air ticket; the platform information is used for explaining a business platform to which the virtual assets belong; the asset information is used for distinguishing virtual assets and may include unique distinguishing identifiers, asset classes, asset names, rule sets, and the like.
Similar to the rule component mentioned in the previous embodiment, for different asset information, different components may be used for recording to facilitate multiplexing, modification or repurposing; these components may also be provided with enable status tags, each independently enabled or disabled, to determine the validity of the information recorded by the component, thereby making the use and configuration more flexible.
Further, the step of obtaining configuration information of the virtual asset includes:
acquiring configuration information of the virtual assets by using a data interface; the data interface is matched with the virtual asset model.
The method in the embodiment of the invention uses a structured virtual asset model to store the configuration information of the virtual asset, and the embodiment acquires the configuration information through a data interface for use. By setting the data transmission format of the data interface, the acquired configuration information can be ensured to be matched with the data model.
For example, a configuration page corresponding to the data interface may be developed, and the configuration page may list various contents included in the virtual asset model, and provide editable contents such as an input box or a pull-down menu for a user to edit, and may also provide a function of customizing information, and components in the virtual asset model may be added according to a use requirement (these components should at least meet the overall formatting requirement of the virtual asset model). After the input is finished, the input content is converted into configuration information (such as information in an XML format or a JSON format) corresponding to the virtual asset model format through a page, and the configuration information is input into the virtual asset model for storage.
The embodiment provides a uniform interface to realize the configuration of the virtual assets without using a specific programming statement for development, so that even business personnel who do not master the code development technology can construct the virtual asset model according to the method provided by the embodiment without communicating with developers, and the development cost can be reduced. In addition, the service system developed based on the method of the embodiment can provide uniform configuration service for different virtual assets of different business fields and business platforms, and can realize cross-platform use.
In some optional embodiments, S13, the step of configuring the payment interface of the corresponding virtual asset according to the virtual asset model includes:
and determining the display mode of the virtual asset in a payment interface according to a rule component contained in the virtual asset model.
Payment is the primary function of the virtual assets, and the present embodiment further provides a method for implementing payment functionality using the virtual asset model. For example, a corresponding payment component may be generated according to the virtual asset model, the payment component is matched with the virtual asset model in the embodiment of the present invention, and a corresponding payment interface may be displayed according to the rule component in the virtual asset model and data stored by other components. The payment component may be loaded into the payment page to expose usage rules for the virtual asset.
Fig. 2 is a schematic diagram of a virtual asset management system established by the method of managing virtual assets according to an embodiment of the present invention.
As shown in fig. 2, a schematic structural diagram of a virtual asset management system 200 established based on the method for managing virtual assets in the embodiment of the present invention includes a configuration center 201 and a model data processing center 202. The configuration center 201 provides a data interface for receiving configuration information, and the business platform side transmits the configuration information of the virtual assets to the configuration center 201 through the data interface according to a preset form; configuration center 201 transmits the received formatted configuration information to model data processing center 202 for input into the virtual asset model for storage. When the business platform needs to use virtual assets, requesting data from the model data processing center 202, calling a corresponding virtual asset model by the model data processing center 202 according to the request, and sending the data in the virtual asset model to the business platform; alternatively, model data processing center 202 may also provide a payment component for exposing usage rules for the corresponding virtual asset based on the virtual asset model and sending the payment component to the commerce platform (e.g., in the form of a JavaScript component).
It can be seen that the virtual asset management system 200 provided in this embodiment does not interfere with the specific amount of the virtual asset, and only manages the basic information and usage rules of the virtual asset. In the payment page, the business platform may generate a payment frame of the virtual asset by introducing the payment component in this embodiment, and then import the amount of the virtual asset of the platform user, thereby establishing a complete virtual asset payment page. Therefore, the system provided by the embodiment can be used in a cross-platform manner, and simultaneously provides virtual asset management services for a plurality of different business platforms.
Fig. 3 is a schematic view of a virtual asset model constructed in a method of managing virtual assets according to an embodiment of the present invention.
As shown in FIG. 3, the virtual asset model 300 in embodiments of the present invention includes a business component 301, a platform component 302, an asset component 303, and a rules component 304. Wherein:
the service component 301 is configured to describe a service to which the virtual asset belongs, for example, to describe that the virtual asset is used for hotel payment, air ticket payment, or electronic product payment, and may specifically include a service identifier, a service name, a service code, and the like for marking a service category;
the platform component 302 is used to describe the business platform to which the virtual asset belongs, i.e., the business platform to which the business belongs. Specifically, the method may include a platform identifier, a platform name, and the like for labeling the platform category.
The assets component 303 is used to record basic information of the virtual assets such as the identification, category, name of the virtual asset, and the promotional form in which the virtual asset is used.
The rules component 304 is a very important item for specifying usage rules for virtual assets. For example, it may be specified whether the virtual assets can be used overlayed, have a minimum consumption requirement, be used in combination with other types of virtual assets, have a usage rate limit, etc. If there are multiple use rules for a virtual asset, a rule component is separately set for each use rule to describe so as to be convenient for modification or replacement.
Each of the above components is provided with an activation status tag that can be activated or deactivated independently of each other. Therefore, on one hand, when each component is modified, the method can be realized by adopting a mode of adding the new component and stopping the old component so as to record the use history of the virtual asset; on the other hand, the virtual assets can be conveniently configured and adjusted according to needs without retransmitting configuration information, which is particularly obvious in the embodiment of the rule component.
To better illustrate the method of use of the rule component 304, specific embodiments are provided.
In a certain business scenario, the virtual asset is a coupon, and the coupon contains two usage rules: the coupon is a full discount coupon; the coupons can be used in stacks. The information recorded by the corresponding two rule components may be:
rule component 1
Rule name: a full discount coupon;
the display form is as follows: checking boxes;
whether the combination mode is adopted or not: is that;
whether the data is shown in percent: if not;
whether enabled: is.
Rule component 2
Rule name: overlapping for use;
the display form is as follows: checking boxes;
whether the combination mode is adopted or not: is that;
whether the data is shown in percent: if not;
whether enabled: is.
The display form describes a form that the rules represented by the rule component are embodied in the payment component, and the check box is represented by adopting a selectable frame body for each coupon, and can simultaneously select a plurality of frame bodies to represent that a plurality of coupons are used in a superposition mode.
In a certain business scenario, the virtual asset is a score, and the score contains two usage rules: exchange rate of points and RMB; the credit is the highest proportion of the total amount paid. The information recorded by the corresponding two rule components may be:
rule component 3
Rule name: the exchange rate of the points and the RMB;
the display form is as follows: a text box;
whether the combination mode is adopted or not: if not;
whether the data is shown in percent: if not;
whether enabled: is.
Rule component 4
Rule name: the point accounts for the highest proportion of the total payment amount;
the display form is as follows: a text box;
whether the combination mode is adopted or not: if not;
whether the data is shown in percent: is that;
whether enabled: is.
And the information of the display form, namely the text box representation component, is displayed in the payment component in a text form. In addition, for a rule component (e.g., rule component 3) containing a specific numerical value, an item for recording the numerical value may also be added to the component.
Fig. 4 is a schematic view of a virtual asset model constructed in a method of managing virtual assets according to an embodiment of the present invention.
As shown in fig. 4, an apparatus 400 for managing virtual assets according to an embodiment of the present invention includes:
a model building module 401, configured to build a virtual asset model; wherein the virtual asset model comprises a rules component;
a configuration information obtaining module 402, configured to obtain configuration information of a virtual asset; wherein the configuration information includes usage rules of the virtual assets;
a storage module 403, configured to store the usage rule in a rule component of the virtual asset model;
and a payment configuration module 404, configured to configure a payment interface of the corresponding virtual asset according to the virtual asset model.
In some optional embodiments, the rule component is provided with an enable status tag, and the apparatus 400 further comprises:
a rule activation status module 405, configured to determine activation or deactivation of the rule component according to a value of an activation status tag in the rule component.
In some optional embodiments, the configuration information further includes asset information of a virtual asset, the virtual asset model further includes an information component, and the storage module 403 is further configured to:
storing the asset information in an information component of the virtual asset model.
In some optional embodiments, the apparatus 400 further comprises:
a data interface module 406, configured to obtain configuration information of the virtual asset using a data interface; the data interface is matched with the virtual asset model.
In some optional embodiments, the payment configuration module 404 is further configured to:
and determining the display mode of the virtual asset in a payment interface according to a rule component contained in the virtual asset model.
As can be seen from the above, the device for managing virtual assets provided by this embodiment adopts the technical means of storing the configuration information of the virtual assets through the virtual asset model, and defines the different types of virtual assets using the virtual asset model with the uniform format, so that each item of information of the virtual assets, especially the usage rules of the virtual assets, can be conveniently configured and managed, thereby overcoming the technical problem of large workload of developing the existing virtual assets, and further achieving the technical effect of reducing the workload of developing the virtual assets.
Fig. 5 illustrates an exemplary system architecture 500 of a method of managing virtual assets or an apparatus for managing virtual assets to which embodiments of the invention may be applied.
As shown in fig. 5, the system architecture 500 may include terminal devices 501, 502, 503, a network 504, and a server 505. The network 504 serves to provide a medium for communication links between the terminal devices 501, 502, 503 and the server 505. Network 504 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few.
The user may use the terminal devices 501, 502, 503 to interact with a server 505 over a network 504 to receive or send messages or the like. The terminal devices 501, 502, 503 may have various communication client applications installed thereon, such as a shopping application, a web browser application, a search application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal devices 501, 502, 503 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 505 may be a server that provides various services, such as a background management server that supports shopping websites browsed by users using the terminal devices 501, 502, 503. The background management server can provide background management service of the payment component in the shopping payment page, and management of the virtual assets is achieved.
It should be noted that the method for managing virtual assets provided by the embodiment of the present invention is generally executed by the server 505, and accordingly, the apparatus for managing virtual assets is generally disposed in the server 505.
It should be understood that the number of terminal devices, networks, and servers in fig. 5 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
The invention also provides an electronic device and a readable storage medium according to the embodiment of the invention.
Fig. 6 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Referring now to FIG. 6, a block diagram of a computer system 600 suitable for use with a terminal device implementing an embodiment of the invention is shown. The terminal device shown in fig. 6 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 6, the computer system 600 includes a Central Processing Unit (CPU)601 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)602 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data necessary for the operation of the system 600 are also stored. The CPU 601, ROM 602, and RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
The following components are connected to the I/O interface 605: an input portion 606 including a keyboard, a mouse, and the like; an output portion 607 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 608 including a hard disk and the like; and a communication section 609 including a network interface card such as a LAN card, a modem, or the like. The communication section 609 performs communication processing via a network such as the internet. The driver 610 is also connected to the I/O interface 605 as needed. A removable medium 611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 610 as necessary, so that a computer program read out therefrom is mounted in the storage section 608 as necessary.
In particular, the processes described above in the schematic representation of the main steps may be implemented as computer software programs according to embodiments of the present invention. For example, an embodiment of the invention comprises a computer program product comprising a computer program carried on a computer readable medium, the computer program comprising program code for performing the method illustrated in the schematic diagram of the main steps. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 609, and/or installed from the removable medium 611. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 601.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a model building module and a storage module. The names of these modules do not in some cases constitute a limitation on the modules themselves, and for example, a storage module may also be described as a "module for inputting configuration information of a virtual asset into the virtual asset model for storage".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise:
constructing a virtual asset model;
and inputting the configuration information of the virtual assets into the virtual asset model for storage.
According to the technical scheme of the embodiment of the invention, because the technical means of storing the configuration information of the virtual assets through the virtual asset model is adopted, different types of virtual assets are defined by using the virtual asset model with the uniform format, various information of the virtual assets, particularly the use rules of the virtual assets can be conveniently configured and managed, the technical problem of large workload of the existing virtual asset development is solved, and the technical effect of reducing the workload of developing the virtual assets is achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method of managing virtual assets, comprising:
constructing a virtual asset model; when the configuration information of the virtual assets changes, part of components in the corresponding virtual asset model can change, and the unchanged parts are repeatedly used;
acquiring configuration information of virtual assets; wherein the configuration information includes usage rules of the virtual assets;
storing the usage rules in a rules component of the virtual asset model;
configuring a payment interface of the corresponding virtual asset according to the virtual asset model;
wherein the rule component is provided with an enable status tag; the method further comprises the following steps:
after the step of storing the usage rules in a rules component of the virtual asset model,
determining that the rule component is enabled or disabled according to a value of an enable status tag in the rule component.
2. The method of claim 1, wherein the configuration information further includes asset information for a virtual asset, wherein the virtual asset model further includes an information component, and wherein the method further comprises:
after the step of obtaining configuration information for the virtual asset,
storing the asset information in an information component of the virtual asset model.
3. The method of claim 1, wherein the step of obtaining configuration information for the virtual asset comprises:
acquiring configuration information of the virtual assets by using a data interface; the data interface is matched with the virtual asset model.
4. The method of claim 1, wherein configuring the payment interface for the respective virtual asset according to the virtual asset model comprises:
and determining the display mode of the virtual asset in a payment interface according to a rule component contained in the virtual asset model.
5. An apparatus for managing virtual assets, comprising:
the model building module is used for building a virtual asset model; when the configuration information of the virtual assets changes, part of components in the corresponding virtual asset model can change, and the unchanged parts are repeatedly used; wherein the rule component is provided with an enabling status tag, the apparatus further comprising: the rule enabling state module is used for determining the enabling or disabling of the rule component according to the value of the enabling state label in the rule component;
the configuration information acquisition module is used for acquiring the configuration information of the virtual assets; wherein the configuration information includes usage rules of the virtual assets;
a storage module to store the usage rules in a rules component of the virtual asset model;
and the payment configuration module is used for configuring the payment interface of the corresponding virtual asset according to the virtual asset model.
6. The apparatus of claim 5, wherein the configuration information further comprises asset information for a virtual asset, wherein the virtual asset model further comprises an information component, and wherein the storage module is further configured to:
storing the asset information in an information component of the virtual asset model.
7. The apparatus of claim 5, further comprising:
the data interface module is used for acquiring configuration information of the virtual assets by using the data interface; the data interface is matched with the virtual asset model.
8. The apparatus of claim 5, wherein the payment configuration module is further configured to:
and determining the display mode of the virtual asset in a payment interface according to a rule component contained in the virtual asset model.
9. An electronic device for managing virtual assets, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN201710800470.XA 2017-09-07 2017-09-07 Method and device for managing virtual assets Active CN109472592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710800470.XA CN109472592B (en) 2017-09-07 2017-09-07 Method and device for managing virtual assets

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710800470.XA CN109472592B (en) 2017-09-07 2017-09-07 Method and device for managing virtual assets

Publications (2)

Publication Number Publication Date
CN109472592A CN109472592A (en) 2019-03-15
CN109472592B true CN109472592B (en) 2020-09-29

Family

ID=65657577

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710800470.XA Active CN109472592B (en) 2017-09-07 2017-09-07 Method and device for managing virtual assets

Country Status (1)

Country Link
CN (1) CN109472592B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113283914A (en) * 2020-02-18 2021-08-20 北京沃东天骏信息技术有限公司 Virtual asset checking method and device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
AU2003229317A1 (en) * 2002-05-15 2003-12-02 Aplaud Technologies, Inc. Methods and apparatus for a title transaction network
CN102945525B (en) * 2011-12-09 2016-12-07 普天银通支付有限公司 Smart card payment management information system
CN107016568A (en) * 2017-03-17 2017-08-04 袁军 The data processing method and system of integration increment consumer electronics business platform

Also Published As

Publication number Publication date
CN109472592A (en) 2019-03-15

Similar Documents

Publication Publication Date Title
CN108334387B (en) Dynamic interface rendering method and device
US10228935B2 (en) Rebuildable service-oriented applications
US20110231819A1 (en) Content Availability Determination, Representation And Acquisition System
CN107430618A (en) Realize the system and method interacted with host computer device progress user speech
CN109803008B (en) Method and apparatus for displaying information
CN110472207A (en) List generation method and device
CN108985784A (en) Method and apparatus for storing information
US20130268332A1 (en) Systems and methods for enhancing customer service
CN110473036A (en) A kind of method and apparatus generating order number
CN111770128B (en) Message management method and device
CN115202639A (en) Code generation method, device, equipment and storage medium based on custom module
CN108399538A (en) Operate the method and system of multiple accounts
CN110019263A (en) Information storage means and device
CN112817562A (en) Service processing method and device
CN204790977U (en) APP automatic compilation system and management platform based on cloud calculates
CN109472592B (en) Method and device for managing virtual assets
CN110020349A (en) The method and device of page rendering
CN108932594A (en) Information-pushing method and device
CN110309187A (en) A kind of method and apparatus for applying streaming computing in SAAS system
CN113760279A (en) Method and device for generating page
CN113760582A (en) Document declaration method and device
CN112347344A (en) Management method and device for multi-period additional resource certificate and electronic equipment
CN114089995A (en) Page generation method, device, equipment and storage medium
US9743217B2 (en) Method for making contactless tags available for end users of tag-related software applications
CN112363716A (en) Method, system and device for dynamically assembling evaluation model

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