CN113769412A - Control method and device of virtual prop, storage medium and electronic device - Google Patents

Control method and device of virtual prop, storage medium and electronic device Download PDF

Info

Publication number
CN113769412A
CN113769412A CN202111101625.3A CN202111101625A CN113769412A CN 113769412 A CN113769412 A CN 113769412A CN 202111101625 A CN202111101625 A CN 202111101625A CN 113769412 A CN113769412 A CN 113769412A
Authority
CN
China
Prior art keywords
transaction
virtual
pricing
price
prop
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202111101625.3A
Other languages
Chinese (zh)
Other versions
CN113769412B (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

Images

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 method and a device for controlling a virtual prop, a storage medium and an electronic device, wherein the method comprises the following steps: acquiring transaction data of the first virtual prop in a first pricing cycle; calculating a target reference price of the first virtual item 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 controlling the consignment price of the first virtual item in the second pricing period based on the target reference price. The invention solves the technical problem of malicious backselling and stockpiling of game resources in the related technology, can reduce and stop behaviors of backselling and stockpiling the virtual props, and improves the circulation rate and the utilization rate of the virtual props.

Description

Control method and device of virtual prop, storage medium and electronic device
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for controlling a virtual prop, a storage medium and an electronic device.
Background
In the related technology, the network game industry is developed vigorously, the game is a good recreation and entertainment mode after work and life, the scale of the game market keeps increasing continuously, the income of the game market is increased year by year, but the industry still has a plurality of problems behind the development of the game, the game experience payment threshold is too high, the loss of users is caused, the stickiness of the users is insufficient, and a lot of games cannot survive for a long time.
In the related technology, two prices are set for the tradable prop in the game, namely a fixed price and a listing price of a seller, and are influenced by inventory and subjective factors of the seller, so that the price is easy to fluctuate greatly, the price is controlled by a studio, the market price is uncontrollable, behaviors of resale and stockpiling of the virtual prop cannot be found and stopped in time, and the circulation rate and the utilization rate of the virtual prop are influenced.
In view of the above problems in the related art, no effective solution has been found at present.
Disclosure of Invention
The embodiment of the invention provides a control method and device of a virtual prop, a storage medium and an electronic device.
According to an embodiment of the present invention, a method for controlling a virtual item is provided, including: acquiring transaction data of the first virtual prop in a first pricing cycle; calculating a target reference price of the first virtual item 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 controlling the consignment price of the first virtual item in the second pricing period based on the target reference price.
Optionally, calculating a target reference price of the first virtual item in a second pricing period according to the transaction data includes: acquiring a plurality of transaction records in the transaction data; aiming at each transaction record in the transaction records, extracting the bargaining price of the transaction record to obtain a plurality of bargaining prices corresponding to the transaction records; calculating an average price of the plurality of bargaining prices, and determining the average price as a target reference price of the first virtual prop in a second pricing period.
Optionally, the obtaining of 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: account number attribute of a transaction party, consignment sale duration, accumulated transaction times of the first virtual prop in the first pricing period, and an acquisition path of the first virtual prop; and screening a plurality of effective transaction records in all transaction records based on the transaction parameters.
Optionally, the transaction parameter is an account attribute of a transaction party, and the screening of multiple valid transaction records from all transaction records based on the transaction parameter includes: determining a seller account and a buyer account in the 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 the preset association degree, determining that the target transaction record is an invalid transaction record, and deleting the target transaction record from all transaction records.
Optionally, controlling the consignment price of the first virtual item in the second pricing period based on the target reference price comprises: obtaining 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 consignment price of the first virtual item in the second pricing period.
Optionally, after calculating the target reference price of the first virtual item at the second pricing period according to 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 amount between the target reference price and the historical reference price; and if the floating amount is larger than a preset value, smoothly transitioning the target reference price into a middle reference price, and updating the target reference price by adopting the middle reference price, wherein the middle reference price is smaller than the target reference price.
Optionally, before obtaining the transaction data of the first virtual item in the first pricing period, the method further includes: acquiring the consumption and/or the reserve of the first virtual prop in a virtual scene in the first pricing period; judging whether the consumption is greater than a first threshold value and/or judging whether the holding amount is greater than a second threshold value; and if the consumption is larger than a first threshold value and/or the holding amount is larger than a second threshold value, determining to acquire the transaction data of the first virtual prop in a first pricing period.
Optionally, before calculating the target reference price of the first virtual item at the second pricing period according to the transaction data, the method further comprises: reading the online number of people of the game server at the current time; judging whether the number of the online people is larger than a preset number of people or not; if the number of the online people is larger than the preset number of people, configuring the cycle duration of the second pricing cycle by adopting a first duration; and if the number of the online people is less than or equal to the preset number of people, configuring the cycle time of the second pricing cycle by adopting a second time length, wherein the second time length is greater than the first time length.
Optionally, before calculating the target reference price of the first virtual item at the second pricing period according to the transaction data, the method further comprises: counting the transaction quantity of the first virtual prop in real time in the first pricing period; judging whether the transaction quantity reaches a preset quantity or not; if the transaction quantity reaches a preset quantity, the first pricing cycle of the first virtual prop is terminated, and a second pricing cycle of the first virtual prop is started.
Optionally, after opening the second pricing period for the first virtual item, the method further comprises: determining a second virtual item associated with the first virtual item; and synchronizing a second pricing cycle of the second virtual item by using the second pricing cycle of the first virtual item.
Optionally, after calculating the target reference price of the first virtual item at the second pricing period according to 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 for the first virtual item 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; if the floating coefficient is larger than the coefficient threshold value, continuously keeping 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 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.
Optionally, after obtaining the transaction data of the first virtual item in the first pricing period, the method further includes: extracting the transaction subdata 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; and if the prop aggregation degree is greater than a preset threshold value, determining the corresponding transaction account number as an abnormal transaction account number.
According to another embodiment of the present invention, there is provided a control device of a virtual item, including: the first obtaining module is used for obtaining transaction data of the first virtual prop in a first pricing period; a first calculating module, configured to calculate, according to the transaction data, a target reference price of the first virtual item in a second pricing cycle, where the first pricing cycle is a historical time cycle of the second pricing cycle; 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: the acquisition unit is used for acquiring a plurality of transaction records in the transaction data; the extracting unit is used for extracting the bargaining price of the transaction records aiming at each transaction record in the transaction records to obtain a plurality of bargaining prices corresponding to the transaction records; and the calculating unit is used for calculating the average price of the multiple deal prices and determining the average price as the target reference price of the first virtual prop in a second pricing period.
Optionally, the obtaining unit includes: the extracting subunit is configured to extract transaction parameters of all transaction records in the transaction data, where the transaction parameters include at least one of: account number attribute of a transaction party, consignment sale duration, accumulated transaction times of the first virtual prop in the first pricing period, and an acquisition path of the first virtual prop; and the screening subunit is used for screening a plurality of effective transaction records from all the transaction records based on the transaction parameters.
Optionally, the transaction parameter is an account attribute of the transaction party, and the screening subunit is further configured to: determining a seller account and a buyer account in the 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 the preset association degree, determining that the target transaction record is an invalid transaction record, and deleting the target transaction record from all transaction records.
Optionally, the control module includes: the obtaining unit is used for obtaining a price floating coefficient of the first virtual item 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 consignment price of the first virtual item in the second pricing period.
Optionally, the apparatus further comprises: the second obtaining module is used for obtaining a historical reference price of the first virtual item in a first pricing period after the first calculating module calculates the target reference price of the first virtual item in the second pricing period 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 transitioning the target reference price into a middle reference price if the floating amount is larger than a preset value, and updating the target reference price by adopting the middle reference price, wherein the middle reference price is smaller than the target reference price.
Optionally, the apparatus further comprises: the third obtaining module is used for obtaining the consumption and/or the holding capacity of the first virtual item in the virtual scene in a first pricing period before the first obtaining module obtains the transaction data of the first virtual item in the first pricing period; the first judgment module is used for judging whether the consumption is greater than a first threshold value and/or judging whether the retention is greater 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 period if the consumption is larger than a first threshold and/or the holding amount is larger than a second threshold.
Optionally, the apparatus further comprises: 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 judgment module is used for judging whether the number of the online people is more than the preset number of people; the configuration module is used for configuring the cycle duration of the second pricing cycle by adopting a first duration if the number of the online people is larger than the preset number of people; and if the number of the online people is less than or equal to the preset number of people, configuring the cycle time of the second pricing cycle by adopting a second time length, wherein the second time length is greater than the first time length.
Optionally, the apparatus further comprises: the counting module is used for counting the transaction quantity of the first virtual prop in real time in a first pricing period before the first calculating module calculates the target reference price of the first virtual prop in a second pricing period according to the transaction data; the third judging module is used for judging whether the transaction quantity reaches a preset quantity; and the switching module is used for terminating the first pricing cycle of the first virtual prop and starting a second pricing cycle of the first virtual prop if the transaction quantity reaches a preset quantity.
Optionally, the apparatus further comprises: a first determining module, configured to determine a second virtual item related to the first virtual item after the switching module starts a second pricing period of the first virtual item; and the synchronization module is used for synchronizing the second pricing cycle of the second virtual item by adopting the second pricing cycle of the first virtual item.
Optionally, the apparatus further comprises: the second reading module is used for reading a plurality of reference prices of the first virtual item in a plurality of pricing periods respectively after the first calculating module calculates the target reference price of the first virtual item in a second pricing period according to the transaction data; a third reading module, configured to calculate a floating coefficient of the first virtual item over the plurality of pricing periods based on the plurality of reference prices; the fourth reading module is used for judging whether the floating coefficient is larger than a coefficient threshold value or not; a third determining module, configured to continuously reserve the first virtual item in the first item library if the floating coefficient is greater than a coefficient threshold; 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 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.
Optionally, the apparatus further comprises: the extracting module is used for extracting the transaction subdata of each transaction account in the transaction data after the first obtaining module obtains the transaction data of the first virtual prop in a first pricing period; the analysis 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 greater than a preset threshold value.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
By the method, the transaction data of the first virtual prop in the first pricing period are obtained; the target reference price of the first virtual item in the second pricing period is calculated according to the transaction data, the first pricing period is a historical time period of the second pricing period, the consignment price of the first virtual item in the second pricing period is controlled based on the target reference price, the pricing of the current time is controlled by the transaction data of the first virtual item in the historical time, the transaction behaviors of all players are effectively fed back to the transaction pricing of the virtual item, malicious reselling and frying of the virtual item are prevented, abnormal transaction behaviors of over-high or over-low are avoided, the technical problem that game resources are praised to resell and stockpile in related technologies is solved, the behaviors of reselling and stockpiling of the virtual item can be reduced and stopped, and the circulation rate and the utilization rate of the virtual item are improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a hardware structure of a control server of a virtual item according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a method for controlling a virtual item according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of synchronously adjusting pricing periods of a plurality of virtual items according to an embodiment of the present invention;
fig. 4 is a block diagram of a control device of a virtual item according to an embodiment of the present invention;
fig. 5 is a block diagram of an electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or 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 provided by the first embodiment of the present application may be executed in a mobile phone, a tablet, a server, a computer, or a similar electronic terminal. Taking an operation on a server as an example, fig. 1 is a hardware structure block diagram of a control server of a virtual item according to an embodiment of the present invention. As shown in fig. 1, the server may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and is not intended to limit the structure of the server. 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 configured to store a server program, for example, a software program and a module of an application software, such as a server program corresponding to a method for controlling a virtual item in an embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the server program stored in the memory 104, so as to implement the method. The 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 located remotely from the processor 102, which may be connected to a server over 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 the present 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 human-machine interaction instruction and the game policy. The memory 104 is used for storing program scripts of the electronic game, configuration information, attribute information of 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 the server. In one example, the transmission device 106 includes a Network adapter (NIC) that can be connected 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 used to communicate with the internet in a wireless manner.
Optionally, the input/output device 108 further includes a human-computer interaction screen for acquiring a human-computer interaction instruction through a human-computer interaction interface and for presenting a picture in a virtual scene;
in this embodiment, a method for controlling a virtual item is provided, and fig. 2 is a schematic flow chart of a method for controlling a virtual item according to an embodiment of the present invention, as shown in fig. 2, the flow chart includes the following steps:
step S202, acquiring transaction data of the first virtual prop in a first pricing cycle;
optionally, the virtual item of this embodiment is a scene element in an applied virtual scene, where the virtual scene may be a virtual game scene, a virtual teaching scene, a virtual demonstration scene, and the like, and the virtual scene may further include a virtual Character, and the virtual Character may be Controlled by a user operation or a system AI, and moves in the virtual scene such as a game scene, where the virtual Character may be Controlled by a user, for example, a PCC (Player-Controlled 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.
Optionally, the virtual item may be a game resource that can be used by a virtual character in a game scene, such as a weapon, a defense, a vehicle, an ornament, a blood bag, a synthetic material, and the like, and may be traded through a virtual gold coin in the virtual game.
Step S204, calculating a target reference price of the first virtual item 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 period is a period adjacent to the first pricing period, and the target reference price is a reference price when the first virtual item is traded in the second pricing period.
And step S206, controlling the consignment price of the first virtual item in the second pricing period based on the target reference price.
In this embodiment, when the first virtual item is transacted between the player and the player, the seller player wants to sell the first virtual item, and needs to hang the first virtual item on a virtual store or a platform, and set a consignment price, if the buyer player feels that the consignment price is reasonable, the consignment price is used to implement transaction and circulation, and after the transaction is completed, the first virtual item is transferred from the account of the seller player to the account of the buyer player.
Through the steps, the transaction data of the first virtual prop in the first pricing period are obtained; the target reference price of the first virtual item in the second pricing period is calculated according to the transaction data, the first pricing period is a historical time period of the second pricing period, the consignment price of the first virtual item in the second pricing period is controlled based on the target reference price, the pricing of the current time is controlled by the transaction data of the first virtual item in the historical time, the transaction behaviors of all players are effectively fed back to the transaction pricing of the virtual item, malicious reselling and frying of the virtual item are prevented, abnormal transaction behaviors of over-high or over-low are avoided, the technical problem that game resources are praised to resell and stockpile in related technologies is solved, the behaviors of reselling and stockpiling of the virtual item can be reduced and stopped, and the circulation rate and the utilization rate of the virtual item are improved.
In one embodiment of this embodiment, calculating the target reference price for the first virtual item at the second pricing period according to the transaction data includes:
s11, acquiring a plurality of transaction records in the 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: account number attribute of a trading party, consignment sale duration, accumulated trading times of the first virtual prop in a first pricing period, and an acquisition path of the first virtual prop; a plurality of valid transaction records are screened among all transaction records based on transaction parameters.
For example, the transaction parameters include an acquisition channel of the first virtual prop in the game, the number of times of being transacted, account attributes of a transaction seller and a transaction buyer (whether the transaction seller and the transaction buyer are associated accounts, whether the transaction buyer is a primary and secondary account, etc., to prevent malicious reselling or billing), role attributes of the transaction seller and the transaction buyer (whether the prop is applied to prevent malicious stockpiling), etc., and transaction comments (good or bad comments to prevent false transactions). Invalid transaction records are filtered through the transaction parameters, when the transaction amount is calculated, only the valid transaction amount is calculated, and when the invalid records exceed a certain number of times, an alarm can be triggered to suspend the transaction behavior of the first virtual prop.
In one embodiment, the transaction parameter is an account attribute of the transaction party, and the screening of the plurality of valid transaction records among all transaction records based on the transaction parameter comprises: determining a seller account and a buyer account in the 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 the preset association degree, determining that the target transaction record is an invalid transaction record, and deleting the target transaction record in all transaction records.
Optionally, the association degree between the account numbers is positively correlated with the prop transaction frequency between the account numbers, the association degree is higher as the transaction frequency is higher, in one example, the maximum value of the association degree is 1, when the two account numbers are primary and secondary account numbers and the primary and secondary account numbers of the same user, the association degree between the two account numbers is 1, and the transaction record between the account numbers is an invalid transaction record.
S12, aiming at each transaction record in the transaction records, extracting the bargaining price of the transaction records to obtain a plurality of bargaining prices corresponding to the transaction records;
and S13, calculating the average price of the multiple deal prices, and determining the average price as the target reference price of the first virtual prop in the second pricing period.
In some other embodiments, a median price of the multiple deal prices is determined as the target reference price, and at the multiple deal prices, a gaussian distribution curve may be generated from the multiple deal prices according to the corresponding deal time, if an average curvature of the gaussian distribution curve is greater than a first threshold, the average price is selected as the target reference price of the first virtual item in the second pricing period, and if the average curvature of the gaussian distribution curve is less than a second threshold, the median price is selected as the target reference price of the first virtual item in the second pricing period.
In one embodiment of this embodiment, controlling the consignment price of the first virtual item for the second pricing period based on the target reference price comprises: obtaining a price floating coefficient of the first virtual prop in a second pricing period; calculating a pricing interval of the first virtual prop in a 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 consignment price of the first virtual item in the second pricing period.
In one example, the target reference price of the virtual item a is 100, the price floating coefficient is 10%, the maximum floating price and the minimum price are calculated by using the price floating coefficient, respectively 100 × (1+ 10%) -110, 100 × (1-10%) -90, the pricing interval is 90-110, a selection interval of the first virtual item for posting the selling price in the second pricing period is configured by using 90-110, the seller player can only select or fill 90-110 as the posting price when posting the first virtual item, or the first virtual item can be normally brought to the virtual store only when selecting or filling 90-110 as the posting price.
In this embodiment, in addition to controlling the consignment price of the first virtual item in the second pricing period by using the price floating coefficient, the target reference price can be directly used as the fixed consignment price of the first virtual item in the second pricing period.
In one embodiment of this embodiment, after calculating the target reference price of the first virtual item in the second pricing period according to the transaction data, the method further includes: acquiring a historical reference price of the first virtual prop in a first pricing cycle; calculating the floating amount between the target reference price and the historical reference price; and if the floating amount is larger than the preset value, smoothly transitioning the target reference price into a middle reference price, and updating the target reference price by adopting the middle reference price, wherein the middle reference price is smaller than the target reference price.
In some examples, the reference price of the next cycle is calculated according to the average price of the deals of the previous cycle to adjust the price of the next cycle, but when the rising amplitude is large, a smoothly transiting intermediate price can be selected, for example, if the historical reference price is 100, the target reference price is 130, and the preset value is 25, 120 can be selected as the intermediate reference price, and the target reference price is updated, so that the fluctuation of the price of the prop is controlled, and the rising amplitude is prevented from being too large.
When the target reference price is smoothly transited to the intermediate reference price, smoothing may be performed by using an interpolation method and an averaging method, for example, the historical reference price is 100, the target reference price is 130, if the floating amount is greater than the preset value, the averaging method is to calculate an average value of the target reference price and the historical reference price, the obtained intermediate price is (100+130)/2 ═ 115, the averaging method is to insert the historical reference price of a previous certain price period of the first certain price period into the target reference price and the historical reference price, or to insert an official proposal price of the first virtual item (i.e., the most initial reference price is configured by a game plan in advance), and then an average value of the target reference price, the historical reference price, and the inserted value is calculated.
In an embodiment of this embodiment, before acquiring the transaction data of the first virtual item in the first pricing cycle, the method further includes: acquiring consumption and/or reserve of the first virtual prop in a virtual scene in a first pricing period; judging whether the consumption is greater than a first threshold value and/or judging whether the retention is greater than a second threshold value; and if the consumption is larger than the first threshold value and/or the holding amount is larger than the second threshold value, determining to acquire the transaction data of the first virtual prop in the first pricing period.
In this embodiment, the first virtual item that needs the dynamic floating price is selected according to the actual consumption or the holding amount of the virtual item, and the item of a specific type is selected according to a specific rule, for example, the holding amount and the consumption of the full service are greater than a certain amount of item, and the volume of the deal is greater than a certain amount of item. Optionally, a prop with a difference between the consumption amount and the transaction amount smaller than a threshold value may be selected, and if the consumption amount of the virtual prop is equal to the transaction amount, it is indicated that the virtual prop is normally consumed after circulation, and the virtual prop belongs to normal transaction. In a game scene, corresponding reference price calculation modes can be adopted for different types of props, for example, a virtual prop with a small amount of reserve is controlled to trade by an uncontrolled consignment price, and a virtual prop with a small consumption is controlled to trade by a fixed consignment price.
In this embodiment, the time periods and the cycle durations of the first pricing cycle and the second pricing cycle may be fixed, for example, several fixed time point switching cycles are selected in one day, and one pricing cycle is switched every two hours, or random or semi-random times may be used to switch cycles, so as to prevent the time of the pricing cycle from being artificially predicted, and prevent cheating on the transaction.
In one embodiment, before calculating the target reference price for the first virtual item at the second pricing period according to the transaction data, further comprising: reading the online number of people of the game server at the current time; judging whether the number of the online people is larger than a preset number of people or not; if the number of the online people is larger than the preset number of people, configuring the cycle duration of a second pricing cycle by adopting the first duration; and if the number of the online people is less than or equal to the preset number of people, configuring the cycle duration of a second pricing cycle by adopting a second duration, wherein the second duration is greater than the first duration.
In setting the adjustment period of the target reference price, a shorter adjustment period may be set at a peak period of the game and a longer adjustment period may be set at a low peak period of the game (e.g., midnight and morning). The smaller the number of people who are online on the game server, the smaller the potential trading behavior, and the cycle duration of the pricing cycle can be properly prolonged to prevent the price from frequently changing.
In another embodiment, before calculating the target reference price for the first virtual item at the second pricing period based on the transaction data, further comprising: counting the transaction quantity of the first virtual prop in real time in a first pricing period; judging whether the transaction quantity reaches a preset quantity or not; if the transaction amount reaches the preset amount, the first pricing cycle of the first virtual prop is terminated, and the second pricing cycle of the first virtual prop is started.
In one example, the starting time of the first pricing period is 00:00, the transaction quantity is counted in real time, if the transaction of the 100 th first virtual item is counted at 00:21, the first pricing period is terminated, the second pricing period is started at 00:22, optionally, the transaction quantity can also be the transaction number, and the first virtual item in each transaction is greater than or equal to 0. By adopting the embodiment, 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 item, further comprising: determining a second virtual item associated with the first virtual item; and synchronizing a second pricing cycle of the second virtual item by adopting the second pricing cycle of the first virtual item.
Optionally, the second virtual item may be another virtual item (except the first virtual item) whose price needs to be dynamically adjusted in the game scene, or may be a virtual item or an associated item of the same type as the first virtual item, for example, the first virtual item and the second virtual item are both items for supplementing blood volume, and the first virtual item and the second virtual item are fragment resources for synthesizing a certain item, respectively. And then realize the relevance and synchronous adjustment of first virtual stage property and second virtual stage property, when adjusting the pricing cycle of a plurality of virtual stage properties, need not monitor and calculate the pricing cycle of first virtual stage property can, reduce the calculated amount and the task number of treater.
Setting an adjustment period through the deal amount, entering a next adjustment period if the deal amount reaches a preset fixed value, selecting one prop to adjust the prices of other props in a linkage manner when a game comprises a plurality of props, adjusting the reference prices of other props synchronously except for the current prop when the deal amount of the virtual prop with the maximum deal amount or the maximum use amount reaches an adjustment condition, adjusting the reference prices of the other props when the deal amount of the virtual prop with the maximum deal amount or the maximum use amount reaches the adjustment condition, for example, three virtual props with ABC are included in a game scene, adjusting the reference price once for every 500 deals, selecting A as the reference prop, counting the deal amount of A, adjusting the reference price of A after the deal amount is accumulated to 500 times in the current period, entering the next price period, adjusting the reference price of BC in the next pricing period based on the transaction data of BC in the current period, and no matter whether the deal amount of BC reaches 500, or over 500. Fig. 3 is a schematic diagram of synchronously adjusting pricing cycles of multiple virtual items according to the embodiment of the present invention, where virtual item a accumulates 500 deals at time t1 of the first pricing cycle, at this time, virtual items B and C deal 320 and 610 times, respectively, and the pricing cycle of virtual item ABC is adjusted at the same time with t1 as the adjustment time, and the second pricing cycle is entered.
In one embodiment of this embodiment, after calculating the target reference price of the first virtual item in the second pricing period according to the transaction data, the method further includes: 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 item over 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 larger than the coefficient threshold value, continuously keeping the first virtual prop in the first prop library; and if the floating coefficient is less than or equal to the coefficient threshold value, moving the first virtual prop from the first prop library to a 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 period, and the consignment price of each virtual prop in the second prop library is determined based on the listing price.
Optionally, the floating coefficient may be obtained by calculating a variance, a standard deviation, a covariance, a mean square error, and the like of the plurality of reference prices.
In an 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 of the first prop library is adjusted for multiple pricing periods, the transaction data is used to calculate the average transaction price of each virtual prop in the second prop library (the price calculation period of the virtual prop in the second prop library is equal to the price calculation periods of the virtual props in the first prop library), and the transaction prices are compared with the average transaction price in the last period to determine whether the price change reaches a preset condition, and the method of the embodiment is used to count whether the price data of the virtual prop in the first prop library/the virtual prop in the second prop library changes or not and whether the floating coefficient reaches a preset coefficient threshold value or not through multiple periods, so as to control a certain virtual prop to move between the first prop library and the second prop library, the system does not need to control the price of each virtual prop, saves the calculation example of the server, and simultaneously ensures the price controllability of the global virtual props.
In an embodiment of this embodiment, after obtaining the transaction data of the first virtual item in the first pricing cycle, the method further includes: extracting the transaction subdata 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; and if the prop aggregation degree is greater than a preset threshold value, determining the corresponding transaction account number as an abnormal transaction account number.
In this embodiment, the first virtual item is classified and identified, when the first virtual item is traded, the identification of the first virtual item is recorded in the trading amount of the trading data, the gold in the gold account of each game account is analyzed, the source of the virtual gold of each unit is judged, which virtual item comes from, if most of the virtual items come from the same virtual item or the same type of virtual item, the aggregation of the trading amount is too high, the game account is likely to be the player account for selling or stocking the virtual item, the system prompts, in one example, 100 virtual gold in the player's trading account are provided, 80 of the 100 virtual gold are obtained by trading the first virtual item by analyzing the source of each virtual gold, 20 are awards by the game task, the aggregation of the item is as high as 80%, the preset threshold value is 50% and is larger than the preset threshold value, so that the transaction account number of the player is judged to be an abnormal transaction account number, and the prohibition or warning can be carried out. In addition, when the bargaining price of a certain virtual prop is obviously higher than the average price or the reference price, the system judges and cuts off the trading operation and sends the trading operation to manual audit, so that the bargained gold coin can be directly deducted, and the gold coin is prevented from being sold by the user.
By adopting the scheme of the embodiment, the reference price of the virtual prop in the stall transaction in the virtual game is controlled by adopting the target reference price, and the consignment price of the player can only float based on the target reference price, so that the process of dynamic adjustment is realized. When the volume of the transaction is low, the system considers that the property does not ask for the body fluid and the reference price falls. When the volume of the transaction is abundant, the price is adjusted according to the latest average transaction price. Thus, for a long time, the price approaches the real recognition among the players. The tradable price of the prop in the game is adjusted by referring to the price, so that the virtuous circulation of the virtual prop in the game is realized, abnormal trading behaviors are reduced, the malicious resale and stockpiling of the virtual prop are prevented, and the utilization rate and circulation rate of the virtual prop in a game scene are improved.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
In this embodiment, a control device of a virtual item is further provided, which is used to implement the foregoing embodiments and preferred embodiments, and the description that has been already made is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of a structure of a control device for a virtual item according to an embodiment of the present invention, and as shown in fig. 4, the device includes: a first acquisition module 40, a first calculation module 42, a control module 44, wherein,
the first obtaining module 40 is configured to obtain transaction data of the first virtual item in a first pricing cycle;
a first calculating module 42, configured to calculate a target reference price of the first virtual item in a second pricing period according to the transaction data, where the first pricing period is a historical time period of the second pricing period;
a control module 44, configured to control the consignment price of the first virtual item in the second pricing period based on the target reference price.
Optionally, the first computing module includes: the acquisition unit is used for acquiring a plurality of transaction records in the transaction data; the extracting unit is used for extracting the bargaining price of the transaction records aiming at each transaction record in the transaction records to obtain a plurality of bargaining prices corresponding to the transaction records; and the calculating unit is used for calculating the average price of the multiple deal prices and determining the average price as the target reference price of the first virtual prop in a second pricing period.
Optionally, the obtaining unit includes: the extracting subunit is configured to extract transaction parameters of all transaction records in the transaction data, where the transaction parameters include at least one of: account number attribute of a transaction party, consignment sale duration, accumulated transaction times of the first virtual prop in the first pricing period, and an acquisition path of the first virtual prop; and the screening subunit is used for screening a plurality of effective transaction records from all the transaction records based on the transaction parameters.
Optionally, the transaction parameter is an account attribute of the transaction party, and the screening subunit is further configured to: determining a seller account and a buyer account in the 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 the preset association degree, determining that the target transaction record is an invalid transaction record, and deleting the target transaction record from all transaction records.
Optionally, the control module includes: the obtaining unit is used for obtaining a price floating coefficient of the first virtual item 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 consignment price of the first virtual item in the second pricing period.
Optionally, the apparatus further comprises: the second obtaining module is used for obtaining a historical reference price of the first virtual item in a first pricing period after the first calculating module calculates the target reference price of the first virtual item in the second pricing period 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 transitioning the target reference price into a middle reference price if the floating amount is larger than a preset value, and updating the target reference price by adopting the middle reference price, wherein the middle reference price is smaller than the target reference price.
Optionally, the apparatus further comprises: the third obtaining module is used for obtaining the consumption and/or the holding capacity of the first virtual item in the virtual scene in a first pricing period before the first obtaining module obtains the transaction data of the first virtual item in the first pricing period; the first judgment module is used for judging whether the consumption is greater than a first threshold value and/or judging whether the retention is greater 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 period if the consumption is larger than a first threshold and/or the holding amount is larger than a second threshold.
Optionally, the apparatus further comprises: 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 judgment module is used for judging whether the number of the online people is more than the preset number of people; the configuration module is used for configuring the cycle duration of the second pricing cycle by adopting a first duration if the number of the online people is larger than the preset number of people; and if the number of the online people is less than or equal to the preset number of people, configuring the cycle time of the second pricing cycle by adopting a second time length, wherein the second time length is greater than the first time length.
Optionally, the apparatus further comprises: the counting module is used for counting the transaction quantity of the first virtual prop in real time in a first pricing period before the first calculating module calculates the target reference price of the first virtual prop in a second pricing period according to the transaction data; the third judging module is used for judging whether the transaction quantity reaches a preset quantity; and the switching module is used for terminating the first pricing cycle of the first virtual prop and starting a second pricing cycle of the first virtual prop if the transaction quantity reaches a preset quantity.
Optionally, the apparatus further comprises: a first determining module, configured to determine a second virtual item related to the first virtual item after the switching module starts a second pricing period of the first virtual item; and the synchronization module is used for synchronizing the second pricing cycle of the second virtual item by adopting the second pricing cycle of the first virtual item.
Optionally, the apparatus further comprises: the second reading module is used for reading a plurality of reference prices of the first virtual item in a plurality of pricing periods respectively after the first calculating module calculates the target reference price of the first virtual item in a second pricing period according to the transaction data; a third reading module, configured to calculate a floating coefficient of the first virtual item over the plurality of pricing periods based on the plurality of reference prices; the fourth reading module is used for judging whether the floating coefficient is larger than a coefficient threshold value or not; a third determining module, configured to continuously reserve the first virtual item in the first item library if the floating coefficient is greater than a coefficient threshold; 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 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.
Optionally, the apparatus further comprises: the extracting module is used for extracting the transaction subdata of each transaction account in the transaction data after the first obtaining module obtains the transaction data of the first virtual prop in a first pricing period; the analysis 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 greater than a preset threshold value.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
Fig. 5 is a structural diagram of an electronic device according to an embodiment of the present invention, and as shown in fig. 5, the electronic device includes 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 implement the following steps when executing the program stored in the memory 53: receiving a use request of a virtual character in a game scene aiming at a first virtual item; acquiring transaction data of the first virtual prop in a first pricing cycle; calculating a target reference price of the first virtual item 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 controlling the consignment price of the first virtual item in the second pricing period based on the target reference price.
Optionally, calculating a target reference price of the first virtual item in a second pricing period according to the transaction data includes: acquiring a plurality of transaction records in the transaction data; aiming at each transaction record in the transaction records, extracting the bargaining price of the transaction record to obtain a plurality of bargaining prices corresponding to the transaction records; calculating an average price of the plurality of bargaining prices, and determining the average price as a target reference price of the first virtual prop in a second pricing period.
Optionally, the obtaining of 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: account number attribute of a transaction party, consignment sale duration, accumulated transaction times of the first virtual prop in the first pricing period, and an acquisition path of the first virtual prop; and screening a plurality of effective transaction records in all transaction records based on the transaction parameters.
Optionally, the transaction parameter is an account attribute of a transaction party, and the screening of multiple valid transaction records from all transaction records based on the transaction parameter includes: determining a seller account and a buyer account in the 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 the preset association degree, determining that the target transaction record is an invalid transaction record, and deleting the target transaction record from all transaction records.
Optionally, controlling the consignment price of the first virtual item in the second pricing period based on the target reference price comprises: obtaining 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 consignment price of the first virtual item in the second pricing period.
Optionally, after calculating the target reference price of the first virtual item at the second pricing period according to 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 amount between the target reference price and the historical reference price; and if the floating amount is larger than a preset value, smoothly transitioning the target reference price into a middle reference price, and updating the target reference price by adopting the middle reference price, wherein the middle reference price is smaller than the target reference price.
Optionally, before obtaining the transaction data of the first virtual item in the first pricing period, the method further includes: acquiring the consumption and/or the reserve of the first virtual prop in a virtual scene in the first pricing period; judging whether the consumption is greater than a first threshold value and/or judging whether the holding amount is greater than a second threshold value; and if the consumption is larger than a first threshold value and/or the holding amount is larger than a second threshold value, determining to acquire the transaction data of the first virtual prop in a first pricing period.
Optionally, before calculating the target reference price of the first virtual item at the second pricing period according to the transaction data, the method further comprises: reading the online number of people of the game server at the current time; judging whether the number of the online people is larger than a preset number of people or not; if the number of the online people is larger than the preset number of people, configuring the cycle duration of the second pricing cycle by adopting a first duration; and if the number of the online people is less than or equal to the preset number of people, configuring the cycle time of the second pricing cycle by adopting a second time length, wherein the second time length is greater than the first time length.
Optionally, before calculating the target reference price of the first virtual item at the second pricing period according to the transaction data, the method further comprises: counting the transaction quantity of the first virtual prop in real time in the first pricing period; judging whether the transaction quantity reaches a preset quantity or not; if the transaction quantity reaches a preset quantity, the first pricing cycle of the first virtual prop is terminated, and a second pricing cycle of the first virtual prop is started.
Optionally, after opening the second pricing period for the first virtual item, the method further comprises: determining a second virtual item associated with the first virtual item; and synchronizing a second pricing cycle of the second virtual item by using the second pricing cycle of the first virtual item.
Optionally, after calculating the target reference price of the first virtual item at the second pricing period according to 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 for the first virtual item 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; if the floating coefficient is larger than the coefficient threshold value, continuously keeping 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 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.
Optionally, after obtaining the transaction data of the first virtual item in the first pricing period, the method further includes: extracting the transaction subdata 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; and if the prop aggregation degree is greater than a preset threshold value, determining the corresponding transaction account number as an abnormal transaction account number.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a 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 processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment provided by the present application, there is also provided a computer-readable storage medium, in which instructions are stored, and when the instructions are run on a computer, the instructions cause the computer to execute the control method of the virtual prop in any one of the above embodiments.
In another embodiment provided by the present application, there is also provided a computer program product containing instructions, which when run on a computer, causes the computer to execute the method for controlling a virtual prop according to any one of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the application to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed 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 can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or contributed to by the prior art, or all or part of the technical solution may be embodied in a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (15)

1. A control method of a virtual prop is characterized by comprising the following steps:
acquiring transaction data of the first virtual prop in a first pricing cycle;
calculating a target reference price of the first virtual item 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 controlling the consignment price of the first virtual item in the second pricing period based on the target reference price.
2. The method of claim 1, wherein calculating a target reference price for the first virtual item at a second pricing period based on the transactional data comprises:
acquiring a plurality of transaction records in the transaction data;
aiming at each transaction record in the transaction records, extracting the bargaining price of the transaction record to obtain a plurality of bargaining prices corresponding to the transaction records;
calculating an average price of the plurality of bargaining prices, and determining the average price as a target reference price of the first virtual prop in a second pricing period.
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 number attribute of a trading party, consignment sale duration, trade comments, accumulated trading times of the first virtual prop in the first pricing period, and an acquisition path of the first virtual prop;
and screening a plurality of effective transaction records in all 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 from the all transaction records based on the transaction parameter comprises:
determining a seller account and a buyer account in the 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 the preset association degree, determining that the target transaction record is an invalid transaction record, and deleting the target transaction record from all transaction records.
5. The method of claim 1, wherein controlling the consignment price of the first virtual item for the second pricing period based on the target reference price comprises:
obtaining 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 consignment price of the first virtual item in the second pricing period.
6. The method of claim 1, wherein after calculating a target reference price for the first virtual item at a second pricing period from the transactional data, the method further comprises:
acquiring a historical reference price of the first virtual prop in the first pricing cycle;
calculating a float amount between the target reference price and the historical reference price;
and if the floating amount is larger than a preset value, smoothly transitioning the target reference price into a middle reference price, and updating the target reference price by adopting the middle reference price, wherein the middle reference price is smaller than the target reference price.
7. The method of claim 1, wherein prior to obtaining transactional data for the first virtual item over the first pricing period, the method further comprises:
acquiring the consumption and/or the reserve of the first virtual prop in a virtual scene in the first pricing period;
judging whether the consumption is greater than a first threshold value and/or judging whether the holding amount is greater than a second threshold value;
and if the consumption is larger than a first threshold value and/or the holding amount is larger than a second threshold value, determining to acquire the transaction data of the first virtual prop in a first pricing period.
8. The method of claim 1, wherein prior to calculating the target reference price for the first virtual item at the second pricing period from the transactional data, the method further comprises:
reading the online number of people of the game server at the current time;
judging whether the number of the online people is larger than a preset number of people or not;
if the number of the online people is larger than the preset number of people, configuring the cycle duration of the second pricing cycle by adopting a first duration; and if the number of the online people is less than or equal to the preset number of people, configuring the cycle time of the second pricing cycle by adopting a second time length, wherein the second time length is greater than the first time length.
9. The method of claim 1, wherein prior to calculating the target reference price for the first virtual item at the second pricing period from the transactional data, the method further comprises:
counting the transaction quantity of the first virtual prop in real time in the first pricing period;
judging whether the transaction quantity reaches a preset quantity or not;
if the transaction quantity reaches a preset quantity, the first pricing cycle of the first virtual prop is terminated, and a second pricing cycle of the first virtual prop is started.
10. The method of claim 9, wherein after opening a second pricing period for the first virtual prop, the method further comprises:
determining a second virtual item associated with the first virtual item;
and synchronizing a second pricing cycle of the second virtual item by using the second pricing cycle of the first virtual item.
11. The method of claim 1, wherein after calculating a target reference price for the first virtual item at a second pricing period from the transactional 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 for the first virtual item 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;
if the floating coefficient is larger than the coefficient threshold value, continuously keeping 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 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.
12. The method of claim 1, wherein after obtaining transactional data for the first virtual item for the first pricing period, the method further comprises:
extracting the transaction subdata 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;
and if the prop aggregation degree is greater than a preset threshold value, determining the corresponding transaction account number as an abnormal transaction account number.
13. A control device of a virtual prop, comprising:
the first obtaining module is used for obtaining transaction data of the first virtual prop in a first pricing period;
a first calculating module, configured to calculate, according to the transaction data, a target reference price of the first virtual item in a second pricing cycle, where the first pricing cycle is a historical time cycle of the second pricing cycle;
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.
14. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 12 when executed.
15. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 12.
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 true CN113769412A (en) 2021-12-10
CN113769412B 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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080154741A1 (en) * 2006-12-20 2008-06-26 Microsoft Corporation Virtualizing consumer behavior as a financial instrument
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080154741A1 (en) * 2006-12-20 2008-06-26 Microsoft Corporation Virtualizing consumer behavior as a financial instrument
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
CN113769412B (en) 2024-04-19

Similar Documents

Publication Publication Date Title
CN104967607B (en) A kind of information processing method, terminal and server
CN103200999B (en) Game system and server device used therefor
US20160012406A1 (en) Recharge Method, Recharge Terminal, and Recharge Server
CN105096158A (en) Method and device for pushing information
CN109428910B (en) Data processing method, device and system
CN111582947A (en) Coupon processing method and related device
CN110841294A (en) Virtual item allocation method, device, equipment and storage medium
CN109636533A (en) Recommendation method and device, electronic equipment and nonvolatile storage medium
CN111881365A (en) Content recommendation method and device
CN112035717A (en) Information processing method, device, equipment and storage medium
CN109886676A (en) Method of payment, calculating equipment, storage medium for block chain network
CN108074084A (en) A kind of method, apparatus and server of delay disposal request
CN111553740A (en) Flow distribution method and device, electronic equipment and computer storage medium
CN115185904A (en) Cloud storage data processing method and device, electronic equipment and readable storage medium
CN108632358B (en) Token management method and device based on WIFI sharing
CN111054078A (en) Object information acquisition method and device
CN113769412A (en) Control method and device of virtual prop, storage medium and electronic device
CN110020135B (en) Demand determination method, resource recommendation method and related device
CN113655958A (en) Application data storage method
CN110009382B (en) Data monitoring method, device and server for virtual commodity
CN113342762A (en) Intelligent processing method and related device for shared messages of friends of merchants
CN111553738A (en) Multi-level flow distribution method and device, electronic equipment and computer storage medium
CN111047366A (en) Recharging and rebate method and device
CN106570734B (en) Game transaction request processing method and device
CN117787961B (en) Payment ticket business integrated management method and 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