CN113769412B - Virtual prop control method and device, storage medium and electronic device - Google Patents

Virtual prop control method and device, storage medium and electronic device Download PDF

Info

Publication number
CN113769412B
CN113769412B CN202111101625.3A CN202111101625A CN113769412B CN 113769412 B CN113769412 B CN 113769412B CN 202111101625 A CN202111101625 A CN 202111101625A CN 113769412 B CN113769412 B CN 113769412B
Authority
CN
China
Prior art keywords
transaction
pricing
virtual prop
prop
price
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
CN202111101625.3A
Other languages
Chinese (zh)
Other versions
CN113769412A (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 Bingfeng Mutual Entertainment Technology Co ltd
Original Assignee
Beijing Bingfeng Mutual Entertainment 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 Bingfeng Mutual Entertainment Technology Co ltd filed Critical Beijing Bingfeng Mutual Entertainment Technology Co ltd
Priority to CN202111101625.3A priority Critical patent/CN113769412B/en
Publication of CN113769412A publication Critical patent/CN113769412A/en
Application granted granted Critical
Publication of CN113769412B publication Critical patent/CN113769412B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects
    • A63F13/79Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories
    • A63F13/792Game security or game management aspects involving player-related data, e.g. identities, accounts, preferences or play histories for payment purposes, e.g. monthly subscriptions
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/55Controlling game characters or game objects based on the game progress

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention provides a control method and device of virtual props, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring transaction data of a first virtual prop in a first pricing cycle; calculating a target reference price of the first virtual prop in a second pricing period according to the transaction data, wherein the first pricing period is a historical time period of the second pricing period; controlling a consignment price of the first virtual prop during the second pricing period based on the target reference price. The invention solves the technical problems of malicious resale and hoarding of game resources in the related technology, can reduce and prevent the actions of resale and hoarding the virtual props, and improves the flow rate and the utilization rate of the virtual props.

Description

Virtual prop control method and device, storage medium and electronic device
Technical Field
The invention relates to the technical field of computers, in particular to a control method and device for virtual props, a storage medium and an electronic device.
Background
In the related technology, the online game industry is vigorously developed, the game is a good recreation and entertainment mode in the rest of work and life, the game market scale keeps continuously increasing, the earning of the game market is also increasing year by year, but after the development of the fire heat of the game, the industry still has a plurality of problems, the game experience has over-high payment threshold, so that lost users and insufficient user viscosity are caused, and many games cannot continuously survive for a long time.
In the related art, two types of price settings of the tradable prop in the game are fixed price, and the other type of price setting is a listing price of a seller, which is influenced by subjective factors of the stock and the seller, and easily causes larger price fluctuation, is controlled by a studio, so that the market price is uncontrollable, and the actions of resale and stocking the virtual prop cannot be found and stopped in time, so that the circulation rate and the use rate of the virtual prop are influenced.
In view of the above problems in the related art, no effective solution has been found yet.
Disclosure of Invention
The embodiment of the invention provides a control method and device for virtual props, a storage medium and an electronic device.
According to one embodiment of the present invention, there is provided a control method of a virtual prop, including: acquiring transaction data of a first virtual prop in a first pricing cycle; calculating a target reference price of the first virtual prop in a second pricing period according to the transaction data, wherein the first pricing period is a historical time period of the second pricing period; controlling a consignment price of the first virtual prop during the second pricing period based on the target reference price.
Optionally, calculating the target reference price of the first virtual prop in the second pricing cycle according to the transaction data includes: acquiring a plurality of transaction records in the transaction data; extracting the trading prices of the trading records aiming at each trading record in the plurality of trading records to obtain a plurality of trading prices corresponding to the plurality of trading records; an average price of the plurality of price interactions is calculated and the average price is determined as a target reference price for the first virtual prop during a second pricing cycle.
Optionally, acquiring the plurality of transaction records in the transaction data includes: extracting transaction parameters of all transaction records in the transaction data, wherein the transaction parameters comprise at least one of the following: the account attribute of the transaction party, the consignment duration, the accumulated transaction times of the first virtual prop in the first pricing cycle, and the acquisition path of the first virtual prop; and screening a plurality of valid transaction records from all the transaction records based on the transaction parameters.
Optionally, the transaction parameter is an account attribute of a transaction party, and screening a plurality of valid transaction records in the all transaction records based on the transaction parameter includes: determining a seller account and a buyer account in a target transaction record; calculating the association degree between the seller account and the buyer account; and if the association degree between the seller account and the buyer account is greater than a preset association degree, determining the target transaction record as an invalid transaction record, and deleting the target transaction record from all the transaction records.
Optionally, controlling the consignment price of the first virtual prop during the second pricing period based on the target reference price includes: acquiring a price floating coefficient of the first virtual prop in the second pricing period; calculating a pricing interval of the first virtual prop in the second pricing period according to the target reference price and the price floating coefficient; and configuring the pricing interval as a selection interval of the price of the first virtual prop in the second pricing period.
Optionally, after calculating the target reference price for the first virtual prop for the second pricing period based on the transaction data, the method further comprises: acquiring a historical reference price of the first virtual prop in the first pricing cycle; calculating a float between the target reference price and the historical reference price; and if the floating quantity is larger than a preset value, smoothly transiting the target reference price into an intermediate reference price, and updating the target reference price by adopting the intermediate reference price, wherein the intermediate reference price is smaller than the target reference price.
Optionally, before acquiring the transaction data of the first virtual prop in the first pricing cycle, the method further includes: acquiring consumption and/or holding quantity of the first virtual prop in the virtual scene in the first pricing cycle; judging whether the consumption is larger than a first threshold value and/or judging whether the holding quantity is larger than a second threshold value; and if the consumption is greater than a first threshold value and/or the holding quantity is greater than a second threshold value, determining to acquire transaction data of the first virtual prop in a first pricing cycle.
Optionally, before calculating the target reference price for the first virtual prop for the second pricing period based on the transaction data, the method further comprises: reading the number of online people of the game server at the current time; judging whether the number of online people is larger than a preset number; if the number of online people is larger than the preset number of people, configuring the period duration of the second pricing period by adopting a first period duration; and if the number of online people is smaller than or equal to the preset number of people, configuring the period duration of the second pricing period by adopting a second duration, wherein the second duration is longer than the first duration.
Optionally, before calculating the target reference price for the first virtual prop for the second pricing period based on the transaction data, the method further comprises: counting the transaction quantity of the first virtual prop in real time in the first pricing cycle; judging whether the transaction quantity reaches a preset quantity or not; and if the transaction quantity reaches the preset quantity, terminating the first pricing cycle of the first virtual prop, and starting a second pricing cycle of the first virtual prop.
Optionally, after opening the second pricing period of the first virtual prop, the method further comprises: determining a second virtual prop associated with the first virtual prop; and synchronizing the second pricing period of the second virtual prop by adopting the second pricing period of the first virtual prop.
Optionally, after calculating the target reference price for the first virtual prop for the second pricing period based on the transaction data, the method further comprises: reading a plurality of reference prices of the first virtual prop in a plurality of pricing periods respectively; calculating a floating coefficient of the first virtual prop over the plurality of pricing periods based on the plurality of reference prices; judging whether the floating coefficient is larger than a coefficient threshold value or not; if the floating coefficient is greater than a coefficient threshold value, continuously retaining the first virtual prop in a first prop library; and if the floating coefficient is smaller than or equal to a coefficient threshold value, moving the first virtual prop from the first prop library to a second prop library, wherein a virtual game comprises the first prop library and the second prop library, the consignment price of each virtual prop in the first prop library is determined based on the reference price and the listing price of each pricing period, and the consignment price of each virtual prop in the second prop library is determined based on the listing price.
Optionally, after acquiring the transaction data of the first virtual prop in the first pricing cycle, the method further includes: extracting transaction sub-data of each transaction account in the transaction data; analyzing prop aggregation degree of transaction amount in the transaction sub-data aiming at each transaction account, wherein the prop aggregation degree is used for representing association degree of a target virtual prop and the transaction amount; and if the prop aggregation degree is larger than a preset threshold value, determining the corresponding transaction account as an abnormal transaction account.
According to another embodiment of the present invention, there is provided a control device for a virtual prop, including: the first acquisition module is used for acquiring transaction data of the first virtual prop in a first pricing cycle; the first calculation module is used for calculating a target reference price of the first virtual prop in a second pricing period according to the transaction data, wherein the first pricing period is a historical time period of the second pricing period; and the control module is used for controlling the consignment price of the first virtual prop in the second pricing period based on the target reference price.
Optionally, the first computing module includes: an acquisition unit, configured to acquire a plurality of transaction records in the transaction data; the extraction unit is used for extracting the trading prices of the trading records aiming at each trading record in the plurality of trading records to obtain a plurality of trading prices corresponding to the plurality of trading records; and the calculating unit is used for calculating the average price of the plurality of price exchanges and determining the average price as the target reference price of the first virtual prop in the second pricing period.
Optionally, the acquiring unit includes: an extracting subunit, configured to extract transaction parameters of all transaction records in the transaction data, where the transaction parameters include at least one of the following: the account attribute of the transaction party, the consignment duration, the accumulated transaction times of the first virtual prop in the first pricing cycle, and the acquisition path of the first virtual prop; and the screening subunit is used for screening a plurality of valid transaction records in all the transaction records based on the transaction parameters.
Optionally, the transaction parameter is an account attribute of a transaction party, and the screening subunit is further configured to: determining a seller account and a buyer account in a target transaction record; calculating the association degree between the seller account and the buyer account; and if the association degree between the seller account and the buyer account is greater than a preset association degree, determining the target transaction record as an invalid transaction record, and deleting the target transaction record from all the transaction records.
Optionally, the control module includes: the acquisition unit is used for acquiring the price floating coefficient of the first virtual prop in the second pricing period; the calculating unit is used for calculating a pricing interval of the first virtual prop in the second pricing period according to the target reference price and the price floating coefficient; and the configuration unit is used for configuring the pricing interval into a selection interval of the first virtual prop for posting the selling price in the second pricing period.
Optionally, the apparatus further includes: the second obtaining module is used for obtaining the historical reference price of the first virtual prop in the first pricing cycle after the first calculating module calculates the target reference price of the first virtual prop in the second pricing cycle according to the transaction data; a second calculation module for calculating a float between the target reference price and the historical reference price; and the updating module is used for smoothly transiting the target reference price into an intermediate reference price if the floating quantity is larger than a preset value, and updating the target reference price by adopting the intermediate reference price, wherein the intermediate reference price is smaller than the target reference price.
Optionally, the apparatus further includes: the third acquisition module is used for acquiring the consumption and/or the holding quantity of the first virtual prop in the virtual scene in the first pricing cycle before the first acquisition module acquires the transaction data of the first virtual prop in the first pricing cycle; the first judging module is used for judging whether the consumption is larger than a first threshold value and/or judging whether the holding quantity is larger than a second threshold value; and the determining module is used for determining to acquire the transaction data of the first virtual prop in the first pricing cycle if the consumption is greater than a first threshold value and/or the holding quantity is greater than a second threshold value.
Optionally, the apparatus further includes: the first reading module is used for reading the number of online people of the game server at the current time before the first calculating module calculates the target reference price of the first virtual prop in the second pricing period according to the transaction data; the second judging module is used for judging whether the number of the online people is larger than a preset number of people; the configuration module is used for configuring the period duration of the second pricing period by adopting a first period duration if the number of online people is larger than a preset number of people; and if the number of online people is smaller than or equal to the preset number of people, configuring the period duration of the second pricing period by adopting a second duration, wherein the second duration is longer than the first duration.
Optionally, the apparatus further includes: the counting module is used for counting the transaction quantity of the first virtual prop in real time in the first pricing period before the first calculating module calculates the target reference price of the first virtual prop in the second pricing period according to the transaction data; the third judging module is used for judging whether the transaction quantity reaches a preset quantity or not; and the switching module is used for terminating the first pricing cycle of the first virtual prop and starting the second pricing cycle of the first virtual prop if the transaction quantity reaches the preset quantity.
Optionally, the apparatus further includes: the first determining module is used for determining a second virtual prop related to the first virtual prop after the switching module starts a second pricing period of the first virtual prop; and the synchronization module is used for synchronizing the second pricing cycle of the second virtual prop by adopting the second pricing cycle of the first virtual prop.
Optionally, the apparatus further includes: the second reading module is used for reading a plurality of reference prices of the first virtual prop in a plurality of pricing periods respectively after the first calculating module calculates the target reference price of the first virtual prop in a second pricing period according to the transaction data; a third reading module for calculating a floating coefficient of the first virtual prop within the plurality of pricing periods based on the plurality of reference prices; a fourth reading module, configured to determine whether the floating coefficient is greater than a coefficient threshold; the third determining module is used for continuously keeping the first virtual prop in a first prop library if the floating coefficient is larger than a coefficient threshold value; and if the floating coefficient is smaller than or equal to a coefficient threshold value, moving the first virtual prop from the first prop library to a second prop library, wherein a virtual game comprises the first prop library and the second prop library, the consignment price of each virtual prop in the first prop library is determined based on the reference price and the listing price of each pricing period, and the consignment price of each virtual prop in the second prop library is determined based on the listing price.
Optionally, the apparatus further includes: the extraction module is used for extracting transaction sub-data of each transaction account in the transaction data after the first acquisition module acquires the transaction data of the first virtual prop in the first pricing cycle; the analyzing module is used for analyzing the prop aggregation degree of the transaction amount in the transaction sub-data aiming at each transaction account, wherein the prop aggregation degree is used for representing the association degree of the target virtual prop and the transaction amount; and the second determining module is used for determining the corresponding transaction account number as an abnormal transaction account number if the prop aggregation degree is larger than a preset threshold value.
According to a further embodiment of the invention, there is also provided a storage medium having stored therein a computer program, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
According to a further embodiment of the invention, there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
According to the invention, transaction data of the first virtual prop in a first pricing cycle is obtained; according to the transaction data, calculating a target reference price of the first virtual prop in the second pricing period, wherein the first pricing period is a historical time period of the second pricing period, controlling consignment price of the first virtual prop in the second pricing period based on the target reference price, controlling pricing of the current time by adopting transaction data of the first virtual prop in the historical time, effectively feeding back transaction behaviors of all players to the transaction pricing of the virtual prop, preventing malicious resale and stir-frying of the virtual prop, avoiding abnormal transaction behaviors of deficiency high or low, solving the technical problems of malicious resale and hoarding of game resources in the related technology, reducing and stopping the behaviors of resale and hoarding the virtual prop, and improving the circulation rate and the use rate of the virtual prop.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute a limitation on the application. In the drawings:
FIG. 1 is a block diagram of the hardware architecture of a control server for a virtual prop according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for controlling a virtual prop according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a method for synchronously adjusting pricing periods for a plurality of virtual props according to an embodiment of the invention;
FIG. 4 is a block diagram of a virtual prop control device according to an embodiment of the present invention;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order that those skilled in the art will better understand the present application, a technical solution in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present application, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present application without making any inventive effort, shall fall within the scope of the present application. It should be noted that, without conflict, the embodiments of the present application and features of the embodiments may be combined with each other.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
The method according to the first embodiment of the present application may be implemented in a mobile phone, a tablet, a server, a computer, or a similar electronic terminal. Taking the operation on a server as an example, fig. 1 is a hardware structure block diagram of a control server for a virtual prop according to an embodiment of the present application. As shown in fig. 1, the server may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, and optionally, a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative, and is not intended to limit the structure of the server described above. For example, the server may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store server programs, such as software programs and modules of application software, such as a server program corresponding to a method for controlling a virtual prop in an embodiment of the present invention, and the processor 102 executes the server program stored in the memory 104, thereby performing various functional applications and data processing, that is, implementing the method described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located with respect to the processor 102, which may be connected to a server via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. In this embodiment, the processor 104 is configured to control the target virtual character to perform a specified operation to complete the game task in response to the man-machine interaction instruction and the game policy. The memory 104 is used to store program scripts for the electronic game, configuration information, attribute information for the virtual character, and the like.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of a server. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as a NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is configured to communicate with the internet wirelessly.
Optionally, the input/output device 108 further includes a man-machine interaction screen, configured to obtain a man-machine interaction instruction through a man-machine interaction interface, and further configured to present a picture in the virtual scene;
in this embodiment, a method for controlling a virtual prop is provided, and fig. 2 is a schematic flow chart of a method for controlling a virtual prop according to an embodiment of the present invention, as shown in fig. 2, where the flow chart includes the following steps:
Step S202, transaction data of a first virtual prop in a first pricing cycle is obtained;
Optionally, the virtual prop in this embodiment is a scene element in a virtual scene of an application, where the virtual scene may be a virtual game scene, a virtual teaching scene, a virtual demonstration scene, and the virtual scene may further include a virtual character, where the virtual character may be controlled by a user operation or a system AI, and may move in the virtual scene such as a game scene, where the virtual character may be controlled by a user, for example, PCC (player-Controlled Character, player character or player control character) in a virtual game controlled by a master player. In this embodiment, a virtual scene is taken as an example of a game scene.
Alternatively, the virtual prop may be a game resource that may be used by a virtual character in a game scenario, such as a weapon, a defense, a carrier, an ornament, a blood bag, a synthetic material, etc., that may be traded by a virtual gold in a virtual game.
Step S204, calculating a target reference price of the first virtual prop in a second pricing period according to the transaction data, wherein the first pricing period is a historical time period of the second pricing period;
optionally, the second pricing cycle is an adjacent cycle to the first pricing cycle, and the target reference price is a reference price of the first virtual prop when transacted in the second pricing cycle.
Step S206, controlling the consignment price of the first virtual prop in the second pricing cycle based on the target reference price.
In this embodiment, when the first virtual prop is transacted between the players, the seller player wants to sell the first virtual prop, and needs to hang the first virtual prop on a virtual store or platform, and set a consignment price, if the buyer player feels that the consignment price is reasonable, the consignment price is adopted to realize transaction and circulation, and after the transaction is completed, the first virtual prop is transferred from the account number of the seller player to the account number of the buyer player.
Through the steps, transaction data of the first virtual prop in a first pricing cycle is obtained; according to the transaction data, calculating a target reference price of the first virtual prop in the second pricing period, wherein the first pricing period is a historical time period of the second pricing period, controlling consignment price of the first virtual prop in the second pricing period based on the target reference price, controlling pricing of the current time by adopting transaction data of the first virtual prop in the historical time, effectively feeding back transaction behaviors of all players to the transaction pricing of the virtual prop, preventing malicious resale and stir-frying of the virtual prop, avoiding abnormal transaction behaviors of deficiency high or low, solving the technical problems of malicious resale and hoarding of game resources in the related technology, reducing and stopping the behaviors of resale and hoarding the virtual prop, and improving the circulation rate and the use rate of the virtual prop.
In one implementation of the present embodiment, calculating the target reference price for the first virtual prop for the second pricing cycle based on the transaction data includes:
s11, acquiring a plurality of transaction records in transaction data;
in some examples, obtaining the plurality of transaction records in the transaction data includes: extracting transaction parameters of all transaction records in the transaction data, wherein the transaction parameters comprise at least one of the following: the account attribute of the transaction party, the consignment duration, the accumulated transaction times of the first virtual prop in the first pricing cycle, and the acquisition path of the first virtual prop; a plurality of valid transaction records are screened among all transaction records based on the transaction parameters.
For example, the transaction parameters include the acquisition channel of the first virtual prop in the game, the number of times that the first virtual prop is transacted, account attributes of the transaction seller and the transaction buyer (whether the easy seller and the transaction buyer are associated accounts, whether they are primary and secondary accounts, etc. to prevent malicious resale or play), role attributes of the transaction seller and the transaction buyer (whether the prop is applicable to prevent malicious stocking), etc., transaction comments (good or bad comments to prevent false transactions). The invalid transaction records are filtered through the transaction parameters, when the transaction amount is calculated, only the effective transaction amount is calculated, and when the invalid records exceed a certain number of times, an alarm can be triggered to pause the transaction action of the first virtual prop.
In one embodiment, the transaction parameter is an account attribute of the transaction party, and screening the plurality of valid transaction records among all transaction records based on the transaction parameter includes: determining a seller account and a buyer account in a target transaction record; calculating the association degree between the seller account and the buyer account; if the association degree between the seller account and the buyer account is greater than the preset association degree, determining that the target transaction record is an invalid transaction record, and deleting the target transaction record from all the transaction records.
Optionally, the correlation degree between the accounts and prop transaction times between the accounts are positively correlated, the more the transaction times are, the higher the correlation degree is, in one example, the maximum value of the correlation degree is 1, when two accounts are primary and secondary accounts of the same user, the correlation degree between the two accounts is 1, and the transaction record between the accounts is an invalid transaction record.
S12, extracting the trading prices of the trading records according to each trading record in the plurality of trading records to obtain a plurality of trading prices corresponding to the plurality of trading records;
And S13, calculating the average price of the plurality of price exchanges, and determining the average price as the target reference price of the first virtual prop in the second pricing period.
In other embodiments, the median price of the plurality of price interactions is used as the target reference price, the plurality of price interactions may be used to generate a gaussian distribution curve according to the corresponding time of interactions at the plurality of price interactions, the average price is selected as the target reference price of the first virtual prop in the second pricing period if the average curvature of the gaussian distribution curve is greater than the first threshold value, and the median price is selected as the target reference price of the first virtual prop in the second pricing period if the average curvature of the gaussian distribution curve is less than the second threshold value.
In one implementation of the present embodiment, controlling the consignment price of the first virtual prop during the second pricing period based on the target reference price includes: acquiring a price floating coefficient of the first virtual prop in a second pricing period; calculating a pricing interval of the first virtual prop in the second pricing period according to the target reference price and the price floating coefficient; the pricing interval is configured as a selection interval for the first virtual prop to register a selling price within the second pricing period.
In one example, the target reference price of the virtual prop a is 100, the price floating coefficient is 10%, the highest floating price and the lowest price are calculated by using the price floating coefficient and are respectively 100 x (1+10%) =110, 100 x (1-10%) =90, the pricing interval is 90-110, the first virtual prop is configured to be a selection interval of consignment price in the second pricing period by using 90-110, and when the first virtual prop is consigned by a seller player, only 90-110 can be selected or filled as consignment price, or only 90-110 can the first virtual prop be normally uploaded to the virtual store when 90-110 is selected or filled as consignment price.
In this embodiment, in addition to controlling the consignment price of the first virtual prop in the second pricing period by using the price floating coefficient, the target reference price may also be directly used as the fixed consignment price of the first virtual prop in the second pricing period.
In one implementation of the present embodiment, after calculating the target reference price for the first virtual prop for the second pricing cycle based on the transaction data, further comprising: acquiring a historical reference price of the first virtual prop in a first price fixing period; calculating a floating amount between the target reference price and the historical reference price; and if the floating amount is larger than the preset value, smoothly transiting the target reference price into an intermediate reference price, and updating the target reference price by adopting the intermediate reference price, wherein the intermediate reference price is smaller than the target reference price.
In some examples, the price of the next period is adjusted by calculating the reference price of the next period according to the average price of the previous period, but when the fluctuation range is relatively large, a moderate intermediate price can be selected, for example, the historical reference price is 100, the target reference price is 130, the preset value is 25, 120 can be selected as the intermediate reference price, and the target reference price is updated, so that fluctuation of the price of the prop is controlled, and the fluctuation range is prevented from being excessively large.
When the target reference price is smoothly transited to the intermediate reference price, smoothing can be performed by adopting an interpolation method and an average method, for example, the historical reference price is 100, the target reference price is 130, if the floating amount is larger than a preset value, the average method is to calculate the average value of the target reference price and the historical reference price, the obtained intermediate price is (100+130)/2=115, the difference method is to insert the historical reference price of the previous fixed price period of the first fixed price period into the target reference price and the historical reference price, or insert the official construction price of the first virtual prop (namely, the initial standard price is artificially preset by a game plan), and then calculate the average value of the target reference price, the historical reference price and the inserted value.
In one implementation manner of this embodiment, before acquiring the transaction data of the first virtual prop in the first pricing cycle, the method further includes: acquiring consumption and/or holding quantity of a first virtual prop in a virtual scene in a first pricing cycle; judging whether the consumption is larger than a first threshold value and/or judging whether the holding quantity is larger than a second threshold value; and if the consumption is greater than the first threshold value and/or the holding quantity is greater than the second threshold value, determining to acquire transaction data of the first virtual prop in the first pricing cycle.
In this embodiment, the first virtual prop that needs to dynamically float the price is selected according to the actual consumption or holding amount of the virtual prop, and a specific type of prop is selected according to a specific rule, for example, the holding amount and consumption amount of the full dress are larger than a certain amount of props, and the amount of the achievement is larger than a certain amount of props. Optionally, a prop whose difference between the consumption and the transaction amount is smaller than the threshold may be selected, and if the consumption of the virtual prop is equal to the transaction amount, it indicates that the virtual prop is normally consumed after circulation, which belongs to normal transaction. In a game scene, corresponding reference price calculation modes can be adopted for different types of props, for example, virtual props with small holding quantity are controlled to conduct transactions by adopting uncontrolled consignment prices, and virtual props with small consumption are controlled to conduct transactions by adopting fixed consignment prices.
In this embodiment, the time periods and period durations of the first pricing period and the second pricing period may be fixed, for example, a plurality of fixed time point switching periods are selected in a day, one pricing period is switched every two hours, or a random or semi-random time is used to switch the periods, so that the time of the pricing periods is prevented from being artificially predicted, and transaction cheating is prevented.
In one embodiment, prior to calculating the target reference price for the first virtual prop for the second pricing cycle based on the transaction data, further comprising: reading the number of online people of the game server at the current time; judging whether the number of online people is larger than a preset number; if the number of online people is larger than the preset number of people, configuring the period duration of the second pricing period by adopting the first period duration; if the number of online people is smaller than or equal to the preset number of people, the period duration of the second pricing period is configured by adopting a second duration, wherein the second duration is longer than the first duration.
In setting the adjustment period of the target reference price, a shorter adjustment period may be set at the peak period of the game, and a longer adjustment period may be set at the low peak period of the game (such as the following midnight and morning). The fewer the number of online people on the game server, the fewer the potential transaction actions, and the period duration of the pricing period can be properly prolonged, so that the frequent price change is prevented.
In another embodiment, prior to calculating the target reference price for the first virtual prop for the second pricing cycle based on the transaction data, further comprising: counting the transaction quantity of the first virtual prop in real time in a first pricing cycle; judging whether the transaction quantity reaches a preset quantity or not; and if the transaction quantity reaches the preset quantity, ending the first pricing cycle of the first virtual prop, and starting the second pricing cycle of the first virtual prop.
In one example, the starting time of the first pricing cycle is 00:00, and by counting the number of transactions in real time, if the transaction of the 100 th first virtual prop is counted at 00:21, the first pricing cycle is terminated, and the second pricing cycle is started at 00:22, optionally, the number of transactions may be the number of transactions, and the first virtual prop of each transaction is greater than or equal to 0. By adopting the implementation mode, the balance between the dynamic price adjustment and the transaction quantity is realized, and the excessive frequent adjustment is prevented.
In some implementations, after opening the second pricing period for the first virtual prop, further comprising: determining a second virtual prop associated with the first virtual prop; the second pricing periods of the second virtual props are synchronized using the second pricing periods of the first virtual props.
Optionally, the second virtual prop may be other virtual props (except the first virtual prop) that need to dynamically adjust the price in the game scene, or may be virtual props of the same type as the first virtual prop or associated props, for example, the first virtual prop and the second virtual prop are props for replenishing blood, and the first virtual prop and the second virtual prop are respectively used for synthesizing fragment resources of a certain prop, and the like. And the association and synchronous adjustment of the first virtual prop and the second virtual prop are realized, and when the pricing periods of a plurality of virtual props are adjusted, the pricing period of the first virtual prop is not required to be monitored and calculated, so that the calculated amount and the task number of a processor are reduced.
Setting an adjustment period through the number of deals, entering a next adjustment period if the number of deals reaches a preset fixed value, selecting one of the deals to adjust the prices of other deals in a linkage manner when the game comprises a plurality of deals, if the number of deals of the virtual prop with the maximum amount or the maximum use amount reaches an adjustment condition, synchronously adjusting the reference prices of other deals, such as three virtual props including ABC in a game scene, adjusting a reference price once for every 500 deals, selecting A as the reference prop, counting the number of deals of A, adjusting the reference price of A after the number of deals is accumulated to 500 times in the current period, entering a next pricing period, and simultaneously adjusting the reference price of BC in the next pricing period based on the transaction data of BC in the current pricing period, regardless of whether the number of deals of BC reaches 500 or exceeds 500. Fig. 3 is a schematic diagram of synchronously adjusting the pricing periods of a plurality of virtual props according to an embodiment of the present invention, where virtual prop a is accumulated 500 times at time t1 of the first pricing period, and at this time, virtual props B and C are respectively accumulated 320 times and 610 times, and at the same time, the pricing period of virtual prop ABC is adjusted with time t1 as the adjustment time, and the second pricing period is entered.
In one implementation of the present embodiment, after calculating the target reference price for the first virtual prop for the second pricing cycle based on the transaction data, further comprising: reading a plurality of reference prices of the first virtual prop in a plurality of pricing periods respectively; calculating a floating coefficient of the first virtual prop in a plurality of pricing periods based on the plurality of reference prices; judging whether the floating coefficient is larger than a coefficient threshold value or not; if the floating coefficient is greater than the coefficient threshold value, continuously retaining the first virtual prop in the first prop library; and if the floating coefficient is smaller than or equal to the coefficient threshold value, moving the first virtual prop from the first prop library to the second prop library, wherein the virtual game comprises the first prop library and the second prop library, the consignment price of each virtual prop in the first prop library is determined based on the reference price and the listing price of each pricing cycle, and the consignment price of each virtual prop in the second prop library is determined based on the listing price.
Alternatively, the floating coefficient may be calculated by variance, standard deviation, covariance, mean square error, etc. of the plurality of reference prices.
In one example, the reference price and the consignment price of the virtual prop in the first prop library are adjusted in each adjustment period, optionally, after the virtual prop in the first prop library is adjusted for a plurality of pricing periods, the average price of each virtual prop in the second prop library is calculated by using transaction data (the price calculation period of the virtual prop in the second prop library is equal to the price calculation period of the virtual prop in the first prop library), the average price of the virtual prop in the second prop library is compared with the average price of the last period, whether the price change reaches a preset condition is determined, whether the price data of the virtual prop in the first prop library/the virtual prop in the second prop library is changed is counted through the plurality of periods, and whether the floating coefficient reaches a preset coefficient threshold value is determined, so that a certain virtual prop is controlled to move between the first prop library and the second prop library.
In one implementation manner of this embodiment, after obtaining the transaction data of the first virtual prop in the first pricing cycle, the method further includes: extracting transaction sub-data of each transaction account in the transaction data; analyzing the prop aggregation degree of the transaction amount in the transaction sub-data aiming at each transaction account, wherein the prop aggregation degree is used for representing the association degree of the target virtual prop and the transaction amount; if the prop aggregation degree is larger than a preset threshold value, determining the corresponding transaction account as an abnormal transaction account.
In this embodiment, the first virtual prop is classified and identified, when the first virtual prop is transacted, the identification of the first virtual prop is recorded in the transaction amount of transaction data, the gold in the gold account of each game account is analyzed, the source of each unit of the virtual gold is judged, the virtual gold is from which virtual prop, if most of the virtual props are from the same virtual prop or from the same virtual prop, the aggregation degree of the transaction amount is too high, the game account is a player account which is likely to reserve or store the virtual props, the system prompts, in one example, 100 virtual gold coins are available in the transaction account of the player, 80 virtual gold coins are obtained by transacting the first virtual prop, 20 virtual gold coins are rewarded by game tasks, the aggregation degree of the props is up to 80%, the preset threshold is 50%, and the transaction account of the player is judged to be an abnormal transaction account, and can be blocked or warned. In addition, when the price of a certain virtual prop is obviously higher than the average price or the reference price, the system judges and cuts off the transaction operation and sends the transaction operation to the personnel for checking, so that the money for the transaction can be directly deducted, and the user is prevented from selling the money.
By adopting the scheme of the embodiment, the reference price of the virtual prop for the balance transaction in the virtual game is controlled by adopting the target reference price, and the on-shelf consignment price of the player can only float based on the price, thereby realizing a dynamic adjustment process. When the volume of the delivery is low, the system considers that the prop is not exposed, and the reference price can drop. When the volume of the deal is full, the price is adjusted according to the latest average price of the deal. In this way, prices have long come close to the true awareness between players. The tradeable price of the prop in the game is adjusted through the reference price, so that benign circulation of the virtual prop in the game is realized, abnormal transaction behaviors are reduced, malicious resale and stocking of the virtual prop are prevented, and the utilization rate and circulation rate of the virtual prop in a game scene are improved.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
Example 2
The embodiment also provides a control device for a virtual prop, which is used for implementing the above embodiment and the preferred implementation, and is not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
Fig. 4 is a block diagram of a control device for a virtual prop according to an embodiment of the present invention, as shown in fig. 4, the device includes: a first acquisition module 40, a first calculation module 42, a control module 44, wherein,
A first obtaining module 40, configured to obtain transaction data of the first virtual prop in a first pricing cycle;
A first calculation module 42, configured to calculate a target reference price of the first virtual prop in a second pricing cycle according to the transaction data, where the first pricing cycle is a historical time period of the second pricing cycle;
Control module 44 is configured to control a consignment price of the first virtual prop during the second pricing period based on the target reference price.
Optionally, the first computing module includes: an acquisition unit, configured to acquire a plurality of transaction records in the transaction data; the extraction unit is used for extracting the trading prices of the trading records aiming at each trading record in the plurality of trading records to obtain a plurality of trading prices corresponding to the plurality of trading records; and the calculating unit is used for calculating the average price of the plurality of price exchanges and determining the average price as the target reference price of the first virtual prop in the second pricing period.
Optionally, the acquiring unit includes: an extracting subunit, configured to extract transaction parameters of all transaction records in the transaction data, where the transaction parameters include at least one of the following: the account attribute of the transaction party, the consignment duration, the accumulated transaction times of the first virtual prop in the first pricing cycle, and the acquisition path of the first virtual prop; and the screening subunit is used for screening a plurality of valid transaction records in all the transaction records based on the transaction parameters.
Optionally, the transaction parameter is an account attribute of a transaction party, and the screening subunit is further configured to: determining a seller account and a buyer account in a target transaction record; calculating the association degree between the seller account and the buyer account; and if the association degree between the seller account and the buyer account is greater than a preset association degree, determining the target transaction record as an invalid transaction record, and deleting the target transaction record from all the transaction records.
Optionally, the control module includes: the acquisition unit is used for acquiring the price floating coefficient of the first virtual prop in the second pricing period; the calculating unit is used for calculating a pricing interval of the first virtual prop in the second pricing period according to the target reference price and the price floating coefficient; and the configuration unit is used for configuring the pricing interval into a selection interval of the first virtual prop for posting the selling price in the second pricing period.
Optionally, the apparatus further includes: the second obtaining module is used for obtaining the historical reference price of the first virtual prop in the first pricing cycle after the first calculating module calculates the target reference price of the first virtual prop in the second pricing cycle according to the transaction data; a second calculation module for calculating a float between the target reference price and the historical reference price; and the updating module is used for smoothly transiting the target reference price into an intermediate reference price if the floating quantity is larger than a preset value, and updating the target reference price by adopting the intermediate reference price, wherein the intermediate reference price is smaller than the target reference price.
Optionally, the apparatus further includes: the third acquisition module is used for acquiring the consumption and/or the holding quantity of the first virtual prop in the virtual scene in the first pricing cycle before the first acquisition module acquires the transaction data of the first virtual prop in the first pricing cycle; the first judging module is used for judging whether the consumption is larger than a first threshold value and/or judging whether the holding quantity is larger than a second threshold value; and the determining module is used for determining to acquire the transaction data of the first virtual prop in the first pricing cycle if the consumption is greater than a first threshold value and/or the holding quantity is greater than a second threshold value.
Optionally, the apparatus further includes: the first reading module is used for reading the number of online people of the game server at the current time before the first calculating module calculates the target reference price of the first virtual prop in the second pricing period according to the transaction data; the second judging module is used for judging whether the number of the online people is larger than a preset number of people; the configuration module is used for configuring the period duration of the second pricing period by adopting a first period duration if the number of online people is larger than a preset number of people; and if the number of online people is smaller than or equal to the preset number of people, configuring the period duration of the second pricing period by adopting a second duration, wherein the second duration is longer than the first duration.
Optionally, the apparatus further includes: the counting module is used for counting the transaction quantity of the first virtual prop in real time in the first pricing period before the first calculating module calculates the target reference price of the first virtual prop in the second pricing period according to the transaction data; the third judging module is used for judging whether the transaction quantity reaches a preset quantity or not; and the switching module is used for terminating the first pricing cycle of the first virtual prop and starting the second pricing cycle of the first virtual prop if the transaction quantity reaches the preset quantity.
Optionally, the apparatus further includes: the first determining module is used for determining a second virtual prop related to the first virtual prop after the switching module starts a second pricing period of the first virtual prop; and the synchronization module is used for synchronizing the second pricing cycle of the second virtual prop by adopting the second pricing cycle of the first virtual prop.
Optionally, the apparatus further includes: the second reading module is used for reading a plurality of reference prices of the first virtual prop in a plurality of pricing periods respectively after the first calculating module calculates the target reference price of the first virtual prop in a second pricing period according to the transaction data; a third reading module for calculating a floating coefficient of the first virtual prop within the plurality of pricing periods based on the plurality of reference prices; a fourth reading module, configured to determine whether the floating coefficient is greater than a coefficient threshold; the third determining module is used for continuously keeping the first virtual prop in a first prop library if the floating coefficient is larger than a coefficient threshold value; and if the floating coefficient is smaller than or equal to a coefficient threshold value, moving the first virtual prop from the first prop library to a second prop library, wherein a virtual game comprises the first prop library and the second prop library, the consignment price of each virtual prop in the first prop library is determined based on the reference price and the listing price of each pricing period, and the consignment price of each virtual prop in the second prop library is determined based on the listing price.
Optionally, the apparatus further includes: the extraction module is used for extracting transaction sub-data of each transaction account in the transaction data after the first acquisition module acquires the transaction data of the first virtual prop in the first pricing cycle; the analyzing module is used for analyzing the prop aggregation degree of the transaction amount in the transaction sub-data aiming at each transaction account, wherein the prop aggregation degree is used for representing the association degree of the target virtual prop and the transaction amount; and the second determining module is used for determining the corresponding transaction account number as an abnormal transaction account number if the prop aggregation degree is larger than a preset threshold value.
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; or the above modules may be located in different processors in any combination.
Example 3
The embodiment of the application also provides an electronic device, and fig. 5 is a structural diagram of the electronic device according to the embodiment of the application, as shown in fig. 5, including a processor 51, a communication interface 52, a memory 53 and a communication bus 54, where the processor 51, the communication interface 52 and the memory 53 complete communication with each other through the communication bus 54, and the memory 53 is used for storing a computer program;
The processor 51 is configured to execute a program stored in the memory 53, and implement the following steps: receiving a use request of the virtual character for a first virtual prop in a game scene; acquiring transaction data of a first virtual prop in a first pricing cycle; calculating a target reference price of the first virtual prop in a second pricing period according to the transaction data, wherein the first pricing period is a historical time period of the second pricing period; controlling a consignment price of the first virtual prop during the second pricing period based on the target reference price.
Optionally, calculating the target reference price of the first virtual prop in the second pricing cycle according to the transaction data includes: acquiring a plurality of transaction records in the transaction data; extracting the trading prices of the trading records aiming at each trading record in the plurality of trading records to obtain a plurality of trading prices corresponding to the plurality of trading records; an average price of the plurality of price interactions is calculated and the average price is determined as a target reference price for the first virtual prop during a second pricing cycle.
Optionally, acquiring the plurality of transaction records in the transaction data includes: extracting transaction parameters of all transaction records in the transaction data, wherein the transaction parameters comprise at least one of the following: the account attribute of the transaction party, the consignment duration, the accumulated transaction times of the first virtual prop in the first pricing cycle, and the acquisition path of the first virtual prop; and screening a plurality of valid transaction records from all the transaction records based on the transaction parameters.
Optionally, the transaction parameter is an account attribute of a transaction party, and screening a plurality of valid transaction records in the all transaction records based on the transaction parameter includes: determining a seller account and a buyer account in a target transaction record; calculating the association degree between the seller account and the buyer account; and if the association degree between the seller account and the buyer account is greater than a preset association degree, determining the target transaction record as an invalid transaction record, and deleting the target transaction record from all the transaction records.
Optionally, controlling the consignment price of the first virtual prop during the second pricing period based on the target reference price includes: acquiring a price floating coefficient of the first virtual prop in the second pricing period; calculating a pricing interval of the first virtual prop in the second pricing period according to the target reference price and the price floating coefficient; and configuring the pricing interval as a selection interval of the price of the first virtual prop in the second pricing period.
Optionally, after calculating the target reference price for the first virtual prop for the second pricing period based on the transaction data, the method further comprises: acquiring a historical reference price of the first virtual prop in the first pricing cycle; calculating a float between the target reference price and the historical reference price; and if the floating quantity is larger than a preset value, smoothly transiting the target reference price into an intermediate reference price, and updating the target reference price by adopting the intermediate reference price, wherein the intermediate reference price is smaller than the target reference price.
Optionally, before acquiring the transaction data of the first virtual prop in the first pricing cycle, the method further includes: acquiring consumption and/or holding quantity of the first virtual prop in the virtual scene in the first pricing cycle; judging whether the consumption is larger than a first threshold value and/or judging whether the holding quantity is larger than a second threshold value; and if the consumption is greater than a first threshold value and/or the holding quantity is greater than a second threshold value, determining to acquire transaction data of the first virtual prop in a first pricing cycle.
Optionally, before calculating the target reference price for the first virtual prop for the second pricing period based on the transaction data, the method further comprises: reading the number of online people of the game server at the current time; judging whether the number of online people is larger than a preset number; if the number of online people is larger than the preset number of people, configuring the period duration of the second pricing period by adopting a first period duration; and if the number of online people is smaller than or equal to the preset number of people, configuring the period duration of the second pricing period by adopting a second duration, wherein the second duration is longer than the first duration.
Optionally, before calculating the target reference price for the first virtual prop for the second pricing period based on the transaction data, the method further comprises: counting the transaction quantity of the first virtual prop in real time in the first pricing cycle; judging whether the transaction quantity reaches a preset quantity or not; and if the transaction quantity reaches the preset quantity, terminating the first pricing cycle of the first virtual prop, and starting a second pricing cycle of the first virtual prop.
Optionally, after opening the second pricing period of the first virtual prop, the method further comprises: determining a second virtual prop associated with the first virtual prop; and synchronizing the second pricing period of the second virtual prop by adopting the second pricing period of the first virtual prop.
Optionally, after calculating the target reference price for the first virtual prop for the second pricing period based on the transaction data, the method further comprises: reading a plurality of reference prices of the first virtual prop in a plurality of pricing periods respectively; calculating a floating coefficient of the first virtual prop over the plurality of pricing periods based on the plurality of reference prices; judging whether the floating coefficient is larger than a coefficient threshold value or not; if the floating coefficient is greater than a coefficient threshold value, continuously retaining the first virtual prop in a first prop library; and if the floating coefficient is smaller than or equal to a coefficient threshold value, moving the first virtual prop from the first prop library to a second prop library, wherein a virtual game comprises the first prop library and the second prop library, the consignment price of each virtual prop in the first prop library is determined based on the reference price and the listing price of each pricing period, and the consignment price of each virtual prop in the second prop library is determined based on the listing price.
Optionally, after acquiring the transaction data of the first virtual prop in the first pricing cycle, the method further includes: extracting transaction sub-data of each transaction account in the transaction data; analyzing prop aggregation degree of transaction amount in the transaction sub-data aiming at each transaction account, wherein the prop aggregation degree is used for representing association degree of a target virtual prop and the transaction amount; and if the prop aggregation degree is larger than a preset threshold value, determining the corresponding transaction account as an abnormal transaction account.
The communication bus mentioned by the above terminal may be a peripheral component interconnect standard (PERIPHERAL COMPONENT INTERCONNECT, abbreviated as PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, abbreviated as EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the terminal and other devices.
The memory may include random access memory (Random Access Memory, RAM) or may include non-volatile memory (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 aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, abbreviated as CPU), a network processor (Network Processor, abbreviated as NP), etc.; but may also be a digital signal processor (DIGITAL SIGNAL Processing, DSP), application Specific Integrated Circuit (ASIC), field-Programmable gate array (FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware components.
In yet another embodiment of the present application, a computer readable storage medium is provided, in which instructions are stored, which when run on a computer, cause the computer to perform the method for controlling a virtual prop according to any of the above embodiments.
In yet another embodiment of the present application, a computer program product containing instructions that, when run on a computer, cause the computer to perform the method of controlling a virtual prop of any of the above embodiments is also provided.
In the above embodiments, it may be implemented in whole or in part 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, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk Solid STATE DISK (SSD)), etc.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
In the foregoing embodiments of the present application, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed technology may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a usb disk, a read-only memory (ROM), a random access memory (RAM, random Access Memory), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The foregoing is merely a preferred embodiment of the present application and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present application, which are intended to be comprehended within the scope of the present application.

Claims (14)

1. The control method of the virtual prop is characterized by comprising the following steps:
acquiring transaction data of a first virtual prop in a first pricing cycle;
Calculating a target reference price of the first virtual prop in a second pricing period according to the transaction data, wherein the first pricing period is a historical time period of the second pricing period;
controlling a consignment price of the first virtual prop during the second pricing period based on the target reference price;
Wherein, before obtaining the transaction data of the first virtual prop in the first pricing cycle, the method further comprises: acquiring consumption and/or holding quantity of the first virtual prop in the virtual scene in the first pricing cycle; judging whether the consumption is larger than a first threshold value and/or judging whether the holding quantity is larger than a second threshold value; and if the consumption is greater than a first threshold value and/or the holding quantity is greater than a second threshold value, determining to acquire transaction data of the first virtual prop in a first pricing cycle.
2. The method of claim 1, wherein calculating a target reference price for the first virtual prop for a second pricing period based on the transaction data comprises:
acquiring a plurality of transaction records in the transaction data;
Extracting the trading prices of the trading records aiming at each trading record in the plurality of trading records to obtain a plurality of trading prices corresponding to the plurality of trading records;
an average price of the plurality of price interactions is calculated and the average price is determined as a target reference price for the first virtual prop during a second pricing cycle.
3. The method of claim 2, wherein obtaining a plurality of transaction records in the transaction data comprises:
Extracting transaction parameters of all transaction records in the transaction data, wherein the transaction parameters comprise at least one of the following: account attributes of transaction parties, sale time, transaction comments, accumulated transaction times of the first virtual prop in the first pricing cycle, and an acquisition path of the first virtual prop;
And screening a plurality of valid transaction records from all the transaction records based on the transaction parameters.
4. The method of claim 3, wherein the transaction parameter is an account attribute of a transaction party, and wherein screening the plurality of valid transaction records among the all transaction records based on the transaction parameter comprises:
determining a seller account and a buyer account in a target transaction record;
calculating the association degree between the seller account and the buyer account;
and if the association degree between the seller account and the buyer account is greater than a preset association degree, determining the target transaction record as an invalid transaction record, and deleting the target transaction record from all the transaction records.
5. The method of claim 1, wherein controlling the consignment price of the first virtual prop during the second pricing period based on the target reference price comprises:
Acquiring a price floating coefficient of the first virtual prop in the second pricing period;
Calculating a pricing interval of the first virtual prop in the second pricing period according to the target reference price and the price floating coefficient;
And configuring the pricing interval as a selection interval of the price of the first virtual prop in the second pricing period.
6. The method of claim 1, wherein after calculating the target reference price for the first virtual prop for a second pricing period based on the transaction data, the method further comprises:
acquiring a historical reference price of the first virtual prop in the first pricing cycle;
Calculating a float between the target reference price and the historical reference price;
And if the floating quantity is larger than a preset value, smoothly transiting the target reference price into an intermediate reference price, and updating the target reference price by adopting the intermediate reference price, wherein the intermediate reference price is smaller than the target reference price.
7. The method of claim 1, wherein prior to calculating the target reference price for the first virtual prop for a second pricing period based on the transaction data, the method further comprises:
reading the number of online people of the game server at the current time;
judging whether the number of online people is larger than a preset number;
If the number of online people is larger than the preset number of people, configuring the period duration of the second pricing period by adopting a first period duration; and if the number of online people is smaller than or equal to the preset number of people, configuring the period duration of the second pricing period by adopting a second duration, wherein the second duration is longer than the first duration.
8. The method of claim 1, wherein prior to calculating the target reference price for the first virtual prop for a second pricing period based on the transaction data, the method further comprises:
counting the transaction quantity of the first virtual prop in real time in the first pricing cycle;
judging whether the transaction quantity reaches a preset quantity or not;
And if the transaction quantity reaches the preset quantity, terminating the first pricing cycle of the first virtual prop, and starting a second pricing cycle of the first virtual prop.
9. The method of claim 8, wherein after opening the second pricing period for the first virtual prop, the method further comprises:
determining a second virtual prop associated with the first virtual prop;
And synchronizing the second pricing period of the second virtual prop by adopting the second pricing period of the first virtual prop.
10. The method of claim 1, wherein after calculating the target reference price for the first virtual prop for a second pricing period based on the transaction data, the method further comprises:
reading a plurality of reference prices of the first virtual prop in a plurality of pricing periods respectively;
calculating a floating coefficient of the first virtual prop over the plurality of pricing periods based on the plurality of reference prices;
judging whether the floating coefficient is larger than a coefficient threshold value or not;
If the floating coefficient is greater than a coefficient threshold value, continuously retaining the first virtual prop in a first prop library; and if the floating coefficient is smaller than or equal to a coefficient threshold value, moving the first virtual prop from the first prop library to a second prop library, wherein a virtual game comprises the first prop library and the second prop library, the consignment price of each virtual prop in the first prop library is determined based on the reference price and the listing price of each pricing period, and the consignment price of each virtual prop in the second prop library is determined based on the listing price.
11. The method of claim 1, wherein after acquiring the transaction data for the first virtual prop at the first pricing cycle, the method further comprises:
extracting transaction sub-data of each transaction account in the transaction data;
Analyzing prop aggregation degree of transaction amount in the transaction sub-data aiming at each transaction account, wherein the prop aggregation degree is used for representing association degree of a target virtual prop and the transaction amount;
and if the prop aggregation degree is larger than a preset threshold value, determining the corresponding transaction account as an abnormal transaction account.
12. A control device for a virtual prop, comprising:
The first acquisition module is used for acquiring transaction data of the first virtual prop in a first pricing cycle;
the first calculation module is used for calculating a target reference price of the first virtual prop in a second pricing period according to the transaction data, wherein the first pricing period is a historical time period of the second pricing period;
the control module is used for controlling the consignment price of the first virtual prop in the second pricing period based on the target reference price;
Wherein the apparatus further comprises: the third acquisition module is used for acquiring the consumption and/or the holding quantity of the first virtual prop in the virtual scene in the first pricing cycle before the first acquisition module acquires the transaction data of the first virtual prop in the first pricing cycle; the first judging module is used for judging whether the consumption is larger than a first threshold value and/or judging whether the holding quantity is larger than a second threshold value; and the determining module is used for determining to acquire the transaction data of the first virtual prop in the first pricing cycle if the consumption is greater than a first threshold value and/or the holding quantity is greater than a second threshold value.
13. A storage medium having a computer program stored therein, wherein the computer program is arranged to perform the method of any of claims 1 to 11 when run.
14. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to run the computer program to perform the method of any of claims 1 to 11.
CN202111101625.3A 2021-09-18 2021-09-18 Virtual prop control method and device, storage medium and electronic device Active CN113769412B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111101625.3A CN113769412B (en) 2021-09-18 2021-09-18 Virtual prop control method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111101625.3A CN113769412B (en) 2021-09-18 2021-09-18 Virtual prop control method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN113769412A CN113769412A (en) 2021-12-10
CN113769412B true CN113769412B (en) 2024-04-19

Family

ID=78852327

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111101625.3A Active CN113769412B (en) 2021-09-18 2021-09-18 Virtual prop control method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN113769412B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108345941A (en) * 2017-01-23 2018-07-31 阿里巴巴集团控股有限公司 A kind of parameter regulation means and device
CN109364492A (en) * 2018-09-27 2019-02-22 腾讯科技(深圳)有限公司 Realize the method and device of game item transfer
CN109432786A (en) * 2018-10-08 2019-03-08 腾讯科技(深圳)有限公司 The price control method and device of game item, electronic equipment, storage medium
CN111967995A (en) * 2020-10-20 2020-11-20 支付宝(杭州)信息技术有限公司 Intelligent contract creating method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8271310B2 (en) * 2006-12-20 2012-09-18 Microsoft Corporation Virtualizing consumer behavior as a financial instrument

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108345941A (en) * 2017-01-23 2018-07-31 阿里巴巴集团控股有限公司 A kind of parameter regulation means and device
CN109364492A (en) * 2018-09-27 2019-02-22 腾讯科技(深圳)有限公司 Realize the method and device of game item transfer
CN109432786A (en) * 2018-10-08 2019-03-08 腾讯科技(深圳)有限公司 The price control method and device of game item, electronic equipment, storage medium
CN111967995A (en) * 2020-10-20 2020-11-20 支付宝(杭州)信息技术有限公司 Intelligent contract creating method and device

Also Published As

Publication number Publication date
CN113769412A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
CN104967607B (en) A kind of information processing method, terminal and server
CN109905723B (en) Anchor recommendation method, server and readable storage medium
CN108686375B (en) Proxy agent interface for peer-to-peer transactions
US11276091B2 (en) Information processing method and device and storage medium
CN111182343B (en) Method and apparatus for playing animation material, storage medium, and electronic apparatus
CN109428910B (en) Data processing method, device and system
CN110841294A (en) Virtual item allocation method, device, equipment and storage medium
CN112915548A (en) Data processing method, device and equipment of multimedia playing platform and storage medium
CN108305414A (en) Dining room automatic settlement method and system, intelligent restaurant
CN114082196A (en) Game resource control method and device, storage medium and electronic device
CN106056409B (en) Method and device for delivering media files
CN113769412B (en) Virtual prop control method and device, storage medium and electronic device
CN111054078B (en) Object information acquisition method and device
CN116777518A (en) Transaction management method, device, storage medium and equipment
CN108280651A (en) A kind of merchandise items checking method, apparatus and system
CN112804552A (en) Plug-in configuration method and device and electronic equipment
CN111589160B (en) Auction method and device for game props and server
KR101658409B1 (en) Betting play method of online game and server providing thereof
CN108156206A (en) A kind of data transfering method, server, client and system
JP5950954B2 (en) Point management system, point management method, and computer program
CN110956494A (en) Virtual article putting method and device, storage medium and electronic device
CN106570734B (en) Game transaction request processing method and device
CN113961798B (en) Cloud platform data management method and system
CN117787961B (en) Payment ticket business integrated management method and system
JP6583466B1 (en) Server and game system

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